
:root{--ink:#e4faff;--gold:#9cedff;--display:AnodosUnifiedAlien,Orbitron,Arial,sans-serif;--text:AnodosUnifiedAlien,Orbitron,Arial,sans-serif}
body{font-family:var(--text);background:#041327;color:var(--ink)}body:before{background:linear-gradient(#03132322,#03132344),url('assets/arena-holographique-20261122.webp') center center/cover no-repeat}body:after{background:linear-gradient(0deg,#04132688,transparent 30%,transparent 70%,#04132688)}
.topbar{background:transparent;border:0;border-radius:0;max-width:1280px;padding:14px 24px;gap:12px;justify-content:flex-start}.topbar #new-game{margin-left:auto}.topbar .home-link,.topbar .small-button,.tools button{background:#082039b8;border:1px solid #78e8f780;backdrop-filter:blur(7px);font-family:var(--text);color:#cef7ff;font-size:14px;box-shadow:inset 0 0 18px #34cde511}
main{max-width:1180px;padding:0 24px 20px}.intro{padding:8px 0 15px}.intro:before{display:none}.arena-name{font:500 14px/1.3 var(--text);letter-spacing:.5em;color:#a5f0ff}.universe-name{font:600 clamp(25px,4vw,47px)/1.35 var(--text);letter-spacing:.045em;color:#e4fcff;text-shadow:0 0 16px #37dfff99,0 3px 10px #00172b}.intro>p:not(.eyebrow){font:14px/1.4 var(--text);color:#b6ecfc;margin:6px 0 13px}.tools{gap:10px}.tools button{min-height:40px;padding:9px 16px}
.board{padding:14px 30px 20px;max-width:970px;margin:auto;border:1px solid #7ceafa7a;border-radius:22px;background:linear-gradient(120deg,#06172da3,#0c2c4160,#06172da3);box-shadow:0 18px 60px #00142460,inset 0 0 50px #36d3ef11;backdrop-filter:blur(3px)}.board:before{border-color:#9deeff26}.board:after{display:none}.round-bar{font-family:var(--text);color:#a2e8f8;font-size:12px}.deck-note{font-size:12px;color:#a2d9ec}.players{max-width:780px;grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr);gap:18px;margin-top:4px}.identity{height:56px;gap:10px}.identity h2{font:500 clamp(15px,1.8vw,20px)/1.35 var(--text);color:#e3faff}.portrait{width:54px;height:54px;border-color:#7de3f9;background-color:#0c2941;background-image:none;box-shadow:0 0 18px #30d6f933}.portrait.braselon,.pli-bubble-avatar{background-image:none;background-size:cover}.portrait img{display:block;width:100%;height:100%;object-fit:contain}.score{margin:2px 0 9px;min-height:46px;gap:9px}.score strong{font:500 38px/1 var(--text);color:#a8f4ff;text-shadow:0 0 20px #4adfff77}.score>span{font:12px/1.35 var(--text);color:#c1e9f5;max-width:74px}.card-stage{max-width:205px;aspect-ratio:.68;border-radius:9px}.card-back{background:#08223b;border:1px solid #87eafa;box-shadow:0 0 25px #32d6fa22,0 12px 30px #00102099;border-radius:9px}.card-back:before{display:none}.card-back img{width:100%;height:100%;object-fit:fill}.real-card{border-radius:8px}.card-race{font:11px/1.4 var(--text);letter-spacing:0;color:#9fdbea;min-height:16px;margin:10px auto 0}.card-caption{font:500 16px/1.35 var(--text);color:#e5faff;margin:3px 0 5px;min-height:22px}.remaining{font:11px/1.4 var(--text);color:#a4cfdf}.remaining strong{color:#d3f4ff}.versus{position:relative;align-self:center;margin-top:0;display:flex;justify-content:center}.holo-core{display:block;width:60px;height:60px;border:1px solid #9af8ff;border-radius:50%;box-shadow:0 0 16px #4aefff,inset 0 0 20px #55e7ff;background:radial-gradient(circle,#d7feff 0 8%,#2cc7ed66 25%,transparent 65%);transform:rotateX(25deg)}.holo-core:before,.holo-core:after{content:'';position:absolute;inset:-12px;border:1px solid #77e9ff66;border-radius:50%;transform:rotateX(55deg) rotate(-30deg)}.holo-core:after{inset:8px -20px;transform:rotate(65deg)}
.turn-area{margin:14px auto 0;max-width:650px}.turn-status{font:500 17px/1.4 var(--text);color:#ddfaff}.turn-hint{font:13px/1.4 var(--text);color:#a9d9e9}.play-button{font:500 14px/1.35 var(--text);color:#052039;background:linear-gradient(#c7faff,#64dbef);border-color:#d9ffff;box-shadow:0 3px 0 #277087,0 0 22px #48dfff33;min-height:44px;padding:11px 24px}.turn-area>.play-button{margin-top:10px}.player.won .card-stage:after{border-color:#b2faff;box-shadow:0 0 22px #62eeff99}.pli-bubble{background:#0a2c40ed;color:#d9faff;border-color:#75deef;font-family:var(--text);max-width:600px;padding:10px 13px}.pli-bubble:before{background:#0a2c40;border-color:#75deef}.pli-bubble[data-outcome=loss],.pli-bubble[data-outcome=loss]:before{background:#18273e;border-color:#9aafd8}.pli-bubble strong{font:500 15px/1.4 var(--text);color:#b7f7ff}.pli-bubble p,.pli-bubble-count{font:12px/1.5 var(--text);color:#d1e9f6}.result{background:#071f36e8;border-color:#7ceafa}.result h2{font:24px/1.4 var(--text)}dialog{background:#071c31;color:#e5faff;border-color:#7dddea;font-family:var(--text)}dialog h2,.book-heading h2,.book-page h3{font:500 23px/1.4 var(--text);color:#a6f2ff}.rules-dialog{background:#092439;color:#d8f6ff}.book-heading .eyebrow,.book-page strong{color:#9ceeff}.book-page p{font:14px/1.6 var(--text)}.book-callout{background:#12445b;border-color:#57b9d0}.book-pagination button,.book-close,.dialog-actions button,.catalogue-heading button{background:#10344d;color:#d9faff;border-color:#72bfcf;font-family:var(--text)}.catalogue-heading{background:#071c31}.catalogue-family h3{font:18px/1.5 var(--text);color:#b4f5ff}.catalogue-row span{font:13px/1.5 var(--text)}.zoom-dialog{background:#061726}.book-pagination button{font-size:12px}.ap-opponent-badge{font:12px/1.4 var(--text);text-align:center;color:#acebfc}.ap-button{min-width:54px}.ap-dialog{background:#071c31!important}.account-link{white-space:nowrap}
@media(min-width:1000px) and (min-height:800px){.card-stage{max-width:225px}.intro{padding:16px 0 22px}.board{padding:17px 36px 24px}}
@media(max-width:700px){.topbar{padding:10px 12px;gap:7px}.topbar .home-link,.topbar .small-button{font-size:10px;padding:9px;min-height:37px}.topbar .home-link{max-width:110px}main{padding:0 10px 12px}.intro{padding:7px 0 12px}.arena-name{font-size:11px;letter-spacing:.38em}.universe-name{font-size:clamp(22px,6vw,35px)}.intro>p:not(.eyebrow){font-size:11px;margin:4px 0 9px}.tools button{font-size:10px;min-height:34px;padding:7px 9px}.tools{gap:7px}.board{padding:10px 10px 14px;border-radius:15px}.players{grid-template-columns:minmax(0,1fr) 25px minmax(0,1fr);gap:5px;margin-top:4px}.round-bar,.deck-note{font-size:9px}.identity{height:50px;gap:5px}.identity h2{font-size:11px;line-height:1.5}.portrait,.ap-button{width:36px;height:36px;min-width:36px}.score{margin:2px 0 8px;min-height:35px;gap:5px}.score strong{font-size:27px}.score>span{font-size:9px;max-width:55px}.card-stage{max-width:165px}.card-race{font-size:8px;min-height:22px;margin-top:7px}.card-caption{font-size:11px;min-height:18px}.remaining{font-size:9px}.holo-core{width:20px;height:20px;box-shadow:0 0 8px #4aefff,inset 0 0 10px #55e7ff}.holo-core:before{inset:-6px}.holo-core:after{inset:2px -7px}.turn-area{margin-top:12px}.turn-status{font-size:13px}.turn-hint{font-size:11px}.play-button{font-size:11px;min-height:40px;padding:10px 15px}.pli-bubble{grid-template-columns:25px minmax(0,1fr);gap:8px;padding:9px;margin-top:9px}.pli-bubble-avatar{width:25px;height:25px}.pli-bubble strong{font-size:12px}.pli-bubble p,.pli-bubble-count{font-size:10px;line-height:1.5}.catalogue-row span{font-size:10px}.ap-opponent-badge{font-size:10px}}
@media(max-width:400px) and (max-height:780px){.card-stage{max-width:132px}.identity{height:40px}.score{min-height:29px}.intro{padding-top:0}.board{padding-bottom:11px}.card-race{margin-top:5px}.turn-area{margin-top:8px}}

body[data-arena-universe=aliens] #human-side .identity,body[data-arena-universe=aliens] #ai-side .identity{grid-template-rows:78px var(--arena-name-row,auto);gap:5px}
body[data-arena-universe=aliens] #human-side .portrait.ap-button,body[data-arena-universe=aliens] #ai-side .identity>.portrait{width:65px;height:78px}
body[data-arena-universe=aliens] #ai-side .identity>.portrait{height:65px}
body[data-arena-universe=aliens] .identity h2{font-size:16px}
body[data-arena-universe=aliens] .tools .ap-open{margin:0}
body[data-arena-universe=aliens] .card-stage{max-width:190px}
body[data-arena-universe=aliens] .ap-help,body[data-arena-universe=aliens] select{font-family:var(--text)}
body[data-arena-universe=aliens] .ap-opponent-badge{color:#b8efff;background:#092c43;border-color:#6dddf0;font-family:var(--text)}
@media(max-width:700px){body[data-arena-universe=aliens] #human-side .identity,body[data-arena-universe=aliens] #ai-side .identity{grid-template-rows:58px var(--arena-name-row,auto)}body[data-arena-universe=aliens] #human-side .portrait.ap-button,body[data-arena-universe=aliens] #ai-side .identity>.portrait{width:48px;height:58px}body[data-arena-universe=aliens] #ai-side .identity>.portrait{height:48px}body[data-arena-universe=aliens] .identity h2{font-size:11px}body[data-arena-universe=aliens] .card-stage{max-width:145px}}
/* Final viewport fit */
@media(min-width:1000px) and (max-height:950px){body[data-arena-universe=aliens] .topbar{padding-block:10px}body[data-arena-universe=aliens] .intro{padding:2px 0 12px}body[data-arena-universe=aliens] .universe-name{font-size:34px}body[data-arena-universe=aliens] .card-stage{max-width:144px}body[data-arena-universe=aliens] #human-side .identity,body[data-arena-universe=aliens] #ai-side .identity{grid-template-rows:62px var(--arena-name-row,auto)}body[data-arena-universe=aliens] #human-side .portrait.ap-button,body[data-arena-universe=aliens] #ai-side .identity>.portrait{width:52px;height:62px}body[data-arena-universe=aliens] #ai-side .identity>.portrait{height:52px}}
@media(max-width:700px) and (max-height:850px){body[data-arena-universe=aliens] .card-stage{max-width:128px}body[data-arena-universe=aliens] #human-side .identity,body[data-arena-universe=aliens] #ai-side .identity{grid-template-rows:50px var(--arena-name-row,auto)}body[data-arena-universe=aliens] #human-side .portrait.ap-button,body[data-arena-universe=aliens] #ai-side .identity>.portrait{width:40px;height:50px}body[data-arena-universe=aliens] #ai-side .identity>.portrait{height:40px}}

/* Approved galaxy back and scores alongside the confrontation. */
body[data-arena-universe=aliens] .card-slot{--battle-card-width:190px;display:block;position:relative;width:100%;max-width:var(--battle-card-width);aspect-ratio:.68;margin:12px auto 0}
body[data-arena-universe=aliens] .card-slot>.card-stage{width:100%;height:100%;max-width:none;margin:0}
body[data-arena-universe=aliens] .card-slot>.score{position:absolute;top:50%;left:calc(100% + 12px);right:auto;transform:translateY(-50%);margin:0;padding:0;min-height:0;display:block;width:max-content;max-width:none;pointer-events:none;white-space:nowrap}
body[data-arena-universe=aliens] #ai-side .card-slot>.score{left:auto;right:calc(100% + 12px)}
body[data-arena-universe=aliens] .card-slot>.score strong{display:block;font:500 38px/1 var(--text);color:#c1f8ff;text-shadow:0 0 18px #3cd9ff88}
body[data-arena-universe=aliens] .card-back{border:0;background:transparent;box-shadow:none;overflow:visible}
body[data-arena-universe=aliens] .card-back img{display:block;object-fit:contain;filter:drop-shadow(0 5px 12px #00102088)}
@media(min-width:1000px) and (max-height:950px){body[data-arena-universe=aliens] .card-slot{--battle-card-width:144px}}
@media(max-width:700px){body[data-arena-universe=aliens] .players{grid-template-columns:minmax(0,1fr) 84px minmax(0,1fr);gap:5px}body[data-arena-universe=aliens] .holo-core{display:none}body[data-arena-universe=aliens] .card-slot{--battle-card-width:145px;margin-top:10px}body[data-arena-universe=aliens] .card-slot>.score{left:calc(100% + 6px)}body[data-arena-universe=aliens] #ai-side .card-slot>.score{right:calc(100% + 6px)}body[data-arena-universe=aliens] .card-slot>.score strong{font-size:24px}}
@media(max-width:700px) and (max-height:850px){body[data-arena-universe=aliens] .card-slot{--battle-card-width:128px}}

/* Top-of-board counters, avatar access and training XPC. */
body[data-arena-universe=aliens] .round-bar{display:grid;grid-template-columns:1fr 140px 1fr;align-items:start;min-height:74px}
.round-meter{grid-column:2;display:flex;flex-direction:column;align-items:center;gap:3px}.round-meter #round-label{font-size:11px;line-height:1.2}.remaining-tricks-box{display:grid;place-items:center;width:46px;height:46px;border:1px solid #a7f3ff;border-radius:7px;background:linear-gradient(#15405cbb,#082137cc);box-shadow:inset 0 0 14px #56d8f722}.remaining-tricks-box strong{font:500 26px/1 var(--text);color:#c8faff}.round-meter small{font:10px/1.25 var(--text);white-space:nowrap;color:#c1e7f6}
.reactor-pot{grid-column:3;justify-self:end;display:flex;flex-direction:column;align-items:center;min-width:56px;gap:1px}.reactor-pot img{display:block;object-fit:contain}.reactor-pot strong{font:500 16px/1 var(--text);color:#c6faff}.reactor-pot small{font:9px/1 var(--text)}
.portrait-controls{height:30px;display:flex;justify-content:center;align-items:center}.portrait-controls .ap-open{margin:0;padding:5px 10px;min-height:26px;font:11px/1.2 var(--text);background:#0a2a43bb;color:#d7f7ff;border:1px solid #7dddec;border-radius:7px}
.arena-wallet{margin:7px 0 5px;text-align:center}.arena-wallet small{display:block;color:#9bd3e5;font:10px/1.2 var(--text)}.arena-wallet strong{display:block;margin-top:2px;color:#c6f6ff;font:500 18px/1.1 var(--text)}.stake-open{display:block;margin:0 auto;min-height:31px;max-width:100%;padding:7px 10px;background:linear-gradient(#ffe9a9,#e5be63);color:#123148;border:1px solid #fff4c9;border-radius:8px;font:500 11px/1.2 var(--text)}.stake-open:disabled{opacity:.45}.stake-spacer{height:31px}#stake-response{font:11px/1.4 var(--text);color:#c9f4ff;margin:0 0 7px}#stake-error{color:#ffc6ab}#stake-limit{font:12px/1.4 var(--text)}
@media(max-width:700px){body[data-arena-universe=aliens] .round-bar{min-height:66px}.remaining-tricks-box{width:40px;height:40px}.remaining-tricks-box strong{font-size:24px}.round-meter #round-label{font-size:10px}.round-meter small{font-size:9px}.reactor-pot img{width:33px;height:33px}.reactor-pot strong{font-size:14px}.portrait-controls{height:28px}.portrait-controls .ap-open{font-size:9px;min-height:23px;padding:4px 7px}.arena-wallet{margin:5px 0}.arena-wallet small{font-size:8px}.arena-wallet strong{font-size:16px}.stake-open{font-size:9px;padding:6px;min-height:32px}.stake-spacer{height:32px}#stake-response{font-size:10px}.turn-area{margin-top:9px}}
.arena-wallet{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px}.arena-wallet small,.arena-wallet strong{display:inline;margin:0}
body[data-arena-universe=aliens] .card-slot>.card-stage:not(:disabled):hover{transform:none;filter:brightness(1.04)}
@media(min-width:1000px) and (max-height:950px){body[data-arena-universe=aliens] .topbar{padding-block:6px}body[data-arena-universe=aliens] .intro{padding:2px 0 8px}body[data-arena-universe=aliens] .intro>p:not(.eyebrow){margin:3px 0 7px}body[data-arena-universe=aliens] .tools button{min-height:34px;padding-block:6px}}
@media(max-width:700px){body[data-arena-universe=aliens] .topbar{padding-block:7px}body[data-arena-universe=aliens] .intro{padding:2px 0 8px}body[data-arena-universe=aliens] .arena-name{display:inline;font-size:12px;letter-spacing:.08em;margin-right:8px}body[data-arena-universe=aliens] .universe-name{display:inline;font-size:21px}body[data-arena-universe=aliens] .intro>p:not(.eyebrow){margin:3px 0 6px}body[data-arena-universe=aliens] .tools button{min-height:30px;padding:5px 8px}}

/* Cards remaining, short winner feedback and larger central counters. */
body[data-arena-universe=aliens] .card-slot>.remaining{position:absolute;top:50%;transform:translateY(-50%);left:auto;right:calc(100% + 12px);display:flex;flex-direction:column;align-items:center;width:max-content;min-width:30px;margin:0;color:#a8e5f6;pointer-events:none;line-height:1.15}
body[data-arena-universe=aliens] #ai-side .card-slot>.remaining{right:auto;left:calc(100% + 12px)}
body[data-arena-universe=aliens] .card-slot>.remaining strong{font:500 20px/1 var(--text);color:#b6f0ff}.card-slot>.remaining span{font:9px/1.3 var(--text);margin-top:3px}
body[data-arena-universe=aliens] .round-meter #round-label{font:500 32px/1.2 var(--text);color:#e6fcff;text-shadow:0 0 12px #47d7ff66}.remaining-tricks-box{width:auto;height:auto;min-height:40px;border:0;border-radius:0;background:none;box-shadow:none}.remaining-tricks-box strong{font-size:34px}.round-meter small{font-size:11px}
.winner-flash>.card-stage{animation:winner-jolt .52s ease-out!important}.winner-sparks{position:absolute;inset:-8px;pointer-events:none;overflow:visible}.winner-sparks i{position:absolute;left:var(--x);top:var(--top);width:var(--size);height:var(--size);background:#e4ffff;clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 95%,50% 72%,21% 95%,32% 57%,2% 35%,39% 35%);filter:drop-shadow(0 0 4px #7af6ff);animation:winner-spark var(--duration) linear both,winner-twinkle .4s ease-in-out infinite alternate;animation-delay:var(--delay),var(--delay)}.winner-sparks i:nth-child(3n){background:#72e8ff}.winner-sparks i:nth-child(4n){background:#fff}
@keyframes winner-jolt{0%,100%{transform:translateX(0)}18%{transform:translateX(-4px) rotate(-1deg)}38%{transform:translateX(4px) rotate(1deg)}58%{transform:translateX(-3px)}78%{transform:translateX(2px)}}
@keyframes winner-spark{0%{opacity:0;transform:translate(0,-15px) rotate(0deg) scale(.6)}12%,72%{opacity:1}100%{opacity:0;transform:translate(var(--drift),var(--fall)) rotate(150deg) scale(.3)}}
@keyframes winner-twinkle{from{filter:brightness(.7) drop-shadow(0 0 2px #7af6ff)}to{filter:brightness(1.8) drop-shadow(0 0 7px #fff)}}
@media(max-width:700px){body[data-arena-universe=aliens] .card-slot>.remaining{right:calc(100% + 6px);min-width:26px}body[data-arena-universe=aliens] #ai-side .card-slot>.remaining{left:calc(100% + 6px)}body[data-arena-universe=aliens] .card-slot>.remaining strong{font-size:17px}.card-slot>.remaining span{font-size:8px}body[data-arena-universe=aliens] .round-meter #round-label{font-size:28px}.remaining-tricks-box{width:auto;height:auto;min-height:34px}.remaining-tricks-box strong{font-size:30px}body[data-arena-universe=aliens] .intro{padding-bottom:4px}body[data-arena-universe=aliens] .topbar{padding-block:5px}.portrait-controls{height:25px}}
@media(prefers-reduced-motion:reduce){.winner-flash>.card-stage{animation:none!important}.winner-sparks{display:none}}

.round-meter #round-label{white-space:nowrap}
@media(max-width:700px){body[data-arena-universe=aliens] .card-slot{width:calc(100% - 18px)}body[data-arena-universe=aliens] #human-side .card-slot{left:15px}body[data-arena-universe=aliens] #ai-side .card-slot{left:-15px}body[data-arena-universe=aliens] .card-slot>.remaining{right:calc(100% + 2px);min-width:22px}body[data-arena-universe=aliens] #ai-side .card-slot>.remaining{left:calc(100% + 2px)}body[data-arena-universe=aliens] .card-slot>.remaining strong{font-size:15px}.card-slot>.remaining span{font-size:7px}}
.ap-open[hidden]{display:none!important}

.ai-stake-controls{display:flex;justify-content:center;align-items:stretch;gap:10px;margin-top:10px}.ai-stake-controls[hidden]{display:none!important}.ai-stake-controls>button{min-height:44px;margin:0}.ai-stake-controls>#ai-stake-refuse{padding:10px 18px;border:1px solid #78e8f7;border-radius:8px;background:#082039;color:#cef7ff;font:500 13px/1.3 var(--text)}
@media(max-width:700px){.ai-stake-controls{gap:8px}.ai-stake-controls>#ai-stake-refuse{font-size:11px;padding:9px 16px}}

/* The wager reservoir replaces the decorative atom, between the players. */
body[data-arena-universe=aliens] .reactor-pot{position:relative;display:block;flex:none;width:150px;height:150px;min-width:0;margin:0;gap:0}
body[data-arena-universe=aliens] .reactor-pot>img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 9px #55eaff33)}
.reactor-value{position:absolute;left:50%;top:68%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;width:48%;line-height:1;text-align:center}
body[data-arena-universe=aliens] .reactor-value strong{font:600 34px/1 var(--text);color:#e9ffff;text-shadow:0 0 8px #42e8ff}
body[data-arena-universe=aliens] .reactor-value small{font:10px/1.1 var(--text);color:#bff8ff;margin-top:2px}
body[data-arena-universe=aliens] .portrait-controls{height:0;min-height:0}
.board-help{display:flex;justify-content:flex-end;align-items:center;min-height:32px;margin-top:8px}
#trick-help-open{padding:7px 12px;min-height:32px;border:1px solid #8de7ff66;border-radius:8px;background:#6bcfff18;color:#c4f2ff;font:11px/1.2 var(--text);backdrop-filter:blur(6px);cursor:pointer}
#trick-help-open:hover:not(:disabled){background:#6bcfff30}#trick-help-open:disabled{opacity:.45;cursor:default}
.trick-help-dialog{width:min(520px,calc(100vw - 28px));max-height:85svh;overflow:auto;padding:20px;border:1px solid #73d9ee;background:#071d32ed;color:#e4faff;border-radius:14px}
.trick-help-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.trick-help-dialog h2{font:18px/1.4 var(--text);margin:0}.trick-help-dialog p{font:13px/1.65 var(--text);margin:14px 0 0}.trick-help-dialog::backdrop{background:#001020aa;backdrop-filter:blur(3px)}
body[data-arena-universe=aliens] .turn-area>.result{max-width:100%;padding:0;margin:0;border:0;background:none;box-shadow:none}
body[data-arena-universe=aliens].arena-finished .board{padding-bottom:10px}
body[data-arena-universe=aliens].arena-finished .board-help{margin-top:0}
body[data-arena-universe=aliens].arena-finished #stake-open,body[data-arena-universe=aliens].arena-finished .stake-spacer{display:none}
.turn-area>.result>.eyebrow{display:none}.turn-area>.result h2{font:500 20px/1.3 var(--text);margin:3px 0 8px}.turn-area>.result p{font:13px/1.55 var(--text);margin:0 0 10px}.turn-area>.result>#again-button{min-height:38px;padding:8px 16px;font-size:12px}
@media(min-width:780px) and (max-width:999px){body[data-arena-universe=aliens] .players{grid-template-columns:minmax(0,1fr) 180px minmax(0,1fr)}body[data-arena-universe=aliens] .reactor-pot{width:120px;height:120px}body[data-arena-universe=aliens] .reactor-value strong{font-size:28px}}
@media(max-width:779px){body[data-arena-universe=aliens] .versus{align-self:start;margin-top:-6px}body[data-arena-universe=aliens] .reactor-pot{width:100px;height:100px}body[data-arena-universe=aliens] .reactor-value strong{font-size:22px}body[data-arena-universe=aliens] .reactor-value small{font-size:8px}}
@media(max-width:700px){body[data-arena-universe=aliens] .reactor-pot{width:92px;height:92px}body[data-arena-universe=aliens] .reactor-value strong{font-size:20px}.board-help{min-height:36px;margin-top:6px}#trick-help-open{min-height:36px;font-size:10px}.trick-help-dialog{padding:16px}.trick-help-dialog h2{font-size:15px}.trick-help-dialog p{font-size:12px}.turn-area>.result h2{font-size:17px}.turn-area>.result p{font-size:11px;line-height:1.5}}

/* A glass holographic tube, with a gentle two-way current of blue plasma. */
body[data-arena-universe=aliens] .reactor-pot.plasma-tube{width:122px;height:183px;isolation:isolate}
.plasma-tube .tube-art{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 0 7px #27baff55)}
.plasma-tube .reactor-value{top:55%;width:74%;padding:7px 2px 6px;background:none;z-index:1}
body[data-arena-universe=aliens] .plasma-tube .reactor-value strong{font-size:29px;font-weight:600;color:#eaffff;text-shadow:0 0 8px #37dfff}
.plasma-flow{animation:plasma-shuttle 4.6s ease-in-out infinite alternate;transform-origin:60px 90px}
.plasma-stream{stroke-dasharray:34 24;animation:plasma-tide 4.6s ease-in-out infinite alternate}.plasma-stream-b{animation-direction:alternate-reverse;animation-duration:5.4s;stroke-dasharray:17 29}
.plasma-motes{animation:plasma-motes 5.2s ease-in-out infinite alternate}.tube-ring{animation:plasma-ring 3.8s ease-in-out infinite alternate}
@keyframes plasma-shuttle{from{transform:translateY(-42px) scaleX(.85)}to{transform:translateY(24px) scaleX(1.08)}}
@keyframes plasma-tide{from{stroke-dashoffset:70;opacity:.55}to{stroke-dashoffset:-70;opacity:1}}
@keyframes plasma-motes{from{transform:translateY(-12px);opacity:.4}to{transform:translateY(15px);opacity:.95}}
@keyframes plasma-ring{from{opacity:.4}to{opacity:.85}}
@media(min-width:780px) and (max-width:999px){body[data-arena-universe=aliens] .reactor-pot.plasma-tube{width:106px;height:159px}body[data-arena-universe=aliens] .plasma-tube .reactor-value strong{font-size:24px}}
@media(max-width:779px){body[data-arena-universe=aliens] .reactor-pot.plasma-tube{width:92px;height:138px}body[data-arena-universe=aliens] .plasma-tube .reactor-value strong{font-size:24px}}
@media(max-width:700px){body[data-arena-universe=aliens] .reactor-pot.plasma-tube{width:80px;height:120px}body[data-arena-universe=aliens] .plasma-tube .reactor-value strong{font-size:20px}.plasma-tube .reactor-value small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.plasma-tube :is(.plasma-flow,.plasma-stream,.plasma-motes,.tube-ring){animation:none!important}}

/* Compact plasma reserve display: one readable balance, no circular backdrop. */
body[data-arena-universe=aliens] .arena-wallet.holo-reserve{position:relative;isolation:isolate;display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:10px;align-items:center;width:min(174px,100%);height:64px;margin:7px auto 8px;padding:8px 15px 12px;color:#91f4ff;background:linear-gradient(115deg,#0a355b9c,#09243d6b 55%,#10456880);clip-path:polygon(7% 0,93% 0,100% 18%,100% 82%,93% 100%,7% 100%,0 82%,0 18%);filter:drop-shadow(0 0 6px #35dfff22);font-family:var(--text)}
.holo-reserve-shell{position:absolute;inset:0;width:100%;height:100%;opacity:.8;pointer-events:none}.holo-reserve-cell{display:block;width:29px;height:39px;filter:drop-shadow(0 0 4px #6eeaff)}.holo-reserve-cell svg{display:block;width:100%;height:100%}.holo-reserve-readout{display:grid;justify-items:start;gap:4px;min-width:0}.holo-reserve-readout>small{font:500 10px/1 var(--text);letter-spacing:.14em;color:#b1dcea;text-transform:uppercase}.holo-reserve-balance{display:flex;align-items:baseline;gap:7px;max-width:100%;white-space:nowrap}.arena-wallet .holo-reserve-balance strong{font:600 27px/1 var(--text);color:#efffff;text-shadow:0 0 10px #46e5ff99;font-variant-numeric:tabular-nums}.holo-reserve-balance b{font:500 11px/1 var(--text);color:#98f4ff}.holo-reserve-rail{position:absolute;left:48px;right:17px;bottom:5px;display:flex;gap:3px;height:3px}.holo-reserve-rail i{flex:1;background:#62eaff77;box-shadow:0 0 4px #24dfff33;animation:reserve-current 2.8s ease-in-out infinite;animation-delay:calc(var(--cell,0)*.15s)}.holo-reserve-rail i:nth-child(2n){--cell:2}.holo-reserve-rail i:nth-child(3n){--cell:4}.holo-reserve-rail i:nth-child(4n){--cell:6}.holo-reserve-current{animation:reserve-plasma 3s ease-in-out infinite}
@keyframes reserve-current{0%,65%,100%{opacity:.4}30%{opacity:1;filter:brightness(1.6)}}@keyframes reserve-plasma{0%,100%{opacity:.5;stroke-dasharray:7 2;stroke-dashoffset:14}50%{opacity:1;stroke-dashoffset:-14}}
@media(max-width:700px){body[data-arena-universe=aliens] .arena-wallet.holo-reserve{grid-template-columns:19px minmax(0,1fr);gap:5px;width:min(122px,100%);height:48px;padding:6px 9px 9px;margin:5px auto 7px}.holo-reserve-cell{width:19px;height:29px}.holo-reserve-readout{gap:3px}.holo-reserve-readout>small{font-size:8px;letter-spacing:.08em}.arena-wallet .holo-reserve-balance strong{font-size:20px}.holo-reserve-balance{gap:4px}.holo-reserve-balance b{font-size:8px}.holo-reserve-rail{left:32px;right:10px;bottom:4px;height:2px;gap:2px}}
@media(prefers-reduced-motion:reduce){.holo-reserve-current,.holo-reserve-rail i{animation:none}}
body[data-arena-universe=aliens] .versus{flex-direction:column;align-items:center;gap:10px}
.reactor-offer{width:174px;padding:9px 8px 10px;text-align:center;border:1px solid #65e8ff66;border-radius:10px;background:linear-gradient(#104361ad,#06223bba);box-shadow:inset 0 0 18px #2dcfff14,0 0 12px #2dcfff10;color:#ddfcff}.reactor-offer[hidden]{display:none}.reactor-offer>p{font:500 11px/1.3 var(--text);margin:0 0 5px;color:#a1e8f8}.reactor-offer>strong{font:600 25px/1 var(--text);color:#eaffff;text-shadow:0 0 9px #39d9ff77}.reactor-offer>strong small{font-size:11px}.reactor-offer .ai-stake-controls{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:9px 0 0}.reactor-offer .ai-stake-controls>button{width:100%;min-width:0;min-height:36px;padding:7px 5px;font-size:10px}.reactor-offer .ai-stake-controls>#ai-stake-refuse{padding:7px 5px;font-size:10px}
@media(max-width:700px){body[data-arena-universe=aliens] .versus{gap:7px}.reactor-offer{width:84px;padding:7px 4px 6px;border-radius:8px}.reactor-offer>p{font-size:9px}.reactor-offer>strong{font-size:18px}.reactor-offer>strong small{font-size:8px}.reactor-offer .ai-stake-controls{grid-template-columns:1fr;gap:5px;margin-top:7px}.reactor-offer .ai-stake-controls>button,.reactor-offer .ai-stake-controls>#ai-stake-refuse{font-size:9px;min-height:33px;padding:6px 3px}.arena-wallet .holo-reserve-balance strong{font-size:19px}}
.reactor-reply{--reply-color:#a6f3cd;display:grid;gap:6px;justify-items:center;text-align:center;width:184px;padding:12px 9px;border:1px solid var(--reply-color);border-radius:10px;background:linear-gradient(#092b42ee,#073040cc);color:var(--reply-color);box-shadow:0 0 17px color-mix(in srgb,var(--reply-color) 25%,transparent);animation:reply-confirm .7s ease-out 2}.reactor-reply[hidden]{display:none}.reactor-reply[data-answer=refused]{--reply-color:#ffbe88}.reactor-reply>small{font:500 10px/1.4 var(--text);color:#c0e3ec}.reactor-reply>strong{font:600 15px/1.35 var(--text)}.reactor-reply>span{font:500 11px/1 var(--text)}.reactor-reply b{font:600 24px/1 var(--text);margin-right:3px}
@keyframes reply-confirm{40%{filter:brightness(1.35);box-shadow:0 0 23px color-mix(in srgb,var(--reply-color) 50%,transparent)}}
@media(max-width:700px){.reactor-reply{width:84px;padding:9px 4px;gap:5px}.reactor-reply>small{font-size:8px}.reactor-reply>strong{font-size:11px}.reactor-reply>span{font-size:8px}.reactor-reply b{font-size:19px}}
@media(prefers-reduced-motion:reduce){.reactor-reply{animation:none}}
@media(max-width:700px){.reactor-offer,.reactor-reply{position:relative;margin-top:100px}.reactor-offer:before,.reactor-reply:before{content:'';position:absolute;left:50%;top:-96px;width:1px;height:88px;background:linear-gradient(transparent,#77edff66 25%,#77edff33 75%,transparent);pointer-events:none}}
