:root{--text:#6b6375;--text-h:#08060d;--text-muted:#9b95a3;--bg:#fff;--border:#e5e4e7;--border-strong:#cac8ce;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--surface-0:#faf9f6;--surface-1:#f1f0ec;--surface-2:#fff;--text-accent:#7a1fd6;--text-success:#0f6e56;--text-danger:#a32d2d;--bg-danger:#e24b4a1f;--bg-success:#1d9e751f;--border-danger:#e24b4a66;--border-accent:#aa3bff66;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--text-muted:#6b7280;--bg:#16171d;--border:#2e303a;--border-strong:#3d4049;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px;--surface-0:#16171d;--surface-1:#1f2028;--surface-2:#23242c;--text-accent:#c084fc;--text-success:#5dcaa5;--text-danger:#f09595;--bg-danger:#e24b4a26;--bg-success:#1d9e752e;--border-danger:#e24b4a66;--border-accent:#c084fc66}#social .button-icon{filter:invert()brightness(2)}}html,body{height:100%;margin:0;overflow:hidden}#root{box-sizing:border-box;background:radial-gradient(at top,#7a1fd640,#0000 60%),radial-gradient(at bottom,#e24b4a26,#0000 60%),#0d0e13;flex-direction:column;width:100%;height:100svh;display:flex}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}.deck{flex-direction:column;flex:none;justify-content:center;align-items:center;gap:4px;height:100%;min-height:0;display:flex}.deck-stack{aspect-ratio:158/218;width:auto;height:min(88%,16.8vw);position:relative}.deck-card{aspect-ratio:5/7;object-fit:contain;border-radius:12px;width:auto;height:96.3%;position:absolute;box-shadow:0 2px 6px #0006}.deck-card-3{filter:brightness(.78);top:9%;left:12%}.deck-card-2{filter:brightness(.9);top:4.5%;left:6%}.deck-card-1{top:0;left:0;box-shadow:0 8px 20px #0000008c,0 0 20px #7a1fd659}.deck-count{color:#ffffffb3;flex-shrink:0;margin:0;font-size:11px;font-weight:600}.manager-hand{box-sizing:border-box;justify-content:flex-start;align-items:center;gap:12px;width:100%;min-width:0;height:100%;min-height:0;padding:0 8px;display:flex}.manager-hand-slot{aspect-ratio:5/7;box-sizing:border-box;border:2px dashed #ffffff40;border-radius:16px;flex:0 auto;justify-content:center;align-items:center;min-width:0;max-width:12vw;height:100%;display:flex}.manager-hand-card{object-fit:cover;border-radius:12px;width:90%;height:90%;box-shadow:0 6px 18px #00000073}.manager-hand-card-hidden{opacity:0}.meters{box-sizing:border-box;flex-direction:column;justify-content:space-between;width:480px;height:100%;display:flex}.meter-bar{flex-direction:column;gap:4px;display:flex}.meter-bar-top{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.meter-bar-label{color:#ffffff8c;text-transform:uppercase;letter-spacing:.4px;white-space:nowrap;text-overflow:ellipsis;font-size:11px;font-weight:600;overflow:hidden}.meter-bar-track{background:#ffffff1a;border-radius:999px;height:18px;overflow:hidden}.meter-bar-fill{border-radius:999px;height:100%;transition:width .3s}.meter-bar-fill-backlog{background:linear-gradient(90deg,#2f8fff,#1a5fd6);box-shadow:0 0 8px #2f8fff99}.meter-bar-fill-techdebt{background:linear-gradient(90deg,#aa3bff,#7a1fd6);box-shadow:0 0 8px #aa3bff99}.meter-bar-fill-burnout{background:linear-gradient(90deg,#ff6b5b,#c81e1e);box-shadow:0 0 8px #c81e1e99}.meter-bar-fill-vesting{background:linear-gradient(90deg,#ffd76a,#d4a017);box-shadow:0 0 8px #d4a01799}.meter-bar-value{color:#fff;text-align:right;font-size:12px;font-weight:700}.game-card{cursor:grab;-webkit-user-select:none;user-select:none;transform-origin:bottom;z-index:1;border-radius:12px;flex-shrink:0;width:150px;height:210px;transition:transform .18s,box-shadow .18s;position:relative;overflow:hidden;box-shadow:0 6px 18px #00000073;container-type:inline-size}.game-card-hovered{z-index:50;box-shadow:0 24px 48px #0009}.game-card-overlay .game-card-body{flex:1 1 0;min-height:0;max-height:none;overflow:hidden}.game-card-overlay .game-card-template{gap:2cqw}.game-card-overlay .game-card-art-frame{aspect-ratio:1;height:auto}.game-card-dimmed{opacity:.25;pointer-events:none}.game-card:active{cursor:grabbing}.game-card-recurring{animation:3.5s ease-in-out infinite recurring-glow}@keyframes recurring-glow{0%,to{filter:brightness(.6)}50%{filter:brightness(1.4)}}.game-card-stopped-overlay{z-index:2;pointer-events:none;background:repeating-linear-gradient(45deg,#0000004d,#0000004d 10px,#ffffff4d 10px 20px);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.game-card-stopped-label{letter-spacing:.05em;color:#fff;text-shadow:0 2px 6px #000000e6,0 0 4px #000000e6;font-size:14cqw;font-weight:800;transform:rotate(-8deg)}.game-card-template{border:1px solid var(--border-accent);box-sizing:border-box;background:linear-gradient(160deg,#23242c,#16171d);border-radius:8cqw;flex-direction:column;gap:4cqw;width:100%;height:100%;padding:6.67cqw;display:flex}.game-card-template-recurring{background:linear-gradient(160deg,#f2f3f5,#c7cbd1)}.game-card-template-recurring .game-card-type,.game-card-template-recurring .game-card-action,.game-card-template-recurring .game-card-name{color:#000}.game-card-template-recurring .game-card-body{background:#fff6}.game-card-template-eliminate{background:linear-gradient(160deg,#3a0a0a,#160404)}.game-card-eliminate-badge{color:#fff;text-align:center;letter-spacing:.27cqw;background:#b33939;border-radius:999px;flex-shrink:0;padding:2.67cqw 4cqw;font-size:5.33cqw;font-weight:800;box-shadow:0 0 10px #b33939cc}.game-card-reset-badge{color:#23242c;text-align:center;letter-spacing:.27cqw;background:linear-gradient(90deg,#ffd76a,#d4a017);border-radius:999px;flex-shrink:0;padding:2.67cqw 4cqw;font-size:5.33cqw;font-weight:800;box-shadow:0 0 10px #d4a01799}.game-card-template-recurring .game-card-rules{color:#1a1b20}.game-card-header{justify-content:space-between;align-items:center;gap:4cqw;display:flex}.game-card-type,.game-card-action{text-transform:uppercase;letter-spacing:.27cqw;color:#ffffff80;white-space:nowrap;text-overflow:ellipsis;font-size:5.33cqw;overflow:hidden}.game-card-action{text-align:right}.game-card-name{color:#fff;margin:0;font-size:7.5cqw;font-weight:700;line-height:1.2}.game-card-art-frame{border-radius:5.33cqw;flex:none;height:49cqw;min-height:0;overflow:hidden}.game-card-art{object-fit:cover;pointer-events:none;width:100%;height:100%;display:block}.game-card-art-placeholder{background:repeating-linear-gradient(135deg,#ffffff0a,#ffffff0a 5.33cqw,#ffffff14 5.33cqw 10.67cqw);width:100%;height:100%}.game-card-body{box-sizing:border-box;background:#ffffff0f;border-radius:5.33cqw;flex:1 1 0;min-height:0;max-height:34.67cqw;padding:4cqw 5.33cqw;overflow:hidden}.game-card-rules{color:#fffc;margin:0;font-size:5.33cqw;line-height:1.35}.game-card-footer{grid-template-columns:1fr auto 1fr;align-items:center;gap:4cqw;display:grid}.game-card-stat{text-align:center;color:#fff;white-space:nowrap;text-overflow:ellipsis;border-radius:999px;min-width:0;padding:2cqw 4cqw;font-size:5.33cqw;font-weight:700;overflow:hidden}.game-card-stat-slot-left{grid-column:1;justify-self:start}.game-card-stat-slot-center{grid-column:2;justify-self:center}.game-card-stat-slot-right{grid-column:3;justify-self:end}.game-card-stat-color-backlog{background:linear-gradient(90deg,#2f8fff,#1a5fd6);box-shadow:0 0 10px #2f8fff99}.game-card-stat-color-techdebt{background:linear-gradient(90deg,#aa3bff,#7a1fd6);box-shadow:0 0 10px #aa3bff99}.game-card-stat-color-vesting{color:#23242c;background:linear-gradient(90deg,#ffd76a,#d4a017);box-shadow:0 0 10px #d4a01799}.game-card-stat-color-burnout{background:linear-gradient(90deg,#ff6b5b,#c81e1e);min-width:4ch;box-shadow:0 0 10px #c81e1e99}.sparkle-burst{pointer-events:none;position:absolute;inset:0}.sparkle-flash{opacity:0;background:radial-gradient(circle,#ffffffd9,#aa3bff80 45%,#0000 72%);border-radius:16px;animation:.9s ease-out sparkle-flash;position:absolute;inset:-16%}.sparkle-dot{opacity:0;background:#fff;border-radius:50%;width:6px;height:6px;animation:1s ease-out forwards sparkle-dot;position:absolute;box-shadow:0 0 8px 2px #ffffffe6}.sparkle-dot-1{--dx:-18px;--dy:-14px;animation-delay:0s;top:6%;left:10%}.sparkle-dot-2{--dx:20px;--dy:-10px;animation-delay:60ms;top:12%;right:8%}.sparkle-dot-3{--dx:-22px;--dy:6px;animation-delay:.12s;top:45%;left:-4%}.sparkle-dot-4{--dx:22px;--dy:6px;animation-delay:50ms;top:45%;right:-4%}.sparkle-dot-5{--dx:-16px;--dy:16px;animation-delay:.15s;bottom:8%;left:14%}.sparkle-dot-6{--dx:18px;--dy:14px;animation-delay:.1s;bottom:8%;right:12%}@keyframes sparkle-flash{0%{opacity:0;transform:scale(.75)}35%{opacity:1;transform:scale(1.02)}to{opacity:0;transform:scale(1.18)}}@keyframes sparkle-dot{0%{opacity:0;transform:translate(0)scale(.3)}30%{opacity:1}to{opacity:0;transform:translate(var(--dx), var(--dy)) scale(1)}}.battle-area{background:radial-gradient(#7a1fd62e,#0000 70%);border:2px dashed #aa3bff66;border-radius:16px;flex:1;min-height:0;position:relative;overflow:hidden}.battle-area:has(.game-card-hovered){overflow:visible}.history-row{box-sizing:border-box;z-index:1;justify-content:flex-end;align-items:flex-end;padding:8px 20px 24px;display:flex;position:absolute;inset:0 50% 0 0;overflow:hidden}.history-track{flex-shrink:0;align-items:flex-end;gap:16px;height:100%;display:flex}.history-scrollbar{z-index:3;opacity:0;pointer-events:none;background:#ffffff1a;border-radius:999px;height:8px;transition:opacity .2s;position:absolute;bottom:6px;left:20px;right:20px}.history-scrollbar-visible{opacity:1;pointer-events:auto}.history-scrollbar-thumb{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:linear-gradient(90deg,#aa3bff,#7a1fd6);border-radius:999px;height:100%;position:absolute;top:0;box-shadow:0 0 8px #aa3bff99}.history-scrollbar-thumb:active{cursor:grabbing}.history-row:has(.game-card-hovered){z-index:500;overflow:visible}.battle-column-history{flex-direction:column;flex-shrink:0;justify-content:flex-end;align-items:center;gap:12px;height:100%;animation:.4s history-enter;display:flex;position:relative}.battle-column-history:has(.game-card-hovered){z-index:60}@keyframes history-enter{0%{opacity:0}to{opacity:1}}.active-column{box-sizing:border-box;z-index:2;pointer-events:none;flex-direction:column;justify-content:flex-end;align-items:center;gap:12px;height:100%;padding:8px 0 24px;display:flex;position:absolute;inset:0}.active-column .battle-slot{pointer-events:auto}.active-column:has(.game-card-hovered){z-index:500}.battle-slot{aspect-ratio:5/7;flex-shrink:0;width:auto;height:47%;position:relative}.battle-slot .game-card{width:100%;height:100%}.battle-slot-placeholder{border:2px dashed #ffffff4d;border-radius:12px;width:100%;height:100%}.flip-card{perspective:800px;width:100%;height:100%}.flip-card-inner{width:100%;height:100%;transform-style:preserve-3d;transition:transform .55s;position:relative}.flip-card-flipped .flip-card-inner{transform:rotateY(180deg)}.flip-face{backface-visibility:hidden;border-radius:12px;width:100%;height:100%;position:absolute;overflow:hidden}.flip-face-front img{object-fit:cover;border-radius:12px;width:100%;height:100%}.flip-face-back{transform:rotateY(180deg)}.hand{box-sizing:border-box;flex:auto;justify-content:flex-start;align-items:center;gap:12px;min-width:0;height:100%;min-height:0;padding:0 8px;display:flex}.hand-slot{aspect-ratio:5/7;box-sizing:border-box;border:2px dashed #ffffff40;border-radius:16px;flex:0 auto;justify-content:center;align-items:center;min-width:0;max-width:12vw;height:100%;display:flex}.hand-slot .game-card{width:90%;height:90%}.game-board{box-sizing:border-box;flex-direction:column;flex:1;gap:8px;min-height:0;padding:12px;display:flex}.top-bar,.bottom-bar{flex:1 1 0;min-height:0}.battle-row{flex:2 1 0;min-height:0}.top-bar{justify-content:space-between;align-items:stretch;gap:16px;display:flex}.top-bar-manager{flex-direction:column;flex:1;gap:4px;min-width:0;min-height:0;display:flex}.bottom-bar{flex-direction:column;gap:4px;display:flex}.side-label{text-transform:uppercase;letter-spacing:.6px;color:#ffffff80;flex-shrink:0;margin:0 4px;font-size:12px;font-weight:600}.side-row{flex:1;align-items:center;gap:20px;min-height:0;display:flex}.manager-hand-wrap,.hand-wrap{flex:auto;min-width:0;height:100%;min-height:0}.deck-wrap{flex:none;height:100%;min-height:0}.hud{flex-direction:column;flex:none;align-self:stretch;gap:4px;min-height:0;display:flex}.hud-spacer{visibility:hidden}.hud-panel{box-sizing:border-box;border:1px solid var(--border-accent);background:linear-gradient(135deg,#7a1fd640,#14151f99);border-radius:16px;flex:1;align-items:stretch;min-height:0;padding:10px 20px;display:flex;box-shadow:0 0 24px #7a1fd640}.battle-row{align-items:stretch;gap:20px;display:flex}.drag-ghost{pointer-events:none;z-index:1000;position:fixed}.drag-ghost .game-card{width:100%;height:100%}.card-flight{pointer-events:none;z-index:900;transition:top .45s,left .45s,width .45s,height .45s;position:fixed}.card-flight .game-card{width:100%;height:100%}.card-flight-back{object-fit:cover;border-radius:12px;width:100%;height:100%;display:block;box-shadow:0 6px 18px #00000073}
