:root{--bg:#0b0e14;--panel:#121722;--panel-2:#1a2030;--border:#2a3245;--text:#e6e9ef;--muted:#8b93a7;--accent:#ff4655;--ally:#4fd1c5;--font:"Segoe UI", system-ui, sans-serif}*{box-sizing:border-box}html,body{background:var(--bg);height:100%;color:var(--text);font-family:var(--font);margin:0}.planner{grid-template-columns:290px minmax(0,1fr);height:100vh;display:grid;overflow:hidden}.hidden{display:none!important}.side{background:var(--panel);border-right:1px solid var(--border);flex-direction:column;gap:16px;padding:18px 16px;display:flex;overflow-y:auto}.logo{color:var(--text);letter-spacing:.02em;font-size:1.5rem;font-weight:900;text-decoration:none}.logo span{color:var(--accent)}.side-sub{color:var(--muted);margin:-14px 0 0;font-size:.85rem}.field{color:var(--muted);flex-direction:column;gap:8px;font-size:.85rem;display:flex}.field>span{letter-spacing:.1em;text-transform:uppercase;font-size:.72rem;font-weight:700}select{border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text);font:inherit;border-radius:8px;padding:8px 10px}.row{gap:6px;display:flex}.row>*{flex:1}.btn{border:1px solid var(--border);background:var(--panel-2);color:var(--text);font:600 .85rem var(--font);cursor:pointer;border-radius:8px;padding:8px 10px}.btn:hover:not(:disabled){border-color:var(--muted)}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn:disabled{opacity:.45;cursor:not-allowed}.seg{grid-template-columns:1fr 1fr;gap:6px;display:grid}.seg button{border:1px solid var(--border);background:var(--panel-2);color:var(--text);font:600 .85rem var(--font);cursor:pointer;border-radius:8px;padding:8px}.seg button.active{border-color:var(--accent);background:#ff465526}.steps{grid-template-columns:repeat(5,1fr);gap:6px;display:grid}.steps button{border:1px solid var(--border);background:var(--panel-2);color:var(--text);font:700 .95rem var(--font);cursor:pointer;border-radius:8px;padding:8px 0;position:relative}.steps button.active{background:var(--accent);border-color:var(--accent);color:#fff}.steps button.has:after{content:"";background:var(--ally);border-radius:50%;width:5px;height:5px;position:absolute;top:4px;right:5px}.check{color:var(--text);cursor:pointer;align-items:center;gap:8px;display:flex}.check input{accent-color:var(--accent);width:16px;height:16px}.help{color:var(--muted);font-size:.85rem}.help summary{cursor:pointer;color:var(--text);font-weight:600}.help ol{padding-left:18px;line-height:1.5}.help b{color:var(--text)}.legal{color:#5d6578;margin:auto 0 0;font-size:.7rem;line-height:1.45}.board{flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.stage{flex:1;place-items:center;min-width:0;min-height:0;margin:12px;display:grid;position:relative;overflow:hidden}#board{touch-action:none;cursor:crosshair;width:100px;height:100px;margin:auto;display:block;position:absolute;inset:0}#board.drag{cursor:grabbing}.loading{color:var(--muted);place-items:center;display:grid;position:absolute;inset:0}.agents{border-top:1px solid var(--border);background:var(--panel);gap:6px;padding:10px 12px;display:flex;overflow-x:auto}.agents button{background:var(--panel-2);cursor:pointer;border:2px solid #0000;border-radius:10px;flex:none;width:54px;height:54px;padding:0;overflow:hidden}.agents button img{width:100%;height:100%;display:block}.agents button.active{border-color:var(--accent)}.agents button:hover{border-color:var(--muted)}@media (width<=860px){.planner{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr;height:auto;min-height:100vh;overflow:auto}.side{border-right:0;border-bottom:1px solid var(--border)}.board{height:100vh}}.hint{color:var(--muted);margin:0;font-size:.78rem;line-height:1.4}.utils{flex-direction:column;gap:8px;display:flex}.utils h4{color:var(--muted);margin:0;font-size:.72rem;font-weight:600}.utils .grid{grid-template-columns:1fr 1fr;gap:5px;display:grid}.utils button{border:1px solid var(--border);background:var(--panel-2);color:var(--text);font:600 .75rem var(--font);cursor:pointer;text-align:left;border-radius:8px;align-items:center;gap:6px;min-width:0;padding:5px 6px;display:flex}.utils button img{border-radius:5px;flex:none;width:22px;height:22px}.utils button i{border-radius:50%;flex:none;width:10px;height:10px}.utils button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.utils button small{color:var(--muted);flex:none;margin-left:auto;font-weight:500}.utils button.active{border-color:var(--accent);background:#ff465526}.agents button.taken{opacity:.3;filter:grayscale()}.seg .count{color:var(--muted);margin-left:4px;font-size:.75rem;font-weight:500}.seg .full .count{color:var(--accent);font-weight:700}.toast{border:1px solid var(--accent);text-align:center;background:#121722f2;border-radius:10px;max-width:90%;padding:9px 16px;font-size:.9rem;font-weight:600;position:absolute;top:14px;left:50%;transform:translate(-50%)}.utils-head{color:var(--text);align-items:center;gap:8px;font-size:.95rem;display:flex}.utils-head img{border-radius:7px;width:30px;height:30px}.utils button{padding:8px}.team-faces{border-top:1px solid var(--border);flex-wrap:wrap;gap:6px;padding-top:4px;display:flex}.team-faces button{background:var(--panel-2);cursor:pointer;border:2px solid #0000;border-radius:9px;width:42px;height:42px;padding:0;overflow:hidden}.team-faces button img{width:100%;height:100%;display:block}.team-faces button:hover{border-color:var(--muted)}.team-faces button.active{border-color:var(--accent)}.board-tools{z-index:2;gap:8px;display:flex;position:absolute;bottom:0;left:0}.tool-btn{border:1px solid var(--border);height:40px;color:var(--text);font:700 .9rem var(--font);cursor:pointer;background:#121722eb;border-radius:10px;align-items:center;gap:6px;padding:0 14px;display:inline-flex}.tool-btn:hover:not(:disabled){border-color:var(--muted)}.tool-btn.danger{padding:0 12px;font-size:1.1rem}.tool-btn.danger:not(:disabled){border-color:var(--accent);background:#ff46552e}.tool-btn:disabled{opacity:.35;cursor:not-allowed}.utils .grid.kit{grid-template-columns:1fr}.utils .kit button{padding:6px 8px}.utils .kit img{filter:drop-shadow(0 0 1px #000);border-radius:0;width:26px;height:26px}.utils .kit .key{text-align:center;width:18px;color:var(--muted);flex:none;font-size:.75rem}.utils .kit button.empty{opacity:.45}.view-tabs{gap:6px;padding:10px 12px 0;display:flex}.view-tabs button{border:1px solid var(--border);background:var(--panel);color:var(--muted);font:700 .9rem var(--font);cursor:pointer;border-bottom:0;border-radius:9px 9px 0 0;padding:8px 14px}.view-tabs button.active{background:var(--panel-2);color:var(--text);border-color:var(--accent)}.board>.toast{z-index:5;top:56px}.eco{background:var(--panel-2);border-top:1px solid var(--border);flex-direction:column;flex:1;gap:12px;min-height:0;padding:14px 16px 24px;display:flex;overflow-y:auto}.eco h2{margin:0;font-size:1.15rem}.eco-head p{color:var(--muted);margin:4px 0 0;font-size:.82rem}.eco-rounds{grid-template-columns:repeat(12,minmax(0,1fr));gap:5px;display:grid}.eco-rounds button{border:1px solid var(--border);background:var(--panel);color:var(--text);font:700 .9rem var(--font);cursor:pointer;border-bottom-width:3px;border-radius:8px;padding:7px 0}.eco-rounds button.won-ally{border-bottom-color:var(--ally)}.eco-rounds button.won-enemy{border-bottom-color:var(--accent)}.eco-rounds button.active{background:var(--accent);border-color:var(--accent);color:#fff}.eco-rounds button.locked{opacity:.4}.eco-result{flex-wrap:wrap;align-items:center;gap:8px;font-weight:600;display:flex}.eco-result>button{border:1px solid var(--border);background:var(--panel);color:var(--text);font:700 .85rem var(--font);cursor:pointer;border-radius:8px;padding:7px 12px}.eco-result>button.active.ally{border-color:var(--ally);background:#4fd1c52e}.eco-result>button.active.enemy{border-color:var(--accent);background:#ff46552e}.eco-teams{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px;display:grid}.eco-team{flex-direction:column;gap:8px;display:flex}.eco-team h3{justify-content:space-between;align-items:baseline;gap:8px;margin:0;font-size:.95rem;display:flex}.eco-team h3 small{color:var(--muted);font-size:.78rem;font-weight:500}.eco-player{background:var(--panel);border:1px solid var(--border);border-radius:10px;flex-direction:column;gap:7px;padding:10px 12px;display:flex}.eco-team.ally .eco-player{border-left:3px solid var(--ally)}.eco-team.enemy .eco-player{border-left:3px solid var(--accent)}.eco-player header{align-items:center;gap:10px;display:flex}.eco-player header img{border-radius:8px;width:36px;height:36px}.eco-player header div{flex-direction:column;display:flex}.eco-player header small{color:var(--muted);font-size:.78rem}.eco-field{color:var(--muted);grid-template-columns:70px 1fr;align-items:center;gap:8px;font-size:.82rem;display:grid}.eco-field em{color:var(--ally);font-size:.72rem;font-style:normal;display:block}.eco-field select{padding:6px 8px}.eco-abils{flex-direction:column;gap:4px;display:flex}.eco-abil{align-items:center;gap:7px;font-size:.82rem;display:flex}.eco-abil img{flex:none;width:22px;height:22px}.eco-abil span{flex-direction:column;flex:1;min-width:0;display:flex}.eco-abil span small{color:var(--muted);font-size:.72rem}.eco-abil button,.eco-round-stats button{border:1px solid var(--border);background:var(--panel-2);width:26px;height:26px;color:var(--text);font:700 .95rem var(--font);cursor:pointer;border-radius:7px}.eco-abil button:disabled,.eco-round-stats button:disabled{opacity:.35;cursor:not-allowed}.eco-abil output,.eco-round-stats output{text-align:center;font-variant-numeric:tabular-nums;min-width:32px;font-weight:700}.eco-round-stats{color:var(--muted);align-items:center;gap:6px;font-size:.82rem;display:flex}.eco-round-stats .check{margin-left:auto;font-size:.82rem}.eco-player footer{border-top:1px solid var(--border);color:var(--muted);flex-direction:column;gap:2px;padding-top:7px;font-size:.82rem;display:flex}.eco-player footer b{color:var(--text)}.eco-player footer.short b{color:var(--accent)}.eco-empty{text-align:center;color:var(--muted);padding:30px 16px}.eco-empty b{color:var(--text)}.eco-team-tabs{gap:6px;display:flex}.eco-team-tabs button{border:1px solid var(--border);background:var(--panel);color:var(--muted);font:700 .85rem var(--font);cursor:pointer;border-radius:8px;padding:7px 12px}.eco-team-tabs button small{font-weight:500}.eco-team-tabs button.active{color:var(--text)}.eco-team-tabs button.active.ally{border-color:var(--ally);background:#4fd1c524}.eco-team-tabs button.active.enemy{border-color:var(--accent);background:#ff465524}.shop{grid-template-columns:200px minmax(0,1fr) 200px;align-items:start;gap:12px;display:grid}.shop h4{letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0 0 6px;font-size:.68rem}.shop-roster{flex-direction:column;gap:6px;display:flex}.roster-row{border:1px solid var(--border);cursor:pointer;background:#121722e6;border-radius:9px;grid-template-columns:40px 1fr;align-items:center;gap:4px 8px;padding:7px 8px;display:grid}.roster-row:hover{border-color:var(--muted)}.roster-row.active{background:#4fd1c51f;border-color:#4fd1c5}.roster-row img{border-radius:7px;width:40px;height:40px}.roster-info{flex-direction:column;min-width:0;font-size:.8rem;display:flex}.roster-info span{font-variant-numeric:tabular-nums;font-weight:800}.roster-info small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;overflow:hidden}.neg{color:var(--accent)!important}.req{color:#f2c94c;flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:4px 6px;font-size:.74rem;display:flex}.req button{color:var(--text);font:700 .72rem var(--font);cursor:pointer;background:#f2c94c26;border:1px solid #f2c94c;border-radius:6px;margin-left:auto;padding:4px 8px}.req button:disabled{border-color:var(--border);color:var(--muted);cursor:not-allowed;background:0 0}.req.mine{color:var(--muted)}.req.mine button{border-color:var(--border);background:0 0}.shop-main{flex-direction:column;gap:12px;min-width:0;display:flex}.shop-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.shop-col{flex-direction:column;gap:6px;min-width:0;display:flex}.shop-col h4:not(:first-child){margin-top:6px}.tile{border:1px solid var(--border);min-height:66px;color:var(--text);font:600 .72rem var(--font);cursor:pointer;text-align:left;background:#121722bf;border-radius:8px;flex-direction:column;align-items:flex-start;gap:2px;padding:6px 8px;display:flex;position:relative;overflow:hidden}.tile img{object-fit:contain;filter:brightness(1.15);width:100%;height:30px}.tile.armor img{height:30px}.tile .tile-cost{color:var(--muted);font-size:.68rem}.tile.owned{background:#4fd1c529;border-color:#4fd1c5}.tile.requested{border-color:#f2c94c}.tile.locked{opacity:.38;cursor:not-allowed}.tile.locked:hover{border-color:var(--border);background:#121722bf}.tile-tag{letter-spacing:.06em;color:#4fd1c5;font-size:.58rem;font-weight:800;position:absolute;bottom:5px;right:6px}.tile.requested .tile-tag{color:#f2c94c}.shop-abils>div{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;display:grid}.abil-tile{border:1px solid var(--border);color:var(--text);font:600 .75rem var(--font);cursor:pointer;text-align:left;background:#121722bf;border-radius:8px;grid-template-rows:auto auto auto;grid-template-columns:30px 1fr;align-items:center;gap:2px 8px;padding:8px;display:grid}.abil-tile img{grid-row:1/4;width:30px;height:30px}.abil-tile:hover{border-color:var(--muted)}.abil-tile.locked{opacity:.45;cursor:not-allowed}.abil-tile.full{border-color:#4fd1c599}.abil-tile .abil-name b{color:var(--muted);margin-right:3px}.abil-tile small{color:var(--muted)}.pips{gap:3px;display:flex}.pips i{background:#2a3245;border-radius:2px;width:14px;height:5px}.shop-summary{border:1px solid var(--border);background:#121722e6;border-radius:10px;flex-direction:column;gap:10px;padding:12px;font-size:.82rem;display:flex}.shop-summary header{align-items:center;gap:10px;display:flex}.shop-summary header img{border-radius:8px;width:40px;height:40px}.shop-summary header div{flex-direction:column;display:flex}.shop-summary header small{color:var(--muted);font-size:.74rem}.shop-summary dl{grid-template-columns:auto 1fr;gap:4px 10px;margin:0;display:grid}.shop-summary dt{color:var(--muted)}.shop-summary dd{text-align:right;font-variant-numeric:tabular-nums;flex-direction:column;margin:0;font-weight:800;display:flex}.shop-summary dd small{color:var(--muted);font-size:.7rem;font-weight:500}.shop-summary .next{border-top:1px solid var(--border);color:var(--muted);padding-top:8px}.shop-summary .next b{color:var(--text);font-size:1rem}@media (width<=1200px){.shop{grid-template-columns:180px minmax(0,1fr)}.shop-summary{grid-column:1/-1}.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=700px){.shop{grid-template-columns:1fr}.shop-roster{flex-direction:row;overflow-x:auto}.roster-row{min-width:170px}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.tp-menu{z-index:4;background:#0e0a1af2;border:1px solid #7b4fd6;border-radius:9px;gap:4px;padding:4px;display:flex;position:absolute;transform:translate(-50%,-100%);box-shadow:0 6px 18px #00000080}.tp-menu button{color:var(--muted);font:700 .78rem var(--font);cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:6px;padding:5px 9px}.tp-menu button:hover{color:var(--text);border-color:var(--border)}.tp-menu [data-tp=go].active{color:#fff;background:#7b4fd673}.tp-menu [data-tp=cancel].active{color:#fff;background:#ff465559}.ult-box{border:1px solid var(--border);background:#0b0e1499;border-radius:8px;flex-direction:column;gap:5px;padding:8px;display:flex}.ult-box.ready{border-color:#f2c94c}.ult-head{align-items:baseline;gap:6px;display:flex}.ult-head span{color:var(--muted)}.ult-head em{color:#f2c94c;margin-left:auto;font-size:.75rem;font-style:normal;font-weight:800}.ult-pips{gap:3px;display:flex}.ult-pips i{background:#2a3245;border-radius:2px;flex:1;height:6px;transform:skew(-12deg)}.ult-pips i.on{background:#f2c94c}.ult-box small{color:var(--muted);font-size:.72rem}.scorebar{z-index:3;filter:drop-shadow(0 4px 10px #0000008c);pointer-events:none;align-items:stretch;max-width:100%;display:flex;position:absolute;top:0;left:50%;transform:translate(-50%)}.scorebar>*{pointer-events:auto}.sb-team{background:linear-gradient(#141a26eb,#0c1018eb);gap:3px;padding:4px;display:flex}.sb-team.ally{border-bottom:2px solid var(--ally);border-radius:8px 0 0 8px}.sb-team.enemy{border-bottom:2px solid var(--accent);border-radius:0 8px 8px 0}.sb-agent{cursor:pointer;background:#ffffff0f;border:0;border-radius:4px;flex-direction:column;align-items:center;width:34px;height:38px;padding:0;display:flex;position:relative;overflow:hidden}.sb-agent img{width:30px;height:30px;margin-top:1px}.sb-agent.empty{cursor:default;opacity:.35}.sb-agent.sel{outline-offset:-2px;outline:2px solid #fff}.sb-agent.blind img{filter:grayscale()brightness(.5)sepia()hue-rotate(220deg)saturate(3)}.sb-ult{gap:1px;display:flex;position:absolute;bottom:2px;left:3px;right:3px}.sb-ult i{background:#ffffff2e;flex:1;height:3px}.sb-ult i.on{background:#f2c94c}.sb-ult.ready i{background:#f2c94c;box-shadow:0 0 4px #f2c94c}.sb-score{min-width:38px;font:900 1.35rem var(--font);background:#0c1018eb;place-items:center;display:grid}.sb-score.ally{color:var(--ally)}.sb-score.enemy{color:var(--accent)}.sb-center{clip-path:polygon(0 0,100% 0,88% 100%,12% 100%);background:#0c1018f5;flex-direction:column;justify-content:center;align-items:center;min-width:70px;padding:0 10px;display:flex}.sb-center b{font:800 1.05rem var(--font);font-variant-numeric:tabular-nums}.sb-center b.low{color:var(--accent)}.sb-center small{letter-spacing:.1em;color:var(--muted);font-size:.6rem;font-weight:700}@media (width<=700px){.sb-agent{width:26px;height:30px}.sb-agent img{width:24px;height:24px}}.sb-center b.buy{color:#f2c94c}body.view-only #board{cursor:default}body.view-only .agents button,body.view-only .utils [data-util]{opacity:.45;pointer-events:none}.float-opts{z-index:3;border:1px solid var(--border);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#121722eb;border-radius:10px;flex-direction:column;gap:7px;width:250px;max-height:100%;padding:10px 12px;font-size:.82rem;display:flex;position:absolute;top:0;right:0;overflow-y:auto;box-shadow:0 8px 22px #00000073}.float-opts>b{letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-size:.68rem}@media (width<=1100px){.float-opts{top:auto;bottom:0}}.float-opts hr{border:0;border-top:1px solid var(--border);width:100%;margin:3px 0}.float-opts .opt-select{color:var(--muted);flex-direction:column;gap:4px;font-size:.75rem;display:flex}.float-opts .opt-select select{padding:5px 8px;font-size:.82rem}.opt-rotate{grid-template-columns:repeat(3,1fr);gap:5px;display:grid}.opt-rotate .btn{padding:6px 4px;font-size:.8rem}.more-tools{color:var(--muted);flex-direction:column;gap:6px;margin-top:auto;font-size:.8rem;display:flex}.more-tools+.legal{margin-top:0}.more-tools a{color:var(--text)}.more-tools .credit{margin:0}.more-tools summary{cursor:pointer;color:var(--text);font-weight:600}.more-tools nav{flex-direction:column;gap:4px;padding:6px 0 0 4px;display:flex}.more-tools nav a{color:var(--muted);text-decoration:none}.more-tools nav a:hover{color:var(--text)}.more-tools nav a:after{content:" ↗"}.promo{z-index:3;background:linear-gradient(145deg,#ff465538,#121722f5 55%);border:1px solid #ff46558c;border-radius:12px;width:250px;position:absolute;bottom:0;right:0;overflow:hidden;box-shadow:0 10px 26px #00000080}.promo a{color:var(--text);flex-direction:column;gap:6px;padding:14px 16px;text-decoration:none;display:flex}.promo-kicker{letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-size:.68rem;font-weight:700}.promo-title{font-size:1rem;line-height:1.25}.promo-title span{color:var(--accent)}.promo-text{color:var(--muted);font-size:.8rem;line-height:1.4}.promo-cta{background:var(--accent);color:#fff;border-radius:8px;align-self:flex-start;margin-top:4px;padding:7px 12px;font-size:.82rem;font-weight:800;transition:transform .15s}.promo a:hover .promo-cta{transform:translate(3px)}.promo-close{width:22px;height:22px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;font-size:1.1rem;line-height:1;position:absolute;top:6px;right:8px}.promo-close:hover{color:var(--text);background:#ffffff14}@media (width<=1100px){.promo{display:none}}.map-round{grid-template-columns:1fr 100px;gap:8px;display:grid}.dash-menu{z-index:4;width:190px;color:var(--muted);background:#0c121af5;border:1px solid #a7c4d8;border-radius:10px;flex-direction:column;gap:6px;padding:8px 10px;font-size:.75rem;display:flex;position:absolute;transform:translate(-50%,-100%);box-shadow:0 8px 20px #00000080}.dash-menu>b{color:var(--text);letter-spacing:.08em;text-transform:uppercase;font-size:.72rem}.dash-grid{grid-template-columns:repeat(3,1fr);gap:4px;display:grid}.dash-grid button{border:1px solid var(--border);background:var(--panel-2);height:30px;color:var(--text);cursor:pointer;border-radius:6px;font-size:1rem}.dash-grid button:hover{border-color:var(--muted)}.dash-grid button.active{background:#a7c4d84d;border-color:#a7c4d8}.dash-grid [data-dir=none].active{border-color:var(--accent);background:#ff46554d}.dash-time{color:var(--text);flex-direction:column;gap:3px;display:flex}.dash-time input{accent-color:#a7c4d8;width:100%}.dash-menu small{font-size:.68rem;line-height:1.3}.abil-tile.ult{cursor:default}.abil-tile.ult.ready{border-color:#f2c94c}.abil-tile.ult .pips i.on{background:#f2c94c}.ult-pips-shop i{width:9px}.bolt-menu{border-color:#5aa9ff}.seg4{grid-template-columns:repeat(4,1fr);gap:4px;display:grid}.seg4[data-group=bounces]{grid-template-columns:repeat(3,1fr)}.seg4 button{border:1px solid var(--border);background:var(--panel-2);height:28px;color:var(--text);font:700 .85rem var(--font);cursor:pointer;border-radius:6px}.seg4 button.active{background:#5aa9ff4d;border-color:#5aa9ff}.opt-hint{color:var(--muted);margin:0;font-size:.72rem}.opt-hint kbd{border:1px solid var(--border);background:var(--panel-2);font:700 .7rem var(--font);border-radius:4px;padding:0 4px}.tab-board{z-index:6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);border-radius:10px;width:min(760px,96%);max-height:92%;position:absolute;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 16px 40px #0009}.tab-board table{border-collapse:collapse;width:100%;font-size:.85rem}.tab-board th{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;text-align:left;background:#0a0d14f2;padding:7px 10px;font-size:.68rem}.tab-board td{border-top:1px solid #ffffff0f;padding:5px 10px}.tab-board tbody.ally td{background:#206e68d1}.tab-board tbody.enemy td{background:#822430d1}.tab-board tbody.mid td{text-align:center;color:var(--muted);background:#0a0d14f2;font-weight:800}.tab-board .def{color:var(--ally)}.tab-board .atk{color:var(--accent)}.tab-board tr.empty td{text-align:center;color:#ffffffb3;font-style:italic}.tb-agent{align-items:center;gap:8px;font-weight:700;display:flex}.tb-agent img{border-radius:6px;width:28px;height:28px}.tab-board .ready{color:#f2c94c}.tb-kda{font-variant-numeric:tabular-nums}.tb-kda b,.tb-kda span{min-width:22px;display:inline-block}.tb-load{align-items:center;gap:8px;display:flex}.tb-load img{filter:brightness(1.3);height:18px}.tb-load img.armor{height:20px}.tb-creds{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:800}.kb-hud{z-index:3;border:1px solid var(--border);max-width:calc(100% - 520px);color:var(--muted);text-align:center;background:#0c1018eb;border-radius:10px;flex-direction:column;align-items:center;gap:4px;padding:7px 12px;font-size:.78rem;display:flex;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.kb-hud kbd{border:1px solid var(--border);background:var(--panel-2);color:var(--text);font:700 .7rem var(--font);border-radius:4px;padding:0 4px}.kb-status{color:var(--text)}.kb-status .rec{color:var(--accent)}.kb-status .buy{color:#f2c94c}.kb-status .buy-off{color:var(--muted)}@media (width<=1100px){.kb-hud{max-width:100%;bottom:52px}}#height-tools .btn.active{background:#f2c94c2e;border-color:#f2c94c}.float-opts .btn.small{padding:5px 8px;font-size:.75rem}.kb-top{align-items:center;gap:10px;display:flex}.kb-start{white-space:nowrap;padding:6px 12px;font-size:.82rem}.kb-start.rec{border-color:var(--accent);background:#2a3245}.float-opts .opt-hint b{color:var(--text)}.replay{background:var(--panel-2);border-top:1px solid var(--border);flex-direction:column;flex:1;gap:10px;min-height:0;padding:12px 16px;display:flex}.replay-head{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.replay-head .hint{flex:1;min-width:240px;margin:0}.replay-file{cursor:pointer}.replay-body{flex:1;grid-template-columns:minmax(0,1fr) 230px;gap:12px;min-height:0;display:grid}.replay-stage{background:var(--bg);border-radius:10px;place-items:center;min-height:0;display:grid;overflow:hidden}#replay-canvas{aspect-ratio:1;max-width:100%;max-height:100%}.replay-side{flex-direction:column;gap:8px;min-height:0;font-size:.82rem;display:flex;overflow:auto}.replay-side>b{letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-size:.68rem}.replay-rounds{grid-template-columns:repeat(6,1fr);gap:4px;display:grid}.replay-rounds button{border:1px solid var(--border);background:var(--panel);color:var(--text);font:700 .8rem var(--font);cursor:pointer;border-radius:6px;padding:5px 0}.replay-rounds button.active{background:var(--accent);border-color:var(--accent)}.replay-feed{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.replay-feed li span{color:var(--muted);font-variant-numeric:tabular-nums;margin-right:4px}.replay-feed small{color:var(--muted)}.replay-controls{align-items:center;gap:8px;display:flex}.replay-controls input[type=range]{accent-color:var(--accent);flex:1}.replay-controls output{font-variant-numeric:tabular-nums;color:var(--muted);text-align:right;min-width:90px}.replay-controls .speed{grid-template-columns:repeat(3,1fr);width:130px}@media (width<=900px){.replay-body{grid-template-columns:1fr}}.shop-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.shop-col{background:var(--panel);border:1px solid var(--border);border-radius:12px;gap:4px;padding:10px}.shop-col h4{color:var(--accent);margin-bottom:2px}.tile{background:0 0;border:1px solid #0000;border-radius:8px;grid-template-columns:58px 1fr auto;grid-template-areas:"img name cost""img tag cost";align-items:center;gap:0 8px;min-height:42px;padding:5px 8px;display:grid}.tile img{object-fit:contain;filter:none;opacity:.9;grid-area:img;width:58px;height:22px}.tile .tile-name{grid-area:name;font-size:.8rem}.tile .tile-cost{color:var(--text);grid-area:cost;font-size:.78rem;font-weight:800}.tile:hover{border-color:var(--border);background:#ffffff0d}.tile.owned{border-color:var(--accent);background:#ff465524}.tile.requested{border-style:dashed;border-color:#f2c94c}.tile.locked{opacity:.4}.tile-tag{background:var(--accent);color:#fff;letter-spacing:.04em;border-radius:99px;grid-area:tag;justify-self:start;padding:0 6px;font-size:.58rem;position:static}.tile.requested .tile-tag{color:#111;background:#f2c94c}.roster-row{border-left:3px solid var(--border);background:var(--panel);border-radius:10px}.roster-row.active{border-color:var(--accent);background:#ff46551a}.shop-abils>div{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.abil-tile{background:var(--panel);border-radius:12px}.pips i.on{background:var(--accent)}.tab-board{background:var(--panel);border:1px solid var(--border)}.tab-board th{background:var(--panel-2)}.tab-board tbody.ally td,.tab-board tbody.enemy td{background:var(--panel)}.tab-board tbody.ally tr td:first-child{box-shadow:inset 4px 0 0 var(--ally)}.tab-board tbody.enemy tr td:first-child{box-shadow:inset 4px 0 0 var(--accent)}.tab-board tbody tr:hover td{background:var(--panel-2)}.tab-board tbody.mid td{background:var(--bg);letter-spacing:.06em;font-size:.78rem}.tb-kda b{color:var(--text)}.tb-kda span{color:var(--muted)}.riot-connect{background:var(--panel);border:1px solid var(--border);border-radius:12px;flex-wrap:wrap;justify-content:space-between;gap:14px;padding:12px 14px;display:flex}.rc-main{flex-direction:column;flex:1;gap:6px;min-width:280px;display:flex}.rc-steps{flex-wrap:wrap;gap:6px 16px;margin:0;padding:0;font-size:.82rem;list-style:none;display:flex}.rc-steps span{background:var(--accent);color:#fff;border-radius:50%;place-items:center;width:18px;height:18px;margin-right:4px;font-size:.7rem;font-weight:800;display:inline-grid}.rc-legal{color:var(--muted);margin:0;font-size:.72rem;line-height:1.4}.rc-side{flex-direction:column;justify-content:center;align-items:flex-end;gap:6px;max-width:260px;display:flex}.rc-side small{color:var(--muted);text-align:right;font-size:.7rem}.rc-btn{color:#fff;background:#d13639;border-color:#d13639;font-weight:800}.rc-btn:disabled{opacity:.55}
