:root { color-scheme: dark; font-family: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: #120f0d; color: #fff; min-height: 100vh; min-height: 100dvh; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: #cde37b; }
.header { min-height: 80px; max-width: 1100px; margin: auto; padding: max(16px, env(safe-area-inset-top)) 20px 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { width: 116px; height: 48px; }
.logout { border: 0; background: transparent; color: #ffffffa6; padding: 12px; border-radius: 12px; }
.dashboard { min-height: calc(100vh - 96px); min-height: calc(100dvh - 96px); display: grid; place-items: center; padding: 24px; }
.reopen { width: min(100%, 320px); }
dialog { position: fixed; inset: auto 0 0; width: 100%; max-width: 550px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); margin: 0 auto; padding: 24px 20px max(24px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; border: 1px solid #ffffff14; border-radius: 32px 32px 0 0; background: #141414; color: #fff; box-shadow: 0 0 84px #ffffff14; }
dialog::backdrop { background: #212121bd; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
h1 { margin: 0 0 20px; font-size: 26px; line-height: 1.25; font-weight: 600; letter-spacing: -.47px; }
.message { color: #ffffffb3; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.message p { margin: 0 0 16px; }
.domain { color: #cde37b; text-underline-offset: 4px; font-weight: 500; white-space: nowrap; }
.actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.primary, .secondary { display: flex; align-items: center; justify-content: center; min-height: 56px; border-radius: 16px; padding: 14px 18px; font-size: 16px; font-weight: 600; line-height: 24px; text-align: center; text-decoration: none; }
.primary { color: #010104; border: 1px solid #effc68; background: linear-gradient(180deg, #effc53 0%, #d4f449 100%); }
.secondary { color: #ffffffb3; border: 0; border-top: 1px solid #454449; background: linear-gradient(0deg, #494c5b4d, #6b6b6b80); }
.primary:hover, .secondary:hover, .logout:hover { filter: brightness(1.12); }
:focus-visible { outline: 2px solid #70e5ff; outline-offset: 3px; }
.no-script { padding: 24px; text-align: center; font-size: 20px; }
@media (min-width: 768px) { dialog { inset: 50% auto auto 50%; transform: translate(-50%, -50%); margin: 0; max-width: 480px; border-radius: 28px; padding: 28px; } }
