@font-face{font-family:Questrial;src:url('/assets/fonts/Questrial-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:NotoSansSC;src:url('/assets/fonts/NotoSansSC.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
:root{--b2-font:Questrial,NotoSansSC,'Microsoft YaHei',system-ui,sans-serif;--b2-cyan:#54c8f4;--b2-cyan-strong:#1688bd;--b2-ink:#050a10;--b2-panel:#101b28;--b2-line:#29445a;--page:#04080d;--surface:#0d1a26;--surface-2:#14283a;--text:#f3f8fb;--muted:#b9c8d4;--line:#2a465b;--header:#05090e;--link:#68d1fb}
html{font-family:var(--b2-font);font-synthesis:none}body,input,select,textarea,button{font-family:var(--b2-font)!important}
[hidden]{display:none!important}
html[data-theme=light]{--page:#f2f8fb;--surface:#fff;--surface-2:#e7f2f8;--text:#10202d;--muted:#425b6c;--line:#b9d1df;--header:#fff;--link:#0875a9;--b2-line:#c5d8e4}
.release-details{font-size:12px;color:var(--muted);overflow-wrap:anywhere;margin-top:12px!important}.release-details code{font-family:ui-monospace,Consolas,monospace}
.site-header{max-width:1440px;margin:auto;padding:16px clamp(18px,2vw,32px);display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--b2-line);background:var(--header);color:var(--text)}
.b2-wordmark{display:block;width:270px;height:82px;flex:0 0 auto;text-decoration:none}.b2-wordmark picture{display:block;width:100%;height:100%;overflow:hidden;position:relative}.b2-wordmark img{display:block;position:absolute;width:480px;height:320px;max-width:none;left:-102px;top:-110px;mix-blend-mode:screen}html[data-theme=light] .b2-wordmark img{mix-blend-mode:multiply}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-nav{margin-left:auto;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.site-nav a{padding:11px 13px;border-radius:8px;color:var(--muted);text-decoration:none;font-size:18px;letter-spacing:.025em;border:1px solid transparent;white-space:nowrap}.site-nav a:hover{color:var(--text);border-color:var(--line);background:var(--surface)}.site-nav a[aria-current=page]{color:var(--text);background:color-mix(in srgb,var(--tab,#57c3f0) 14%,var(--header));border-color:color-mix(in srgb,var(--tab,#57c3f0) 38%,var(--header));box-shadow:inset 0 -2px var(--tab,#57c3f0)}.site-nav a:nth-child(2){--tab:#6ec6ff}.site-nav a:nth-child(3){--tab:#e299ca}.site-nav a:nth-child(4){--tab:#61d7a7}.site-nav a:nth-child(5){--tab:#f0b657}
.header-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.language-switch{display:flex;gap:4px}.language-switch button,.theme-switch select{min-height:36px;padding:6px 9px;border-radius:7px;background:var(--surface);color:var(--text);border:1px solid var(--line);font-size:13px}.language-switch button[aria-pressed=true]{color:#061018;background:var(--b2-cyan);border-color:var(--b2-cyan)}.account-link{color:var(--text);text-decoration:none;border:1px solid var(--line);border-radius:7px;padding:6px 10px;font-size:13px;white-space:nowrap}.account-link:hover{border-color:var(--b2-cyan)}
html[data-theme=light] body{background:var(--page);color:var(--text)}html[data-theme=light] p,html[data-theme=light] .status,html[data-theme=light] .muted{color:var(--muted)}html[data-theme=light] a{color:var(--link)}html[data-theme=light] .site-nav a,html[data-theme=light] .account-link{color:var(--text)}html[data-theme=light] .card,html[data-theme=light] .download,html[data-theme=light] .download-item,html[data-theme=light] .gallery-item,html[data-theme=light] .stats-wrap{background:var(--surface);border-color:var(--line)}html[data-theme=light] .secondary{color:var(--text);border-color:#52788e}html[data-theme=light] footer{border-color:var(--line);color:var(--muted)}html[data-theme=light] .legal-note{color:var(--muted)}html[data-theme=light] .eyebrow{color:#0875a9}
html[data-theme=light] .competition select,html[data-theme=light] .competition th,html[data-theme=light] .competition .match,html[data-theme=light] .competition .match small{background:var(--surface-2);color:var(--text);border-color:var(--line)}html[data-theme=light] .competition td,html[data-theme=light] .competition .competitor{border-color:var(--line)}html[data-theme=light] .competition .badge{color:#075c46;background:#c7f6e5}html[data-theme=light] .competition .winner{color:#075c46;background:#c7f6e5}
@media(max-width:1400px){.site-header{align-items:flex-start;flex-wrap:wrap}.site-nav{order:3;width:100%;margin:0;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.site-nav a{font-size:18px}.header-tools{margin-left:auto}}
@media(max-width:520px){.b2-wordmark{width:190px;height:58px}.b2-wordmark img{width:338px;height:auto;left:-72px;top:-77px}.site-header{gap:10px}.site-nav a{font-size:15px;padding:9px 10px}.header-tools{width:100%;margin:0}.account-link{margin-left:auto}}

/* Approved 2026-10-11 shared shell. Existing artwork and fonts are unchanged. */
:root{--page:#0d1217;--surface:#151d24;--surface-2:#1a252e;--text:#edf2f5;--muted:#a5b4bf;--line:#2a3741;--header:#0a0f13;--link:#64c7e5;--b2-cyan:#53c5e8;--b2-cyan-strong:#0a789d;--b2-line:#2a3741}
html[data-theme=light]{--page:#f5f7f8;--surface:#fff;--surface-2:#ecf1f3;--text:#17242e;--muted:#53636f;--line:#dce3e7;--header:#fff;--link:#087795;--b2-cyan:#0b789b;--b2-cyan-strong:#086783;--b2-line:#dce3e7}
html body{background:var(--page);color:var(--text)}
html body p,html body .status,html body .muted{color:var(--muted)}
.site-header{max-width:1280px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 22px;padding:16px clamp(20px,4vw,46px) 0;border-bottom:0}
.site-header .b2-wordmark{grid-column:1;grid-row:1}
.site-header .header-tools,.site-header>.language-switch{grid-column:2;grid-row:1;margin:0;justify-content:flex-end}
.site-header .site-nav{grid-column:1/-1;grid-row:2;display:flex;align-items:center;width:100%;margin:14px 0 0;gap:20px;overflow-x:auto;flex-wrap:nowrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:0;scrollbar-width:thin}
.site-header .site-nav a{position:relative;display:inline-flex;align-items:center;min-height:54px;padding:13px 0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--muted);font-size:17px;letter-spacing:0}
.site-header .site-nav a:hover{background:none;border:0;color:var(--text)}
.site-header .site-nav a:hover::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#53c5e8;opacity:.55}
.site-header .site-nav a[aria-current=page]{color:var(--text);border:0;background:none;box-shadow:none}
.site-header .site-nav a[aria-current=page]::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#53c5e8}
.header-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.language-switch button,.theme-switch select,.account-link{min-height:40px;border-color:var(--line);background:var(--surface);color:var(--text);font-size:14px}
.language-switch button[aria-pressed=true]{background:color-mix(in srgb,#53c5e8 14%,var(--surface));border-color:#53c5e8;color:var(--text)}
.account-link:hover,.theme-switch select:hover{border-color:#53c5e8}
html[data-theme=light] .site-header .site-nav a{color:var(--muted)}
html[data-theme=light] .site-header .site-nav a[aria-current=page]{color:var(--text)}
html[data-theme=light] .card,html[data-theme=light] .download,html[data-theme=light] .download-item,html[data-theme=light] .gallery-item,html[data-theme=light] .stats-wrap{background:var(--surface);border-color:var(--line)}
html body .eyebrow{color:var(--b2-cyan-strong)}
html[data-theme=dark] body .eyebrow{color:#53c5e8}
html body .button,html body button:not(.secondary):not([data-language]){font-size:15px}
html[data-theme=light] body .button:not(.secondary),html[data-theme=light] body button:not(.secondary):not([data-language]){background:#53c5e8;border-color:#53c5e8;color:#10212a}
html body .card,html body .download,html body .download-item{border-radius:8px;background:var(--surface);border-color:var(--line)}
:focus-visible{outline:2px solid #53c5e8;outline-offset:3px}
@media(max-width:740px){.site-header{grid-template-columns:minmax(0,1fr);gap:9px;padding-top:12px}.site-header .b2-wordmark{grid-row:1}.site-header .header-tools,.site-header>.language-switch{grid-column:1;grid-row:2;justify-content:flex-start;width:100%}.site-header .site-nav{grid-row:3;margin-top:4px;gap:18px}.site-header .site-nav a{font-size:16px;min-height:48px}.header-tools{margin:0}}
@media(max-width:380px){.site-header .site-nav{gap:16px}.site-header .site-nav a{font-size:15px}.language-switch button,.theme-switch select,.account-link{font-size:12px}}

/* Compact account control shared by the public pages and Player Admin. */
.account-menu{position:relative;z-index:50;color:var(--text)}
.account-menu>summary{display:flex;align-items:center;gap:9px;min-height:44px;padding:4px 10px;border:1px solid var(--line);border-radius:9px;background:var(--surface);list-style:none;cursor:pointer;max-width:min(300px,45vw)}
.account-menu>summary::-webkit-details-marker{display:none}
.account-menu>summary:hover,.account-menu[open]>summary{border-color:#53c5e8;background:color-mix(in srgb,#53c5e8 10%,var(--surface))}
.account-avatar{display:block;width:35px;height:35px;flex:none;color:var(--b2-cyan)}
.account-summary-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.account-chevron{font-size:20px;line-height:1;color:var(--muted)}
.account-menu-panel{position:absolute;right:0;top:calc(100% + 7px);width:min(320px,calc(100vw - 28px));padding:9px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 16px 36px #0007;z-index:100;color:var(--text)}
.account-menu-identity{padding:9px 10px 12px;border-bottom:1px solid var(--line);font-size:14px;color:var(--muted);overflow-wrap:anywhere}
.account-menu-panel nav{display:grid;padding:6px 0;border-bottom:1px solid var(--line)}
.account-menu-panel nav a,.account-menu-panel>button{display:block;width:100%;min-height:40px;padding:10px 11px;border:0;border-radius:7px;background:none;color:var(--text)!important;text-decoration:none;text-align:left;font:inherit;font-size:15px;cursor:pointer}
.account-menu-panel nav a:hover,.account-menu-panel nav a:focus-visible,.account-menu-panel>button:hover,.account-menu-panel>button:focus-visible{background:color-mix(in srgb,#53c5e8 15%,var(--surface));color:var(--text)}
.account-settings{display:grid;gap:12px;padding:10px;border-bottom:1px solid var(--line)}
.account-settings-language,.account-settings-theme{display:flex;align-items:center;gap:7px}
.account-settings .language-switch button,.account-settings .theme-switch select{min-height:38px}
.account-settings .theme-switch select{width:100%}
.account-logout{color:#d76c6c!important}
.site-header .header-tools{justify-content:flex-end}
@media(max-width:740px){.site-header .header-tools{width:auto;margin-left:auto;grid-column:1;grid-row:1;align-self:center}.site-header .site-nav{grid-row:2}.site-header .b2-wordmark{padding-right:96px}}
@media(max-width:520px){.account-menu>summary{max-width:125px;padding:4px 6px;gap:4px}.account-summary-label{font-size:12px}.account-avatar{width:31px;height:31px}.account-chevron{font-size:16px}.site-header .b2-wordmark{padding-right:0;width:190px}.site-header .header-tools{justify-self:end}.site-header .site-nav{grid-row:2}}
.pa-overlay label:has(#pa-upload){display:flex;align-items:center;gap:10px;max-width:100%;font-size:13px}
.pa-overlay #pa-upload{width:min(225px,70vw);padding:5px;min-height:36px;font-size:12px}
.pa-overlay #pa-remove-photo{display:inline-grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;background:transparent url('/assets/trash.svg') center/21px no-repeat;border:1px solid #ae6464;font-size:0;line-height:0}
.pa-overlay #pa-remove-photo:hover{background-color:#4b252c}
html[data-theme=light] body .account-menu-panel>button:not(.secondary):not([data-language]){background:transparent;border:0;color:var(--text)}
html[data-theme=light] body .account-menu-panel>button:not(.secondary):not([data-language]):hover{background:color-mix(in srgb,#53c5e8 15%,var(--surface))}
html body .pa-overlay section header{background:#142439!important;color:#eef5ff!important;border:0;padding:8px 12px}
.pa-overlay section h2,.pa-overlay section h3,.pa-overlay section label,.pa-overlay section p{color:#eef5ff}
.pa-overlay section #pa-message{color:#ffe0a2}
.player-section-nav{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin:0 0 25px;padding:0 0 13px;border-bottom:1px solid var(--line)}
.player-section-nav a{padding:8px 12px;border:1px solid transparent;border-radius:7px;color:var(--muted);text-decoration:none;font-size:14px}
.player-section-nav a:hover,.player-section-nav a:focus-visible,.player-section-nav a[aria-current=page]{color:var(--text);border-color:#53c5e8;background:color-mix(in srgb,#53c5e8 13%,var(--surface))}
body:has(#workspace) .player-section-nav{max-width:1180px;margin:0 auto 8px}

/* Compact, labelled account preferences. System remains the implicit default. */
.account-settings .account-settings-language,.account-settings .account-settings-theme{display:grid;gap:6px;align-items:stretch}
.account-settings .preference-label{font-size:13px;color:var(--muted)}
.account-settings select{width:100%;min-height:42px;padding:7px 12px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text);font:inherit;font-size:15px}
.account-settings select:hover,.account-settings select:focus-visible{border-color:#53c5e8}
.account-settings .preference-note{color:var(--muted);font-size:12px;line-height:1.35}
.account-settings .account-settings-language,.account-settings .account-settings-theme{grid-template-columns:1fr auto;align-items:center}
.account-settings .account-settings-theme .preference-note{grid-column:1/-1}
.theme-toggle{width:52px;height:30px;padding:3px;border:1px solid var(--line);border-radius:999px;background:var(--surface);cursor:pointer;transition:background-color .15s ease,border-color .15s ease}
.theme-toggle:hover,.theme-toggle:focus-visible{border-color:var(--b2-cyan);outline-offset:3px}
.theme-toggle[aria-checked=true]{background:var(--b2-cyan);border-color:var(--b2-cyan)}
.theme-toggle-track{display:block;width:100%;height:100%}
.theme-toggle-thumb{display:block;width:22px;height:22px;border-radius:50%;background:var(--text);box-shadow:0 1px 3px #0005;transition:transform .15s ease,background-color .15s ease}
.theme-toggle[aria-checked=true] .theme-toggle-thumb{transform:translateX(21px);background:#061620}
@media(prefers-reduced-motion:reduce){.theme-toggle,.theme-toggle-thumb{transition:none}}
@media(max-width:520px){
  .site-header .site-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 10px;overflow:visible}
  .site-header .site-nav a{min-width:0;min-height:44px;padding:9px 2px;justify-content:center;text-align:center;font-size:14px;white-space:normal}
}

/* One app-like navigation treatment on every page, including competition pages. */
html body .site-header .site-nav{gap:8px}
html body .site-header .site-nav a{min-height:52px;padding:11px 14px 8px;border:1px solid transparent;border-bottom:3px solid transparent;border-radius:6px 6px 0 0;background:transparent;box-shadow:none;color:var(--muted);font-size:17px;line-height:1.25;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
html body .site-header .site-nav a:hover,
html body .site-header .site-nav a:focus-visible,
html body .site-header .site-nav a[aria-current="page"]{background:color-mix(in srgb,#53c5e8 13%,var(--header));border:1px solid color-mix(in srgb,#53c5e8 35%,var(--header));border-bottom:3px solid #53c5e8;color:var(--text);box-shadow:none}
html body .site-header .site-nav a[aria-current="page"]::after{display:none}
@media(max-width:740px){html body .site-header .site-nav a{min-height:48px;font-size:16px;padding:10px 11px 7px}}
@media(max-width:520px){html body .site-header .site-nav{gap:4px 6px}html body .site-header .site-nav a{min-height:46px;padding:8px 4px 5px;font-size:14px;justify-content:center;text-align:center;white-space:normal}}
/* Keep the expanded app-style tab set on one swipeable row at phone widths. */
@media(max-width:520px){html body .site-header .site-nav{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:6px;scrollbar-width:thin}html body .site-header .site-nav a{flex:0 0 auto;white-space:nowrap;padding:8px 10px 5px}}
