:root{--bg: #0d1117;--panel: #161b22;--panel-alt: #1c222b;--border: #30363d;--border-hi: #484f58;--text: #e6edf3;--muted: #8b949e;--accent: #58a6ff;--green: #3fb950;--amber: #d29922;--red: #f85149;--purple: #bc8cff;--gold: #f7cc45}*{box-sizing:border-box;margin:0;padding:0}html,body{width:100%;height:100%;background:var(--bg);color:var(--text);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:13px;line-height:1.4;overflow:hidden}#app{position:relative;width:100vw;height:100dvh;overflow:hidden}#top-bar{position:fixed;top:max(10px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));right:calc(316px + max(10px,env(safe-area-inset-right)));z-index:20;pointer-events:none;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}@media(max-width:1280px){#top-bar,#top-bar .top-group{gap:8px;flex-wrap:nowrap}#top-bar .stat-pill{padding:3px 7px;gap:4px;font-size:12px;white-space:nowrap}#top-bar .core-bar-wrap{width:64px}#top-bar .btn{padding:4px 8px;font-size:11px;white-space:nowrap}}@media(max-width:1120px){#top-bar{gap:6px}#top-bar .top-group{gap:5px}#top-bar .core-bar-wrap{display:none}#top-bar .stat-pill{padding:3px 6px;font-size:11px}#top-bar .btn{padding:4px 7px;font-size:11px}}.top-group{pointer-events:auto;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.stat-pill{display:inline-flex;align-items:center;gap:6px;background:#161b22d9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--border);border-radius:6px;padding:4px 10px;font-variant-numeric:tabular-nums}#top-bar .btn{background:#161b22d9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}#top-bar .btn:hover:not(:disabled){background:#2c333deb}.stat-label{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.04em}.stat-val{font-weight:600;color:var(--text)}.stat-val.gold{color:var(--gold)}.stat-val.ap{color:var(--accent)}.phase-badge{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:4px 9px;border-radius:999px;border:1px solid var(--border);background:var(--panel-alt)}.phase-PREP{color:var(--accent);border-color:#58a6ff8c;background:#101c2ceb}.phase-COMBAT{color:var(--red);border-color:#f851498c;background:#2a1216eb}.phase-REWARD{color:var(--gold);border-color:#f7cc458c;background:#282210eb}.phase-VICTORY{color:var(--green);border-color:#3fb9508c;background:#102416eb}.phase-DEFEAT{color:var(--red);border-color:#f8514973;background:#f851491f}.core-meter{display:flex;align-items:center;gap:8px}.core-bar-wrap{width:110px}#main-area{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%}#phaser-host{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background:#11161d;overflow:hidden}canvas{display:block;image-rendering:pixelated;image-rendering:crisp-edges}#side-panel:empty{display:none}#side-panel{position:fixed;top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));width:306px;max-height:calc(100dvh - max(10px,env(safe-area-inset-top)) - max(10px,env(safe-area-inset-bottom)));z-index:20;background:#161b22e0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--border);border-radius:8px;padding:12px;overflow-y:auto;display:flex;flex-direction:column;gap:10px;box-shadow:0 8px 24px #00000073}.status-banner{background:var(--panel-alt);border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:6px;padding:7px 10px;font-size:12px;color:var(--text)}.card{background:var(--panel-alt);border:1px solid var(--border);border-radius:7px;padding:10px;display:flex;flex-direction:column;gap:8px}.section-header{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#21262d;color:var(--text);border:1px solid var(--border);border-radius:6px;padding:6px 10px;font-size:12px;font-weight:600;cursor:pointer;transition:background .12s,border-color .12s,opacity .12s}.btn:hover:not(:disabled){background:#2c333d;border-color:var(--border-hi)}.btn:focus-visible,.tool-btn:focus-visible,.unit-chip:focus-visible,.reward-card:focus-visible,.side-tab-btn:focus-visible,.draft-roster-item:focus-visible,.draft-chip:focus-visible,.branch-btn:focus-visible,.held-equip-icon-btn:focus-visible,.held-remove:focus-visible,.held-slot-remove:focus-visible,.credit-item a:focus-visible,.relic-icon-tile:focus-visible,input[type=checkbox]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-xs{padding:3px 8px;font-size:11px;flex-shrink:0}.active-mode-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:7px;border:1px solid rgba(88,166,255,.55);background:#58a6ff21;font-size:12px;font-weight:600;color:var(--text)}.active-mode-bar.ult{border-color:#bc8cff99;background:#bc8cff26}.active-mode-text{min-width:0;line-height:1.3}.btn-primary{background:#238636;border-color:#2ea043;color:#fff}.btn-primary:hover:not(:disabled){background:#2ea043;border-color:#3fb950}.btn-accent{background:#58a6ff29;border-color:#58a6ff8c;color:var(--accent)}.btn-accent:hover:not(:disabled){background:#58a6ff40}.btn-ult{background:#bc8cff2e;border-color:#bc8cff99;color:var(--purple)}.btn-ult:hover:not(:disabled){background:#bc8cff47}.btn-danger{background:#f8514926;border-color:#f8514980;color:var(--red)}.btn-danger:hover:not(:disabled){background:#f8514940}.btn-wave{width:100%;padding:10px 12px;font-size:14px;letter-spacing:.03em}.btn-row{display:flex;gap:6px;flex-wrap:wrap}.btn-row>.btn{flex:1}.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.tool-btn{text-align:left;padding:7px 8px;display:flex;align-items:center;gap:7px;background:var(--panel);border:1px solid var(--border);border-radius:6px;color:var(--text);cursor:pointer;transition:border-color .12s,background .12s}.tool-btn:hover{border-color:var(--border-hi);background:#21262d}.tool-btn.active{border-color:var(--accent);background:#58a6ff24}.tool-btn.active-danger{border-color:var(--red);background:#f8514926}.tool-btn.unaffordable{border-style:dashed;border-color:#f8514973;background:#f851490f}.tool-icon{width:24px;height:24px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;background:var(--panel-alt);border:1px solid var(--border)}.tool-icon svg{width:16px;height:16px;display:block}.tool-meta{min-width:0;flex:1;display:flex;flex-direction:column;gap:1px}.tool-name{font-weight:600;font-size:11.5px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tool-cost{color:var(--gold);font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}.tool-cost.free{color:var(--accent)}.tool-cost.refund{color:var(--amber)}.tool-btn.unaffordable .tool-cost{color:var(--red)}.shop-tooltip{background:var(--panel-alt);border:1px solid var(--border);border-radius:7px;padding:7px 9px;display:flex;flex-direction:column;gap:4px;font-size:11px}.shop-tooltip:empty{display:none}.shop-tooltip-head{display:flex;align-items:center;justify-content:space-between;gap:6px;font-weight:700;color:var(--text)}.shop-tooltip-tags{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.shop-need{color:var(--red);font-weight:600}.tool-desc{font-size:11px;color:var(--muted);line-height:1.25}.bar-track{width:100%;height:7px;background:#0d1117;border:1px solid var(--border);border-radius:999px;overflow:hidden}.bar-fill{height:100%;transition:width .12s linear}.bar-hp{background:var(--green)}.bar-core{background:#38bdf8}.bar-ult{background:var(--purple)}.bar-row{display:flex;flex-direction:column;gap:3px}.bar-labels{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.unit-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.unit-name-wrap{display:flex;align-items:center;gap:7px}.swatch{width:10px;height:10px;border-radius:50%;border:1px solid rgba(255,255,255,.35);flex-shrink:0}.tag{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:2px 6px;border-radius:4px;background:var(--panel);border:1px solid var(--border);color:var(--muted)}.tag.fainted{color:var(--red);border-color:#f8514980}.tag.ruined{color:var(--amber);border-color:#d2992280}.desc-box{font-size:11px;color:var(--muted);background:var(--panel);border:1px solid var(--border);border-radius:5px;padding:6px 8px;display:flex;flex-direction:column;gap:4px;font-variant-numeric:tabular-nums}.desc-box strong{color:var(--text)}.unit-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.unit-stats-grid-5{grid-template-columns:repeat(5,1fr)}.unit-stats-grid-6{grid-template-columns:repeat(6,1fr)}@media(max-width:640px){.unit-stats-grid-5,.unit-stats-grid-6{grid-template-columns:repeat(3,1fr)}}.unit-stat{background:var(--panel);border:1px solid var(--border);border-radius:5px;padding:4px 5px;display:flex;flex-direction:column;align-items:center;gap:1px;font-variant-numeric:tabular-nums}.unit-stat-lbl{font-size:9.5px;font-weight:700;color:var(--muted);letter-spacing:.04em}.unit-stat-val{font-size:12px;font-weight:700;color:var(--text)}.toggle-label{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--text);cursor:pointer;-webkit-user-select:none;user-select:none}.chips-grid{display:flex;flex-wrap:wrap;gap:6px}.unit-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:6px;background:var(--panel);border:1px solid var(--border);color:var(--text);font-size:12px;cursor:pointer}.unit-chip:hover:not(:disabled){border-color:var(--border-hi);background:#21262d}.unit-chip.selected{border-color:var(--accent);background:#58a6ff26}.unit-chip.fainted{opacity:.55;border-style:dashed;border-color:#f851498c}.unit-chip.reserve{border-style:dashed}.unit-chip:disabled{opacity:.5;cursor:not-allowed}.chip-hp{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.ult-pip{font-size:9px;font-weight:700;letter-spacing:.04em;padding:1px 4px;border-radius:4px;color:var(--purple);background:#bc8cff29;border:1px solid rgba(188,140,255,.55)}.badge-list{display:flex;flex-wrap:wrap;gap:5px}.relic-badge{font-size:11px;padding:3px 7px;border-radius:5px;background:var(--panel);border:1px solid var(--border);color:var(--text)}.relic-badge.artifact{border-color:#f7cc4573;color:var(--gold)}.relic-badge.upgrade{border-color:#58a6ff73;color:var(--accent)}#modal-root:empty{display:none}#modal-root{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#010409b8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:max(20px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left))}.modal-card{width:100%;max-width:720px;max-height:90dvh;overflow-y:auto;background:var(--panel);border:1px solid var(--border-hi);border-radius:10px;padding:20px;display:flex;flex-direction:column;gap:14px;box-shadow:0 20px 50px #0009}.modal-card.compact{max-width:520px}#modal-root.is-fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#0d1117;-webkit-backdrop-filter:none;backdrop-filter:none;padding:0;display:flex}#modal-root.is-fullscreen .menu-backdrop{position:relative;inset:auto;width:100%;height:100%;padding:0;z-index:auto}#modal-root.is-fullscreen .modal-card{width:100%;height:100%;max-width:none;max-height:100dvh;border-radius:0;border:none;box-shadow:none;padding:20px 28px}#modal-root.is-fullscreen .modal-card.draft-modal{padding:24px 36px;gap:18px}#modal-root.is-fullscreen .modal-card.draft-modal .modal-header .btn{min-height:36px;padding:7px 14px;font-size:13px}#modal-root.is-fullscreen .modal-card.draft-modal .modal-header .btn-icon{width:36px;height:36px;padding:0}#modal-root.is-fullscreen .draft-body{gap:20px;grid-template-columns:minmax(0,1fr) clamp(340px,28vw,440px)}#modal-root.is-fullscreen .draft-roster-grid{padding:14px;gap:10px;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}#modal-root.is-fullscreen .draft-detail-panel{padding:18px 20px;gap:14px}#modal-root.is-fullscreen .menu-backdrop>.modal-card{background:#0d1117c7}#modal-root.is-fullscreen .modal-card.home-modal{background:linear-gradient(180deg,#0d111747,#0d11171f 55%,#0d11177a);align-items:flex-start;justify-content:space-between;text-align:left;padding:max(24px,env(safe-area-inset-top)) max(28px,env(safe-area-inset-right)) max(28px,env(safe-area-inset-bottom)) max(28px,env(safe-area-inset-left))}#modal-root.is-fullscreen .modal-card.btd6-map-select{background:#0d111785;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;flex-direction:column;justify-content:space-between;gap:14px}.btd6-map-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.btd6-back-btn{background:linear-gradient(180deg,#38bdf8,#0284c7);border-color:#7dd3fc;color:#fff;font-weight:700;box-shadow:0 3px 10px #0284c773}.btd6-map-heading{text-shadow:0 2px 8px rgba(0,0,0,.8)}.btd6-topbar-spacer{width:72px}.btd6-map-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:980px;width:100%;margin:auto;align-content:center}@media(max-width:860px){.btd6-map-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.btd6-map-grid{grid-template-columns:1fr}}.btd6-map-card{position:relative;display:flex;flex-direction:column;padding:0;overflow:hidden;border-radius:12px;border:2px solid #b48a5a;background:#1b222c;box-shadow:0 8px 20px #0000008c;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease}.btd6-map-card:hover:not(:disabled){transform:translateY(-3px);border-color:#fde047;box-shadow:0 12px 26px #000000a6}.btd6-map-card.is-selected{border-color:#38bdf8;box-shadow:0 0 0 2px #38bdf880,0 12px 26px #000000a6}.map-card-banner{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;background:linear-gradient(180deg,#2d2116,#1e160f);border-bottom:1px solid rgba(255,255,255,.12)}.map-card-banner .map-card-title{font-size:12px;font-weight:800;letter-spacing:.04em;color:#fef3c7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.map-card-banner .map-diff-badge{position:static;flex-shrink:0}.btd6-map-card .map-preview-wrap{aspect-ratio:16 / 10;width:100%}.btd6-difficulty-bar{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding-bottom:6px}.map-diff-tab{min-width:96px;border-radius:999px;font-weight:700;padding:7px 16px;background:#161b22e0;border:1px solid var(--border-hi)}.map-diff-tab.is-active{box-shadow:0 0 0 2px #58a6ff73}.home-bg-hit{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;cursor:pointer}.home-top-controls{position:absolute;top:max(18px,env(safe-area-inset-top));right:max(22px,env(safe-area-inset-right));z-index:2;display:flex;align-items:center;gap:8px}.home-hero{position:relative;z-index:1;pointer-events:none;max-width:560px;text-shadow:0 2px 12px rgba(0,0,0,.85)}.home-press-play{position:absolute;left:50%;bottom:max(28px,env(safe-area-inset-bottom));transform:translate(-50%);z-index:1;pointer-events:none;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#f8fafcdb;text-shadow:0 2px 8px rgba(0,0,0,.85);animation:homePulse 2.2s ease-in-out infinite}@keyframes homePulse{0%,to{opacity:.5}50%{opacity:1}}.home-bg-drift{animation:homeBgDrift 24s ease-in-out infinite alternate;will-change:transform}@keyframes homeBgDrift{0%{transform:scale(1) translateZ(0)}to{transform:scale(1.06) translate3d(-1%,-.8%,0)}}@media(prefers-reduced-motion:reduce){.home-press-play,.home-bg-drift{animation:none}}#modal-root.is-fullscreen .modal-card.home-modal .home-actions{position:relative;z-index:2;align-self:flex-end;width:220px;max-width:100%;margin-top:auto;display:flex;flex-direction:column;gap:8px}.home-btn.has-eggs{position:relative}.egg-notify-dot{position:absolute;top:6px;right:8px;width:8px;height:8px;border-radius:50%;background:#fbbf24;box-shadow:0 0 8px #fbbf24e6}#modal-root.is-fullscreen .modal-card.hatch-reveal-modal{justify-content:center}#modal-root.is-docked{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;pointer-events:none;display:flex;align-items:flex-end;justify-content:center;padding:72px 326px 96px 16px}#modal-root.is-docked .modal-card,.modal-card.docked-panel{pointer-events:auto;width:100%;max-width:780px;height:auto;max-height:calc(100dvh - 172px);overflow-y:auto;box-shadow:0 12px 32px #0000008c;background:#161b22f0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}@media(max-width:900px){#modal-root.is-docked{padding:64px 12px 88px}#modal-root.is-docked .modal-card,.modal-card.docked-panel{max-height:calc(100dvh - 156px)}}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-title{font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}.reward-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}@media(max-width:720px){.reward-grid{grid-template-columns:1fr}}.reward-card{text-align:left;background:var(--panel-alt);border:1px solid var(--border);border-radius:8px;padding:12px;color:var(--text);cursor:pointer;display:flex;flex-direction:column;gap:8px;transition:border-color .12s,transform .12s}.reward-card:hover{border-color:var(--accent);transform:translateY(-2px)}.reward-title{font-size:14px;font-weight:700}.reward-desc{font-size:12px;color:var(--muted)}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stat-box{background:var(--panel-alt);border:1px solid var(--border);border-radius:7px;padding:10px;text-align:center}.stat-box-val{font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}.credits-list{display:flex;flex-direction:column}.credit-item{border-bottom:1px solid var(--border);padding:9px 0;display:flex;flex-direction:column;gap:3px}.credit-item:last-child{border-bottom:none;padding-bottom:0}.credit-item a{color:var(--accent);text-decoration:none;word-break:break-all;font-size:12px}.credit-item a:hover{text-decoration:underline}.btn-xs{padding:4px 8px;font-size:11px;font-variant-numeric:tabular-nums}.modal-card.draft-modal{width:94vw;max-width:960px;height:min(88dvh,780px);max-height:90dvh;display:flex;flex-direction:column;overflow:hidden}.draft-team-bar{display:flex;flex-wrap:wrap;gap:6px}.draft-chip{font-size:11px;font-weight:600;padding:3px 8px;border-radius:999px;border:1px solid var(--border);background:#0f172ab3;color:var(--text);cursor:pointer}.draft-chip:hover{background:#58a6ff1f}.draft-chip.is-inspected{box-shadow:0 0 0 1px var(--accent);background:#58a6ff2e}.draft-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1.35fr) 360px;gap:14px;align-items:stretch}.draft-roster-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:7px;height:100%;overflow-y:auto;align-content:start;padding-right:6px}.draft-detail-panel{height:100%;overflow-y:auto;padding-right:4px}.draft-roster-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 6px;border-radius:7px;border:1px solid var(--border);background:var(--panel-alt);color:var(--text);cursor:pointer;text-align:center;min-width:0}.draft-roster-item:hover{border-color:var(--border-hi)}.pokedex-card.draft-roster-item.is-picked,.draft-roster-item.is-picked{border-color:#4ade80;border-top-color:#4ade80;background:linear-gradient(180deg,#3fb95047,#13261cf0);box-shadow:0 0 0 2px #4ade807a,0 6px 16px #3fb95038}.draft-roster-item.is-picked:after{content:"✓";position:absolute;bottom:5px;right:6px;width:18px;height:18px;border-radius:999px;background:#22c55e;color:#052e16;font-size:11px;font-weight:900;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px #00000073}.draft-roster-item.is-inspected{border-color:var(--accent);background:#58a6ff24}.draft-roster-item.is-unaffordable{opacity:.55}.draft-roster-name{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.draft-detail-panel{background:var(--panel-alt);border:1px solid var(--border);border-radius:8px;padding:10px;display:flex;flex-direction:column;gap:8px}.draft-detail-panel .desc-box{font-size:11px;line-height:1.35;padding:7px 9px}.draft-detail-header{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.draft-detail-identity{display:flex;align-items:center;gap:10px;min-width:0}.draft-detail-title{display:flex;flex-direction:column;gap:4px}.draft-detail-name{font-size:15px;font-weight:700;color:var(--text)}.draft-detail-tags{display:flex;flex-wrap:wrap;gap:5px;align-items:center}.poke-icon-wrap.lg{width:52px;height:52px}.draft-roster-item .poke-icon-wrap{width:48px;height:48px}.snowflake-wrap{display:flex;flex-direction:column;align-items:center;gap:4px}.snowflake-svg{width:100%;max-width:260px;height:auto;display:block}@media(max-width:720px){.modal-card.draft-modal{height:auto;max-height:92dvh;overflow-y:auto}.draft-body{grid-template-columns:1fr;overflow:visible}.draft-roster-grid{grid-template-columns:repeat(3,minmax(0,1fr));height:auto;max-height:300px}.draft-detail-panel{height:auto;overflow:visible}}.starter-tag{background:#38bdf829;color:#7dd3fc}.locked-tag{background:#94a3b829;color:#94a3b8}.picked-tag{background:#3fb9502e;color:#7ee787;border:1px solid rgba(63,185,80,.4)}.ready-tag{background:#58a6ff24;color:#93c5fd}.btn-sm{padding:5px 10px;font-size:12px;white-space:nowrap}.btn-icon{padding:5px 9px;font-size:13px;line-height:1;min-width:30px;display:inline-flex;align-items:center;justify-content:center}.pokedex-header-actions{flex-wrap:nowrap;flex-shrink:0}.roster-filter-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:6px 10px;border-radius:8px;background:#0d1117a6;border:1px solid var(--border)}.roster-filter-group{display:inline-flex;align-items:center;gap:6px}.roster-filter-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.roster-select{background:var(--panel-alt);color:var(--text);border:1px solid var(--border);border-radius:6px;padding:3px 8px;font-size:12px;font-family:inherit;cursor:pointer}.roster-select:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.roster-reset-btn{margin-left:auto}.card-mini-bar{width:100%;height:3px;border-radius:999px;background:#ffffff14;overflow:hidden;margin-top:2px}.card-mini-fill{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#38bdf8,#3fb950)}.card-mini-fill.is-max{background:linear-gradient(90deg,#f59e0b,#fde047)}.draft-roster-item.is-ready{border-color:#3fb9508c;box-shadow:inset 0 0 0 1px #3fb95040}.draft-card-cost{font-size:10px;font-weight:800;color:#fde68a;background:#fbbf2424;padding:1px 5px;border-radius:4px;font-variant-numeric:tabular-nums}.pokedex-prog-label{white-space:nowrap}.temp-test-feedback{margin-top:8px;padding:6px 10px;border-radius:6px;background:#38bdf81f;border:1px solid rgba(56,189,248,.35);color:#bae6fd;font-size:12px}.draft-roster-item.is-locked{background:#0d1117c7;color:var(--muted);opacity:.65}.draft-roster-item.is-locked img{filter:grayscale(1) brightness(.65)}.home-modal{position:relative;text-align:center;max-width:460px;padding:28px 26px}.home-github-btn{width:32px;height:32px;color:var(--muted);text-decoration:none}.home-github-btn:hover{color:#f8fafc}.home-github-btn svg{width:17px;height:17px}.home-title-row{display:inline-flex;align-items:center;justify-content:center;gap:10px;margin-bottom:10px;white-space:nowrap}.home-alpha-badge{display:inline-block;flex-shrink:0;padding:3px 10px;border-radius:999px;border:1px solid rgba(247,204,69,.55);background:#2c220cc7;color:var(--gold);font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;text-shadow:none}.home-title{font-size:clamp(36px,5vw,54px);font-weight:900;line-height:1.05;letter-spacing:-.025em;color:#f8fafc;margin:0}.home-subtitle{font-size:15px;color:#e2e8f0;line-height:1.5;margin:0 auto 16px}.home-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}.home-btn{display:inline-flex;align-items:center;justify-content:center;min-width:112px;padding:10px 18px;font-family:inherit;font-size:14px;font-weight:700;line-height:normal;text-decoration:none}.home-toggle-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px}.home-toggle-btn svg{width:16px;height:16px;flex-shrink:0}.btn[aria-pressed=true]{border-color:#f7cc458c;background:#2c220cd9;color:var(--gold)}.draft-cost-picked{background:#3fb95038;color:var(--green)}.held-box{margin-top:8px;padding-top:8px;border-top:1px solid var(--border)}.branch-header{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;margin-bottom:6px}.branch-tag{background:#a855f733;color:#d8b4fe}.branch-chosen-desc{font-size:11px;color:var(--muted)}.branch-list{display:flex;flex-direction:column;gap:5px}.branch-btn{text-align:left;background:var(--panel-alt);border:1px solid var(--border);border-radius:6px;padding:6px 8px;color:var(--text);cursor:pointer;display:flex;flex-direction:column;gap:2px;font-size:11px}.branch-btn:hover{border-color:var(--accent)}.branch-btn span{color:var(--muted)}.held-slots{display:flex;flex-direction:column;gap:4px}.held-slot{display:flex;justify-content:space-between;align-items:center;padding:4px 8px;border-radius:5px;font-size:11px;border:1px dashed var(--border);color:var(--muted)}.held-slot.filled{border-style:solid;background:var(--panel-alt);color:var(--text)}.held-remove{background:transparent;border:none;color:var(--red);cursor:pointer;font-size:13px;line-height:1;padding:0 3px}.held-equip-row{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.shop-items-list{display:flex;flex-direction:column;gap:6px}.shop-item-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 8px;background:var(--panel-alt);border:1px solid var(--border);border-radius:6px}.shop-item-info{display:flex;flex-direction:column;gap:2px;font-size:11px}.shop-item-desc{color:var(--muted);font-size:10px}.side-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px}.side-tab-btn{background:var(--panel-alt);border:1px solid var(--border);border-radius:7px;color:var(--muted);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;padding:7px 10px;cursor:pointer}.side-tab-btn:hover{color:var(--text);border-color:var(--accent)}.side-tab-btn.active{background:#58a6ff29;border-color:var(--accent);color:var(--text)}.team-unit-card{background:var(--panel-alt);border:1px solid var(--border);border-radius:7px;padding:8px 9px;display:flex;flex-direction:column;gap:6px}.team-unit-card.selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px #58a6ff59}.team-unit-list{display:flex;flex-direction:column;gap:8px}.expanded-branches-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;margin-top:8px}.expanded-branch-card{background:var(--panel-alt);border:1px solid var(--border);border-radius:7px;padding:10px;display:flex;flex-direction:column;gap:6px;font-size:12px}.expanded-branch-head{display:flex;justify-content:space-between;align-items:center;gap:6px}.branch-action-btn{margin-top:auto;width:100%}.held-slots-3col{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.held-slots-3col .held-slot{min-height:34px;justify-content:center;text-align:center}.held-slots-3col .held-slot.filled{justify-content:space-between;text-align:left}.held-slot-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.unit-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:8px;border-top:1px solid var(--border)}.unit-modal-footer .target-priority-row{margin:0;flex:1}.expanded-branch-card.chosen{border-color:var(--green);background:#3fb9501f}.expanded-branch-card span{color:var(--muted);font-size:11px}.poke-icon-wrap{width:28px;height:28px;flex-shrink:0;border-radius:6px;background:#0f172abf;border:1px solid var(--border);display:inline-flex;align-items:center;justify-content:center;overflow:hidden}.poke-icon-wrap img{width:100%;height:100%;display:block;image-rendering:pixelated;object-fit:cover}.relic-icons-row{display:flex;flex-wrap:wrap;gap:6px}.relic-icon-tile{width:28px;height:28px;border-radius:6px;background:var(--panel-alt);border:1px solid var(--border);display:inline-flex;align-items:center;justify-content:center;cursor:help}.relic-icon-tile.upgrade{border-color:#3fb95073}.relic-icon-tile.artifact{border-color:#bc8cff73}.relic-icon-tile:hover,.relic-icon-tile:focus-visible,.relic-icon-tile.is-active{border-color:var(--accent);background:#58a6ff24}.relic-tooltip{margin-top:6px;padding:6px 8px;border-radius:6px;background:var(--panel-alt);border:1px solid var(--border);display:flex;flex-direction:column;gap:2px}.relic-tooltip:empty{display:none}.relic-tooltip-head{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:11px;font-weight:700}.relic-icon-tile svg,.held-slot-icon svg{width:18px;height:18px;display:block}.held-slots-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.held-slot-icon{position:relative;width:28px;height:28px;border-radius:6px;border:1px dashed var(--border);background:#0f172a80;display:inline-flex;align-items:center;justify-content:center}.held-slot-icon.filled{border-style:solid;border-color:var(--border-hi);background:var(--panel);cursor:help}.held-slot-remove{position:absolute;top:-5px;right:-5px;width:14px;height:14px;border-radius:999px;border:1px solid var(--border);background:var(--panel);color:var(--red);font-size:10px;line-height:12px;text-align:center;cursor:pointer;padding:0;opacity:.72;transition:opacity .12s ease}.held-slot-icon.filled:hover .held-slot-remove,.held-slot-icon.filled:focus-within .held-slot-remove,.held-slot-remove:focus-visible{opacity:1}.held-equip-icon-btn{height:28px;padding:0 6px;border-radius:6px;border:1px solid var(--border);background:var(--panel);color:var(--text);display:inline-flex;align-items:center;gap:3px;cursor:pointer;font-size:11px}.held-equip-icon-btn:hover{border-color:var(--accent)}.held-equip-icon-btn svg{width:15px;height:15px}.branch-chip-row{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0}.branch-chip{display:inline-block;padding:1px 6px;border-radius:4px;font-size:10px;font-weight:700;background:#58a6ff24;color:#7dd3fc;border:1px solid rgba(88,166,255,.28)}.expanded-branch-card.locked{opacity:.48}.minor-pool-box{margin-top:12px;padding-top:10px;border-top:1px solid var(--border)}.minor-pool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:6px}.minor-pool-item{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:6px 8px;background:var(--panel-alt);border:1px solid var(--border);border-radius:6px;font-size:11px}.minor-pool-item.owned{border-color:#38bdf873;background:#38bdf814}.minor-pool-name{font-weight:600;color:var(--text)}.menu-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:45;display:flex;align-items:center;justify-content:center;padding:max(20px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));background:radial-gradient(circle at 50% 25%,rgba(56,189,248,.16),transparent 55%),radial-gradient(circle at 20% 80%,rgba(63,185,80,.12),transparent 45%),linear-gradient(160deg,#0b111b,#0d1520,#090d14)}.menu-backdrop-img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;opacity:.65;pointer-events:none;z-index:0}.menu-backdrop>.modal-card{position:relative;z-index:1}.map-select-modal{width:min(920px,95vw);max-height:90dvh;overflow-y:auto}.map-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:10px}@media(max-width:720px){.map-grid{grid-template-columns:1fr}}.map-card{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;text-align:left;font:inherit;color:inherit;background:var(--panel-alt);border:1px solid var(--border);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;cursor:pointer;transition:border-color .15s ease,transform .15s ease}.map-card:hover:not(:disabled){border-color:var(--accent);transform:translateY(-2px)}.map-card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.map-card:disabled{cursor:not-allowed}.map-card.is-selected{border-color:var(--green)}.map-preview-wrap{position:relative;width:100%;aspect-ratio:28 / 18;background:#1a3317;border-bottom:1px solid var(--border)}.map-preview-svg,.map-preview-img{width:100%;height:100%;display:block}.map-preview-img{object-fit:cover}.map-diff-badge{position:absolute;top:8px;right:8px;font-weight:700}.diff-beginner{background:#3fb95040;color:#7ee787;border:1px solid rgba(63,185,80,.45)}.diff-intermediate{background:#58a6ff40;color:#79c0ff;border:1px solid rgba(88,166,255,.45)}.diff-advanced{background:#d2992247;color:#f7cc45;border:1px solid rgba(210,153,34,.5)}.diff-expert{background:#f8514942;color:#ffa198;border:1px solid rgba(248,81,73,.5)}.map-card-body{padding:12px;display:flex;flex-direction:column;gap:6px;flex:1}.map-card-title{font-size:15px;font-weight:700;color:#f8fafc}.map-card-desc{font-size:12px;color:var(--muted);flex:1;margin-bottom:4px}.map-card.is-coming-soon{opacity:.65}.map-card.is-coming-soon:hover{border-color:var(--border);transform:none}.map-coming-soon{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;letter-spacing:.12em;color:#f8fafc;text-shadow:0 2px 6px rgba(0,0,0,.85);background:#0b111b8f;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.card-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.card-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.card-hint{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.cost-tag{color:var(--gold);border-color:#f7cc4573;background:#f7cc451f}.tag-gold{color:var(--gold);border-color:#f7cc4573;background:#f7cc4524}.tag.selected-tag{color:var(--accent);border-color:#58a6ff80;background:#58a6ff24}.draft-branches{display:flex;flex-direction:column;gap:3px}.branch-line{padding-left:4px}.map-popover{position:fixed;z-index:25;width:256px;max-width:calc(100vw - 24px);background:#161b22f5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--border-hi);border-radius:10px;padding:10px 12px;box-shadow:0 12px 28px #0000008c;display:flex;flex-direction:column;gap:8px}.map-popover[hidden]{display:none}.popover-head{display:flex;align-items:center;justify-content:space-between;gap:6px}.popover-title-wrap{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-width:0;font-size:13px}.popover-close{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:1px solid transparent;border-radius:6px;color:var(--muted);cursor:pointer;font-size:16px;line-height:1;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.popover-close:hover{color:var(--text);background:#ffffff14}.popover-close:active{background:#ffffff24}.popover-close:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.popover-meta-row{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-variant-numeric:tabular-nums}.popover-desc{font-size:11.5px;line-height:1.35;color:var(--muted)}.popover-stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.popover-kit{display:flex;flex-direction:column;gap:3px;font-size:11px;line-height:1.35;color:var(--muted)}.popover-kit-line strong{color:var(--text)}.target-priority-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 8px;margin:4px 0;border-radius:6px;background:#0f172a8c;border:1px solid var(--border);font-size:11.5px}.target-priority-label{color:var(--muted);font-weight:600}.target-priority-stepper{display:inline-flex;align-items:center;gap:6px}.target-step-btn{min-width:22px;padding:1px 6px;line-height:1.2}.target-priority-value{min-width:86px;text-align:center;font-weight:700;color:var(--text)}::selection{background:#58a6ff59;color:var(--text)}*{scrollbar-width:thin;scrollbar-color:var(--border-hi) var(--bg)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--bg)}::-webkit-scrollbar-thumb{background:var(--border-hi);border-radius:4px;border:2px solid var(--bg)}::-webkit-scrollbar-thumb:hover{background:var(--muted)}#top-bar{align-items:flex-start;gap:10px;flex-wrap:nowrap}.top-left-relics{pointer-events:auto;position:relative;display:flex;flex-direction:column;gap:4px;max-width:240px}.relic-cluster{display:flex;align-items:center;background:#0e131bdb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--border);border-radius:7px;padding:4px 6px}.relic-empty-pill{font-size:11px;color:var(--muted);padding:1px 4px;white-space:nowrap}.top-relic-tooltip{position:absolute;top:100%;left:0;margin-top:4px;min-width:220px;max-width:280px;z-index:30;box-shadow:0 8px 20px #0000008c}.top-relic-tooltip:empty{display:none}.top-center-hud{pointer-events:auto;display:flex;flex-direction:column;align-items:center;gap:3px;margin:0 auto}.top-center-main{display:flex;align-items:center;gap:10px;background:#0e131beb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--border-hi);border-radius:8px;padding:5px 12px;box-shadow:0 6px 20px #00000073}.top-cap-left,.top-cap-right{display:flex;align-items:center;gap:8px;font-variant-numeric:tabular-nums}.hud-gold{font-weight:700;color:var(--gold);font-size:13px}.hud-core{display:flex;align-items:center;gap:5px;font-size:12px}.hud-core .core-bar-wrap{width:58px}.hud-ap{font-size:12px;color:var(--muted)}.hud-ap strong{color:var(--accent)}.wave-timeline{display:flex;align-items:center;gap:2px;padding:0 6px;border-left:1px solid var(--border);border-right:1px solid var(--border)}.tl-sep{color:var(--border-hi);font-size:10px;line-height:1}.tl-node{position:relative;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:4px;color:var(--muted);opacity:.65;transition:transform .15s ease,opacity .15s ease,color .15s ease}.tl-node svg{width:12px;height:12px}.tl-node .tl-num{position:absolute;bottom:-1px;right:1px;font-size:8px;font-weight:700;line-height:1}.tl-node.done{opacity:.35;color:var(--green)}.tl-node.current{opacity:1;color:var(--gold);background:#f7cc4529;border:1px solid rgba(247,204,69,.65);transform:scale(1.1)}.tl-node.shop{color:var(--amber)}.tl-node.boss.upcoming{color:var(--red);opacity:.85}.top-center-sub{display:inline-flex;align-items:center;gap:8px;background:#0e131bdb;border:1px solid var(--border);border-radius:999px;padding:2px 10px;font-size:11px;font-weight:600;color:var(--text);font-variant-numeric:tabular-nums}.hud-timer{color:var(--muted)}.phase-SHOP{color:var(--gold);border-color:#f7cc458c;background:#2c220ceb}.top-controls{gap:6px;flex-wrap:nowrap}.btn-icon{width:28px;height:28px;padding:0;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.btn-icon svg{width:15px;height:15px}.btn-speed{min-width:34px;text-align:center;font-variant-numeric:tabular-nums}@media(max-width:1220px){#top-bar{gap:4px}.top-left-relics{max-width:120px}.top-center-main{padding:3px 6px;gap:5px}.hud-core .stat-label,.hud-core .core-bar-wrap{display:none}.wave-timeline{padding:0 3px;gap:1px}.tl-sep{display:none}.tl-node{width:14px;height:14px}.tl-node svg{width:9px;height:9px}.tl-node .tl-num{font-size:7px}.top-center-hud{min-width:0;flex-shrink:1}#top-bar .top-controls{gap:3px}#top-bar .top-controls .btn{padding:3px 5px;font-size:11px}#top-bar .top-controls .btn-icon{width:24px;height:24px;padding:0}#top-bar .top-controls .btn-speed{min-width:28px}}.combat-stats-card{display:flex;flex-direction:column;gap:8px}.stat-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:var(--bg);padding:3px;border-radius:6px;border:1px solid var(--border)}.stat-tab-btn{display:inline-flex;align-items:center;justify-content:center;height:28px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--muted);cursor:pointer}.stat-tab-btn svg{width:15px;height:15px}.stat-tab-btn.active{background:var(--panel-alt);border-color:var(--border-hi);color:var(--text)}.combat-stats-title{font-size:11px;font-weight:700;letter-spacing:.08em;color:var(--muted);text-align:center}.combat-stats-list{display:flex;flex-direction:column;gap:8px}.combat-stat-row{display:flex;align-items:center;gap:8px}.combat-stat-row.fainted{opacity:.55}.combat-stat-avatar{width:28px;height:28px;border-radius:50%;background:var(--bg);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden}.combat-stat-avatar img{width:26px;height:26px;object-fit:contain}.combat-stat-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.combat-stat-head{display:flex;justify-content:space-between;align-items:baseline;gap:6px;font-size:12px}.combat-stat-name{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.combat-stat-num{font-variant-numeric:tabular-nums;font-weight:700;font-size:12px}.combat-stat-track{width:100%;height:6px;background:var(--bg);border-radius:999px;overflow:hidden}.combat-stat-fill{height:100%;border-radius:999px;transition:width .15s ease}.stat-bar-dealt{background:linear-gradient(90deg,#c026d3,#e879f9)}.stat-bar-taken{background:linear-gradient(90deg,#2563eb,#60a5fa)}.stat-bar-healed{background:linear-gradient(90deg,#16a34a,#4ade80)}.bag-items-wrap{display:flex;flex-wrap:wrap;gap:5px}.bag-item-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border-radius:5px;border:1px solid var(--border);background:var(--bg);color:var(--text);font-size:11px;cursor:pointer}.bag-item-chip:hover:not(:disabled){border-color:var(--accent)}.bag-item-chip:disabled{opacity:.45;cursor:not-allowed}#bottom-bar{position:fixed;bottom:max(10px,env(safe-area-inset-bottom));left:max(10px,env(safe-area-inset-left));right:calc(316px + max(10px,env(safe-area-inset-right)));z-index:20;pointer-events:none;display:flex;justify-content:center}.bottom-roster-bar{pointer-events:auto;display:flex;align-items:flex-end;gap:8px;background:#0e131be6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--border-hi);border-radius:10px;padding:6px 12px;box-shadow:0 8px 24px #00000080;max-width:100%;overflow-x:auto}.bottom-group-label{font-size:10px;font-weight:700;letter-spacing:.08em;color:var(--muted);align-self:center;padding:0 2px}.bottom-slots-row{display:flex;align-items:flex-end;gap:6px}.bottom-divider{width:1px;height:56px;background:var(--border-hi);align-self:center;margin:0 2px}.bp-slot{display:flex;flex-direction:column;align-items:center;gap:3px;width:62px;flex-shrink:0}.bp-slot.reserve{width:54px}.bp-items-row{display:flex;align-items:center;justify-content:center;gap:2px;height:15px}.bp-item-slot{position:relative;width:14px;height:14px;border-radius:3px;border:1px solid var(--border);background:#0d1117cc;display:inline-flex;align-items:center;justify-content:center}.bp-item-slot.filled{border-color:var(--gold);background:#28200ee6}.bp-item-slot svg,.bp-item-slot img{width:11px;height:11px}.bp-item-remove{position:absolute;top:-4px;right:-4px;width:11px;height:11px;border-radius:50%;border:none;background:var(--red);color:#fff;font-size:8px;line-height:1;display:none;align-items:center;justify-content:center;cursor:pointer;padding:0}.bp-item-slot.filled:hover .bp-item-remove,.bp-item-slot.filled:focus-within .bp-item-remove{display:inline-flex}.bp-portrait-wrap{position:relative;width:44px;height:44px}.bp-status-col{position:absolute;top:-2px;left:-9px;display:flex;flex-direction:column;gap:2px;z-index:3}.bp-status-badge{width:14px;height:14px;border-radius:50%;font-size:8px;font-weight:800;line-height:1;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(0,0,0,.7);box-shadow:0 1px 2px #00000080;cursor:help}.bp-status-badge.buff{background:#16a34aeb;color:#f0fdf4}.bp-status-badge.debuff{background:#dc2626eb;color:#fef2f2}.unit-stat-val.stat-boosted{color:var(--green)}.popover-buffs-row{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:8px}.popover-buff-pill{font-size:10px;font-weight:700;padding:2px 6px;border-radius:999px;border:1px solid var(--border)}.popover-buff-pill.buff{background:#16a34a29;border-color:#4ade8073;color:#86efac}.popover-buff-pill.debuff{background:#dc262629;border-color:#f8717173;color:#fca5a5}.bp-portrait-btn{width:44px;height:44px;border-radius:50%;border:2px solid var(--border-hi);background:var(--panel-alt);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;overflow:hidden;transition:border-color .15s ease,transform .12s ease}.bp-portrait-btn.reserve{width:40px;height:40px;border-style:dashed}.bp-portrait-btn:hover:not(:disabled){border-color:var(--accent);transform:translateY(-1px)}.bp-portrait-btn:disabled{opacity:.5;cursor:not-allowed}.bp-portrait-btn img{width:34px;height:34px;object-fit:contain}.bp-slot.selected .bp-portrait-btn{border-color:var(--accent);box-shadow:0 0 0 2px #58a6ff59}.bp-slot.ult-ready .bp-portrait-btn{border-color:var(--gold);box-shadow:0 0 10px #f7cc458c}.bp-slot.fainted .bp-portrait-btn{filter:grayscale(1);opacity:.45}.bp-portrait-empty{width:44px;height:44px;border-radius:50%;border:1px dashed var(--border);background:#0d11178c}.bp-portrait-empty.reserve{width:40px;height:40px}.bp-info-btn{position:absolute;top:-3px;right:-4px;width:15px;height:15px;border-radius:50%;border:1px solid var(--border-hi);background:var(--panel);color:var(--muted);font-size:9px;font-weight:700;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;opacity:0;transition:opacity .12s ease}.bp-slot:hover .bp-info-btn,.bp-slot.selected .bp-info-btn,.bp-info-btn:focus-visible{opacity:1}.bp-action-pill{position:absolute;bottom:-4px;left:50%;transform:translate(-50%);border:1px solid rgba(0,0,0,.6);border-radius:999px;padding:1px 5px;font-size:9px;font-weight:800;line-height:1.1;cursor:pointer;white-space:nowrap}.bp-action-pill.ult{background:var(--gold);color:#111}.bp-action-pill.heal{background:var(--green);color:#081c0c}.bp-action-pill.revive{background:var(--amber);color:#111}.bp-bars{width:46px;display:flex;flex-direction:column;gap:2px}.bp-bar-track{width:100%;height:3px;background:var(--bg);border-radius:999px;overflow:hidden}.bp-bar-fill{height:100%}.bp-bar-fill.hp{background:var(--green)}.bp-bar-fill.ult{background:var(--purple)}.bp-name{font-size:10px;font-weight:600;max-width:60px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;line-height:1.1}.bp-name.muted{color:var(--muted)}.shop-modal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;max-height:320px;overflow-y:auto;padding-right:4px}.shop-modal-item{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--panel-alt);border:1px solid var(--border);border-radius:7px;padding:8px 10px}.shop-modal-item-head{display:flex;align-items:center;gap:8px;min-width:0}.shop-modal-item-icon{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.shop-modal-item-meta{display:flex;flex-direction:column;gap:2px;min-width:0}.shop-care-section{display:flex;flex-direction:column;gap:6px}.shop-care-list{display:flex;flex-wrap:wrap;gap:6px}.shop-care-chip{display:inline-flex;align-items:center;gap:6px;background:var(--panel-alt);border:1px solid var(--border);border-radius:6px;padding:4px 8px;font-size:12px}.modal-footer-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:6px;border-top:1px solid var(--border)}.pokedex-modal-header{flex-wrap:wrap}.pokedex-header-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pokedex-shards-pill{font-variant-numeric:tabular-nums}.pokedex-card{gap:3px;padding:6px;border-top-width:3px}.pokedex-card-top{display:flex;align-items:center;justify-content:space-between;gap:4px;width:100%}.pokedex-card-meta{margin-left:auto}details.potential-tiers-box summary.potential-tiers-title{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between}details.potential-tiers-box summary.potential-tiers-title:after{content:"▾";font-size:11px;color:var(--muted)}details.potential-tiers-box[open] summary.potential-tiers-title:after{content:"▴"}details.potential-tiers-box[open] summary.potential-tiers-title{margin-bottom:8px}.pokedex-rarity-tag{display:inline-block;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;padding:1px 4px;border-radius:3px;border:1px solid var(--border);background:var(--panel);color:var(--muted);line-height:1.2}.rarity-common{color:#cbd5e1;border-color:#94a3b866;background:#94a3b81f}.rarity-uncommon{color:#4ade80;border-color:#4ade8073;background:#3fb95024}.rarity-rare{color:#60a5fa;border-color:#60a5fa7a;background:#58a6ff26}.rarity-epic{color:#c084fc;border-color:#c084fc80;background:#bc8cff29}.rarity-legendary{color:#fde047;border-color:#f7cc4599;background:#f7cc4529}.reward-card-tags{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.pokedex-card.card-rarity-common,.reward-card.card-rarity-common{border-color:#94a3b852;border-top-color:#94a3b8;background:linear-gradient(180deg,rgba(148,163,184,.1) 0%,var(--panel-alt) 48%)}.pokedex-card.card-rarity-uncommon,.reward-card.card-rarity-uncommon{border-color:#4ade8061;border-top-color:#4ade80;background:linear-gradient(180deg,rgba(74,222,128,.12) 0%,var(--panel-alt) 48%)}.pokedex-card.card-rarity-rare,.reward-card.card-rarity-rare{border-color:#60a5fa70;border-top-color:#60a5fa;background:linear-gradient(180deg,rgba(96,165,250,.14) 0%,var(--panel-alt) 48%)}.pokedex-card.card-rarity-epic,.reward-card.card-rarity-epic{border-color:#c084fc7a;border-top-color:#c084fc;background:linear-gradient(180deg,rgba(192,132,252,.15) 0%,var(--panel-alt) 48%)}.pokedex-card.card-rarity-legendary,.reward-card.card-rarity-legendary{border-color:#f7cc4594;border-top-color:#fde047;background:linear-gradient(180deg,rgba(247,204,69,.18) 0%,var(--panel-alt) 48%)}.pokedex-card-meta{font-size:10px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.pokedex-card-meta.is-potential{color:var(--gold)}.pokedex-card-meta.is-shards{color:var(--muted)}.potential-tag{color:var(--gold);border-color:#f7cc4580;background:#f7cc451f}.pokedex-prog-box{background:var(--panel);border:1px solid var(--border);border-radius:6px;padding:8px 10px;display:flex;flex-direction:column;gap:6px}.pokedex-prog-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;font-variant-numeric:tabular-nums}.pokedex-prog-label{font-weight:700;color:var(--text)}.pokedex-prog-nums{color:var(--muted)}.shard-bar-track{width:100%;height:6px;border-radius:999px;background:var(--bg);border:1px solid var(--border);overflow:hidden}.shard-bar-fill{height:100%;background:var(--accent);border-radius:999px;transition:width .2s ease}.shard-bar-fill.is-max{background:var(--gold)}.pokedex-prog-btn{width:100%}.potential-tiers-box{background:var(--panel);border:1px solid var(--border);border-radius:6px;padding:7px 9px;display:flex;flex-direction:column;gap:5px}.potential-tiers-title{font-size:11px;font-weight:700;color:var(--text)}.potential-tiers-list{display:flex;flex-direction:column;gap:3px}.potential-tier-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px;font-size:11px;padding:3px 6px;border-radius:4px;border:1px solid transparent}.potential-tier-row.is-unlocked{background:#3fb9501f;color:var(--text)}.potential-tier-row.is-unlocked .potential-tier-star{color:var(--gold)}.potential-tier-row.is-unlocked .potential-tier-status{color:var(--green)}.potential-tier-row.is-next{background:#58a6ff1f;border-color:#58a6ff73;color:var(--text)}.potential-tier-row.is-next .potential-tier-star,.potential-tier-row.is-next .potential-tier-status{color:var(--accent)}.potential-tier-row.is-locked{color:var(--muted);opacity:.78}.potential-tier-star{font-weight:700;font-variant-numeric:tabular-nums}.potential-tier-status{font-size:10px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.modal-card.eggs-modal{max-width:640px}.egg-pity-bar{background:var(--panel-alt);border:1px solid var(--border);border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:6px}.egg-pity-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;font-variant-numeric:tabular-nums}.egg-pity-val{color:var(--gold);font-weight:600}.egg-tier-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}@media(max-width:640px){.egg-tier-grid{grid-template-columns:1fr}}.egg-tier-card{background:var(--panel-alt);border:1px solid var(--border);border-radius:8px;padding:12px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}.egg-tier-card.tier-rare{border-color:#58a6ff66}.egg-tier-card.tier-master{border-color:#bc8cff73}.egg-svg{width:42px;height:50px;display:block}.egg-tier-name{font-size:14px;font-weight:700}.egg-tier-sub{font-size:11px;color:var(--muted);min-height:30px}.egg-tier-count{font-size:12px;font-variant-numeric:tabular-nums}.temp-test-hatch-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:#d2992214;border:1px dashed rgba(210,153,34,.45);border-radius:7px;padding:8px 12px}.temp-test-label{font-size:11px;font-weight:700;color:var(--amber)}.hatch-rates-panel{display:flex;flex-direction:column;gap:10px}.hatch-rates-rule{background:var(--panel-alt);border:1px solid var(--border);border-radius:7px;padding:10px 12px;font-size:12px;color:var(--muted);line-height:1.45}.hatch-rates-rule strong{color:var(--text)}.hatch-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:7px;background:var(--panel-alt)}.hatch-rates-table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}.hatch-rates-table th,.hatch-rates-table td{padding:8px 10px;border-bottom:1px solid var(--border);text-align:left;white-space:nowrap}.hatch-rates-table tr:last-child td{border-bottom:none}.hatch-rates-table th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);background:#0d111780}.hatch-rates-table td.is-zero{color:var(--muted);opacity:.45}.hatch-reveal-modal{max-width:420px;align-items:center;text-align:center;gap:14px}.hatch-reveal-head{display:flex;align-items:center;justify-content:center;gap:6px}.temp-test-tag{color:var(--amber);border-color:#d2992280}.hatch-stage{position:relative;width:150px;height:124px;display:flex;align-items:center;justify-content:center;margin:2px auto}.hatch-egg-wobble{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;animation:eggWobbleCrack .72s ease-in-out forwards}.hatch-egg-svg{width:64px;height:76px}.hatch-flash{position:absolute;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.95) 0%,rgba(247,204,69,.45) 45%,transparent 75%);opacity:0;pointer-events:none;animation:hatchFlash .5s ease-out .52s forwards}.hatch-pokemon-reveal{position:relative;display:flex;align-items:center;justify-content:center;opacity:0;transform:scale(.45);animation:hatchPokemonPop .45s cubic-bezier(.22,1.25,.36,1) .58s forwards}.hatch-glow{position:absolute;width:118px;height:118px;border-radius:50%;filter:blur(10px);opacity:.7;animation:hatchGlowPulse 2.2s ease-in-out 1s infinite}.hatch-glow.rarity-common{background:radial-gradient(circle,rgba(148,163,184,.45),transparent 70%)}.hatch-glow.rarity-uncommon{background:radial-gradient(circle,rgba(74,222,128,.55),transparent 70%)}.hatch-glow.rarity-rare{background:radial-gradient(circle,rgba(88,166,255,.65),transparent 70%)}.hatch-glow.rarity-epic{background:radial-gradient(circle,rgba(188,140,255,.72),transparent 70%)}.hatch-glow.rarity-legendary{background:radial-gradient(circle,rgba(247,204,69,.8),transparent 70%)}.hatch-pokemon-sprite{position:relative;z-index:2;width:80px;height:80px;image-rendering:pixelated;filter:drop-shadow(0 6px 14px rgba(0,0,0,.65))}.hatch-reveal-info{display:flex;flex-direction:column;align-items:center;gap:6px}.hatch-badges{display:flex;align-items:center;justify-content:center;gap:6px}.hatch-new-badge{background:#3fb9502e;border:1px solid var(--green);color:var(--green);font-size:10px;font-weight:800;padding:2px 8px;border-radius:999px;letter-spacing:.05em}.hatch-shards-summary{font-size:13px;font-weight:600;color:var(--gold);font-variant-numeric:tabular-nums}.hatch-reveal-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}@keyframes eggWobbleCrack{0%{transform:rotate(0) scale(1);opacity:1}18%{transform:rotate(-11deg) scale(1.03)}34%{transform:rotate(11deg) scale(1.06)}50%{transform:rotate(-14deg) scale(1.1)}66%{transform:rotate(10deg) scale(1.14);opacity:1}82%{transform:scale(1.22);opacity:0}to{transform:scale(1.22);opacity:0}}@keyframes hatchFlash{0%{transform:scale(.35);opacity:0}35%{transform:scale(1.15);opacity:1}to{transform:scale(1.5);opacity:0}}@keyframes hatchPokemonPop{0%{opacity:0;transform:scale(.45)}to{opacity:1;transform:scale(1)}}@keyframes hatchGlowPulse{0%,to{transform:scale(.95);opacity:.65}50%{transform:scale(1.1);opacity:.9}}.type-badge-row{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:4px 0 6px}.type-badge{display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:#fff;background:var(--type-color, #64748b);text-shadow:0 1px 1px rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.18);line-height:1.3}.move-type-pill{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:var(--muted);margin-left:4px}.type-chart-modal{max-width:min(920px,95vw);width:100%;max-height:90vh;display:flex;flex-direction:column;gap:10px}.type-chart-legend{display:flex;flex-wrap:wrap;gap:8px;font-size:11px}.type-chart-legend .legend-item{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:6px;background:var(--panel-alt);border:1px solid var(--border)}.type-chart-scroll{overflow:auto;border:1px solid var(--border);border-radius:8px;background:var(--panel-alt)}.type-chart-table{width:100%;border-collapse:collapse;font-size:11px;text-align:center}.type-chart-table th,.type-chart-table td{border:1px solid rgba(48,54,61,.7);padding:4px 3px;min-width:34px}.type-chart-table thead th{position:sticky;top:0;background:var(--panel);z-index:2}.type-chart-table tbody th{position:sticky;left:0;background:var(--panel);text-align:left;padding:4px 6px;z-index:1}.type-chart-corner{left:0;z-index:3!important;font-size:10px;color:var(--muted);white-space:nowrap}.type-abbr{display:inline-block;padding:2px 4px;border-radius:4px;font-size:9px;font-weight:700;color:#fff;background:var(--type-color, #64748b);text-shadow:0 1px 1px rgba(0,0,0,.45)}.eff-cell{font-weight:700;font-variant-numeric:tabular-nums}.eff-extremely{color:#facc15;background:#facc1529}.eff-super{color:#4ade80;background:#4ade8024}.eff-resist{color:#fb7185;background:#fb71851f}.eff-immune{color:#94a3b8;background:#94a3b824}.eff-neutral{color:var(--muted);font-weight:400}.enemy-intro-banner{position:fixed;top:max(68px,calc(env(safe-area-inset-top) + 64px));left:0;z-index:24;pointer-events:none;max-width:min(360px,calc(100vw - 24px))}.enemy-intro-banner[hidden]{display:none}.enemy-intro-card{position:relative;display:flex;align-items:center;gap:12px;padding:10px 16px 10px 14px;background:linear-gradient(90deg,#0d1117f5,#161b22f0 82%,#161b22b8);border-top:1px solid rgba(255,255,255,.14);border-bottom:1px solid rgba(255,255,255,.1);border-right:1px solid rgba(255,255,255,.14);clip-path:polygon(0 0,100% 0,calc(100% - 14px) 100%,0 100%);box-shadow:0 10px 28px #0000008c;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);animation:enemyIntroSlideIn .28s cubic-bezier(.16,1,.3,1) forwards}.enemy-intro-banner.is-leaving .enemy-intro-card{animation:enemyIntroSlideOut .28s cubic-bezier(.7,0,.84,0) forwards}.enemy-intro-stripe{position:absolute;top:0;bottom:0;left:0;width:5px;background:var(--enemy-accent, #f85149);box-shadow:0 0 12px var(--enemy-accent, #f85149)}.enemy-intro-portrait{display:flex;align-items:center;justify-content:center;width:48px;height:48px;flex-shrink:0;background:#0d1117d9;border:1px solid rgba(255,255,255,.16);border-radius:6px}.enemy-intro-body{display:flex;flex-direction:column;gap:3px;min-width:0;padding-right:8px}.enemy-intro-kicker{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.08em;text-transform:uppercase}.enemy-intro-badge{padding:1px 6px;font-weight:800;color:#0d1117;background:#f85149;border-radius:2px}.enemy-intro-role{color:var(--muted);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.enemy-intro-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.enemy-intro-name{font-size:15px;font-weight:800;color:var(--text);letter-spacing:.02em}.enemy-intro-summary{font-size:12px;font-weight:600;color:#ffd666}@keyframes enemyIntroSlideIn{0%{opacity:0;transform:translate(-100%)}to{opacity:1;transform:translate(0)}}@keyframes enemyIntroSlideOut{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-100%)}}#modal-root.is-fullscreen .modal-card.difficulty-select-modal{justify-content:flex-start;overflow-y:auto;gap:16px}.diff-heading-wrap{text-align:center}.diff-cards-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}@media(max-width:960px){.diff-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.diff-cards-grid{grid-template-columns:1fr}}.diff-card{position:relative;display:flex;flex-direction:column;gap:8px;padding:14px 12px 12px;border-radius:12px;border:2px solid var(--border-hi);border-top-width:4px;background:#161b22eb;color:inherit;text-align:left;cursor:pointer;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease}.diff-tier-easy{border-top-color:#4ade80}.diff-tier-normal{border-top-color:#38bdf8}.diff-tier-hard{border-top-color:#fb923c}.diff-tier-expert{border-top-color:#f43f5e}.diff-card:hover{transform:translateY(-2px);border-color:#fde047}.diff-card.is-selected{border-color:#38bdf8;background:#182638f5;box-shadow:0 0 0 2px #38bdf873,0 10px 22px #00000080}.diff-confirm-cta{font-weight:800;padding-inline:16px}.diff-mod-table{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 10px;margin-top:auto;padding-top:8px;border-top:1px solid rgba(148,163,184,.16)}.diff-mod-row{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted)}.diff-mod-row b{color:#f8fafc}.enemy-intel-card.is-boss-enemy{border-color:#f59e0b73;background:#1e1b16eb}.tag-boss{background:#f59e0b38;color:#fcd34d;font-weight:700}.diff-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.diff-card-name{font-size:16px;font-weight:800}.diff-tier-easy .diff-card-name{color:#4ade80}.diff-tier-normal .diff-card-name{color:#38bdf8}.diff-tier-hard .diff-card-name{color:#fb923c}.diff-tier-expert .diff-card-name{color:#f43f5e}.diff-card-waves{background:#38bdf829;color:#bae6fd;font-weight:700}.diff-card-badge{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.diff-card-desc{margin:0;font-size:12px;line-height:1.4;color:var(--text-dim, #cbd5e1)}.mod-good{color:#4ade80;font-weight:700}.mod-hard{color:#fb7185;font-weight:700}.enemy-intel-section{display:flex;flex-direction:column;gap:14px;padding:16px;border-radius:14px;background:#0f172ac2;border:1px solid rgba(148,163,184,.22)}.enemy-intel-header{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px}.enemy-intel-heading{font-size:15px;font-weight:800;color:#f8fafc}.enemy-intel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:14px}.enemy-intel-card{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:12px;background:#161b22eb;border:1px solid rgba(148,163,184,.24)}.enemy-intel-top{display:flex;align-items:center;gap:12px}.enemy-intel-title-wrap{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.enemy-intel-name-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px}.enemy-intel-name{font-size:14px;font-weight:800;color:#f8fafc}.enemy-intel-role{font-size:12px;color:var(--muted)}.enemy-wave-tag{font-size:10px;white-space:nowrap;flex-shrink:0;background:#38bdf829;color:#7dd3fc}.enemy-intel-trait{font-size:12px;color:#fde68a;line-height:1.4}.enemy-intel-tags{display:flex;flex-wrap:wrap;gap:6px}.move-tag.move-fly{background:#a855f733;color:#d8b4fe}.move-tag.move-burrow{background:#d9770633;color:#fdba74}.tag-warn{background:#f43f5e38;color:#fda4af}.enemy-intel-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;margin-top:auto;padding-top:8px;border-top:1px solid rgba(148,163,184,.16);font-size:12px;color:var(--muted)}.enemy-intel-stats span{display:flex;align-items:center;justify-content:space-between}.enemy-intel-stats b{color:#f1f5f9}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
