:root{--bg-color:#0d0f14;--panel-bg:#181614;--color-primary:#d4af37;--color-secondary:#38bdf8;--color-danger:#b91c1c;--color-success:#10b981;--color-warning:#f59e0b;--g-void:#08080a;--g-abyss:#101014;--g-panel:#181614;--g-panel-hover:#221e1a;--g-border-dim:#2a251e;--g-border-mid:#4a3f31;--g-border-gold:#8a7143;--g-gold-light:#e5c158;--g-gold-base:#c49b45;--g-gold-dark:#785b1e;--g-crimson-light:#ef4444;--g-crimson-base:#991b1b;--g-crimson-dark:#500f0f;--g-emerald-base:#065f46;--g-ether-blue:#38bdf8;--g-text-main:#f3f1eb;--g-text-sub:#a39b8c;--g-text-muted:#5c5446;--text-main:#f3f1eb;--text-sub:#a39b8c;--text-gold:#e5c158;--text-cyan:#38bdf8;--text-green:#34d399;--rarity-common:#94a3b8;--rarity-rare:#38bdf8;--rarity-epic:#c084fc;--rarity-legendary:#fbbf24;--font-title:"Space Grotesk", "Noto Sans JP", sans-serif;--font-body:"Noto Sans JP", sans-serif;--font-mono:"Space Mono", monospace}*,:before,:after{box-sizing:border-box;-webkit-user-select:none;user-select:none;margin:0;padding:0}html,body{color:var(--g-text-main);font-family:var(--font-body);-webkit-tap-highlight-color:transparent;background:#030303;flex-direction:column;justify-content:center;align-items:center;width:100vw;max-width:100vw;height:100dvh;display:flex;overflow:hidden}img{image-rendering:pixelated;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges}.container{background:var(--g-void);flex-direction:column;width:100%;max-width:540px;height:100dvh;margin:0 auto;display:flex;position:relative;overflow:hidden;box-shadow:0 0 60px #000000f2}.game-viewport{flex-direction:column;flex:1;width:100%;height:100%;min-height:0;display:flex;position:relative;overflow:hidden}.panel,.g-plate,.game-plate,.game-plate-hero{border:1px solid var(--g-border-mid);background:linear-gradient(#211d18 0%,#141210 100%);border-top-color:#5c4f3d;border-bottom-color:#0c0b0a;border-radius:6px;padding:1rem;box-shadow:inset 0 1px #ffffff14,0 4px 14px #000000d9}.g-plate-inset,.plate-well{background:#090807;border:1.5px solid #332b20;border-color:#14120f #332b20 #4f4231;border-radius:4px;padding:.75rem;box-shadow:inset 0 3px 8px #000000e6}.sub-panel{background:#100e0cd9;border:1px solid #2e261d;border-radius:4px;padding:.75rem}.btn,.g-btn,.dock-item,.tab-btn{touch-action:manipulation;min-height:44px;font-family:var(--font-body);cursor:pointer;-webkit-user-select:none;user-select:none;border:1px solid var(--g-border-mid);color:var(--g-text-main);text-shadow:0 1px 2px #000000e6;background:linear-gradient(#2b251e 0%,#171410 100%);border-radius:4px;justify-content:center;align-items:center;gap:6px;font-weight:700;transition:all .1s;display:inline-flex}.btn:active,.g-btn:active{transform:translateY(2px)scale(.98);box-shadow:inset 0 2px 4px #000000e6!important}.g-btn-gold,.btn-hero{border-color:var(--g-gold-base);color:#fff9ea;background:linear-gradient(#aa8028 0%,#684a10 100%);box-shadow:0 4px 12px #aa802840}.btn-secondary{color:var(--g-text-sub);background:#1e1b17;border-color:#3d3326}.btn-danger{color:#fff;background:linear-gradient(#991b1b 0%,#500f0f 100%);border-color:#dc2626}.top-hud,.top-game-hud{z-index:50;background:linear-gradient(#1f1b16 0%,#14120f 100%);border-bottom:1.5px solid #3d3324;flex-shrink:0;justify-content:space-between;align-items:center;width:100%;height:56px;padding:0 14px;display:flex;position:sticky;top:0;box-shadow:0 4px 12px #000000d9}.hud-profile,.hud-left{align-items:center;gap:10px;display:flex}.hud-avatar-frame,.hud-hero-avatar-mini{border:1.5px solid var(--g-gold-base);background:#090807;border-radius:4px;justify-content:center;align-items:center;width:38px;height:38px;display:flex;box-shadow:inset 0 2px 4px #000000e6}.hud-profile-info,.hud-hero-info{flex-direction:column;gap:2px;min-width:0;display:flex;overflow:hidden}.hud-name-row,.hud-hero-name-row{align-items:center;gap:6px;min-width:0;display:flex}.hud-name,.hud-player-name{color:var(--g-text-main);white-space:nowrap;text-overflow:ellipsis;max-width:110px;font-size:.85rem;font-weight:700;overflow:hidden}.hud-lv-badge,.hud-lv-tag{font-family:var(--font-mono);color:var(--g-gold-light);border:1px solid var(--g-gold-base);background:#c49b4526;border-radius:3px;padding:1px 5px;font-size:.58rem}.hud-hp-bar-wrap,.hud-xp-container{background:#080706;border:1px solid #332c22;border-radius:2px;width:76px;height:6px;overflow:hidden;box-shadow:inset 0 1px 3px #000000e6}.hud-bar-fill{height:100%;transition:width .3s}.bar-xp{background:linear-gradient(90deg,#ca8a04,#facc15)}.bar-hp{background:linear-gradient(90deg,#991b1b,#ef4444)}.bar-mp{background:linear-gradient(90deg,#0369a1,#38bdf8)}.bar-gauge{background:linear-gradient(90deg,#ca8a04,#eab308)}.bar-cast{background:linear-gradient(90deg,#7c3aed,#c084fc)}.hud-center{align-items:center;display:flex}.hud-gauges{flex-direction:column;gap:3px;display:flex}.hud-gauge-row{align-items:center;gap:4px;display:flex}.hud-gauge-icon{font-size:.65rem}.hud-gauge-track{background:#080706;border:1px solid #332c22;border-radius:2px;width:58px;height:5px;overflow:hidden}.hud-gauge-num{font-family:var(--font-mono);color:var(--g-text-sub);font-size:.55rem}.hud-currencies,.hud-right{align-items:center;gap:6px;display:flex}.hud-currency-tag,.hud-currency-chip{font-family:var(--font-mono);background:#0d0c0a;border:1px solid #382f23;border-radius:4px;align-items:center;gap:3px;padding:3px 6px;font-size:.7rem;font-weight:700;display:flex;box-shadow:inset 0 1px 3px #000c}.hud-currency-gold{color:var(--g-gold-light)}.hud-currency-gem{color:var(--g-ether-blue)}.hud-icon-btn{cursor:pointer;color:var(--g-text-main);background:#161411;border:1px solid #382f23;border-radius:4px;justify-content:center;align-items:center;padding:4px 6px;font-size:.85rem;text-decoration:none;display:inline-flex}.splash-screen{z-index:9999;cursor:pointer;background:radial-gradient(circle at 50% 35%,#1c1815 0%,#0e0d0c 50%,#060505 100%);justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.splash-content{flex-direction:column;align-items:center;display:flex}.splash-hero-glow{filter:drop-shadow(0 14px 20px #000000e6)drop-shadow(0 0 16px #c49b4540);margin-bottom:24px;animation:3.5s ease-in-out infinite splash-float}@keyframes splash-float{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.splash-logo{color:#f8fafc;letter-spacing:.08em;text-shadow:0 4px 12px #000000e6,0 0 20px #c49b4559;font-size:2.2rem;font-weight:800;font-family:var(--font-title)}.splash-logo-sub{font-family:var(--font-mono);color:var(--g-gold-base);letter-spacing:.4em;text-transform:uppercase;margin-top:6px;font-size:.68rem;font-weight:700}.splash-tap{font-family:var(--font-mono);color:#e2e8f0;letter-spacing:.25em;background:#c49b451a;border:1px solid #c49b454d;border-radius:20px;margin-top:48px;padding:8px 18px;font-size:.72rem;animation:1.8s ease-in-out infinite pulse-tap}@keyframes pulse-tap{0%,to{opacity:.9;transform:scale(1)}50%{opacity:.35;transform:scale(.98)}}.game-stage-container{flex-direction:column;flex:1;width:100%;min-height:0;display:flex;position:relative;overflow:hidden}.chrono-bg-canvas{pointer-events:none;z-index:1;width:100%;height:100%;position:absolute;top:0;left:0}.chrono-vignette-overlay{pointer-events:none;z-index:2;background:radial-gradient(circle,#0000 40%,#000000a6 100%);position:absolute;inset:0}.chrono-scanline-overlay{pointer-events:none;z-index:2;opacity:.4;background:linear-gradient(#12101000 50%,#00000040 50%) 0 0/100% 4px;position:absolute;inset:0}.tab-content{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#d4af3766 #00000040;box-sizing:border-box;flex:1;width:100%;min-height:0;max-height:100%;padding:12px 12px 78px;overflow:hidden auto}.tab-content::-webkit-scrollbar{width:5px}.tab-content::-webkit-scrollbar-track{background:#0003;border-radius:3px}.tab-content::-webkit-scrollbar-thumb{background:#d4af3759;border-radius:3px}.tab-content::-webkit-scrollbar-thumb:hover{background:#d4af37b3}.stage-viewport,.stage-home-panel{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#d4af3766 #00000040;background:radial-gradient(circle at 50% 35%, #181512 0%, #0d0c0a 60%, var(--g-void) 100%);box-sizing:border-box;flex-direction:column;flex:1;justify-content:space-between;width:100%;height:100%;min-height:0;padding:12px 12px 78px;display:flex;position:relative;overflow-y:auto}.stage-viewport::-webkit-scrollbar{width:5px}.stage-home-panel::-webkit-scrollbar{width:5px}.stage-viewport::-webkit-scrollbar-track{background:#0003;border-radius:3px}.stage-home-panel::-webkit-scrollbar-track{background:#0003;border-radius:3px}.stage-viewport::-webkit-scrollbar-thumb{background:#d4af3759;border-radius:3px}.stage-home-panel::-webkit-scrollbar-thumb{background:#d4af3759;border-radius:3px}.stage-left-deck{z-index:15;flex-direction:column;gap:8px;display:flex;position:relative}.floating-forecast-badge{cursor:pointer;background:linear-gradient(#211c16 0%,#14120e 100%);border:1px solid #4a3e2c;border-top-color:#63533c;border-radius:4px;align-items:center;gap:8px;max-width:220px;padding:8px 10px;display:flex;box-shadow:inset 0 1px #ffffff0f,0 4px 12px #000000d9}.forecast-badge-icon{font-size:1.3rem}.forecast-badge-body{flex-direction:column;display:flex}.forecast-badge-title{color:var(--g-text-main);font-size:.75rem;font-weight:700}.forecast-badge-sub{font-family:var(--font-mono);color:var(--g-gold-light);font-size:.58rem}.stage-right-deck{z-index:15;position:absolute;top:14px;right:14px}.floating-comm-badge{font-family:var(--font-mono);color:var(--g-text-sub);background:linear-gradient(#211c16 0%,#14120e 100%);border:1px solid #4a3e2c;border-top-color:#63533c;border-radius:4px;align-items:center;gap:6px;padding:6px 9px;font-size:.6rem;display:flex;box-shadow:inset 0 1px #ffffff0f,0 4px 12px #000000d9}.comm-dot{background:#dc2626;border-radius:50%;width:6px;height:6px;animation:1.5s infinite pulse-comm}@keyframes pulse-comm{0%,to{opacity:1}50%{opacity:.2}}.hero-stage-center{z-index:10;flex-direction:column;justify-content:center;align-items:center;margin:1.5rem 0;display:flex;position:relative}.hero-avatar-container{cursor:pointer;flex-direction:column;align-items:center;animation:4s ease-in-out infinite hero-hover;display:flex;position:relative}@keyframes hero-hover{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.hero-sprite-img{filter:drop-shadow(0 12px 20px #000000f2);width:140px;height:140px}.hero-dialogue-bubble{border:1px solid var(--g-gold-base);white-space:nowrap;color:var(--g-text-main);opacity:0;pointer-events:none;background:#100e0cf5;border-radius:6px;padding:6px 12px;font-size:.72rem;transition:all .25s;position:absolute;top:-36px;transform:translateY(6px);box-shadow:0 6px 20px #000000b3}.hero-dialogue-bubble.show{opacity:1;transform:translateY(0)}.hero-dialogue-bubble:after{content:"";border-left:5px solid #0000;border-right:5px solid #0000;border-top:5px solid var(--g-gold-base);width:0;height:0;position:absolute;bottom:-5px;left:50%;transform:translate(-50%)}.stage-bottom-deck{z-index:15;flex-direction:column;gap:10px;margin-top:auto;display:flex;position:relative}.comm-ticker-bar{font-family:var(--font-mono);color:var(--g-text-sub);white-space:nowrap;background:#100e0cd9;border:1px solid #2e261d;border-radius:4px;align-items:center;gap:6px;padding:6px 10px;font-size:.62rem;display:flex;overflow:hidden}.comm-ticker-tag{color:var(--g-gold-light);flex-shrink:0;font-weight:700}.hero-dive-button,.hero-dive-plate{cursor:pointer;border-radius:6px;justify-content:space-between;align-items:center;width:100%;padding:14px 18px;transition:transform 80ms;display:flex;position:relative;overflow:hidden}.hero-dive-button:active{transform:translateY(2px)}.hero-dive-button.state-unregistered{background:linear-gradient(#991b1b 0%,#520b0b 100%);border:1.5px solid #dc2626;border-color:#f87171 #dc2626 #2b0404;box-shadow:inset 0 1px #ffffff4d,0 6px 18px #000000e6}.hero-dive-button.state-registered{background:linear-gradient(#0d7053 0%,#053b2c 100%);border:1.5px solid #10b981;border-color:#6ee7b7 #10b981 #022018;box-shadow:inset 0 1px #ffffff4d,0 6px 18px #000000e6}.hero-dive-button.state-loot-ready{background:linear-gradient(#d97706 0%,#78350f 100%);border:1.5px solid #f59e0b;border-color:#fde68a #f59e0b #451a03;animation:2s infinite pulse-loot-glow;box-shadow:inset 0 1px #ffffff4d,0 6px 18px #f59e0b66}@keyframes pulse-loot-glow{0%,to{box-shadow:inset 0 1px #ffffff4d,0 6px 18px #f59e0b66}50%{box-shadow:inset 0 1px #ffffff80,0 8px 24px #f59e0bcc}}.dive-btn-left{flex-direction:column;align-items:flex-start;display:flex}.dive-btn-badge{font-family:var(--font-mono);letter-spacing:.15em;text-transform:uppercase;background:#0006;border-radius:3px;margin-bottom:3px;padding:1px 6px;font-size:.56rem}.dive-btn-title{color:#fff;text-shadow:0 1px 3px #000c;font-size:1.05rem;font-weight:800}.dive-btn-sub{font-family:var(--font-mono);color:#ffffffd9;margin-top:1px;font-size:.62rem}.dive-btn-right{flex-direction:column;align-items:flex-end;display:flex}.dive-btn-timer{font-family:var(--font-mono);color:#fff;font-size:.85rem;font-weight:700}.dive-btn-action-tag{font-family:var(--font-mono);color:#ffffffbf;margin-top:2px;font-size:.58rem}.build-viewport{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#d4af3766 #00000040;box-sizing:border-box;flex-direction:column;flex:1;gap:6px;width:100%;min-height:0;padding:8px 10px 78px;display:flex;position:relative;overflow-y:auto}.build-viewport::-webkit-scrollbar-track{background:#0003;border-radius:3px}.build-viewport{box-sizing:border-box;flex-direction:column;gap:.6rem;padding:.6rem;display:flex;overflow-y:auto}.build-viewport::-webkit-scrollbar{width:4px}.build-viewport::-webkit-scrollbar-thumb{background:#d4af3766;border-radius:2px}.build-main-grid{box-sizing:border-box;grid-template-columns:1.15fr .9fr 1.15fr;align-items:center;gap:6px;width:100%;display:grid}.build-col-gear{flex-direction:column;gap:5px;min-width:0;display:flex}.hero-loadout-center{flex-direction:column;justify-content:center;align-items:center;min-width:0;display:flex}.hero-loadout-frame{border:1px solid var(--g-border-gold);background:radial-gradient(circle,#c49b4526 0%,#0009 80%);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;width:80px;height:94px;padding:4px;display:flex;position:relative;box-shadow:0 4px 12px #000c}.hero-loadout-sprite{object-fit:contain;filter:drop-shadow(0 2px 6px #000000e6);width:58px;height:58px}.hero-loadout-name-tag{color:var(--g-gold-light);white-space:nowrap;background:#000000b3;border:1px solid #c49b4566;border-radius:4px;margin-top:2px;padding:1px 6px;font-size:.58rem;font-weight:700}.build-col-runes{flex-direction:column;gap:4px;min-width:0;display:flex}.rune-circuit-header{font-family:var(--font-mono);color:var(--g-gold-light);justify-content:space-between;align-items:center;padding:0 2px;font-size:.58rem;display:flex}.circuit-sockets-grid{grid-template-columns:1fr 1fr;gap:5px;width:100%;display:grid}.socket-node{justify-content:center;align-items:center;display:flex}.socket-circle{border:1px solid var(--g-border-gold);cursor:pointer;box-sizing:border-box;background:linear-gradient(#1d1915 0%,#0d0c0a 100%);border-radius:6px;justify-content:center;align-items:center;width:100%;height:42px;transition:transform .15s,border-color .2s;display:flex;box-shadow:inset 0 2px 6px #000000e6,0 2px 4px #0009}.socket-circle:active{transform:scale(.95)}.socket-circle.filled{border-color:var(--g-gold-base);background:linear-gradient(#2b2210 0%,#15120a 100%);box-shadow:0 0 8px #c49b4559}.socket-placeholder{font-family:var(--font-mono);color:var(--g-text-sub);opacity:.6;font-size:.75rem;font-weight:700}.gear-pod,.rune-socket{cursor:pointer;box-sizing:border-box;background:linear-gradient(#211c16 0%,#13110e 100%);border:1px solid #423625;border-top-color:#5c4b35;border-radius:4px;align-items:center;gap:5px;min-width:0;padding:4px 6px;display:flex;box-shadow:inset 0 1px #ffffff0d,0 3px 8px #000c}.gear-pod:active,.rune-socket:active{transform:scale(.97)}.gear-pod-icon-box,.rune-socket-icon{background:#090807;border:1px solid #2e261b;border-radius:3px;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;display:flex;box-shadow:inset 0 2px 4px #000000e6}.gear-pod-text,.rune-socket-text{flex-direction:column;min-width:0;display:flex;overflow:hidden}.gear-pod-slot-label,.rune-socket-slot{font-family:var(--font-mono);color:var(--g-text-muted);text-transform:uppercase;font-size:.5rem;line-height:1}.gear-pod-item-name,.rune-socket-name{color:var(--g-text-main);white-space:nowrap;text-overflow:ellipsis;font-size:.68rem;font-weight:700;line-height:1.2;overflow:hidden}.build-stats-deck{border:1px solid var(--g-border-dim);background:linear-gradient(#181511 0%,#0f0d0a 100%);border-radius:6px;flex-direction:column;gap:6px;padding:8px 10px;display:flex}.build-stats-header{justify-content:space-between;align-items:center;display:flex}.stats-deck-title{color:var(--g-text-main);font-size:.7rem;font-weight:700}.power-score-tag{font-family:var(--font-mono);color:var(--g-gold-light);background:#c49b4526;border:1px solid #c49b454d;border-radius:4px;padding:1px 6px;font-size:.7rem;font-weight:800}.stat-chips-grid{grid-template-columns:repeat(4,1fr);gap:4px;display:grid}.stat-chip{background:#090807;border:1px solid #2b2318;border-radius:4px;justify-content:space-between;align-items:center;padding:2px 4px;display:flex}.stat-chip-label{font-family:var(--font-mono);color:var(--g-text-sub);font-size:.55rem}.stat-chip-val{font-family:var(--font-mono);color:var(--g-text-main);font-size:.65rem;font-weight:700}.forge-mats-banner{border:1px solid var(--g-border-dim);color:var(--g-text-sub);background:#0006;border-radius:4px;justify-content:space-between;align-items:center;padding:4px 8px;font-size:.65rem;display:flex}.mats-chip{align-items:center;gap:3px;display:flex}.affix-row{color:var(--g-text-main);background:#090807;border:1px solid #241e17;border-radius:3px;justify-content:space-between;align-items:center;padding:4px 6px;font-size:.68rem;display:flex}.affix-tag{font-family:var(--font-mono);color:var(--g-gold-light);font-size:.58rem;font-weight:700}.synergy-banner{background:linear-gradient(90deg,#c49b451f,#38bdf814);border:1px solid #c49b454d;border-radius:4px;flex-direction:column;gap:2px;padding:6px 8px;display:flex}.synergy-name{color:var(--g-gold-light);align-items:center;gap:4px;font-size:.72rem;font-weight:800;display:flex}.synergy-desc{color:var(--g-text-sub);font-size:.62rem;line-height:1.3}.matrix-card{background:#110f0d;border:1px solid #2e261a;border-radius:4px;padding:8px 12px;box-shadow:inset 0 1px 3px #000c}.matrix-title{font-family:var(--font-mono);color:var(--g-text-muted);font-size:.6rem}.matrix-stats-grid{text-align:center;grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.matrix-stat-item{flex-direction:column;display:flex}.matrix-stat-val{font-family:var(--font-mono);color:var(--g-gold-light);font-size:.85rem;font-weight:700}.matrix-stat-lbl{color:var(--g-text-sub);font-size:.55rem}.inline-action-deck,.build-inline-chest-deck{border:1px solid var(--g-border-dim);border-top:1.5px solid var(--g-gold-base);background:linear-gradient(#181511 0%,#0f0d0a 100%);border-radius:6px;flex-direction:column;gap:6px;margin-top:4px;padding:8px 10px;animation:.2s levelup-bounce-in;display:flex;box-shadow:inset 0 1px #ffffff0a,0 3px 10px #000000d9}.inline-panel-header{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.inline-panel-close-btn:hover{color:var(--g-gold-light)}.stage-drawer-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:120;background:#000000bf;animation:.18s toast-fade-in;position:absolute;inset:0}.stage-scoped-drawer{border-top:2px solid var(--g-gold-base);box-sizing:border-box;z-index:130;background:linear-gradient(#181512 0%,#0d0b09 100%);border-radius:12px 12px 0 0;flex-direction:column;width:100%;min-height:280px;max-height:82%;padding:10px 12px 14px;animation:.22s cubic-bezier(.16,1,.3,1) forwards stage-drawer-slide-up;display:flex;position:absolute;bottom:0;left:0;right:0;box-shadow:0 -8px 30px #000000f2}@keyframes stage-drawer-slide-up{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}.stage-drawer-header{border-bottom:1px solid var(--g-border-dim);flex-shrink:0;justify-content:space-between;align-items:center;margin-bottom:8px;padding-bottom:6px;display:flex}.stage-drawer-title{color:var(--g-gold-light);font-size:.85rem;font-weight:800}.stage-drawer-close-btn{color:var(--g-text-sub);cursor:pointer;background:0 0;border:none;padding:0 4px;font-size:1.2rem;line-height:1;transition:color .15s}.stage-drawer-close-btn:hover{color:var(--g-gold-light)}.stage-drawer-body{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;flex-direction:column;flex:1;gap:6px;min-height:0;padding-right:2px;display:flex;overflow-y:auto}.empty-chest-box{text-align:center;background:#00000059;border:1px dashed #3d3324;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:6px;margin:10px 0;padding:36px 16px;display:flex}.empty-chest-title{color:var(--g-text-main);font-size:.86rem;font-weight:700}.empty-chest-desc{color:var(--g-text-sub);font-size:.7rem;line-height:1.4}.drawer-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:1100;background:#000000a6;position:fixed;inset:0}.gear-chest-drawer,.market-drawer{z-index:1200}.chest-header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.chest-title{color:var(--g-text-main);font-size:.95rem;font-weight:800}.btn-chest-close{color:var(--g-text-sub);cursor:pointer;background:0 0;border:none;font-size:1.2rem}.chest-item-list{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#d4af3766 #00000040;flex-direction:column;flex:1;gap:6px;min-height:0;padding-right:2px;display:flex;overflow-y:auto}.chest-item-list::-webkit-scrollbar{width:5px}.chest-item-list::-webkit-scrollbar-track{background:#0003;border-radius:3px}.chest-item-list::-webkit-scrollbar-thumb{background:#d4af3759;border-radius:3px}.chest-item-list::-webkit-scrollbar-thumb:hover{background:#d4af37b3}.chest-item-row{cursor:pointer;background:linear-gradient(#1f1b16 0%,#13110e 100%);border:1px solid #3d3222;border-radius:4px;justify-content:space-between;align-items:center;padding:8px 10px;display:flex}.chest-item-row.selected{border-color:var(--g-gold-base);background:#26211a}.btn-equip-confirm{color:#fff9ea;border:1px solid var(--g-gold-base);cursor:pointer;background:linear-gradient(#aa8028 0%,#684a10 100%);border-radius:4px;width:100%;margin-top:8px;padding:12px;font-size:.9rem;font-weight:800}.market-container{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;box-sizing:border-box;flex-direction:column;flex:1;width:100%;min-height:0;padding:8px 10px 0;display:flex;overflow:hidden}.market-tabs-row{z-index:10;background:var(--g-void);flex-shrink:0;gap:6px;margin-bottom:6px;padding:4px 0 6px;display:flex;overflow-x:auto}.market-tab-btn{white-space:nowrap;flex:1;padding:6px 8px;font-size:.72rem}.market-tab-btn.active{border-color:var(--g-gold-base);color:var(--g-gold-light);background:#262017}.market-view-panel{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#d4af3766 #00000040;box-sizing:border-box;flex-direction:column;flex:1;gap:8px;width:100%;min-height:0;padding-bottom:84px;display:flex;overflow-y:auto}.market-view-panel::-webkit-scrollbar{width:5px}.market-view-panel::-webkit-scrollbar-track{background:#0003;border-radius:3px}.market-view-panel::-webkit-scrollbar-thumb{background:#d4af3759;border-radius:3px}.market-view-panel::-webkit-scrollbar-thumb:hover{background:#d4af37b3}.market-view-panel.hidden{display:none!important}.market-item-card{cursor:pointer;background:linear-gradient(#1f1b16 0%,#13110e 100%);border:1px solid #3d3222;border-top-color:#594933;border-radius:4px;justify-content:space-between;align-items:center;padding:8px 10px;display:flex;box-shadow:inset 0 1px #ffffff0d,0 2px 8px #000c}.market-item-left{align-items:center;gap:10px;display:flex}.market-item-icon{background:#090807;border:1px solid #2b2318;border-radius:3px;justify-content:center;align-items:center;width:32px;height:32px;font-size:1rem;display:flex;box-shadow:inset 0 2px 4px #000000e6}.market-item-info{flex-direction:column;gap:2px;display:flex}.market-item-name{color:var(--g-text-main);font-size:.82rem;font-weight:700}.market-item-sub{font-family:var(--font-mono);color:var(--g-text-sub);font-size:.56rem}.market-item-right{text-align:right;flex-direction:column;align-items:flex-end;gap:2px;display:flex}.market-item-price{font-family:var(--font-mono);color:var(--g-gold-light);font-size:.85rem;font-weight:800}.price-up{color:#34d399;font-family:var(--font-mono);font-size:.6rem;font-weight:700}.price-down{color:#f87171;font-family:var(--font-mono);font-size:.6rem;font-weight:700}.price-flat{color:var(--g-text-sub);font-family:var(--font-mono);font-size:.6rem;font-weight:700}.market-drawer{border-top:2px solid var(--g-gold-base);z-index:1200;box-sizing:border-box;background:#14120f;border-radius:14px 14px 0 0;flex-direction:column;max-width:540px;height:75%;max-height:75vh;margin:0 auto;padding:14px;display:none;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 30px #000000f2}.market-drawer.open{display:flex}.chart-container{background:#090807;border:1px solid #2b2318;border-radius:4px;margin:8px 0;padding:10px 8px 6px;box-shadow:inset 0 2px 6px #000000e6}.chart-axis-labels{font-family:var(--font-mono);color:var(--g-text-sub);justify-content:space-between;margin-top:4px;font-size:.55rem;display:flex}.trade-actions-box{background:#110f0d;border:1px solid #2b2318;border-radius:4px;flex-direction:column;gap:8px;margin-top:auto;padding:10px;display:flex}.qty-stepper{justify-content:space-between;align-items:center;display:flex}.qty-btn{width:32px;height:32px;color:var(--g-text-main);cursor:pointer;background:#26211a;border:1px solid #4a3e2c;border-radius:3px;justify-content:center;align-items:center;font-size:1rem;font-weight:700;display:flex}.btn-trade-buy{color:#fff9ea;border:1px solid var(--g-gold-base);cursor:pointer;background:linear-gradient(#aa8028 0%,#684a10 100%);border-radius:4px;flex:1;padding:10px;font-size:.85rem;font-weight:800}.btn-trade-sell{color:var(--g-gold-light);cursor:pointer;background:#211c16;border:1px solid #4a3e2c;border-radius:4px;flex:1;padding:10px;font-size:.85rem;font-weight:800}.sim-viewport{box-sizing:border-box;flex-direction:column;flex:1;gap:6px;width:100%;height:100%;min-height:0;padding:8px 8px 76px;display:flex;overflow:hidden}.sim-top-deck{border:1px solid var(--g-border-gold);background:linear-gradient(#1d1915 0%,#100e0b 100%);border-radius:6px;flex-direction:column;flex-shrink:0;gap:6px;padding:6px 8px;display:flex;box-shadow:0 3px 10px #000c}.sim-dungeon-row{justify-content:space-between;align-items:center;gap:6px;display:flex}.sim-dungeon-select{color:var(--g-gold-light);font-family:var(--font-title);background:#090807;border:1px solid #4a3e2c;border-radius:4px;outline:none;flex:1;padding:4px 6px;font-size:.75rem;font-weight:700}.sim-controls-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px;display:flex}.sim-btn-group{flex-wrap:wrap;align-items:center;gap:3px;display:flex}.sim-ctl-btn{color:var(--g-text-main);cursor:pointer;white-space:nowrap;background:linear-gradient(#2b251e 0%,#171410 100%);border:1px solid #4a3c2a;border-radius:3px;align-items:center;gap:2px;padding:3px 6px;font-size:.6rem;font-weight:700;transition:all .15s;display:flex}.sim-ctl-btn:active{transform:scale(.96)}.sim-ctl-btn.primary{border-color:var(--g-gold-base);color:#fff9ea;background:linear-gradient(#aa8028 0%,#684a10 100%);font-weight:800}.sim-ctl-btn.active{border-color:var(--g-ether-blue);color:var(--g-ether-blue);background:#38bdf826}.sim-clash-stage{border:1px solid var(--g-border-dim);background:radial-gradient(circle at 50% 55%,#2a221b 0%,#15120e 55%,#080706 100%);border-radius:6px;flex-direction:column;flex-shrink:0;justify-content:space-between;height:140px;padding:6px 10px;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 2px 8px #000000f2,0 3px 10px #000c}.sim-stage-banner-row{z-index:5;justify-content:space-between;align-items:center;width:100%;display:flex}.sim-stage-badge{font-family:var(--font-mono);color:var(--g-gold-light);background:#000000a6;border:1px solid #c49b4566;border-radius:4px;padding:2px 6px;font-size:.55rem;font-weight:700}.sim-action-announcement{color:var(--g-text-main);border:1px solid var(--g-border-dim);text-align:center;white-space:nowrap;text-overflow:ellipsis;background:#000000bf;border-radius:4px;max-width:65%;padding:2px 8px;font-size:.58rem;font-weight:700;overflow:hidden}.sim-duel-row{z-index:10;justify-content:space-around;align-items:center;width:100%;margin-top:-4px;display:flex;position:relative}.sim-fighter-stand{flex-direction:column;justify-content:center;align-items:center;width:90px;display:flex;position:relative}.sim-stand-shadow{background:radial-gradient(#000000d9 0%,#0000 75%);border-radius:50%;width:64px;height:14px;margin-top:-8px}.sim-fighter-wrapper{z-index:2;justify-content:center;align-items:center;transition:transform .12s ease-out;display:flex;position:relative}.sim-fighter-wrapper.attacking-right{transform:translate(34px)scale(1.2)}.sim-fighter-wrapper.attacking-left{transform:translate(-34px)scale(1.2)}.sim-fighter-wrapper.hit-shake{animation:.35s ease-in-out sim-hit-shake}@keyframes sim-hit-shake{0%,to{filter:brightness();transform:translate(0)}20%,60%{filter:brightness(1.8)drop-shadow(0 0 8px #ef4444);transform:translate(-6px)}40%,80%{transform:translate(6px)}}.sim-fighter-sprite{object-fit:contain;filter:drop-shadow(0 4px 8px #000000e6);width:58px;height:58px}.sim-vs-emblem{font-family:var(--font-title);color:#f59e0b;text-shadow:0 0 8px #f59e0b99;font-size:1.1rem;font-weight:900;animation:1.5s infinite alternate sim-vs-pulse}.sim-gauges-deck{box-sizing:border-box;flex-shrink:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;width:100%;display:grid}.sim-gauge-card{box-sizing:border-box;background:#0e0c09e6;border:1px solid #3d3222;border-radius:6px;flex-direction:column;gap:3px;width:100%;min-width:0;padding:5px 6px;display:flex;overflow:hidden;box-shadow:0 3px 8px #000000d9}.sim-gauge-card.ally{border-left:3px solid var(--g-gold-base)}.sim-gauge-card.enemy{border-right:3px solid #ef4444}.sim-gauge-card-header{justify-content:space-between;align-items:center;gap:4px;width:100%;min-width:0;display:flex;overflow:hidden}.sim-card-name{color:var(--g-text-main);white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:.65rem;font-weight:700;overflow:hidden}.sim-card-lv{font-family:var(--font-mono);color:var(--g-gold-light);white-space:nowrap;flex-shrink:0;font-size:.5rem}.sim-bar-box{flex-direction:column;gap:1px;width:100%;min-width:0;display:flex}.sim-bar-label-row{font-family:var(--font-mono);color:var(--g-text-sub);justify-content:space-between;align-items:center;width:100%;min-width:0;font-size:.48rem;display:flex}.sim-bar-track{box-sizing:border-box;background:#090807;border:1px solid #2b2318;border-radius:2px;width:100%;height:5px;position:relative;overflow:hidden;box-shadow:inset 0 1px 3px #000000e6}.sim-bar-fill-hp{background:linear-gradient(90deg,#10b981,#34d399);width:100%;height:100%;transition:width .15s ease-out}.sim-bar-fill-hp.enemy{background:linear-gradient(90deg,#b91c1c,#ef4444)}.sim-bar-fill-mp{background:linear-gradient(90deg,#2563eb,#60a5fa);width:100%;height:100%;transition:width .15s ease-out}.sim-bar-fill-gauge{background:linear-gradient(90deg,#d97706,#fbbf24);width:0%;height:100%;transition:width .1s linear}.sim-bar-fill-cast{background:linear-gradient(90deg,#7c3aed,#a78bfa);width:0%;height:100%;transition:width .1s linear}.sim-status-tray{flex-wrap:wrap;gap:2px;min-height:12px;margin-top:1px;display:flex}.sim-status-chip{font-family:var(--font-mono);border-radius:2px;padding:0 3px;font-size:.48rem;font-weight:700;line-height:1.1}.sim-status-chip.poison{color:#c084fc;background:#c084fc33;border:1px solid #c084fc66}.sim-status-chip.burn{color:#fb923c;background:#fb923c33;border:1px solid #fb923c66}.sim-status-chip.freeze{color:#38bdf8;background:#38bdf833;border:1px solid #38bdf866}.sim-status-chip.stun{color:#facc15;background:#facc1533;border:1px solid #facc1566}.sim-status-chip.buff{color:#34d399;background:#34d39933;border:1px solid #34d39966}.sim-dmg-pop-layer{pointer-events:none;z-index:40;width:100%;height:100%;position:absolute;top:0;left:0}.sim-dmg-pop{font-family:var(--font-mono);pointer-events:none;z-index:50;font-size:.95rem;font-weight:900;animation:.85s cubic-bezier(.16,1,.3,1) forwards sim-pop-float;position:absolute}.sim-dmg-pop.crit{color:#facc15;text-shadow:0 0 10px #000000e6,0 0 6px #d97706;font-size:1.15rem}.sim-dmg-pop.normal{color:#f87171;text-shadow:0 0 8px #000000e6}.sim-dmg-pop.heal{color:#34d399;text-shadow:0 0 8px #000000e6}.sim-dmg-pop.dot{color:#c084fc;text-shadow:0 0 6px #000000e6;font-size:.85rem}@keyframes sim-pop-float{0%{opacity:0;transform:translateY(6px)scale(.6)}25%{opacity:1;transform:translateY(-8px)scale(1.15)}to{opacity:0;transform:translateY(-22px)scale(1)}}.sim-console-deck{border:1px solid var(--g-border-dim);background:#090807;border-radius:6px;flex-direction:column;flex:1;min-height:120px;transition:height .2s,max-height .2s;display:flex;overflow:hidden}.sim-console-deck.height-small{flex:0 0 130px;height:130px;max-height:130px}.sim-console-deck.height-large{flex:0 0 280px;height:280px;max-height:280px}.sim-console-header{height:28px;font-family:var(--font-mono);color:var(--g-text-sub);background:#13110e;border-bottom:1px solid #2b2318;flex-shrink:0;justify-content:space-between;align-items:center;padding:0 6px;font-size:.55rem;display:flex}.sim-header-right-tools{align-items:center;gap:6px;display:flex}.sim-size-toggle-btn{color:var(--g-text-sub);cursor:pointer;background:#1c1813;border:1px solid #3d3222;border-radius:3px;padding:1px 5px;font-size:.52rem;transition:all .1s}.sim-size-toggle-btn.active{color:var(--g-gold-light);border-color:var(--g-gold-base);background:#c49b4526}.sim-log-stream-box{flex-direction:column;flex:1;gap:4px;min-height:0;padding:6px 8px;font-size:.68rem;line-height:1.35;display:flex;overflow-y:auto}.sim-log-stream-box::-webkit-scrollbar{width:4px}.sim-log-stream-box::-webkit-scrollbar-thumb{background:#d4af3759;border-radius:2px}.sim-log-line{word-break:break-all;border-radius:3px;padding:3px 6px;animation:.12s toast-fade-in}.sim-log-line.log-ally{color:#e0f2fe;background:#38bdf814;border-left:3px solid #38bdf8}.sim-log-line.log-enemy{color:#fee2e2;background:#ef444414;border-left:3px solid #ef4444}.sim-log-line.log-crit{color:#fef08a;background:#facc151f;border-left:3px solid #facc15;font-weight:700}.sim-log-line.log-heal{color:#d1fae5;background:#34d39914;border-left:3px solid #34d399}.sim-log-line.log-system{color:var(--g-gold-light);font-family:var(--font-mono);text-align:center;background:#0006;border:1px dashed #c49b454d;padding:2px 4px;font-size:.58rem}.sim-summary-card{border:1.5px solid var(--g-gold-base);background:linear-gradient(#241d14 0%,#120f0c 100%);border-radius:6px;flex-direction:column;gap:6px;padding:8px 10px;animation:.4s levelup-bounce-in;display:flex;box-shadow:0 4px 14px #000000d9}.sim-summary-header{justify-content:space-between;align-items:center;display:flex}.sim-summary-outcome{font-family:var(--font-title);font-size:.95rem;font-weight:900}.sim-summary-outcome.victory{color:var(--g-gold-light);text-shadow:0 0 8px #f59e0b99}.sim-summary-outcome.defeat{color:#ef4444;text-shadow:0 0 8px #ef444499}.sim-metrics-grid{grid-template-columns:repeat(3,1fr);gap:4px;display:grid}.sim-metric-chip{background:#090807;border:1px solid #332b20;border-radius:4px;flex-direction:column;align-items:center;padding:3px 5px;display:flex}.sim-metric-label{font-family:var(--font-mono);color:var(--g-text-sub);font-size:.5rem}.sim-metric-val{font-family:var(--font-mono);color:var(--g-text-main);font-size:.7rem;font-weight:800}.compendium-container{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;box-sizing:border-box;flex-direction:column;flex:1;width:100%;min-height:0;padding:8px 10px 0;display:flex;overflow:hidden}.comp-overview-card{flex-shrink:0;justify-content:space-between;align-items:center;margin-bottom:6px;padding:8px 12px;display:flex}.comp-cat-tabs{z-index:10;background:var(--g-void);flex-shrink:0;gap:6px;margin-bottom:8px;padding:4px 0 6px;display:flex;overflow-x:auto}.comp-tab-btn{color:var(--g-text-sub);cursor:pointer;white-space:nowrap;background:#161411;border:1px solid #382f22;border-radius:3px;padding:6px 10px;font-size:.7rem;font-weight:700}.comp-tab-btn.active{border-color:var(--g-gold-base);color:var(--g-gold-light);background:#262017}.comp-grid-list{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#d4af3766 #00000040;box-sizing:border-box;flex-direction:column;flex:1;gap:8px;width:100%;min-height:0;padding-bottom:84px;display:flex;overflow-y:auto}.comp-grid-list::-webkit-scrollbar{width:5px}.comp-grid-list::-webkit-scrollbar-track{background:#0003;border-radius:3px}.comp-grid-list::-webkit-scrollbar-thumb{background:#d4af3759;border-radius:3px}.comp-grid-list::-webkit-scrollbar-thumb:hover{background:#d4af37b3}.comp-grid-list.hidden{display:none!important}.comp-entry-card{background:linear-gradient(#1f1b16 0%,#13110e 100%);border:1px solid #3d3222;border-top-color:#594933;border-radius:4px;flex-direction:column;gap:6px;padding:10px;display:flex;position:relative;box-shadow:inset 0 1px #ffffff0d,0 2px 8px #000c}.comp-card-locked{opacity:.55}.comp-badge-status{font-family:var(--font-mono);border-radius:3px;padding:1px 5px;font-size:.55rem;font-weight:700;position:absolute;top:8px;right:8px}.badge-unlocked{color:#34d399;background:#10b98126;border:1px solid #10b9814d}.badge-locked{color:#f87171;background:#e11d4826;border:1px solid #e11d484d}.comp-entry-top{align-items:center;gap:10px;display:flex}.comp-sprite-box{background:#090807;border:1.5px solid #2e261b;border-radius:3px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex;box-shadow:inset 0 2px 5px #000000e6}.comp-info-block{flex-direction:column;gap:1px;display:flex}.comp-entry-name{color:var(--g-text-main);font-size:.82rem;font-weight:800}.comp-entry-sub{font-family:var(--font-mono);color:var(--g-gold-light);font-size:.56rem}.comp-entry-desc{color:var(--g-text-sub);background:#00000059;border-radius:3px;padding:5px 8px;font-size:.68rem;line-height:1.4}#bottom-nav-dock,.bottom-nav-dock{z-index:50;width:100%;height:60px;padding-bottom:env(safe-area-inset-bottom,0);background:linear-gradient(#181512 0%,#0d0b09 100%);border-top:1.5px solid #3d3324;flex:0 0 60px;justify-content:space-around;align-items:center;max-width:540px;margin:0 auto;display:flex;position:sticky;bottom:0;box-shadow:0 -4px 16px #000000d9}.dock-item,.dock-btn{cursor:pointer;color:var(--g-text-muted);box-shadow:none;background:0 0;border:none;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;min-height:48px;transition:all .15s;display:flex}.dock-item:active,.dock-btn:active{transform:scale(.92)}.dock-item.active,.dock-btn.active{color:var(--g-gold-light)}.dock-item.active .dock-icon,.dock-btn.active .dock-icon{color:var(--g-gold-light);filter:drop-shadow(0 0 6px #c49b4566)}.dock-item.active .dock-label,.dock-btn.active .dock-label{color:var(--g-gold-light);font-weight:700}.dock-icon{font-size:1.15rem}.dock-label{font-size:.58rem}.rarity-glow-common{box-shadow:0 0 8px #94a3b833}.rarity-glow-rare{box-shadow:0 0 10px #38bdf859}.rarity-glow-epic{box-shadow:0 0 12px #c084fc73}.rarity-glow-legendary{box-shadow:0 0 16px #fbbf2499}.border-aura-common{border-color:var(--rarity-common)!important}.border-aura-rare{border-color:var(--rarity-rare)!important}.border-aura-epic{border-color:var(--rarity-epic)!important}.border-aura-legendary{border-color:var(--rarity-legendary)!important}.legendary-shimmer{position:relative;overflow:hidden}.legendary-shimmer:after{content:"";pointer-events:none;background:linear-gradient(60deg,#0000 30%,#fbbf2440 50%,#0000 70%);width:200%;height:200%;animation:3s infinite shimmer-sweep;position:absolute;top:-50%;left:-50%;transform:rotate(30deg)}@keyframes shimmer-sweep{0%{transform:translate(-100%,-100%)rotate(30deg)}to{transform:translate(100%,100%)rotate(30deg)}}.shine-backdrop{background:radial-gradient(circle,#fbbf2426 0%,#0000 70%)}.level-up-banner{font-family:var(--font-title);color:var(--g-gold-light);text-shadow:0 0 12px #f59e0bcc;text-align:center;font-size:1.4rem;font-weight:900;animation:.6s cubic-bezier(.175,.885,.32,1.275) levelup-bounce-in}.levelup-celebrate-card{border:1.5px solid var(--g-gold-base);background:linear-gradient(#2b2210 0%,#15120a 100%);border-radius:8px;padding:1rem;box-shadow:0 0 20px #c49b4566}.level-up-title{color:var(--g-gold-light);font-size:1.1rem;font-weight:800}.stat-up-chip{color:#34d399;font-family:var(--font-mono);background:#10b98126;border:1px solid #10b9814d;border-radius:4px;padding:2px 6px;font-size:.75rem;font-weight:700}@keyframes levelup-bounce-in{0%{opacity:0;transform:scale(.6)}70%{opacity:1;transform:scale(1.1)}to{opacity:1;transform:scale(1)}}.report-xp-container{flex-direction:column;gap:4px;display:flex}.report-bar-container{background:#090807;border:1px solid #332b20;border-radius:4px;width:100%;height:8px;overflow:hidden}.report-bar-xp-fill{background:linear-gradient(90deg,#ca8a04,#facc15);height:100%;transition:width .4s;animation:1.5s infinite alternate bar-xp-pulse}@keyframes bar-xp-pulse{0%{filter:brightness()}to{filter:brightness(1.25)}}@keyframes badge-levelup-flash{0%,to{opacity:1}50%{opacity:.5}}.modal-backdrop,.battle-monitor-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#000000d9;justify-content:center;align-items:center;padding:14px;display:flex;position:fixed;inset:0}.modal-content,.battle-monitor-content{width:100%;max-width:520px;max-height:88vh;overflow-y:auto}#toast-container{z-index:9999;pointer-events:none;flex-direction:column;gap:8px;width:90%;max-width:440px;display:flex;position:fixed;top:68px;left:50%;transform:translate(-50%)}.toast-message{border:1px solid var(--g-border-gold);color:var(--g-text-main);background:#14120f;border-radius:6px;align-items:center;gap:8px;padding:10px 14px;font-size:.82rem;animation:.25s toast-fade-in;display:flex;box-shadow:0 4px 16px #000000d9}.toast-success{border-color:#10b981}.toast-error{border-color:#ef4444}.toast-warning{border-color:#f59e0b}.toast-info{border-color:var(--g-ether-blue)}@keyframes toast-fade-in{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.tabs-header{gap:6px;display:flex;white-space:nowrap!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;overflow-x:auto!important}.tabs-header::-webkit-scrollbar{display:none!important}@media (width<=768px){.container{border-radius:0;max-width:100%}.grid-cols-3{flex-direction:column!important}#equip-list-container,#skills-list-container{grid-template-columns:1fr!important}#dive-actions{flex-direction:column!important}.modal-content{max-width:95vw!important;max-height:88vh!important}.equip-modal-body-layout{flex-direction:column!important}.loot-report-grid{grid-template-columns:1fr!important}.battle-monitor-content{max-width:98vw!important}.battle-grid{flex-direction:column!important}}@media (width<=540px){.top-hud,.top-game-hud{gap:4px!important;height:52px!important;padding:0 8px!important}.hud-center{display:none!important}.hud-avatar-frame,.hud-hero-avatar-mini{width:32px!important;height:32px!important}.hud-avatar-frame img,.hud-hero-avatar-mini img{width:24px!important;height:24px!important}.hud-name,.hud-player-name{max-width:65px!important;font-size:.78rem!important}.hud-hp-bar-wrap,.hud-xp-container{width:48px!important}.hud-currencies{gap:3px!important}.hud-actions{gap:2px!important}.hud-icon-btn{padding:3px 5px!important;font-size:.72rem!important}}@media (width<=480px){.hero-sprite-img{width:120px;height:120px}.socket-circle{width:52px!important}.magical-chest{font-size:4.8rem!important}}@media (width<=430px){.hud-currency-tag{padding:2px 4px!important;font-size:.65rem!important}.hud-name,.hud-player-name{max-width:55px!important}.hud-hp-bar-wrap,.hud-xp-container{display:none!important}}@media (width<=375px){.top-hud,.top-game-hud{padding:0 4px!important}.hud-currency-tag{padding:1px 3px!important;font-size:.6rem!important}.hud-icon-btn{padding:2px 4px!important;font-size:.68rem!important}}.chest-cinema-stage{-webkit-user-select:none;user-select:none;touch-action:manipulation;flex-direction:column;justify-content:center;align-items:center;min-height:380px;padding:1.5rem 1rem;display:flex;position:relative;overflow:hidden}.chest-screen-flash{pointer-events:none;z-index:9999;opacity:0;position:fixed;inset:0}.chest-screen-flash.flash-active{animation:.65s cubic-bezier(.1,.9,.2,1) forwards screen-chromatic-flash}@keyframes screen-chromatic-flash{0%{opacity:1;background:#fffffff2}30%{opacity:.85;background:radial-gradient(circle,#fbbf24cc 0%,#d946ef99 50%,#0d0f14e6 100%)}to{opacity:0;background:0 0}}.aaa-chest-rig{cursor:pointer;perspective:1000px;justify-content:center;align-items:center;width:280px;height:240px;animation:3.5s ease-in-out infinite chest-float;display:flex;position:relative}@keyframes chest-float{0%,to{transform:translateY(0)scale(1)}50%{transform:translateY(-8px)scale(1.02)}}.aaa-chest-rig.charging{animation:80ms linear infinite chest-charge-rumble!important}@keyframes chest-charge-rumble{0%{transform:translate(0)rotate(0)}20%{transform:translate(-3px,2px)rotate(-1.2deg)}40%{transform:translate(3px,-2px)rotate(1.2deg)}60%{transform:translate(-4px,-1px)rotate(-1.8deg)}80%{transform:translate(4px,2px)rotate(1.8deg)}to{transform:translate(0)rotate(0)}}.chest-vector-svg{filter:drop-shadow(0 15px 25px #000000e6);width:100%;height:100%;transition:transform .3s;overflow:visible}.chest-part-lid{transform-origin:160px 140px;transition:transform .7s cubic-bezier(.175,.885,.32,1.275)}.chest-part-lid.opened{transform:rotate(-78deg)translateY(-25px)}.chest-part-lock{transform-origin:160px 145px;transition:transform .4s cubic-bezier(.34,1.56,.64,1),opacity .35s}.chest-part-lock.cracked{opacity:0;transform:scale(1.6)translateY(-20px)}.pulsing-lock-gem{animation:2s ease-in-out infinite lock-gem-pulse}@keyframes lock-gem-pulse{0%,to{opacity:.75;transform:scale(1)}50%{opacity:1;transform:scale(1.18)}}.chest-magic-circle{pointer-events:none;z-index:-1;width:260px;height:260px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.magic-circle-svg{width:100%;height:100%;animation:24s linear infinite magic-circle-spin}@keyframes magic-circle-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.chest-light-pillar{filter:blur(8px);pointer-events:none;z-index:10;opacity:0;background:linear-gradient(#0000 0%,#a855f7b3 30%,#fff 70%,#fbbf24e6 100%);width:120px;height:480px;position:absolute;bottom:60px;left:50%;transform:translate(-50%)scaleX(0)}.chest-light-pillar.pillar-active{animation:1.1s cubic-bezier(.16,1,.3,1) forwards light-pillar-erupt}@keyframes light-pillar-erupt{0%{opacity:0;transform:translate(-50%)scaleX(.1)scaleY(.1)}25%{opacity:1;transform:translate(-50%)scaleX(1.8)scaleY(1)}70%{opacity:.85;transform:translate(-50%)scaleX(1.3)scaleY(1.05)}to{opacity:0;transform:translate(-50%)scaleX(2.2)scaleY(1.1)}}.aaa-chest-rig.tier-legendary .chest-vector-svg{filter:drop-shadow(0 0 25px #fbbf24b3)drop-shadow(0 15px 30px #000000f2)}.aaa-chest-rig.tier-epic .chest-vector-svg{filter:drop-shadow(0 0 20px #a855f799)drop-shadow(0 15px 30px #000000f2)}.aaa-chest-rig.tier-rare .chest-vector-svg{filter:drop-shadow(0 0 16px #38bdf880)drop-shadow(0 15px 30px #000000f2)}.chest-prompt-label{pointer-events:none;flex-direction:column;align-items:center;gap:2px;display:flex;position:absolute;bottom:-45px}.prompt-title{letter-spacing:.05em;color:var(--g-gold-light);text-shadow:0 0 10px #d4af3799;font-size:.95rem;font-weight:700;animation:1.8s ease-in-out infinite alternate prompt-glow}.prompt-sub{letter-spacing:.15em;color:var(--g-text-sub);font-size:.65rem;font-family:var(--font-mono,monospace)}@keyframes prompt-glow{0%{opacity:.75;transform:scale(.98)}to{opacity:1;text-shadow:0 0 16px #d4af37e6;transform:scale(1.02)}}.loot-card-item{opacity:0;animation:.5s cubic-bezier(.2,.8,.2,1) forwards loot-card-reveal;transform:translateY(24px)rotateX(25deg)}@keyframes loot-card-reveal{to{opacity:1;transform:translateY(0)rotateX(0)}}.god-pull-badge{color:#0f172a;letter-spacing:.08em;background:linear-gradient(135deg,#b45309 0%,#d4af37 50%,#fef08a 100%);border-radius:8px;align-items:center;gap:.4rem;margin-bottom:.5rem;padding:.4rem .9rem;font-size:.85rem;font-weight:900;animation:.6s cubic-bezier(.175,.885,.32,1.275) forwards god-pull-pop;display:inline-flex;box-shadow:0 0 20px #fbbf24cc,inset 0 1px 1px #fffc}@keyframes god-pull-pop{0%{opacity:0;transform:scale(.4)rotate(-5deg)}60%{opacity:1;transform:scale(1.15)rotate(2deg)}to{opacity:1;transform:scale(1)rotate(0)}}
