.nb-language-footer{margin:24px auto;padding:16px clamp(12px,3vw,32px);max-width:1400px;box-sizing:border-box;border-top:1px solid var(--line);color:inherit}
.nb-language-footer label{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-weight:600}
.nb-language-footer svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0}
.nb-language-footer select{max-width:100%;min-height:44px;background:var(--nb-panel);color:inherit;border:1px solid var(--line);border-radius:10px;padding:8px}
.nb-language-footer p{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.nb-original{font-size:13px;margin:0 0 16px;color:inherit}.nb-original summary{cursor:pointer;width:fit-content;padding:6px 0}.nb-original p{line-height:1.7}
.nb-language-notice{width:min(460px,calc(100% - 24px));max-height:88vh;max-height:88dvh;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;margin:auto;border:1px solid var(--line);border-radius:22px;background:var(--nb-panel);color:var(--nb-fg);padding:clamp(16px,4vw,28px);box-shadow:0 18px 60px #0003;font:inherit}
.nb-language-notice::backdrop{background:rgba(5,22,24,.64)}
.nb-language-notice *{box-sizing:border-box;min-width:0}
.nb-notice-heading{display:flex;align-items:center;gap:12px}
.nb-notice-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:13px;background:var(--nb-selected);color:var(--accent)}
.nb-notice-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.nb-language-notice h2{font-size:clamp(1.1rem,3vw,1.3rem);line-height:1.3;margin:0;overflow-wrap:anywhere}
.nb-language-notice p{margin:16px 0;line-height:1.65;font-size:.9375rem;overflow-wrap:anywhere}
.nb-notice-coverage{border-top:1px solid var(--line);padding-top:8px;color:var(--muted);font-size:.8125rem}
.nb-notice-coverage summary{padding:10px 0;cursor:pointer;color:var(--accent);font-weight:600;overflow-wrap:anywhere}
.nb-notice-coverage p{font-size:.8125rem;margin:0 0 8px}
.nb-notice-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.nb-notice-actions button{appearance:none;flex:1 1 160px;min-height:46px;max-width:100%;border:1px solid var(--line);border-radius:12px;padding:11px 16px;font:inherit;font-size:.875rem;font-weight:650;line-height:1.4;white-space:normal;overflow-wrap:anywhere;cursor:pointer;transition:background-color .15s ease,border-color .15s ease;-webkit-tap-highlight-color:transparent}
.nb-notice-actions .nb-notice-primary{background:var(--accent);border-color:var(--accent);color:var(--nb-bg)}
.nb-notice-actions .nb-notice-secondary{background:transparent;color:var(--nb-fg)}
@media(hover:hover){.nb-notice-actions button:hover{border-color:var(--accent)}.nb-notice-actions .nb-notice-primary:hover{background:color-mix(in srgb,var(--accent) 88%,var(--nb-fg))}.nb-notice-actions .nb-notice-secondary:hover{background:var(--nb-selected)}}
.nb-language-footer :focus-visible,.nb-language-notice :focus-visible,.nb-original summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:360px){.nb-notice-actions{flex-direction:column}.nb-notice-actions button{flex-basis:auto;width:100%}.nb-notice-heading{gap:10px}}
@media(prefers-reduced-motion:reduce){.nb-notice-actions button{transition:none}}
