.studio-links{display:block;text-align:left;font:500 15px/1.45 system-ui,sans-serif;color:#eeeff1}
.studio-links details{display:block;margin:0;padding:8px 0;border:0;border-bottom:1px solid #35383c;border-radius:0;background:transparent}
.studio-links summary{cursor:pointer;padding:10px 8px;font:700 15px/1.45 system-ui;color:#ebcb91}
body .studio-links a{box-sizing:border-box;display:flex;align-items:center;width:100%;min-height:41px;padding:8px 12px;margin:0;border:0;border-radius:6px;background:none;color:#e4e4e5;text-decoration:none;font:500 14px/1.5 system-ui}
body .studio-links a:hover,body .studio-links a:focus-visible{background:#34383f;color:white}
body .studio-trigger,.studio-drawer>button{display:inline-flex;align-items:center;min-height:44px;border:1px solid #555961;border-radius:9px;background:#26282d;color:white;padding:0 13px;font:bold 14px system-ui;cursor:pointer}
.studio-rail,.studio-drawer{background:#1b1d20;box-sizing:border-box;color:white;padding:16px}
dialog.studio-drawer{position:fixed;inset:0 auto 0 0;width:min(85vw,340px);height:100%;max-height:100%;max-width:none;margin:0;border:0;border-radius:0;overflow:auto}
.studio-drawer::backdrop{background:#080b10aa}
.studio-shell .site-menu-toggle{display:none!important}
@media(min-width:1001px){
 body.studio-shell{box-sizing:border-box;padding-left:232px}
 body.studio-shell .studio-rail{position:fixed;inset:0 auto 0 0;width:232px;overflow-y:auto;z-index:20}
 body.studio-shell .studio-trigger{display:none}
}
@media(max-width:1000px){
 .studio-rail{display:none}
 body.studio-shell .acex-topbar #primaryNav,body.studio-shell.workspace header nav{display:none!important}
 body.studio-shell header{flex-wrap:wrap}
}
html[data-acex-page=home] .home-intro .home-actions{display:flex;flex-wrap:wrap;gap:10px}
html[data-acex-page=home] .home-intro .home-actions .primary{flex:1 1 135px;border-radius:9px;min-height:52px}
html[data-acex-page=home] .home-intro .home-actions .primary:first-child{background:#f3dfb3;color:#201e19!important}
html[data-acex-page=home] .home-intro .home-actions .tv-action{background:#30343a;color:#fff!important;border-color:#656870}
html[data-acex-page=home] .account-actions{gap:8px;padding-top:14px}
html[data-acex-page=home] .account-actions a,.acex-auth-layout .account-links a{border:1px solid #74767c;border-radius:8px;padding:7px 16px;box-sizing:border-box;text-decoration:none;font-weight:600}
.workspace #forms summary{padding:8px 0;min-height:28px}
.workspace #forms [hidden]{display:none!important}
.workspace #feature-pair{border-color:#5e574a}
.workspace #feature-pair form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));align-items:end;gap:12px}
.workspace #feature-pair label{min-width:0}
.workspace #feature-pair form button{grid-column:1/-1;justify-self:start;min-height:48px;padding:10px 22px;font-weight:700}
.workspace #feature-pair input,.workspace #feature-pair select{min-width:0;max-width:100%;box-sizing:border-box}
.workspace #feature-pair .disconnect{display:block;margin:18px 0 0 auto;padding:8px 12px;background:transparent;border:1px solid #946e73;color:#ffc5c9;min-height:44px}
.workspace #message:not(:empty){padding:10px;border-radius:6px}
body.screen{background:#101318;color:#f4f2ec;font-family:system-ui,sans-serif}
.screen main.broadcast{position:relative;box-sizing:border-box;height:100vh;height:100dvh;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto auto minmax(0,1fr) auto;align-content:stretch;align-items:center;gap:1vh 1.4vw;padding:4vh 4vw;background:radial-gradient(ellipse at 50% 25%,#2b3035,transparent 65%),#101318}
.broadcast h1{grid-column:1/-1;margin:0;padding-bottom:1vh;border-bottom:1px solid #484847;font-size:clamp(18px,5vmin,84px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.broadcast #level{grid-column:1/-1;justify-self:center;color:#f1cf93;letter-spacing:.08em;font-size:4.8vmin;font-weight:700}
.broadcast #timer{grid-column:1/-1;font-size:min(20vw,27vh);line-height:1;letter-spacing:-.055em;font-weight:720;color:#faf8f2;font-variant-numeric:tabular-nums}
.broadcast .clockitem[data-label]:not([data-label=""]){align-self:stretch;border-top:.4vh solid #b29a70;background:#21252b;border-radius:.6vmin;padding:2vh .5vw;font-size:clamp(14px,3.4vmin,62px);font-weight:700;overflow-wrap:anywhere}
.broadcast .clockitem[data-label]:not([data-label=""])::before{display:block;content:attr(data-label);color:#d3c2a3;margin-bottom:.7vh;font-size:2.5vmin;font-weight:550}
.screen main.grid{gap:1.7vmin;padding:2.4vmin;background:#111418}
.screen .grid article{box-sizing:border-box;display:flex;flex-direction:column;text-align:left;background:#21252b;border:1px solid #414449;border-radius:1.3vmin;padding:2vmin 2.5vmin}
.screen .grid article h2{color:#f3e5cc;font-size:clamp(15px,4.5vmin,78px);padding-bottom:1vmin;border-bottom:1px solid #595446}
.screen .grid article section{height:auto;flex:1;min-height:0;gap:.6vmin}
.screen .grid .empty-board{display:grid;place-items:center;color:#c3c5c9;text-align:center;font-size:clamp(13px,3vmin,50px)}
.screen .grid .bingo{grid-template-rows:repeat(3,minmax(0,1fr))}
.screen .grid .bingo span{display:grid;place-items:center;text-align:center;border-radius:.6vmin;align-self:stretch;overflow-wrap:anywhere;background:#30363c;color:#faf7ee}
.screen .grid small:empty{display:none}
@media(max-aspect-ratio:1/1){
 .screen main.broadcast{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto minmax(0,1fr) auto auto}
 .screen .broadcast #timer{font-size:19vw}
}
.studio-links [hidden]{display:none!important}
body.acex-operations aside:has(.studio-links){overflow-y:auto;overscroll-behavior:contain}
body.workspace #forms>details:not(#feature-pair) form>button{width:fit-content;min-height:44px;padding-inline:18px}
body.workspace #feature-undo form>button{background:transparent;border-color:#ad7878;color:#ffcbcb}
.acex-auth-layout .account-links{display:flex;flex-wrap:wrap;gap:8px}
.acex-auth-layout .account-links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;line-height:1.3}
.acex-auth-layout #accountForm button[type=submit]{min-height:48px;font-weight:700}

/* Keep navigation colors on the same surface even when the page theme styles dialogs. */
.studio-links,.studio-rail,#studio-drawer,html[data-acex-page=dashboard] body>aside{
 --nav-bg:#202327;--nav-fg:#f4f5f6;--nav-title:#f1d295;--nav-line:#485058;--nav-active:#414851;
}
html[data-appearance=light] :is(.studio-links,.studio-rail,#studio-drawer){
 --nav-bg:#fafaf8;--nav-fg:#20252a;--nav-title:#674813;--nav-line:#cbd0d3;--nav-active:#e5e9ec;
}
html body #studio-drawer,body .studio-rail{background:var(--nav-bg)!important;color:var(--nav-fg)!important;border-radius:0!important;padding:0 16px 18px;box-sizing:border-box}
html body #studio-drawer{border:0;border-right:1px solid var(--nav-line);overscroll-behavior:contain}
.drawer-bar{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:10px 0;background:var(--nav-bg);border-bottom:1px solid var(--nav-line);color:var(--nav-fg)}
.drawer-bar strong{font:750 19px system-ui}.drawer-bar button{font:650 14px system-ui;min-height:44px;padding:6px 14px;background:var(--nav-active);color:var(--nav-fg);border:1px solid var(--nav-line);border-radius:9px}
body .studio-links{background:var(--nav-bg);color:var(--nav-fg)}
body .studio-links details{border-color:var(--nav-line);padding:4px 0}
body .studio-links summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;color:var(--nav-title);font-size:16px;list-style:none;box-sizing:border-box}
.studio-links summary::-webkit-details-marker{display:none}
.studio-links summary::after{content:'+';font:600 19px system-ui}.studio-links details[open]>summary::after{content:'−'}
body .studio-links a{color:var(--nav-fg)!important;min-height:44px;font-size:15px;text-align:left;line-height:1.4}
body .studio-links a:is([aria-current],:hover,:focus-visible){background:var(--nav-active)!important;color:var(--nav-fg)!important}
body .studio-links a[aria-current]{box-shadow:inset 3px 0 var(--nav-title);font-weight:750}
html[data-acex-page=dashboard] body>aside{background:var(--nav-bg)!important}
html[data-acex-page=dashboard] body>aside .brand{display:flex!important;align-items:center;justify-content:flex-start;gap:10px;padding:12px 16px!important;min-height:0!important;height:auto!important;text-align:left}
html[data-acex-page=dashboard] body>aside .brand .acex-emblem{width:30px;height:30px;margin:0}
html[data-acex-page=dashboard] body>aside .brand a{padding:0;margin:0;text-align:left}
html[data-acex-page=dashboard] body>aside .brand small{display:none}
html[data-acex-page=dashboard] body>aside .nav-group summary{font:700 16px/1.45 system-ui;letter-spacing:0;color:#f1d295;padding:12px 16px;text-align:left}
html[data-acex-page=dashboard] body>aside .nav-group a:not([hidden]){display:flex;align-items:center;justify-content:flex-start;text-align:left;min-height:44px;box-sizing:border-box;font-size:15px;color:#f4f5f6}
html[data-acex-page=dashboard] body>aside .nav-group a.active{background:#f2dfbb!important;color:#25221d!important;font-weight:750}
body.support-hub header{align-items:center;justify-content:flex-start}
body.support-hub .hub-brand{display:inline-flex;align-items:center;gap:8px;min-height:44px;text-decoration:none;color:#f4f2ed;font:800 22px system-ui;letter-spacing:.07em}
.hub-brand span{font:600 13px system-ui;color:#e8cea0;letter-spacing:0}
.support-hub header nav{margin-left:auto}
.hub-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 22px}
.workspace .hub-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;box-sizing:border-box;padding:9px 16px;margin:0;border:1px solid #737881;border-radius:9px;color:#f6f6f4;text-decoration:none;font-weight:650}
.workspace .hub-actions a:first-child{background:#eed6ac;border-color:#eed6ac;color:#25211a}

/* Menu tiles share a shape, with the selected destination marked along its left edge. */
body .studio-links details{padding:5px 0;border:0}
body .studio-links summary,html[data-acex-page=dashboard] body>aside .nav-group summary{border:1px solid var(--nav-line);border-radius:12px;padding:12px 14px;background:var(--nav-bg);color:var(--nav-title);box-sizing:border-box;cursor:pointer}
body .studio-links a:not([hidden]),html[data-acex-page=dashboard] body>aside .nav-group a:not([hidden]){min-height:44px;width:auto;margin:5px 3px 5px 10px;border:1px solid var(--nav-line);border-radius:10px;padding:10px 13px;background:var(--nav-bg);color:var(--nav-fg);box-sizing:border-box}
body .studio-links a[aria-current],html[data-acex-page=dashboard] body>aside .nav-group a.active{border-color:var(--nav-title);box-shadow:inset 3px 0 var(--nav-title)}
.task-index{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:9px}
.workspace .task-index>a,.workspace a.task-back{display:flex;align-items:center;min-height:46px;padding:10px 14px;border-radius:12px;border:1px solid #5b6067;background:#26292e;color:#faf9f6;text-decoration:none;font-weight:650;margin:0}
.task-index>a::after{content:'›';margin-left:auto;padding-left:10px;color:#e6cfaa}
.workspace a.task-back{display:inline-flex;font-size:14px;min-height:44px;margin-top:8px}
.workspace .task-back[hidden]{display:none}
.task-panel{margin:18px 0;padding:clamp(14px,3vw,26px);border:1px solid #484e55;border-radius:16px;background:#222529}
.task-panel form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:14px}
.task-panel form>button{grid-column:1/-1;justify-self:start;min-height:46px}
.task-panel label,.task-panel input,.task-panel select{min-width:0;max-width:100%;box-sizing:border-box}
.task-panel output:not(:empty){display:block;margin-top:16px}
.care .help-index a,html[data-acex-page=members] #staffTools a,html[data-acex-page=members] #staffBack{box-sizing:border-box;display:flex;align-items:center;min-height:46px;text-decoration:none;font-weight:650;padding:10px 15px;border:1px solid #747880;border-radius:12px;color:inherit;background:transparent}
html #staffTools[hidden],html #staffTools a[hidden],html #staffBack[hidden],.care #helpIndex[hidden]{display:none!important}
.care #compose[open] form{padding:18px}
html body main .inactive-task{display:none!important}
.console-index a,main .task-back:not([hidden]){display:inline-flex;align-items:center;min-height:44px;border:1px solid #82858b;border-radius:12px;padding:8px 14px;font-weight:650;color:inherit;text-decoration:none;box-sizing:border-box}
.console-index{margin:16px 0}
