.server-restart-page { margin: 0; min-height: 100svh; background: #080909; color: #f3f4f4; font-family: Inter, system-ui, sans-serif; }
.server-restart-page > main { max-width: 480px; margin: 25vh auto 0; padding: 24px; text-align: center; }
html.server-unavailable { overflow: hidden; }
.server-restart { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); box-sizing: border-box; overflow-y: auto; border: 0; background: radial-gradient(ellipse at 50% 20%, #ffae0010, transparent 58%), #080909; color: #f3f4f4; font-family: Inter, system-ui, sans-serif; text-align: center; }
.server-restart[open] { display: flex; align-items: center; justify-content: center; }
.server-restart::backdrop { background: #080909; }
.server-restart__card { width: min(100%, 520px); margin: auto; }
.server-restart__brand { color: #8e9392; font-size: 10px; font-weight: 700; letter-spacing: 2.5px; }
.server-restart__signal { position: relative; display: grid; place-items: center; width: 124px; height: 124px; margin: 48px auto 26px; border: 1px solid #ffae0024; border-radius: 50%; background: #ffae0006; box-shadow: 0 0 70px #ffae0009; }
.server-restart__signal::before { position: absolute; inset: -9px; border: 2px solid transparent; border-top-color: #ffae00; border-radius: 50%; content: ''; animation: server-status-spin 3s linear infinite; }
.server-restart__signal svg { width: 80px; height: 80px; stroke: #ffb51b; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.server-restart__eyebrow { color: #ffae00; font-size: 24px; font-weight: 700; letter-spacing: 9px; }
.server-restart h2 { margin: 12px 0 16px; font-size: clamp(25px, 5vw, 36px); line-height: 1.2; font-weight: 800; letter-spacing: -.8px; }
.server-restart p { margin: 0; color: #999f9d; font-size: 14px; line-height: 1.8; }
.server-restart p.server-restart__rooms { margin: 20px 0 0; padding: 14px 18px; border: 1px solid #ffae0024; border-radius: 12px; color: #c6ba9c; font-size: 12px; }
.server-restart__activity { display: flex; justify-content: center; gap: 7px; margin: 30px 0 12px; }
.server-restart__activity i { width: 5px; height: 5px; border-radius: 50%; background: #ffae00; animation: server-status-pulse 1.5s ease infinite; }
.server-restart__activity i:nth-child(2) { animation-delay: .2s; }
.server-restart__activity i:nth-child(3) { animation-delay: .4s; }
.server-restart p.server-restart__status { color: #707774; font-size: 11px; }
.server-restart__retry { min-height: 44px; margin-top: 26px; padding: 12px 22px; border: 1px solid #ffae0045; border-radius: 10px; background: #ffae000d; color: #ffbd38; font: 600 12px Inter, system-ui, sans-serif; cursor: pointer; }
.server-restart__retry:hover { border-color: #ffae00; background: #ffae001a; }
.server-restart__retry:focus-visible { outline: 2px solid #ffbd38; outline-offset: 4px; }
.server-restart__retry:disabled { opacity: .5; cursor: wait; }
@keyframes server-status-spin { to { transform: rotate(360deg); } }
@keyframes server-status-pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (max-height: 650px) { .server-restart__signal { width: 90px; height: 90px; margin: 25px auto 18px; } .server-restart__activity { margin-top: 18px; } }
@media (prefers-reduced-motion: reduce) { .server-restart *, .server-restart *::before { animation: none !important; } }
