@font-face{font-family:'Russo One';font-style:normal;font-weight:400;font-display:swap;src:url(/static/fonts/russo-one-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Russo One';font-style:normal;font-weight:400;font-display:swap;src:url(/static/fonts/russo-one-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Onest';font-style:normal;font-weight:400;font-display:swap;src:url(/static/fonts/onest-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Onest';font-style:normal;font-weight:400;font-display:swap;src:url(/static/fonts/onest-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

html[data-site-stopped] { color-scheme: dark; background: #070914; }
html[data-site-stopped] body { margin: 0; }

.site-stop, dialog.site-stop:modal {
    position: fixed; inset: 0; box-sizing: border-box;
    width: 100%; max-width: none; height: 100%; max-height: none;
    margin: 0; border: 0; padding: 18px;
    padding-block: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-bottom));
    padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
    overflow: auto; overscroll-behavior: contain;
    color: #f4f4ff; text-align: center;
    font: 400 16px/1.5 'Onest', system-ui, sans-serif;
    background:
        linear-gradient(145deg, #090a1960, #0c0b2630 45%, #05081580),
        #080a16 url('/static/img/site-bg.webp') center / cover no-repeat;
}
main.site-stop, dialog.site-stop[open] { display: flex; }
.site-stop::backdrop { background: #080a16; }
.site-stop *, .site-stop *::before, .site-stop *::after { box-sizing: border-box; }

.site-stop .stop-frame {
    --cut: 20px;
    position: relative; isolation: isolate; flex: none; min-width: 0;
    width: min(100%, 620px); margin: auto;
    border: 1px solid #aebafa50;
    clip-path: polygon(0 var(--cut), var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
    background:
        linear-gradient(135deg, transparent 48%, #c8b3ffb3 49%, #c8b3ffb3 52%, transparent 53%) left top / var(--cut) var(--cut) no-repeat,
        linear-gradient(135deg, transparent 48%, #78d5ed99 49%, #78d5ed99 52%, transparent 53%) right bottom / var(--cut) var(--cut) no-repeat,
        linear-gradient(122deg, #2c284a9e, #111b31ba 49%, #121227ab);
    -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
.stop-frame::before, .stop-frame::after {
    content: ''; pointer-events: none; position: absolute;
    width: 16px; height: 16px; opacity: .8;
}
.stop-frame::before { top: 8px; right: 8px; border-top: 1px solid #8cc9e6; border-right: 1px solid #8cc9e6; }
.stop-frame::after { bottom: 8px; left: 8px; border-bottom: 1px solid #c09ce9; border-left: 1px solid #c09ce9; }
.site-stop .stop-brand {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center; gap: 7px; margin: 0 24px;
    min-height: 64px; padding: 9px 0;
    border-block-end: 1px solid #b0bde128;
}
.stop-brand img { display: block; width: 32px; height: 32px; }
.stop-wordmark { justify-self: start; font: 400 18px/1 'Russo One', system-ui, sans-serif; letter-spacing: .16em; color: #f3f5ff; }
.stop-code {
    display: inline-flex; gap: 8px; align-items: center; direction: ltr;
    color: #b7c1d9; font: 600 12px/1.2 ui-monospace, monospace; letter-spacing: .09em;
}
.stop-code::before { content: ''; width: 6px; height: 6px; background: #cfadff; transform: rotate(45deg); }

.site-stop .stop-emblem {
    --size: 120px;
    position: relative; width: var(--size); height: var(--size);
    margin: 40px auto 23px; border-radius: 50%;
    border: 1px solid #8ce5ff75;
    background: linear-gradient(140deg, #50d9f127, #12223d85);
}
.stop-emblem::before, .stop-emblem::after {
    content: ''; pointer-events: none; position: absolute;
}
.stop-emblem::before {
    inset: 0; border-radius: inherit; opacity: .65;
    box-shadow: 0 0 32px 5px #46ccee49, inset 0 0 18px #65d8ff25;
}
/* Same outline, rotation and pulse as the per-game maintenance screen. */
.stop-emblem::after {
    inset: 16.6667%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 24 24' fill='none' stroke='%238beaff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E %3Ccircle cx='12' cy='12' r='3'/%3E %3Cpath d='M19.4 15a1.65 1.65 0 00.33 1.82l.06.06a2 2 0 010 2.83 2 2 0 01-2.83 0l-.06-.06a1.65 1.65 0 00-1.82-.33 1.65 1.65 0 00-1 1.51V21a2 2 0 01-4 0v-.09A1.65 1.65 0 009 19.4a1.65 1.65 0 00-1.82.33l-.06.06a2 2 0 01-2.83 0 2 2 0 010-2.83l.06-.06A1.65 1.65 0 004.68 15a1.65 1.65 0 00-1.51-1H3a2 2 0 010-4h.09A1.65 1.65 0 004.6 9a1.65 1.65 0 00-.33-1.82l-.06-.06a2 2 0 012.83-2.83l.06.06A1.65 1.65 0 009 4.68a1.65 1.65 0 001-1.51V3a2 2 0 014 0v.09a1.65 1.65 0 001 1.51 1.65 1.65 0 001.82-.33l.06-.06a2 2 0 012.83 2.83l-.06.06A1.65 1.65 0 0019.4 9a1.65 1.65 0 001.51 1H21a2 2 0 010 4h-.09a1.65 1.65 0 00-1.51 1z'/%3E %3C/svg%3E") center / contain no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
    .stop-emblem::after { animation: stop-gear-spin 8s linear infinite; }
    .stop-emblem::before { animation: stop-gear-pulse 3s ease-in-out infinite; }
}
@keyframes stop-gear-spin { to { transform: rotate(1turn); } }
@keyframes stop-gear-pulse { 0%, 100% { opacity: .34; } 50% { opacity: 1; } }

.site-stop .stop-message { min-width: 0; padding: 0 clamp(20px, 5vw, 46px) 43px; }
.site-stop h1 {
    margin: 0; color: #f3f5ff; font: 400 clamp(30px, 4vw, 43px)/1.1 'Russo One', system-ui, sans-serif;
    letter-spacing: -.025em; overflow-wrap: anywhere; text-wrap: balance;
}
.site-stop .stop-message p {
    margin: 14px auto 0; max-width: 35ch; color: #c5cfe3;
    font-size: clamp(15px, 1.4vw, 17px); line-height: 1.5; overflow-wrap: anywhere; text-wrap: balance;
}
.site-stop .stop-return {
    margin-block-start: 20px; padding: 10px 24px; min-height: 44px;
    color: #f6f1ff; font: 700 15px/1.3 'Onest', system-ui, sans-serif; cursor: pointer;
    border: 0; background: linear-gradient(110deg, #51316e, #27324a);
    box-shadow: inset 0 0 0 1px #ae8ac4, inset 0 -2px #ac86d8;
    clip-path: polygon(0 9px, 9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.stop-return[hidden] { display: none; }
.stop-return:focus-visible { box-shadow: inset 0 0 0 3px #8dedff; }
@media (hover: hover) { .stop-return:hover { filter: brightness(1.17); } }
@media (max-width: 650px) {
    .site-stop, dialog.site-stop:modal {
        background-image: linear-gradient(155deg, #0b0c1d40, #090b1866), url('/static/img/site-bg-m.webp');
    }
    .site-stop .stop-frame { width: min(100%, 430px); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
    .site-stop .stop-brand { min-height: 51px; margin-inline: 18px; }
    .stop-brand img { width: 28px; height: 28px; }
    .stop-wordmark { font-size: 16px; }
    .site-stop .stop-emblem { --size: 104px; margin-block: 31px 22px; }
    .site-stop h1 { font-size: clamp(27px, 8.3vw, 36px); }
    .site-stop .stop-message { padding-bottom: 33px; }
}
@media (max-height: 460px) {
    .site-stop .stop-brand { min-height: 42px; padding-block: 4px; }
    .site-stop .stop-emblem { --size: 68px; margin-block: 12px; }
    .site-stop h1 { font-size: 28px; }
    .site-stop .stop-message { padding-bottom: 18px; }
    .site-stop .stop-message p { margin-block-start: 8px; font-size: 14px; }
    .site-stop .stop-return { margin-block-start: 10px; }
}
@media (prefers-reduced-transparency: reduce) {
    .site-stop .stop-frame { background-color: #111629; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.player-number{font-variant-numeric:tabular-nums;color:#a6c8cf;font-size:.85em}
.player-name-link{color:inherit;text-decoration:underline;text-decoration-color:#6e8b99;text-underline-offset:.16em}
.player-name-link:focus-visible{outline:2px solid #80d5ee}
