:root{--bg:#0d1020;--bg2:#141a33;--panel:#1b2242;--line:#2b3566;--ink:#eef1ff;--ink2:#9aa3c7;--you:#7cfc8a;--foe:#ff5ca8;--gold:#ffd166;--blue:#6fb7ff;--red:#ff6b6b;--purple:#c58bff;--orange:#ff9f43;--atk:#ffb86b}*{box-sizing:border-box;user-select:none;-webkit-user-select:none}html,body{margin:0;height:100%;background:var(--bg);color:var(--ink);font-family:Space Grotesk,system-ui,sans-serif;overflow:hidden}.mono{font-family:JetBrains Mono,Menlo,monospace}#viewport{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#07091a}#stage{width:1440px;height:900px;position:relative;overflow:hidden;background:radial-gradient(1200px 700px at 50% 40%,#182046 0%,var(--bg) 70%);transform-origin:center center;flex:none}#app{position:absolute;top:0;right:0;bottom:0;left:0}.top{height:64px;display:flex;align-items:center;gap:12px;padding:0 24px;background:#090c1cd9;border-bottom:2px solid var(--line);white-space:nowrap}.logo{font-weight:700;font-size:22px;letter-spacing:.08em;cursor:pointer}.crumb{color:var(--ink2);font-size:14px}.crumb b{color:var(--ink)}.spacer{flex:1}.stat{display:flex;align-items:center;gap:6px;padding:5px 10px;border:2px solid var(--line);border-radius:999px;font-size:14px;background:var(--bg2)}.stat b{font-family:JetBrains Mono,Menlo,monospace;font-size:15px}.stat.runway b{color:#ffb0b0}.stat.low b{color:var(--red);animation:pulse 1s infinite}.info{position:absolute;top:76px;background:var(--bg2);border:2px solid var(--line);border-radius:12px;padding:8px 14px;font-size:14px;color:var(--ink2)}.info b{color:var(--you);font-family:JetBrains Mono,Menlo,monospace}.info.move{left:40px}.info.wave{right:40px;border-color:#ff5ca880}.info.wave b{color:var(--foe)}.info.deadline{border-color:var(--red);color:var(--red)}.info.deadline b{color:var(--red)}.board{position:absolute;top:122px;left:0;right:0;height:500px;display:grid;grid-template-columns:1fr 92px 1fr;padding:0 40px}.side{display:grid;grid-template-rows:1fr 1fr;gap:18px}.lane{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:16px;border-radius:20px;background:#ffffff08;border:2px dashed var(--line);transition:background .12s,border-color .12s}.lane .label{position:absolute;top:-11px;left:18px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink2);background:var(--bg);padding:0 8px;pointer-events:none}.side.enemy .lane{border-color:#ff5ca859}.lane.legal{background:#7cfc8a14;border-color:var(--you);cursor:pointer}.lane.legal.foe{background:#ff5ca81a;border-color:var(--foe)}.mid{display:flex;align-items:center;justify-content:center}.vs{font-weight:700;font-size:13px;letter-spacing:.2em;color:var(--ink2)}.cell{position:relative;border-radius:16px;min-height:0}.cell.empty{border:2px dashed rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;color:#ffffff2e;font-size:13px;letter-spacing:.1em;transition:all .12s}.cell.empty.legal{border-color:var(--you);background:#7cfc8a1a;color:var(--you);cursor:pointer;box-shadow:inset 0 0 0 1px #7cfc8a4d}.cell.empty.legal:hover,.cell.empty.legal.hover{background:#7cfc8a38}.cell.unit{background:linear-gradient(180deg,#232c58,#1a2149);border:3px solid var(--you);box-shadow:0 10px 30px #00000073;padding:14px 14px 12px;display:flex;flex-direction:column;transition:transform .14s,box-shadow .14s}.cell.unit.enemy{border-color:var(--foe)}.cell.unit.leader{border-color:var(--gold);background:linear-gradient(180deg,#3a2f14,#1f1a0d)}.cell.unit.legal{cursor:pointer;box-shadow:0 0 0 4px #7cfc8a73,0 10px 30px #00000073}.cell.unit.enemy.legal{box-shadow:0 0 0 4px #ff5ca88c,0 10px 30px #00000073}.cell.unit.legal:hover,.cell.unit.legal.hover{transform:translateY(-4px) scale(1.02)}.cell.unit.selected{box-shadow:0 0 0 4px var(--gold),0 10px 30px #00000073}.cell.unit.movable{cursor:grab}.cell.unit.spawn{animation:spawn .26s ease-out}@keyframes spawn{0%{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}.cell.unit.dying{animation:dying .26s ease-in forwards}@keyframes dying{to{transform:scale(.5) rotate(-6deg);opacity:0}}.cell.unit.hit{animation:hit .22s ease-out}@keyframes hit{0%{transform:translate(0)}30%{transform:translate(-6px,2px)}60%{transform:translate(6px,-2px)}to{transform:translate(0)}}.cell.unit.lunge-r{animation:lungeR .3s ease-out}.cell.unit.lunge-l{animation:lungeL .3s ease-out}@keyframes lungeR{0%{transform:translate(0)}40%{transform:translate(34px) scale(1.04)}to{transform:translate(0)}}@keyframes lungeL{0%{transform:translate(0)}40%{transform:translate(-34px) scale(1.04)}to{transform:translate(0)}}.cell.unit.dragging{opacity:.35}.unit .name{font-weight:700;font-size:17px;line-height:1.1;padding-right:52px}.unit .sub{color:var(--ink2);font-size:12px;margin-top:4px;min-height:14px}.unit .art{flex:1;margin:10px 0;border-radius:10px;background:repeating-linear-gradient(135deg,rgba(255,255,255,.05) 0 8px,transparent 8px 16px);display:flex;align-items:center;justify-content:center;font-size:44px}.unit .stats{display:flex;justify-content:space-between;align-items:flex-end}.pill{display:flex;align-items:center;gap:5px;font-family:JetBrains Mono,Menlo,monospace;font-weight:700;font-size:20px}.pill.atk{color:var(--atk)}.pill.hp{color:var(--red)}.pill.boosted{color:var(--orange)}.pill.nerfed{color:#aab}.cd{position:absolute;top:-16px;right:-14px;width:52px;height:52px;border-radius:50%;background:var(--blue);color:#061021;font-family:JetBrains Mono,Menlo,monospace;font-weight:700;font-size:24px;display:flex;align-items:center;justify-content:center;border:3px solid var(--bg);box-shadow:0 4px 12px #0006;transition:background .15s}.cd.hot{background:var(--red);color:#fff;animation:pulse .9s infinite}.cd.none{background:#444d77;color:#aab;font-size:18px}.cd.lagged{background:#8fa3c7;color:#061021;font-size:20px}.cd.bump{animation:bump .2s ease-out}@keyframes bump{50%{transform:scale(1.25)}}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}.chips{position:absolute;bottom:-14px;left:12px;display:flex;gap:6px}.chip{font-size:11px;font-weight:700;padding:3px 8px;border-radius:999px;border:2px solid var(--bg);font-family:JetBrains Mono,Menlo,monospace}.chip.shield{background:var(--blue);color:#061021}.chip.bugs{background:var(--purple);color:#1a0a2e}.chip.hype{background:var(--orange);color:#2a1600}.chip.lag{background:#8fa3c7;color:#061021}.chip.nerf{background:#5a6080;color:#fff}.chip.taunt{background:var(--gold);color:#2a1a00}.chip.pop{animation:bump .2s ease-out}.float{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);font-family:JetBrains Mono,Menlo,monospace;font-weight:700;font-size:34px;color:var(--red);text-shadow:0 2px 8px rgba(0,0,0,.8);pointer-events:none;animation:floatUp .65s ease-out forwards;z-index:5}.float.heal{color:var(--you)}.float.shield{color:var(--blue);font-size:24px}.float.status{font-size:18px;color:var(--ink)}@keyframes floatUp{0%{opacity:0;transform:translate(-50%,-30%) scale(.7)}20%{opacity:1;transform:translate(-50%,-50%) scale(1.1)}to{opacity:0;transform:translate(-50%,-140%) scale(1)}}.bottom{position:absolute;left:0;right:0;bottom:0;height:250px;background:linear-gradient(180deg,#090c1c00,#090c1ce6 30%);display:flex;align-items:flex-end;padding:0 28px 22px;gap:22px}.compute{width:150px;display:flex;flex-direction:column;align-items:center;gap:6px;padding-bottom:14px}.orb{width:96px;height:96px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#b8ffc2,#2ad45c 55%,#0f7a2f);display:flex;align-items:center;justify-content:center;font-family:JetBrains Mono,Menlo,monospace;font-weight:700;font-size:34px;color:#052b10;box-shadow:0 0 40px #7cfc8a73;transition:filter .2s}.orb.empty{filter:grayscale(1) brightness(.6);box-shadow:none}.compute small{color:var(--ink2);font-size:12px;letter-spacing:.14em;text-transform:uppercase}.hand{flex:1;display:flex;justify-content:center;align-items:flex-end;gap:14px;min-height:240px}.card{width:168px;height:224px;border-radius:16px;background:linear-gradient(180deg,#26305e,#1a2149);border:3px solid #55639e;box-shadow:0 12px 30px #00000080;padding:14px 14px 12px;position:relative;display:flex;flex-direction:column;transition:transform .14s,box-shadow .14s,opacity .14s;flex:none}.card.unit-card{border-color:var(--you)}.card.playable{transform:translateY(-14px);box-shadow:0 0 0 3px #7cfc8a59,0 18px 40px #0000008c;cursor:grab}.card.playable:hover{transform:translateY(-24px) scale(1.03)}.card.dim{opacity:.6}.card.selected{transform:translateY(-30px) scale(1.05);box-shadow:0 0 0 4px var(--gold),0 20px 50px #0009}.card.dragging{opacity:.25}.card.wiggle{animation:wiggle .3s ease-in-out}@keyframes wiggle{0%,to{transform:translateY(0) rotate(0)}25%{transform:translateY(0) rotate(-3deg)}75%{transform:translateY(0) rotate(3deg)}}.card .cost{position:absolute;top:-14px;left:-12px;width:42px;height:42px;border-radius:50%;background:var(--you);color:#052b10;font-family:JetBrains Mono,Menlo,monospace;font-weight:700;font-size:20px;display:flex;align-items:center;justify-content:center;border:3px solid var(--bg)}.card.dim .cost{background:#556}.card .cname{font-weight:700;font-size:16px;margin-top:6px}.card .ctype{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink2);margin-top:2px}.card .cart{height:64px;margin:10px 0 8px;border-radius:8px;background:repeating-linear-gradient(135deg,rgba(255,255,255,.05) 0 8px,transparent 8px 16px);display:flex;align-items:center;justify-content:center;font-size:32px}.card .ctext{font-size:13px;line-height:1.3;color:#d6dcff}.card .ctext i{color:var(--ink2)}.card .ustats{display:flex;justify-content:space-between;font-family:JetBrains Mono,Menlo,monospace;font-weight:700;font-size:15px;margin-top:auto}.card .ustats .atk{color:var(--atk)}.card .ustats .hp{color:var(--red)}.card .ustats .c{color:var(--blue)}.ghost{position:absolute;pointer-events:none;z-index:50;transform:translate(-50%,-60%) rotate(-3deg) scale(1.02);opacity:.95}.endturn{width:170px;height:70px;border-radius:16px;background:var(--gold);color:#2a1a00;font-weight:700;font-size:20px;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 30px #ffd16659;margin-bottom:18px;letter-spacing:.04em;cursor:pointer;border:0;font-family:inherit;transition:transform .12s,filter .12s}.endturn:hover{transform:translateY(-3px)}.endturn:disabled{filter:grayscale(.6) brightness(.7);cursor:default;transform:none;font-size:15px}.hint{position:absolute;left:50%;bottom:262px;transform:translate(-50%);background:#090c1ce6;border:2px solid var(--gold);color:var(--gold);padding:8px 16px;border-radius:12px;font-size:14px;font-weight:700;pointer-events:none;z-index:6}.toast{position:absolute;left:50%;top:640px;transform:translate(-50%);background:var(--bg2);border:2px solid var(--line);color:var(--ink);padding:8px 16px;border-radius:12px;font-size:14px;z-index:7;animation:toastIn 1.6s ease-out forwards;pointer-events:none}.toast.bad{border-color:var(--red);color:#ffb0b0}@keyframes toastIn{0%{opacity:0;transform:translate(-50%,8px)}10%,80%{opacity:1;transform:translate(-50%)}to{opacity:0}}.overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#090c1c9e;z-index:20;animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.overlay h1{font-family:JetBrains Mono,Menlo,monospace;font-weight:700;font-size:64px;letter-spacing:.1em;color:var(--you);text-shadow:0 0 40px rgba(124,252,138,.5);margin:0}.overlay.lost h1{color:var(--foe);text-shadow:0 0 40px rgba(255,92,168,.5)}.overlay .sub{color:var(--ink2);font-size:18px;margin:10px 0 6px}.loot{display:flex;gap:14px;margin:8px 0 30px}.loot div{padding:8px 16px;border-radius:999px;background:var(--bg2);border:2px solid var(--line);font-size:15px}.loot b{font-family:JetBrains Mono,Menlo,monospace}.loot .gold{border-color:var(--gold);color:var(--gold)}.loot .heal{border-color:var(--red);color:#ffb0b0}.btn{padding:14px 28px;border-radius:14px;border:2px solid var(--line);background:var(--bg2);color:var(--ink);font-weight:700;font-size:16px;letter-spacing:.04em;cursor:pointer;font-family:inherit;transition:transform .12s,border-color .12s}.btn:hover{transform:translateY(-2px);border-color:var(--you)}.btn.primary{background:var(--gold);color:#2a1a00;border-color:var(--gold)}.btn.primary:hover{border-color:#fff}.row{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.title{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}.title .big{font-weight:700;font-size:96px;letter-spacing:.08em;line-height:1;margin:0}.title .big span{color:var(--you)}.title .tag{color:var(--ink2);font-size:20px;margin:0 0 20px;max-width:640px;text-align:center}.title .founder{display:flex;gap:18px;align-items:center;background:var(--bg2);border:3px solid var(--gold);border-radius:20px;padding:18px 24px;width:560px}.title .founder .art{font-size:56px}.title .founder h3{margin:0 0 4px;font-size:20px}.title .founder p{margin:0;color:var(--ink2);font-size:13px}.title .founder .num{font-family:JetBrains Mono,Menlo,monospace;color:var(--ink);font-size:14px;margin-top:6px}.title .opts{display:flex;gap:12px;align-items:center;color:var(--ink2);font-size:14px}.title select,.title input{background:var(--bg2);color:var(--ink);border:2px solid var(--line);border-radius:10px;padding:8px 12px;font:inherit;font-size:14px}.title .foot{position:absolute;bottom:22px;color:var(--ink2);font-size:12px}.kbd{display:inline-block;padding:1px 6px;border:1px solid var(--line);border-radius:6px;font-family:JetBrains Mono,Menlo,monospace;font-size:11px;color:var(--ink2)}:root{--bg:#141613;--bg2:#1d231f;--panel:#242a24;--line:#4a4a39;--ink:#f5efdb;--ink2:#b6b6a5;--you:#9cdeb0;--foe:#ed9389;--gold:#e8bb67;--blue:#91c7db;--red:#f08879}html,body{font-family:Space Grotesk,system-ui,sans-serif}button{font:inherit}button:focus-visible,[role=button]:focus-visible{outline:3px solid var(--gold);outline-offset:5px}#viewport{background:#0a0c0b}#stage{background:#1c1813 url(../art/workshop.png) center/cover no-repeat}#stage:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#080e1099,transparent 28%,#0a0b0c44 65%,#080b0bd9);pointer-events:none}#app{isolation:isolate}.sprite{display:block;width:100%;height:100%;background-size:200% 200%;background-repeat:no-repeat;pointer-events:none}.character-sprite{background-image:url(../art/characters-alpha.png)}.action-sprite{background-image:url(../art/actions.png)}.fallback-art{font-size:54px}.ambient{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden}.ambient:before,.ambient:after{content:"";position:absolute;border-radius:50%;width:5px;height:5px;top:36%;left:5%;background:#f8d79c;box-shadow:155px 290px 1px #c1e4cc55,610px 30px 2px #f6d59477,940px 360px 1px #f6d59466,1210px 70px 1px #f6d59455;animation:motes 12s ease-in-out infinite;opacity:.35}.ambient:after{top:60%;left:12%;animation-delay:-6s}@keyframes motes{50%{transform:translate(16px,-24px);opacity:.7}}.top{height:78px;padding:0 34px;gap:20px;background:linear-gradient(180deg,#101611f2,#101611df);border-bottom:1px solid #bca36c44;box-shadow:0 8px 30px #0005}.logo{background:none;border:0;color:var(--ink);font-size:25px;letter-spacing:-.05em;padding:0}.logo span{color:var(--you)}.crumb{border-left:1px solid #ffffff25;padding-left:22px;display:flex;flex-direction:column;gap:4px}.crumb>span{font-size:9px;letter-spacing:.2em;color:#bcb39c}.crumb b{font-size:15px;font-weight:500}.stat{border:0;background:transparent;border-radius:0;gap:10px;padding:0 10px}.stat>span{font-size:26px;color:var(--gold)}.stat.runway>span{color:#e99285}.stat>div{display:flex;flex-direction:column;gap:1px}.stat small{font-size:9px;letter-spacing:.18em;color:var(--ink2)}.stat b{font-family:inherit;font-size:20px}.stat.runway b{color:var(--ink)}.tool-btn{height:34px;background:#202923;border:1px solid #9f997147;border-radius:7px;padding:0 12px;color:#d7d5bc;font-size:10px;letter-spacing:.06em;cursor:pointer}.tool-btn:hover{background:#344136}.tool-btn:disabled{opacity:.4;cursor:default}.help-btn{font-size:18px;width:34px;padding:0}.side-heading{position:absolute;top:105px;font-size:13px;letter-spacing:.18em;font-weight:700}.side-heading span{display:block;font-size:11px;letter-spacing:.02em;font-weight:400;color:#bbb9a7;margin-top:5px}.allies{left:112px;color:var(--you)}.rivals{right:112px;text-align:right;color:var(--foe)}.info{top:152px;background:#151c18b8;border:1px solid #a8b3a330;border-radius:6px;padding:6px 10px;font-size:11px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.info.move{left:108px}.info.wave{right:108px;border-color:#d9967840}.info b{font-family:inherit}.info.wave b{color:#f3be9b}.board{top:190px;left:0;right:0;height:417px;grid-template-columns:1fr 90px 1fr;padding:0 100px}.side{gap:26px}.lane{padding:8px 12px 10px;gap:12px;border:0;background:none;border-radius:14px;isolation:isolate}.lane:before{content:"";position:absolute;left:0;right:0;bottom:0;height:105px;z-index:-1;transform:perspective(700px) rotateX(30deg);transform-origin:center bottom;border-radius:14px;background:repeating-linear-gradient(90deg,transparent 0 77px,#99bf8b12 78px 79px),linear-gradient(160deg,#496149,#233c2e 65%,#314635);border:2px solid #788c5a;box-shadow:0 9px #17291f,0 11px #6a7046,0 22px 22px #0009,inset 0 2px 4px #c6d09940}.enemy .lane:before{background:repeating-linear-gradient(90deg,transparent 0 77px,#d79e8210 78px 79px),linear-gradient(160deg,#67463f,#422a2c 65%,#513936);border-color:#927461;box-shadow:0 9px #2b1d1e,0 11px #6d5348,0 22px 22px #0009,inset 0 2px 4px #edcbaa30}.lane .label{top:auto;bottom:-19px;left:10px;background:transparent;color:#c0b08d80;font-size:8px;letter-spacing:.17em;padding:0}.lane.legal{background:transparent}.lane.legal:before{border-color:var(--you);box-shadow:0 0 25px #b1fac640}.lane.legal.foe:before{border-color:var(--foe)}.vs{font-size:11px;border:1px solid #b6a98244;color:#d7c8a57a;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;letter-spacing:.06em;background:#15161377}.mid:before{content:"";position:absolute;top:60px;height:90px;width:1px;background:linear-gradient(transparent,#c5b79844)}.mid:after{content:"";position:absolute;bottom:45px;height:90px;width:1px;background:linear-gradient(#c5b79844,transparent)}.cell.empty{align-self:end;height:85px;border:1px dashed #cce1b631;border-radius:10px;background:#111b151c;display:flex;flex-direction:column;gap:2px;transform:perspective(500px) rotateX(25deg);color:#bdcdb340;font-size:25px}.cell.empty small{font-size:8px;letter-spacing:.06em;opacity:0}.cell.empty.legal{color:#c8f0be;border:2px dashed #b5eab3;background:#98d69b25;box-shadow:inset 0 0 22px #a5f5ab19}.cell.empty.legal small{opacity:1}.cell.empty.legal:hover,.cell.empty.legal.hover{background:#a5f5ab44;transform:perspective(500px) rotateX(25deg) translateY(-3px)}.enemy .cell.empty{border-color:#c9a4971c;color:#c9a49720}.cell.unit,.cell.unit.leader,.cell.unit.enemy{border:0;background:none;box-shadow:none;padding:0;min-width:0;overflow:visible;z-index:1}.cell.unit:before{content:"";position:absolute;left:12%;right:12%;bottom:25px;height:30px;border-radius:50%;background:#080c0877;filter:blur(8px);z-index:-1}.cell.unit.legal,.cell.unit.enemy.legal,.cell.unit.selected{box-shadow:none}.cell.unit.legal:after,.cell.unit.selected:after{content:"";position:absolute;top:-6px;right:-3px;bottom:-4px;left:-3px;border:2px solid #bbf2bda0;background:linear-gradient(transparent 70%,#a5f5ab20);border-radius:14px;pointer-events:none;box-shadow:0 0 20px #a5f5ab30}.cell.unit.enemy.legal:after{border-color:#f3ae8daa;background:linear-gradient(transparent 70%,#ffac9020);box-shadow:0 0 20px #ffac9030}.cell.unit.selected:after{border-color:var(--gold)}.unit .name{position:absolute;left:-10px;right:-10px;bottom:6px;z-index:3;font-size:11px;text-align:center;padding:0;line-height:1.15;font-weight:500;text-shadow:0 2px 4px #000}.unit .sub{position:absolute;bottom:-9px;left:-15px;right:-15px;text-align:center;font-size:8px;color:#d9c9a3;min-height:0;margin:0;z-index:3}.unit .art{position:absolute;width:190px;height:190px;left:50%;bottom:30px;margin:0;transform:translate(-50%);border-radius:0;background:none;filter:drop-shadow(0 8px 5px #0007);pointer-events:none}.unit .art .sprite{animation:breathe 4s ease-in-out infinite;transform-origin:50% 90%}.unit.enemy .art .sprite{animation-delay:-1.4s}.unit.leader .art{width:205px;height:205px;bottom:26px}@keyframes breathe{50%{transform:translateY(-2px) rotate(.5deg)}}.unit .stats{position:absolute;bottom:24px;left:14px;right:14px;justify-content:center;gap:5px;z-index:3}.pill{font-family:inherit;font-size:15px;gap:3px;background:#141a16f2;border:1px solid #a9a38177;border-radius:5px;padding:2px 7px;box-shadow:0 3px 4px #0006}.pill.hp{color:#f4a297}.pill.atk{color:#ebd09a}.pill small{font-size:10px}.health-track{position:absolute;bottom:21px;left:24px;right:24px;height:2px;background:#070b0966;z-index:3}.health-track i{display:block;height:100%;background:#a8d99e;transition:width .2s}.enemy .health-track i{background:#e29684}.cd{width:31px;height:31px;font-size:16px;top:4px;right:7px;border:2px solid #acb7a1;background:linear-gradient(#264b57,#152a33);color:#d5eff1;box-shadow:0 3px 8px #0009;z-index:4}.cd.hot{background:linear-gradient(#a35239,#692b21);border-color:#e9b178;color:#ffe2b3;box-shadow:0 0 14px #ffad5740}.cd.none{font-size:13px}.cd.lagged{font-size:15px}.chips{bottom:51px;left:10px;z-index:4;gap:2px}.chip{font-size:9px;border:1px solid #151a16;padding:2px 5px}.unit.hit .art{filter:drop-shadow(0 0 12px #f5c274)}.cell.unit.lunge-r,.cell.unit.lunge-l{z-index:10}.float{font-size:35px;top:25%;text-shadow:0 3px 2px #171b16,0 0 15px #000;z-index:15;color:#ffb294}.float.shield{color:#b9e9ff}.float.status{color:#d4f6dd}.bottom{height:263px;bottom:0;padding:0 44px 25px;gap:14px;background:linear-gradient(transparent,#0d1412d9 50%);align-items:flex-end}.compute{width:124px;flex:none;padding-bottom:30px;gap:14px}.orb{width:94px;height:94px;background:radial-gradient(circle at 38% 30%,#599879,#215b46 55%,#122c22);color:#e2f4d6;font-family:inherit;font-size:29px;border:7px solid #283c31;outline:1px solid #7f896b;box-shadow:0 0 0 8px #101b15,0 0 0 10px #4b5743,0 10px 30px #000a,inset 0 0 17px #85e1a259,0 0 35px #85e1a224}.orb.empty{filter:saturate(.25) brightness(.65)}.compute small{font-size:10px;letter-spacing:.2em;color:#c9cdb8}.hand{gap:12px;width:930px;flex:1;min-width:0;min-height:230px;justify-content:center}.card{width:160px;height:235px;padding:11px 12px 10px;border:2px solid #b0a680;border-radius:11px;background:linear-gradient(135deg,#35443f,#192c2a 50%,#111e1c);box-shadow:0 5px #080c0b,0 7px #544b37,0 15px 20px #0009,inset 0 0 0 3px #151c1a;flex:none;isolation:isolate}.card:before{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;border:1px solid #b8b48b26;border-radius:6px;pointer-events:none}.card.unit-card{border-color:#94b99c;background:linear-gradient(135deg,#3d4b32,#223524 50%,#17221b)}.card.playable{transform:translateY(-3px);box-shadow:0 5px #080c0b,0 7px #544b37,0 15px 20px #0009,0 0 12px #aff8b620}.card.playable:hover,.card:focus-visible{transform:translateY(-28px) scale(1.06);z-index:12;box-shadow:0 0 0 1px #d9e7b9,0 20px 35px #000a}.card.selected{transform:translateY(-30px) scale(1.05);border-color:#f8d591;box-shadow:0 0 0 2px #d9b978,0 18px 35px #000a;z-index:12}.card.dim{opacity:.65;filter:saturate(.65)}.card .cost{width:31px;height:31px;top:-12px;left:-11px;background:radial-gradient(circle at 30% 30%,#d5f7b0,#72ab77 80%);color:#183b29;font-family:inherit;font-size:18px;border:2px solid #c5d9a3;box-shadow:0 2px 7px #0008}.card .cname{font-size:13px;letter-spacing:.015em;text-transform:uppercase;margin:4px 0 0}.card .ctype{font-size:8px;letter-spacing:.16em;margin-top:3px;color:#b4bea9}.card .cart{height:114px;flex:none;margin:0 -4px 5px;background:radial-gradient(ellipse,#73987830,transparent 65%);overflow:visible}.cart .sprite{width:118px;height:118px;filter:drop-shadow(0 7px 4px #0006)}.card .ctext{font-size:11px;line-height:1.4;color:#e7e8d7}.card .ctext i{font-size:10px;color:#b3b7a5}.card .ustats{font-family:inherit;font-size:12px;padding-top:6px}.hand:has(.card:nth-child(6)){gap:0}.hand:has(.card:nth-child(6)) .card{margin-left:-14px}.hand:has(.card:nth-child(8)) .card{margin-left:-44px}.hand .card:first-child{margin-left:0}.ghost{z-index:50;transform:translate(-50%,-60%) rotate(-4deg) scale(1.03)}.turn-controls{width:172px;flex:none;display:flex;flex-direction:column;align-items:center;padding-bottom:28px;gap:12px}.turn-controls>small{font-size:8px;letter-spacing:.18em;color:#949e8c}.pile-count{display:flex;gap:13px;font-size:10px;color:#b9bdab}.endturn{width:172px;height:60px;margin:0;padding:0 17px;justify-content:space-between;font-size:15px;border-radius:9px;background:linear-gradient(#f1d598,#c29852);border:1px solid #f1d8a2;box-shadow:0 4px #664d2a,0 7px #151b16,0 12px 20px #0008,inset 0 0 0 3px #ffe5b62b;color:#33281b;letter-spacing:.02em}.endturn span{font-size:24px}.endturn:hover{filter:brightness(1.1)}.endturn:disabled{font-size:11px}.battle-tip{position:absolute;bottom:275px;left:50%;transform:translate(-50%);font-size:11px;color:#d4d1b9;white-space:nowrap;text-shadow:0 2px 3px #000}.hint{bottom:271px;background:#17251af5;border:1px solid #d8c18d;color:#f0dfb5;font-size:12px;padding:9px 18px;border-radius:6px;box-shadow:0 5px 20px #0009}.toast{top:104px;background:#16251af5;border:1px solid #b0b492;color:#f0dfb5;font-size:13px;padding:11px 22px;border-radius:7px;z-index:19}.title{display:block;background:linear-gradient(90deg,#0e1715dd,transparent 80%)}.title-copy{position:absolute;top:146px;left:135px;z-index:3}.eyebrow{font-size:10px;letter-spacing:.23em;color:#bccaad}.title .big{font-size:128px;line-height:.91;letter-spacing:-.065em;margin:26px 0;color:#f0e6ca}.title .big span{color:#addfb9}.title .tag{font-size:22px;line-height:1.5;text-align:left;color:#d9d6bf;margin:0 0 28px}.title-actions{display:flex;gap:10px}.btn{border-radius:8px;border:1px solid #92937477;background:#22362c;color:#e9ecd4;font-size:12px;padding:16px 23px}.btn.primary{background:linear-gradient(#efd69d,#c9a35e);color:#302a1e;border-color:#e3c185;box-shadow:0 4px #665232,0 8px 15px #0005}.btn span{margin-left:20px}.title-meta{font-size:10px;color:#aeb7a4;margin-top:18px}.title-meta i{font-style:normal;margin:0 9px;color:#7d907f}.title-scene{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.hero-mini{position:absolute;width:620px;height:620px;right:175px;top:120px;filter:drop-shadow(0 25px 18px #0009);z-index:2}.hero-mini .sprite{animation:breathe 6s ease-in-out infinite}.hero-rival{position:absolute;width:360px;height:360px;right:18px;top:265px;filter:brightness(.72) drop-shadow(0 20px 14px #000b);opacity:.9;transform:rotate(4deg)}.title-ring{position:absolute;width:490px;height:180px;top:566px;right:185px;border-radius:50%;border:1px solid #a6d39355;background:radial-gradient(ellipse,#6f99752a,transparent);box-shadow:0 0 80px #9ce2aa20}.hero-caption{position:absolute;top:733px;right:315px;text-align:center}.hero-caption span{font-size:9px;letter-spacing:.2em;color:#b6c7a5}.hero-caption strong{display:block;margin-top:8px;font-size:25px;font-weight:500}.hero-caption p{font-size:11px;color:#c5c5ae}.title-footer{position:absolute;bottom:27px;left:40px;right:40px;display:flex;justify-content:space-between;font-size:9px;letter-spacing:.13em;color:#9fae96}.overlay,.help-overlay{background:#0c1714d9;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.overlay h1{font-family:inherit;font-size:76px;letter-spacing:-.04em;text-shadow:0 0 55px #abffc355}.overlay.lost h1{font-size:64px}.overlay .sub{font-size:17px;color:#d6d9c4;margin-bottom:12px}.loot{margin:12px 0 32px;gap:10px}.loot div{font-size:12px;border:1px solid #b5b78955;background:#1c2b22;border-radius:7px;padding:12px 17px}.loot .gold{border-color:#b8a575;color:#decea4}.loot .heal{border-color:#738c6b;color:#b8d7b0}.overlay.won:before{content:"✦";font-size:70px;color:#eed8a5;line-height:1.4;text-shadow:0 0 50px #b5ffd870;animation:arrive .6s ease-out}.help-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;z-index:40}.help-panel{width:850px;padding:46px;text-align:center;background:linear-gradient(145deg,#2b392e,#15291f);border:1px solid #b9b38c77;border-radius:18px;box-shadow:0 30px 90px #0008}.help-panel h1{font-size:36px;margin:17px 0 12px;letter-spacing:-.03em}.help-panel>p{font-size:15px;line-height:1.6;color:#c4cbb8}.help-steps{display:grid;grid-template-columns:repeat(3,1fr);text-align:left;gap:27px;margin:30px 0}.help-steps article>b{font-size:26px;color:#b9d2a1;font-weight:400}.help-steps h3{font-size:15px;margin:10px 0}.help-steps p{font-size:12px;line-height:1.6;color:#c4cbb8}.help-legend{display:flex;justify-content:center;gap:24px;font-size:10px;color:#d9d2ad;padding:16px 0 25px;border-top:1px solid #b7bfa82b}.help-panel>small{display:block;margin-top:20px;font-size:10px;color:#a9b89d}.shot{position:absolute;height:3px;transform-origin:left center;background:linear-gradient(90deg,#f5dda833,#ffdc88);box-shadow:0 0 12px #ffd181;pointer-events:none;z-index:17;animation:shot .22s ease-out forwards}.impact{position:absolute;width:60px;height:60px;border:3px solid #f7ce91;border-radius:50%;pointer-events:none;z-index:18;animation:impact .4s ease-out forwards}.impact.shield{border-color:#b3e4ef;box-shadow:0 0 25px #b3e4ef44}@keyframes shot{0%{opacity:0}30%{opacity:1}to{opacity:0}}@keyframes impact{0%{transform:translate(-50%,-50%) scale(.2);opacity:1}to{transform:translate(-50%,-50%) scale(1.8);opacity:0}}@keyframes arrive{0%{opacity:0;transform:translateY(15px) scale(.8)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.shot,.impact{display:none}}.board{top:222px;height:384px}.unit .name{font-size:12px}.pill{font-size:16px}.card .ctext{font-size:12px;line-height:1.35}.card .cart{height:108px}.cart .sprite{width:110px;height:110px}.battle-tip{bottom:278px}.cd.hot:after{content:"NEXT";position:absolute;top:30px;left:50%;transform:translate(-50%);font-size:7px;letter-spacing:.08em;color:#f7d49a;text-shadow:0 1px 4px #000}.cell,.card{touch-action:none}.card.dealt{animation:deal-in .3s cubic-bezier(.2,.8,.3,1) backwards}@keyframes deal-in{0%{opacity:0;transform:translate(50px,55px) rotate(9deg)}to{opacity:1}}.logo:disabled{cursor:default;opacity:.6}.board{top:238px;height:368px}.side{gap:60px}.info{top:142px}.unit .art .sprite,.unit .art .fallback-art{animation:idle-ready var(--idle-duration,4s) ease-in-out var(--idle-delay,0s) infinite;transform-origin:50% 87%;will-change:transform}.unit[data-def-id=dropout] .art .sprite{animation-name:idle-founder}.unit[data-def-id=intern] .art .sprite{animation-name:idle-intern}.unit[data-def-id=reply_guy] .art .sprite{animation-name:idle-phone}.unit.dragging .art .sprite,.unit.lunge-r .art .sprite,.unit.lunge-l .art .sprite,.unit.hit .art .sprite{animation-play-state:paused}@keyframes idle-ready{0%,to{transform:rotate(-.65deg) scaleY(1)}40%{transform:rotate(.8deg) scaleY(1.025)}75%{transform:rotate(-.25deg) scaleY(1.008)}}@keyframes idle-founder{0%,to{transform:rotate(-.4deg) scaleY(1)}50%{transform:rotate(.65deg) scaleY(1.022) translate(1px)}}@keyframes idle-intern{0%,to{transform:rotate(.65deg) scaleY(1)}45%{transform:rotate(-.7deg) scaleY(1.028)}70%{transform:rotate(-.3deg) scaleY(1.012)}}@keyframes idle-phone{0%,to{transform:rotate(-.8deg)}35%{transform:rotate(.9deg) scaleY(1.018)}65%{transform:rotate(.2deg) scaleY(1.009)}}.unit.enemy .art .sprite{animation-delay:var(--idle-delay,0s)}.run-panel{position:absolute;top:0;right:0;bottom:0;left:0;padding:55px 90px;text-align:center;background:linear-gradient(120deg,#141f1cf5,#16231fe6),url(../art/workshop.png) center/cover;color:#f4eddb}.run-panel h1{font-size:46px;margin:12px 0}.run-panel>p{max-width:850px;margin:0 auto 18px;line-height:1.6;color:#c2c9b9}.choices{display:flex;justify-content:center;gap:24px;margin:22px 0}.choice{width:340px;min-height:490px;border:1px solid #61725b;border-radius:22px;background:linear-gradient(160deg,#344b40,#20372f);color:#f4eddb;padding:20px;cursor:pointer;font:inherit;transition:transform .2s,border-color .2s}.choice:hover,.choice:focus-visible{transform:translateY(-7px);border-color:#e8bf68;outline:2px solid #e8bf68}.choice-art{height:245px;position:relative}.choice-art .sprite{display:block;width:245px;height:245px;margin:auto}.choice-art .fallback-art{font-size:120px;line-height:240px}.choice small{color:#e4bd71;text-transform:uppercase;letter-spacing:2px}.choice h2{margin:12px 0;font-size:25px}.choice p{color:#d1d7c9;line-height:1.5;font-size:16px}.run-roster{color:#d4c29a;font-size:15px;margin:15px 0}.campaign-title{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#091411f0,#0c161359),url(../art/workshop.png) center/cover;color:#f5edda;overflow:hidden}.title-intro{position:absolute;left:70px;top:125px;width:320px;z-index:2}.title-intro h1{font-size:105px;line-height:.91;margin:30px 0;font-weight:900;letter-spacing:-7px}.title-intro h1 em{font-style:normal;color:#a9e1b8}.title-intro>p{font-size:23px;line-height:1.5}.title-run-info{color:#c9c1a9;line-height:1.7;font-size:15px;margin:32px 0}.title-intro>small{display:block;margin-top:20px;color:#a9b4a5;line-height:1.5}.founder-lineup{position:absolute;left:425px;right:45px;top:145px;display:flex;gap:14px;align-items:flex-end;height:610px}.founder-portrait{position:relative;flex:1;height:590px;border:1px solid #8c9a7960;border-radius:160px 160px 26px 26px;background:linear-gradient(180deg,#90a88212,#183028ed);color:inherit;font:inherit;cursor:pointer;padding:0 20px;transition:transform .22s,border-color .22s;overflow:visible}.founder-portrait:nth-child(2){height:620px}.founder-portrait:hover,.founder-portrait:focus-visible{transform:translateY(-12px);border-color:#e4c27a;outline:2px solid #e4c27a}.founder-glow{position:absolute;top:30px;right:0;bottom:180px;left:0;background:radial-gradient(ellipse,#8eb69735,transparent 67%)}.founder-figure{height:345px;position:relative}.founder-figure .sprite{position:absolute;width:340px;height:340px;left:50%;transform:translate(-50%);bottom:0;filter:drop-shadow(0 20px 18px #0009)}.founder-caption{position:relative}.founder-caption>small{color:#a9deb7;text-transform:uppercase;letter-spacing:3px;font-size:11px}.founder-caption h2{font-size:26px;margin:13px 0}.founder-stats{font-size:16px;color:#ead9ad}.founder-stats i{margin:0 9px;opacity:.5}.founder-caption p{font-size:15px;line-height:1.5;color:#d6d7c7;min-height:65px}.founder-caption>b{font-size:12px;letter-spacing:2px;color:#ebcb8d}.campaign-title-footer{position:absolute;bottom:35px;left:70px;right:65px;display:flex;justify-content:space-between;letter-spacing:2px;font-size:10px;color:#b7c1ae}.campaign-map{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(#10221dd9,transparent 35%,#101c16cf),url(../art/workshop.png) center/cover;color:#f4eddb;overflow:hidden}.campaign-map.region-1{background-color:#143440;background-blend-mode:normal,luminosity}.campaign-map.region-2{background-color:#402737;background-blend-mode:normal,luminosity}.campaign-map header{position:absolute;left:45px;right:45px;top:30px;display:flex;gap:30px;align-items:center}.campaign-map header h1{margin:5px 0;font-size:32px}.campaign-map header small{color:#b8c5ad;font-size:12px;letter-spacing:1px}.map-status{margin-left:auto;text-align:right;line-height:1.8;color:#c6ccb9}.campaign-map nav{position:absolute;top:127px;left:45px;display:flex;gap:10px;z-index:2}.campaign-map nav button{background:#20352be0;color:#bcc7b4;border:1px solid #71816655;border-radius:20px;padding:10px 20px;font:inherit;font-size:12px;cursor:pointer}.campaign-map nav .current{background:#d9bd80;color:#1d3127}.map-paths{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none}.map-paths path{fill:none;stroke:#9bb19765;stroke-width:5;stroke-linecap:round;stroke-dasharray:8 11}.map-paths path.travelled{stroke:#a6efb8;filter:drop-shadow(0 0 6px #83e8a3)}.trail-node{position:absolute;transform:translate(-50%,-50%);width:190px;height:190px;border:0;background:transparent;color:#d7d6c1;font:inherit;padding:0;z-index:1;transition:filter .2s,transform .2s}.trail-art{position:absolute;width:165px;height:165px;left:50%;bottom:35px;transform:translate(-50%);filter:drop-shadow(0 16px 9px #000b)}.trail-node small{position:absolute;bottom:28px;left:0;right:0;color:#e8cb8e;letter-spacing:2px;font-size:9px}.trail-node strong{position:absolute;bottom:0;left:-8px;right:-8px;font-size:17px;text-shadow:0 2px 6px #000;line-height:1.15}.trail-node:disabled{filter:saturate(.5) brightness(.75)}.trail-node.visited{filter:saturate(.7) brightness(.8)}.trail-node.visited small{color:#c5ddbe}.trail-node.available{cursor:pointer;color:#fff0c9}.trail-node.available .trail-art{filter:drop-shadow(0 0 15px #ffe29a80) drop-shadow(0 16px 9px #000b)}.trail-node.available:hover{transform:translate(-50%,-54%)}.trail-node:focus-visible{outline:2px solid #f7d592;border-radius:40px}.trail-pin{position:absolute;left:calc(50% - 10px);top:-39px;width:20px;height:20px;border-radius:50% 50% 50% 0;background:#b1f4c1;transform:rotate(-45deg);box-shadow:0 0 22px #a1efae;animation:map-pin 2s ease-in-out infinite}.trail-pin:after{content:"";position:absolute;top:6px;right:6px;bottom:6px;left:6px;border-radius:50%;background:#214832}.boss-destination .trail-art{width:200px;height:200px}.boss-destination strong{color:#f0c8aa}.campaign-map footer{position:absolute;bottom:25px;left:50px;right:50px;display:flex;align-items:center;justify-content:space-between}.map-team{display:flex;gap:25px;height:105px}.map-team>span{position:relative;width:140px;text-align:center}.map-team .sprite{display:block;height:80px;width:80px;margin:auto}.map-team b{font-size:11px}@keyframes map-pin{50%{transform:translateY(-7px) rotate(-45deg)}}.deck-gallery{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;max-height:590px;overflow-y:auto;margin:20px 0}.deck-gallery .choice{width:100%;min-height:260px;padding:12px;cursor:default}.deck-gallery .choice-art,.deck-gallery .choice-art .sprite{height:100px;width:100px}.deck-gallery .choice-art{margin:auto}.deck-gallery .choice h2{font-size:17px}.deck-gallery .choice p{font-size:12px}.deck-gallery .choice small{font-size:9px;letter-spacing:1px}.victory-team{display:flex;justify-content:center;margin:40px 0}.victory-team .sprite{width:240px;height:240px}.empty-event{padding:150px 0;color:#d2d9c4}.redraw-bell{height:100px;width:100px;border-radius:50%;border:2px solid #819276;background:linear-gradient(#405446,#24352b);color:#e8e0c7;font:inherit;font-size:42px;cursor:pointer;box-shadow:0 0 0 6px #7db08c20}.redraw-bell small{display:block;font-size:11px;letter-spacing:1px}.redraw-bell.charged{border-color:#ecc977;color:#ffe7a8;box-shadow:0 0 25px #d4b86240}.redraw-bell:disabled{opacity:.5;cursor:default}.compute>small{font-size:10px;letter-spacing:.5px;white-space:nowrap}.card .cname{margin-left:0}.battle-tip{max-width:950px;left:50%;transform:translate(-50%);text-align:center}.hand:has(.card:nth-child(6)):not(:has(.card:nth-child(7))){gap:7px}.hand:has(.card:nth-child(6)):not(:has(.card:nth-child(7))) .card{margin-left:0}.founder-portrait[data-hero=dropout] .founder-figure .sprite{margin-left:-32px}.founder-portrait[data-hero=professor] .founder-figure .sprite{margin-left:-40px}.lane:before{background:linear-gradient(160deg,#405c46cc,#20382bdd);border:1px solid #869b7466;box-shadow:0 7px #17291f,0 16px 22px #0007}.enemy .lane:before{background:linear-gradient(160deg,#62483dcc,#392a2bdd);border:1px solid #b1967866;box-shadow:0 7px #2b1d1e,0 16px 22px #0007}.cell.empty,.enemy .cell.empty{border:0;background:transparent;box-shadow:none}.cell.empty>span,.cell.empty>small{opacity:0}.cell.empty.legal{border:2px solid #b5eab3aa;border-radius:50%;background:radial-gradient(ellipse,#98d69b40,transparent 72%);box-shadow:0 0 20px #a5f5ab30}.cell.empty.legal>span{opacity:1}.cell.empty.legal>small{opacity:0}.cell.unit.legal:after,.cell.unit.selected:after{inset:auto 8px 15px;height:45px;border-radius:50%;background:#a5f5ab22}.cell.unit.enemy.legal:after{background:#ffac9022}.lane .label,.mid:before,.mid:after,.vs{display:none}.info.wave{background:none;border:0;-webkit-backdrop-filter:none;backdrop-filter:none;top:130px;padding:0}.ui-icon{width:1em;height:1em;display:inline-block;vertical-align:-.12em;flex:none}.icon-health{fill:currentColor;stroke:none}.pill .ui-icon,.ustats .ui-icon{width:14px;height:14px}.founder-stats .ui-icon{width:15px;height:15px}.chip .ui-icon{width:11px;height:11px}.cd .ui-icon{width:19px;height:19px}.help-legend .ui-icon{width:14px;height:14px}.boss-mark{position:absolute;left:5px;top:-9px;z-index:5;display:flex;align-items:center;gap:4px;padding:3px 7px;border:1px solid #b58549;border-radius:4px;background:#332013ed;color:#ffdb96;font-size:8px;letter-spacing:1px;pointer-events:none}.boss-mark .ui-icon{width:13px;height:13px}.encounter-leader .art{width:225px;height:225px;bottom:25px;filter:drop-shadow(0 8px 5px #0007) drop-shadow(0 0 12px #f7b34d25)}.encounter-leader .name{color:#f1d49e}.encounter-leader .health-track i{background:#edbc65}.sprite.standalone{background-size:contain;background-position:center;background-image:none}.overlay.won .btn{min-width:230px;margin-top:20px;padding:20px 40px;font-size:16px}.overlay.won h1{margin:10px 0 25px}.run-panel{padding-top:85px}.run-panel>.choices{margin-top:40px}.choice small{font-size:10px;letter-spacing:1.5px}.choice-art{margin-bottom:15px}.choice p{font-size:15px}.redraw-bell{position:relative;isolation:isolate;overflow:visible}.redraw-symbol{display:block;line-height:1.2}.redraw-fire{display:none;position:absolute;top:-12px;right:-12px;bottom:-12px;left:-12px;pointer-events:none;z-index:-1}.redraw-bell.charged{border-color:#fff0b8;color:#fff4ce;background:radial-gradient(circle at 40% 25%,#72623e,#3a3825 65%,#23271d);box-shadow:inset 0 2px 7px #fff3aa36,0 0 0 5px #d4a44b25,0 0 28px #ffba4e68;animation:charged-breathe 2.4s ease-in-out infinite}.redraw-bell.charged .redraw-fire{display:block}.redraw-fire:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;background:conic-gradient(from 0deg,transparent 15%,#c2781933 45%,#ffbe54 75%,#fff4bc 85%,transparent 88%);mask:radial-gradient(circle,transparent 65%,#000 67%,#000 70%,transparent 72%);animation:charged-orbit 3s linear infinite}.redraw-fire i{position:absolute;left:12%;top:25%;height:4px;width:3px;border-radius:50%;background:#fff2ae;box-shadow:0 0 5px 2px #ffb739;animation:charged-spark 2.1s ease-out infinite;opacity:0}.redraw-fire i:nth-child(2){left:80%;top:35%;animation-delay:-.5s}.redraw-fire i:nth-child(3){left:30%;top:7%;animation-delay:-1.2s}.redraw-fire i:nth-child(4){left:65%;top:12%;animation-delay:-1.6s}.redraw-fire i:nth-child(5){left:90%;top:60%;animation-delay:-.9s}.redraw-bell.charged small{letter-spacing:2px;font-weight:800;color:#fff0bc}.redraw-bell:disabled,.redraw-bell:disabled .redraw-fire i,.redraw-bell:disabled .redraw-fire:before{animation-play-state:paused}@keyframes charged-orbit{to{transform:rotate(360deg)}}@keyframes charged-spark{0%{transform:translateY(8px);opacity:0}20%{opacity:1}to{transform:translate(-8px,-38px) scale(.25);opacity:0}}@keyframes charged-breathe{50%{box-shadow:inset 0 2px 7px #fff3aa36,0 0 0 5px #d4a44b40,0 0 40px #ffba4e85}}.compact-help{max-width:840px;padding:35px 40px}.compact-help h1{font-size:32px;margin:0 0 12px}.compact-help>p{font-size:15px}.compact-help .help-steps{gap:24px;margin:26px 0}.compact-help .help-steps p{font-size:13px;line-height:1.5}.compact-help .help-steps h3{font-size:16px}.compact-help>small{margin-top:16px}.trail-node.passed{opacity:.22}.map-paths path{stroke-width:3;stroke:#d0b37b75;stroke-dasharray:9 12}.map-paths path.abandoned{opacity:.15}.map-paths path.travelled{stroke:#e2c78f;filter:none}@media(prefers-reduced-motion:reduce){.redraw-bell,.redraw-fire i,.redraw-fire:before,.trail-pin{animation:none!important}.redraw-fire i{opacity:.6}}.companion-gallery{grid-template-columns:repeat(3,1fr);max-height:500px}.companion-gallery .choice{cursor:pointer;position:relative;min-height:290px}.companion-gallery .choice-art,.companion-gallery .choice-art .sprite{width:150px;height:150px}.companion-gallery .choice.active-companion{border-color:#edcf8d;box-shadow:inset 0 0 0 2px #edcf8d}.active-companion:after{content:"ACTIVE";position:absolute;top:12px;right:12px;color:#edcf8d;font-size:10px;letter-spacing:1px}.team-counter{color:#edcf8d;min-height:24px;margin:15px 0}.run-panel>.btn+.btn{margin-left:15px}.companion-gallery:has(.choice:nth-child(4)):not(:has(.choice:nth-child(5))){grid-template-columns:repeat(4,1fr)}.menu-sound{position:absolute;right:24px;bottom:18px;z-index:80}.menu-sound[hidden]{display:none}@media(max-height:600px)and (orientation:landscape){.menu-sound{right:max(8px,env(safe-area-inset-right));bottom:6px;min-height:32px;padding:6px 10px;font-size:10px}}.team-stop-art{position:relative;display:block;width:100%;height:100%}.trail-art .team-stop-art .sprite{position:absolute;width:70%;height:88%;bottom:0;left:-12%}.trail-art .team-stop-art .sprite:nth-child(2){left:15%;height:100%;z-index:2}.trail-art .team-stop-art .sprite:nth-child(3){left:42%}.overlay.won .win-quote{font-size:clamp(28px,5vw,64px);max-width:850px;text-align:center;line-height:1.15}#rotate-screen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px;background:radial-gradient(ellipse at center,#2a4536,#101b16);color:#f5efdb}#rotate-screen[hidden]{display:none}#rotate-screen h1{font-size:28px;margin:12px 0}#rotate-screen p{font-size:16px;margin:0 0 28px;color:#b8c9ba}.rotate-device{font-size:70px;color:#edcf8d}.mobile-fullscreen{display:none}.map-journey{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.map-journey .trail-node{pointer-events:auto}.touch-layout #viewport{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);height:100dvh;width:100%;overflow:hidden}.touch-layout #stage{width:100%;height:100%;transform:none!important}.touch-layout button{touch-action:manipulation}.touch-layout .btn{min-height:44px;padding:10px 16px;font-size:13px}.touch-layout .title-intro{left:3%;top:10%;width:23%}.touch-layout .title-intro h1{font-size:clamp(42px,8vw,85px);letter-spacing:-3px;margin:16px 0}.touch-layout .title-intro .eyebrow{display:none}.touch-layout .title-intro>p{font-size:16px;line-height:1.4}.touch-layout .title-intro .btn{width:100%;margin:6px 0;font-size:12px}.touch-layout .mobile-fullscreen{display:block}.touch-layout .founder-lineup{left:29%;right:2%;top:5%;bottom:5%;height:auto;gap:10px;align-items:stretch}.touch-layout .founder-portrait,.touch-layout .founder-portrait:nth-child(2){height:100%;padding:8px;border-radius:90px 90px 15px 15px;display:flex;flex-direction:column;justify-content:flex-end;min-width:0}.touch-layout .founder-figure{height:40%;min-height:70px;flex:1}.touch-layout .founder-figure .sprite{width:150px;height:150px;max-height:100%;max-width:100%;background-size:200% 200%;bottom:0}.touch-layout .founder-figure .standalone{background-size:contain}.touch-layout .founder-portrait[data-hero=dropout] .sprite{margin-left:-14px}.touch-layout .founder-portrait[data-hero=professor] .sprite{margin-left:-18px}.touch-layout .founder-caption h2{font-size:clamp(15px,2.3vw,22px);margin:6px 0}.touch-layout .founder-caption>small{font-size:10px;letter-spacing:1px}.touch-layout .founder-stats{font-size:13px}.touch-layout .founder-stats i{margin:0 3px}.touch-layout .founder-caption p{font-size:12px;line-height:1.3;min-height:46px;margin:6px 0}.touch-layout .founder-caption>b{font-size:10px;letter-spacing:1px}.touch-layout .founder-portrait:hover{transform:none}.touch-layout .top{height:46px;padding:0 10px;gap:8px}.touch-layout .top .logo{font-size:18px;min-height:44px}.touch-layout .crumb{padding-left:8px;gap:1px;min-width:0}.touch-layout .crumb b{font-size:12px;max-width:160px;overflow:hidden;text-overflow:ellipsis}.touch-layout .crumb>span{font-size:9px;letter-spacing:0}.touch-layout .stat{padding:0;gap:4px}.touch-layout .stat>span{font-size:18px}.touch-layout .stat small{font-size:8px;letter-spacing:0}.touch-layout .stat b{font-size:16px}.touch-layout .tool-btn{height:44px;min-width:44px;padding:0 6px;font-size:10px}.touch-layout .help-btn{font-size:20px}.touch-layout .side-heading{top:48px;font-size:10px;letter-spacing:1px}.touch-layout .allies{left:18px}.touch-layout .rivals{right:18px}.touch-layout .info.wave{top:49px;right:100px;font-size:10px}.touch-layout .board{top:70px;bottom:155px;height:auto;padding:0 14px;grid-template-columns:1fr 28px 1fr}.touch-layout .side{gap:24px;min-height:0;grid-template-rows:minmax(0,1fr) minmax(0,1fr)}.touch-layout .lane{padding:0 5px;gap:5px;min-height:0}.touch-layout .lane:before{height:39px;border-radius:8px;box-shadow:0 3px #14251c,0 5px 9px #0005;transform:none}.touch-layout .cell.empty{height:52px;transform:none}.touch-layout .cell.unit{min-height:0}.touch-layout .unit .art,.touch-layout .unit.leader .art,.touch-layout .encounter-leader .art{width:66px;height:66px;bottom:23px}.touch-layout .unit.encounter-leader .art{width:74px;height:74px}.touch-layout .unit .name{font-size:10px;bottom:0;left:-3px;right:-3px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.touch-layout .unit .stats{left:0;right:0;bottom:13px;gap:3px}.touch-layout .pill{font-size:12px;padding:1px 3px;gap:2px}.touch-layout .pill small{font-size:10px}.touch-layout .pill .ui-icon{width:10px;height:10px}.touch-layout .health-track{bottom:12px;left:12px;right:12px}.touch-layout .unit .sub{display:none}.touch-layout .cd{width:27px;height:27px;right:0;top:0;font-size:15px}.touch-layout .cd.hot:after{display:none}.touch-layout .chips{bottom:37px;left:0;max-width:85%;flex-wrap:wrap}.touch-layout .chip{font-size:10px;padding:1px 3px}.touch-layout .boss-mark{top:-9px;left:0;font-size:8px;letter-spacing:0;padding:1px 3px}.touch-layout .boss-mark .ui-icon{width:10px;height:10px}.touch-layout .cell.unit.legal:after,.touch-layout .cell.unit.selected:after{top:-3px;right:0;bottom:0;left:0;height:auto;border-radius:8px}.touch-layout .float{font-size:25px}.touch-layout .bottom{height:148px;padding:0 8px 6px;gap:8px;align-items:center}.touch-layout .compute{width:62px;padding:0;gap:7px}.touch-layout .redraw-bell{width:56px;height:56px;border-width:2px}.touch-layout .redraw-symbol{font-size:30px}.touch-layout .redraw-bell small{font-size:9px}.touch-layout .compute>small{font-size:10px;letter-spacing:0}.touch-layout .turn-controls{width:70px;padding:0;gap:8px}.touch-layout .endturn{width:70px;height:48px;padding:4px;font-size:13px;justify-content:center}.touch-layout .turn-controls>small{display:none}.touch-layout .pile-count{flex-direction:column;gap:2px;font-size:10px}.touch-layout .hand,.touch-layout .hand:has(.card:nth-child(6)){height:148px;min-height:0;align-items:center;justify-content:flex-start;gap:8px!important;overflow-x:auto;overflow-y:hidden;padding:5px 3px 7px;touch-action:pan-x;scrollbar-width:thin;scrollbar-color:#b59b65 transparent;overscroll-behavior-x:contain}.touch-layout .hand .card{width:145px;height:136px;margin-left:0!important;padding:6px 8px;border-radius:8px;transform:none!important;touch-action:pan-x;box-shadow:0 3px #111;flex-shrink:0}.touch-layout .card .cname{font-size:12px;line-height:1.1;margin:0;height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.touch-layout .card .ctype{font-size:9px;margin:2px 0;letter-spacing:0}.touch-layout .card .cart{position:absolute;right:3px;top:19px;width:40px;height:40px;margin:0}.touch-layout .cart .sprite{width:40px;height:40px}.touch-layout .card .ctext{font-size:12px;line-height:1.25;margin-top:20px}.touch-layout .card .ustats{font-size:11px;padding-top:3px;margin-top:auto}.touch-layout .card .ustats .ui-icon{width:11px;height:11px}.touch-layout .card.selected{border-color:#ffdd91;background:#385143;box-shadow:inset 0 0 0 2px #f1cf88}.touch-layout .hint{bottom:150px;font-size:12px;padding:5px 12px;max-width:90%;white-space:normal;text-align:center}.touch-layout .toast{top:48px;font-size:13px;max-width:90%;white-space:normal}.touch-layout .overlay h1,.touch-layout .overlay.lost h1{font-size:38px}.touch-layout .overlay.won:before{font-size:40px}.touch-layout .overlay .sub{font-size:14px}.touch-layout .help-panel{width:92%;max-height:94%;overflow:auto;padding:14px 20px}.touch-layout .help-panel h1{font-size:24px;margin:0 0 5px}.touch-layout .help-panel>p{font-size:13px;margin:5px}.touch-layout .help-steps{gap:18px;margin:12px 0}.touch-layout .help-steps article>b{display:none}.touch-layout .help-steps h3{font-size:14px;margin:0 0 4px}.touch-layout .help-steps p{font-size:12px;margin:0;line-height:1.35}.touch-layout .help-panel>small{display:none}.touch-layout .campaign-map header{left:12px;right:12px;top:4px;gap:12px;height:44px}.touch-layout .campaign-map header h1{font-size:18px;margin:0}.touch-layout .campaign-map header small{font-size:9px}.touch-layout .campaign-map .logo{font-size:18px;min-height:44px}.touch-layout .campaign-map header .btn{font-size:11px;padding:8px;min-height:44px}.touch-layout .map-status{display:none}.touch-layout .campaign-map nav{top:50px;left:12px;gap:8px}.touch-layout .campaign-map nav button{padding:6px 12px;font-size:12px;min-height:36px}.touch-layout .map-journey{top:90px;bottom:6px}.touch-layout .map-paths{width:100%;height:100%;top:0;right:0;bottom:0;left:0}.touch-layout .trail-node{left:var(--map-x)!important;top:var(--map-y)!important;width:90px;height:94px;padding:0;border-radius:12px}.touch-layout .trail-art{height:60px;width:70px;margin:auto}.touch-layout .trail-art .sprite{height:70px;width:70px}.touch-layout .trail-node strong{font-size:12px;line-height:1.15}.touch-layout .trail-node small{font-size:9px;margin:0;letter-spacing:.3px}.touch-layout .trail-pin{top:-7px;width:9px;height:9px}.touch-layout .campaign-map footer{display:none}.touch-layout .run-panel{padding:12px 22px;overflow-y:auto;overscroll-behavior:contain}.touch-layout .run-panel h1{font-size:26px;margin:0 0 5px}.touch-layout .run-panel>p{font-size:13px;margin-bottom:8px;line-height:1.3}.touch-layout .choices{gap:12px;margin:10px auto;max-width:850px;align-items:stretch}.touch-layout .choice{width:30%;min-height:0;padding:8px;border-radius:12px;display:flex;flex-direction:column;align-items:center}.touch-layout .choice:hover{transform:none}.touch-layout .choice-art,.touch-layout .choice-art .sprite{width:90px;height:90px}.touch-layout .choice h2{font-size:17px;margin:3px 0}.touch-layout .choice small{font-size:10px;letter-spacing:.5px}.touch-layout .choice>b{font-size:12px}.touch-layout .choice p{font-size:12px;line-height:1.3;margin:5px 0}.touch-layout .deck-gallery,.touch-layout .companion-gallery,.touch-layout .companion-gallery:has(.choice:nth-child(4)){display:grid;grid-template-columns:repeat(3,1fr);max-height:none;gap:12px;margin:12px 0}.touch-layout .deck-gallery .choice{width:100%}.touch-layout .companion-gallery .choice-art,.touch-layout .companion-gallery .choice-art .sprite{width:80px;height:80px}.touch-layout .team-counter{font-size:13px;margin:4px 0;min-height:17px}.touch-layout .victory-team{height:150px;margin:12px 0}.touch-layout .victory-team .sprite{width:145px;height:145px}@media(max-height:350px)and (orientation:landscape){.touch-layout .board{top:82px;bottom:135px}.touch-layout .bottom,.touch-layout .hand{height:135px}.touch-layout .hand .card{height:126px}.touch-layout .unit .art,.touch-layout .unit.leader .art,.touch-layout .encounter-leader .art{width:48px;height:48px}.touch-layout .hint{bottom:135px}.touch-layout .founder-caption p{font-size:11px;min-height:40px}.touch-layout .founder-figure .sprite{width:110px;height:110px}}.touch-layout .title-intro{bottom:5%;overflow-y:auto}.touch-layout .title-intro:has([data-action=continue]) h1{font-size:clamp(36px,6vw,64px);margin:8px 0}.touch-layout .title-intro:has([data-action=continue])>p{font-size:13px;margin:8px 0}.mobile-card-detail{display:none}.touch-layout .top{height:40px;background:#101b17e8;gap:8px}.touch-layout .top .logo{font-size:15px;min-height:40px}.touch-layout .tool-btn{height:40px;min-width:40px}.touch-layout .stat small,.touch-layout .crumb>span,.touch-layout .side-heading{display:none}.touch-layout .crumb b{font-size:12px}.touch-layout .stat b{font-size:14px}.touch-layout .info.wave{top:42px;right:18px;font-size:9px;opacity:.8}.touch-layout .board{top:56px;bottom:90px;padding:0 14px;grid-template-columns:1fr 30px 1fr}.touch-layout .side{gap:10px}.touch-layout .lane{padding:0 4px;gap:6px}.touch-layout .lane:before{height:22px;bottom:0;border:0;background:linear-gradient(90deg,#73977514,#73977535,#73977514);box-shadow:none;border-radius:50%}.touch-layout .enemy .lane:before{background:linear-gradient(90deg,#b77f7314,#b77f7335,#b77f7314)}.touch-layout .cell.unit{height:100%;position:relative}.touch-layout .unit .art,.touch-layout .unit.leader .art,.touch-layout .unit.encounter-leader .art{height:100%;width:auto;aspect-ratio:1;max-width:none;bottom:12px}.touch-layout .unit .name{font-size:10px;bottom:0;line-height:12px;text-shadow:0 1px 3px #000,0 0 8px #000}.touch-layout .unit .stats{bottom:14px;gap:3px}.touch-layout .pill{font-size:12px;padding:1px 4px;background:#111c16ed}.touch-layout .health-track{display:none}.touch-layout .cd{top:22%;right:0;width:26px;height:26px;font-size:15px}.touch-layout .chips{bottom:35px;left:0}.touch-layout .boss-mark{top:0;left:0}.touch-layout .bottom{height:86px;padding:0 10px 4px;gap:10px;background:linear-gradient(transparent,#0b1511 25%)}.touch-layout .hand,.touch-layout .hand:has(.card:nth-child(6)){height:84px;padding:3px 2px 5px;gap:6px!important;scrollbar-width:none}.touch-layout .hand .card{height:76px;width:104px;padding:5px;border-radius:9px;box-shadow:none}.touch-layout .card .cname{font-size:10px;white-space:normal;height:24px;line-height:11px;position:relative;z-index:2}.touch-layout .card .ctype,.touch-layout .card .ctext,.touch-layout .card .ustats{display:none}.touch-layout .card .cart{top:19px;right:10px;width:56px;height:52px}.touch-layout .cart .sprite{width:56px;height:52px}.touch-layout .card.selected{box-shadow:inset 0 0 0 1px #f1cf88;background:#405943}.touch-layout .compute{width:48px;gap:4px}.touch-layout .redraw-bell{height:44px;width:44px}.touch-layout .redraw-symbol{font-size:27px}.touch-layout .redraw-bell small{display:none}.touch-layout .compute>small{font-size:9px}.touch-layout .turn-controls{width:56px;gap:3px}.touch-layout .endturn{height:44px;width:56px;font-size:11px}.touch-layout .pile-count{font-size:9px;flex-direction:row;gap:4px}.touch-layout .pile-count span:last-child{display:none}.touch-layout .hint{top:0;bottom:auto;min-height:40px;max-width:none;width:100%;border:0;border-radius:0;padding:10px;background:#263d30;z-index:24;font-size:12px}.touch-layout .mobile-card-detail{display:flex;position:absolute;top:0;left:0;right:0;height:51px;align-items:center;gap:10px;padding:5px 10px;background:#263d30;box-shadow:0 3px 15px #0008;z-index:25}.touch-layout .mobile-card-detail div{flex:1;font-size:12px;line-height:16px}.touch-layout .mobile-card-detail b{color:#f3d399;margin-right:8px}.touch-layout .mobile-card-detail button{min-width:44px;height:40px;padding:5px 10px;border:1px solid #879b75;border-radius:7px;background:#162b20;color:#f2e7c8;font:inherit;font-size:12px}.touch-layout .mobile-card-detail .confirm-card{background:#e7c883;color:#243023}.touch-layout .toast{top:51px}.touch-layout .mobile-unit-stats{display:block;font-size:10px;color:#c8d6c3;line-height:13px}.unit-info{position:absolute;top:0;left:0;width:24px;height:24px;border:1px solid #b1b99799;border-radius:50%;background:#17271fd9;color:#e4dcc0;font:700 13px Georgia,serif;z-index:6;cursor:pointer}.unit-detail{position:absolute;top:85px;left:50%;transform:translate(-50%);width:620px;display:flex;align-items:center;gap:16px;background:#263d30;border:1px solid #889d75;border-radius:10px;padding:14px 18px;z-index:30;box-shadow:0 5px 25px #0008}.unit-detail div{flex:1}.unit-detail b{display:block;color:#f3d399;font-size:17px;margin-bottom:4px}.unit-detail span{font-size:14px;line-height:1.4}.unit-detail button{width:44px;height:40px;border:1px solid #879b75;background:#162b20;color:#f2e7c8;border-radius:7px;cursor:pointer}.touch-layout .unit-info{width:26px;height:26px;top:0;left:0}.touch-layout .unit-info:before{content:"";position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px}.touch-layout .unit-detail{top:0;left:0;right:0;transform:none;width:100%;min-height:51px;max-height:95px;border:0;border-radius:0;padding:5px 10px;gap:10px}.touch-layout .unit-detail b{display:inline;font-size:12px;margin-right:8px}.touch-layout .unit-detail span{font-size:12px;line-height:16px}.touch-layout .unit-detail div{max-height:80px;overflow-y:auto}.touch-layout .unit-detail button{flex:none}.unit-trait{position:absolute;top:calc(100% + 3px);left:-8px;right:-8px;color:#d3d9c3;font-size:11px;line-height:13px;text-align:center;text-shadow:0 1px 4px #000;z-index:3;pointer-events:none}.touch-layout .board{bottom:108px}.touch-layout .side{gap:30px}.touch-layout .unit-trait{top:calc(100% + 2px);left:-2px;right:-2px;font-size:9px;line-height:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:20px}html:not(.touch-layout) .unit .name{bottom:26px}html:not(.touch-layout) .unit .stats{bottom:44px}html:not(.touch-layout) .unit .health-track{bottom:41px}html:not(.touch-layout) .unit .art{bottom:50px;height:160px;width:160px}html:not(.touch-layout) .unit.leader .art{bottom:46px;height:175px;width:175px}html:not(.touch-layout) .unit .chips{bottom:71px}html:not(.touch-layout) .unit-trait{top:auto;bottom:-3px;min-height:26px}html:not(.touch-layout) .top{height:58px}html:not(.touch-layout) .info.wave{top:22px;right:550px;font-size:10px}html:not(.touch-layout) .board{top:208px;height:412px}html:not(.touch-layout) .side{gap:140px}html:not(.touch-layout) .unit .art{width:210px;height:210px}html:not(.touch-layout) .unit.leader .art,html:not(.touch-layout) .unit.encounter-leader .art{width:220px;height:220px}.mid:before,.mid:after{display:none}.hand-handle,.battle-menu-toggle,.touch-layout .top{display:none}.touch-layout .battle-menu-toggle{display:block;position:absolute;top:3px;left:8px;z-index:28;width:36px;height:32px;border:1px solid #879b7555;border-radius:8px;background:#17271fd9;color:#f1e5c8;font-size:18px}.touch-layout .top.menu-open{display:flex;position:absolute;top:40px;left:8px;right:8px;height:auto;min-height:48px;flex-wrap:wrap;padding:8px;z-index:28;border:1px solid #879b75;border-radius:10px;background:#17271f}.touch-layout .info.wave{top:9px;right:14px}.touch-layout .board{top:40px;bottom:78px}.touch-layout .side{gap:28px}.touch-layout .unit .art,.touch-layout .unit.leader .art,.touch-layout .unit.encounter-leader .art{height:calc(100% + 9px);width:auto;max-width:150px;bottom:21px}.touch-layout .unit-info{width:22px;height:22px;font-size:12px}.touch-layout .bottom{height:60px;z-index:20;padding-top:6px;background:#102019eb;border-top:1px solid #9ba57d50}.touch-layout .hand-handle{display:block;position:absolute;top:-27px;left:50%;transform:translate(-50%);height:28px;min-width:110px;border:1px solid #9ba57d70;border-bottom:0;border-radius:12px 12px 0 0;background:#192d22;color:#e8debc;font-size:10px;letter-spacing:1px;touch-action:none;cursor:pointer}.touch-layout .hand,.touch-layout .hand:has(.card:nth-child(6)){height:50px;padding:2px;align-items:flex-start}.touch-layout .hand .card{height:44px;padding:6px;width:104px}.touch-layout .hand .cart{display:none}.touch-layout .hand-open{height:min(215px,70dvh);box-shadow:0 -10px 35px #0008}.touch-layout .hand-open .hand{height:100%;padding:5px 2px;align-items:stretch}.touch-layout .hand-open .card{height:100%;width:140px;min-width:140px;padding:7px;display:flex;flex-direction:column}.touch-layout .hand-open .card .cname{flex:none;height:24px}.touch-layout .hand-open .card .cart{display:flex;position:relative;inset:auto;width:100%;height:55px;flex:0 1 55px;justify-content:center}.touch-layout .hand-open .card .ctext{display:block;position:static;font-size:11px;line-height:14px;margin:4px 0;flex:1}.touch-layout .hand-open .card .ustats{display:flex;position:static;font-size:11px}.touch-layout .hand-open .compute,.touch-layout .hand-open .turn-controls{align-self:flex-end;margin-bottom:6px}.touch-layout .hand-open .hand,.touch-layout .hand-open .hand:has(.card:nth-child(6)){height:100%;align-self:stretch;align-items:stretch}.touch-layout .hand-open .hand .card{height:100%;min-height:0}.touch-layout .hand-open .hand .card .ctext{overflow-y:auto}.touch-layout .side{gap:40px}.touch-layout .unit .art,.touch-layout .unit.leader .art,.touch-layout .unit.encounter-leader .art{height:calc(100% - 4px)}
