body[data-turn=light]{--cyan:#79baff;--accent:#79baff;--gold:#79baff;--line:#294764}body[data-turn=dark]{--cyan:#ff7487;--accent:#ff7487;--gold:#ff7487;--line:#64313e}body[data-turn]{font-size:16px}body[data-turn] .primary{background:var(--accent);border-color:var(--accent);color:#07111c}body[data-turn] .phase-actions,body[data-turn] .control-panel{border-color:var(--accent)}.player.light{--player-accent:#79baff}.player.dark{--player-accent:#ff7487}.player button{border-color:color-mix(in srgb,var(--player-accent) 45%,#132030)}.player h2{color:var(--player-accent);font-size:16px}.board{display:flex;flex-direction:column;max-width:1700px}.player{width:100%;min-width:0}.player .zones,.duel-board .zones{display:grid;grid-template-columns:205px minmax(0,1fr);align-items:start;gap:18px}.player .zones>details{grid-column:2}.objective-zone{grid-row:1/span 5;grid-column:1;min-width:0}.objective-zone>.row{display:flex;flex-direction:column;align-items:start;max-height:560px;overflow:auto;padding:8px}.player .table-card{width:108px;min-width:108px}.player .table-card img{height:151px;object-fit:contain}.player .table-card.objective{width:178px;min-width:178px}.player .table-card.objective .scan-landscape{width:100%;height:auto;aspect-ratio:1.4}.player .row{overflow:auto;max-height:400px;flex-wrap:nowrap;align-items:start;padding:9px 4px 20px;gap:14px}.card-stack,.objective-stack{flex-shrink:0;display:flex;flex-direction:column;gap:5px;min-width:0}.attachment-row{display:flex;padding-left:12px}.attachment-row .table-card{width:90px;min-width:90px}.attachment-row .table-card img{height:126px}.tokens{gap:6px!important;bottom:6px!important;flex-wrap:wrap;justify-content:center}.tokens>span{font-size:18px!important;display:flex;align-items:center;gap:2px;padding:3px!important;border-radius:50%;background:#03060cdd!important;box-shadow:0 2px 9px #000b}.game-token{width:30px!important;min-width:30px!important;height:30px!important;object-fit:contain;vertical-align:middle}.concealed-hand{max-width:100%}.concealed-card{width:56px;min-width:56px}.player .player-stats{font-size:13px}.hand-area .row{overflow:auto;flex-wrap:nowrap}.hand-area .table-card{width:108px;min-width:108px}.hand-area .table-card img{height:151px}.player .zones>div{min-width:0}.edge-arena{border:1px solid var(--accent);background:#050e1bc9;max-width:1700px;margin:20px auto;padding:16px;border-radius:10px}.edge-arena h2{font-size:18px;margin-top:0}.edge-teams{display:grid;grid-template-columns:1fr 1fr;gap:20px}.edge-team{min-width:0;padding:14px;border:1px solid #294257;border-radius:7px}.edge-team.light{border-color:#79baff;color:#a0ccff}.edge-team.dark{border-color:#ff7487;color:#ff9daa}.edge-team .row{display:flex;overflow:auto;gap:10px;padding:12px 0;min-height:140px}.edge-team .table-card{width:88px;min-width:88px}.edge-team .table-card img{height:123px}.holo-dial{width:112px;height:112px;position:relative;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid #599ce2;box-shadow:0 0 20px #2777dc55,inset 0 0 20px #2777dc55;background:#030812;overflow:hidden}.holo-orbit{position:absolute;inset:9px;border-radius:50%;overflow:hidden;animation:holo-turn 30s linear infinite;opacity:.7;filter:grayscale(1) sepia(1) saturate(4) hue-rotate(167deg);background:#113767}.holo-orbit img{width:100%;height:100%;object-fit:cover}.holo-dial:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 3px,#6fbaff20 3px 4px);pointer-events:none}.holo-dial strong{font-size:40px;color:#edf7ff;position:relative;text-shadow:0 0 12px #4a9dff,0 2px 7px #000}.holo-dial small{position:absolute;bottom:7px;font-size:13px}.game .holo-dial{width:150px;height:150px;margin:12px auto}.force-hologram{display:inline-flex;align-items:center;gap:10px;padding:5px 10px;border:1px solid #498cd6;border-radius:8px;animation:force-glow 4s ease-in-out infinite}.force-hologram.dark{border-color:#c84258;color:#ff94a3}.force-hologram.light{color:#92c3ff}.force-hologram img{width:70px;height:43px;object-fit:cover;border-radius:4px}.payment-panel h3{font-size:18px}.payment-sources{display:flex;flex-direction:column;gap:8px;max-height:55vh;overflow:auto;margin:15px 0}.resource-source{display:flex!important;gap:12px;align-items:center;border:1px solid var(--line);padding:8px;border-radius:7px}.resource-source>img{width:60px;height:80px;object-fit:contain}.resource-source span{flex:1;font-size:14px}.resource-source small{display:block;color:var(--muted)}.resource-source select{width:72px}.payment-total{font-size:18px}.payment-panel>label{display:flex;gap:20px;align-items:center}.payment-panel>label input{max-width:100px}.layout-settings{display:grid;gap:20px;margin:20px 0}.layout-settings label{display:grid;gap:8px}body[data-objectives=right] .player .zones{grid-template-columns:minmax(0,1fr) 205px}body[data-objectives=right] .objective-zone{grid-column:2}body[data-objectives=right] .player .zones>details{grid-column:1}body[data-objectives=bottom] .player .zones{display:flex;flex-direction:column}body[data-objectives=bottom] .objective-zone{order:5;width:100%}body[data-objectives=bottom] .objective-zone>.row{flex-direction:row}body[data-cards=large] .player .table-card,body[data-cards=large] .hand-area .table-card{width:132px;min-width:132px}body[data-cards=large] .player .table-card>img,body[data-cards=large] .hand-area .table-card>img{height:185px}body[data-cards=large] .player .table-card.objective{width:178px;min-width:178px}body[data-hand=top] #app{display:flex;flex-direction:column}body[data-hand=top] #app>header{order:-3}body[data-hand=top] #app>.hand-area{order:-1}body[data-hand=top] #app>.board{order:1}.help-bar summary{font-size:17px;color:var(--accent)}.log{max-height:400px;overflow:auto}.toolbar-right{align-items:center}.table-header-tools{flex-wrap:wrap}.inspection-grid{max-height:65vh;overflow:auto}.player .zones>div:has(.zone-label){width:100%}@keyframes holo-turn{to{transform:rotate(360deg)}}@keyframes force-glow{50%{box-shadow:0 0 18px #639be545}}@media(prefers-reduced-motion:reduce){.holo-orbit,.force-hologram{animation:none}}@media(max-width:700px){.player .zones,.duel-board .zones,body[data-objectives=right] .player .zones{grid-template-columns:150px minmax(0,1fr);gap:10px}.player .table-card.objective,body[data-cards=large] .player .table-card.objective{width:136px;min-width:136px}.player .player-stats{flex-wrap:wrap;font-size:12px}.player .table-card{width:90px;min-width:90px}.player .table-card img{height:126px}.edge-teams{grid-template-columns:1fr}.holo-dial{width:86px;height:86px}.holo-dial strong{font-size:28px}header nav{flex-wrap:wrap}.toolbar{flex-wrap:wrap}.opponent-player .concealed-hand{min-height:70px}}

html[data-turn=light] body{--cyan:#79baff;--accent:#79baff;--gold:#79baff}html[data-turn=dark] body{--cyan:#ff7487;--accent:#ff7487;--gold:#ff7487}.field-zones{display:grid;grid-template-columns:195px minmax(0,1fr);gap:20px}.field-zones .objective-row{grid-column:1;grid-row:1/span 4;display:flex;flex-direction:column;max-height:530px;overflow:auto}.field-zones .units-row{grid-column:2;min-width:0;overflow:auto;flex-wrap:nowrap}.field-zones .concealed-hand{grid-column:2}.field-zones .resources-row{grid-column:2}.game .my-field .unit-card,.game .enemy-field .unit-card{width:112px;min-width:112px;max-width:112px}.game .objective{width:180px;min-width:180px}.table-enhancements{display:flex;overflow:auto;gap:12px;max-height:220px;padding:12px 0}.table-enhancements .table-card{width:100px;min-width:100px}.table-enhancements .real-card{height:140px;width:100%;object-fit:contain}.table-enhancements button>span{font-size:12px}.discard-gallery{display:flex;flex-wrap:wrap;gap:12px;max-height:65vh;overflow:auto}.discard-gallery button{width:110px}.discard-gallery .real-card{width:100%;height:154px;object-fit:contain}body[data-objectives=right] .field-zones{grid-template-columns:minmax(0,1fr) 195px}body[data-objectives=right] .field-zones .objective-row{grid-column:2}body[data-objectives=right] .field-zones .units-row,body[data-objectives=right] .field-zones .resources-row,body[data-objectives=right] .field-zones .concealed-hand{grid-column:1}body[data-objectives=bottom] .field-zones{display:flex;flex-direction:column}body[data-objectives=bottom] .field-zones .objective-row{flex-direction:row;order:3}body[data-hand=top] .game .main-table{display:flex;flex-direction:column}body[data-hand=top] .game .table-header{order:-3}body[data-hand=top] .game .hand{order:-2}body[data-cards=large] .game .unit-card{width:135px;min-width:135px;max-width:135px}.game .units-row{overflow:auto}.game .edge-strip{font-size:16px;flex-wrap:wrap;gap:16px}.game .edge-mini{min-width:28px;padding:5px;border-color:var(--accent)}@media(max-width:800px){.field-zones{grid-template-columns:145px minmax(0,1fr);gap:10px}.game .objective{width:135px;min-width:135px}.field-zones .units-row{margin:0}.game .my-field,.game .enemy-field{padding:10px}.game .player-stats{flex-wrap:wrap;font-size:13px}}

body[data-turn=light] .game{--accent:#79baff}body[data-turn=dark] .game{--accent:#ff7487}.player.light .icon-button{color:#79baff}.player.dark .icon-button{color:#ff7487}.game .token{font-size:17px!important;display:inline-flex;align-items:center;gap:3px;padding:3px!important}.game .unit-top-tokens{gap:5px}.game .objective-state{z-index:3}
