:root{--bg-obsidian: #080a13;--bg-panel: rgba(14, 18, 34, .92);--bg-panel-elevated: rgba(22, 28, 50, .95);--brass: #f4b942;--brass-dim: rgba(244, 185, 66, .38);--solar: #ff7b29;--lunar: #38d9ff;--prism: #c77dff;--emerald: #06d6a0;--danger: #ff4d6d;--text-ivory: #f6f1e7;--text-muted: #a6b3cf;--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px)}.cg-app-shell{position:relative;width:100%;height:100%;background:var(--bg-obsidian);color:var(--text-ivory);overflow:hidden}.cg-app-shell.high-contrast{--brass-dim: rgba(255, 224, 115, .88);--text-muted: #d8e2f8}.cg-stage-layer{width:100%;height:100%;will-change:transform}.cg-vfx-canvas{position:fixed;inset:0;pointer-events:none;z-index:80}h1,h2,h3,h4,.cg-game-logo,.cg-card-title,.cg-act-title{font-family:Cinzel,Georgia,serif;margin:0;letter-spacing:.03em}p{margin:0}button{font-family:Outfit,system-ui,sans-serif;cursor:pointer}button:focus-visible,.cg-card:focus-visible{outline:2px solid #ffd166;outline-offset:2px}.cg-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:10px;border:1.5px solid var(--brass-dim);background:#141a2ee6;color:var(--text-ivory);font-weight:700;font-size:.95rem;padding:9px 16px;transition:transform .12s ease,border-color .15s ease,box-shadow .15s ease}.cg-btn:hover:not(:disabled){transform:translateY(-1px);border-color:var(--brass);box-shadow:0 4px 14px #f4b94233}.cg-btn:active:not(:disabled){transform:translateY(1px) scale(.98)}.cg-btn:disabled{opacity:.42;cursor:not-allowed}.cg-btn.primary{background:linear-gradient(135deg,#f4b942,#e86f2c);color:#0b0d17;border-color:#ffe08a;box-shadow:0 4px 18px #ff7b2952}.cg-btn.daily-btn{background:linear-gradient(135deg,#2ec4f138,#c77dff40);border-color:#6ae8ff}.cg-btn.danger{background:#9b224273;border-color:var(--danger);color:#ffd6df}.cg-btn.sm{padding:5px 11px;font-size:.82rem;border-radius:8px}.cg-btn.lg{padding:12px 22px;font-size:1.04rem}.cg-btn.full{width:100%}.cg-title-root{width:100%;height:100%;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;padding:calc(12px + var(--safe-top)) 14px calc(12px + var(--safe-bottom));overflow-y:auto}.cg-title-center{width:100%;max-width:500px;background:#090c18d6;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1.5px solid rgba(244,185,66,.55);border-radius:20px;padding:26px 24px;text-align:center;box-shadow:0 18px 50px #000000c7,inset 0 0 32px #f4b94214}.crest-kicker{display:inline-block;font-size:.74rem;font-weight:800;letter-spacing:.18em;color:var(--brass);margin-bottom:6px}.cg-game-logo{font-size:clamp(1.85rem,5vw,2.75rem);font-weight:900;padding:0 4px;background:linear-gradient(180deg,#fff5d6,#f4b942 52%,#ff7b29);-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 3px 12px rgba(255,123,41,.4))}.cg-tagline{color:var(--text-muted);font-size:.94rem;margin-top:6px;margin-bottom:20px;line-height:1.35}.cg-main-menu-btns{display:flex;flex-direction:column;gap:10px}.continue-btn{flex-direction:column;gap:2px;padding:11px 16px;background:linear-gradient(135deg,#06d6a040,#38d9ff40);border-color:var(--emerald)}.cont-main{font-size:1.04rem;color:#80ffdb}.cont-sub{font-size:.8rem;color:var(--text-ivory);font-weight:600}.streak-pill{background:#ff7b2940;border:1px solid var(--solar);border-radius:99px;padding:2px 8px;font-size:.74rem}.cg-menu-subrow{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cg-warden-select-panel{width:100%;max-width:820px;max-height:94dvh;overflow-y:auto;background:var(--bg-panel);backdrop-filter:blur(12px);border:1.5px solid var(--brass-dim);border-radius:18px;padding:16px;box-shadow:0 20px 55px #000000d9}.ws-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.ws-header h2{font-size:1.25rem;color:var(--brass)}.ws-portraits-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.ws-portrait-card{background:#0a0e1ce6;border:2px solid rgba(160,178,210,.25);border-radius:14px;padding:6px;color:var(--text-ivory);display:flex;flex-direction:column;align-items:center;gap:6px;transition:transform .14s ease,border-color .15s ease}.ws-portrait-card.selected{transform:translateY(-2px);box-shadow:0 6px 20px #f4b94247}.ws-portrait-card.locked img{filter:grayscale(.85) brightness(.55)}.ws-portrait-card img{width:100%;aspect-ratio:1 / 1;object-fit:cover;border-radius:10px}.ws-card-name{display:flex;flex-direction:column;text-align:center;line-height:1.15}.ws-card-name strong{font-size:.88rem}.ws-card-name small{font-size:.7rem;color:var(--text-muted)}.ws-details-box{display:grid;grid-template-columns:1.45fr 1fr;gap:14px;background:#080a14b8;border:1px solid rgba(244,185,66,.25);border-radius:14px;padding:14px}.ws-details-main h3{font-size:1.15rem;margin-bottom:5px}.ws-details-main h3 span{font-family:Outfit,sans-serif;font-size:.9rem;color:var(--text-muted)}.ws-summary{font-size:.88rem;color:#dce4f5;margin-bottom:10px}.ws-traits{display:flex;flex-direction:column;gap:7px;font-size:.83rem;color:var(--text-muted)}.ws-trait strong{color:var(--text-ivory)}.ws-launch-col{display:flex;flex-direction:column;justify-content:space-between;gap:10px}.ws-stats-chips{display:flex;gap:10px;font-weight:700;font-size:.88rem}.ws-stats-chips span{background:#ffffff0f;padding:4px 10px;border-radius:8px}.ws-eclipse-picker{display:flex;flex-direction:column;gap:4px;font-size:.82rem}.ec-stepper{display:flex;align-items:center;justify-content:space-between;background:#ffffff0d;padding:4px;border-radius:8px;font-weight:700}.cg-seed-input{width:100%;background:#0f1426e6;border:1px solid rgba(160,178,210,.35);border-radius:8px;padding:7px 10px;color:var(--text-ivory);font-family:inherit;font-size:.82rem}.ws-locked-notice{background:#ff4d6d24;border:1px solid rgba(255,77,109,.45);border-radius:10px;padding:10px;font-size:.84rem}.daily-card-box{display:flex;flex-direction:column;gap:12px}.daily-warden-row{display:flex;align-items:center;gap:12px;background:#ffffff0a;padding:10px;border-radius:12px}.daily-avatar{width:64px;height:64px;border-radius:50%;border:2px solid var(--brass);object-fit:cover}.daily-warden-row p{font-size:.84rem;color:var(--text-muted)}.daily-mods-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.daily-mod-card{background:#0a0d19d9;border:1.5px solid;border-radius:12px;padding:10px}.daily-mod-card p{font-size:.82rem;color:var(--text-muted);margin-top:4px}.daily-status-row{display:flex;justify-content:space-around;font-size:.9rem}.cg-run-layout{display:flex;flex-direction:column;width:100%;height:100%}.cg-top-hud{position:relative;flex:0 0 auto;min-height:44px;padding:calc(4px + var(--safe-top)) 10px 4px;background:#090c16f0;border-bottom:1px solid rgba(244,185,66,.3);display:flex;align-items:center;justify-content:space-between;gap:8px;z-index:50}.hud-left{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;white-space:nowrap;font-size:.84rem;font-weight:700}.hud-stat{white-space:nowrap}.hud-brand{font-family:Cinzel,serif;font-weight:900}.hud-stat.hp{color:#ff758f}.hud-stat.gold{color:#ffd166}.hud-stat.floor{color:var(--text-muted);font-size:.8rem}.hud-keys{display:inline-flex;gap:2px;font-size:.72rem}.key-off{opacity:.22;filter:grayscale(1)}.key-on{filter:drop-shadow(0 0 5px #ffd166)}.hud-curios{flex:1 1 auto;display:flex;align-items:center;gap:4px;overflow-x:auto;scrollbar-width:none}.hud-curios::-webkit-scrollbar{display:none}.hud-curio-btn{background:transparent;border:none;padding:1px;width:28px;height:28px;flex:0 0 auto}.cg-curio-svg{width:26px;height:26px}.hud-right{display:flex;align-items:center;gap:6px}.cg-hud-btn{background:#ffffff12;border:1px solid var(--brass-dim);color:var(--text-ivory);border-radius:8px;padding:4px 9px;font-size:.82rem;font-weight:700}.cg-curio-toast{position:absolute;top:100%;left:12px;right:12px;margin-top:4px;background:#0e1224f7;border:1.5px solid var(--brass);border-radius:10px;padding:8px 12px;font-size:.83rem;box-shadow:0 8px 24px #000c;z-index:65}.cg-run-main{flex:1 1 auto;position:relative;overflow:hidden;display:flex;flex-direction:column}.cg-map-root{width:100%;height:100%;display:flex;flex-direction:column;background:radial-gradient(circle at 50% 20%,#161d38,#080a13 80%)}.cg-map-header{flex:0 0 auto;padding:8px 14px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;border-bottom:1px solid rgba(255,255,255,.08)}.cg-act-title{font-size:1.08rem;color:var(--brass)}.cg-act-sub{font-size:.78rem;color:var(--text-muted)}.cg-map-legend{display:flex;gap:10px;font-size:.76rem;font-weight:700}.cg-blessing-bar{flex:0 0 auto;margin:8px 12px 0;padding:9px 12px;background:linear-gradient(90deg,#f4b94229,#c77dff29);border:1.5px solid var(--brass);border-radius:12px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.blessing-prompt{font-size:.84rem}.blessing-btns{display:flex;flex-wrap:wrap;gap:6px}.cg-map-scroll{flex:1 1 auto;overflow-y:auto;position:relative;-webkit-overflow-scrolling:touch}.cg-map-canvas{position:relative;width:100%;max-width:680px;margin:0 auto}.cg-map-edges{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.cg-map-node{position:absolute;transform:translate(-50%,-50%);width:50px;height:50px;border-radius:50%;background:#12172b;border:2px solid rgba(148,163,184,.3);color:var(--text-ivory);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0;transition:transform .15s ease,box-shadow .15s ease}.cg-map-node.node-boss{width:68px;height:68px;border-width:3px}.cg-map-node .node-icon{font-size:1.15rem;line-height:1}.cg-map-node.node-boss .node-icon{font-size:1.55rem}.cg-map-node .node-lbl{font-size:.6rem;font-weight:700;color:var(--text-muted)}.cg-map-node .burning-gem{position:absolute;top:-5px;right:-5px;font-size:.75rem}.cg-map-node.is-visited{opacity:.52;background:#0d1120}.cg-map-node.is-current{opacity:.9;border-color:var(--brass)}.cg-map-node.is-reachable{opacity:1;background:#1c2544;box-shadow:0 0 16px #f4b9428c;animation:cgPulseNode 1.6s infinite ease-in-out}.cg-map-node:disabled:not(.is-visited):not(.is-current){opacity:.36}@keyframes cgPulseNode{0%,to{transform:translate(-50%,-50%) scale(1)}50%{transform:translate(-50%,-50%) scale(1.1)}}.cg-card{position:relative;width:144px;height:208px;border-radius:12px;background:linear-gradient(180deg,#171d33,#0d101e);border:2px solid #5c6b8a;display:flex;flex-direction:column;padding:5px;box-shadow:0 8px 20px #000000a6;transition:transform .16s cubic-bezier(.2,.9,.3,1),box-shadow .16s ease,border-color .16s ease;touch-action:none}.cg-card.aspect-solar{border-color:#e06d2b;background:linear-gradient(180deg,#291817,#110d16)}.cg-card.aspect-lunar{border-color:#369ec9;background:linear-gradient(180deg,#132238,#0c1020)}.cg-card.aspect-prismatic{border-color:#b865e6;background:linear-gradient(180deg,#241838,#100e20)}.cg-card.aspect-curse{border-color:#8c2f4b;background:linear-gradient(180deg,#24101c,#0b0810)}.cg-card.rarity-rare{box-shadow:0 8px 22px #000000b3,inset 0 0 14px #f4b94240}.cg-card.is-upgraded{border-color:#ffd166}.cg-card.is-selected{border-color:#fff3b0;box-shadow:0 12px 28px #f4b9428c}.cg-card.is-unaffordable{opacity:.58}.cg-card-header{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:4px}.cg-card-cost{width:23px;height:23px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#ffe18c,#d98218);border:1.5px solid #fff3c4;color:#090b14;font-weight:800;font-size:.85rem;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.cg-card-cost.is-discounted{background:radial-gradient(circle at 35% 35%,#80ffdb,#06d6a0)}.cg-card-cost.is-unplayable{background:#4a192c;color:#ffb3c1;border-color:#ff4d6d}.cg-card-title{flex:1 1 auto;font-size:.72rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff8eb}.cg-card.is-upgraded .cg-card-title{color:#ffe066}.cg-card-aspect{font-size:.82rem;flex:0 0 auto}.cg-card-art{position:relative;width:100%;height:76px;border-radius:7px;overflow:hidden;border:1px solid rgba(244,185,66,.32);flex:0 0 auto}.cg-card-svg{width:100%;height:100%;display:block}.cg-card-type-pill{position:absolute;bottom:2px;left:50%;transform:translate(-50%);background:#080a13e0;border:1px solid rgba(244,185,66,.35);border-radius:99px;padding:0 6px;font-size:.56rem;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted)}.cg-card-mastery{position:absolute;top:2px;right:3px;color:#ffd166;font-size:.78rem;text-shadow:0 1px 4px #000}.cg-card-seal-pill{position:absolute;top:2px;left:3px;background:#080a13eb;border:1px solid;border-radius:6px;padding:0 4px;font-size:.56rem;font-weight:800}.cg-card-body{flex:1 1 auto;display:flex;flex-direction:column;justify-content:space-between;padding:5px 3px 2px;text-align:center}.cg-card-desc{font-size:.72rem;line-height:1.24;color:#e9eef8}.cg-card-live-stats{display:flex;justify-content:center;gap:4px;margin-top:2px}.cg-live-pill{font-size:.65rem;font-weight:800;padding:1px 5px;border-radius:6px;background:#ffffff17}.cg-live-pill.dmg{color:#ffb703}.cg-live-pill.dmg.lethal{background:#ff4d6d47;color:#ffccd5}.cg-live-pill.grd{color:#6ae8ff}.cg-card-hotkey{position:absolute;bottom:-7px;left:50%;transform:translate(-50%);background:#0d1120;border:1px solid rgba(160,178,210,.35);border-radius:4px;padding:0 5px;font-size:.58rem;color:var(--text-muted)}.cg-combat-root{width:100%;height:100%;background-size:cover;background-position:center;display:flex;flex-direction:column;justify-content:space-between;padding:4px 8px calc(4px + var(--safe-bottom));overflow:hidden}.cg-coach-banner{flex:0 0 auto;background:linear-gradient(90deg,#f4b94238,#38d9ff33);border:1px solid var(--brass);border-radius:10px;padding:5px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.78rem;margin-bottom:4px}.coach-dismiss{background:transparent;border:none;color:var(--text-ivory);font-weight:800;padding:2px 6px}.cg-battlefield{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:space-around;gap:10px;padding:2px 4px}.cg-player-zone{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:118px}.cg-warden-avatar-wrap{position:relative;width:86px;height:86px}.cg-warden-avatar{width:100%;height:100%;border-radius:50%;object-fit:cover;border:2.5px solid var(--brass);box-shadow:0 6px 20px #000000bf}.cg-guard-badge{position:absolute;bottom:-4px;right:-8px;background:linear-gradient(135deg,#0077b6,#00b4d8);border:1.5px solid #caf0f8;border-radius:99px;padding:2px 7px;font-size:.75rem;font-weight:800;color:#fff;box-shadow:0 3px 10px #0009}.cg-choir-orbs{position:absolute;top:-10px;left:-10px;right:-10px;display:flex;justify-content:center;gap:5px;pointer-events:none}.cg-orb{width:24px;height:24px;border-radius:50%;border:1.5px solid #fff;font-size:.68rem;font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:0 0 10px currentColor;animation:cgFloatOrb 2.2s infinite ease-in-out}.orb-ruby{background:#e63946;color:#fff}.orb-sapphire{background:#0096c7;color:#fff}.orb-amethyst{background:#9d4edd;color:#fff}.orb-solar{background:#ff9e00;color:#090a12}@keyframes cgFloatOrb{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.cg-hp-bar{position:relative;width:112px;height:17px;background:#0a0c16e6;border:1px solid rgba(255,255,255,.24);border-radius:99px;overflow:hidden}.cg-hp-fill{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#d90429,#ff4d6d);transition:width .22s ease}.cg-hp-ghost{position:absolute;inset:0 auto 0 0;background:#ffd166b8;transition:width .2s ease}.cg-hp-text{position:relative;z-index:2;display:block;width:100%;text-align:center;font-size:.68rem;font-weight:800;line-height:15px;text-shadow:0 1px 3px #000}.cg-status-row{display:flex;flex-wrap:wrap;justify-content:center;gap:3px;min-height:18px}.cg-status-chip{background:#090b14e6;border:1px solid;border-radius:6px;padding:0 5px;font-size:.66rem;font-weight:800}.cg-phial-belt{display:flex;gap:6px}.cg-phial-slot{width:32px;height:32px;border-radius:9px;background:#0c101ed9;border:1.5px dashed rgba(160,178,210,.35);padding:2px;display:flex;align-items:center;justify-content:center}.cg-phial-slot.filled{border-style:solid}.phial-liquid{width:100%;height:100%;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:.9rem}.phial-empty-dot{color:var(--text-muted)}.cg-enemies-zone{display:flex;align-items:flex-end;justify-content:center;gap:12px;flex-wrap:nowrap}.cg-enemy-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px;border-radius:14px;border:1.5px solid transparent;transition:transform .14s ease,border-color .14s ease,background .14s ease;cursor:pointer}.cg-enemy-card.is-targeted{border-color:#ffd166;background:#f4b9421a;transform:scale(1.03)}.cg-intent{background:#0a0d19eb;border:1.5px solid rgba(255,255,255,.25);border-radius:99px;padding:2px 9px;font-size:.76rem;font-weight:800;white-space:nowrap}.cg-intent.attack,.cg-intent.attack-debuff{border-color:#ff6b6b;color:#ffd6d6}.cg-intent.defend,.cg-intent.attack-defend{border-color:#4cc9f0;color:#caf0f8}.cg-intent.buff{border-color:#ffd166;color:#fff3b0}.cg-intent.curse{border-color:#c77dff;color:#f3d5ff}.cg-enemy-figure{position:relative;display:flex;align-items:center;justify-content:center}.cg-enemy-svg{width:92px;height:88px;animation:cgBreathe 3.2s infinite ease-in-out}.cg-enemy-svg.tier-elite{width:104px;height:100px}.cg-enemy-svg.tier-boss{width:118px;height:114px}.cg-boss-medallion{width:112px;height:112px;border-radius:50%;padding:3px;background:linear-gradient(135deg,#ffd166,#c77dff,#38d9ff);box-shadow:0 8px 26px #000c;animation:cgBreathe 3.4s infinite ease-in-out}.cg-boss-medallion img{width:100%;height:100%;border-radius:50%;object-fit:cover}.is-burning{filter:drop-shadow(0 0 10px #06d6a0)}@keyframes cgBreathe{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.cg-lethal-tag{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#d90429f0;border:1.5px solid #fff;border-radius:6px;padding:2px 7px;font-size:.68rem;font-weight:900;white-space:nowrap}.cg-enemy-name{font-size:.76rem;font-weight:700;color:#e2e8f0;max-width:124px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cg-dial-bar{flex:0 0 auto;width:100%;max-width:560px;margin:2px auto 4px;background:#0b0e1beb;border:1.5px solid rgba(244,185,66,.42);border-radius:14px;padding:5px 8px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px}.cg-dial-cap{background:#ffffff0d;border:1px solid rgba(255,255,255,.18);border-radius:8px;padding:3px 7px;color:var(--text-ivory);display:flex;align-items:center;gap:3px;font-size:.72rem;font-weight:800}.cg-dial-cap.lunar{border-color:#38d9ff80;color:#90e0ef}.cg-dial-cap.solar{border-color:#ff7b2980;color:#ffb703}.cg-dial-cap.will-surge{animation:cgFlashSurge .65s infinite alternate}@keyframes cgFlashSurge{0%{transform:scale(1);filter:brightness(1)}to{transform:scale(1.1);filter:brightness(1.45)}}.cg-dial-track{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.cg-dial-slot{position:relative;height:24px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:.68rem;font-weight:800;border:1px solid rgba(255,255,255,.12);background:#ffffff08;color:var(--text-muted)}.cg-dial-slot.slot-lunar{background:#38d9ff14}.cg-dial-slot.slot-solar{background:#ff7b2914}.cg-dial-slot.slot-equinox{background:#c77dff24;color:#e0aaff}.cg-dial-slot.is-current{border:2px solid #fff;color:#090a12;background:#ffd166;box-shadow:0 0 12px #ffd166bf}.cg-dial-slot.slot-lunar.is-current{background:#48d8ff}.cg-dial-slot.slot-solar.is-current{background:#ff8529}.cg-dial-slot.is-projected{border:1.5px dashed #fff;color:#fff;background:#ffffff38}.cg-dial-slot.will-eclipse{box-shadow:0 0 12px #c77dff;border-color:#e0aaff}.cg-dial-subrow{grid-column:1 / -1;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;font-size:.72rem;font-weight:700;cursor:pointer}.cg-res-chip{color:#ffd166}.cg-passive-chip{color:#d8b4fe}.cg-preview-alert{padding:0 6px;border-radius:99px;font-weight:800;font-size:.68rem}.cg-preview-alert.eclipse{background:#c77dff4d;color:#f3d5ff}.cg-preview-alert.solar{background:#ff7b294d;color:#ffe18c}.cg-preview-alert.lunar{background:#38d9ff4d;color:#caf0f8}.cg-dial-help-popover{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(92vw,420px);background:#0c1020fa;border:2px solid var(--brass);border-radius:14px;padding:14px 16px;z-index:75;box-shadow:0 18px 45px #000000e6;font-size:.84rem}.cg-dial-help-popover h4{color:var(--brass);margin-bottom:8px}.cg-dial-help-popover ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px}.cg-context-strip{flex:0 0 auto;width:100%;max-width:760px;margin:0 auto 4px;background:#0e1324f2;border:1px solid rgba(244,185,66,.45);border-radius:10px;padding:5px 9px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.75rem;z-index:45}.ctx-keywords{display:flex;flex-wrap:wrap;gap:5px;flex:1 1 auto}.kw-chip{border-left:3px solid;padding-left:6px;color:#dce4f5;font-size:.71rem}.ctx-actions{display:flex;gap:5px;flex:0 0 auto}.cg-hand-dock{flex:0 0 auto;display:flex;align-items:flex-end;justify-content:space-between;gap:6px;padding-top:6px}.cg-dock-left,.cg-dock-right{display:flex;flex-direction:column;align-items:center;gap:6px;flex:0 0 auto;z-index:42}.cg-lumina-orb{width:54px;height:54px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffe699,#f4a226 55%,#9c3d10);border:2px solid #fff3c4;box-shadow:0 0 18px #f4b94280;color:#0b0d17;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}.lumina-num{font-size:1.15rem;font-weight:900}.lumina-num small{font-size:.72rem;font-weight:700}.lumina-lbl{font-size:.56rem;font-weight:800;text-transform:uppercase}.cg-pile-pair{display:flex;gap:4px}.cg-pile-btn{background:#101526eb;border:1px solid var(--brass-dim);color:var(--text-ivory);border-radius:8px;padding:5px 8px;font-size:.76rem;font-weight:800;display:inline-flex;align-items:center;gap:4px}.cg-end-turn-btn{width:62px;height:54px;border-radius:12px;background:linear-gradient(135deg,#2b3558,#192038);border:2px solid var(--brass);color:var(--text-ivory);font-weight:800;font-size:.8rem;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.1}.cg-end-turn-btn.glow-ready{background:linear-gradient(135deg,#f4b942,#ff6b35);color:#090a12;box-shadow:0 0 18px #ff7b29a6}.cg-hand-fan{flex:1 1 auto;min-width:0;display:flex;align-items:flex-end;justify-content:center;padding:4px 2px 6px}.cg-hand-slot{margin:0 -10px;transform:translateY(var(--slot-y, 0px)) rotate(var(--slot-rot, 0deg));transition:transform .16s cubic-bezier(.2,.9,.3,1),margin .15s ease}.cg-hand-slot:hover,.cg-hand-slot.is-raised{transform:translateY(-22px) rotate(0) scale(1.07);margin:0 4px;z-index:45!important}.cg-panel-screen{width:100%;height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:12px 12px calc(20px + var(--safe-bottom));display:flex;align-items:flex-start;justify-content:center;background:radial-gradient(circle at 50% 15%,#1c2444bf,#080a13f5)}.cg-panel-card{width:100%;max-width:660px;margin:auto 0;background:var(--bg-panel);border:1.5px solid var(--brass-dim);border-radius:18px;padding:18px;box-shadow:0 18px 48px #000c}.cg-panel-card.wide,.cg-panel-card.shop-card{max-width:920px}.cg-panel-head{margin-bottom:14px}.cg-panel-head h2{color:var(--brass);font-size:1.3rem}.cg-sub{color:var(--text-muted);font-size:.86rem;margin-top:3px}.cg-loot-list{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}.cg-treasure-fork{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cg-loot-item{width:100%;background:#ffffff0d;border:1.5px solid rgba(244,185,66,.35);border-radius:12px;padding:9px 12px;color:var(--text-ivory);display:flex;align-items:center;gap:10px;text-align:left}.cg-loot-item.astral-key-choice{border-color:#38d9ff;background:#38d9ff1a}.loot-ico{font-size:1.35rem}.loot-txt{flex:1 1 auto;display:flex;flex-direction:column}.loot-txt strong{font-size:.92rem}.loot-txt small{font-size:.76rem;color:var(--text-muted)}.loot-cta{background:#f4b94233;color:#ffd166;padding:4px 10px;border-radius:8px;font-size:.78rem;font-weight:800}.cg-draft-section{border-top:1px solid rgba(255,255,255,.1);padding-top:12px;margin-bottom:14px}.cg-draft-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px}.cg-draft-header h3{font-size:1.02rem}.cg-toggle-lbl{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;color:#ffd166;cursor:pointer}.cg-card-draft-row{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.cg-draft-slot .cg-card:hover{transform:translateY(-6px) scale(1.04)}.cg-draft-skip-row{margin-top:10px;text-align:center}.cg-boss-curio-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin-top:10px}.cg-boss-curio-card{background:#ffffff0d;border:1.5px solid var(--brass);border-radius:12px;padding:12px;color:var(--text-ivory);display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}.cg-boss-curio-card p{font-size:.78rem;color:var(--text-muted)}.cg-panel-footer{display:flex;justify-content:center;margin-top:8px}.shop-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}.cg-shop-Actions{display:flex;gap:8px;flex-wrap:wrap}.cg-shop-sec-title{font-size:.92rem;color:var(--brass);margin:10px 0 8px}.cg-shop-cards-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:12px}.cg-shop-card-slot{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px}.cg-shop-card-slot.is-sold{opacity:.3;pointer-events:none}.sale-ribbon{position:absolute;top:-6px;right:-4px;z-index:5;background:#ff4d6d;color:#fff;font-size:.62rem;font-weight:900;padding:2px 6px;border-radius:6px}.cg-price-tag{background:#f4b94229;border:1px solid var(--brass-dim);color:#ffd166;border-radius:8px;padding:3px 10px;font-size:.8rem;font-weight:800}.cg-shop-lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cg-shop-col{display:flex;flex-direction:column;gap:7px}.cg-shop-row-item{background:#ffffff0a;border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:8px 10px;color:var(--text-ivory);display:flex;align-items:center;gap:9px;text-align:left}.sri-gem{font-size:1.25rem;width:26px;text-align:center}.sri-info{flex:1 1 auto;display:flex;flex-direction:column}.sri-info strong{font-size:.85rem}.sri-info small{font-size:.73rem;color:var(--text-muted)}.sri-price{color:#ffd166;font-weight:800;font-size:.82rem}.cg-kiln-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:12px}.cg-kiln-choice{background:#ffffff0d;border:1.5px solid var(--brass-dim);border-radius:14px;padding:16px 12px;color:var(--text-ivory);display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px}.cg-kiln-choice.ruby-key{border-color:#ff4d6d}.kiln-ico{font-size:1.8rem}.cg-kiln-choice p{font-size:.82rem;color:var(--text-muted)}.cg-kiln-done{text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px;padding:14px 0}.cg-event-narrative{font-size:.95rem;line-height:1.5;color:#e2e8f5;background:#080a14a6;border-left:3px solid var(--prism);padding:12px 14px;border-radius:8px;margin-bottom:14px}.cg-event-choices{display:flex;flex-direction:column;gap:9px}.cg-event-btn{background:#ffffff0d;border:1.5px solid rgba(244,185,66,.35);border-radius:12px;padding:11px 14px;color:var(--text-ivory);display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left}.cg-event-btn span{font-size:.8rem;color:#ffd166}.cg-event-btn.badge-lunar{border-color:var(--lunar)}.cg-event-btn.badge-prism{border-color:var(--prism)}.cg-event-btn.badge-danger{border-color:var(--danger)}.cg-event-outcome{text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px}.cg-runover-banner{display:flex;align-items:center;gap:14px;margin-bottom:14px}.runover-avatar{width:68px;height:68px;border-radius:50%;border:2px solid var(--brass);object-fit:cover}.win-title{color:#ffd166;font-size:1.35rem}.loss-title{color:#ff758f;font-size:1.35rem}.cg-score-badge{margin-left:auto;background:#f4b94229;border:1.5px solid var(--brass);border-radius:12px;padding:6px 12px;text-align:center}.cg-score-badge span{display:block;font-size:.65rem;color:var(--brass)}.cg-score-badge strong{font-size:1.3rem}.cg-unlock-celebration{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.unlock-pill{background:linear-gradient(90deg,#06d6a038,#f4b94238);border:1px solid var(--emerald);border-radius:10px;padding:8px 12px;font-weight:700;font-size:.88rem}.cg-stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}.stat-box{background:#ffffff0a;border-radius:10px;padding:8px;text-align:center}.stat-box span{display:block;font-size:.72rem;color:var(--text-muted)}.stat-box strong{font-size:1rem}.cg-seed-row{display:flex;align-items:center;justify-content:space-between;background:#00000059;padding:8px 12px;border-radius:10px;margin-bottom:14px;font-size:.85rem}.cg-runover-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.cg-modal-backdrop{position:fixed;inset:0;z-index:90;background:#04060ed6;backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:12px}.cg-modal-sheet{width:100%;max-width:500px;max-height:90dvh;background:var(--bg-panel-elevated);border:1.5px solid var(--brass);border-radius:18px;padding:16px;display:flex;flex-direction:column;overflow:hidden}.cg-modal-sheet.wide{max-width:900px}.cg-modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.cg-modal-head h2{font-size:1.18rem;color:var(--brass)}.cg-confirm-preview-bar{background:#080a14d9;border:1.5px solid #ffd166;border-radius:14px;padding:10px;margin-bottom:10px;display:flex;align-items:center;justify-content:space-around;flex-wrap:wrap;gap:10px}.cp-cards{display:flex;align-items:center;gap:10px}.cp-arrow{font-size:1.4rem;color:var(--brass)}.cp-purge-ash{padding:20px;border:1px dashed var(--danger);border-radius:10px;color:#ff8fa3;font-weight:800}.cp-btns{display:flex;flex-direction:column;gap:6px}.cg-card-grid-scroll{flex:1 1 auto;overflow-y:auto;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding:6px 2px}.cg-tabs-row,.cg-filter-pills{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.cg-tab,.cg-pill-btn{background:#ffffff0f;border:1px solid rgba(255,255,255,.15);color:var(--text-muted);border-radius:8px;padding:5px 10px;font-size:.8rem;font-weight:700}.cg-tab.active,.cg-pill-btn.active{background:#f4b94238;border-color:var(--brass);color:#ffd166}.cg-compendium-list{flex:1 1 auto;overflow-y:auto;display:flex;flex-direction:column;gap:8px}.cg-comp-item{background:#ffffff0a;border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:9px 12px;display:flex;align-items:center;gap:12px}.cg-comp-item.locked-fate{opacity:.55}.cg-comp-item p{font-size:.8rem;color:var(--text-muted);margin-top:2px}.comp-big-ico{font-size:1.5rem;width:32px;text-align:center}.cg-history-summary{display:flex;justify-content:space-around;padding:6px;font-size:.86rem}.cg-settings-list{overflow-y:auto;display:flex;flex-direction:column;gap:11px}.setting-row{display:flex;align-items:center;justify-content:space-between;font-size:.9rem}.cg-controls-hint,.cg-storage-note{font-size:.78rem;color:var(--text-muted);background:#0000004d;padding:8px 10px;border-radius:8px}.cg-run-menu-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:4px}.cg-empty-msg{text-align:center;color:var(--text-muted);padding:24px}@media(max-width:640px)and (orientation:portrait){.cg-warden-select-panel{padding:11px}.ws-header h2{font-size:1rem;text-align:center}.ws-header .cg-btn{white-space:nowrap}.ws-portraits-row{grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:10px}.ws-portrait-card{padding:4px;border-radius:10px;gap:4px}.ws-card-name strong{font-size:.72rem}.ws-card-name small{display:none}.ws-details-box{grid-template-columns:1fr;gap:8px;padding:10px}.ws-details-main h3{font-size:.98rem}.ws-summary{font-size:.8rem;margin-bottom:6px}.ws-traits{font-size:.76rem;gap:4px}.daily-mods-grid,.cg-shop-lower-grid,.cg-treasure-fork{grid-template-columns:1fr}.cg-stats-grid{grid-template-columns:repeat(2,1fr)}.cg-battlefield{flex-direction:column-reverse;justify-content:space-evenly;gap:4px}.cg-player-zone{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:8px;width:100%}.cg-warden-avatar-wrap{width:52px;height:52px}.cg-enemy-svg{width:70px;height:66px}.cg-enemy-svg.tier-elite{width:78px;height:74px}.cg-boss-medallion{width:82px;height:82px}.cg-enemies-zone{gap:6px}.cg-hp-bar{width:92px;height:15px}.cg-hand-dock{display:grid;grid-template-columns:1fr 1fr;grid-template-areas:"left right" "fan fan";align-items:center;gap:4px;padding-top:2px}.cg-dock-left{grid-area:left;flex-direction:row;justify-content:flex-start;gap:6px}.cg-dock-right{grid-area:right;flex-direction:row-reverse;justify-content:flex-start;gap:6px}.cg-hand-fan{grid-area:fan;width:100%;padding:4px 4px 2px}.cg-card.size-hand{width:82px;height:126px;padding:3.5px}.cg-card.size-hand .cg-card-art{height:38px}.cg-card.size-hand .cg-card-title{font-size:.58rem}.cg-card.size-hand .cg-card-desc{font-size:.57rem;line-height:1.14}.cg-card.size-hand .cg-card-cost{width:18px;height:18px;font-size:.7rem}.cg-card.size-hand .cg-card-type-pill,.cg-card.size-hand .cg-card-hotkey{display:none}.cg-hand-slot{margin:0 -7px}.cg-hand-fan.count-6 .cg-hand-slot{margin:0 -11px}.cg-hand-fan.count-7 .cg-hand-slot{margin:0 -14px}.cg-hand-fan.count-8 .cg-hand-slot,.cg-hand-fan.count-9 .cg-hand-slot,.cg-hand-fan.count-10 .cg-hand-slot{margin:0 -17px}.cg-hand-slot:hover{transform:translateY(var(--slot-y, 0px)) rotate(var(--slot-rot, 0deg));margin:0 -7px}.cg-hand-slot.is-raised{transform:translateY(-16px) rotate(0) scale(1.12);margin:0 2px}.cg-lumina-orb{width:64px;height:32px;border-radius:99px;flex-direction:row;gap:4px;padding:0 8px}.lumina-num{font-size:.88rem}.lumina-lbl{display:none}.cg-end-turn-btn{width:auto;height:32px;padding:0 11px;border-radius:99px;flex-direction:row;gap:4px;font-size:.76rem}.cg-pile-btn{height:30px;padding:0 8px;font-size:.74rem}.cg-map-legend{display:none}}@media(max-height:500px)and (orientation:landscape){.cg-top-hud{min-height:28px;padding:2px 8px}.hud-left{font-size:.74rem}.cg-hud-btn{padding:2px 7px;font-size:.74rem}.cg-combat-root{padding:2px 8px}.cg-coach-banner{padding:2px 8px;font-size:.68rem;margin-bottom:2px}.cg-battlefield{flex-direction:row;align-items:center;justify-content:space-around;padding:0 4px;gap:8px}.cg-player-zone{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;max-width:240px;gap:5px}.cg-warden-avatar-wrap{width:44px;height:44px}.cg-guard-badge{font-size:.64rem;padding:1px 5px}.cg-phial-belt{gap:4px}.cg-phial-slot{width:26px;height:26px}.cg-enemy-card{padding:2px 6px;gap:2px}.cg-intent{font-size:.66rem;padding:1px 6px}.cg-enemy-svg{width:52px;height:50px}.cg-enemy-svg.tier-elite{width:56px;height:54px}.cg-boss-medallion{width:58px;height:58px}.cg-enemy-name{font-size:.68rem}.cg-hp-bar{width:88px;height:13px}.cg-hp-text{font-size:.6rem;line-height:12px}.cg-dial-bar{max-width:520px;padding:2px 6px;margin:1px auto;gap:4px}.cg-dial-cap{padding:1px 5px;font-size:.64rem}.cg-dial-slot{height:16px;font-size:.58rem}.cg-dial-subrow{font-size:.6rem;gap:6px}.cg-hand-dock{padding-top:1px;align-items:flex-end}.cg-card.size-hand{width:84px;height:106px;padding:3px}.cg-card.size-hand .cg-card-header{margin-bottom:2px}.cg-card.size-hand .cg-card-cost{width:16px;height:16px;font-size:.64rem}.cg-card.size-hand .cg-card-title{font-size:.54rem}.cg-card.size-hand .cg-card-art{height:26px}.cg-card.size-hand .cg-card-type-pill,.cg-card.size-hand .cg-card-hotkey{display:none}.cg-card.size-hand .cg-card-body{padding:2px 1px 0}.cg-card.size-hand .cg-card-desc{font-size:.52rem;line-height:1.06}.cg-live-pill{font-size:.54rem;padding:0 4px}.cg-hand-slot{margin:0 -8px}.cg-hand-slot:hover,.cg-hand-slot.is-raised{transform:translateY(-10px) rotate(0) scale(1.08);margin:0 2px}.cg-lumina-orb{width:38px;height:38px}.lumina-num{font-size:.88rem}.lumina-lbl{display:none}.cg-pile-btn{padding:3px 6px;font-size:.68rem}.cg-end-turn-btn{width:48px;height:38px;font-size:.66rem}}
