@import"https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Source+Sans+3:wght@400;600;700&display=swap";:root{--bg0: #0f1613;--bg1: #1a2420;--bg2: #24332c;--ink: #e8f0ea;--muted: #9bb0a3;--accent: #c4a35a;--accent2: #6fbf8b;--danger: #d96b5c;--tile: #2a3b33;--tile-alt: #314740;--spawn: #3a4f2e;--base: #4a3030;--hand: #151d1a;--card: #2c3c34;--shadow: rgba(0, 0, 0, .45);font-family:"Source Sans 3",system-ui,sans-serif;color:var(--ink);background:radial-gradient(120% 80% at 50% 0%,#1c2a24 0%,var(--bg0) 55%)}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;height:100%}button{font:inherit;cursor:pointer;border:1px solid transparent;border-radius:10px;background:var(--bg2);color:var(--ink);padding:.55rem .85rem}button.primary{background:linear-gradient(180deg,#d2b56e,#a8843c);color:#1a1408;font-weight:700}button:disabled{opacity:.45;cursor:not-allowed}.app-shell{max-width:480px;margin:0 auto;min-height:100%;height:100%;display:flex;flex-direction:column;position:relative;overflow:hidden}.brand{font-family:Cormorant Garamond,Georgia,serif;font-weight:700;letter-spacing:.04em;font-size:1.8rem;margin:0}.muted{color:var(--muted)}.top-chrome{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:.65rem .75rem .35rem;background:linear-gradient(180deg,#0f1613f2,#0f16138c);z-index:5}.pill-row{display:flex;gap:.35rem;flex-wrap:wrap}.pill{background:var(--bg2);border:1px solid #3d5348;border-radius:999px;padding:.2rem .55rem;font-size:.78rem}.hub,.deck-builder,.sheet{padding:1rem .85rem 1.25rem;overflow:auto;flex:1}.hub h1{margin-bottom:.25rem}.hub-actions{display:grid;gap:.6rem;margin-top:1.25rem}.tier-list{display:grid;gap:.5rem;margin-top:1rem}.tier-card{text-align:left;padding:.85rem;background:linear-gradient(145deg,#24352d,#1b2621);border:1px solid #3b5146}.tier-card.active{border-color:var(--accent);box-shadow:0 0 0 1px #c4a35a59}.collection-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem;margin-top:.75rem}.mini-card{background:var(--card);border:1px solid #405649;border-radius:12px;padding:.65rem;text-align:left;min-height:88px}.mini-card.in-deck{outline:2px solid var(--accent2)}.mini-card .name{font-weight:700}.battle{flex:1;display:flex;flex-direction:column;min-height:0}.field-wrap{flex:1;overflow:auto;padding:.4rem .55rem;min-height:0}.field-grid{display:grid;gap:4px;margin:0 auto;width:max-content}.tile{width:56px;height:56px;border-radius:10px;background:var(--tile);border:1px solid #3a4f45;position:relative;padding:0;color:var(--ink);font-size:.62rem;line-height:1.1}.tile:nth-child(odd){background:var(--tile-alt)}.tile.spawn{background:var(--spawn)}.tile.base{background:var(--base)}.tile.has-enemy{box-shadow:inset 0 0 0 2px var(--danger)}.tile .occ{font-weight:700;font-size:.58rem}.tile .troop-dot{position:absolute;right:4px;bottom:4px;width:8px;height:8px;border-radius:50%;background:var(--accent2)}.hand-dock{background:linear-gradient(0deg,#0c1210 20%,#0c1210e0);padding:.35rem .35rem .85rem;border-top:1px solid #2d4037;min-height:148px}.mode-row{display:flex;gap:.4rem;justify-content:center;margin-bottom:.25rem}.mode-row button.active{border-color:var(--accent);color:var(--accent)}.hand-splay{position:relative;height:110px;display:flex;justify-content:center;align-items:flex-end}.hand-card{position:absolute;width:78px;height:104px;border-radius:12px;background:linear-gradient(165deg,#355044,#22332c);border:1px solid #4d6a5b;box-shadow:0 10px 18px var(--shadow);padding:.4rem;text-align:left;transform-origin:bottom center;transition:transform .16s ease,bottom .16s ease}.hand-card.selected{border-color:var(--accent);z-index:20!important;bottom:12px!important}.hand-card .hn{font-size:.72rem;font-weight:700}.hand-card .hk{font-size:.62rem;color:var(--muted)}.battle-actions{display:flex;gap:.4rem;justify-content:center;flex-wrap:wrap;padding:.25rem .5rem 0}.log{max-height:64px;overflow:auto;font-size:.72rem;color:var(--muted);padding:0 .75rem}.sheet{position:absolute;top:0;right:0;bottom:0;left:0;background:#080c0ab8;display:flex;flex-direction:column;justify-content:flex-end;z-index:30}.sheet-panel{background:linear-gradient(180deg,#1d2a24,#121a16);border-radius:18px 18px 0 0;padding:1rem .9rem 1.4rem;max-height:85%;overflow:auto;border-top:1px solid #3d5549}.xp-row{display:flex;gap:.4rem;align-items:center;justify-content:space-between;padding:.55rem 0;border-bottom:1px solid #2c3d35}.badge{display:inline-block;font-size:.68rem;padding:.1rem .4rem;border-radius:6px;background:#3a4d43;margin-right:.25rem}
