:is(html:has(dialog:modal),body:has(dialog:modal)){overscroll-behavior:contain;overflow:hidden}dialog:modal{overscroll-behavior:contain}.auth-choice,.cookie-banner{box-sizing:border-box;background:var(--surface);width:min(32rem,100% - 2rem);max-height:calc(100dvh - 2rem);color:var(--text);border:1px solid var(--border);border-radius:16px;margin:auto;padding:24px;position:fixed;inset:0;overflow:auto;box-shadow:0 12px 48px #0f274432}.cookie-banner{width:min(42rem,100% - 2rem);font-size:var(--type-supporting)}.auth-choice::backdrop,.cookie-banner::backdrop{background:#0c1a2694}.auth-choice h2{font-size:var(--type-section);margin:4px 32px 8px 0;line-height:1.2}.auth-choice p{margin:0 0 20px}.choice-close{background:0 0;border:0;width:44px;height:44px;font-size:24px;position:absolute;top:8px;right:8px}.choice-actions{flex-wrap:wrap;gap:8px;margin-bottom:8px;display:flex}.choice-actions a,.auth-choice>button:last-child{min-height:44px;color:var(--text);font:inherit;background:0 0;border:1px solid;border-radius:8px;justify-content:center;align-items:center;padding:0 16px;text-decoration:none;display:inline-flex}.choice-actions a:first-child{background:var(--text);color:var(--surface)}.auth-choice>button:last-child{text-underline-offset:3px;border:0;padding-inline:0;text-decoration:underline}.choice-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:1em;height:1em;margin-right:8px;animation:.8s linear infinite choice-turn}@keyframes choice-turn{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.choice-spinner{animation:none}}.cookie-banner h2{font-size:var(--type-section);margin:0 36px 10px 0}.cookie-banner p{margin:8px 0}.cookie-banner a{color:var(--text);text-underline-offset:3px}.cookie-banner summary{cursor:pointer;padding:8px 0;font-weight:600}.cookie-banner .cookie-close{background:0 0;border:0;width:44px;height:44px;padding:4px;font-size:24px;position:absolute;top:8px;right:8px}.cookie-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;display:flex}.cookie-actions button{min-width:100px;min-height:44px}.cookie-actions a{align-items:center;min-height:44px;display:inline-flex}@media (max-width:600px){.auth-choice,.cookie-banner{width:100%;max-width:100%;max-height:calc(100dvh - 12px);padding:20px 18px max(16px,env(safe-area-inset-bottom));border-radius:16px 16px 0 0;margin:auto auto 0;inset:0}}
