.error-screen { box-sizing: border-box; min-height: 100vh; padding: 38px 24px 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(ellipse at 50% 45%, #10171b 0, #090d10 65%); color: #f5f6f7; font-family: Inter, system-ui, sans-serif; }
.error-art { width: min(540px, 75vw); position: relative; }
.error-art::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 17%; height: 9%; border-radius: 50%; background: #121d24; }
.error-art img { display: block; position: relative; width: 100%; height: auto; }
.error-screen h1 { margin: -20px 0 12px; font-size: clamp(30px, 3.4vw, 52px); font-weight: 850; letter-spacing: -.035em; line-height: 1.15; }
.error-screen h1 span { color: #ff910d; }
.error-screen h1:focus { outline: none; box-shadow: none; }
.error-description { color: #b7c2cd; font-size: clamp(17px, 1.6vw, 24px); line-height: 1.45; margin: 0; }
.error-actions { display: flex; gap: 20px; justify-content: center; margin: 32px 0; }
.error-actions button, .error-actions a { box-sizing: border-box; min-height: 56px; padding: 12px 28px; border: 1px solid #29343d; border-radius: 12px; font: 600 17px/1.5 system-ui, sans-serif; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 12px; color: #f5f6f7; background: #10171c; }
.error-actions button { color: #111; border-color: #ff910d; background: #ff910d; min-width: 210px; }
.error-actions span { font-size: 28px; line-height: 1; }
.error-screen :is(button,a):focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.error-screen :is(button,a):hover { filter: brightness(1.15); }
.error-reference, .error-hint { color: #8f9eac; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; max-width: 100%; }
.error-reference button { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; padding: 4px 8px; }
.error-hint { margin: 8px 0 0; }
body.error-active { margin: 0; }
body.error-active #page-error { margin: 0; max-width: none; width: 100%; padding: 0; }
body.error-active:not(.error-signed-out) #page-error { padding-top: 76px; }
body.error-active > :not(#page-error):not(.topbar) { display: none !important; }
body.error-active.error-signed-out > .topbar { display: none !important; }
body.error-active:not(.error-signed-out) .error-screen { min-height: calc(100vh - 76px); }
@media (max-width: 600px) { .error-screen { padding: 32px 20px; } .error-art { width: min(390px, 95vw); } .error-actions { flex-direction: column; gap: 12px; width: 100%; max-width: 320px; margin: 26px 0; } .error-screen h1 { margin-top: -8px; } .error-line-break { display: none; } body.error-active:not(.error-signed-out) #page-error { padding-top: var(--mobile-topbar-offset, 156px); } }
