body[data-site-tab^="arena-"]{--cyan:#c79778;--line:#354044;--paper:#f2f0ea;--muted:#adb6ba;background-color:#111517}
body[data-site-tab^="arena-"] #siteContent,body[data-site-tab^="arena-"] #bettingDock{display:none}
.ar-page{max-width:1180px;width:calc(100% - 32px);margin:24px auto 44px;color:#f2f0ea;--ar-accent:#c79778;--ar-muted:#adb6ba;--ar-line:#354044}
.ar-page h2,.ar-page h3,.ar-page h4{font-family:var(--heading-type,"Barlow Condensed",sans-serif);margin:0}.ar-page h2{font-size:36px}.ar-page h3{font-size:27px}.ar-page h4{font-size:23px}.ar-page p{line-height:1.45;margin:8px 0}.ar-muted{color:var(--ar-muted);font-size:14px}.ar-error{color:#e99788}.ar-section-label{color:var(--ar-accent);font-size:12px;letter-spacing:1.4px}.ar-heading,.ar-heading-meta,.ar-owner,.ar-market-heading,.ar-actions,.ar-row-name,.ar-fighter-name{display:flex;align-items:center;gap:16px}.ar-heading{justify-content:space-between;padding-bottom:18px;border-bottom:1px solid var(--ar-line)}.ar-heading-meta{flex-direction:column;align-items:flex-end;font-variant-numeric:tabular-nums}.ar-draft{color:var(--ar-muted);font-size:12px;border:1px solid var(--ar-line);padding:4px 8px}.ar-owner{justify-content:space-between;margin:20px 0}.ar-page button,.ar-button{font:inherit;font-size:14px;min-height:44px;padding:10px 16px;background:#1a2023;border:1px solid var(--ar-line);color:#f2f0ea;border-radius:0;text-decoration:none;cursor:pointer}.ar-page button:hover:not(:disabled),.ar-button:hover{border-color:var(--ar-accent);color:var(--ar-accent)}.ar-page button[aria-pressed=true]{border-color:var(--ar-accent);color:var(--ar-accent);background:#27221f}.ar-page button.ar-primary{background:var(--ar-accent);color:#16191a;border-color:var(--ar-accent);font-weight:600}.ar-page button:disabled{opacity:.45;cursor:default}.ar-tabs{display:flex;gap:6px}.ar-overview{display:grid;grid-template-columns:240px 1fr;gap:32px;padding:24px 0 28px;border-bottom:1px solid var(--ar-line)}.ar-fighter-display{display:grid;place-items:center;background:#1a2023;min-height:225px}.ar-fighter-display canvas{width:140px;height:200px;image-rendering:pixelated}.ar-rank{width:100px;height:50px;object-fit:contain}.ar-fighter-name{justify-content:space-between}.ar-fighter-name h3{font-size:36px}.ar-equipped{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0}.ar-equipped>div{border-left:2px solid #635246;padding-left:12px}.ar-equipped span,.ar-equipped strong{display:block}.ar-equipped strong{font-family:var(--heading-type);font-size:19px;margin-top:5px}.ar-roster-strip{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;padding:16px 0;max-width:100%;min-width:0}.ar-roster-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;min-width:0}.ar-roster-choices button{display:flex;align-items:center;gap:8px;min-width:0}.ar-roster-choices span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ar-roster-strip canvas{width:28px;height:40px;flex-shrink:0;image-rendering:pixelated}.ar-page .ar-roster-arrow{padding:0;font-size:28px;align-self:stretch}.ar-market{margin-top:28px}.ar-market-heading{justify-content:space-between;margin-bottom:12px}.ar-market-row{display:grid;grid-template-columns:76px 1fr 145px;align-items:center;gap:20px;padding:16px 0;border-bottom:1px solid var(--ar-line)}.ar-market-row canvas{width:56px;height:80px;image-rendering:pixelated}.ar-market-action{text-align:right;display:flex;flex-direction:column;gap:8px;align-items:flex-end}.ar-market-action strong{font-size:19px;font-variant-numeric:tabular-nums}.ar-row-name .ar-rank{width:74px;height:37px}.ar-moves{font-size:14px;color:#d8dddc}.ar-battle-grid{display:grid;grid-template-columns:320px minmax(0,1fr);gap:32px;margin-top:28px}.ar-room-setup{padding:24px;background:#1a2023;align-self:start}.ar-room-setup h3{margin-bottom:22px}.ar-page label{display:flex;flex-direction:column;gap:8px;color:var(--ar-muted);font-size:14px;margin:16px 0}.ar-page input,.ar-page select{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--ar-line);background:#111517;color:#f2f0ea;font:inherit;border-radius:0}.ar-room-setup .ar-primary{width:100%;margin-top:12px}.ar-join{display:grid!important;grid-template-columns:1fr auto;align-items:end}.ar-join input{grid-row:2;grid-column:1}.ar-join button{grid-row:2;grid-column:2}.ar-room-row{display:grid;grid-template-columns:60px 1fr auto;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--ar-line)}.ar-room-row canvas{width:42px;height:60px}.ar-room-row .ar-rank{width:76px;height:38px}.ar-dialog{--ar-muted:#adb6ba;--ar-accent:#c79778;--ar-line:#354044;width:min(620px,calc(100% - 24px));max-height:85vh;overflow:auto;background:#1a2023;color:#f2f0ea;border:1px solid #635246;padding:24px}.ar-dialog::backdrop{background:#000a}.ar-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.ar-inspect{display:flex;gap:24px;align-items:center}.ar-inspect canvas{width:112px;height:160px}.ar-inspect-moves{border-top:1px solid var(--ar-line);margin:16px 0;padding-top:12px}.ar-room-stage{display:grid;grid-template-columns:1fr 44px 1fr;align-items:center;text-align:center;background:#111517;padding:24px 12px;margin:20px 0}.ar-room-stage canvas{width:112px;height:160px}.ar-vs{color:var(--ar-accent);font-size:24px}.ar-page :focus-visible{outline:2px solid var(--ar-accent);outline-offset:3px}
@media(max-width:700px){.ar-page{width:calc(100% - 24px);margin-top:18px}.ar-heading{gap:12px}.ar-heading h2{font-size:30px}.ar-overview{grid-template-columns:100px 1fr;gap:16px}.ar-fighter-display{min-height:160px}.ar-fighter-display canvas{width:90px;height:129px}.ar-fighter-name{gap:6px}.ar-fighter-name h3{font-size:28px}.ar-fighter-name .ar-rank{width:76px;height:38px}.ar-equipped{grid-template-columns:1fr 1fr;margin:14px 0}.ar-actions{flex-wrap:wrap;gap:6px;grid-column:1/-1}.ar-actions button,.ar-actions a{padding:8px 10px;font-size:13px}.ar-market-heading{flex-wrap:wrap}.ar-market-row{grid-template-columns:42px 1fr;gap:12px}.ar-market-row canvas{width:42px;height:60px}.ar-market-action{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between}.ar-battle-grid{grid-template-columns:1fr;gap:24px}.ar-owner{gap:8px}.ar-roster-strip,.ar-roster-choices{gap:4px}.ar-roster-choices button{flex-direction:column;justify-content:center;gap:4px;padding:8px 4px}.ar-roster-choices span{max-width:100%;font-size:12px}.ar-page .ar-tabs button{padding:8px 12px}.ar-room-row{gap:10px}.ar-dialog{padding:16px}}
@media(min-width:761px) and (max-width:1100px){.site-navigation .site-tabs{gap:10px}.site-navigation .games-nav summary{white-space:nowrap}}
@media(min-width:761px){.site-navigation #stockMarketTab{margin-right:0}.site-navigation #arenaNav{margin-right:auto}}

.ar-status{color:#e99788;margin:16px 0}.ar-room-heading{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0}.ar-room-heading h3{margin-right:auto}.ar-waiting-seats{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0}.ar-waiting-seats>div{background:#1a2023;padding:24px;text-align:center;min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center}.ar-waiting-seats canvas{width:112px;height:160px}.ar-live-choice-heading{display:flex;justify-content:space-between;font-size:16px;padding:18px 0 12px}.ar-live-choices{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.ar-live-choices button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;min-height:140px}.ar-live-choices strong{font:600 23px var(--heading-type)}.ar-live-choices small{font-size:13px;line-height:1.35}.ar-live-actions{display:flex;gap:8px;margin:12px 0;align-items:center}.ar-live-actions button{min-width:140px}.ar-live-actions button small{display:none}.ar-live-actions #arLock{margin-left:auto}.ar-result{border-left:2px solid #c79778;padding-left:14px;margin:20px 0}.ar-result:empty{display:none}.ar-result button{margin-right:8px;margin-top:12px}.ad-stage{position:relative;background:#1a2023;overflow:hidden;border:1px solid #354044}.ad-stage canvas{display:block;width:100%;aspect-ratio:1280/600;image-rendering:pixelated}.ad-health{position:absolute;top:16px;left:24px;right:24px;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) 60px minmax(0,1fr);gap:14px;align-items:center}.ad-name{display:flex;align-items:center;gap:10px}.ad-name strong{font:italic 600 30px var(--heading-type);text-transform:uppercase;-webkit-text-stroke:2px #090e11;paint-order:stroke fill;text-shadow:0 2px 2px #000;padding:2px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.ad-name img{width:84px;height:42px;object-fit:contain;flex:none}.ad-name span{margin-left:auto;white-space:nowrap;font-size:12px;color:#c3cece;text-shadow:0 1px 2px #000}.ad-right .ad-name{flex-direction:row-reverse}.ad-right .ad-name span{margin-left:0;margin-right:auto}.ad-health meter{display:block;width:100%;height:11px;margin:5px 0 0}.ad-health meter::-webkit-meter-bar{background:#303c3e;border:none;border-radius:0}.ad-health meter::-webkit-meter-optimum-value{background:#63dcc7}.ad-right meter{transform:scaleX(-1)}.ad-right meter::-webkit-meter-optimum-value{background:#dc9787}.ad-timer{text-align:center;font:600 30px var(--heading-type);color:#63dcc7;text-shadow:0 1px 3px #000}.ad-phase{position:absolute;top:86px;left:0;right:0;text-align:center;color:#c3cece;font-size:14px;z-index:2;text-shadow:0 1px 3px #000}.ad-floats{position:absolute;inset:0;pointer-events:none}.ad-floats span{position:absolute;font:600 24px var(--heading-type);color:#f7d587;transform:translate(-50%,-100%);text-shadow:0 2px 2px #000}.ad-under{display:flex;align-items:center;gap:12px;padding:12px 0}.ad-under span{flex:1;font-size:14px;color:#adb6ba}
@media(max-width:700px){.ar-waiting-seats{gap:8px}.ar-waiting-seats>div{padding:14px}.ar-live-choices{grid-template-columns:1fr 1fr}.ar-live-actions{flex-wrap:wrap}.ar-live-actions button{min-width:0;flex:1}.ar-live-actions #arLock{width:100%;flex:auto;margin-left:0}.ad-stage canvas{aspect-ratio:800/650}.ad-health{top:12px;left:12px;right:12px;grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr);gap:8px}.ad-name{gap:3px;flex-wrap:wrap}.ad-name strong{font-size:22px;max-width:65%}.ad-name img{width:55px;height:28px}.ad-name span{width:100%;font-size:10px;margin-left:0}.ad-right .ad-name span{text-align:right;margin-right:0}.ad-timer{font-size:25px}.ad-phase{top:108px;font-size:12px}.ar-room-heading button{font-size:13px;padding:8px}.ar-room-heading .ar-muted{width:100%}}

/* Arena money stays below the stage and separate from combat controls. */
.ar-page .ar-join{grid-template-columns:minmax(0,1fr) auto auto}.ar-join button:last-child{grid-column:3}
.ar-row-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.ar-live-list{margin-top:32px}.ar-money{margin-top:24px;padding:20px 0;border-top:1px solid var(--ar-line);font-variant-numeric:tabular-nums}.ar-money-info{color:var(--ar-muted);line-height:1.6}.ar-money-receipt{color:var(--ar-accent);line-height:1.6}.ar-money-receipt:empty{display:none}.ar-bet-form{display:grid;grid-template-columns:minmax(120px,1fr) minmax(100px,1fr) auto;gap:10px;align-items:center;max-width:700px;margin-top:16px}.ar-bet-form[hidden]{display:none}.ar-estimate{grid-column:1/-1;font-size:14px;margin:0}.ar-bet-form button{min-height:44px}@media(max-width:700px){.ar-bet-form{grid-template-columns:1fr 1fr}.ar-bet-form button{grid-column:1/-1}.ar-room-row>div{min-width:0}.ar-room-row h4{overflow-wrap:anywhere}.ar-row-actions{flex-direction:column}}

#arenaNav .arena-beta{font-size:10px;font-weight:500;letter-spacing:.04em;text-transform:none;color:#9ab5ad;margin-left:4px;vertical-align:middle}

.ar-live-actions button[data-move="grab"] small:first-of-type{display:block}

.ad-advantage{display:block;min-height:20px;margin-top:4px;color:#f7d587;font:600 16px var(--heading-type);letter-spacing:.05em;text-shadow:0 1px 3px #000,0 0 2px #000}.ad-right .ad-advantage{text-align:right}
@media(max-width:700px){.ad-advantage{font-size:13px}}

/* Move commands: compact stats, one shared rules strip and separate responses. */
.ar-live-choice-heading{align-items:center;gap:16px;padding:18px 0 14px}
.ar-live-choice-heading h4{font-size:26px;line-height:1.1}
.ar-choice-status{color:var(--ar-muted);font-size:14px;text-align:right}
.ar-live-choices{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ar-page .ar-live-choices .ar-move{position:relative;min-width:0;min-height:174px;padding:16px 18px 0;gap:0;background:#1a2023;color:#f2f0ea;transition:border-color 120ms,background-color 120ms}
.ar-move::before{content:'';position:absolute;left:-1px;top:-1px;bottom:-1px;width:3px;background:transparent}
.ar-page .ar-move:hover:not(:disabled){border-color:#7b898c;background:#20282b;color:#f2f0ea}
.ar-page .ar-move[aria-pressed=true],.ar-page .ar-response[aria-pressed=true]{border-color:#63dcc7;background:#192b2a;color:#63dcc7}
.ar-move[aria-pressed=true]::before{background:#63dcc7}
.ar-move-top{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;font-size:11px;letter-spacing:.07em;color:var(--ar-muted);text-transform:uppercase}
.ar-move-state{color:#63dcc7;letter-spacing:0;min-height:16px}
.ar-live-choices .ar-move-name{font:italic 600 27px/1.02 var(--heading-type,"Barlow Condensed",sans-serif);text-transform:uppercase;margin:13px 0 20px;overflow-wrap:anywhere}
.ar-move-stats{display:flex;gap:20px;align-items:baseline;margin-top:auto;padding:11px 0 12px;border-top:1px solid var(--ar-line);width:100%;font-variant-numeric:tabular-nums}
.ar-move-stat{display:flex;align-items:baseline;gap:5px}
.ar-move-stat b{font:600 25px/1 var(--heading-type,"Barlow Condensed",sans-serif)}
.ar-move-stat .ar-stat-word{font-size:18px}
.ar-move-stats:has(.ar-stat-word) .ar-move-stat{flex-direction:column;align-items:flex-start;gap:3px}
.ar-move-stats:has(.ar-stat-word){gap:10px}
.ar-live-choices .ar-move-stat small{color:var(--ar-muted);font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.ar-page .ar-move:disabled,.ar-page .ar-response:disabled{opacity:1;filter:none;cursor:default}
.ar-page .ar-move:disabled:not([aria-pressed=true]),.ar-page .ar-response:disabled:not([aria-pressed=true]){color:#a5afb1}
.ar-page .ar-live-choices .ar-on-cooldown{background:#151a1d;border-style:dashed}
.ar-on-cooldown .ar-move-state{color:#c7ad90}
.ar-live-choices .ar-cooldown{display:block;min-height:22px;font-size:11px;color:#c7ad90;align-self:flex-end;padding:0 0 8px}
.ar-cooldown:empty{visibility:hidden}
.ar-choice-detail{display:grid;grid-template-columns:190px minmax(0,1fr) auto;gap:20px;align-items:start;min-height:100px;padding:20px 0;border-bottom:1px solid var(--ar-line)}
.ar-choice-name{font:600 21px/1.15 var(--heading-type,"Barlow Condensed",sans-serif)}
.ar-page .ar-choice-copy{margin:0;color:#c5cecf;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.ar-choice-cooldown{color:var(--ar-muted);font-size:12px;white-space:nowrap;padding-top:3px}
.ar-live-actions{justify-content:space-between;align-items:stretch;gap:24px;margin:0;padding:18px 0}
.ar-responses{display:flex;gap:8px}
.ar-page .ar-response{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:52px;min-width:144px;padding:12px 16px;background:transparent;color:#dbe1df;text-align:left}
.ar-response strong{font:600 20px var(--heading-type,"Barlow Condensed",sans-serif)}
.ar-live-actions .ar-response small{display:block;font-size:12px;color:var(--ar-muted)}
.ar-page .ar-response:hover:not(:disabled){border-color:#7b898c;color:#dbe1df}
.ar-page .ar-live-actions #arLock{min-height:52px;min-width:210px;padding:12px 24px}
.ar-page #arLock:disabled{opacity:1;background:#22272a;border-color:var(--ar-line);color:#9aa5a8}
@media(max-width:1000px){.ar-page .ar-live-choices .ar-move{padding:14px 14px 0}.ar-live-choices .ar-move-name{font-size:25px}.ar-move-stats{gap:14px}.ar-choice-detail{grid-template-columns:150px 1fr}.ar-choice-cooldown{grid-column:2}.ar-live-actions{gap:12px}.ar-page .ar-response{min-width:125px;gap:10px}.ar-page .ar-live-actions #arLock{min-width:175px}}
@media(max-width:700px){.ar-live-choice-heading{align-items:start}.ar-choice-status{font-size:12px;max-width:155px}.ar-live-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ar-page .ar-live-choices .ar-move{min-height:155px;padding:13px 13px 0}.ar-live-choices .ar-move-name{font-size:25px;margin:12px 0 16px}.ar-move-stats{gap:16px}.ar-choice-detail{grid-template-columns:1fr;gap:8px;padding:16px 0;min-height:148px}.ar-choice-cooldown{grid-column:1;padding:0}.ar-live-actions{flex-direction:column;gap:14px}.ar-responses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.ar-page .ar-response{min-width:0;padding:10px 8px;gap:0;flex-direction:column;justify-content:center}.ar-response strong{font-size:19px}.ar-live-actions .ar-response small{font-size:11px}.ar-page .ar-live-actions #arLock{width:100%;margin-left:0}}
@media(prefers-reduced-motion:reduce){.ar-page .ar-live-choices .ar-move{transition:none}}
@media(max-width:380px){.ar-move-stat{flex-direction:column;align-items:flex-start;gap:3px}.ar-move-stats{gap:22px}.ar-move-top{flex-wrap:wrap;gap:3px}.ar-page .ar-response{padding-left:5px;padding-right:5px}}
