:root{--ui-bg: #0b0e14;--ui-panel: #151a24;--ui-panel-2: #1c2333;--ui-border: #2a3348;--ui-text: #e2e8f0;--ui-muted: #94a3b8;--ui-accent: #fbbf24;--ui-green: #4ade80;--ui-red: #f87171;--ui-blue: #60a5fa;--hud-height: 74px}.ui-root{position:fixed;top:0;right:0;bottom:0;left:0;zoom:var(--ui-scale, 1);z-index:10;pointer-events:none;color:var(--ui-text);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:14px;text-rendering:geometricPrecision;-webkit-font-smoothing:antialiased;-webkit-user-select:none;user-select:none}.ui-root svg{shape-rendering:geometricPrecision}.game-modal-root{position:absolute;top:0;right:0;bottom:0;left:0;z-index:65;pointer-events:none}.game-modal-root>*{pointer-events:auto}.ui-root button,.ui-root input,.ui-root select{font:inherit;color:inherit}.btn{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:4px 12px;background:linear-gradient(180deg,#232c3beb,#131924eb);border:1px solid rgba(148,163,184,.16);border-radius:8px;cursor:pointer;white-space:nowrap}.btn{transition:border-color .12s,background .12s,filter .12s,transform .08s}.btn:hover{border-color:#fbbf247a;background:linear-gradient(180deg,#34373df2,#261f18f2)}.btn:active{transform:scale(.97)}.btn:disabled{opacity:.45;cursor:default}.btn:disabled:hover{border-color:var(--ui-border)}.btn-accent{background:linear-gradient(135deg,#d97706,#92400e);border-color:#fbbf2480;color:#fff7df;font-weight:700;box-shadow:inset 0 1px #ffffff1f,0 4px 12px #0000002e}.btn-accent:hover{filter:brightness(1.1)}.btn-accent:disabled{background:#94a3b82e;border-color:#94a3b840;color:var(--ui-muted);box-shadow:none}.btn-accent:disabled:hover{filter:none}.btn-danger{border-color:#7f1d1d;color:var(--ui-red)}.btn-active{border-color:var(--ui-accent);color:var(--ui-accent)}.input,.select{min-height:32px;padding:4px 8px;background:#03070cb8;border:1px solid rgba(148,163,184,.17);border-radius:8px;outline:none;min-width:0}.input:focus,.select:focus{border-color:#fbbf248c;box-shadow:0 0 0 2px #fbbf2414}.input-qty{width:64px}.input-price{width:96px}.row{display:flex;align-items:center;gap:8px}.row-wrap{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.spacer{flex:1}.muted{color:var(--ui-muted)}.small{font-size:12px}.gold{color:var(--ui-accent)}.crypto{color:var(--ui-blue)}.good{color:var(--ui-green)}.bad{color:var(--ui-red)}.bar{position:relative;height:12px;background:var(--ui-bg);border:1px solid var(--ui-border);border-radius:6px;overflow:hidden;flex:1 1 auto;min-width:40px}.bar-fill{position:absolute;inset:0 auto 0 0;border-radius:5px}.bar-fill.hp{background:#dc2626}.bar-fill.mp{background:#2563eb}.bar-fill.xp{background:var(--ui-accent)}.bar-fill.prog{background:var(--ui-green)}.bar-label{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:10px;line-height:1;color:#fff;text-shadow:0 1px 2px #000}.bar-tall{height:16px}.hud{pointer-events:auto;position:absolute;top:0;left:0;right:0;z-index:20;height:calc(var(--hud-height) + env(safe-area-inset-top));display:flex;align-items:center;gap:clamp(8px,1vw,16px);padding:env(safe-area-inset-top) clamp(10px,1.4vw,24px) 0;background:linear-gradient(180deg,#1e2227f7,#0d1118f7),radial-gradient(circle at 50% 0,rgba(251,191,36,.08),transparent 48%);border-bottom:1px solid rgba(212,165,74,.28);box-shadow:0 8px 28px #00000085,inset 0 -1px #ffffff06;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.hud:after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:3px;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(251,191,36,.34),transparent);opacity:.6}.hud-player{min-width:150px;display:flex;align-items:center;gap:9px}.hud-avatar{position:relative;width:46px;height:50px;flex:0 0 46px;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(251,191,36,.3);border-radius:10px 10px 14px 14px;background:radial-gradient(circle at 50% 70%,#b4530957,#05080cd1);box-shadow:inset 0 0 16px #00000073,0 4px 12px #00000059}.hud-avatar img,.hud-avatar .pokemon-media{width:42px;height:46px;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 6px 4px rgba(0,0,0,.6))}.hud-avatar .pokemon-media{min-width:42px;flex-basis:42px}.hud-avatar .pokemon-media img{width:100%;height:100%}.hud-identity{min-width:0;display:flex;flex-direction:column}.hud-name{max-width:140px;overflow:hidden;color:#f8fafc;font-family:Georgia,Times New Roman,serif;font-size:14px;font-weight:700;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.pokemon-name-fainted{color:#fb7185!important}.hud-identity>span:last-child{margin-top:3px;color:#8b95a6;font-size:9px;letter-spacing:.06em;text-transform:capitalize;white-space:nowrap}.hud-vitals{width:clamp(130px,10vw,175px);flex:0 1 175px;display:flex;flex-direction:column;gap:3px;padding-left:12px;border-left:1px solid rgba(148,163,184,.13)}.hud-bar{width:100%;height:12px;flex:none;border-color:#0f172ae6;border-radius:4px;background:#020509c2;box-shadow:inset 0 1px 3px #000000b3}.hud-bar .bar-fill{border-radius:3px;box-shadow:inset 0 1px #ffffff29}.hud-bar .bar-fill.hp{background:linear-gradient(90deg,#8f1d24,#dc3943)}.hud-bar .bar-fill.mp{background:linear-gradient(90deg,#1e4798,#3b82f6)}.hud-bar .bar-fill.xp{background:linear-gradient(90deg,#a16207,#f5b72f)}.hud-bar .bar-label{font-size:8px;font-weight:650;letter-spacing:.02em}.hud-panels{height:100%;margin:0 auto;display:flex;align-items:stretch;gap:1px}.hud-nav-group{position:relative;display:flex}.hud-nav-button{position:relative;min-width:clamp(58px,4.5vw,76px);height:100%;padding:8px 8px 7px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:0;color:#9ca5b4;background:transparent;cursor:pointer;transition:color .15s ease,background .15s ease}.hud-nav-button:after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:2px;border-radius:2px 2px 0 0;background:#fbbf24;box-shadow:0 0 9px #fbbf248c;opacity:0;transform:scaleX(.5);transition:opacity .15s ease,transform .15s ease}.hud-nav-button:hover,.hud-nav-button.active{color:#f6d47c;background:linear-gradient(180deg,#fbbf2409,#92400e24)}.hud-nav-button.active:after,.hud-nav-button:hover:after{opacity:1;transform:scaleX(1)}.hud-nav-icon{position:relative;width:28px;height:28px;display:grid;place-items:center;border:1px solid rgba(148,163,184,.12);border-radius:8px;background:linear-gradient(145deg,#272f3db3,#0a0e14b3);box-shadow:inset 0 1px #ffffff0a}.hud-nav-button:hover .hud-nav-icon,.hud-nav-button.active .hud-nav-icon{border-color:#fbbf2459;background:linear-gradient(145deg,#78350f73,#0f1219cc)}.hud-nav-icon svg,.hud-flyout-icon svg,.hud-resource>svg,.hud-utilities svg{width:17px;height:17px;fill:currentColor}.hud-nav-button>svg{position:absolute;right:5px;bottom:8px;width:10px;height:10px;fill:currentColor;opacity:.55}.hud-nav-label{font-size:9px;font-weight:650;letter-spacing:.02em}.hud-flyout{position:absolute;top:calc(100% + 7px);left:50%;width:265px;padding:7px;display:flex;flex-direction:column;gap:3px;border:1px solid rgba(251,191,36,.22);border-radius:12px;background:linear-gradient(155deg,#191f2afb,#080c12fc);box-shadow:0 18px 42px #000000a6,inset 0 1px #ffffff0a;transform:translate(-50%);animation:hud-flyout-in .12s ease-out}@keyframes hud-flyout-in{0%{opacity:0;transform:translate(-50%,-5px)}}.hud-flyout button{width:100%;min-height:55px;padding:8px 9px;display:flex;align-items:center;gap:10px;border:1px solid transparent;border-radius:8px;color:#cbd5e1;text-align:left}.hud-flyout button:hover,.hud-flyout button.active{border-color:#fbbf242e;background:#78350f2e}.hud-flyout-icon{position:relative;width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:9px;color:#e6b84e;background:#03070c99;border:1px solid rgba(148,163,184,.11)}.hud-flyout strong,.hud-flyout small{display:block}.hud-flyout strong{font-size:11px}.hud-flyout small{margin-top:2px;color:#768094;font-size:9px}.hud-right{display:flex;align-items:center;justify-content:flex-end;gap:8px}.hud-wealth{display:flex;align-items:center;gap:5px}.hud-resource{min-width:86px;height:38px;padding:0 9px;display:flex;align-items:center;gap:7px;border:1px solid rgba(148,163,184,.13);border-radius:8px;background:#03070c94;text-align:left}button.hud-resource:hover{border-color:#fbbf2459;background:#78350f24}.hud-resource-static{cursor:default}.hud-resource>svg{flex:0 0 17px}.gold-resource>svg{color:#fbbf24}.crypto-resource>svg,.coin-resource>svg{color:#75a7ff}.diamond-resource>svg{color:#22d3ee}.hud-resource-sym{flex:0 0 auto;min-width:17px;color:#f0b90b;font-size:9px;font-weight:700;letter-spacing:.04em;text-align:center}.hud-resource small,.hud-resource strong{display:block}.hud-resource small{color:#697386;font-size:7px;letter-spacing:.09em;text-transform:uppercase}.hud-resource strong{max-width:82px;overflow:hidden;color:#e5e7eb;font-size:10px;text-overflow:ellipsis}.hud-utilities{padding-left:7px;display:flex;gap:4px;border-left:1px solid rgba(148,163,184,.13)}.hud-utilities button{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(148,163,184,.13);border-radius:8px;color:#8791a2;background:#03070c75}.hud-utilities button:hover,.hud-utilities button.active{color:#f5cf70;border-color:#fbbf2459}.hud-perf{min-width:58px;padding:6px 8px;display:flex;flex-direction:column;align-items:center;gap:2px;border-radius:6px;background:#03070c80;font-size:11px;line-height:1.15;letter-spacing:.015em;font-variant-numeric:tabular-nums}.hud-perf i{display:none}.hud-perf b{white-space:nowrap;text-shadow:0 1px 2px rgba(0,0,0,.85)}.hud-hunt{display:flex;align-items:center;gap:7px;min-height:34px;padding:4px 8px;border:1px solid rgba(74,222,128,.25);border-radius:8px;background:#14532d21;color:#a7f3d0;font-size:9px}.hud-hunt-start{cursor:pointer}.hud-hunt-start:hover{border-color:#4ade808c;background:#14532d40}.hud-hunt-stop{width:23px;height:23px;margin-left:2px;border-radius:6px;color:#fca5a5;background:#7f1d1d66;font-size:8px}.hud-hunt-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--ui-green);animation:hud-pulse 1.4s ease-in-out infinite}@keyframes hud-pulse{50%{opacity:.3}}.buff-bar{pointer-events:auto;position:absolute;top:calc(var(--hud-height) + 10px + env(safe-area-inset-top));left:calc(10px + env(safe-area-inset-left));z-index:25;display:flex;gap:6px}.buff-slot{position:relative;width:42px;height:42px;display:grid;place-items:center;border-radius:10px;border:1px solid rgba(251,191,36,.45);background:#0c1119d1;box-shadow:0 4px 14px #00000073,inset 0 1px #ffffff0f;cursor:help}.buff-tip{position:absolute;top:calc(100% + 14px);left:0;z-index:90;width:max-content;max-width:250px;padding:8px 10px;background:#0b0e14;border:1px solid var(--ui-border);border-radius:8px;box-shadow:0 8px 24px #0009;display:flex;flex-direction:column;gap:3px;font-size:11px;pointer-events:none}.buff-tip-title{color:#fcd34d;font-size:12px;margin-bottom:2px}.buff-tip-row{display:flex;align-items:baseline;justify-content:space-between;gap:14px;color:#cbd5e1}.buff-tip-row strong{color:#fff;font-variant-numeric:tabular-nums}.buff-tip-base{color:#6b7488;font-size:10px;margin-top:-2px}.buff-tip-sep{height:1px;margin:3px 0;background:var(--ui-border)}.buff-tip-time{color:#fcd34d}.buff-tip-note{margin-top:2px;color:#6b7488;font-size:10px}.buff-ring{position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border-radius:11px;background:conic-gradient(from -90deg,#fbbf24 0deg,#fbbf24 var(--buff-deg, 0deg),rgba(148,163,184,.18) var(--buff-deg, 0deg),rgba(148,163,184,.18) 360deg);-webkit-mask:radial-gradient(circle,transparent 62%,#000 64%);mask:radial-gradient(circle,transparent 62%,#000 64%);pointer-events:none}.buff-art{display:grid;place-items:center;width:28px;height:28px}.buff-art img{width:28px;height:28px;object-fit:contain;image-rendering:pixelated}.buff-fallback{color:#fbbf24;font-size:15px;font-weight:800}.buff-left{position:absolute;left:50%;bottom:-13px;transform:translate(-50%);padding:0 4px;border-radius:4px;background:#0c1119e6;color:#fcd34d;font-size:9px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.event-banner-stack{pointer-events:auto;position:absolute;top:calc(var(--hud-height) + 10px + env(safe-area-inset-top));left:50%;transform:translate(-50%);z-index:25;display:flex;flex-direction:column;gap:6px;max-width:min(560px,92vw)}.event-banner{position:relative;display:flex;align-items:center;gap:12px;padding:8px 30px 10px 14px;background:linear-gradient(90deg,#3b2f08,#151a24);border:1px solid var(--ui-accent);border-radius:10px;box-shadow:0 4px 16px #00000080;overflow:hidden}.event-banner-text{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}.event-banner-name{color:var(--ui-accent);font-weight:700}.event-banner-go{flex:none;min-height:30px;padding:4px 14px;white-space:nowrap}.event-banner-here{flex:none;white-space:nowrap}.event-banner-x{position:absolute;top:6px;right:6px;width:20px;height:20px;min-width:0;min-height:0;padding:0;border:none;background:transparent;color:var(--ui-muted);font-size:12px;line-height:20px;cursor:pointer;border-radius:5px}.event-banner-x:hover{color:#fff;background:#ffffff1a}.event-banner-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:#ffffff14}.event-banner-progress>span{display:block;height:100%;background:var(--ui-accent);transition:width .5s linear}.panel-host{pointer-events:auto;position:absolute;top:calc(var(--hud-height) + 8px + env(safe-area-inset-top));right:0;bottom:0;z-index:30;width:356px;display:flex;flex-direction:column;background:linear-gradient(165deg,#141b26fb,#080c12fc);border:1px solid rgba(212,165,74,.22);border-right:0;border-radius:16px 0 0 16px;box-shadow:-16px 12px 46px #00000085,inset 1px 0 #ffffff06;animation:panel-in .16s ease-out}.panel-host-compact{top:auto;bottom:12px;height:30vh;min-height:260px;max-height:420px;border-radius:16px;border-right:1px solid rgba(212,165,74,.22);box-shadow:-10px 14px 38px #00000080}.panel-resize-handle{flex:0 0 auto;height:10px;margin:-2px 0 0;cursor:ns-resize;touch-action:none;display:flex;align-items:center;justify-content:center}.panel-resize-handle:after{content:"";width:36px;height:4px;border-radius:999px;background:#d4a54a59;transition:background .15s ease}.panel-resize-handle:hover:after,.panel-resize-handle:active:after{background:#d4a54ab3}.panel-stack{pointer-events:none;position:absolute;top:calc(var(--hud-height) + 16px + env(safe-area-inset-top));left:8px;right:auto;bottom:8px;z-index:30;width:356px;display:flex;flex-direction:column;gap:8px}.panel-stack .panel-host-compact{pointer-events:auto;position:relative;inset:auto;width:100%;height:clamp(220px,28vh,300px);min-height:0;max-height:300px;flex:0 1 clamp(220px,28vh,300px)}.panel-stack .panel-chat{height:clamp(300px,36vh,400px);max-height:400px;flex-basis:clamp(300px,36vh,400px)}.panel-stack .panel-host-compact.panel-dragged{position:absolute;width:356px;height:clamp(260px,30vh,420px);z-index:2}.panel-stack .panel-chat.panel-dragged{height:clamp(300px,36vh,400px)}.panel-stack .panel-move-lab,.panel-stack .panel-move-lab.panel-dragged{width:clamp(460px,58vw,720px);max-width:calc(100vw - 24px);height:clamp(360px,56vh,580px);max-height:calc(100vh - var(--hud-height) - var(--capture-launcher-height, 0px) - 32px);flex:0 0 auto}.panel-stack .panel-move-lab .panel-body{min-height:0;overflow:hidden;padding:12px}@keyframes panel-in{0%{transform:translate(16px);opacity:.4}to{transform:translate(0);opacity:1}}.panel-head{position:relative;min-height:58px;display:flex;align-items:center;gap:11px;padding:9px 12px;border-bottom:1px solid rgba(212,165,74,.25);background:linear-gradient(180deg,#232a35f5,#131923e6),radial-gradient(circle at 20% 0,rgba(251,191,36,.12),transparent 55%);border-radius:16px 0 0;box-shadow:inset 0 -1px #00000059}.panel-head:after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:1px;background:linear-gradient(90deg,#fbbf24,#fbbf240d)}.panel-head-drag{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.panel-head-drag:active{cursor:grabbing}.panel-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;color:#f1c65b;background:linear-gradient(145deg,#78350f61,#080c12b8);border:1px solid rgba(251,191,36,.3);border-radius:10px;box-shadow:inset 0 1px #ffffff0b,0 5px 12px #0003;flex-shrink:0}.panel-icon svg{width:19px;height:19px;fill:currentColor}.panel-heading{min-width:0;flex:1;display:flex;flex-direction:column;gap:1px}.panel-heading>small{color:#788397;font-size:8px;font-weight:750;letter-spacing:.16em;text-transform:uppercase}.panel-title{overflow:hidden;color:#f8fafc;font-family:Georgia,Times New Roman,serif;font-weight:700;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.panel-close,.panel-minimize{min-width:32px;min-height:32px;border:1px solid rgba(148,163,184,.14);border-radius:8px;background:#03070c61;cursor:pointer;color:var(--ui-muted);transition:color .12s,border-color .12s,background .12s}.panel-minimize{margin-right:-5px}.panel-close:hover{color:#fff;border-color:var(--ui-red);background:#f871711f}.panel-minimize:hover{color:#fff;border-color:#fbbf246b;background:#fbbf241a}.panel-stack .panel-chat{margin-top:auto}.panel-host-compact.panel-minimized{height:auto;min-height:0;flex:0 0 auto}.panel-stack .panel-host-compact.panel-minimized{height:auto;min-height:0;max-height:none;flex:0 0 auto}.panel-body{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:14px;overscroll-behavior:contain;background:transparent}.panel-section{display:flex;flex-direction:column;gap:10px;padding:14px 0 0;background:transparent;border:0;border-top:1px solid rgba(148,163,184,.13);border-radius:0;box-shadow:none;min-width:0}.panel-section-title{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#a6afbd}.panel-section-title:before{content:"";width:3px;height:11px;border-radius:2px;background:var(--ui-accent)}.tabs{display:flex;gap:4px;padding:7px 7px 11px;background:#03070cb3;border:1px solid rgba(148,163,184,.13);border-radius:10px}.tabs .btn{position:relative;flex:1;min-height:34px;border:none;background:transparent;border-radius:8px;color:var(--ui-muted)}.tabs .btn:hover{color:var(--ui-text)}.tabs .btn.btn-active{background:linear-gradient(180deg,#78350f70,#49210c61);color:#f8d678;box-shadow:inset 0 0 0 1px #fbbf2433,0 2px 7px #0000004d}.tabs .btn:not(:last-child):after{content:"";position:absolute;top:20%;bottom:20%;right:-2.5px;width:1px;background:#fbbf2438}.tabs-scroll{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.35) transparent}.tabs-scroll .btn{flex:1 0 max-content;min-width:120px}.tabs-scroll::-webkit-scrollbar{height:4px}.tabs-scroll::-webkit-scrollbar-thumb{border-radius:4px;background:#94a3b859}.achievement-tabs .btn{min-width:135px;line-height:1}.task-tabs .btn{min-width:150px}.notice{padding:10px 11px;border:1px solid rgba(148,163,184,.13);border-left:3px solid var(--ui-accent);border-radius:8px;background:#131b27c7;font-size:12px}.notice-warn{border-left-color:var(--ui-red)}.notice-good{border-left-color:var(--ui-green)}.list{display:flex;flex-direction:column;gap:0;overflow:hidden;border:1px solid rgba(148,163,184,.12);border-radius:11px;background:#03070c3d}.list-row{display:flex;align-items:center;gap:8px;min-height:50px;padding:9px 11px;background:#131b2794;border:0;border-bottom:1px solid rgba(148,163,184,.1);border-radius:0;text-align:left;flex-shrink:0}button.list-row{cursor:pointer;width:100%;transition:border-color .12s,background .12s}button.list-row:last-child,.list>.list-row:last-child{border-bottom:0}button.list-row:hover,.list-row.selected{background:linear-gradient(90deg,#78350f38,#141b26ad)}.market-listing-expired{background:#7f1d1d38;border-left:2px solid rgba(248,113,113,.6)}.list>.travel-row+.travel-row{border-top:1px solid rgba(148,163,184,.1)}.list-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.list-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.travel-scroll,.task-scroll,.achievements-scroll,.store-scroll,.ranking-scroll{max-height:min(54vh,520px);overflow-y:auto;padding-right:2px}.ranking-rank{min-width:34px;color:#94a3b8;font-variant-numeric:tabular-nums;font-weight:700}.ranking-portrait{width:32px;height:32px;image-rendering:pixelated}.ranking-level{font-weight:700;color:var(--ui-accent);white-space:nowrap}.ranking-bonus{display:inline-flex;flex-direction:column;align-items:center;gap:1px;white-space:nowrap;padding:3px 9px;border:1px solid rgba(240,171,252,.32);border-radius:10px}.ranking-bonus-label{font-size:8px;letter-spacing:.06em;text-transform:uppercase;color:#94a3b8;line-height:1.1}.ranking-bonus-value{font-size:10px;font-weight:700;color:#f0abfc;line-height:1.2}.ranking-self{border-color:var(--ui-accent);box-shadow:0 0 0 1px var(--ui-accent) inset}.pokemon-media{width:var(--pokemon-media-size, 40px);height:var(--pokemon-media-size, 40px);min-width:var(--pokemon-media-size, 40px);display:inline-grid;place-items:center;flex:0 0 var(--pokemon-media-size, 40px);overflow:hidden}.pokemon-media img{width:100%;height:100%;object-fit:contain}.pokemon-media-outfit{image-rendering:pixelated}.pokemon-media-portrait{image-rendering:auto}.pokemon-media-fallback{color:var(--ui-text-dim);font-size:calc(var(--pokemon-media-size, 40px) * .55)}.progress-pokemon-media{border:1px solid rgba(251,191,36,.24);border-radius:8px;background:radial-gradient(circle,#fbbf241a,#03070c73)}.item-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--ui-bg);border:2px solid var(--ui-border);border-radius:6px;image-rendering:pixelated}.item-icon img{image-rendering:pixelated}.item-qty{position:absolute;right:1px;bottom:0;font-size:10px;line-height:1;padding:1px 2px;background:#000000bf;border-radius:3px;color:#fff}.inv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(48px,1fr));gap:7px}.inv-cell{position:relative;aspect-ratio:1;min-height:44px;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 62%,#2f394961,#03070cd1 76%);border:1px solid rgba(148,163,184,.2);border-radius:9px;cursor:pointer;padding:0;touch-action:manipulation}.inv-cell.selected{box-shadow:0 0 0 2px var(--ui-accent)}.inv-cell:hover{border-color:#fbbf2480;transform:translateY(-1px)}.inv-cell img{width:32px;height:32px;image-rendering:pixelated;pointer-events:none}.inv-actions{display:flex;gap:6px;flex-wrap:wrap;padding:10px;background:linear-gradient(145deg,#78350f29,#0a0f17d1);border:1px solid rgba(251,191,36,.2);border-radius:10px}.inventory-toolbar{padding:10px;display:flex;flex-direction:column;gap:8px;border:1px solid rgba(148,163,184,.12);border-radius:12px;background:linear-gradient(145deg,#1b2330a6,#080c12a3)}.inventory-panel{position:relative;display:flex;flex-direction:column;gap:14px;min-height:280px}.inventory-tabs,.market-hub-tabs,.npc-shop-tabs{padding-bottom:8px}.task-tabs{padding-bottom:15px}.capture-log-sort-tabs,.store-tabs{padding-bottom:7px}.mail-tabs,.chat-tabs,.travel-cats{padding-bottom:8px}.inventory-tabs .btn{justify-content:space-between}.inventory-tabs .btn span{color:#778195;font-size:8px}.inventory-search{width:100%}.inventory-filters{display:grid;grid-template-columns:1fr 1fr;gap:7px}.inventory-capacity{display:flex;flex-direction:column;gap:5px;color:#7f899a;font-size:9px}.inventory-capacity strong{color:#d8dee8}.inventory-capacity>div{height:4px;overflow:hidden;border-radius:4px;background:#03070cbf}.inventory-capacity i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#a16207,#f5b72f)}.inventory-context-menu{position:absolute;z-index:20;width:230px;overflow:hidden;border:1px solid rgba(212,165,74,.3);border-radius:11px;background:linear-gradient(160deg,#1d242ffe,#090d13fe);box-shadow:0 18px 42px #000000b3,inset 0 1px #ffffff09;animation:inventory-menu-in .12s ease-out}@keyframes inventory-menu-in{0%{opacity:0;transform:translateY(-4px) scale(.98)}}.inventory-context-head{min-height:54px;padding:8px 10px;display:flex;align-items:center;gap:9px;border-bottom:1px solid rgba(251,191,36,.18);background:#78350f1f}.inventory-context-head img{width:36px;height:36px;image-rendering:pixelated}.inventory-context-head>span{min-width:0;display:flex;flex-direction:column}.inventory-context-head strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.inventory-context-head small{margin-top:2px;color:#788397;font-size:9px;text-transform:capitalize}.inventory-context-actions{padding:5px;display:flex;flex-direction:column}.inventory-context-actions button{min-height:40px;padding:6px 8px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:7px;color:#d6dbe4;text-align:left}.inventory-context-actions button:hover{color:#f7d77f;background:#78350f33}.inventory-context-actions button.danger{color:#fca5a5}.inventory-context-actions button.danger:hover{color:#fecaca;background:#7f1d1d40}.inventory-context-actions button span{font-size:11px;font-weight:600}.inventory-context-actions button small{color:#697386;font-size:8px}.inventory-context-details{padding:9px 10px;display:grid;grid-template-columns:1fr 1fr;gap:6px 10px;border-top:1px solid rgba(148,163,184,.12);background:#03070c73}.inventory-context-details span{display:flex;align-items:center;justify-content:space-between;gap:6px}.inventory-context-details small{color:#788397;font-size:8px}.inventory-context-details b{font-size:9px}.inventory-context-details p{grid-column:1 / -1;color:#9ca5b4;font-size:9px;line-height:1.45}.loot-blocked-list{padding:9px 10px;display:flex;flex-direction:column;gap:7px;border:1px solid rgba(248,113,113,.16);border-radius:10px;background:#450a0a17}.loot-blocked-list>div{display:flex;flex-wrap:wrap;gap:5px}.loot-blocked-list button{padding:4px 7px;border:1px solid rgba(148,163,184,.14);border-radius:7px;background:#03070c7a;color:#9ca5b4;font-size:9px}.loot-blocked-list button:hover{color:#fca5a5;border-color:#f871714d}.equip-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.equip-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:60px;background:radial-gradient(circle at 50% 60%,#2f39495c,#03070ccc 75%);border:1px solid rgba(148,163,184,.2);border-radius:9px;cursor:pointer;padding:4px 2px;touch-action:manipulation}.equip-slot img{width:32px;height:32px;image-rendering:pixelated;pointer-events:none}.equip-slot-label{font-size:10px;color:var(--ui-muted)}.equip-slot:hover{border-color:#fbbf2473}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.stat-grid>div{display:flex;justify-content:space-between;gap:8px;padding:6px 9px;background:#03070c80;border:1px solid rgba(148,163,184,.1);border-radius:8px;font-size:13px}.stat-grid>div>span:last-child{font-weight:600}.character-panel-summary{min-height:100px;padding:10px 12px;display:grid;grid-template-columns:74px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid rgba(251,191,36,.2);border-radius:13px;background:radial-gradient(circle at 10% 80%,rgba(180,83,9,.25),transparent 35%),linear-gradient(145deg,#222730cc,#080c12d6)}.character-panel-outfit{width:70px;height:78px;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(251,191,36,.22);border-radius:10px;background:#03070c80}.character-panel-outfit img{width:64px;height:72px;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 7px 5px rgba(0,0,0,.55))}.character-panel-intro{min-width:0;display:flex;flex-direction:column;gap:2px}.character-panel-intro strong{overflow:hidden;color:#fffaf0;font-family:Georgia,Times New Roman,serif;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.character-inventory-button{align-self:stretch;flex-direction:column;min-width:72px;font-size:10px}.ach-row.list-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(74px,auto);align-items:start;gap:10px}.ach-content{display:flex;align-items:flex-start;gap:10px;min-width:0}.ach-content .list-main{min-width:0}.ach-side{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}.ach-reward{display:flex;align-items:center;gap:4px;margin-top:2px;flex-wrap:wrap}.ach-reward-item{display:inline-flex;align-items:center;gap:6px;min-width:0}.ach-reward-item .item-icon{border-color:#fbbf2452;background:#03070cb8}.ach-reward-qty{flex:0 0 auto;padding:2px 5px;border:1px solid rgba(251,191,36,.25);border-radius:999px;background:#03070cbd;color:var(--ui-text);font-size:11px;font-weight:700;line-height:1.2}.ach-claimed{opacity:.6}.bp-track{display:grid;grid-template-columns:repeat(auto-fit,minmax(142px,1fr));gap:10px}.bp-section{flex:none}.bp-level-col{display:flex;flex-direction:column;gap:7px;min-width:0;padding:10px;border:1px solid rgba(148,163,184,.12);border-radius:11px;background:#03070c59}.bp-reward{display:flex;flex-direction:column;gap:4px;min-height:86px;padding:8px;border:1px solid rgba(148,163,184,.12);border-radius:9px;background:#18212ea3;font-size:11px}.bp-reward .btn{margin-top:auto}.bp-reward.premium{border-color:#fbbf2461;background:linear-gradient(145deg,#78350f2b,#101620b3)}.bp-reward.locked{opacity:.5}.bp-overview{padding:14px;display:flex;flex-direction:column;gap:12px;border:1px solid rgba(251,191,36,.2);border-radius:13px;background:radial-gradient(circle at 0 0,rgba(180,83,9,.18),transparent 42%),#0f1620ad}.bp-overview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.bp-overview-head>span:first-child{display:flex;flex-direction:column;gap:2px}.bp-overview-head small{color:#788397;font-size:8px;font-weight:750;letter-spacing:.14em;text-transform:uppercase}.bp-overview-head strong{color:#f8fafc;font-size:14px}.bp-time{color:#7f899a;font-size:10px}.bp-time b{color:#cbd5e1}.bp-level-progress{display:flex;align-items:center;gap:11px}.bp-level-badge{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border:1px solid rgba(251,191,36,.38);border-radius:10px;background:#92400e4d;color:#fbbf24;font-family:Georgia,serif;font-size:19px;font-weight:700}.bp-premium-button{width:100%;justify-content:space-between}.bp-premium-active{padding:9px 11px;border-radius:8px;background:#14532d29;color:#86efac;font-size:11px}.market-asset-tabs .btn{flex:1}.market-pokemon-asset{min-width:0;display:inline-flex;align-items:center;gap:7px}.market-pokemon-asset>img{width:38px;height:38px;flex:0 0 38px;object-fit:contain;image-rendering:pixelated}.market-pokemon-asset>span{min-width:0;display:flex;flex-direction:column;gap:1px}.market-pokemon-asset strong{max-width:110px;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.market-pokemon-asset small{color:#94a3b8;font-size:8px;white-space:nowrap}.market-pokemon-asset.compact>img{width:32px;height:32px;flex-basis:32px}.market-pokemon-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:6px}.market-pokemon-pick{min-width:0;padding:7px;border:1px solid rgba(148,163,184,.2);border-radius:8px;background:#0f172a8c;text-align:left;cursor:pointer}.market-pokemon-pick:hover{border-color:#60a5fa8c}.market-pokemon-pick.selected{border-color:#fbbf24;box-shadow:0 0 0 1px #fbbf2459;background:#78350f38}.pick-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:6px;max-height:250px;overflow-y:auto;overscroll-behavior:contain}.pick-cell{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px 6px;background:var(--ui-bg);border:2px solid var(--ui-border);border-radius:8px;cursor:pointer;touch-action:manipulation}.pick-cell img{width:32px;height:32px;image-rendering:pixelated;pointer-events:none}.pick-cell.selected{border-color:var(--ui-accent);box-shadow:0 0 0 1px var(--ui-accent) inset}.pick-name{font-size:10px;line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hotbars{pointer-events:none;position:absolute;left:50%;transform:translate(-50%);bottom:calc(12px + env(safe-area-inset-bottom));z-index:25;display:flex;flex-direction:column;align-items:center;gap:6px}.hotbar{pointer-events:auto;display:flex;gap:6px;padding:6px;background:#0b0e14e6;border:1px solid var(--ui-border);border-radius:12px}.hotbar-slot{position:relative;width:46px;height:46px;display:flex;align-items:center;justify-content:center;background:var(--ui-bg);border:2px solid var(--ui-border);border-radius:8px;cursor:pointer;padding:0;touch-action:manipulation}.hotbar-slot:hover{border-color:var(--ui-accent)}.hotbar-slot:disabled{opacity:.45;cursor:default}.hotbar-slot img{width:30px;height:30px;image-rendering:pixelated;pointer-events:none}.hotbar-slot.empty{color:var(--ui-muted);font-size:18px}.hotbar-slot.depleted img{filter:grayscale(1) brightness(.55)}.hotbar-slot.depleted .hotbar-count{color:var(--ui-red)}.hotbar-key{position:absolute;left:2px;top:1px;font-size:9px;color:var(--ui-muted);text-shadow:0 1px 2px #000;z-index:1}.hotbar-count{position:absolute;right:2px;bottom:1px;font-size:10px;font-weight:600;color:#fff;text-shadow:0 1px 2px #000;z-index:1}.hotbar-cd{overflow:hidden;position:absolute;z-index:3;right:3px;bottom:2px;left:3px;height:4px;border:1px solid rgba(0,0,0,.85);border-radius:3px;background:#0f172aeb;pointer-events:none}.hotbar-cd>span{display:block;height:100%;border-radius:inherit;background:#38bdf8;transition:width .09s linear}.hotbar-pop{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);width:190px;max-height:220px;overflow-y:auto;display:flex;flex-direction:column;gap:4px;padding:8px;background:var(--ui-panel);border:1px solid var(--ui-border);border-radius:10px;box-shadow:0 8px 24px #0009;cursor:default;z-index:92}.hotbar-pop-row{display:flex;align-items:center;gap:8px;padding:4px 6px;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-panel-2);cursor:pointer;text-align:left}.hotbar-pop-row:hover{border-color:var(--ui-accent)}.hotbar-pop-row img{width:24px;height:24px;image-rendering:pixelated;pointer-events:none}.hotbar-pop-name{flex:1;min-width:0;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spell-slot{width:52px;height:58px;flex-direction:column;gap:2px;padding-top:6px}.spell-slot img{width:26px;height:26px}.spell-name{max-width:46px;font-size:8px;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ui-text)}.spell-mana{position:absolute;right:2px;top:1px;font-size:9px;color:var(--ui-blue);text-shadow:0 1px 2px #000;z-index:1}.spell-locked{opacity:.55}.spell-locked img{filter:grayscale(1) brightness(.6)}.spell-lock{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:14px;z-index:2;pointer-events:none}.spell-lock-level{font-size:9px;font-weight:700;color:#fbbf24;text-shadow:0 1px 2px #000}.analyzer-stat{display:flex;justify-content:space-between;gap:8px;padding:6px 8px;background:var(--ui-panel-2);border:1px solid var(--ui-border);border-radius:8px}.analyzer-sprite{width:28px;height:28px;image-rendering:pixelated;flex-shrink:0}.analyzer-total{display:flex;justify-content:space-between;gap:8px;padding:8px 10px;border-top:1px solid var(--ui-border)}.analyzer-profit-head{margin:8px 0 2px;color:#6b7488;font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.analyzer-profit-head:first-child{margin-top:0}.analyzer-spend{color:#fca5a5}.analyzer-profit-total{margin-top:10px;padding:11px 10px;align-items:baseline;font-size:15px}.analyzer-profit-total .muted{font-size:15px;font-weight:700;letter-spacing:.02em}.analyzer-profit-total b{font-size:22px;font-variant-numeric:tabular-nums}.analyzer-profit-total .small{font-size:13px}.toast-stack{pointer-events:none;position:absolute;top:calc(var(--hud-height) + 10px + env(safe-area-inset-top));left:50%;z-index:60;display:flex;flex-direction:column;align-items:center;gap:6px;max-width:min(300px,78vw);transform:translate(-50%)}.toast{padding:8px 10px;background:#111620f2;border:1px solid var(--ui-border);border-left:3px solid var(--ui-accent);border-radius:10px;box-shadow:0 6px 18px #00000073;font-size:12px;animation:toast-in .16s ease-out}.toast-title{font-weight:700;margin-bottom:2px;font-size:12px}.toast-line{display:flex;align-items:center;gap:6px}.toast-icon{width:20px;height:20px;image-rendering:pixelated;flex-shrink:0}.toast.toast-error{border-left-color:var(--ui-red)}.toast.toast-error .toast-title{color:var(--ui-red)}.toast.toast-success{border-left-color:var(--ui-green)}.toast.toast-success .toast-title{color:var(--ui-green)}.toast.toast-fail{border-left-color:var(--ui-red)}@keyframes toast-in{0%{transform:translate(12px);opacity:0}to{transform:translate(0);opacity:1}}.tooltip{pointer-events:none;position:fixed;z-index:90;width:240px;padding:10px;background:#0b0e14f7;border:1px solid var(--ui-border);border-radius:10px;box-shadow:0 8px 24px #0009;display:flex;flex-direction:column;gap:5px;font-size:12px}.tooltip-head{display:flex;align-items:center;gap:8px}.tooltip-name{font-weight:700;font-size:13px}.tooltip-stat{display:flex;justify-content:space-between;gap:8px}.tooltip-affinity-lines{display:flex;flex-direction:column;gap:3px}.pokemon-tooltip{width:272px}.pokemon-tooltip img{image-rendering:pixelated;object-fit:contain}.pokemon-tooltip-title{display:flex;flex-direction:column;min-width:0;gap:1px}.pokemon-tooltip-title small{font-size:10px;color:#94a3b8}.pokemon-tooltip-boost{color:#fb923c;font-style:normal;font-weight:700}.pokemon-tooltip-shiny{color:#c084fc;font-style:normal;font-weight:700}.pokemon-tooltip-affinity{color:#22d3ee;font-style:normal;font-weight:700}.pokemon-tooltip-rank{color:#b08968;font-style:normal;font-weight:700}.pokemon-tooltip-tags{display:flex;flex-wrap:wrap;align-items:center;gap:4px;font-size:9px;color:#94a3b8}.pokemon-tooltip-ko{padding:1px 5px;border-radius:4px;background:#7f1d1d66;color:#fecaca;font-weight:700}.pokemon-tooltip-hp{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px;font-size:11px}.pokemon-tooltip-hp b{font-variant-numeric:tabular-nums}.pokemon-tooltip-hp-track{height:5px;border-radius:999px;background:#94a3b838;overflow:hidden}.pokemon-tooltip-hp-track i{display:block;height:100%;background:linear-gradient(90deg,#16a34a,#4ade80)}.pokemon-tooltip-stats{display:flex;flex-direction:column;gap:2px;padding:5px 0;border-top:1px solid rgba(148,163,184,.15);border-bottom:1px solid rgba(148,163,184,.15)}.pokemon-tooltip-stat{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:11px}.pokemon-tooltip-stat b{font-variant-numeric:tabular-nums}.pokemon-tooltip-breakdown{font-style:normal;font-size:10px;color:#64748b}.pokemon-tooltip-breakdown i{font-style:normal}.pokemon-fav{color:#475569;font-size:12px;line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;transition:color .12s,transform 80ms}.pokemon-fav:hover{color:#fbbf24;transform:scale(1.18)}.pokemon-fav.is-on{color:#fbbf24;text-shadow:0 0 6px rgba(251,191,36,.5)}.pokemon-fav-corner{position:absolute;z-index:4;top:2px;right:4px}.pc-card .pc-info strong{padding-right:12px}.pokemon-fav-inline{font-size:14px}.pc-fav-hint{font-size:9px;color:#64748b}.pc-filters{display:flex;align-items:center;gap:8px;margin-bottom:8px}.pc-fav-filter{padding:3px 9px;border:1px solid rgba(148,163,184,.3);border-radius:999px;background:#0f172a99;color:#94a3b8;font-size:10px;cursor:pointer}.pc-fav-filter:hover{border-color:#fbbf2480;color:#fbbf24}.pc-fav-filter.is-on{border-color:#fbbf24;background:#fbbf2424;color:#fbbf24}.pc-filter-count{font-size:9px;color:#64748b}.pc-rarity-filter,.pc-rarity-sort{flex:1;min-width:0;max-width:190px;font-size:10px;padding:3px 6px}.pc-card.is-favorite,.boost-chip.is-favorite,.breed-pick.is-favorite,.breed-source-chip.is-favorite{border-color:#fbbf248c;background:#78530c29}.pokemon-team-fav{position:absolute;z-index:3;top:2px;right:3px;color:#fbbf24;font-size:8px;line-height:1;text-shadow:0 1px 2px #000}.chat-log{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:4px;min-height:120px}.panel-chat .panel-body{overflow:hidden}.chat-tabs{flex:0 0 auto;gap:4px}.chat-tabs .btn{min-height:24px;padding:3px 8px;font-size:10px;line-height:1}.chat-compose{flex:0 0 auto;gap:6px;min-width:0}.chat-compose .input{min-width:0}.chat-compose .btn{flex:0 0 auto}.chat-msg{line-height:1.35;word-break:break-word}.chat-from{color:var(--ui-accent);font-weight:600}.chat-ts{color:var(--ui-muted);font-size:10px;margin-right:4px}.chat-msg-system{color:#cbd5e1}.chat-msg-system .chat-ts{color:#fbbf24}.chat-log,.prey-mon-grid,.pc-box-grid,.travel-scroll,.task-scroll,.achievements-scroll,.store-scroll{scrollbar-width:thin;scrollbar-color:rgba(212,165,74,.56) rgba(15,23,42,.35)}.chat-log::-webkit-scrollbar,.prey-mon-grid::-webkit-scrollbar,.pc-box-grid::-webkit-scrollbar,.travel-scroll::-webkit-scrollbar,.task-scroll::-webkit-scrollbar,.achievements-scroll::-webkit-scrollbar,.store-scroll::-webkit-scrollbar{width:7px;height:7px}.chat-log::-webkit-scrollbar-track,.prey-mon-grid::-webkit-scrollbar-track,.pc-box-grid::-webkit-scrollbar-track,.travel-scroll::-webkit-scrollbar-track,.task-scroll::-webkit-scrollbar-track,.achievements-scroll::-webkit-scrollbar-track,.store-scroll::-webkit-scrollbar-track{border-radius:999px;background:#0f172a59}.chat-log::-webkit-scrollbar-thumb,.prey-mon-grid::-webkit-scrollbar-thumb,.pc-box-grid::-webkit-scrollbar-thumb,.travel-scroll::-webkit-scrollbar-thumb,.task-scroll::-webkit-scrollbar-thumb,.achievements-scroll::-webkit-scrollbar-thumb,.store-scroll::-webkit-scrollbar-thumb{border:1px solid rgba(15,23,42,.7);border-radius:999px;background:linear-gradient(180deg,#fbbf24b8,#78350fc7)}.mobile-menu-toggle{display:none;position:relative;margin-left:auto;min-width:42px;min-height:38px;align-items:center;justify-content:center;background:var(--ui-panel-2);border:1px solid var(--ui-border);border-radius:10px;color:var(--ui-text);font-size:18px;cursor:pointer;touch-action:manipulation}.mobile-menu-sheet{position:absolute;top:100%;left:0;right:0;z-index:120;display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:2px;padding:6px;max-height:55vh;overflow-y:auto;background:#0b0e14f7;border-bottom:1px solid var(--ui-border);box-shadow:0 14px 28px #0000008c}.mobile-menu-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;background:transparent;border:none;border-radius:8px;cursor:pointer;color:var(--ui-muted);font-size:10px;touch-action:manipulation}.mobile-menu-item.active{color:var(--ui-accent);background:#ffffff0d}.mobile-menu-logout{color:#fca5a5}.mobile-menu-icon{position:relative;font-size:18px;line-height:1}.mobile-menu-icon .menu-badge{right:-10px;top:-4px}@media (max-width: 1480px){.hud{gap:8px;padding-left:10px;padding-right:10px}.hud-player{min-width:125px}.hud-avatar{width:40px;flex-basis:40px}.hud-vitals{width:130px;flex-basis:130px;padding-left:7px}.hud-nav-button{min-width:56px;padding-left:5px;padding-right:5px}.hud-resource{min-width:72px;padding-left:6px;padding-right:6px}.hud-resource small{display:none}.hud-hunt>span:not(.hud-hunt-dot){display:none}}@media (max-width: 1120px){.hud-player{min-width:46px}.hud-identity{display:none}.hud-vitals{width:115px;flex-basis:115px}.hud-resource{min-width:32px;width:32px;padding:0;justify-content:center}.hud-resource span{display:none}.hud-utilities{padding-left:4px}}body.ui-mobile .hud{z-index:100;height:calc(44px + env(safe-area-inset-top));gap:6px;padding:env(safe-area-inset-top) 8px 0}body.ui-mobile .hud.hud-mobile-menu-open{z-index:130}body.ui-mobile .hud-panels,body.ui-mobile .hud-player{display:none}body.ui-mobile .hud-vitals{flex:0 1 360px;flex-direction:row;gap:4px;width:42%;min-width:0;max-width:360px;padding-left:0;overflow:hidden;border-left:0;align-items:center}body.ui-mobile .hud-vitals .bar{flex:1 1 0;width:auto;min-width:0;height:13px}body.ui-mobile .hud-vitals .bar-label{font-size:8px}body.ui-mobile .hud-right{position:relative;z-index:2;flex:0 0 auto;min-width:0;margin-left:auto;gap:4px}body.ui-mobile .hud-wealth{gap:4px}body.ui-mobile .hud-resource{min-width:32px;width:32px;height:32px;padding:0;justify-content:center}body.ui-mobile .hud-resource span,body.ui-mobile .hud-perf,body.ui-mobile .hud-utilities{display:none}body.ui-mobile .hud-hunt{gap:6px;padding:2px 6px;font-size:10px}body.ui-mobile .hud-hunt>span:not(.hud-hunt-dot){display:none}body.ui-mobile .hud-hunt-start{min-height:32px;font-size:0}body.ui-mobile .hud-hunt-start .hud-hunt-dot{margin:0 4px}body.ui-mobile .mobile-menu-toggle{display:flex;flex:0 0 42px;margin-left:0}body.ui-mobile .panel-host{top:auto;left:auto;right:8px;bottom:calc(84px + env(safe-area-inset-bottom));z-index:110;width:min(260px,80vw);max-height:calc(100% - var(--hud-height) - 96px);overflow:hidden;border-left:1px solid var(--ui-border);border-radius:14px;box-shadow:0 10px 30px #00000080}body.ui-mobile .panel-host-compact{height:min(24vh,300px);min-height:170px;max-height:300px}body.ui-mobile .panel-stack{top:calc(var(--hud-height) + var(--capture-launcher-height, 0px) + 12px + env(safe-area-inset-top));left:8px;right:auto;bottom:calc(84px + env(safe-area-inset-bottom));z-index:110;width:min(260px,80vw);gap:6px}body.ui-mobile .panel-stack .panel-host-compact{width:100%;min-height:0;height:clamp(170px,24vh,230px);max-height:230px;flex:0 1 clamp(170px,24vh,230px)}body.ui-mobile .panel-stack .panel-chat{height:clamp(240px,36vh,310px);max-height:310px;flex-basis:clamp(240px,36vh,310px)}body.ui-mobile .panel-stack .panel-host-compact.panel-dragged{width:min(260px,80vw);height:min(24vh,300px);min-height:170px}body.ui-mobile .panel-stack .panel-chat.panel-dragged{height:clamp(240px,36vh,310px);min-height:240px;max-height:310px}body.ui-mobile .panel-stack .panel-move-lab,body.ui-mobile .panel-stack .panel-move-lab.panel-dragged{width:min(620px,calc(100vw - 16px));min-width:min(460px,calc(100vw - 16px));height:min(430px,calc(100vh - var(--hud-height) - 24px));min-height:min(340px,calc(100vh - var(--hud-height) - 24px));max-height:calc(100vh - var(--hud-height) - 24px);flex:0 0 auto}body.ui-mobile .panel-host .panel-head{border-radius:14px 14px 0 0}body.ui-mobile .panel-body,body.ui-mobile .panel-host-compact,body.ui-mobile .panel-modal-backdrop,body.ui-mobile .panel-centered,body.ui-mobile .pc-modal,body.ui-mobile .npc-shop-content,body.ui-mobile .pokemon-config-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}body.ui-mobile .panel-head-drag{touch-action:pan-y}body.ui-mobile .toast-stack{top:calc(40px + env(safe-area-inset-top));left:50%;right:auto;transform:translate(-50%);align-items:center;max-width:min(320px,86vw)}body.ui-mobile .hotbars{gap:4px;bottom:calc(8px + env(safe-area-inset-bottom))}body.ui-mobile .hotbar{gap:4px;padding:4px;border-radius:10px}body.ui-mobile .hotbar-slot{width:34px;height:34px;border-width:1px;border-radius:6px}body.ui-mobile .hotbar-slot img{width:22px;height:22px}body.ui-mobile .hotbar-slot.empty{font-size:13px}body.ui-mobile .hotbar-key{font-size:7px}body.ui-mobile .hotbar-count{font-size:8px}body.ui-mobile .spell-slot{width:40px;height:46px;padding-top:4px}body.ui-mobile .spell-slot img{width:20px;height:20px}body.ui-mobile .spell-name{max-width:36px;font-size:7px}body.ui-mobile .spell-mana{font-size:7px}body.ui-mobile .spell-lock{font-size:11px}body.ui-mobile .spell-lock-level{font-size:7px}body.ui-mobile .btn,body.ui-mobile .input,body.ui-mobile .select{min-height:44px}body.ui-mobile .panel-close{min-width:44px;min-height:44px}.modal-backdrop{pointer-events:auto;position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;display:flex;align-items:center;justify-content:center;padding:16px;background:#020509bd;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal{width:min(340px,100%);max-height:80vh;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:14px;background:linear-gradient(155deg,#19202cfb,#080c12fc);border:1px solid rgba(212,165,74,.25);border-radius:16px;box-shadow:0 22px 58px #000000ad,inset 0 1px #ffffff09}.modal-title{font-weight:700;color:var(--ui-accent)}.sell-option{justify-content:space-between;width:100%}.stepper{display:flex;align-items:center;gap:6px}.stepper .btn{min-width:36px;padding:4px}.shop-confirm{display:flex;flex-direction:column;gap:8px;padding:8px;background:var(--ui-panel-2);border:1px solid var(--ui-border);border-radius:8px}.settings-panel{display:flex;flex-direction:column;gap:7px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:10px 11px;border:1px solid rgba(148,163,184,.1);border-radius:10px;background:linear-gradient(145deg,#1b23309e,#080c128c);cursor:pointer}.settings-row:hover{border-color:#fbbf2440;background:linear-gradient(145deg,#78350f29,#080c12a6)}.settings-labels{display:flex;flex-direction:column;gap:2px}.settings-label{font-size:13px;color:var(--ui-text, #e2e8f0)}.settings-hint{font-size:11px;color:#64748b}.settings-toggle{position:relative;width:38px;height:21px;flex:0 0 38px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid rgba(148,163,184,.25);border-radius:999px;background:#03070cbf;cursor:pointer;transition:border-color .15s ease,background .15s ease}.settings-toggle:after{content:"";position:absolute;top:3px;left:3px;width:13px;height:13px;border-radius:50%;background:#778195;transition:transform .15s ease,background .15s ease}.settings-toggle:checked{border-color:#fbbf248c;background:#92400e8c}.settings-toggle:checked:after{transform:translate(17px);background:#fbbf24;box-shadow:0 0 7px #fbbf2480}.settings-toggle:disabled{opacity:.45;cursor:default}.settings-row select{background:#0b0e14;color:#e2e8f0;border:1px solid #334155;border-radius:6px;padding:6px 8px}.helper-panel{gap:2px}.helper-panel .notice{padding:6px 8px;font-size:12px}.helper-panel .settings-row{padding:5px 8px}.helper-panel .settings-labels{gap:0}.helper-panel .settings-hint{font-size:10px;line-height:1.25}.sell-all-modal{max-width:420px;width:calc(100vw - 32px)}.sell-all-list{display:flex;flex-direction:column;gap:4px;max-height:46vh;overflow-y:auto;margin:10px 0}.sell-all-row{display:flex;align-items:center;gap:8px;padding:6px 8px;border:1px solid #334155;border-radius:8px;background:#0f141d;color:inherit;cursor:pointer;text-align:left}.sell-all-row img{width:24px;height:24px;image-rendering:pixelated}.sell-all-row.removed{opacity:.35;text-decoration:line-through;filter:grayscale(1)}.sell-all-favorite-note{color:#fbbf24;margin:0}.npc-shop-rarity-select{max-width:190px}.vitals{position:absolute;left:10px;bottom:12px;width:min(292px,46vw);pointer-events:none;z-index:30}.vitals-card{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:9px}.vitals-avatar{width:58px;height:58px;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(251,191,36,.34);border-radius:12px;background:radial-gradient(circle at 50% 72%,#b4530952,#05080cdb);box-shadow:inset 0 0 16px #0000007a,0 7px 16px #0000006b}.vitals-avatar .pokemon-media{width:48px;height:48px;min-width:48px;flex-basis:48px}.vitals-avatar .pokemon-media img{width:100%;height:100%;filter:drop-shadow(0 5px 4px rgba(0,0,0,.58))}.vitals-main{min-width:0;display:flex;flex-direction:column;gap:5px}.vitals-pokemon-name{max-width:100%;overflow:hidden;color:#f8fafc;font-family:Georgia,Times New Roman,serif;font-size:13px;font-weight:750;line-height:1;text-overflow:ellipsis;text-shadow:0 1px 2px #000;white-space:nowrap}.vital-bar{display:flex;align-items:center;gap:6px}.vital-tag{width:24px;font-size:11px;font-weight:700;color:#cbd5e1;text-shadow:0 1px 2px #000}.vital-track{position:relative;flex:1;height:18px;background:#0b0e14d9;border:1px solid var(--ui-border);border-radius:9px;overflow:hidden}.vital-fill{position:absolute;inset:0 auto 0 0;border-radius:8px;transition:width .2s linear}.vital-fill.hp{background:linear-gradient(180deg,#ef4444,#b91c1c)}.vital-fill.mp{background:linear-gradient(180deg,#3b82f6,#1d4ed8)}.vital-num{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#fff;text-shadow:0 1px 2px #000}.vital-low .vital-track{animation:vital-pulse 1s infinite alternate}@keyframes vital-pulse{0%{box-shadow:0 0 #ef444400}to{box-shadow:0 0 8px 2px #ef4444b3}}.vitals-xp{position:relative;height:8px;background:#0b0e14d9;border:1px solid var(--ui-border);border-radius:4px;overflow:hidden}.vitals-xp-fill{position:absolute;inset:0 auto 0 0;background:var(--ui-accent)}.vitals-xp-label{position:absolute;top:-1px;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:8px;color:#fff;text-shadow:0 1px 2px #000}body.ui-mobile .vitals{display:none}.trade-menu{display:flex;flex-direction:column;gap:8px;min-width:320px}.trade-menu h2{margin:0;color:#fffaf0;font-family:Georgia,Times New Roman,serif}.trade-option{display:flex;align-items:center;gap:10px;min-height:62px;padding:10px 12px;background:linear-gradient(145deg,#1b2330b8,#080c12b8);border:1px solid rgba(148,163,184,.12);border-radius:11px;color:var(--ui-text);cursor:pointer;text-align:left;touch-action:manipulation}.trade-option:hover{border-color:#fbbf2466;background:linear-gradient(145deg,#78350f38,#080c12cc)}.trade-option-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:9px;background:#03070c94;color:#f4c85e;font-size:20px}.trade-option-text{display:flex;flex-direction:column;gap:2px}.rarity-common{border-color:#6b7280}.rarity-uncommon{border-color:#4ade80;background:radial-gradient(circle at 50% 62%,rgba(74,222,128,.18),var(--ui-bg) 78%)}.rarity-rare{border-color:#60a5fa;background:radial-gradient(circle at 50% 62%,rgba(96,165,250,.2),var(--ui-bg) 78%)}.rarity-epic{border-color:#c084fc;background:radial-gradient(circle at 50% 62%,rgba(192,132,252,.22),var(--ui-bg) 78%);animation:epic-glow 2s ease-in-out infinite alternate}@keyframes epic-glow{0%{box-shadow:0 0 3px #c084fc40}to{box-shadow:0 0 10px #c084fc99}}.rarity-legendary{border-color:#fbbf24;background:linear-gradient(115deg,#fbbf240f 25%,#fbbf2447 45%,#fff0c857,#fbbf2447 55%,#fbbf240f 75%),var(--ui-bg);background-size:250% 250%,100% 100%;animation:legendary-shimmer 3s linear infinite}@keyframes legendary-shimmer{0%{background-position:130% 0,0 0}to{background-position:-130% 0,0 0}}.rarity-mythic{border-color:#ef4444;background:radial-gradient(circle at 50% 62%,rgba(239,68,68,.3),var(--ui-bg) 76%);animation:mythic-pulse 1.6s ease-in-out infinite alternate}@keyframes mythic-pulse{0%{box-shadow:0 0 4px #ef444459}to{box-shadow:0 0 14px #ef4444d9}}.store-icon{width:40px;height:40px;object-fit:contain;image-rendering:pixelated;flex-shrink:0}.store-row.store-soon{opacity:.55}.wardrobe-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(116px,1fr));gap:10px;padding:4px 2px;min-width:0}.wardrobe-cell{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 6px;border-radius:10px;border:1px solid var(--ui-border);background:#ffffff08;cursor:pointer;text-align:center}.wardrobe-cell.wardrobe-active{border-color:#4ade80;box-shadow:0 0 0 1px #4ade8066 inset}.wardrobe-cell.wardrobe-locked{cursor:default}.wardrobe-content{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.wardrobe-cell.wardrobe-locked .wardrobe-content{opacity:.45;filter:grayscale(.6)}.wardrobe-sprite-box{width:84px;height:60px;display:flex;align-items:center;justify-content:center}.wardrobe-sprite{width:90px;height:90px;object-fit:contain;image-rendering:pixelated;transform:translate(-35px,-12px)}.wardrobe-name{font-size:11px;width:100%}.wardrobe-badge{position:absolute;top:4px;right:4px;font-size:9px;font-weight:700;color:#052e16;background:#4ade80;border-radius:5px;padding:1px 4px}.wardrobe-tooltip{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%);z-index:90;width:max-content;max-width:160px;padding:6px 8px;background:#0b0e14;border:1px solid var(--ui-border);border-radius:8px;box-shadow:0 8px 24px #0009;display:flex;flex-direction:column;gap:2px;font-size:11px;pointer-events:none}.dialogue-body{display:flex;flex-direction:column;gap:14px}.dialogue-head{display:flex;align-items:center;gap:10px;transform:translate(-30px,-30px)}.dialogue-portrait{width:92px;height:92px;object-fit:contain;image-rendering:pixelated;flex-shrink:0}.dialogue-name{font-size:15px}.dialogue-text{margin:0;min-height:64px;line-height:1.5;white-space:pre-wrap;transform:translateY(-30px)}.dialogue-cursor{display:inline-block;margin-left:1px;animation:dialogue-blink .9s steps(1) infinite}@keyframes dialogue-blink{0%,49%{opacity:1}50%,to{opacity:0}}.dialogue-reward{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:10px;border:1px solid rgba(74,222,128,.35);background:#4ade8014}.dialogue-need{display:flex;align-items:center;gap:10px}.queue-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:flex;align-items:center;justify-content:center;background:#06080cdb;pointer-events:auto}.queue-card{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:360px;padding:28px 32px;background:var(--ui-panel);border:1px solid var(--ui-border);border-radius:14px;text-align:center}.queue-pos{font-size:44px;font-weight:800;color:var(--ui-accent);line-height:1}.queue-pos-of{font-size:18px;color:var(--ui-muted);font-weight:600}.queue-spinner{width:34px;height:34px;border-radius:50%;border:3px solid var(--ui-border);border-top-color:var(--ui-accent);animation:queue-spin .9s linear infinite}@keyframes queue-spin{to{transform:rotate(360deg)}}.world-loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:radial-gradient(circle at 50% 40%,#10151f,#06080c 80%);color:var(--ui-text)}.world-loading-spinner{width:42px;height:42px;border-radius:50%;border:3px solid rgba(251,191,36,.2);border-top-color:var(--ui-accent);animation:queue-spin .85s linear infinite}.world-loading-title{font-weight:700;letter-spacing:.02em}.world-loading-sub{font-size:12px;color:var(--ui-muted)}.tabs-wrap{flex-wrap:wrap}.menu-badge{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;margin-left:5px;padding:0 4px;border-radius:8px;background:var(--ui-red);color:#fff;font-size:10px;font-weight:700}.mail-card{display:flex;flex-direction:column;gap:8px;padding:10px 12px;background:var(--ui-panel-2);border:1px solid var(--ui-border);border-radius:10px}.mail-card.mail-unread{border-left:3px solid var(--ui-accent)}.mail-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.mail-title{font-weight:700;display:flex;align-items:center;gap:6px}.mail-dot{width:8px;height:8px;border-radius:50%;background:var(--ui-accent);flex-shrink:0}.mail-body{font-size:13px;color:var(--ui-text);white-space:pre-wrap;line-height:1.4}.mail-rewards{display:flex;flex-wrap:wrap;gap:6px}.mail-reward{position:relative}.mail-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.panel-gear{flex:0 0 auto;width:26px;height:26px;border-radius:8px;border:1px solid rgba(148,163,184,.25);background:#94a3b814;color:var(--ui-text-dim, #94a3b8);cursor:pointer;line-height:1}.panel-gear:hover{color:#e2e8f0;border-color:#d4a54a80}.panel-gear-on{color:#fbbf24;border-color:#fbbf248c;background:#fbbf241f}.streamer-search{display:flex;align-items:center;gap:8px;padding:6px 0}.streamer-search .input{flex:1;min-width:0}.streamer-fav{flex:0 0 auto;width:26px;height:26px;border-radius:8px;border:1px solid rgba(148,163,184,.25);background:#94a3b814;color:#94a3b8bf;cursor:pointer;line-height:1}.streamer-fav:hover{color:#fbbf24;border-color:#fbbf2473}.streamer-fav.on{color:#fbbf24;border-color:#fbbf2499;background:#fbbf241f}.streamer-fav-mark{color:#fbbf24;margin-right:4px}.streamer-row{cursor:pointer}.streamer-pool-value{display:block;font-size:15px;color:#7dd3fc}.wallet-bal-sym.streamer{color:#7dd3fc}.streamer-donation-done{opacity:.55}.mail-delete{opacity:.6}.mail-delete:hover{opacity:1}.reward-chip{display:inline-flex;align-items:center;gap:6px}.reward-line{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}#root.force-landscape{position:fixed;top:0;left:0;width:100vh;width:100dvh;height:100vw;height:100dvw;transform:rotate(90deg) translateY(-100%);transform-origin:top left;overflow:hidden}.joystick{display:none;pointer-events:auto;position:absolute;left:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:26;width:108px;height:108px;border-radius:50%;background:#0b0e1459;border:2px solid rgba(148,163,184,.35);touch-action:none;align-items:center;justify-content:center}.joystick-active{border-color:#fbbf248c}.joystick-knob{width:46px;height:46px;border-radius:50%;background:#94a3b873;border:2px solid rgba(226,232,240,.55);box-shadow:0 2px 8px #00000073;pointer-events:none}.joystick-active .joystick-knob{background:#fbbf2480}.mobile-combat-arc{pointer-events:none;position:absolute;top:0;left:0;right:env(safe-area-inset-right);bottom:env(safe-area-inset-bottom);z-index:26}.mobile-combat-arc:before,.mobile-combat-arc:after{content:"";position:absolute;z-index:0;border:1px solid rgba(96,165,250,.18);border-radius:50%;box-shadow:0 0 18px #1e40af1a}.mobile-combat-arc:before{right:calc(var(--mobile-arc-anchor) - var(--mobile-arc-outer-radius));bottom:calc(var(--mobile-arc-anchor) - var(--mobile-arc-outer-radius));width:var(--mobile-arc-outer-diameter);height:var(--mobile-arc-outer-diameter)}.mobile-combat-arc:after{right:calc(var(--mobile-arc-anchor) - var(--mobile-arc-inner-radius));bottom:calc(var(--mobile-arc-anchor) - var(--mobile-arc-inner-radius));width:var(--mobile-arc-inner-diameter);height:var(--mobile-arc-inner-diameter)}.spell-arc .hotbar-slot{pointer-events:auto;position:absolute;z-index:1;background:radial-gradient(circle at 50% 28%,rgba(59,130,246,.2),transparent 66%),#090f19f0;box-shadow:0 4px 12px #00000073,inset 0 1px #ffffff0f}.spell-round{border-radius:50%!important;border-width:2px;padding:0!important;flex-direction:row!important}.spell-round img{width:66%;height:66%;object-fit:contain}.spell-round .spell-mana{right:auto;left:50%;top:auto;bottom:-1px;transform:translate(-50%);font-size:8px}.spell-round .spell-lock{font-size:13px}.spell-round .hotbar-cd{right:8px;bottom:5px;left:8px}.spell-arc .spellcfg-open{z-index:2;min-height:0;border-radius:50%!important;background:#111827;box-shadow:0 3px 10px #0000008c}body.ui-mobile .joystick{display:flex}.spellcfg{width:min(440px,calc(100vw - 24px))}.spellcfg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:6px;max-height:52vh;overflow-y:auto}.spellcfg-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 4px 6px;background:var(--ui-bg);border:1px solid var(--ui-border);border-radius:10px;cursor:pointer}.spellcfg-card img{width:28px;height:28px;image-rendering:pixelated}.spellcfg-card.selected{border-color:var(--ui-accent);background:#fbbf2414}.spellcfg-name{font-size:11px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spellcfg-order{position:absolute;left:4px;top:3px;font-size:9px;font-weight:700;color:var(--ui-accent)}.spellcfg-open{color:var(--ui-muted);font-size:15px}.spellcfg-open:hover{color:var(--ui-accent)}.loot-feed{pointer-events:none;position:absolute;left:10px;bottom:104px;z-index:24;display:flex;flex-direction:column-reverse;gap:3px;max-width:230px}.loot-row{display:flex;align-items:center;gap:6px;padding:3px 8px;background:#0b0e14c7;border:1px solid rgba(42,51,72,.8);border-radius:14px;font-size:12px;animation:loot-pop .18s ease-out;width:fit-content}.loot-row img{width:20px;height:20px;image-rendering:pixelated}.loot-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:140px}.loot-qty{font-weight:700;color:#fff}@keyframes loot-pop{0%{transform:translateY(4px) scale(.94);opacity:.4}to{transform:translateY(0) scale(1);opacity:1}}body.ui-mobile .loot-feed{left:12px;bottom:calc(138px + env(safe-area-inset-bottom));max-width:190px}body.ui-mobile .loot-row{font-size:11px;padding:2px 7px}body.ui-mobile .loot-row img{width:17px;height:17px}.panel-body::-webkit-scrollbar,.spellcfg-grid::-webkit-scrollbar,.mobile-menu-sheet::-webkit-scrollbar,.sell-all-list::-webkit-scrollbar{width:6px}.panel-body::-webkit-scrollbar-thumb,.spellcfg-grid::-webkit-scrollbar-thumb,.mobile-menu-sheet::-webkit-scrollbar-thumb,.sell-all-list::-webkit-scrollbar-thumb{background:var(--ui-border);border-radius:3px}.panel-body::-webkit-scrollbar-track{background:transparent}@keyframes sheet-in{0%{transform:translateY(28px);opacity:.5}to{transform:translateY(0);opacity:1}}.panel-modal-backdrop{pointer-events:auto;position:absolute;top:0;right:0;bottom:0;left:0;top:calc(var(--hud-height) + env(safe-area-inset-top));z-index:50;display:flex;align-items:center;justify-content:center;padding:20px 14px;background:#020509b8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.panel-centered{display:flex;flex-direction:column;width:min(580px,calc(100vw - 24px));max-height:min(calc(100vh - var(--hud-height) - 40px),680px);background:linear-gradient(165deg,#141b26fc,#080c12fe);border:1px solid rgba(212,165,74,.25);border-radius:16px;box-shadow:0 24px 70px #000000b8,inset 0 1px #ffffff09;overflow:hidden;animation:dialog-in .16s ease-out}.panel-centered .panel-head{border-radius:16px 16px 0 0}@keyframes dialog-in{0%{transform:translateY(10px) scale(.97);opacity:.5}to{transform:translateY(0) scale(1);opacity:1}}body.ui-mobile .panel-centered{width:min(620px,calc(100% - 14px));height:calc(100% - 14px);max-height:calc(100% - 14px);overflow:hidden}body.ui-mobile .panel-modal-backdrop{padding:7px}body.ui-mobile .panel-centered.panel-character,body.ui-mobile .panel-centered.panel-inventory,body.ui-mobile .panel-centered.panel-settings,body.ui-mobile .panel-centered.panel-tasks,body.ui-mobile .panel-centered.panel-battlepass,body.ui-mobile .panel-centered.panel-achievements,body.ui-mobile .panel-centered.panel-prey,body.ui-mobile .panel-centered.panel-capture-log,body.ui-mobile .panel-centered.panel-store,body.ui-mobile .panel-centered.panel-shop,body.ui-mobile .panel-centered.panel-travel,body.ui-mobile .panel-centered.panel-market,body.ui-mobile .panel-centered.panel-bmarket,body.ui-mobile .panel-centered.panel-wallet,body.ui-mobile .panel-centered.panel-move-lab{width:min(720px,calc(100% - 2px))}body.ui-mobile .panel-body{min-width:0;min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:10px;gap:10px}body.ui-mobile .panel-body>*{min-width:0}body.ui-mobile .panel-store .panel-body,body.ui-mobile .panel-travel .panel-body,body.ui-mobile .panel-tasks .panel-body,body.ui-mobile .panel-achievements .panel-body{overflow-y:scroll}body.ui-mobile .panel-store .list,body.ui-mobile .panel-travel .list,body.ui-mobile .panel-tasks .list,body.ui-mobile .panel-achievements .list{overflow:visible}body.ui-mobile .panel-tasks .task-scroll,body.ui-mobile .panel-achievements .achievements-scroll{max-height:58vh;overflow-y:auto;-webkit-overflow-scrolling:touch}body.ui-mobile .panel-head{min-height:50px}body.ui-mobile .panel-icon{width:36px;height:36px}body.ui-mobile .spellcfg,body.ui-mobile .sell-all-modal,body.ui-mobile .death-card{width:min(440px,calc(100% - 12px))}body.ui-mobile .spellcfg-grid,body.ui-mobile .sell-all-list,body.ui-mobile .prey-mon-grid{max-height:55%}.panel-centered.panel-character{width:min(540px,calc(100vw - 24px))}.panel-centered.panel-inventory{width:min(600px,calc(100vw - 24px))}.panel-centered.panel-settings{width:min(500px,calc(100vw - 24px))}.panel-centered.panel-tasks{width:min(660px,calc(100vw - 24px))}.panel-centered.panel-battlepass,.panel-centered.panel-achievements,.panel-centered.panel-prey,.panel-centered.panel-capture-log,.panel-centered.panel-store,.panel-centered.panel-shop{width:min(720px,calc(100vw - 24px))}.panel-centered.panel-travel{width:min(760px,calc(100vw - 24px))}.panel-centered.panel-market,.panel-centered.panel-bmarket,.panel-centered.panel-wallet{width:min(780px,calc(100vw - 24px))}.panel-centered.panel-move-lab{width:min(920px,calc(100vw - 24px))}.panel-centered.panel-admin{width:min(1240px,calc(100vw - 24px));height:calc(100vh - var(--hud-height) - 12px);max-height:calc(100vh - var(--hud-height) - 12px)}.panel-centered.panel-admin .panel-body{min-height:0}.panel-centered.panel-streamer{width:min(720px,calc(100vw - 24px));height:min(calc(100vh - var(--hud-height) - 12px),900px);min-height:min(calc(100vh - var(--hud-height) - 12px),720px);max-height:calc(100vh - var(--hud-height) - 12px)}.panel-centered.panel-streamer .panel-body{min-height:0}.panel-admin .panel-body{padding:0}.admin-panel-frame{flex:1;width:100%;height:100%;border:0;background:#0b0e14}.move-lab{min-height:0;display:flex;flex:1;flex-direction:column;gap:12px}.move-lab-area{display:flex;min-height:48px;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid rgba(148,163,184,.16)}.move-lab-area>span{display:flex;flex-direction:column;gap:2px}.move-lab-area strong{color:#e5e7eb;font-size:13px}.move-lab-area small{color:#f87171;font-size:10px;text-transform:uppercase}.move-lab-area.ready small{color:#4ade80}.move-lab-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) 150px 150px;gap:8px}.move-lab-toolbar .input,.move-lab-toolbar .select{width:100%;min-width:0}.move-lab-count{display:flex;min-height:18px;align-items:center;color:var(--ui-muted);font-size:10px;font-weight:700;text-transform:uppercase}.move-lab-list{min-height:0;display:flex;flex:1;flex-direction:column;gap:5px;overflow-y:auto;padding-right:3px}.move-lab-row{display:grid;grid-template-columns:46px minmax(180px,1fr) minmax(190px,auto) 72px;min-height:70px;align-items:center;gap:10px;padding:8px 9px;border:1px solid rgba(148,163,184,.13);border-radius:6px;background:#03070c6b}.move-lab-row:hover{border-color:#d4a54a4d;background:#141b26b8}.move-lab-icon{width:42px;height:42px;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(148,163,184,.2);border-radius:6px;background:#111827;color:#f8fafc;font-size:17px;font-weight:800}.move-lab-icon img{width:100%;height:100%;object-fit:contain;image-rendering:auto}.move-lab-main{min-width:0;display:flex;flex-direction:column;gap:2px}.move-lab-main strong{overflow-wrap:anywhere;color:#f1f5f9;font-size:12px}.move-lab-main small{color:#7f8a9a;font-size:9px}.move-lab-main>span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#aab3c0;font-size:10px;line-height:1.35}.move-lab-stats{display:grid;grid-template-columns:repeat(2,minmax(58px,auto));gap:4px 6px;justify-content:end}.move-lab-stats i,.move-lab-stats small{min-width:0;overflow:hidden;color:#aab3c0;font-size:9px;font-style:normal;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.move-lab-stats i:first-child{color:#67e8f9;font-weight:700}.move-lab-cast{width:68px;min-height:34px;padding-inline:8px}.move-lab-cast.casting{border-color:#4ade80;color:#bbf7d0;background:#16653447}@media (max-width: 760px){.move-lab-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.move-lab-toolbar .input{grid-column:1 / -1}.move-lab-row{grid-template-columns:42px minmax(150px,1fr) 148px 64px;gap:7px}.move-lab-stats{grid-template-columns:repeat(2,minmax(52px,auto))}.move-lab-main>span{display:none}}.trade-menu-backdrop{top:calc(var(--hud-height) + env(safe-area-inset-top));padding-top:20px}body.ui-mobile .panel-modal-backdrop,body.ui-mobile .trade-menu-backdrop{top:calc(44px + env(safe-area-inset-top))}.travel-cats{flex-wrap:wrap}.travel-cats .btn{min-height:30px;font-size:11px;padding:2px 6px;flex:1 1 auto}body.ui-mobile .travel-cats .btn{min-height:38px}.travel-row{display:flex;flex-direction:column}.travel-row .list-row{gap:0;padding:0}.travel-go{flex:1;display:flex;align-items:center;gap:8px;padding:6px 8px;background:transparent;border:none;cursor:pointer;color:inherit;text-align:left;min-width:0}.travel-go:disabled{cursor:default;opacity:.6}.travel-info-btn{flex-shrink:0;width:34px;align-self:stretch;background:transparent;border:none;border-left:1px solid var(--ui-border);color:var(--ui-muted);font-size:15px;cursor:pointer;transition:color .12s,background .12s}.travel-info-btn:hover,.travel-info-btn.active{color:var(--ui-accent);background:#fbbf2414}.travel-info{display:flex;flex-direction:column;gap:8px;padding:8px 10px 10px;margin-top:-2px;background:var(--ui-bg);border:1px solid var(--ui-border);border-top:none;border-radius:0 0 8px 8px;animation:panel-in .14s ease-out}.travel-info-block{display:flex;flex-direction:column;gap:5px}.travel-info-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--ui-muted)}.travel-mons{display:flex;flex-wrap:wrap;gap:6px}.travel-mon{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:3px 8px 3px 4px;background:var(--ui-panel-2);border:1px solid var(--ui-border);border-radius:16px;font-size:12px}.travel-mon-name{font-weight:600}.travel-type-icons{display:inline-flex;align-items:center;gap:3px}.travel-type-icons img{width:18px;height:18px;object-fit:contain;border-radius:5px}.travel-ev{display:inline-flex;flex-wrap:wrap;align-items:center;gap:3px;font-size:10px}.travel-ev>b{color:#dbeafe;font-size:10px}.travel-ev span{padding:1px 5px;border:1px solid rgba(74,222,128,.22);border-radius:999px;color:#bbf7d0;background:#16653424}.travel-ev-empty{color:var(--ui-muted)}.travel-drops{display:flex;flex-wrap:wrap;gap:5px}.travel-drop{display:flex;align-items:center;gap:5px;padding:3px 7px 3px 4px;background:var(--ui-panel-2);border:1px solid var(--ui-border);border-radius:8px;font-size:11px}.travel-drop img{image-rendering:pixelated}.travel-drop-name{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.travel-drop-chance{font-weight:700;margin-left:2px}.drop-common{color:#cbd5e1}.drop-uncommon{color:#4ade80}.drop-rare{color:#60a5fa}.drop-legendary{color:#fbbf24}.travel-drop.drop-equip{border-color:#fbbf2480;box-shadow:inset 0 0 8px #fbbf2414}.drop-star{color:#fbbf24;font-size:10px}.prey-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}.prey-slot{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--ui-border);border-radius:10px;background:#ffffff05;min-height:120px}.prey-slot.prey-locked,.prey-slot.prey-empty{align-items:center;justify-content:center;text-align:center}.prey-slot.prey-active{border-color:#fbbf2459}.prey-slot .row{flex-wrap:wrap;gap:6px}.prey-slot .row .btn{flex:1 1 auto;white-space:nowrap;padding:6px 8px}.prey-lock-icon{font-size:26px}.prey-head{display:flex;align-items:center;gap:10px}.prey-title{display:flex;flex-direction:column;gap:4px;min-width:0}.prey-bonus{align-self:flex-start;font-size:11px;padding:2px 8px;border-radius:999px;border:1px solid var(--ui-border)}.prey-bonus-exp{color:#c084fc;border-color:#c084fc66}.prey-bonus-loot{color:#fbbf24;border-color:#fbbf2466}.prey-bonus-catch{color:#f87171;border-color:#f8717173}.prey-picker{display:flex;flex-direction:column;gap:10px}.prey-mon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:6px;max-height:46vh;overflow-y:auto}.prey-mon{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 4px;border:1px solid var(--ui-border);border-radius:8px;background:#ffffff05;color:var(--ui-text);cursor:pointer}.prey-mon:hover{border-color:var(--ui-gold)}.prey-mon-name{font-size:12px;text-align:center}.capture-log{display:flex;flex-direction:column;gap:10px;min-height:0}.capture-log-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.capture-log-summary>div{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px;border:1px solid var(--ui-border);border-radius:10px;background:#ffffff05}.capture-log-summary strong{font-size:18px;color:var(--ui-gold)}.capture-log-summary span{font-size:11px;color:var(--ui-text-dim);text-align:center}.capture-log-tools{flex-wrap:wrap;gap:6px}.capture-log-tools .input{flex:1 1 160px;min-width:0}.capture-log-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px;max-height:52vh;overflow-y:auto}.capture-log-card{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid var(--ui-border);border-radius:10px;background:#ffffff05}.capture-log-card.pending{border-color:#f8717159}.capture-log-head{display:flex;align-items:center;gap:8px}.capture-log-title{display:flex;flex-direction:column;min-width:0;flex:1}.capture-log-title strong{font-size:13px}.capture-log-totals{display:flex;flex-direction:column;gap:3px}.capture-log-captures,.capture-log-brokens{padding:2px 8px;border-radius:999px;font-size:12px;white-space:nowrap;text-align:center}.capture-log-captures{background:#fbbf241f;color:var(--ui-gold)}.capture-log-brokens{background:#f871711f;color:#f87171}.capture-log-balls{display:flex;flex-wrap:wrap;gap:4px}.capture-log-ball{display:flex;align-items:center;gap:4px;padding:2px 6px;border:1px solid var(--ui-border);border-radius:999px;background:#00000040;font-size:11px}.capture-log-ball.active{border-color:#f8717173}.capture-log-ball img{width:16px;height:16px;image-rendering:pixelated}.capture-log-ball-name{color:var(--ui-text-dim)}.capture-log-ball small{color:var(--ui-text-dim);font-size:10px}.capture-log-foot{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--ui-text-dim)}.capture-log-foot b{color:var(--ui-text)}body.ui-mobile .capture-log-grid{grid-template-columns:1fr;max-height:none}.death-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:95;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#3c00008c,#000000e0);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.death-card{width:min(440px,92vw);padding:28px 26px;border:1px solid #7f1d1d;border-radius:14px;background:#14090b;box-shadow:0 0 40px #7f1d1d66;text-align:center;display:flex;flex-direction:column;gap:12px}.death-skull{font-size:52px;line-height:1}.death-title{margin:0;color:var(--ui-red);font-size:24px}.death-sub{margin:0;color:var(--ui-text-dim);font-size:14px}.death-timer{padding:8px;border-radius:8px;background:#ffffff0a;font-size:14px}.death-actions{display:flex;flex-direction:column;gap:8px;margin-top:4px}.death-actions .btn{padding:12px;font-size:15px;display:flex;flex-direction:column;gap:2px}.death-cost{font-size:11px;opacity:.85;font-weight:400}.death-hint{margin-top:4px;text-align:left}.pokemon-capture{position:absolute;top:calc(var(--hud-height) + 8px + env(safe-area-inset-top));right:14px;bottom:auto;z-index:34;width:min(352px,calc(100vw - 28px));display:flex;flex-direction:column;gap:10px;padding:10px;border:1px solid rgba(250,204,21,.55);border-radius:12px;background:linear-gradient(145deg,#0f172af7,#1e293bf5);box-shadow:0 12px 32px #0000007a;pointer-events:auto}.pokemon-capture-queue-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.pokemon-capture-queue-head strong{color:#f8d678}.pokemon-capture-queue-head span{color:var(--ui-text-dim);font-size:10px}.pokemon-capture-drag-grip{display:none}.pokemon-capture-minimize{width:24px;height:24px;min-width:24px;min-height:24px;display:grid;place-items:center;padding:0;border:1px solid rgba(148,163,184,.24);border-radius:7px;background:#03070c57;color:#cbd5e1;cursor:pointer;line-height:1}.pokemon-capture-minimize:hover{border-color:#facc159e;color:#fde68a}.pokemon-capture-minimized{width:min(250px,calc(100vw - 28px));gap:0;padding:7px 9px}.pokemon-capture-auto{min-height:34px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:5px 7px;border:1px solid rgba(71,85,105,.7);border-radius:8px;background:#03070c57}.pokemon-capture-auto>span:first-child{min-width:0;display:flex;flex-direction:column}.pokemon-capture-auto strong{font-size:10px}.pokemon-capture-auto small{color:var(--ui-text-dim);font-size:8px}.pokemon-capture-block-tools{min-height:26px;display:flex;align-items:center;justify-content:space-between;gap:8px}.pokemon-capture-hide-blocked{min-width:0;margin-left:auto;display:flex;align-items:center;gap:7px;color:var(--ui-text-dim);font-size:9px;cursor:pointer}.pokemon-capture-vip,.pokemon-config-vip-label{padding:2px 5px;border:1px solid rgba(251,191,36,.42);border-radius:5px;color:#fbbf24;font-size:8px;font-weight:800}.pokemon-capture-targets{display:flex;gap:6px;padding-bottom:3px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:rgba(250,204,21,.4) transparent}.pokemon-capture-target-wrap{position:relative;flex:0 0 108px;min-width:0}.pokemon-capture-target{width:100%;min-width:0;display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:19px 17px;align-items:center;gap:0 5px;padding:4px 24px 4px 6px;border:1px solid rgba(148,163,184,.2);border-radius:8px;background:#03070c61;color:var(--ui-text);cursor:pointer}.pokemon-capture-target:hover,.pokemon-capture-target-wrap.active .pokemon-capture-target{border-color:#facc15b8;background:#78350f47}.pokemon-capture-target-wrap.blocked .pokemon-capture-target{border-color:#f871717a;opacity:.72}.pokemon-capture-target .pokemon-media{grid-row:1 / 3}.pokemon-capture-target-name{align-self:end;overflow:hidden;font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.pokemon-capture-target-time{align-self:start;color:var(--ui-text-dim);font-size:9px}.pokemon-capture-lock-icon{position:absolute;left:3px;bottom:2px;font-size:9px;line-height:1}.pokemon-capture-block{position:absolute;right:3px;bottom:3px;width:18px;height:18px;padding:0;border:0;border-radius:5px;background:#0f172ae0;filter:grayscale(1);font-size:9px;cursor:pointer}.pokemon-capture-block.active{background:#7f1d1de6;filter:none}.pokemon-capture-dismiss{position:absolute;top:3px;right:3px;width:18px;height:18px;padding:0;border:0;border-radius:50%;background:#0f172ad1;color:var(--ui-text-dim);font-size:15px;line-height:18px;cursor:pointer}.pokemon-capture-dismiss:hover:not(:disabled){background:#7f1d1de6;color:#fff}.pokemon-capture-dismiss:disabled{cursor:wait;opacity:.45}.pokemon-capture-current{display:flex;align-items:flex-start;gap:10px;min-width:0}.pokemon-capture-portrait{border-radius:10px;background:#ffffff12}.pokemon-capture-body{min-width:0;flex:1;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:end;gap:6px}.pokemon-capture-title{grid-column:1 / -1;display:flex;justify-content:space-between;gap:8px}.pokemon-capture-title span{color:var(--ui-text-dim);font-size:11px;white-space:nowrap}.pokemon-capture-current-block{min-height:24px;padding:3px 7px;border:1px solid rgba(71,85,105,.72);border-radius:6px;background:#03070c5c;color:#cbd5e1;font-size:9px;cursor:pointer}.pokemon-capture-current-block.active{border-color:#f871719e;color:#fca5a5}.pokemon-capture-empty{min-height:54px;display:grid;place-items:center;color:var(--ui-text-dim);font-size:10px}.pokemon-capture-ball-picker{position:relative;align-self:stretch}.pokemon-capture-ball-button{width:34px;height:34px;min-width:34px;min-height:34px;display:grid;place-items:center;padding:0;border:1px solid rgba(250,204,21,.38);border-radius:8px;background:#03070c6b;color:var(--ui-text);cursor:pointer}.pokemon-capture-ball-button:hover:not(:disabled),.pokemon-capture-ball-button:focus-visible{border-color:#facc15bf;background:#78350f3d}.pokemon-capture-ball-button:disabled{cursor:not-allowed;opacity:.45}.pokemon-capture-ball-button img{width:24px;height:24px;object-fit:contain;image-rendering:pixelated}.pokemon-capture-ball-menu{position:absolute;left:0;bottom:calc(100% + 6px);z-index:5;width:178px;max-height:190px;overflow-y:auto;padding:5px;border:1px solid rgba(250,204,21,.32);border-radius:9px;background:#0f172afa;box-shadow:0 12px 30px #00000085}.pokemon-capture-ball-menu button{width:100%;min-height:31px;display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:6px;padding:3px 6px;border:0;border-radius:7px;background:transparent;color:var(--ui-text);cursor:pointer;text-align:left}.pokemon-capture-ball-menu button:hover,.pokemon-capture-ball-menu button.active{background:#78350f57}.pokemon-capture-ball-menu img{width:22px;height:22px;object-fit:contain;image-rendering:pixelated}.pokemon-capture-ball-menu span{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.pokemon-capture-ball-menu b{color:#fde68a;font-size:9px}.pokemon-capture-throw{min-height:34px;display:flex;align-items:center;justify-content:center;gap:6px}.pokemon-capture-throw img{width:24px;height:24px;object-fit:contain}body.ui-mobile .pokemon-capture{top:calc(var(--hud-height) + 6px + env(safe-area-inset-top));left:50%;right:auto;bottom:auto;z-index:110;width:min(244px,42%);gap:6px;padding:7px;transform:translate(-50%);border-radius:10px}body.ui-mobile .pokemon-capture-minimized{width:min(210px,38%)}body.ui-mobile .pokemon-capture-queue-head{gap:5px;font-size:11px}body.ui-mobile .pokemon-capture-queue-head>strong{flex:1}body.ui-mobile .pokemon-capture-queue-head>span:last-child{font-size:8px}body.ui-mobile .pokemon-capture-drag-handle{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}body.ui-mobile .pokemon-capture-drag-handle:active{cursor:grabbing}body.ui-mobile .pokemon-capture-drag-grip{display:inline-block;color:#94a3b8;font-size:14px;line-height:1}body.ui-mobile .pokemon-capture-targets{gap:4px;padding-bottom:1px}body.ui-mobile .pokemon-capture-auto{min-height:28px;gap:4px;padding:3px 5px}body.ui-mobile .pokemon-capture-auto strong{font-size:8px}body.ui-mobile .pokemon-capture-auto small{display:none}body.ui-mobile .pokemon-capture-block-tools{min-height:22px;gap:4px}body.ui-mobile .pokemon-capture-hide-blocked{gap:4px;font-size:7px}body.ui-mobile .pokemon-capture-target-wrap{flex-basis:88px}body.ui-mobile .pokemon-capture-target{grid-template-columns:30px minmax(0,1fr);grid-template-rows:16px 14px;padding:2px 20px 2px 4px;gap:0 3px;border-radius:7px}body.ui-mobile .pokemon-capture-target-name,body.ui-mobile .pokemon-capture-target-time{font-size:8px}body.ui-mobile .pokemon-capture-dismiss{top:2px;right:2px;width:16px;height:16px;font-size:13px;line-height:16px}body.ui-mobile .pokemon-capture-block{right:2px;bottom:2px;width:16px;height:14px}body.ui-mobile .pokemon-capture-current{align-items:center;gap:6px}body.ui-mobile .pokemon-capture-portrait{border-radius:8px}body.ui-mobile .pokemon-capture-body{grid-template-columns:auto minmax(0,1fr);gap:4px 5px}body.ui-mobile .pokemon-capture-title{grid-column:1 / -1;gap:5px}body.ui-mobile .pokemon-capture-title>strong{font-size:10px}body.ui-mobile .pokemon-capture-title span{font-size:8px}body.ui-mobile .pokemon-capture-current-block{min-height:20px;padding:2px 5px;font-size:7px}body.ui-mobile .pokemon-capture-ball-button{width:30px;height:30px;min-width:30px;min-height:30px}body.ui-mobile .pokemon-capture-ball-button img{width:20px;height:20px}body.ui-mobile .pokemon-capture-ball-menu{width:154px;max-height:145px}body.ui-mobile .pokemon-capture-throw{grid-column:2;min-height:30px;padding:2px 8px;gap:4px;font-size:9px}body.ui-mobile .pokemon-capture-throw img{width:20px;height:20px}body.ui-mobile .pokemon-capture-body>.small{grid-column:1 / -1;font-size:8px}.wallet-tabs{margin-bottom:8px}.wallet-balances{display:flex;gap:10px}.wallet-bal{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:14px 8px;border:1px solid var(--ui-border);border-radius:10px;background:#ffffff05}.wallet-bal-sym{font-size:12px;font-weight:700;letter-spacing:.5px}.wallet-bal-sym.eth{color:#a5b4fc}.wallet-bal-val{font-size:20px;font-weight:700}.wallet-field{display:flex;flex-direction:column;gap:4px;margin:8px 0}.wallet-quote{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border:1px solid var(--ui-border);border-radius:8px;background:#ffffff05;margin:6px 0}.wallet-swap-head{display:flex;align-items:center;justify-content:space-between}.wallet-cta{width:100%;padding:12px;margin-top:6px}.wallet-to{margin:8px 0;font-size:13px}.wallet-confirm-actions{gap:8px;margin-top:6px}.wallet-confirm-actions .btn{flex:1}.wallet-address{display:flex;align-items:center;gap:8px;word-break:break-all}.wallet-address-text{flex:1;font-family:monospace;font-size:13px}.wallet-copy{flex-shrink:0;white-space:nowrap}.potion-pick{display:flex;align-items:center;gap:6px}.potion-pick img{image-rendering:pixelated;flex:none}.purchase-confirm{width:min(360px,100%);gap:12px}.purchase-head{display:flex;align-items:center;gap:10px}.purchase-head img{width:42px;height:42px;image-rendering:pixelated;flex:none}.purchase-head-text{display:flex;flex-direction:column;gap:2px}.purchase-lines{display:flex;flex-direction:column;gap:5px;padding:10px;background:var(--ui-panel-2);border:1px solid var(--ui-border);border-radius:8px}.purchase-line{display:flex;justify-content:space-between;gap:12px}.purchase-line.strong{font-weight:700;border-top:1px solid var(--ui-border);padding-top:7px;margin-top:2px}.wallet-seed{display:flex;flex-direction:column;gap:6px}.wallet-seed-phrase{display:block;font-family:monospace;font-size:13px;line-height:1.5;padding:8px;background:#00000059;border-radius:6px;word-spacing:3px;-webkit-user-select:all;user-select:all}.purchase-alt{width:100%;border-color:var(--ui-accent)}.pokemon-team-bar{pointer-events:auto;display:flex;align-items:flex-end;gap:6px;padding:6px;border:1px solid rgba(59,130,246,.28);border-radius:13px;background:linear-gradient(180deg,#0d1622f0,#070c14f0);box-shadow:0 8px 24px #00000057}.pokemon-team-slot{position:relative;width:54px;height:58px;flex:0 0 54px;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:3px 3px 8px;border:2px solid rgba(71,85,105,.92);border-radius:10px;background:radial-gradient(circle at 50% 25%,rgba(37,99,235,.16),transparent 58%),#0c121d;color:#e5edf8;cursor:pointer;touch-action:manipulation;transition:border-color .12s,filter .12s,transform 80ms,box-shadow .12s}.pokemon-team-slot:hover:not(:disabled):not([aria-disabled=true]){border-color:#60a5fa;filter:brightness(1.12)}.pokemon-team-slot:active:not(:disabled):not([aria-disabled=true]){transform:translateY(1px) scale(.98)}.pokemon-team-slot:disabled,.pokemon-team-slot[aria-disabled=true]{opacity:1;cursor:default}.pokemon-team-slot-active{border-color:#fbbf24;background:radial-gradient(circle at 50% 25%,rgba(251,191,36,.28),transparent 62%),#17130b;box-shadow:0 0 0 1px #fbbf2440,0 0 15px #f59e0b33}.pokemon-team-slot-fainted{border-color:#7f1d1de6;background:#160b0e}.pokemon-team-slot-fainted .pokemon-team-portrait{filter:grayscale(1) brightness(.42)}.pokemon-team-slot-pending{border-color:#93c5fd}.pokemon-team-slot-switch-cooling{border-color:#475569b8}.pokemon-team-slot-switch-cooling .pokemon-team-portrait{filter:grayscale(.45) brightness(.62)}.pokemon-team-slot-empty{color:#526074;border-style:dashed;background:#070c14c2}.pokemon-team-key{position:absolute;z-index:3;left:3px;top:2px;color:#94a3b8;font-size:8px;font-weight:800;line-height:1;text-shadow:0 1px 2px #000}.pokemon-team-portrait-wrap{position:relative;width:42px;height:42px;display:grid;place-items:center}.pokemon-team-portrait{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;image-rendering:pixelated;pointer-events:none}.pokemon-team-fallback{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#64748b;font-size:17px;font-weight:800}.pokemon-team-level{position:absolute;z-index:3;right:3px;top:2px;color:#e2e8f0;font-size:7px;font-weight:700;text-shadow:0 1px 2px #000}.pokemon-team-hp-track{position:absolute;z-index:3;left:4px;right:4px;bottom:3px;height:4px;overflow:hidden;border:1px solid rgba(0,0,0,.8);border-radius:4px;background:#3f1117}.pokemon-team-hp-fill{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#16a34a,#4ade80)}.pokemon-team-fainted-mark{position:absolute;z-index:4;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#fecaca;font-size:11px;font-weight:900;letter-spacing:.08em;text-shadow:0 2px 4px #000}.pokemon-team-spinner{position:absolute;z-index:5;width:22px;height:22px;border:3px solid rgba(219,234,254,.28);border-top-color:#dbeafe;border-radius:50%;animation:pokemon-team-spin .65s linear infinite}@keyframes pokemon-team-spin{to{transform:rotate(360deg)}}.pokemon-team-switch-cooldown{pointer-events:none;position:absolute;z-index:4;top:0;right:0;bottom:0;left:0;display:grid;place-items:center}.pokemon-team-switch-cooldown>b{padding:2px 4px;border-radius:4px;background:#020617d1;color:#e2e8f0;font-size:10px;line-height:1;text-shadow:0 1px 2px #000}.pokemon-team-switch-cooldown>span{position:absolute;right:4px;bottom:10px;left:4px;height:3px;overflow:hidden;border-radius:2px;background:#0f172aeb}.pokemon-team-switch-cooldown i{display:block;height:100%;border-radius:inherit;background:#60a5fa;transition:width .09s linear}.pokemon-team-empty-mark{font-size:19px}.pokemon-team-config-open{width:30px;height:30px;flex:0 0 30px;margin:0 1px 14px 0;display:grid;place-items:center;border:1px solid #334155;border-radius:50%;background:#111827;color:#94a3b8;font-size:14px;cursor:pointer}.pokemon-team-config-open:hover:not(:disabled){border-color:#fbbf24;color:#fbbf24}.pokemon-team-config-open:disabled{opacity:.4;cursor:default}.pokemon-config-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:88;pointer-events:auto;display:flex;align-items:center;justify-content:center;padding:18px;background:#02060cd1;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.pokemon-config-modal{width:min(850px,calc(100vw - 24px));max-height:min(760px,calc(100vh - 30px));display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(96,165,250,.4);border-radius:18px;background:linear-gradient(155deg,#131d2cfe,#070c15fe);box-shadow:0 28px 90px #000000c7,inset 0 1px #ffffff0a;color:#e2e8f0;animation:pokemon-config-enter .15s ease-out}@keyframes pokemon-config-enter{0%{opacity:.45;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.pokemon-config-header{min-height:66px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid rgba(96,165,250,.18);background:#0f172abf}.pokemon-config-header h2{margin:1px 0 0;font-size:20px}.pokemon-config-eyebrow{color:#60a5fa;font-size:9px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.pokemon-config-close{width:38px;height:38px;flex:0 0 38px;border:1px solid #334155;border-radius:10px;background:#0f172ad9;color:#94a3b8;cursor:pointer}.pokemon-config-close:hover{border-color:#f87171;color:#fecaca}.pokemon-config-members{padding:8px 12px;display:grid;grid-template-columns:repeat(6,minmax(76px,1fr));gap:7px;overflow-x:auto;border-bottom:1px solid rgba(148,163,184,.13);background:#040911ad}.pokemon-config-member{position:relative;min-width:76px;min-height:68px;padding:5px;display:grid;grid-template-columns:34px 1fr;grid-template-rows:1fr auto;align-items:center;gap:1px 5px;border:1px solid #2b394e;border-radius:10px;background:#0f172ac7;text-align:left;cursor:pointer}.pokemon-config-member:hover{border-color:#60a5fa}.pokemon-config-member-active{border-color:#fbbf24;background:#78350f33}.pokemon-config-member>span{position:absolute;left:3px;top:2px;color:#64748b;font-size:8px}.pokemon-config-member img{grid-row:1 / 3;width:34px;height:34px;object-fit:contain;image-rendering:pixelated}.pokemon-config-member strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.pokemon-config-member small{color:#94a3b8;font-size:8px}.pokemon-config-scroll{min-height:0;padding:14px;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.85fr);align-items:start;gap:12px;overflow:auto;overscroll-behavior:contain}.pokemon-config-section{min-width:0;display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid rgba(71,85,105,.75);border-radius:13px;background:#080e18c2}.pokemon-config-automation{grid-column:1 / -1}.pokemon-config-automation .setting-row{margin:0}.pokemon-config-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.pokemon-config-section-head h3{margin:0;font-size:14px}.pokemon-config-section-head p{margin:2px 0 0;color:#94a3b8;font-size:10px;line-height:1.4}.pokemon-config-section-head>strong{color:#fbbf24;font-size:11px;white-space:nowrap}.pokemon-config-active-moves{min-height:38px;display:flex;flex-wrap:wrap;gap:5px}.pokemon-config-active-move{min-width:118px;flex:1 1 118px;min-height:38px;display:grid;grid-template-columns:25px minmax(0,1fr) 22px 22px;align-items:center;gap:4px;padding:4px;border:1px solid rgba(251,191,36,.35);border-radius:8px;background:#78350f29}.pokemon-config-active-move>img{width:25px;height:25px;object-fit:contain;image-rendering:pixelated}.pokemon-config-active-move>span:not(.pokemon-config-move-order){overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.pokemon-config-active-move>button{width:22px;height:24px;border:1px solid #374151;border-radius:5px;color:#cbd5e1;cursor:pointer}.pokemon-config-active-move>button:hover:not(:disabled){border-color:#60a5fa}.pokemon-config-active-move>button:disabled{opacity:.25;cursor:default}.pokemon-config-move-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:6px;max-height:290px;overflow-y:auto;overscroll-behavior:contain}.pokemon-config-move{position:relative;min-height:78px;padding:7px 5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid #2d3a4f;border-radius:9px;background:#0f172ab8;color:#e2e8f0;cursor:pointer}.pokemon-config-move:hover:not(:disabled){border-color:#60a5fa}.pokemon-config-move:disabled{opacity:.38;cursor:default}.pokemon-config-move-selected{border-color:#fbbf24;background:#78350f33}.pokemon-config-move img{width:32px;height:32px;object-fit:contain;image-rendering:pixelated}.pokemon-config-move strong{max-width:100%;overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.pokemon-config-move small{color:#94a3b8;font-size:8px;text-transform:capitalize}.pokemon-config-move-order{color:#fbbf24;font-size:8px;font-weight:900}.pokemon-config-move>.pokemon-config-move-order{position:absolute;left:4px;top:3px}.pokemon-config-potion-fields{display:grid;gap:8px}.pokemon-config-potion-fields label{display:flex;flex-direction:column;gap:4px;color:#94a3b8;font-size:9px}.pokemon-config-potion-fields select{width:100%;min-height:36px;padding:5px 8px;border:1px solid #334155;border-radius:8px;background:#0b1220;color:#e2e8f0}.pokemon-config-potion-grid{display:flex;flex-direction:column;gap:5px;max-height:220px;overflow-y:auto}.pokemon-config-potion-grid>button{min-height:45px;padding:5px 7px;display:flex;align-items:center;gap:8px;border:1px solid #2d3a4f;border-radius:8px;background:#0f172ab3;text-align:left;cursor:pointer}.pokemon-config-potion-grid>button:hover{border-color:#60a5fa}.pokemon-config-potion-grid>.pokemon-config-potion-selected{border-color:#fbbf24;background:#78350f2e}.pokemon-config-potion-grid img{width:32px;height:32px;flex:none;image-rendering:pixelated}.pokemon-config-potion-grid span{min-width:0;display:flex;flex-direction:column}.pokemon-config-potion-grid strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.pokemon-config-potion-grid small{color:#94a3b8;font-size:8px}.pokemon-config-empty{margin:auto;padding:10px;color:#64748b;font-size:10px;text-align:center}.pokemon-config-actions{min-height:34px;display:flex;align-items:center;justify-content:flex-end;gap:8px}.pokemon-config-actions>span{color:#4ade80;font-size:9px}.pokemon-config-actions>button{min-height:34px;padding:5px 12px;border:1px solid rgba(251,191,36,.52);border-radius:8px;background:linear-gradient(135deg,#d97706,#92400e);color:#fff7df;font-size:10px;font-weight:800;cursor:pointer}.pokemon-move-bar{pointer-events:auto;position:relative;display:flex;gap:5px;padding:6px;border:1px solid rgba(96,165,250,.2);border-radius:12px;background:#070c14e6}.pokemon-move-bar-arena{border-color:#38bdf86b;background:linear-gradient(180deg,#0a1525f5,#050a12f5);box-shadow:0 7px 24px #00000085,0 0 20px #2563eb1a}.pokemon-move-slot{position:relative;width:49px;height:55px;flex:0 0 49px;overflow:hidden;padding:5px 3px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #334155;border-radius:8px;background:radial-gradient(circle at 50% 30%,rgba(59,130,246,.14),transparent 62%),#0b1220;color:#cbd5e1}.pokemon-move-slot:disabled{opacity:1;cursor:not-allowed}.pokemon-move-slot-arena:not(:disabled){border-color:#60a5faa6;cursor:pointer;filter:saturate(1.08)}.pokemon-move-slot-arena:not(:disabled):hover,.pokemon-move-slot-arena:not(:disabled):focus-visible{border-color:#7dd3fc;outline:none;box-shadow:0 0 0 2px #38bdf82e,0 0 14px #0ea5e947;transform:translateY(-1px)}.pokemon-move-slot-arena:active:not(:disabled){transform:translateY(1px)}.pokemon-move-slot-empty{border-style:dashed;background:#070c14a6;color:#475569}.pokemon-move-icon{position:relative;z-index:1;width:27px;height:27px;object-fit:contain;image-rendering:pixelated;filter:saturate(.72)}.pokemon-move-slot-arena .pokemon-move-icon{filter:none}.pokemon-move-key{position:absolute;z-index:4;left:3px;top:2px;color:#94a3b8;font-size:7px;font-weight:800}.pokemon-move-name{position:relative;z-index:4;width:100%;overflow:hidden;color:#cbd5e1;font-size:7px;line-height:1.1;text-align:center;text-overflow:ellipsis;white-space:nowrap}.pokemon-move-cooldown-label{position:absolute;z-index:4;right:2px;bottom:1px;color:#93c5fd;font-size:7px;font-weight:700;text-shadow:0 1px 2px #000}.pokemon-move-energy{position:absolute;z-index:4;right:2px;bottom:1px;color:#67e8f9;font-size:7px;font-weight:700;text-shadow:0 1px 2px #000}.pokemon-move-energy.is-empty{color:#fb7185}.pokemon-move-lock{position:absolute;z-index:4;right:3px;top:2px;color:#64748b;font-size:6px}.pokemon-move-cd-progress{pointer-events:none;position:absolute;z-index:5;right:3px;bottom:2px;left:3px;height:4px;overflow:hidden;border:1px solid rgba(2,6,23,.9);border-radius:3px;background:#0f172ae6}.pokemon-move-cd-progress>span{display:block;height:100%;border-radius:inherit;background:#38bdf8;transition:width .09s linear}.pokemon-move-cd-text{pointer-events:none;position:absolute;z-index:5;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#fff;font-size:15px;font-weight:900;text-shadow:0 2px 4px #000}.pokemon-move-locked,.pokemon-move-unimplemented,.pokemon-move-preparing,.pokemon-move-disconnected,.pokemon-move-dead,.pokemon-move-stunned,.pokemon-move-silenced,.pokemon-move-target,.pokemon-move-target-dead{border-color:#64748b6b}.pokemon-move-locked .pokemon-move-icon,.pokemon-move-unimplemented .pokemon-move-icon,.pokemon-move-preparing .pokemon-move-icon,.pokemon-move-disconnected .pokemon-move-icon,.pokemon-move-dead .pokemon-move-icon,.pokemon-move-stunned .pokemon-move-icon,.pokemon-move-silenced .pokemon-move-icon{filter:grayscale(.9) brightness(.58)}.pokemon-move-stunned .pokemon-move-lock,.pokemon-move-silenced .pokemon-move-lock,.pokemon-move-dead .pokemon-move-lock{color:#fb7185;font-size:12px}.pokemon-move-empty-mark{font-size:16px}.pokemon-move-coming-soon{position:absolute;left:50%;top:-15px;transform:translate(-50%);color:#64748b;font-size:8px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}.pokemon-move-arc .pokemon-move-slot{pointer-events:auto;position:absolute;z-index:1;border-radius:50%;padding:0;background:radial-gradient(circle at 50% 28%,rgba(59,130,246,.2),transparent 66%),#090f19f0;box-shadow:0 4px 12px #00000073,inset 0 1px #ffffff0f}.pokemon-move-slot-round .pokemon-move-icon{width:66%;height:66%}.pokemon-move-slot-round .pokemon-move-key{left:4px;top:3px;transform:none;color:#e2e8f0;font-size:8px;text-shadow:0 1px 2px #000}.pokemon-move-slot-round .pokemon-move-name{display:none}.pokemon-move-slot-round .pokemon-move-cooldown-label{right:3px;bottom:2px;transform:none;font-size:8px}.pokemon-move-slot-round .pokemon-move-energy{right:3px;bottom:2px;font-size:8px}.pokemon-move-slot-round .pokemon-move-lock{right:3px;top:2px;font-size:7px}.pokemon-move-slot-round .pokemon-move-cd-progress{right:8px;bottom:5px;left:8px;height:4px}.pokemon-move-slot-round .pokemon-move-cd-text{font-size:12px}body.ui-mobile .pokemon-team-bar{gap:4px;padding:4px;border-radius:10px}body.ui-mobile .pokemon-team-slot{width:38px;height:42px;flex-basis:38px;padding:2px 2px 6px;border-width:1px;border-radius:7px}body.ui-mobile .pokemon-team-portrait-wrap{width:31px;height:31px}body.ui-mobile .pokemon-team-key{font-size:6px}body.ui-mobile .pokemon-team-fav{font-size:7px}body.ui-mobile .pokemon-fav{font-size:15px}body.ui-mobile .pokemon-fav-corner{top:0;right:1px;padding:2px 4px}body.ui-mobile .pokemon-team-level{font-size:6px}body.ui-mobile .pokemon-team-hp-track{left:3px;right:3px;bottom:2px;height:3px}body.ui-mobile .pokemon-team-fainted-mark{font-size:9px}body.ui-mobile .pokemon-team-spinner{width:17px;height:17px;border-width:2px}body.ui-mobile .pokemon-team-config-open{width:27px;height:27px;flex-basis:27px;margin-bottom:7px;font-size:12px}body.ui-mobile .pokemon-config-backdrop{padding:7px}body.ui-mobile .pokemon-config-modal{width:calc(100% - 4px);max-height:calc(100% - 4px);border-radius:13px}body.ui-mobile .pokemon-config-header{min-height:48px;padding:6px 10px}body.ui-mobile .pokemon-config-header h2{font-size:15px}body.ui-mobile .pokemon-config-close{width:38px;height:38px}body.ui-mobile .pokemon-config-members{grid-template-columns:repeat(6,minmax(66px,1fr));padding:5px 7px;gap:4px}body.ui-mobile .pokemon-config-member{min-width:66px;min-height:53px;grid-template-columns:27px 1fr}body.ui-mobile .pokemon-config-member img{width:27px;height:27px}body.ui-mobile .pokemon-config-scroll{padding:7px;grid-template-columns:minmax(0,1.4fr) minmax(210px,.8fr);gap:7px}body.ui-mobile .pokemon-config-section{padding:8px;gap:7px}body.ui-mobile .pokemon-config-move-grid{max-height:150px;grid-template-columns:repeat(auto-fill,minmax(84px,1fr))}body.ui-mobile .pokemon-config-move{min-height:62px;padding:4px}body.ui-mobile .pokemon-config-move img{width:25px;height:25px}body.ui-mobile .pokemon-config-active-move{min-width:105px;min-height:32px}body.ui-mobile .pokemon-config-potion-grid{max-height:120px}body.ui-mobile .pokemon-config-potion-grid>button{min-height:38px}body.ui-mobile .pokemon-config-potion-grid img{width:27px;height:27px}@media (max-width: 660px){.pokemon-config-scroll{grid-template-columns:1fr}.pokemon-config-members{grid-template-columns:repeat(6,76px)}}.pc-panel{display:flex;flex-direction:column;gap:12px;padding:4px}.pc-intro{margin:0;color:#94a3b8;font-size:11px;line-height:1.4}.pc-section{display:flex;flex-direction:column;gap:8px}.pc-section-head{display:flex;align-items:baseline;justify-content:space-between;border-bottom:1px solid rgba(148,163,184,.2);padding-bottom:4px}.pc-section-head h3{margin:0;font-size:12px;color:#e2e8f0}.pc-section-head span{color:#64748b;font-size:10px}.pc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.pc-box-grid{max-height:min(42vh,430px);overflow-y:auto;padding-right:3px}.pc-card{position:relative;display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:8px;padding:6px;border:1px solid rgba(148,163,184,.18);border-radius:8px;background:#0f172a80}.pc-portrait-wrap{position:relative;width:40px;height:40px;display:grid;place-items:center}.pc-fallback{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#475569;font-weight:700;font-size:16px}.pc-portrait{position:relative;width:40px;height:40px;object-fit:contain;image-rendering:pixelated}.pc-info{display:flex;flex-direction:column;min-width:0}.pc-info strong{font-size:11px;color:#e2e8f0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pc-info strong.pc-name-row{display:flex;align-items:center;gap:4px;white-space:normal}.pc-name-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pc-name-shiny,.pc-modal-head h2.pc-name-shiny{color:#c084fc;text-shadow:0 0 6px rgba(168,85,247,.65)}.pc-info small{font-size:9px;color:#94a3b8}.pc-action{padding:4px 8px;font-size:10px;border:1px solid #60a5fa;border-radius:6px;background:#2563eb26;color:#bfdbfe;cursor:pointer}.pc-action:hover:not(:disabled){background:#2563eb4d}.pc-action:disabled{opacity:.4;cursor:not-allowed;border-color:#94a3b84d;color:#64748b}.pc-empty{margin:0;padding:10px;color:#64748b;font-size:10px;text-align:center}.pc-warning{margin:0 0 8px;padding:7px 9px;border:1px solid rgba(248,113,113,.4);border-radius:8px;background:#7f1d1d33;color:#fecaca;font-size:11px}.pc-card{cursor:pointer;text-align:left;font:inherit}.pc-card:hover{border-color:#60a5fa99}.pc-rarity-tag{font-weight:700}.pc-card-fainted{border-color:#7f1d1de6;background:#160b0e}.pc-portrait-fainted{filter:grayscale(1) brightness(.42)}.offline-summary-modal{width:min(380px,96vw)}.offline-summary-head{display:flex;flex-direction:column;gap:4px}.offline-summary-head h2{margin:0;font-size:16px;color:#e2e8f0}.offline-summary-body{display:flex;flex-direction:column;gap:10px}.offline-summary-stats{display:flex;gap:10px;flex-wrap:wrap}.offline-summary-stat{flex:1;min-width:90px;display:flex;flex-direction:column;gap:2px;padding:8px 10px;background:#131b2794;border:1px solid rgba(148,163,184,.15);border-radius:8px}.offline-summary-stat strong{font-size:15px}.offline-summary-loot{display:flex;flex-wrap:wrap;gap:6px}.pc-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;background:#020617b3;padding:16px}.pc-modal{width:min(420px,96vw);max-height:90vh;overflow-y:auto;background:#0f172a;border:1px solid rgba(148,163,184,.25);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:12px}.pc-modal-head{display:grid;grid-template-columns:56px 1fr auto;align-items:center;gap:10px}.pc-modal-portrait{width:56px;height:56px;object-fit:contain;image-rendering:pixelated}.pc-modal-head h2{margin:0;font-size:15px;color:#e2e8f0}.pc-modal-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:4px;font-size:10px;color:#94a3b8;align-items:center}.pc-rarity-badge{padding:1px 7px;border:1px solid;border-radius:999px;font-weight:700}.pc-type-tag{padding:1px 6px;border-radius:4px;background:#94a3b826;text-transform:capitalize}.pc-modal-close{align-self:start;background:none;border:none;color:#94a3b8;font-size:16px;cursor:pointer}.pc-stats{display:flex;flex-direction:column;gap:3px;border:1px solid rgba(148,163,184,.15);border-radius:8px;padding:8px}.pc-stat-row{display:flex;justify-content:space-between;align-items:baseline;font-size:12px}.pc-stat-label{color:#94a3b8}.pc-stat-value{color:#e2e8f0;font-variant-numeric:tabular-nums}.pc-stat-bonus{font-style:normal;font-weight:700}.pc-stat-value b{margin-left:4px;color:#f1f5f9}.pc-stat-nature{border-top:1px solid rgba(148,163,184,.15);margin-top:4px;padding-top:6px;text-transform:capitalize}.pc-genetics{display:flex;flex-direction:column;gap:9px}.pc-genetics-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 10px;padding:9px 10px;border:1px solid rgba(96,165,250,.22);border-radius:9px;background:#0f172a9e}.pc-genetics-summary>div{display:flex;flex-direction:column;gap:1px}.pc-genetics-summary strong{font-size:13px}.pc-genetics-summary>b{grid-row:1 / 3;grid-column:2;font-size:18px}.pc-genetics-summary>small{color:#64748b;font-size:9px}.pc-genetics-columns{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pc-genetics-columns>section{min-width:0;padding:8px;display:flex;flex-direction:column;gap:5px;border:1px solid rgba(148,163,184,.14);border-radius:8px;background:#02061757}.pc-genetics-columns header{display:flex;align-items:baseline;justify-content:space-between;gap:5px}.pc-genetics-columns header strong{color:#e2e8f0;font-size:11px}.pc-genetics-columns header span{color:#64748b;font-size:7px;text-align:right}.pc-training-row{display:grid;grid-template-columns:51px minmax(24px,1fr) 35px;align-items:center;gap:5px;color:#94a3b8;font-size:8px}.pc-training-row>div{height:4px;overflow:hidden;border-radius:4px;background:#1e293b}.pc-training-row>div>i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#60a5fa)}.pc-training-row>b{color:#cbd5e1;font-size:8px;text-align:right}.pc-ev-row>div>i{background:linear-gradient(90deg,#15803d,#4ade80)}.pc-evolutions{display:flex;flex-direction:column;gap:7px}.pc-evolutions>header{display:flex;flex-direction:column;gap:1px}.pc-evolutions>header strong{color:#e2e8f0;font-size:11px}.pc-evolutions>header span{color:#64748b;font-size:8px}.pc-evolution-list{display:flex;flex-direction:column;gap:6px}.pc-evolution-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) auto;align-items:center;gap:8px;padding:7px;border:1px solid rgba(251,191,36,.2);border-radius:8px;background:#78350f1a}.pc-evolution-target,.pc-evolution-stone{min-width:0;display:flex;align-items:center;gap:6px}.pc-evolution-target>img{width:34px;height:34px;object-fit:contain;image-rendering:pixelated}.pc-evolution-stone>img{width:28px;height:28px;object-fit:contain;image-rendering:pixelated}.pc-evolution-target>span,.pc-evolution-stone>span{min-width:0;display:flex;flex-direction:column}.pc-evolution-target strong,.pc-evolution-stone strong{overflow:hidden;color:#e2e8f0;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.pc-evolution-target small,.pc-evolution-stone small{font-size:8px}.pc-btn-evolve{padding:6px 9px;border:1px solid #f59e0b;border-radius:6px;background:#f59e0b29;color:#fde68a;font-size:9px;cursor:pointer}.pc-btn-evolve:hover:not(:disabled){background:#f59e0b4d}.pc-btn-evolve:disabled{opacity:.42;cursor:not-allowed}.pc-evolution-confirm{grid-column:1 / -1;line-height:1.35}.pc-modal-actions{display:flex;flex-wrap:wrap;gap:8px}.pc-modal-actions>button{padding:7px 12px;font-size:11px;border:1px solid #60a5fa;border-radius:7px;background:#2563eb26;color:#bfdbfe;cursor:pointer}.pc-modal-actions>button:hover:not(:disabled){background:#2563eb4d}.pc-modal-actions>button:disabled{opacity:.4;cursor:not-allowed}.pc-btn-sell{border-color:#a78bfa!important;color:#ddd6fe!important;background:#7c3aed21!important}.pc-btn-sell:hover:not(:disabled){background:#7c3aed45!important}.pc-btn-danger{border-color:#ef4444!important;color:#fecaca!important;background:#ef44441f!important}.pc-btn-danger:hover:not(:disabled){background:#ef444440!important}.pc-btn-revive{border-color:#34d399!important;color:#bbf7d0!important;background:#10b98126!important}.pc-btn-revive:hover:not(:disabled){background:#10b9814d!important}.pc-confirm{display:flex;align-items:center;gap:8px;flex-wrap:wrap;width:100%;font-size:11px;color:#fecaca}.pc-confirm>button{padding:5px 10px;font-size:11px;border-radius:6px;cursor:pointer;border:1px solid rgba(148,163,184,.4);background:#1e293b99;color:#e2e8f0}.pc-rename-input{min-width:0;width:100%;padding:8px 10px;font-size:13px;border-radius:6px;border:1px solid rgba(148,163,184,.4);background:#0f172a99;color:#e2e8f0}.pc-namecolor-confirm{flex-wrap:wrap}.pc-namecolor-input{width:34px;height:26px;padding:0;border:1px solid rgba(148,163,184,.4);border-radius:6px;background:transparent;cursor:pointer}.pc-rename-hint{display:block;margin-top:4px;color:#94a3b8;font-size:10px}.namerater-head{grid-template-columns:1fr auto}.namerater-intro{margin:4px 0 0;color:#94a3b8;font-size:11px}.namerater-intro b{color:#fcd34d}.namerater-grid{max-height:55vh;overflow-y:auto;grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.namerater-form{display:flex;flex-direction:column}.namerater-actions{display:flex;gap:8px;margin-top:10px}.namerater-actions .pc-btn-evolve{flex:1}.pc-naming-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;padding:8px 10px;border-radius:8px;border:1px solid rgba(251,191,36,.35);background:#78350f2e;color:#f1f5f9;font-size:11px}.pc-naming-banner button{padding:5px 10px;font-size:11px;border-radius:6px;cursor:pointer;border:1px solid rgba(148,163,184,.4);background:#1e293b99;color:#e2e8f0}@media (max-width: 520px){.pc-genetics-columns{grid-template-columns:1fr}.pc-evolution-card{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}.pc-btn-evolve{grid-column:1 / -1}}.pokemon-config-active-move{grid-template-columns:25px minmax(0,1fr) 16px!important;cursor:grab}.pokemon-config-active-move:active{cursor:grabbing}.pokemon-config-active-move-dragging{opacity:.45}.pokemon-config-active-move-name{overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.pokemon-config-drag-handle{color:#475569;font-size:12px;text-align:center}.pokemon-config-potion-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:6px!important}.pc-potion-tile{position:relative;min-height:64px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:6px 4px!important;border:1px solid rgba(148,163,184,.2);border-radius:8px;background:#0f172a80;cursor:pointer}.pc-potion-tile img{width:28px;height:28px;object-fit:contain;image-rendering:pixelated}.pc-potion-tile small{font-size:8.5px;color:#cbd5e1;text-align:center;line-height:1.1;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pc-potion-qty{font-size:8px;color:#94a3b8;font-weight:700}.pc-potion-off{opacity:.4;filter:grayscale(.75)}.pc-potion-picked{border-color:#fbbf24;background:#78350f40}.pc-potion-check{position:absolute;top:2px;right:4px;color:#fbbf24;font-size:10px;font-weight:900}.pc-potion-auto-mark{font-size:13px;font-weight:900;color:#60a5fa}.pokemon-team-potion{position:absolute;bottom:0;right:0;display:flex;align-items:center;gap:1px;padding:0 2px 0 1px;border-radius:6px;background:#020617d9;border:1px solid rgba(251,191,36,.55);cursor:pointer;z-index:3}.pokemon-team-potion img{width:15px;height:15px;object-fit:contain;image-rendering:pixelated}.pokemon-team-potion b{font-size:8px;color:#fde68a}.pokemon-team-potion-empty{border-color:#94a3b866;filter:grayscale(.85);opacity:.75}.pokemon-team-potion-empty b{color:#94a3b8}.pokemon-team-potion-pop{position:absolute;bottom:130%;right:0;white-space:nowrap;padding:3px 6px;border-radius:5px;background:#0f172a;border:1px solid rgba(148,163,184,.3);color:#e2e8f0;font-size:9px;z-index:5}.shop-merchant-title{font-size:13px;font-weight:700;color:#fbbf24;padding:2px 2px 6px}.panel-shop .panel-body{min-height:0;overflow:hidden}.npc-shop{min-height:0;flex:1;display:flex;flex-direction:column;gap:10px}.npc-shop-tabs{flex:0 0 auto}.npc-shop-tabs .btn{position:relative}.npc-shop-tab-count{min-width:19px;padding:1px 5px;border-radius:999px;background:#94a3b81f;color:#94a3b8;font-size:9px;font-variant-numeric:tabular-nums}.npc-shop-tabs .btn-active .npc-shop-tab-count{background:#fbbf2424;color:#fde68a}.npc-shop-search{position:relative;flex:0 0 auto;display:flex}.npc-shop-search-input{width:100%;padding-right:30px}.npc-shop-search-input::-webkit-search-cancel-button{display:none}.npc-shop-search-clear{position:absolute;top:50%;right:6px;transform:translateY(-50%);width:20px;height:20px;padding:0;border:0;border-radius:50%;background:#94a3b82e;color:#cbd5e1;font-size:14px;line-height:1;cursor:pointer}.npc-shop-search-clear:hover{background:#94a3b852}.npc-shop-toolbar{min-height:38px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px}.npc-shop-balance{min-width:0;display:flex;align-items:baseline;gap:7px}.npc-shop-content{min-height:92px;flex:1 1 260px;overflow-y:auto;padding:2px 3px 8px 2px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.35) transparent}.npc-shop-content::-webkit-scrollbar{width:5px}.npc-shop-content::-webkit-scrollbar-thumb{border-radius:5px;background:#94a3b859}.npc-shop .npc-shop-grid{max-height:none;overflow:visible}.npc-shop-footer{flex:0 0 auto;display:grid;grid-template-columns:minmax(130px,1fr) auto;align-items:center;gap:10px 14px;padding:10px;border:1px solid rgba(251,191,36,.2);border-radius:10px;background:linear-gradient(145deg,#202631fa,#0c1017fc);box-shadow:0 -8px 22px #00000040,inset 0 1px #ffffff09}.npc-shop-selection{min-width:0;display:flex;flex-direction:column;gap:2px}.npc-shop-selection>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.npc-shop-checkout{display:flex;align-items:center;justify-content:flex-end;gap:10px}.npc-shop-qty-empty{min-width:132px;text-align:center}.npc-shop-total{min-width:112px;text-align:right;white-space:nowrap}.npc-shop-submit{min-width:116px}body.ui-mobile .npc-shop{gap:7px}body.ui-mobile .npc-shop-toolbar{min-height:32px}body.ui-mobile .npc-shop-footer{padding:7px 8px;gap:8px}body.ui-mobile .npc-shop-checkout{gap:7px}body.ui-mobile .npc-shop-submit{min-width:126px}.forge-cost-list{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:2px}.forge-cost-row{display:flex;align-items:center;gap:5px}.forge-cost-row img{width:20px;height:20px;image-rendering:pixelated}.forge-cost-name{font-size:11px;color:#cbd5e1}.forge-cost-qty{font-size:11px;font-variant-numeric:tabular-nums;color:#94a3b8}.forge-cost-short .forge-cost-qty{color:#f87171}.forge-cost-short .forge-cost-name{color:#fca5a5}.forge-create{display:flex;flex-direction:column;gap:12px}.forge-stage-tabs{flex:0 0 auto}.forge-slots{display:flex;flex-direction:column;gap:10px}.forge-slot{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border:1px solid rgba(148,163,184,.16);border-radius:10px;background:#14182199}.forge-slot-disabled{opacity:.55}.forge-bonus-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.forge-bonus-row img{width:24px;height:24px;image-rendering:pixelated}.forge-slot-locked{gap:0}.forge-loading-modal{align-items:center;text-align:center;gap:14px;padding:28px 24px}.forge-progress{width:100%;height:10px;border-radius:999px;overflow:hidden;background:#94a3b826;box-shadow:inset 0 1px #00000040}.forge-progress-bar{height:100%;width:0%;border-radius:999px;background:linear-gradient(90deg,var(--ui-accent),#fde68a);animation-name:forge-progress-fill;animation-timing-function:linear;animation-fill-mode:forwards}@keyframes forge-progress-fill{0%{width:0%}to{width:100%}}@media (prefers-reduced-motion: reduce){.forge-progress-bar{animation:none;width:100%}}.forge-reveal-modal{align-items:center;text-align:center;gap:10px;padding:20px}.forge-reveal-modal img{width:64px;height:64px;image-rendering:pixelated}.forge-reveal-modal h2{margin:0;font-size:18px}.forge-reveal-modal .tooltip-affinity-lines{width:100%}.streamer-alerts{position:fixed;top:calc(var(--hud-height) + 10px + env(safe-area-inset-top));left:50%;transform:translate(-50%);z-index:60;display:flex;flex-direction:column;align-items:center;gap:6px;pointer-events:none}.streamer-alert{display:inline-flex;align-items:center;gap:9px;padding:10px 20px;border:1px solid rgba(251,191,36,.5);border-radius:12px;background:linear-gradient(180deg,#1e180af5,#11141bf5);box-shadow:0 6px 24px #00000073,0 0 18px #fbbf2440;font-size:14px;color:#f1f5f9;white-space:nowrap;animation:streamer-alert-in .26s ease-out}.streamer-alert-out{animation:streamer-alert-out .28s ease-in forwards}.streamer-alert-queue{margin-left:4px;padding:1px 7px;border-radius:999px;background:#94a3b838;font-size:10px;font-weight:700;color:#cbd5e1}.streamer-alert-star{color:#fbbf24;font-size:18px;animation:streamer-alert-pop .9s ease-in-out infinite}.streamer-alert-amount{color:#fbbf24}@keyframes streamer-alert-in{0%{opacity:0;transform:translateY(-12px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes streamer-alert-out{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-10px) scale(.96)}}@keyframes streamer-alert-pop{0%,to{transform:scale(1)}50%{transform:scale(1.25)}}@media (prefers-reduced-motion: reduce){.streamer-alert,.streamer-alert-star{animation:none}}.streamer-volume{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.streamer-volume input[type=range]{flex:1 1 160px;min-width:120px;accent-color:var(--ui-accent)}.streamer-volume-icon{font-size:14px}.streamer-volume-value{font-variant-numeric:tabular-nums;font-size:11px;color:#94a3b8;min-width:34px}.streamer-panel{display:flex;flex-direction:column;gap:14px}.streamer-block{display:flex;flex-direction:column;gap:8px}.streamer-block>header{display:flex;flex-direction:column;gap:1px}.streamer-platforms{display:flex;flex-wrap:wrap;gap:8px}.streamer-platform{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 14px;font-family:monospace;font-weight:700;font-size:11px;letter-spacing:1px;background:#14182199}.streamer-platform.btn-active{background:#94a3b829}.streamer-star-value{color:#fbbf24;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.streamer-stars{flex-direction:column;align-items:center;gap:10px}.streamer-stars>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:1px}.streamer-stars-right{align-self:stretch;width:100%;flex-direction:row!important;align-items:baseline!important;justify-content:flex-end;gap:6px;text-align:right!important}.streamer-stars .streamer-star-value{font-size:52px;line-height:1.05}.streamer-star-rank{font-size:18px;color:var(--ui-text-dim, #94a3b8);margin-left:6px}.streamer-stars .streamer-pool-value{font-size:26px;line-height:1.15}.streamer-balance{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 10px;border:1px solid rgba(148,163,184,.16);border-radius:10px;background:#14182199}.streamer-gift-sent{font-size:11px;color:#4ade80;white-space:nowrap}.streamer-gift-screen{display:flex;flex-direction:column;gap:12px;min-height:0;flex:1}.streamer-gift-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:12px;padding-right:2px}.streamer-gift-head{display:flex;align-items:center;gap:10px;padding-bottom:8px;border-bottom:1px solid rgba(148,163,184,.15)}.mail-reward-outfit{display:inline-flex;align-items:center;gap:6px}.mail-reward-outfit img{width:26px;height:34px;object-fit:contain;image-rendering:pixelated}.mail-reward-boost{display:inline-flex;align-items:center;gap:6px;color:#86efac}.mail-reward-boost img{width:26px;height:26px;image-rendering:pixelated}.mail-reward-random{display:inline-flex;align-items:center;gap:6px;color:#f0abfc}.mail-reward-random img{width:26px;height:26px;image-rendering:pixelated}.pick-cell.locked{opacity:.45;cursor:not-allowed;filter:grayscale(.6)}.pick-locked{font-size:9px;line-height:1.2;color:#fca5a5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.streamer-gift-send{display:flex;flex-direction:column;gap:8px;padding-top:10px;border-top:1px solid rgba(148,163,184,.15)}.streamer-gift-send>header{display:flex;flex-direction:column;gap:1px}.streamer-gift-message{width:100%;resize:vertical;font-family:inherit}.streamer-gift-send-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.streamer-gift-group{display:flex;flex-direction:column;gap:6px}.streamer-gift-group-title{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#94a3b8;padding-bottom:4px;border-bottom:1px solid rgba(148,163,184,.15)}.streamer-gift-grid{max-height:none;overflow:visible;grid-template-columns:repeat(auto-fill,minmax(132px,1fr))}.streamer-gift-grid .pick-cell{padding:10px 8px 8px}.streamer-gift-grid .pick-name{overflow:visible;text-overflow:clip;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere;text-align:center}.streamer-gift-grid .pick-cell img{width:32px;height:32px;image-rendering:pixelated}.streamer-gift-grid .pick-cell img.streamer-gift-outfit{width:32px;height:42px;object-fit:contain}.streamer-row{width:100%;text-align:left;cursor:pointer;background:none;color:inherit}.streamer-row.selected{border-color:var(--ui-accent);box-shadow:0 0 0 1px var(--ui-accent) inset}.streamer-tag{font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:2px 8px;border:1px solid currentColor;border-radius:999px;white-space:nowrap}.hud-streamer-btn{font-size:15px;line-height:1;color:#fbbf24}.craft-list{display:flex;flex-direction:column;gap:8px}.craft-row{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:10px 12px;border:1px solid rgba(148,163,184,.16);border-radius:10px;background:#14182199;color:inherit;cursor:pointer}.craft-row:hover{border-color:#94a3b852}.craft-row.selected{border-color:var(--ui-accent);box-shadow:0 0 0 1px var(--ui-accent) inset}.craft-row-icon{width:32px;height:32px;image-rendering:pixelated;flex:0 0 auto}.craft-row-main{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1 1 auto}.craft-row-locked{opacity:.55}.craft-row-lock{flex:0 0 auto;font-size:10px;letter-spacing:.04em;text-transform:uppercase;color:#94a3b8;border:1px solid rgba(148,163,184,.24);border-radius:999px;padding:2px 8px}@media (max-width: 660px){.npc-shop-footer{grid-template-columns:1fr}.npc-shop-checkout{justify-content:space-between}}.pc-tabs{display:flex;gap:4px;padding:3px;border:1px solid rgba(148,163,184,.15);border-radius:9px;background:#03070c99}.pc-tabs button{flex:1;padding:6px 8px;border:none;border-radius:7px;background:transparent;color:#94a3b8;font:inherit;font-size:11px;cursor:pointer}.pc-tabs button:hover{color:#e2e8f0}.pc-tabs button.is-active{background:#2563eb38;color:#bfdbfe;font-weight:700}.breed-panel{display:flex;flex-direction:column;gap:12px}.breed-tiers{display:flex;flex-wrap:wrap;gap:5px}.breed-tier{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border:1px solid rgba(148,163,184,.18);border-radius:999px;background:#0f172a80;font-size:10px}.breed-tier i{color:#64748b;font-style:normal}.breed-group-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:6px}.breed-group{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:7px;padding:6px;border:1px solid rgba(148,163,184,.18);border-radius:8px;background:#0f172a80;cursor:pointer;text-align:left;font:inherit}.breed-group:hover{border-color:#60a5fa99}.breed-group.is-active{border-color:#60a5fa;background:#2563eb29}.breed-group.is-short{opacity:.6}.breed-group img{width:34px;height:34px;object-fit:contain;image-rendering:pixelated}.breed-group span{display:flex;flex-direction:column;min-width:0}.breed-group strong{font-size:11px;color:#e2e8f0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breed-group small{font-size:9px;font-weight:700}.breed-group b{font-size:11px;font-variant-numeric:tabular-nums}.breed-group b.good,.pc-section-head span.good{color:#4ade80}.breed-group b.bad{color:#f87171}.breed-actions{display:flex;flex-wrap:wrap;gap:6px}.breed-actions button{padding:5px 10px;font-size:10px;border:1px solid rgba(148,163,184,.3);border-radius:6px;background:#0f172a99;color:#cbd5e1;cursor:pointer}.breed-actions button:hover:not(:disabled){border-color:#60a5fa99;color:#e2e8f0}.breed-actions button:disabled{opacity:.4;cursor:not-allowed}.breed-btn-preview{border-color:#60a5fa!important;background:#2563eb33!important;color:#bfdbfe!important;font-weight:700}.breed-pick-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px;max-height:260px;overflow-y:auto;padding-right:2px}.breed-pick{position:relative;display:grid;grid-template-columns:30px 1fr;align-items:center;gap:6px;padding:5px;border:1px solid rgba(148,163,184,.18);border-radius:7px;background:#0f172a80;cursor:pointer;text-align:left;font:inherit}.breed-pick:hover:not(:disabled):not([aria-disabled=true]){border-color:#60a5fa99}.breed-pick:disabled,.breed-pick[aria-disabled=true]{opacity:.35;cursor:not-allowed}.breed-pick.is-picked{border-color:#4ade80;background:#16653447}.breed-pick img{width:30px;height:30px;object-fit:contain;image-rendering:pixelated}.breed-pick span{display:flex;flex-direction:column;min-width:0}.breed-pick strong{padding-right:12px;font-size:10px;color:#e2e8f0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breed-pick small{font-size:9px;color:#94a3b8}.breed-modal{width:min(520px,96vw)}.breed-warning{margin:0;padding:7px 9px;border:1px solid rgba(248,113,113,.4);border-radius:8px;background:#7f1d1d33;color:#fecaca;font-size:11px}.breed-sources{display:flex;flex-direction:column;gap:6px}.breed-sources>header{display:flex;align-items:baseline;justify-content:space-between}.breed-sources strong{font-size:11px;color:#e2e8f0}.breed-sources span{font-size:10px;color:#64748b}.breed-source-grid{display:flex;flex-wrap:wrap;gap:4px;max-height:120px;overflow-y:auto}.breed-source-chip{position:relative;display:flex;flex-direction:column;align-items:center;width:38px;padding:2px;border:1px solid rgba(148,163,184,.18);border-radius:6px;background:#0f172a80}.breed-source-chip img{width:26px;height:26px;object-fit:contain;image-rendering:pixelated}.breed-source-chip small{font-size:8px;color:#94a3b8}.breed-compare{display:grid;grid-template-columns:1fr 1fr;gap:8px}.breed-stat-card{display:flex;flex-direction:column;gap:2px;border:1px solid rgba(148,163,184,.15);border-radius:8px;padding:8px}.breed-stat-card>header{display:flex;align-items:baseline;justify-content:space-between;gap:5px;margin-bottom:3px}.breed-stat-card strong{font-size:11px;color:#e2e8f0}.breed-stat-card header span{font-size:8px;color:#64748b;text-align:right}.breed-stat-row{display:flex;justify-content:space-between;align-items:baseline;font-size:11px}.breed-stat-row span{color:#94a3b8}.breed-stat-row b{color:#f1f5f9;font-variant-numeric:tabular-nums}.breed-note{margin:0;color:#94a3b8;font-size:10px;line-height:1.45}.breed-note b{color:#e2e8f0;text-transform:capitalize}.breed-btn-confirm{padding:6px 12px;border:1px solid #4ade80;border-radius:6px;background:#16653459;color:#bbf7d0;font-weight:700;cursor:pointer}.breed-btn-confirm:disabled{opacity:.4;cursor:not-allowed}.breed-pending-card{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid rgba(148,163,184,.18);border-radius:10px;background:#0f172a80}.breed-pending-portrait{width:56px;height:56px;object-fit:contain;image-rendering:pixelated;flex-shrink:0}.breed-pending-info{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.breed-pending-info strong{font-size:13px}.breed-progress-track{height:8px;border-radius:999px;background:#03070c80;overflow:hidden}.breed-progress-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#f59e0b,#fbbf24);transition:width 1s linear}.breed-pending-actions{display:flex;flex-wrap:wrap;gap:8px}.breed-pending-actions button:not(.breed-btn-confirm){padding:6px 12px;border:1px solid #38bdf8;border-radius:6px;background:#0e749047;color:#bae6fd;font-weight:700;cursor:pointer}.breed-pending-actions button:not(.breed-btn-confirm):disabled{opacity:.4;cursor:not-allowed}@media (max-width: 560px){.breed-compare{grid-template-columns:1fr}}.pc-boost-badge{padding:1px 7px;border:1px solid #fb923c;border-radius:999px;color:#fdba74;font-weight:700}.pc-shiny-badge{padding:1px 7px;border:1px solid #fbbf24;border-radius:999px;color:#fde68a;font-weight:700}.pc-boost-tag,.boost-badge{margin-left:4px;padding:0 4px;border-radius:4px;background:#f9731638;color:#fdba74;font-style:normal;font-weight:700;font-size:9px}.pc-stat-boost{color:#fdba74}.pc-stat-shiny{color:#c084fc}.pc-stat-affinity{color:#22d3ee}.pc-stat-rank{color:#b08968}.pc-stat-legend{display:flex;flex-wrap:wrap;gap:4px 12px;padding-top:6px;border-top:1px solid rgba(148,163,184,.15);font-size:10px;color:#94a3b8}.pc-stat-legend span{display:inline-flex;align-items:center;gap:4px}.pc-stat-legend i{font-style:normal;font-size:8px;line-height:1}.boost-panel{display:flex;flex-direction:column;gap:12px}.boost-ladder{display:flex;flex-direction:column;gap:6px}.boost-ladder>header{display:flex;flex-direction:column;gap:1px}.boost-ladder strong{font-size:11px;color:#e2e8f0}.boost-ladder span{font-size:9px;color:#64748b}.boost-ladder-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(52px,1fr));gap:4px}.boost-rung{display:flex;flex-direction:column;align-items:center;gap:1px;padding:4px 2px;border:1px solid rgba(148,163,184,.18);border-radius:6px;background:#0f172a80}.boost-rung.is-risky{border-color:#f8717147}.boost-rung.is-next{border-color:#fb923c;background:#f9731624}.boost-rung b{font-size:10px;color:#e2e8f0}.boost-rung i{font-style:normal;font-size:10px;font-weight:700;font-variant-numeric:tabular-nums}.boost-rung small{font-size:8px;color:#64748b}.boost-rung small em{font-style:normal;color:#38bdf8}.boost-chip-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:6px;max-height:240px;overflow-y:auto;padding-right:2px}.boost-chip{position:relative;display:grid;grid-template-columns:32px 1fr;align-items:center;gap:7px;padding:5px;border:1px solid rgba(148,163,184,.18);border-radius:7px;background:#0f172a80;cursor:pointer;text-align:left;font:inherit}.boost-chip:hover:not(:disabled):not([aria-disabled=true]){border-color:#fb923c99}.boost-chip:disabled,.boost-chip[aria-disabled=true]{cursor:default}.boost-chip.is-selected{border-color:#fb923c;background:#f9731629}.boost-chip img{width:32px;height:32px;object-fit:contain;image-rendering:pixelated}.boost-chip span{display:flex;flex-direction:column;min-width:0}.boost-chip strong{padding-right:12px;font-size:10px;color:#e2e8f0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.boost-chip small{font-size:9px;color:#94a3b8}.boost-chip-label{color:#f87171!important;font-weight:700}.boost-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));align-items:end;gap:8px;padding:9px;border:1px solid rgba(148,163,184,.18);border-radius:8px;background:#0f172a80}.boost-summary>div{display:flex;flex-direction:column;gap:1px;min-width:0}.boost-summary span{font-size:9px;color:#64748b}.boost-summary b{font-size:13px;color:#e2e8f0}.boost-summary b small{font-size:9px;color:#94a3b8;font-weight:400}.boost-summary b.good{color:#4ade80;font-size:11px}.boost-summary b.bad{color:#f87171;font-size:11px}.boost-btn-preview{padding:7px 12px;border:1px solid #fb923c;border-radius:6px;background:#f9731633;color:#fed7aa;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.boost-btn-preview:disabled{opacity:.4;cursor:not-allowed}.boost-modal{width:min(480px,96vw)}.boost-odds{display:grid;grid-template-columns:1fr 1fr;gap:8px}.boost-odds>div{display:flex;flex-direction:column;gap:2px;padding:8px;border:1px solid rgba(148,163,184,.15);border-radius:8px}.boost-odds span{font-size:9px;color:#64748b}.boost-odds b{font-size:18px;font-variant-numeric:tabular-nums}.boost-odds b.good{color:#4ade80;font-size:12px}.boost-odds b.bad{color:#f87171;font-size:12px}.boost-warning{margin:0;padding:7px 9px;border:1px solid rgba(251,146,60,.4);border-radius:8px;background:#7c2d1238;color:#fed7aa;font-size:11px}.boost-tribute-row{display:grid;grid-template-columns:minmax(0,260px)}.boost-outcome{display:flex;flex-direction:column;gap:2px;border:1px solid rgba(148,163,184,.15);border-radius:8px;padding:8px}.boost-outcome>header,.boost-outcome-row{display:grid;grid-template-columns:1fr 54px 54px 54px;align-items:baseline;gap:4px;text-align:right}.boost-outcome>header{margin-bottom:3px;border-bottom:1px solid rgba(148,163,184,.15);padding-bottom:3px}.boost-outcome>header b{font-size:9px;color:#94a3b8}.boost-outcome>header b.good{color:#4ade80}.boost-outcome>header b.bad{color:#f87171}.boost-outcome-row span{color:#94a3b8;font-size:11px;text-align:left}.boost-outcome-row i{font-style:normal;font-size:11px;color:#e2e8f0;font-variant-numeric:tabular-nums}.boost-outcome-row i.good{color:#4ade80}.boost-outcome-row i.bad{color:#f87171}.boost-outcome-row i.muted{color:#475569}.boost-btn-confirm{padding:6px 12px;border:1px solid #fb923c;border-radius:6px;background:#f9731647;color:#fed7aa;font-weight:700;cursor:pointer}.boost-btn-confirm:disabled{opacity:.4;cursor:not-allowed}.boost-result{width:min(330px,92vw);align-items:center;text-align:center}.boost-result h2{margin:0;font-size:15px}.boost-result.is-win h2{color:#4ade80}.boost-result.is-loss h2{color:#f87171}.boost-result img{width:64px;height:64px;object-fit:contain;image-rendering:pixelated}.boost-result strong{font-size:13px;color:#e2e8f0}.boost-result p{margin:0;color:#cbd5e1;font-size:11px;line-height:1.45}.boost-result small{color:#64748b;font-size:10px}.boost-result button{padding:6px 16px;border:1px solid rgba(148,163,184,.3);border-radius:6px;background:#0f172a99;color:#e2e8f0;font:inherit;font-size:11px;cursor:pointer}@media (max-width: 560px){.boost-odds{grid-template-columns:1fr}}.boost-rung u{text-decoration:none;font-size:8px;font-weight:700;color:#fdba74}.boost-ladder span u{text-decoration:none;color:#fdba74;font-weight:700}.boost-short{margin:0;padding:6px 9px;border:1px solid rgba(248,113,113,.35);border-radius:8px;background:#7f1d1d2e;color:#fecaca;font-size:10px;line-height:1.4}.swap-panel{display:flex;flex-direction:column;gap:10px}.swap-cost{display:flex;align-items:center;gap:9px;padding:8px 9px;border:1px solid rgba(148,163,184,.18);border-radius:8px;background:#0f172a80}.swap-cost img{width:32px;height:32px;object-fit:contain;image-rendering:pixelated}.swap-cost span{display:flex;flex-direction:column;gap:1px;min-width:0}.swap-cost strong{font-size:11px;color:#e2e8f0}.swap-cost small{font-size:10px;color:#94a3b8}.swap-cost small.good{color:#4ade80}.swap-cost small.bad{color:#f87171}.swap-slots{display:grid;grid-template-columns:1fr 1fr;gap:8px}.swap-slot{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px;border:1px dashed rgba(148,163,184,.3);border-radius:8px;background:#0f172a66;text-align:center}.swap-slot.is-filled{border-style:solid;border-color:#38bdf88c;background:#082f4959}.swap-slot>header{font-size:9px;letter-spacing:.06em;text-transform:uppercase;color:#64748b}.swap-slot>div{display:flex;flex-direction:column;align-items:center;gap:2px}.swap-slot img{width:48px;height:48px;object-fit:contain;image-rendering:pixelated}.swap-slot strong{font-size:11px;color:#e2e8f0}.swap-slot small{font-size:10px;color:#94a3b8}.swap-slot button{padding:3px 10px;border:1px solid rgba(148,163,184,.3);border-radius:6px;background:#0f172a99;color:#cbd5e1;font:inherit;font-size:10px;cursor:pointer}.swap-slot .pc-empty{margin:0;font-size:10px}.swap-result{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:8px 9px;border:1px solid rgba(148,163,184,.18);border-radius:8px;background:#0f172a80}.swap-result span{font-size:11px;color:#cbd5e1}.swap-result span.muted{color:#64748b}.swap-result span.bad{color:#f87171}.swap-result b{color:#38bdf8}.swap-btn-preview{margin-left:auto;padding:7px 12px;border:1px solid #38bdf8;border-radius:6px;background:#0ea5e933;color:#bae6fd;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.swap-btn-preview:disabled{opacity:.4;cursor:not-allowed}.swap-chip.is-selected{border-color:#38bdf8;background:#0ea5e929}.swap-chip[aria-disabled=true]{opacity:.45}.swap-chip-level{color:#e2e8f0!important;font-weight:700}.swap-search{flex:1 1 140px;min-width:120px}.swap-hint{margin:0;font-size:10px;color:#94a3b8}.swap-modal{width:min(420px,96vw)}.swap-compare{display:grid;grid-template-columns:1fr 1fr;gap:8px}.swap-compare-card{display:flex;flex-direction:column;align-items:center;gap:3px;padding:9px;border:1px solid rgba(148,163,184,.18);border-radius:8px;background:#0f172a80;text-align:center}.swap-compare-card img{width:52px;height:52px;object-fit:contain;image-rendering:pixelated}.swap-compare-card strong{font-size:11px;color:#e2e8f0}.swap-compare-levels{display:flex;align-items:baseline;gap:6px;font-size:11px;color:#94a3b8}.swap-compare-levels i{font-style:normal;color:#64748b}.swap-compare-levels b{font-size:13px}.swap-compare-levels b.good{color:#4ade80}.swap-compare-levels b.bad{color:#f87171}.swap-note{margin:0;font-size:10px;line-height:1.45;color:#94a3b8}.swap-btn-confirm{padding:6px 12px;border:1px solid #38bdf8;border-radius:6px;background:#0ea5e947;color:#bae6fd;font-weight:700;cursor:pointer}.swap-btn-confirm:disabled{opacity:.4;cursor:not-allowed}@media (max-width: 560px){.swap-slots,.swap-compare{grid-template-columns:1fr}}.pix-charge{display:flex;flex-direction:column;gap:8px}.pix-qr{width:min(240px,70vw);height:auto;align-self:center;border-radius:8px;background:#fff;padding:6px}.pix-code{flex:1;min-width:0;overflow-wrap:anywhere;font-size:10px;line-height:1.4;color:#cbd5e1;background:#0f172a99;border:1px solid rgba(148,163,184,.18);border-radius:6px;padding:6px;max-height:72px;overflow-y:auto}.pix-custom{display:flex;flex-direction:column;gap:6px;margin-top:10px}.pix-custom input{flex:1;min-width:0}.pc-storage-corner{position:absolute;z-index:4;top:2px;left:4px;padding:0 4px;border-radius:999px;background:#0f172ad9;color:#94a3b8;font-size:8px;line-height:14px;white-space:nowrap;pointer-events:none}.pc-storage-corner.pc-storage-depot{color:#c4b5fd}.pc-storage-badge{padding:1px 7px;border:1px solid rgba(148,163,184,.5);border-radius:999px;color:#cbd5e1;font-weight:600}.pc-storage-badge.pc-storage-depot{border-color:#a78bfa;color:#ddd6fe}.pc-storage-badge.pc-storage-team{border-color:#4ade80;color:#bbf7d0}.pc-btn-storage{padding:5px 10px;border:1px solid #a78bfa;border-radius:6px;background:#7c3aed2e;color:#ddd6fe;font-size:10px;cursor:pointer}.pc-btn-storage:hover:not(:disabled){background:#7c3aed52}.pc-btn-storage:disabled{opacity:.45;cursor:not-allowed}.pokemon-storage-panel{position:relative;gap:10px;min-height:280px}.pokemon-storage-panel .inventory-tabs .btn.is-drop-target{border-color:#a78bfa;background:#7c3aed40}.pokemon-storage-toolbar{display:flex;flex-direction:column;gap:8px}.pokemon-storage-grid{align-content:start;overflow-y:auto;max-height:min(52vh,460px);padding-right:2px}.pokemon-storage-slot{position:relative}.pokemon-storage-slot.is-selected .pc-card{border-color:#60a5fa}.pokemon-storage-slot .pc-card{width:100%}.pokemon-storage-quick{position:absolute;z-index:5;right:4px;bottom:4px;min-width:22px;padding:1px 5px;border:1px solid rgba(148,163,184,.35);border-radius:6px;background:#0f172ae6;color:#e2e8f0;font-size:11px;line-height:16px;cursor:pointer}.pokemon-storage-quick:hover:not(:disabled){border-color:#a78bfa;background:#7c3aed59}.pokemon-storage-quick:disabled{opacity:.35;cursor:not-allowed}.pokemon-storage-rename{border-color:#fbbf2466}.pokemon-storage-rename:hover:not(:disabled){border-color:#fbbf24;background:#b4530959}body.ui-mobile .pokemon-storage-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));max-height:58vh;-webkit-overflow-scrolling:touch}body.ui-mobile .pokemon-storage-slot .pc-card{padding:8px}body.ui-mobile .pokemon-storage-quick{min-width:30px;padding:4px 8px;font-size:13px}body.ui-mobile .pc-storage-corner{font-size:9px;line-height:16px}.store-donate{width:100%;justify-content:center;border-color:#f472b673;background:#f472b61f;color:#fbcfe8;font-weight:700}.store-donate:hover{background:#f472b633}.boss-panel{position:relative;display:flex;flex-direction:column;gap:10px;min-width:0}.boss-empty{color:var(--ui-muted);font-size:13px;padding:8px 2px}.boss-next-global{padding:8px 10px;border:1px solid rgba(251,191,36,.35);border-radius:8px;background:#fbbf241a;font-size:13px}.boss-catalog{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);gap:12px;align-items:start}.boss-list{display:flex;flex-direction:column;gap:8px;max-height:min(60vh,520px);overflow-y:auto;padding-right:2px}.boss-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px;border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-panel-2);color:inherit;text-align:left;cursor:pointer}.boss-card:hover{border-color:#60a5fa}.boss-card-selected{border-color:var(--ui-accent);background:#fbbf2414}.boss-card-info{display:flex;flex-direction:column;gap:2px;min-width:0}.boss-card-name{font-weight:700}.boss-card-sub{font-size:11px;color:var(--ui-muted)}.boss-card-modes{display:flex;gap:4px;flex-wrap:wrap}.boss-mode{font-style:normal;font-size:10px;padding:1px 6px;border-radius:999px;border:1px solid var(--ui-border);color:var(--ui-muted)}.boss-mode-solo{border-color:#60a5fa73;color:#93c5fd}.boss-mode-team{border-color:#4ade8073;color:#86efac}.boss-mode-global{border-color:#f472b680;color:#f9a8d4}.boss-card-status{font-size:10px;text-align:right;color:var(--ui-muted);max-width:92px}.boss-status-tag-ready{color:var(--ui-green)}.boss-status-tag-cooldown,.boss-status-tag-no_attempts{color:var(--ui-accent)}.boss-status-tag-locked,.boss-status-tag-no_key{color:var(--ui-red)}.boss-status-tag-active{color:#f9a8d4}.boss-detail{display:flex;flex-direction:column;gap:10px;min-width:0;padding:10px;border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-panel);max-height:min(60vh,520px);overflow-y:auto}.boss-detail-head{display:flex;gap:12px;align-items:center}.boss-detail-head h3{margin:0;font-size:16px}.boss-detail-sub{margin:2px 0 0;font-size:12px;color:var(--ui-muted)}.boss-detail-desc{margin:6px 0 0;font-size:12px;color:var(--ui-text);opacity:.85}.boss-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:6px}.boss-stats span{display:flex;flex-direction:column;gap:2px;padding:6px 8px;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-panel-2);font-size:12px}.boss-stats small{font-size:10px;color:var(--ui-muted);text-transform:uppercase;letter-spacing:.04em}.boss-attempts{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:6px 10px;border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-panel-2);font-size:12px}.boss-attempts-reset{color:var(--ui-muted)}.boss-attempts button{margin-left:auto}.boss-reset-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;align-items:center;justify-content:center;padding:12px;background:#0000008c}.boss-reset-dialog{width:min(340px,100%);max-height:100%;overflow:auto;display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-panel);font-size:12px}.boss-reset-dialog h4{margin:0;font-size:14px}.boss-reset-dialog p{margin:0}.boss-reset-diff{list-style:none;margin:0;padding:8px;border-radius:8px;background:var(--ui-panel-2);display:flex;flex-direction:column;gap:4px}.boss-reset-warn{color:var(--ui-muted)}.boss-reset-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.boss-reset-option{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-panel-2);color:inherit;font-size:12px;cursor:pointer}.boss-reset-option:disabled{opacity:.45;cursor:not-allowed}.boss-key{display:flex;align-items:center;gap:8px;padding:6px 10px;border-radius:8px;border:1px solid var(--ui-border);font-size:12px}.boss-key-ok{border-color:#4ade8066;background:#4ade8014}.boss-key-missing{border-color:#f8717173;background:#f8717114}.boss-key-free{color:var(--ui-muted)}.boss-key strong{margin-left:auto}.boss-reqs{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;font-size:12px}.boss-req-ok{color:var(--ui-green)}.boss-req-missing{color:var(--ui-red)}.boss-participation{font-size:11px;color:var(--ui-muted);border-left:2px solid var(--ui-border);padding-left:8px}.boss-block{font-size:12px;color:var(--ui-red)}.boss-loot h4,.boss-team-rules h4,.boss-party h4,.boss-invites h4{margin:0 0 6px;font-size:13px}.boss-loot-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.boss-loot-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:4px 6px;border-radius:6px;background:var(--ui-panel-2);font-size:12px}.boss-loot-icon{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border:1px solid var(--ui-border);border-radius:6px}.boss-loot-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.boss-loot-qty{color:var(--ui-muted)}.boss-loot-chance{font-weight:700;color:var(--ui-accent)}.boss-loot-hidden{font-size:12px;color:var(--ui-muted)}.boss-tag{font-style:normal;margin-left:6px;font-size:9px;padding:1px 5px;border-radius:999px}.boss-tag-exclusive{background:#a855f740;color:#d8b4fe}.boss-tag-event{background:#fbbf2433;color:#fcd34d}.boss-tag-only{background:#f8717138;color:#fca5a5}.boss-difficulties{display:flex;gap:6px;flex-wrap:wrap}.boss-difficulty{padding:5px 14px;border-radius:999px;border:1px solid var(--ui-border);background:var(--ui-panel-2);color:var(--ui-muted);font-size:12px;font-weight:700;cursor:pointer}.boss-difficulty:disabled{opacity:.4;cursor:not-allowed}.boss-difficulty-easy.boss-difficulty-active{border-color:#4ade8099;background:#4ade8029;color:#86efac}.boss-difficulty-medium.boss-difficulty-active{border-color:#fbbf2499;background:#fbbf2429;color:#fcd34d}.boss-difficulty-hard.boss-difficulty-active{border-color:#f8717199;background:#f8717129;color:#fca5a5}.boss-difficulty-active{color:var(--ui-text);border-color:var(--ui-accent)}.boss-difficulty-desc{margin:0;font-size:12px;color:var(--ui-muted)}.boss-difficulty-note{margin:0;font-size:11px;color:var(--ui-muted);border-left:2px solid var(--ui-border);padding-left:8px}.boss-detail-mode{font-style:normal;color:var(--ui-accent)}.boss-attempts-scope{font-size:11px;color:var(--ui-muted)}.boss-team-scale{margin:0;font-size:11px;color:var(--ui-muted)}.boss-hud-difficulty{padding:1px 8px;border-radius:999px;background:#ffffff1a;font-size:10px;font-weight:700}.boss-history-diff{font-style:normal;padding:1px 6px;border-radius:999px;background:var(--ui-panel-2);font-size:10px}.boss-global{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid rgba(244,114,182,.3);border-radius:8px;background:#f472b612;font-size:12px}.boss-global-head{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.boss-global-live{color:#f9a8d4;font-weight:700}.boss-global-next,.boss-global-schedule{color:var(--ui-muted)}.boss-global-hint{font-size:11px;color:var(--ui-muted);align-self:center}.boss-rewards{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.boss-reward{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.boss-reward-items{display:flex;gap:6px;flex-wrap:wrap}.boss-reward-items em{font-style:normal;display:inline-flex;align-items:center;gap:3px;padding:1px 6px;border-radius:6px;background:var(--ui-panel-2);font-size:11px}.boss-global-tab{display:flex;flex-direction:column;gap:12px;max-height:min(60vh,520px);overflow-y:auto}.boss-global-card{padding:10px;border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-panel);display:flex;flex-direction:column;gap:8px}.boss-actions{display:flex;gap:8px;flex-wrap:wrap}.boss-party{display:flex;flex-direction:column;gap:10px}.boss-invites{display:flex;flex-direction:column;gap:6px}.boss-invite{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 8px;border:1px solid rgba(251,191,36,.35);border-radius:8px;font-size:12px}.boss-members{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.boss-members li{display:flex;align-items:center;gap:8px;padding:6px 8px;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-panel-2);font-size:12px}.boss-member-name{flex:1;min-width:0}.boss-member-name small{color:var(--ui-muted);margin-left:6px}.boss-member-off{opacity:.5}.boss-haskey{color:var(--ui-green);font-size:11px}.boss-nokey{color:var(--ui-red);font-size:11px}.boss-ready{font-style:normal;margin-left:8px;font-size:11px;color:var(--ui-green)}.boss-party-invite{gap:6px}.boss-history{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;max-height:min(58vh,500px);overflow-y:auto}.boss-history li{display:flex;flex-direction:column;gap:2px;padding:8px;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-panel-2);font-size:12px}.boss-history-win{border-left:3px solid var(--ui-green)}.boss-history-timeout,.boss-history-wipe,.boss-history-abandon{border-left:3px solid var(--ui-red)}.boss-history-head{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.boss-history-head em{font-style:normal;font-size:10px;padding:1px 6px;border-radius:999px;background:var(--ui-panel);color:var(--ui-muted)}.boss-history-meta,.boss-history-team,.boss-history-loot{font-size:11px;color:var(--ui-muted)}.boss-hud{position:absolute;top:calc(var(--hud-height) + 8px);left:50%;transform:translate(-50%);width:min(420px,92vw);display:flex;flex-direction:column;gap:6px;padding:8px 10px;border:1px solid rgba(248,113,113,.4);border-radius:10px;background:#0b0e14eb;pointer-events:auto;z-index:30}.boss-hud-enraged{border-color:#f87171;box-shadow:0 0 12px #f8717159}.boss-hud-head{display:flex;align-items:center;gap:8px;font-size:12px}.boss-hud-name{font-weight:700}.boss-hud-phase{color:var(--ui-muted)}.boss-hud-rage{color:#fca5a5;font-weight:700;letter-spacing:.06em}.boss-hud-timer{margin-left:auto;color:var(--ui-accent);font-variant-numeric:tabular-nums}.boss-hud-bar{position:relative;height:16px;border-radius:8px;background:#94a3b833;overflow:hidden}.boss-hud-fill{height:100%;background:linear-gradient(90deg,#ef4444,#f97316);transition:width .3s ease}.boss-hud-hp{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:11px;font-variant-numeric:tabular-nums}.boss-hud-rank{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;max-height:150px;overflow-y:auto;font-size:11px}.boss-hud-rank li{display:grid;grid-template-columns:24px minmax(0,1fr) auto auto;gap:6px;align-items:center}.boss-hud-me{color:var(--ui-accent);font-weight:700}.boss-hud-rank-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.boss-hud-rank-dmg{font-variant-numeric:tabular-nums}.boss-hud-rank-warn{color:var(--ui-red)}.boss-hud-foot{font-size:11px;color:var(--ui-muted)}.boss-hud-leave{align-self:flex-end}.boss-result{pointer-events:auto;width:min(460px,92vw);display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:12px;border:1px solid var(--ui-border);background:var(--ui-panel)}.boss-result-win{border-color:#4ade8080}.boss-result-lose{border-color:#f8717180}.boss-result h3{margin:0}.boss-result-msg{margin:0;font-size:13px}.boss-result-stats{margin:0;font-size:12px;color:var(--ui-muted)}.boss-result-loot,.boss-result-rank{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;font-size:12px}.boss-result-rank{color:var(--ui-muted);max-height:180px;overflow-y:auto}body.ui-mobile .boss-catalog{grid-template-columns:minmax(0,1fr)}body.ui-mobile .boss-list{max-height:34vh}body.ui-mobile .boss-detail{max-height:46vh}body.ui-mobile .boss-hud{width:94vw}.panel-failed{display:flex;flex-direction:column;gap:10px;align-items:flex-start;padding:12px;font-size:13px;color:var(--ui-muted)}.panel-centered.panel-arena{width:min(760px,calc(100vw - 24px))}.ranked-arena-panel{display:flex;flex-direction:column;gap:14px;min-width:0}.ranked-arena-panel-loading{min-height:230px;align-items:center;justify-content:center;text-align:center;color:var(--ui-muted)}.ranked-arena-panel-loading strong{color:var(--ui-text)}.ranked-arena-panel-loading small{font-size:11px}.ranked-arena-spinner,.ranked-arena-button-spinner{display:inline-block;width:28px;height:28px;border:3px solid rgba(251,191,36,.18);border-top-color:var(--ui-accent);border-radius:50%;animation:ranked-arena-spin .8s linear infinite}.ranked-arena-button-spinner{width:15px;height:15px;border-width:2px}@keyframes ranked-arena-spin{to{transform:rotate(360deg)}}.ranked-arena-profile{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(190px,.8fr) minmax(260px,1.2fr);gap:14px;padding:16px;border:1px solid rgba(212,165,74,.25);border-radius:14px;background:radial-gradient(circle at 10% 10%,rgba(180,83,9,.26),transparent 34%),linear-gradient(145deg,#1e232df5,#0a0e15fa);box-shadow:inset 0 1px #ffffff08}.ranked-arena-profile:after{content:"";position:absolute;width:180px;height:180px;right:-72px;top:-96px;border:1px solid rgba(251,191,36,.11);border-radius:50%;box-shadow:0 0 0 24px #fbbf2406,0 0 0 52px #fbbf2405;pointer-events:none}.ranked-arena-rank{min-width:0;display:flex;align-items:center;gap:12px}.ranked-arena-rank-emblem{width:68px;height:68px;flex:0 0 68px;display:grid;place-items:center;color:#f0b26e;font-size:34px;border:1px solid rgba(217,119,6,.5);border-radius:20px 20px 28px 28px;background:radial-gradient(circle,#b453096b,#2c180ebf);text-shadow:0 2px 12px rgba(251,146,60,.7);box-shadow:inset 0 0 18px #fb923c1f,0 8px 22px #00000059}.ranked-arena-rank>div{min-width:0;display:flex;flex-direction:column}.ranked-arena-rank small{overflow:hidden;color:#a8b1bf;font-size:9px;letter-spacing:.09em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.ranked-arena-rank strong{color:#fed7aa;font-family:Georgia,Times New Roman,serif;font-size:22px;line-height:1.2}.ranked-arena-rank span{color:var(--ui-accent);font-size:12px;font-weight:750}.ranked-arena-profile-stats{display:grid;grid-template-columns:repeat(4,minmax(58px,1fr));gap:6px;align-items:stretch}.ranked-arena-profile-stats>div{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:8px 4px;border:1px solid rgba(148,163,184,.12);border-radius:9px;background:#03070c6b;text-align:center}.ranked-arena-profile-stats strong{color:#f8fafc;font-size:16px}.ranked-arena-profile-stats span{color:var(--ui-muted);font-size:8px;text-transform:uppercase}.ranked-arena-profile-foot{grid-column:1 / -1;display:flex;gap:8px 18px;flex-wrap:wrap;padding-top:10px;border-top:1px solid rgba(148,163,184,.11);color:var(--ui-muted);font-size:10px}.ranked-arena-profile-foot b{color:#dbe4f0}.ranked-arena-queue-card{display:flex;flex-direction:column;gap:14px;padding:15px;border:1px solid rgba(148,163,184,.15);border-radius:14px;background:linear-gradient(160deg,#191f2bdb,#080c12c7)}.ranked-arena-queue-card-active{border-color:#fbbf2452;box-shadow:inset 0 0 30px #fbbf2406}.ranked-arena-queue-head{display:flex;align-items:center;gap:11px}.ranked-arena-mode-icon{width:52px;height:52px;flex:0 0 52px;display:grid;place-items:center;border:1px solid rgba(96,165,250,.36);border-radius:13px;color:#bfdbfe;background:linear-gradient(135deg,#1e40af80,#7f1d1d70);font-size:15px;font-weight:900}.ranked-arena-queue-head>div:nth-child(2){min-width:0;flex:1;display:flex;flex-direction:column}.ranked-arena-queue-head strong{color:#f8fafc;font-size:15px}.ranked-arena-queue-head span{color:var(--ui-muted);font-size:10px}.ranked-arena-mode-tag{padding:4px 7px;border:1px solid rgba(251,191,36,.25);border-radius:999px;color:var(--ui-accent)!important;background:#78350f33;font-size:8px!important;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.ranked-arena-mode-tabs{display:flex;gap:6px;margin-bottom:10px}.ranked-arena-mode-tab{flex:1;padding:8px 6px;border:1px solid rgba(148,163,184,.22);border-radius:9px;background:#03070c80;color:var(--ui-muted);font-size:12px;font-weight:800;letter-spacing:.04em;cursor:pointer}.ranked-arena-mode-tab:hover{color:#e8eefc;border-color:#fbbf244d}.ranked-arena-mode-tab.is-active{color:#fff7df;border-color:#fbbf248c;background:#78350f38}.ranked-arena-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ranked-arena-role-grid label{min-width:0;display:flex;flex-direction:column;gap:5px;color:var(--ui-muted);font-size:10px}.ranked-arena-role-grid .select{width:100%}.ranked-arena-rules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ranked-arena-rules span{padding:7px;border-radius:8px;color:#a7f3d0;background:#064e3b29;font-size:9px}.ranked-arena-primary{width:100%}.ranked-arena-queued-detail,.ranked-arena-ready-summary{display:flex;flex-direction:column;align-items:center;gap:11px;text-align:center}.ranked-arena-searching{display:flex;align-items:center;gap:8px;color:#fde68a;font-size:13px;font-weight:750}.ranked-arena-pulse{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:var(--ui-accent);box-shadow:0 0 #fbbf2480;animation:ranked-arena-pulse 1.5s ease-out infinite}@keyframes ranked-arena-pulse{70%{box-shadow:0 0 0 8px #fbbf2400}to{box-shadow:0 0 #fbbf2400}}.ranked-arena-queue-numbers{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.ranked-arena-queue-numbers>div{display:flex;flex-direction:column;padding:9px;border:1px solid rgba(148,163,184,.12);border-radius:9px;background:#03070c6b}.ranked-arena-queue-numbers strong{color:#f8fafc;font-size:19px}.ranked-arena-queue-numbers span{color:var(--ui-muted);font-size:8px;text-transform:uppercase}.ranked-arena-queued-detail p{color:var(--ui-muted);font-size:10px}.ranked-arena-queued-detail p b{color:var(--ui-text)}.ranked-arena-ready-summary{padding:12px;border-radius:10px;background:#78350f29}.ranked-arena-ready-summary strong{color:#fde68a;font-size:16px}.ranked-arena-ready-summary span{color:var(--ui-text)}.ranked-arena-ready-summary small{color:var(--ui-muted)}.ranked-arena-match-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:7px}.ranked-arena-match-summary>div{min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;padding:9px 5px;border-radius:8px;background:#03070c66;text-align:center}.ranked-arena-match-summary span{color:var(--ui-muted);font-size:8px;text-transform:uppercase}.ranked-arena-match-summary strong{overflow:hidden;max-width:100%;color:#f8fafc;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.ranked-arena-team-blue,.ranked-arena-team-red,.ranked-arena-team-neutral{color:var(--arena-team-color, inherit)!important}.ranked-arena-offline{padding:8px 10px;border:1px solid rgba(248,113,113,.2);border-radius:8px;color:#fecaca;background:#7f1d1d2e;font-size:10px}.ranked-arena-natural-card{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid rgba(96,165,250,.22);border-radius:12px;background:radial-gradient(circle at 8% 15%,rgba(37,99,235,.14),transparent 30%),linear-gradient(145deg,#0f172ad1,#03070cb3)}.ranked-arena-natural-head{min-width:0;display:grid;grid-template-columns:54px minmax(120px,1fr) auto;align-items:center;gap:10px}.ranked-arena-natural-portrait{position:relative;overflow:hidden;width:52px;height:52px;display:grid;place-items:center;border:1px solid rgba(96,165,250,.28);border-radius:12px;color:#93c5fd;background:radial-gradient(circle,#334155cc,#02060ce6)}.ranked-arena-natural-portrait img{position:absolute;top:2px;right:2px;bottom:2px;left:2px;width:calc(100% - 4px);height:calc(100% - 4px);object-fit:contain;image-rendering:pixelated}.ranked-arena-natural-title{min-width:0;display:flex;flex-direction:column}.ranked-arena-natural-title small{color:#93c5fd;font-size:8px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.ranked-arena-natural-title strong{overflow:hidden;color:#f8fafc;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.ranked-arena-natural-title>span{overflow:hidden;color:var(--ui-muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.ranked-arena-natural-title b{color:#dbeafe}.ranked-arena-natural-roles{display:flex;justify-content:flex-end;gap:6px}.ranked-arena-natural-roles>span{min-width:78px;display:flex;flex-direction:column;align-items:center;padding:6px 8px;border:1px solid rgba(167,139,250,.22);border-radius:8px;background:#4c1d9521}.ranked-arena-natural-roles small{color:#a5b4fc;font-size:7px;letter-spacing:.05em;text-transform:uppercase}.ranked-arena-natural-roles strong{color:#ede9fe;font-size:10px}.ranked-arena-natural-stats{display:grid;grid-template-columns:repeat(6,minmax(52px,1fr));gap:6px}.ranked-arena-natural-stats>div{min-width:0;display:flex;flex-direction:column;align-items:center;gap:1px;padding:7px 4px;border:1px solid rgba(148,163,184,.12);border-radius:8px;background:#02060c80}.ranked-arena-natural-stats span{color:var(--ui-muted);font-size:7px;letter-spacing:.025em;text-align:center;white-space:nowrap}.ranked-arena-natural-stats strong{color:#f8fafc;font-size:14px;font-variant-numeric:tabular-nums}.ranked-arena-natural-rule{display:grid;grid-template-columns:18px 1fr;align-items:center;gap:7px;margin:0;padding:7px 9px;border-radius:8px;color:#bfdbfe;background:#1e40af1a;font-size:9px;line-height:1.35}.ranked-arena-natural-rule>span:first-child{display:grid;place-items:center;color:#60a5fa;font-size:15px}.ranked-arena-queue-chip,.ranked-arena-match-chip{pointer-events:auto;position:absolute;top:calc(var(--hud-height) + 10px + env(safe-area-inset-top));left:12px;z-index:46;display:flex;align-items:center;gap:9px;min-height:46px;max-width:min(410px,calc(100% - 24px));padding:7px 8px 7px 11px;border:1px solid rgba(251,191,36,.3);border-radius:12px;background:linear-gradient(145deg,#191f2bf5,#080c12f7);box-shadow:0 8px 24px #0000007a;color:var(--ui-text);text-align:left;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.ranked-arena-queue-chip-main{min-width:0;flex:1;align-self:stretch;display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer}.ranked-arena-queue-chip-copy{min-width:0;display:flex;flex-direction:column}.ranked-arena-queue-chip-copy strong{font-size:11px}.ranked-arena-queue-chip-copy>span{overflow:hidden;color:var(--ui-muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.ranked-arena-queue-chip>button:last-child{min-width:43px;align-self:stretch;padding:0 7px;border:1px solid rgba(248,113,113,.24);border-radius:8px;color:#fca5a5;background:#7f1d1d29;cursor:pointer}.ranked-arena-match-chip{left:50%;transform:translate(-50%);justify-content:center;cursor:pointer}.ranked-arena-match-chip-inmatch{top:calc(10px + env(safe-area-inset-top))}.ranked-arena-match-chip>span:not(.ranked-arena-team-dot){display:flex;flex-direction:column;align-items:center;min-width:52px}.ranked-arena-match-chip small{color:var(--ui-muted);font-size:8px}.ranked-arena-match-chip strong{font-size:12px}.ranked-arena-team-dot{width:10px;height:10px;border-radius:50%}.ranked-arena-team-dot{background:var(--arena-team-color, currentColor);box-shadow:0 0 9px var(--arena-team-color, currentColor)}.ranked-arena-combat-hud{pointer-events:none;position:absolute;top:calc(7px + env(safe-area-inset-top));left:50%;z-index:46;width:min(820px,calc(100% - 24px));min-height:66px;display:grid;grid-template-columns:minmax(135px,.8fr) minmax(190px,1.3fr) 116px minmax(155px,.9fr);align-items:center;gap:10px;padding:7px 11px;transform:translate(-50%);border:1px solid rgba(148,163,184,.28);border-radius:14px;background:linear-gradient(145deg,#151b26f7,#060a10fb);box-shadow:0 9px 30px #00000094,inset 0 1px #ffffff09;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.ranked-arena-combat-hud:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;border-radius:14px 0 0 14px;background:var(--arena-team-color, currentColor);box-shadow:0 0 14px var(--arena-team-color, currentColor)}.ranked-arena-combat-hud-red:before{right:0;left:auto;border-radius:0 14px 14px 0}.ranked-arena-combat-identity{min-width:0;display:flex;align-items:center;gap:8px}.ranked-arena-combat-identity>img,.ranked-arena-combat-identity>span{width:46px;height:46px;flex:0 0 46px;object-fit:contain;image-rendering:pixelated;display:grid;place-items:center;border:1px solid rgba(251,191,36,.22);border-radius:11px;background:radial-gradient(circle,#334155ad,#03070ccc);color:var(--ui-accent)}.ranked-arena-combat-identity-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start}.ranked-arena-combat-identity small,.ranked-arena-combat-identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ranked-arena-combat-identity small{color:#cbd5e1;font-size:9px}.ranked-arena-combat-identity strong{color:#f8fafc;font-size:12px}.ranked-arena-natural-role-chip{max-width:100%;display:flex;align-items:center;gap:3px;margin-top:2px;padding:1px 4px;border:1px solid rgba(167,139,250,.28);border-radius:999px;color:#ede9fe;background:#4c1d9533;font-size:7px;line-height:12px;white-space:nowrap}.ranked-arena-natural-role-chip i{color:#a5b4fc;font-size:6px;font-style:normal;font-weight:900;letter-spacing:.05em}.ranked-arena-natural-role-chip b,.ranked-arena-natural-role-chip em{overflow:hidden;text-overflow:ellipsis}.ranked-arena-natural-role-chip b{color:#f5f3ff}.ranked-arena-natural-role-chip em{color:#c4b5fd;font-size:6px;font-style:normal}.ranked-arena-combat-vitals{min-width:0;display:flex;flex-direction:column;gap:3px}.ranked-arena-combat-track{position:relative;overflow:hidden;height:21px;border:1px solid rgba(148,163,184,.15);border-radius:6px;background:#02060cd1;box-shadow:inset 0 1px 3px #000000b3}.ranked-arena-combat-track>div{height:100%;transition:width .2s ease-out}.ranked-arena-combat-track>span{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#f8fafc;font-size:9px;font-weight:800;text-shadow:0 1px 2px #000,0 0 3px #000}.ranked-arena-combat-hp>div{background:linear-gradient(90deg,#15803d,#4ade80)}.ranked-arena-combat-hp.is-low>div{background:linear-gradient(90deg,#b91c1c,#f87171);animation:ranked-arena-low-hp .8s ease-in-out infinite alternate}.ranked-arena-combat-shield{position:absolute;z-index:1;bottom:0;left:0;height:4px;max-width:100%;background:#67e8f9;box-shadow:0 0 7px #67e8f9bf}.ranked-arena-combat-energy{height:13px}.ranked-arena-combat-energy>div{background:linear-gradient(90deg,#0369a1,#22d3ee)}.ranked-arena-combat-energy>span{font-size:7px}.ranked-arena-combat-xp{height:11px}.ranked-arena-combat-xp>div{background:linear-gradient(90deg,#6d28d9,#a78bfa)}.ranked-arena-combat-xp>span{font-size:7px;letter-spacing:.02em}@keyframes ranked-arena-low-hp{to{filter:brightness(1.3)}}.ranked-arena-combat-effects{pointer-events:none;position:absolute;top:calc(82px + env(safe-area-inset-top));left:50%;z-index:45;width:min(760px,calc(100% - 28px));display:flex;justify-content:center;gap:5px;overflow:hidden;transform:translate(-50%)}.ranked-arena-combat-effects>span{overflow:hidden;max-width:150px;padding:3px 7px;border:1px solid rgba(148,163,184,.24);border-radius:999px;background:#040911e0;color:#cbd5e1;font-size:8px;font-weight:750;text-overflow:ellipsis;white-space:nowrap;box-shadow:0 3px 9px #00000052}.ranked-arena-combat-effects .ranked-arena-effect-buff{border-color:#22d3ee5c;color:#a5f3fc}.ranked-arena-combat-effects .ranked-arena-effect-debuff{border-color:#fb718570;color:#fecdd3}.ranked-arena-target-chip>i{margin-right:3px;font-style:normal}.ranked-arena-target-enemy,.ranked-arena-target-ally,.ranked-arena-target-self{border-color:color-mix(in srgb,var(--arena-team-color, currentColor) 48%,transparent)!important;color:var(--arena-team-color, currentColor)!important}.ranked-arena-target-structure{position:relative;min-width:225px;max-width:270px!important;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:4px;padding-bottom:6px!important;border-radius:7px!important}.ranked-arena-target-structure>b,.ranked-arena-target-structure>em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ranked-arena-target-structure>b{color:#fee2e2;font-size:8px}.ranked-arena-target-structure>em{color:#e2e8f0;font-size:7px;font-style:normal;font-variant-numeric:tabular-nums}.ranked-arena-target-structure>strong{padding:1px 3px;border-radius:3px;color:#fde68a;background:#78350f99;font-size:6px;letter-spacing:.04em}.ranked-arena-target-structure-track{position:absolute;right:5px;bottom:2px;left:5px;height:2px;overflow:hidden;border-radius:2px;background:#7f1d1dcc}.ranked-arena-target-structure-track>i{display:block;height:100%;margin:0;background:var(--arena-team-color, currentColor)}.ranked-arena-target-structure.is-protected{border-color:#fbbf249e!important;color:#fde68a!important}.ranked-arena-target-structure.is-protected .ranked-arena-target-structure-track>i{background:#fbbf24}.ranked-arena-target-statue{border-width:2px!important;background:#2c1034eb!important}.ranked-arena-target-statue>i{color:#f5d0fe;font-size:11px}.ranked-arena-target-statue>b{color:#fae8ff}.ranked-arena-target-statue.is-vulnerable>strong{color:#f5d0fe;background:#701a75a3}.list-row.arena-target-ally,.list-row.arena-target-enemy{border-color:color-mix(in srgb,var(--arena-team-color, currentColor) 34%,transparent)}.list-row.arena-target-ally.selected,.list-row.arena-target-enemy.selected{box-shadow:inset 3px 0 var(--arena-team-color, currentColor)}.list-row.arena-target-ally:disabled,.list-row.arena-target-enemy:disabled{opacity:.5;cursor:not-allowed}.ranked-arena-tower-hud{pointer-events:none;box-sizing:border-box;position:absolute;top:calc(82px + env(safe-area-inset-top));left:12px;z-index:45;width:158px;display:flex;flex-direction:column;gap:3px;padding:4px 7px 5px;border:1px solid rgba(148,163,184,.24);border-radius:8px;background:#040911e0;box-shadow:0 3px 9px #00000052;font-variant-numeric:tabular-nums}.ranked-arena-tower-hud>header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:5px}.ranked-arena-tower-hud>header>span{display:flex;align-items:center;gap:3px;font-size:9px}.ranked-arena-tower-hud>header>span:last-child{justify-content:flex-end}.ranked-arena-tower-hud i{font-style:normal}.ranked-arena-tower-hud b{color:#f8fafc}.ranked-arena-tower-hud>header small{color:#94a3b8;font-size:6px;font-weight:850;letter-spacing:.05em}.ranked-arena-tower-hud>header i{color:currentColor}.ranked-arena-tower-routes{display:flex;flex-direction:column;gap:2px;padding-top:3px;border-top:1px solid rgba(148,163,184,.14)}.ranked-arena-tower-routes>div{display:grid;grid-template-columns:1fr 36px 1fr;align-items:center;gap:4px}.ranked-arena-tower-routes>div>small{overflow:hidden;color:#94a3b8;font-size:5px;font-weight:750;text-align:center;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.ranked-arena-tower-pips{display:flex;align-items:center;gap:3px}.ranked-arena-tower-pips.is-red{justify-content:flex-end}.ranked-arena-tower-pips>i{width:7px;height:7px;flex:0 0 7px;border:1px solid currentColor;border-radius:2px}.ranked-arena-tower-pips>i.is-alive{background:currentColor;box-shadow:0 0 4px currentColor}.ranked-arena-tower-pips>i.is-protected{border-color:#fbbf24;background:#fbbf2447;box-shadow:inset 0 0 0 1px #fbbf2440}.ranked-arena-tower-pips>i.is-destroyed{border-color:#475569;background:transparent;opacity:.45}.ranked-arena-statue-vitals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding-top:4px;border-top:1px solid rgba(192,132,252,.18)}.ranked-arena-statue-vital{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 4px;padding:3px 4px;border:1px solid rgba(148,163,184,.2);border-radius:5px;background:#0f172aad}.ranked-arena-statue-vital>span:first-child{grid-column:1 / -1;min-width:0;display:flex;align-items:center;gap:2px}.ranked-arena-statue-vital>span:first-child>i{color:#e9d5ff;font-size:8px}.ranked-arena-statue-vital>span:first-child>b{flex:0 0 auto;overflow:hidden;color:#e2e8f0;font-size:6px;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.ranked-arena-statue-vital>span:first-child>em{overflow:hidden;margin-left:auto;color:#cbd5e1;font-size:5px;font-style:normal;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.ranked-arena-statue-track{overflow:hidden;height:4px;border-radius:3px;background:#475569b3}.ranked-arena-statue-track>i{display:block;height:100%;background:var(--arena-team-color, currentColor);transition:width .2s ease-out}.ranked-arena-statue-vital>small{color:#cbd5e1;font-size:6px;font-variant-numeric:tabular-nums}.ranked-arena-statue-vital.is-protected{border-color:#fbbf2470}.ranked-arena-statue-vital.is-protected .ranked-arena-statue-track>i{box-shadow:inset 0 0 0 1px #fbbf24}.ranked-arena-statue-vital.is-vulnerable{border-color:#e879f96b;box-shadow:inset 0 0 7px #d946ef12}.ranked-arena-statue-vital.is-vulnerable>span:first-child>em{color:#f5d0fe}.ranked-arena-statue-vital.is-destroyed{border-color:#64748b2e;opacity:.55}.ranked-arena-statue-vital.is-destroyed .ranked-arena-statue-track>i{width:0!important}.ranked-arena-statue-vital.is-destroyed>span:first-child>i{color:#64748b}.ranked-arena-statue-vital.is-missing{opacity:.4}.ranked-arena-respawn{pointer-events:none;position:absolute;top:50%;left:50%;z-index:52;min-width:190px;display:grid;place-items:center;gap:4px;padding:16px 25px;transform:translate(-50%,-50%);border:1px solid rgba(248,113,113,.46);border-radius:18px;background:radial-gradient(circle at 50% 35%,#450a0ae0,#03070cf0);color:#f8fafc;text-align:center;box-shadow:0 14px 50px #000000ad,0 0 28px #ef444424;animation:ranked-arena-respawn-in .18s ease-out both}.ranked-arena-respawn>span{color:#fca5a5;font-size:12px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.ranked-arena-respawn>strong{width:66px;height:66px;display:grid;place-items:center;border:2px solid rgba(248,113,113,.55);border-radius:50%;color:#fff;font-size:31px;line-height:1;box-shadow:inset 0 0 17px #ef444429}.ranked-arena-respawn>small{color:#cbd5e1;font-size:9px}@keyframes ranked-arena-respawn-in{0%{opacity:0;transform:translate(-50%,-50%) scale(.9)}}.ranked-arena-kill-feed{pointer-events:none;position:absolute;top:calc(108px + env(safe-area-inset-top));right:12px;z-index:44;width:min(250px,calc(100% - 24px));display:flex;flex-direction:column;align-items:stretch;gap:3px}.ranked-arena-kill-feed>div{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:5px;padding:4px 7px;border:1px solid rgba(148,163,184,.18);border-radius:7px;background:#040911c7;color:#dbeafe;font-size:8px;box-shadow:0 3px 10px #0000004d}.ranked-arena-kill-feed span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ranked-arena-kill-feed span:first-child{text-align:right}.ranked-arena-kill-feed i{color:#f87171;font-size:7px;font-style:normal}.ranked-arena-kill-feed small{grid-column:1 / -1;overflow:hidden;color:#94a3b8;font-size:6px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.ranked-arena-kill-feed>div.is-structure{border-color:#fbbf2457;background:#451a03c2}.ranked-arena-kill-feed>div.is-structure i,.ranked-arena-kill-feed>div.is-structure small{color:#fbbf24}.ranked-arena-kill-feed>div.is-statue{border-color:#e879f975;background:#3b0746d1}.ranked-arena-kill-feed>div.is-statue i,.ranked-arena-kill-feed>div.is-statue small{color:#f5d0fe}.ranked-arena-combat-score{pointer-events:auto;min-width:0;display:grid;grid-template-columns:1fr auto 1fr;grid-template-rows:auto auto;align-items:center;gap:0 5px;padding:3px 4px;border:0;border-radius:9px;background:#03070c70;cursor:pointer}.ranked-arena-combat-score:hover{background:#1e293bb3}.ranked-arena-combat-score>span{font-size:7px;font-weight:850;letter-spacing:.08em}.ranked-arena-combat-score>span:first-child{text-align:right}.ranked-arena-combat-score>strong{grid-column:2;grid-row:1;display:flex;align-items:center;gap:5px;color:#fff;font-size:17px}.ranked-arena-combat-score b{min-width:15px;text-align:center}.ranked-arena-combat-score i{color:#64748b;font-size:11px;font-style:normal}.ranked-arena-combat-score>small{grid-column:1 / -1;grid-row:2;display:flex;justify-content:center;gap:5px;color:#fde68a;font-size:8px;text-align:center;white-space:nowrap}.ranked-arena-combat-score>small em{color:#cbd5e1;font-size:7px;font-style:normal}.ranked-arena-combat-progress{min-width:0;display:grid;grid-template-columns:48px repeat(2,minmax(42px,1fr));align-items:center;gap:5px}.ranked-arena-combat-progress>div{min-width:0;display:flex;flex-direction:column;align-items:center}.ranked-arena-combat-progress small{color:var(--ui-muted);font-size:7px;letter-spacing:.05em;text-transform:uppercase}.ranked-arena-combat-progress strong{overflow:hidden;max-width:100%;color:#f8fafc;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.ranked-arena-combat-progress .ranked-arena-gold{color:#fde68a}.ranked-arena-level-medal{width:44px;height:44px;justify-content:center;border:1px solid rgba(251,191,36,.4);border-radius:50%;background:radial-gradient(circle,#b4530961,#451a038c);box-shadow:inset 0 0 12px #fbbf2414}.ranked-arena-level-medal strong{color:#fff7df;font-size:19px;line-height:18px}.ranked-arena-level-up{pointer-events:none;position:absolute;top:calc(84px + env(safe-area-inset-top));left:50%;z-index:48;min-width:210px;display:grid;grid-template-columns:auto 48px;grid-template-rows:auto auto;align-items:center;gap:0 10px;padding:9px 13px;transform:translate(-50%);border:1px solid rgba(251,191,36,.54);border-radius:12px;background:linear-gradient(135deg,#78350ff0,#111827f7);box-shadow:0 10px 35px #0009,0 0 26px #fbbf2426;animation:ranked-arena-level-up 2.6s ease both}.ranked-arena-level-up>span{grid-column:1;color:#fde68a;font-size:11px;font-weight:900;letter-spacing:.14em}.ranked-arena-level-up>strong{grid-column:2;grid-row:1 / 3;display:grid;place-items:center;color:#fff7df;font-family:Georgia,Times New Roman,serif;font-size:34px;line-height:1;text-shadow:0 0 12px rgba(251,191,36,.65)}.ranked-arena-level-up>small{grid-column:1;color:#e2e8f0;font-size:9px}@keyframes ranked-arena-level-up{0%{transform:translate(-50%,-10px) scale(.82);opacity:0}12%,76%{transform:translate(-50%) scale(1);opacity:1}to{transform:translate(-50%,-8px) scale(.96);opacity:0}}.ranked-arena-surrender-control{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 10px;border:1px solid rgba(248,113,113,.2);border-radius:9px;background:#450a0a1f}.ranked-arena-surrender-control>div:first-child{min-width:0;display:flex;align-items:center;gap:8px}.ranked-arena-surrender-control>div:first-child>span{color:#fca5a5;font-size:18px}.ranked-arena-surrender-control p{min-width:0;display:flex;flex-direction:column;margin:0}.ranked-arena-surrender-control p strong{color:#fecaca;font-size:10px}.ranked-arena-surrender-control p small{color:#94a3b8;font-size:8px}.ranked-arena-surrender-control>.btn{min-width:132px}.ranked-arena-surrender-confirm{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;padding-top:7px;border-top:1px solid rgba(248,113,113,.12)}.ranked-arena-surrender-confirm>span{color:#fecaca;font-size:9px}.ranked-arena-surrender-vote{pointer-events:auto;box-sizing:border-box;position:absolute;top:calc(106px + env(safe-area-inset-top));left:50%;z-index:49;width:250px;display:flex;flex-direction:column;gap:5px;padding:7px 8px 8px;transform:translate(-50%);border:1px solid rgba(248,113,113,.42);border-radius:10px;background:linear-gradient(145deg,#450a0af5,#070b11fa);color:#f8fafc;box-shadow:0 9px 28px #0000008f,0 0 20px #ef44441a;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.ranked-arena-surrender-vote>header{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px}.ranked-arena-surrender-vote>header>span{color:#f87171;font-size:16px}.ranked-arena-surrender-vote>header>div{min-width:0;display:flex;flex-direction:column}.ranked-arena-surrender-vote>header small{color:#fca5a5;font-size:7px;font-weight:900;letter-spacing:.08em}.ranked-arena-surrender-vote>header strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.ranked-arena-surrender-vote>header b{color:#fecaca;font-size:11px;font-variant-numeric:tabular-nums}.ranked-arena-surrender-progress{overflow:hidden;height:3px;border-radius:3px;background:#7f1d1d9e}.ranked-arena-surrender-progress>i{display:block;width:0;height:100%;background:#f87171;transition:width .25s linear}.ranked-arena-surrender-counts{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:5px;font-size:9px}.ranked-arena-surrender-counts small{color:#94a3b8;font-size:7px;text-align:center}.ranked-arena-surrender-vote .is-yes{color:#86efac}.ranked-arena-surrender-vote .is-no{color:#fca5a5}.ranked-arena-surrender-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.ranked-arena-surrender-actions button{min-height:32px;border:1px solid rgba(148,163,184,.22);border-radius:7px;color:#cbd5e1;background:#0f172ac2;font-size:9px;font-weight:800;cursor:pointer}.ranked-arena-surrender-actions button:last-child{border-color:#f8717157;color:#fecaca;background:#7f1d1d5c}.ranked-arena-surrender-actions button:disabled{opacity:.55;cursor:default}.ranked-arena-surrender-vote>p{margin:1px 0 0;color:#cbd5e1;font-size:8px;text-align:center}.ranked-arena-surrender-vote~.ranked-arena-kill-feed{display:none}.ranked-arena-end-backdrop{--arena-result-color: #94a3b8;--arena-result-soft: rgba(100, 116, 139, .2);pointer-events:auto;position:absolute;top:0;right:0;bottom:0;left:0;z-index:130;display:grid;place-items:center;box-sizing:border-box;padding:calc(12px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) calc(12px + env(safe-area-inset-left));overflow:hidden;background:radial-gradient(circle at 50% 42%,var(--arena-result-soft),rgba(2,5,9,.94) 62%);-webkit-backdrop-filter:blur(9px) saturate(.75);backdrop-filter:blur(9px) saturate(.75)}.ranked-arena-end-backdrop.is-victory{--arena-result-color: #fbbf24;--arena-result-soft: rgba(180, 120, 20, .3)}.ranked-arena-end-backdrop.is-defeat{--arena-result-color: #f87171;--arena-result-soft: rgba(127, 29, 29, .32)}.ranked-arena-end-backdrop.is-draw{--arena-result-color: #a5b4fc;--arena-result-soft: rgba(67, 56, 202, .24)}.ranked-arena-end-dialog{position:relative;isolation:isolate;overflow:hidden auto;box-sizing:border-box;width:min(620px,100%);max-height:100%;display:flex;flex-direction:column;align-items:center;gap:11px;padding:23px 28px 20px;border:1px solid color-mix(in srgb,var(--arena-result-color) 48%,transparent);border-radius:22px;outline:none;background:linear-gradient(155deg,#191f2bfe,#06090ffe);box-shadow:0 30px 100px #000000d6,0 0 45px var(--arena-result-soft),inset 0 1px #ffffff0e;text-align:center;animation:ranked-arena-end-in .34s cubic-bezier(.2,.9,.25,1) both}.ranked-arena-end-dialog>*:not(.ranked-arena-end-rays){flex-shrink:0}@keyframes ranked-arena-end-in{0%{transform:translateY(14px) scale(.92);opacity:0}to{transform:none;opacity:1}}.ranked-arena-end-rays{position:absolute;z-index:-1;top:-180px;left:50%;width:500px;height:330px;transform:translate(-50%);border-radius:50%;background:repeating-conic-gradient(from 0deg,transparent 0 12deg,var(--arena-result-soft) 12deg 18deg);filter:blur(3px);opacity:.65;animation:ranked-arena-end-rays 18s linear infinite}@keyframes ranked-arena-end-rays{to{transform:translate(-50%) rotate(360deg)}}.ranked-arena-end-emblem{width:68px;height:68px;flex:0 0 68px;display:grid;place-items:center;border:2px solid var(--arena-result-color);border-radius:50%;color:var(--arena-result-color);background:#03070cbd;font-family:Georgia,Times New Roman,serif;font-size:34px;box-shadow:0 0 26px var(--arena-result-soft),inset 0 0 18px var(--arena-result-soft)}.ranked-arena-end-heading{display:flex;flex-direction:column;align-items:center;gap:3px}.ranked-arena-end-heading small{color:var(--arena-result-color);font-size:8px;font-weight:900;letter-spacing:.25em}.ranked-arena-end-heading h2{margin:0;color:#fff;font-family:Georgia,Times New Roman,serif;font-size:36px;line-height:1;text-shadow:0 0 18px var(--arena-result-soft)}.ranked-arena-end-heading p{max-width:450px;margin:3px 0 0;color:#cbd5e1;font-size:11px}.ranked-arena-end-score{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr);align-items:stretch;gap:8px}.ranked-arena-end-score>div{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 8px;border:1px solid rgba(148,163,184,.15);border-radius:11px;background:#02060c85}.ranked-arena-end-score>div>small{font-size:8px;font-weight:850;text-transform:uppercase}.ranked-arena-end-score>div>strong{color:#f8fafc;font-size:29px;font-variant-numeric:tabular-nums;line-height:1.1}.ranked-arena-end-score>div>span{color:#94a3b8;font-size:7px}.ranked-arena-end-score>.ranked-arena-end-team small{color:currentColor}.ranked-arena-end-score>.ranked-arena-end-versus{padding-inline:4px;border-color:color-mix(in srgb,var(--arena-result-color) 25%,transparent);background:var(--arena-result-soft)}.ranked-arena-end-versus b{color:var(--arena-result-color);font-size:21px;font-style:normal}.ranked-arena-end-versus span{overflow:hidden;max-width:100%;color:#e2e8f0!important;text-overflow:ellipsis;white-space:nowrap}.ranked-arena-end-meta{width:min(330px,100%);display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.ranked-arena-end-meta>span{display:flex;flex-direction:column;padding:7px 8px;border-radius:8px;background:#0f172aad}.ranked-arena-end-meta small{color:#94a3b8;font-size:7px;text-transform:uppercase}.ranked-arena-end-meta strong{color:#f8fafc;font-size:12px;font-variant-numeric:tabular-nums}.ranked-arena-end-continue{width:min(330px,100%);min-height:44px;flex:0 0 auto;font-size:11px}.ranked-arena-end-return-note{max-width:440px;color:#64748b;font-size:7px}.ranked-arena-ready-backdrop{pointer-events:auto;position:absolute;top:0;right:0;bottom:0;left:0;z-index:120;display:grid;place-items:center;padding:12px;background:radial-gradient(circle at 50% 45%,#5c371257,#020509e8 58%);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.ranked-arena-ready-dialog{position:relative;overflow:hidden auto;width:min(520px,calc(100% - 16px));max-height:calc(100% - 16px);display:flex;flex-direction:column;align-items:center;gap:10px;padding:24px;border:1px solid rgba(251,191,36,.42);border-radius:20px;outline:none;background:linear-gradient(155deg,#1e242ffe,#070b11fe);box-shadow:0 28px 90px #000c,inset 0 1px #ffffff0d;text-align:center;animation:ranked-arena-ready-in .2s ease-out}@keyframes ranked-arena-ready-in{0%{transform:scale(.94);opacity:0}to{transform:scale(1);opacity:1}}.ranked-arena-ready-glow{position:absolute;top:-100px;left:50%;width:340px;height:190px;transform:translate(-50%);border-radius:50%;background:#fbbf241c;filter:blur(36px);pointer-events:none}.ranked-arena-ready-kicker{position:relative;color:var(--ui-accent);font-size:9px;font-weight:850;letter-spacing:.24em}.ranked-arena-ready-dialog h2{position:relative;color:#fff7df;font-family:Georgia,Times New Roman,serif;font-size:27px;line-height:1.1}.ranked-arena-ready-dialog>p{position:relative;max-width:400px;color:var(--ui-muted);font-size:12px}.ranked-arena-ready-clock{position:relative;width:86px;height:86px;display:grid;place-items:center;margin:2px 0}.ranked-arena-ready-clock svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;transform:rotate(-90deg)}.ranked-arena-ready-clock circle{fill:none;stroke:#94a3b821;stroke-width:3}.ranked-arena-ready-clock circle:last-child{stroke:var(--ui-accent);stroke-linecap:round;stroke-dasharray:100;transition:stroke-dashoffset .1s linear}.ranked-arena-ready-clock strong{margin-top:-5px;color:#fff;font-size:28px;line-height:1}.ranked-arena-ready-clock span{position:absolute;bottom:19px;color:var(--ui-muted);font-size:8px;text-transform:uppercase}.ranked-arena-ready-clock-urgent strong{color:#fecaca}.ranked-arena-ready-clock-urgent circle:last-child{stroke:var(--ui-red)}.ranked-arena-ready-players{display:flex;justify-content:center;gap:5px;flex-wrap:wrap}.ranked-arena-ready-players span{width:25px;height:25px;display:grid;place-items:center;border:1px solid rgba(148,163,184,.18);border-radius:7px;color:#64748b;background:#03070c85;font-size:12px}.ranked-arena-ready-players span.accepted{border-color:#4ade8061;color:#86efac;background:#16653438}.ranked-arena-ready-count{color:#cbd5e1;font-size:11px}.ranked-arena-ready-actions{width:min(390px,100%);display:grid;grid-template-columns:minmax(100px,.75fr) minmax(160px,1.25fr);gap:9px;margin-top:3px}.ranked-arena-ready-actions .btn{min-height:44px}.ranked-arena-ready-response{width:min(390px,100%);padding:11px;border-radius:9px;font-size:11px}.ranked-arena-ready-response.accepted{color:#bbf7d0;background:#16653433;border:1px solid rgba(74,222,128,.25)}.ranked-arena-ready-response.declined{color:#fecaca;background:#7f1d1d33;border:1px solid rgba(248,113,113,.24)}.ranked-arena-ready-offline{color:#fca5a5}.ranked-arena-top-stack{pointer-events:none;position:absolute;top:calc(var(--hud-height) + var(--capture-launcher-height, 0px) + 10px + env(safe-area-inset-top));left:0;right:0;z-index:105;display:flex;flex-direction:column;align-items:center;gap:8px;padding:0 12px}.ranked-arena-notice{pointer-events:auto;position:relative;width:min(390px,100%);display:grid;grid-template-columns:1fr auto;gap:1px 12px;padding:10px 12px;border:1px solid rgba(96,165,250,.3);border-radius:11px;background:#0f172af7;box-shadow:0 10px 32px #0000008c;text-align:left}.ranked-arena-notice strong{color:#bfdbfe;font-size:11px}.ranked-arena-notice span{grid-column:1;color:#dbe4f0;font-size:10px}.ranked-arena-notice i{grid-column:2;grid-row:1 / 3;align-self:center;color:var(--ui-muted);font-style:normal}.ranked-arena-notice-warning{border-color:#fbbf2461}.ranked-arena-notice-warning strong{color:#fde68a}.ranked-arena-notice-error{border-color:#f8717166}.ranked-arena-notice-error strong{color:#fecaca}body.ui-mobile .panel-centered.panel-arena{width:min(720px,calc(100% - 2px))}body.ui-mobile .ranked-arena-panel{gap:8px}body.ui-mobile .ranked-arena-profile{grid-template-columns:minmax(165px,.75fr) minmax(240px,1.25fr);gap:8px;padding:10px}body.ui-mobile .ranked-arena-rank-emblem{width:50px;height:50px;flex-basis:50px;border-radius:14px 14px 20px 20px;font-size:25px}body.ui-mobile .ranked-arena-rank strong{font-size:17px}body.ui-mobile .ranked-arena-profile-stats>div{padding:5px 3px}body.ui-mobile .ranked-arena-profile-foot{padding-top:6px}body.ui-mobile .ranked-arena-queue-card{gap:8px;padding:9px}body.ui-mobile .ranked-arena-mode-icon{width:42px;height:42px;flex-basis:42px}body.ui-mobile .ranked-arena-rules span{padding:5px}body.ui-mobile .ranked-arena-natural-card{gap:6px;padding:8px}body.ui-mobile .ranked-arena-natural-head{grid-template-columns:42px minmax(110px,1fr) auto;gap:7px}body.ui-mobile .ranked-arena-natural-portrait{width:40px;height:40px;border-radius:9px}body.ui-mobile .ranked-arena-natural-title strong{font-size:13px}body.ui-mobile .ranked-arena-natural-roles>span{min-width:64px;padding:4px 6px}body.ui-mobile .ranked-arena-natural-stats{gap:4px}body.ui-mobile .ranked-arena-natural-stats>div{padding:4px 2px}body.ui-mobile .ranked-arena-natural-stats strong{font-size:12px}body.ui-mobile .ranked-arena-natural-rule{padding:5px 7px;font-size:8px}body.ui-mobile .ranked-arena-surrender-control{gap:6px;padding:7px 8px}body.ui-mobile .ranked-arena-surrender-control>.btn{min-width:120px;min-height:40px}body.ui-mobile .ranked-arena-surrender-confirm .btn{min-height:40px}body.ui-mobile .ranked-arena-queue-chip,body.ui-mobile .ranked-arena-match-chip{top:calc(46px + env(safe-area-inset-top));left:8px;min-height:40px;max-width:min(390px,calc(100% - 16px));padding:5px 7px}body.ui-mobile .ranked-arena-match-chip{left:50%}body.ui-mobile .ranked-arena-match-chip-inmatch{top:calc(6px + env(safe-area-inset-top))}body.ui-mobile .ranked-arena-combat-hud{top:calc(4px + env(safe-area-inset-top));width:calc(100% - 10px);min-height:56px;grid-template-columns:minmax(72px,.55fr) minmax(125px,1.4fr) 91px minmax(112px,.85fr);gap:5px;padding:5px 7px;border-radius:11px}body.ui-mobile .ranked-arena-combat-identity>img,body.ui-mobile .ranked-arena-combat-identity>span{width:38px;height:38px;flex-basis:38px;border-radius:9px}body.ui-mobile .ranked-arena-combat-identity{gap:4px}body.ui-mobile .ranked-arena-combat-identity-copy>small,body.ui-mobile .ranked-arena-combat-identity-copy>strong{display:none}body.ui-mobile .ranked-arena-natural-role-chip{max-width:44px;margin:0;padding-inline:3px;font-size:6px}body.ui-mobile .ranked-arena-natural-role-chip i,body.ui-mobile .ranked-arena-natural-role-chip em{display:none}body.ui-mobile .ranked-arena-combat-track{height:18px}body.ui-mobile .ranked-arena-combat-energy{height:10px}body.ui-mobile .ranked-arena-combat-xp{height:9px}body.ui-mobile .ranked-arena-combat-track>span{font-size:8px}body.ui-mobile .ranked-arena-combat-energy>span,body.ui-mobile .ranked-arena-combat-xp>span{font-size:6px}body.ui-mobile .ranked-arena-combat-score{gap:0 3px}body.ui-mobile .ranked-arena-combat-score>strong{gap:3px;font-size:14px}body.ui-mobile .ranked-arena-combat-progress{grid-template-columns:39px repeat(2,minmax(35px,1fr));gap:2px}body.ui-mobile .ranked-arena-level-medal{width:37px;height:37px}body.ui-mobile .ranked-arena-level-medal strong{font-size:16px;line-height:14px}body.ui-mobile .ranked-arena-combat-progress small{font-size:6px}body.ui-mobile .ranked-arena-combat-progress strong{font-size:9px}body.ui-mobile .ranked-arena-level-up{top:calc(69px + env(safe-area-inset-top));min-width:190px;padding:7px 10px}body.ui-mobile .ranked-arena-ready-backdrop{padding:5px}body.ui-mobile .ranked-arena-ready-dialog{width:min(600px,calc(100% - 6px));max-height:calc(100% - 6px);gap:6px;padding:10px 14px;border-radius:15px}body.ui-mobile .ranked-arena-ready-dialog h2{font-size:21px}body.ui-mobile .ranked-arena-ready-dialog>p{font-size:10px}body.ui-mobile .ranked-arena-ready-clock{width:65px;height:65px;margin:-2px 0}body.ui-mobile .ranked-arena-ready-clock strong{font-size:22px}body.ui-mobile .ranked-arena-ready-clock span{bottom:12px}body.ui-mobile .ranked-arena-ready-players span{width:21px;height:21px}body.ui-mobile .ranked-arena-ready-actions .btn{min-height:40px}body.ui-mobile .ranked-arena-notice{top:calc(46px + env(safe-area-inset-top))}body.ui-mobile .ranked-arena-surrender-vote{top:calc(102px + env(safe-area-inset-top));width:250px;gap:3px;padding:5px 7px 6px}body.ui-mobile .ranked-arena-surrender-actions button{min-height:40px}body.ui-mobile .ranked-arena-end-backdrop{padding:calc(4px + env(safe-area-inset-top)) calc(4px + env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) calc(4px + env(safe-area-inset-left))}body.ui-mobile .ranked-arena-end-dialog{width:min(680px,100%);gap:6px;padding:10px 16px 9px;border-radius:15px}body.ui-mobile .ranked-arena-end-emblem{width:43px;height:43px;flex-basis:43px;font-size:23px}body.ui-mobile .ranked-arena-end-heading{gap:1px}body.ui-mobile .ranked-arena-end-heading h2{font-size:25px}body.ui-mobile .ranked-arena-end-heading p{margin-top:1px;font-size:9px}body.ui-mobile .ranked-arena-end-score{grid-template-columns:minmax(0,1fr) 88px minmax(0,1fr);gap:5px}body.ui-mobile .ranked-arena-end-score>div{padding:5px 6px;border-radius:8px}body.ui-mobile .ranked-arena-end-score>div>strong{font-size:22px}body.ui-mobile .ranked-arena-end-meta>span{padding:4px 6px}body.ui-mobile .ranked-arena-end-continue{min-height:40px}body.ui-mobile .ranked-arena-combat-effects{top:calc(68px + env(safe-area-inset-top));right:8px;left:158px;width:auto;justify-content:flex-start;gap:3px;transform:none}body.ui-mobile .ranked-arena-combat-effects>span{max-width:116px;padding:2px 5px;font-size:7px}body.ui-mobile .ranked-arena-target-structure{min-width:0;width:min(220px,42vw);max-width:min(220px,42vw)!important;grid-template-columns:auto minmax(0,1fr) auto}body.ui-mobile .ranked-arena-target-structure>strong{display:none}body.ui-mobile .ranked-arena-target-structure>b{font-size:7px}body.ui-mobile .ranked-arena-target-structure>em{font-size:6px}body.ui-mobile .ranked-arena-tower-hud{top:calc(68px + env(safe-area-inset-top));right:auto;left:8px;width:142px;gap:2px;padding:3px 5px 4px}body.ui-mobile .ranked-arena-tower-hud>header>span{font-size:8px}body.ui-mobile .ranked-arena-tower-hud>header small{font-size:5px}body.ui-mobile .ranked-arena-tower-routes{gap:1px;padding-top:2px}body.ui-mobile .ranked-arena-tower-routes>div{grid-template-columns:1fr 30px 1fr;gap:3px}body.ui-mobile .ranked-arena-tower-pips{gap:2px}body.ui-mobile .ranked-arena-tower-pips>i{width:6px;height:6px;flex-basis:6px}body.ui-mobile .ranked-arena-statue-vitals{gap:3px;padding-top:3px}body.ui-mobile .ranked-arena-statue-vital{gap:1px 3px;padding:2px 3px}body.ui-mobile .ranked-arena-statue-vital>span:first-child>em{display:inline;font-size:5px}body.ui-mobile .ranked-arena-respawn{min-width:160px;padding:10px 18px;border-radius:14px}body.ui-mobile .ranked-arena-respawn>strong{width:54px;height:54px;font-size:26px}body.ui-mobile .ranked-arena-kill-feed{top:calc(92px + env(safe-area-inset-top));right:auto;left:8px;width:min(240px,44%);gap:2px}body.ui-mobile .ranked-arena-tower-hud~.ranked-arena-kill-feed{left:158px;width:min(220px,38%)}body.ui-mobile .ranked-arena-kill-feed>div{padding:3px 5px;font-size:7px}body.ui-mobile .ranked-arena-kill-feed>div:nth-child(n+4){display:none}.ui-root-arena-match .panel-modal-backdrop{top:0}@media (prefers-reduced-motion: reduce){.ranked-arena-spinner,.ranked-arena-button-spinner,.ranked-arena-pulse,.ranked-arena-ready-dialog,.ranked-arena-end-dialog,.ranked-arena-end-rays,.ranked-arena-level-up,.ranked-arena-respawn,.ranked-arena-combat-hp.is-low>div{animation:none}}.ranked-arena-shop-chip{position:absolute;top:calc(82px + env(safe-area-inset-top));right:12px;z-index:46;display:flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid rgba(148,163,184,.24);border-radius:8px;background:#040911e0;box-shadow:0 3px 9px #00000052;color:#e2e8f0;cursor:pointer;font-variant-numeric:tabular-nums}.ranked-arena-shop-chip.is-open{border-color:#facc158c;box-shadow:0 0 10px #facc1538}.ranked-arena-shop-chip>i{font-size:14px;font-style:normal}.ranked-arena-shop-chip>span{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15}.ranked-arena-shop-chip strong{color:#fbbf24;font-size:11px}.ranked-arena-shop-chip em{color:#94a3b8;font-size:8px;font-style:normal}.ranked-arena-shop{box-sizing:border-box;position:absolute;top:calc(78px + env(safe-area-inset-top));right:12px;z-index:60;display:flex;flex-direction:column;gap:7px;width:min(330px,calc(100vw - 24px));max-height:min(560px,calc(100vh - 140px));padding:9px 10px 10px;overflow:hidden auto;border:1px solid rgba(148,163,184,.26);border-radius:10px;background:#040911f2;box-shadow:0 8px 26px #00000080;color:#e2e8f0;font-variant-numeric:tabular-nums}.ranked-arena-shop>header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.ranked-arena-shop>header>div{display:flex;flex-direction:column;gap:1px}.ranked-arena-shop>header strong{font-size:12px}.ranked-arena-shop>header span{color:#94a3b8;font-size:9px}.ranked-arena-shop>header>button{padding:2px 6px;border:1px solid rgba(148,163,184,.28);border-radius:6px;background:transparent;color:#cbd5e1;cursor:pointer;font-size:10px}.ranked-arena-shop-warning{margin:0;padding:5px 7px;border:1px solid rgba(251,191,36,.35);border-radius:7px;background:#fbbf241a;color:#fde68a;font-size:9px}.ranked-arena-shop-undo{padding:6px 8px;border:1px solid rgba(96,165,250,.45);border-radius:7px;background:#3b82f629;color:#bfdbfe;cursor:pointer;font-size:9px;font-weight:700}.ranked-arena-shop-undo:disabled{opacity:.5;cursor:default}.ranked-arena-shop-tabs{display:flex;gap:4px}.ranked-arena-shop-tabs>button{flex:1;padding:4px 0;border:1px solid rgba(148,163,184,.22);border-radius:6px;background:transparent;color:#94a3b8;cursor:pointer;font-size:8px;font-weight:750;letter-spacing:.03em;text-transform:uppercase}.ranked-arena-shop-tabs>button.is-active{border-color:#facc1580;background:#facc151f;color:#fde68a}.ranked-arena-shop-catalog{display:flex;flex-direction:column;gap:4px;margin:0;padding:0;list-style:none}.ranked-arena-shop-catalog>li{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:7px;padding:5px 6px;border:1px solid rgba(148,163,184,.14);border-radius:7px;background:#0f172a99}.ranked-arena-shop-catalog img,.ranked-arena-shop-owned img{width:28px;height:28px;image-rendering:pixelated}.ranked-arena-shop-catalog>li>div{display:flex;flex-direction:column;gap:1px;min-width:0}.ranked-arena-shop-catalog strong{font-size:10px}.ranked-arena-shop-catalog span{color:#86efac;font-size:8px}.ranked-arena-shop-catalog small{overflow:hidden;color:#64748b;font-size:7px;text-overflow:ellipsis;white-space:nowrap}.ranked-arena-shop-catalog>li>button{padding:5px 8px;border:1px solid rgba(250,204,21,.4);border-radius:6px;background:#facc151f;color:#fbbf24;cursor:pointer;font-size:9px;font-weight:800}.ranked-arena-shop-catalog>li>button:disabled{border-color:#94a3b833;background:transparent;color:#64748b;cursor:default}.ranked-arena-shop-owned{display:flex;flex-direction:column;gap:4px;padding-top:6px;border-top:1px solid rgba(148,163,184,.16)}.ranked-arena-shop-owned h4{display:flex;align-items:baseline;gap:6px;margin:0;font-size:9px;letter-spacing:.04em;text-transform:uppercase}.ranked-arena-shop-owned h4>em{color:#86efac;font-size:8px;font-style:normal;letter-spacing:0;text-transform:none}.ranked-arena-shop-owned p{margin:0;color:#64748b;font-size:8px}.ranked-arena-shop-owned ul{display:flex;flex-direction:column;gap:3px;margin:0;padding:0;list-style:none}.ranked-arena-shop-owned li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:6px}.ranked-arena-shop-owned li>span{overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.ranked-arena-shop-owned li>button{padding:3px 7px;border:1px solid rgba(148,163,184,.28);border-radius:6px;background:transparent;color:#cbd5e1;cursor:pointer;font-size:8px}.ranked-arena-shop-owned li>button:disabled{opacity:.45;cursor:default}@media (max-width: 540px){body.ui-mobile .ranked-arena-shop{top:auto;right:6px;bottom:calc(96px + env(safe-area-inset-bottom));left:6px;width:auto;max-height:min(52vh,380px)}body.ui-mobile .ranked-arena-shop-chip{top:calc(74px + env(safe-area-inset-top));right:6px;padding:4px 7px}body.ui-mobile .ranked-arena-shop-catalog small{display:none}}.ranked-arena-end-rating{display:flex;flex-direction:column;gap:2px;margin-top:8px;padding:8px 10px;border:1px solid rgba(148,163,184,.24);border-radius:9px;background:#0f172a9e;text-align:center;font-variant-numeric:tabular-nums}.ranked-arena-end-rating.is-promoted{border-color:#4ade8080;background:#22c55e1f}.ranked-arena-end-rating.is-demoted{border-color:#f8717180;background:#ef44441f}.ranked-arena-end-rating.is-placement{border-color:#60a5fa73;background:#3b82f61f}.ranked-arena-end-rating>strong{display:flex;align-items:baseline;justify-content:center;gap:7px;font-size:15px}.ranked-arena-end-rating>strong>em{color:#94a3b8;font-size:10px;font-style:normal}.ranked-arena-end-rating>span{color:#cbd5e1;font-size:10px}.ranked-arena-end-rating>small{color:#94a3b8;font-size:9px}.ranked-arena-end-rating.is-promoted>strong{color:#86efac}.ranked-arena-end-rating.is-demoted>strong{color:#fca5a5}.ranked-arena-score-chip{position:absolute;top:calc(122px + env(safe-area-inset-top));right:12px;z-index:45;display:flex;align-items:center;gap:5px;padding:4px 8px;border:1px solid rgba(148,163,184,.24);border-radius:8px;background:#040911e0;color:#cbd5e1;cursor:pointer;font-size:9px;font-weight:750}.ranked-arena-score-chip>i{font-style:normal}.ranked-arena-scoreboard{box-sizing:border-box;position:absolute;top:50%;left:50%;z-index:70;width:min(620px,calc(100vw - 24px));max-height:min(70vh,560px);padding:10px 12px 8px;overflow:auto;transform:translate(-50%,-50%);border:1px solid rgba(148,163,184,.28);border-radius:11px;background:#040911f5;box-shadow:0 10px 34px #0000008c;color:#e2e8f0;font-variant-numeric:tabular-nums}.ranked-arena-scoreboard>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.ranked-arena-scoreboard>header>strong{font-size:17px}.ranked-arena-scoreboard>header>button{padding:2px 7px;border:1px solid rgba(148,163,184,.28);border-radius:6px;background:transparent;color:#cbd5e1;cursor:pointer;font-size:10px}.ranked-arena-scoreboard table{width:100%;border-collapse:collapse}.ranked-arena-scoreboard thead th{padding:3px 5px;border-bottom:1px solid rgba(148,163,184,.2);color:#94a3b8;font-size:8px;font-weight:750;letter-spacing:.04em;text-align:right;text-transform:uppercase}.ranked-arena-scoreboard thead th:first-child{text-align:left}.ranked-arena-scoreboard tbody{border-bottom:1px solid rgba(148,163,184,.12)}.ranked-arena-scoreboard tbody th{display:flex;align-items:baseline;gap:5px;padding:5px;font-size:10px;font-weight:500;text-align:left}.ranked-arena-scoreboard tbody th>b{color:#f8fafc}.ranked-arena-scoreboard tbody th>small{color:#64748b;font-size:8px}.ranked-arena-scoreboard tbody td{padding:5px;font-size:10px;text-align:right}.ranked-arena-scoreboard tr.is-self{background:#94a3b81a}.ranked-arena-scoreboard tr.is-mvp th>b{color:#fbbf24}.ranked-arena-score-dot{width:12px;height:12px;flex:0 0 12px;display:grid;place-items:center;border-radius:50%;font-size:8px;line-height:1}.ranked-arena-score-mvp{padding:1px 4px;border-radius:4px;background:#facc152e;color:#fbbf24;font-size:7px;font-style:normal;font-weight:850;letter-spacing:.06em}.ranked-arena-scoreboard>footer{margin-top:6px;color:#64748b;font-size:8px;text-align:center}@media (max-width: 540px){body.ui-mobile .ranked-arena-score-chip{top:calc(112px + env(safe-area-inset-top));right:6px}body.ui-mobile .ranked-arena-scoreboard{width:calc(100vw - 12px);padding:8px}body.ui-mobile .ranked-arena-scoreboard thead th:nth-child(4),body.ui-mobile .ranked-arena-scoreboard tbody td:nth-child(4),body.ui-mobile .ranked-arena-scoreboard thead th:nth-child(7),body.ui-mobile .ranked-arena-scoreboard tbody td:nth-child(7){display:none}}.ranked-arena-end-reward{display:flex;flex-direction:column;gap:2px;margin-top:6px;padding:7px 10px;border:1px solid rgba(250,204,21,.4);border-radius:9px;background:#facc151a;text-align:center;font-variant-numeric:tabular-nums}.ranked-arena-end-reward>strong{color:#fbbf24;font-size:14px}.ranked-arena-end-reward>span{color:#cbd5e1;font-size:10px}.ranked-arena-end-reward>small{color:#94a3b8;font-size:9px}.ranked-arena-cosmetics{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.ranked-arena-cosmetics>li{padding:3px 7px;border:1px solid rgba(250,204,21,.32);border-radius:999px;background:#facc151a;color:#fde68a;font-size:8px;font-weight:700;list-style:none}@media (max-width: 540px){body.ui-mobile .ranked-arena-natural-head{grid-template-columns:38px minmax(92px,1fr)}body.ui-mobile .ranked-arena-natural-portrait{width:36px;height:36px}body.ui-mobile .ranked-arena-natural-roles{grid-column:1 / -1;justify-content:stretch}body.ui-mobile .ranked-arena-natural-roles>span{flex:1;min-width:0}body.ui-mobile .ranked-arena-natural-stats{grid-template-columns:repeat(3,minmax(48px,1fr))}body.ui-mobile .ranked-arena-natural-rule{align-items:start}body.ui-mobile .ranked-arena-combat-hud{grid-template-columns:66px minmax(96px,1fr) 78px 84px;gap:3px;padding-inline:5px}body.ui-mobile .ranked-arena-combat-identity>img,body.ui-mobile .ranked-arena-combat-identity>span{width:34px;height:34px;flex-basis:34px}body.ui-mobile .ranked-arena-combat-score>span{display:none}body.ui-mobile .ranked-arena-combat-score>strong{grid-column:1 / -1}body.ui-mobile .ranked-arena-combat-progress{grid-template-columns:35px repeat(2,minmax(22px,1fr))}body.ui-mobile .ranked-arena-level-medal{width:33px;height:33px}body.ui-mobile .ranked-arena-combat-progress small{letter-spacing:0}}.ranked-arena-draft-backdrop{pointer-events:auto;position:absolute;top:0;right:0;bottom:0;left:0;z-index:120;display:grid;place-items:center;padding:12px;background:radial-gradient(circle at 50% 40%,#1e3a5c66,#020509eb 60%);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.ranked-arena-draft-panel{width:min(720px,calc(100% - 16px));max-height:calc(100% - 16px);overflow:hidden auto;display:flex;flex-direction:column;gap:14px;padding:20px;border:1px solid rgba(78,161,255,.4);border-radius:18px;background:linear-gradient(155deg,#1e242ffe,#070b11fe);box-shadow:0 28px 90px #000c,inset 0 1px #ffffff0d;animation:ranked-arena-ready-in .2s ease-out}.ranked-arena-draft-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.ranked-arena-draft-head h2{color:#eaf3ff;font-family:Georgia,Times New Roman,serif;font-size:24px;line-height:1.1}.ranked-arena-draft-head p{max-width:460px;color:var(--ui-muted);font-size:11px;margin-top:4px}.ranked-arena-draft-clock{position:relative;width:74px;height:74px;flex:none;display:grid;place-items:center}.ranked-arena-draft-clock svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;transform:rotate(-90deg)}.ranked-arena-draft-clock circle{fill:none;stroke:#94a3b821;stroke-width:3}.ranked-arena-draft-clock circle:last-child{stroke:#4ea1ff;stroke-linecap:round;stroke-dasharray:100;transition:stroke-dashoffset .1s linear}.ranked-arena-draft-clock strong{margin-top:-4px;color:#fff;font-size:24px;line-height:1}.ranked-arena-draft-clock span{position:absolute;bottom:15px;color:var(--ui-muted);font-size:7px;text-transform:uppercase}.ranked-arena-draft-clock.urgent strong{color:#fecaca}.ranked-arena-draft-clock.urgent circle:last-child{stroke:var(--ui-red)}.ranked-arena-draft-teams{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ranked-arena-draft-team h3{font-size:11px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:6px}.ranked-arena-draft-team h3{color:var(--arena-team-color, currentColor)}.ranked-arena-draft-team ul{display:flex;flex-direction:column;gap:6px}.ranked-arena-draft-team li{display:grid;grid-template-columns:34px 1fr 20px;align-items:center;gap:8px;padding:6px 8px;border:1px solid rgba(148,163,184,.16);border-radius:9px;background:#03070c80}.ranked-arena-draft-team li.self{border-color:#8ff0a466;background:#16653429}.ranked-arena-draft-slot{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--arena-team-color, currentColor);border-radius:8px;background:#94a3b81a;color:var(--arena-team-color, currentColor);font-size:11px;font-weight:800}.ranked-arena-draft-slot img{width:32px;height:32px;object-fit:contain;image-rendering:pixelated}.ranked-arena-draft-slot-copy{display:flex;flex-direction:column;min-width:0}.ranked-arena-draft-slot-copy strong{color:#e8eefc;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ranked-arena-draft-slot-copy small{color:var(--ui-muted);font-size:9px}.ranked-arena-draft-lock{text-align:center;color:#64748b;font-size:13px}.ranked-arena-draft-lock.locked{color:#86efac}.ranked-arena-draft-pool{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:6px;max-height:220px;overflow:auto;padding:4px;border-top:1px solid rgba(148,163,184,.12)}.ranked-arena-draft-pool-item{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 4px;border:1px solid rgba(148,163,184,.16);border-radius:8px;background:#03070c80;cursor:pointer}.ranked-arena-draft-pool-item span{width:30px;height:30px;display:grid;place-items:center;border-radius:7px;background:#4ea1ff1f;color:#cfe4ff;font-size:11px;font-weight:800}.ranked-arena-draft-pool-item span img{width:30px;height:30px;object-fit:contain;image-rendering:pixelated}.ranked-arena-draft-pool-item small{color:var(--ui-muted);font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.ranked-arena-draft-pool-item.selected{border-color:#8ff0a480;background:#16653433}.ranked-arena-draft-pool-item.taken{opacity:.5}.ranked-arena-draft-pool-item:disabled{cursor:default;opacity:.55}.ranked-arena-draft-actions{display:flex;flex-direction:column;align-items:center;gap:8px}.ranked-arena-draft-actions .btn{min-height:44px;width:min(320px,100%)}body.ui-mobile .ranked-arena-draft-panel{width:min(760px,calc(100% - 6px));max-height:calc(100% - 6px);gap:8px;padding:10px 12px}body.ui-mobile .ranked-arena-draft-head{gap:8px}body.ui-mobile .ranked-arena-draft-head h2{font-size:18px}body.ui-mobile .ranked-arena-draft-head p{display:none}body.ui-mobile .ranked-arena-draft-clock{width:52px;height:52px}body.ui-mobile .ranked-arena-draft-clock strong{font-size:18px}body.ui-mobile .ranked-arena-draft-clock span{bottom:9px}body.ui-mobile .ranked-arena-draft-teams{grid-template-columns:1fr;gap:6px}body.ui-mobile .ranked-arena-draft-team h3{margin-bottom:3px}body.ui-mobile .ranked-arena-draft-team ul{gap:4px}body.ui-mobile .ranked-arena-draft-team li{min-height:44px;padding:4px 7px}body.ui-mobile .ranked-arena-draft-pool{grid-template-columns:repeat(auto-fill,minmax(58px,1fr));max-height:min(28vh,145px);gap:5px}body.ui-mobile .ranked-arena-draft-pool-item{padding:4px 3px}body.ui-mobile .ranked-arena-draft-actions .btn{min-height:38px}.ranked-arena-minimap{position:absolute;right:10px;bottom:96px;z-index:90;padding:4px;border:1px solid rgba(78,161,255,.3);border-radius:10px;background:#02050999;box-shadow:0 8px 24px #00000080;pointer-events:none}.ranked-arena-minimap canvas{display:block;width:168px;height:168px;border-radius:7px}body.ui-mobile .ranked-arena-minimap{right:6px;bottom:78px}body.ui-mobile .ranked-arena-minimap canvas{width:116px;height:116px}.ranked-arena-suspension{pointer-events:auto;position:relative;width:min(440px,100%);display:flex;align-items:flex-start;gap:10px;padding:10px 14px;border:1px solid rgba(248,113,113,.5);border-radius:12px;background:linear-gradient(155deg,#3c1418f7,#14080afa);box-shadow:0 12px 34px #0000008c}.ranked-arena-suspension-icon{font-size:20px;line-height:1.2}.ranked-arena-suspension-copy{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}.ranked-arena-suspension-copy strong{color:#fecaca;font-size:12px}.ranked-arena-suspension-copy span{color:#f3c9c9;font-size:10px;line-height:1.35}.ranked-arena-suspension-close{flex:0 0 auto;width:24px;height:24px;margin:-3px -6px 0 0;display:grid;place-items:center;padding:0;border:1px solid rgba(248,113,113,.28);border-radius:7px;background:#00000040;color:#fecaca;font-size:11px;line-height:1;cursor:pointer}.ranked-arena-suspension-close:hover{border-color:#f8717199;background:#7f1d1d73}body.ui-mobile .ranked-arena-top-stack{top:calc(var(--hud-height) + var(--capture-launcher-height, 0px) + 8px + env(safe-area-inset-top));gap:6px;padding:0 8px}body.ui-mobile .ranked-arena-suspension{padding:9px 11px}body.ui-mobile .ranked-arena-suspension-close{width:28px;height:28px;margin:-2px -4px 0 0}.ranked-arena-end-report{width:min(440px,100%);margin-top:6px;padding:12px;border:1px solid rgba(148,163,184,.2);border-radius:12px;background:#03070c80;text-align:left}.ranked-arena-end-report>strong{display:block;margin-bottom:8px;color:#e8eefc;font-size:12px}.ranked-arena-end-report .row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.82fr) auto;align-items:center;gap:6px}.ranked-arena-end-report .input{min-width:0;height:32px;padding:4px 8px;border-radius:7px;background:#0a101ce6;color:#e8eefc;border:1px solid rgba(148,163,184,.28);font-size:11px}.ranked-arena-end-report .btn{flex:0 0 auto;border:1px solid rgba(248,113,113,.32);background:#3c141859;color:#fecaca}body.ui-mobile .ranked-arena-end-report{width:min(420px,100%);padding:8px}body.ui-mobile .ranked-arena-end-report>strong{margin-bottom:5px}body.ui-mobile .ranked-arena-end-report .row{grid-template-columns:minmax(0,1fr) minmax(0,.8fr) auto;gap:5px}body.ui-mobile .ranked-arena-end-report .input{width:100%;height:30px;min-height:30px;font-size:10px}body.ui-mobile .ranked-arena-end-report .btn{min-height:30px;padding:4px 9px}@media (max-width: 460px){body.ui-mobile .ranked-arena-end-report .row{grid-template-columns:1fr 1fr}body.ui-mobile .ranked-arena-end-report .btn{grid-column:1 / -1;justify-self:center}}:root{color-scheme:dark}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{width:100%;height:100%;min-height:0}body{background:#0b0e14;color:#e5e7eb;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:15px;line-height:1.4;overflow:hidden;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}input,textarea,select{-webkit-user-select:text;user-select:text;font:inherit;color:inherit}button{font:inherit;color:inherit;background:none;border:none;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85em}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.landing-shell{position:relative;width:100%;height:100%;min-height:100%;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;isolation:isolate;background:linear-gradient(90deg,#05070bf0,#080b11b8 48%,#07090ee6),radial-gradient(circle at 18% 38%,rgba(180,83,9,.28),transparent 30%),radial-gradient(circle at 80% 70%,rgba(113,63,18,.2),transparent 27%),linear-gradient(145deg,#15100b,#090c12 48%,#121720)}.landing-shell:before,.landing-shell:after{content:"";position:fixed;z-index:-1;pointer-events:none}.landing-shell:before{top:0;right:0;bottom:0;left:0;opacity:.22;background-image:linear-gradient(30deg,transparent 48%,rgba(251,191,36,.08) 49%,transparent 51%),linear-gradient(150deg,transparent 48%,rgba(251,191,36,.05) 49%,transparent 51%);background-size:64px 64px;-webkit-mask-image:linear-gradient(to bottom,black,transparent 88%);mask-image:linear-gradient(to bottom,black,transparent 88%)}.landing-shell:after{width:520px;height:520px;right:-180px;bottom:-260px;border:1px solid rgba(251,191,36,.12);border-radius:50%;box-shadow:0 0 0 80px #b4530906,0 0 0 160px #b4530905}.landing-header{position:sticky;top:0;z-index:20;min-height:68px;padding:10px clamp(16px,4vw,56px);display:flex;align-items:center;justify-content:space-between;gap:24px;background:#080b11c7;border-bottom:1px solid rgba(148,163,184,.14);box-shadow:0 14px 36px #00000038;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.landing-brand{color:#f8fafc;display:flex;align-items:center;gap:11px;text-decoration:none;min-width:max-content}.landing-brand-mark{width:39px;height:43px;display:grid;place-items:center;color:#fff4c2;font-family:Georgia,serif;font-size:.78rem;font-weight:800;background:linear-gradient(145deg,#d97706,#7c2d12);border:1px solid #fbbf24;clip-path:polygon(50% 0,95% 15%,88% 75%,50% 100%,12% 75%,5% 15%);filter:drop-shadow(0 4px 8px rgba(0,0,0,.5))}.landing-brand strong,.landing-brand small{display:block}.landing-brand strong{font-family:Georgia,Times New Roman,serif;font-size:1.08rem;letter-spacing:.025em}.landing-brand small{margin-top:1px;color:#a8a29e;font-size:.63rem;letter-spacing:.2em;text-transform:uppercase}.landing-actions,.social-links,.online-pill,.language-picker,.landing-wiki,.landing-whitepaper,.landing-logout{display:flex;align-items:center}.landing-actions{gap:12px}.online-pill{min-height:38px;gap:7px;padding:0 13px;border:1px solid rgba(74,222,128,.18);border-radius:999px;background:#14532d29;color:#a7f3d0;font-size:.76rem}.online-pill strong{color:#f0fdf4;font-size:.88rem}.online-dot{width:7px;height:7px;border-radius:50%;background:#4ade80;box-shadow:0 0 10px #22c55e}.social-links{gap:4px}.social-links a,.language-picker,.landing-wiki,.landing-whitepaper,.landing-logout{height:38px;border:1px solid rgba(148,163,184,.15);border-radius:9px;background:#0f172a94;color:#cbd5e1}.social-links a{width:38px;display:grid;place-items:center;transition:color .14s ease,border-color .14s ease,transform .14s ease}.social-links a:hover:not([aria-disabled=true]){color:#fbbf24;border-color:#fbbf2473;transform:translateY(-1px)}.social-links a[aria-disabled=true]{opacity:.42;cursor:default}.social-links svg,.language-picker svg,.landing-wiki svg,.landing-whitepaper svg,.landing-logout svg{width:18px;height:18px;fill:currentColor}.language-picker{gap:5px;padding:0 8px 0 10px}.language-picker select{border:0;outline:0;background:transparent;color:#e2e8f0;font-size:.78rem;font-weight:700;cursor:pointer}.language-picker option{background:#111827}.landing-wiki,.landing-whitepaper{gap:7px;padding:0 12px;font-size:.8rem;font-weight:650;text-decoration:none;transition:color .14s ease,border-color .14s ease,background .14s ease}.landing-whitepaper{color:#f5d78e}.landing-whitepaper:hover{color:#fff4c2;border-color:#fbbf2466;background:#78350f4d}.landing-wiki{color:#9fdcea}.landing-wiki:hover{color:#d8f5fd;border-color:#38bdf86b;background:#0c4a6e52}.landing-logout{gap:7px;padding:0 12px;font-size:.8rem}.landing-logout:hover{color:#fecaca;border-color:#f8717161}.dex-screen-wrap{display:grid;place-items:center;min-height:calc(100vh - 68px);padding:clamp(18px,5vh,54px) clamp(14px,4vw,40px)}.dex-shell{--shell-hi: #2b313d;--shell: #1d222c;--shell-lo: #12161d;--edge: rgba(255, 255, 255, .075);--red: #e03546;--red-lo: #8d1522;--cyan: #4ec8ea;--glass: #06140f;--glass-ink: #dff8ea;--glass-dim: #6d9b88;position:relative;width:min(1010px,100%);display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);padding:clamp(20px,2.4vw,28px);padding-top:clamp(30px,3.4vw,42px);border:1px solid var(--edge);border-radius:24px;background:linear-gradient(168deg,var(--shell-hi),var(--shell) 45%,var(--shell-lo));box-shadow:0 44px 96px #00000094,inset 0 1px #ffffff12,inset 0 -3px #00000073}.dex-shell:before{content:"";position:absolute;inset:0 0 auto;height:11px;border-radius:23px 23px 0 0;background:linear-gradient(180deg,var(--red),var(--red-lo));box-shadow:0 1px #0000008c}.dex-half{min-width:0;display:flex}.dex-half-left{padding-right:clamp(10px,1.6vw,18px)}.dex-half-right{padding-left:clamp(10px,1.6vw,18px)}.dex-hinge{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;border-left:1px solid rgba(0,0,0,.5);border-right:1px solid rgba(255,255,255,.045)}.dex-hinge i{width:9px;height:9px;border-radius:50%;background:radial-gradient(circle at 32% 28%,#4d5462,#13171e 72%);box-shadow:inset 0 1px #fff3}.dex-device{flex:1;min-width:0;display:flex;flex-direction:column;gap:14px}.dex-lights{display:flex;align-items:center;gap:10px}.dex-lens{width:46px;height:46px;border-radius:50%;border:3px solid #eef2f6;background:radial-gradient(circle at 34% 27%,#d5f4ff,#5ccbee 26%,#1b80a7 62%,#0a3a51);box-shadow:0 4px 16px #4ec8ea59,inset 0 0 14px #ffffff52;animation:dex-lens-pulse 3.4s ease-in-out infinite}@keyframes dex-lens-pulse{0%,to{box-shadow:0 4px 16px #4ec8ea4d,inset 0 0 14px #ffffff4d}50%{box-shadow:0 4px 22px #4ec8ea99,inset 0 0 16px #ffffff73}}.dex-bulb{width:12px;height:12px;border-radius:50%;border:1px solid rgba(0,0,0,.4)}.dex-bulb-red{background:radial-gradient(circle at 34% 30%,#ff8f96,#d02334 70%);box-shadow:0 0 9px #e03546a6;animation:dex-blink 2.6s steps(1,end) infinite}.dex-bulb-amber{background:radial-gradient(circle at 34% 30%,#ffe08a,#d99411 70%);box-shadow:0 0 8px #d9941180}.dex-bulb-green{background:radial-gradient(circle at 34% 30%,#a7f3b6,#22a34a 70%);box-shadow:0 0 8px #22a34a80}@keyframes dex-blink{0%,74%{opacity:1}75%,to{opacity:.32}}.dex-screen{position:relative;flex:1;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(0,0,0,.62);border-radius:14px;background:radial-gradient(120% 92% at 50% 0%,#0e2a1c,var(--glass) 72%);box-shadow:inset 0 3px 20px #000000c7,0 0 0 3px #ffffff07}.dex-scan{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:.5;background:repeating-linear-gradient(180deg,rgba(255,255,255,.04) 0 1px,transparent 1px 3px)}.dex-stage{position:relative;flex:1;min-height:clamp(168px,25vh,244px);display:grid;place-items:center;padding:18px}.dex-sprite{width:clamp(96px,14vw,148px);height:auto;image-rendering:pixelated;filter:drop-shadow(0 10px 18px rgba(0,0,0,.6));animation:dex-sprite-in .34s cubic-bezier(.2,.8,.3,1) both}@keyframes dex-sprite-in{0%{opacity:0;transform:translateY(9px) scale(.95)}to{opacity:1;transform:none}}.dex-shiny-tag{position:absolute;top:12px;right:12px;padding:3px 9px;border-radius:999px;border:1px solid rgba(251,191,36,.5);background:#7853086b;color:#fde68a;font-size:.63rem;font-weight:800;letter-spacing:.14em}.dex-readout{position:relative;display:flex;flex-direction:column;gap:7px;padding:13px 16px 15px;border-top:1px solid rgba(109,155,136,.24);background:linear-gradient(180deg,#0000002e,#0000006b)}.dex-number{color:var(--glass-dim);font-size:.72rem;font-weight:700;letter-spacing:.19em;font-variant-numeric:tabular-nums}.dex-name{color:var(--glass-ink);font-size:clamp(1.15rem,2.2vw,1.5rem);font-weight:750;line-height:1.1}.dex-types{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}.dex-type{padding:3px 11px;border-radius:999px;font-size:.7rem;font-weight:750;letter-spacing:.055em;box-shadow:inset 0 1px #ffffff38,0 1px 3px #0006}.dex-idle{flex:1;display:grid;place-items:center;min-height:clamp(200px,30vh,300px);color:var(--glass-dim);font-size:.78rem;font-weight:700;letter-spacing:.24em}.dex-controls{display:flex;align-items:center;gap:8px}.dex-key{width:38px;height:34px;display:grid;place-items:center;border-radius:8px;border:1px solid rgba(0,0,0,.5);background:linear-gradient(180deg,#39404e,#232935);color:#cbd5e1;font-size:.8rem;box-shadow:inset 0 1px #ffffff1c,0 2px #0000006b;transition:transform 90ms ease,color .14s ease,background .14s ease}.dex-key:hover:not(:disabled){color:#fff;background:linear-gradient(180deg,#454d5d,#2a313e)}.dex-key:active:not(:disabled){transform:translateY(2px);box-shadow:inset 0 1px #ffffff14,0 0 #0000}.dex-key:disabled{opacity:.4;cursor:not-allowed}.dex-key-shiny.on{color:#fde68a;border-color:#fbbf248c;background:linear-gradient(180deg,#6b4c10,#4a340a)}.dex-count{margin-left:auto;color:#7c8698;font-size:.72rem;letter-spacing:.05em}.dex-count strong{color:#cbd5e1;font-variant-numeric:tabular-nums}.dex-panel{flex:1;min-width:0;display:flex;flex-direction:column;gap:14px}.dex-panel-head h1{color:#f1f5f9;font-size:clamp(1.4rem,2.6vw,1.85rem);font-weight:800;letter-spacing:-.015em;line-height:1.1}.dex-status{display:flex;align-items:center;gap:7px;margin-top:5px;color:#7c8698;font-size:.78rem}.dex-status-dot{width:7px;height:7px;border-radius:50%;background:#64748b}.dex-status.on .dex-status-dot{background:#4ade80;box-shadow:0 0 9px #4ade80cc}.dex-tabs{display:flex;gap:6px;padding:4px;border-radius:11px;border:1px solid rgba(0,0,0,.45);background:#06090e8c}.dex-tab{flex:1;padding:9px 0;border-radius:8px;color:#8b93a7;font-size:.86rem;font-weight:700;transition:color .14s ease,background .14s ease}.dex-tab:hover:not(:disabled):not(.active){color:#cbd5e1}.dex-tab.active{color:#fff;background:linear-gradient(180deg,var(--red),var(--red-lo));box-shadow:inset 0 1px #ffffff38,0 2px 8px #e0354652}.dex-tab:disabled{opacity:.55;cursor:not-allowed}.dex-panel .field input:focus{border-color:var(--red);box-shadow:0 0 0 3px #e0354629}.dex-panel .btn-primary{background:linear-gradient(180deg,var(--red),var(--red-lo));border-color:#00000073;color:#fff;font-weight:750;letter-spacing:.02em}.dex-panel .btn-primary:hover:not(:disabled){filter:brightness(1.1)}.dex-links{display:flex;flex-direction:column;gap:6px;margin-top:auto;padding-top:4px}.dex-link{color:#7c8698;font-size:.78rem;text-decoration:none;transition:color .14s ease}.dex-link:hover{color:var(--cyan)}@media (prefers-reduced-motion: reduce){.dex-lens,.dex-bulb-red,.dex-sprite{animation:none}}@media (max-width: 860px){.dex-shell{grid-template-columns:minmax(0,1fr);gap:16px}.dex-half-left,.dex-half-right{padding:0}.dex-hinge{flex-direction:row;gap:16px;padding:2px 0;border:0;border-top:1px solid rgba(0,0,0,.5);border-bottom:1px solid rgba(255,255,255,.045)}}.tabs{display:flex;border-bottom:1px solid #232b3d}.tab{flex:1;padding:10px 0;color:#8b93a7;border-bottom:2px solid transparent}.tab.active{color:#e5e7eb;border-bottom-color:#fbbf24}.auth-form{display:flex;flex-direction:column;gap:12px}.field{display:flex;flex-direction:column;gap:4px;font-size:.85rem;color:#8b93a7}.field input,.field select{background:#05080dbd;border:1px solid #2c3548;border-radius:9px;padding:11px 12px;outline:none;width:100%}.field input:focus,.field select:focus{border-color:#fbbf24}.field input[aria-invalid=true]{border-color:#dc2626}.field input:disabled,.field select:disabled{opacity:.55;cursor:not-allowed}.field-error{color:#fca5a5;font-size:.78rem}.field-password{position:relative;display:flex}.field-password input{padding-right:40px}.field-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;font-size:1rem;line-height:1;opacity:.75}.field-toggle:hover:not(:disabled){opacity:1;background:#ffffff0f}.tab:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:linear-gradient(135deg,#c35d0b,#92400e);border:1px solid rgba(251,191,36,.28);border-radius:9px;padding:12px 16px;font-weight:600;color:#fff;display:flex;align-items:center;justify-content:center;gap:8px}.btn-primary:not(:disabled):hover{background:linear-gradient(135deg,#e07112,#a84a0d)}@media (max-width: 850px){.landing-header{gap:10px}.online-pill span:last-child,.landing-wiki span,.landing-whitepaper span,.landing-logout span,.landing-brand small{display:none}.dex-screen-wrap{align-items:start;padding-top:26px}}@media (max-width: 560px){.landing-header{min-height:58px;padding:8px 10px}.landing-brand strong,.social-links{display:none}.landing-brand-mark{width:34px;height:38px}.landing-actions{gap:6px}.online-pill,.language-picker,.landing-wiki,.landing-whitepaper,.landing-logout{height:34px}.landing-wiki,.landing-whitepaper,.landing-logout{padding:0 9px}.dex-screen-wrap{min-height:calc(100vh - 58px);padding:22px 12px 34px}}body.ui-mobile .landing-header{min-height:56px;padding:7px max(10px,env(safe-area-inset-left)) 7px max(10px,env(safe-area-inset-right));gap:8px}body.ui-mobile .landing-brand-mark{width:34px;height:38px;flex:0 0 34px}body.ui-mobile .landing-brand small,body.ui-mobile .online-pill span:last-child,body.ui-mobile .landing-wiki span,body.ui-mobile .landing-whitepaper span,body.ui-mobile .landing-logout span{display:none}body.ui-mobile .landing-actions{gap:6px;min-width:0}body.ui-mobile .online-pill,body.ui-mobile .language-picker,body.ui-mobile .landing-wiki,body.ui-mobile .landing-whitepaper,body.ui-mobile .landing-logout,body.ui-mobile .social-links a{height:36px}body.ui-mobile .online-pill{padding:0 10px}body.ui-mobile .landing-wiki,body.ui-mobile .landing-whitepaper,body.ui-mobile .landing-logout{padding:0 9px}body.ui-mobile .dex-screen-wrap{min-height:calc(100dvh - 56px);padding:20px max(12px,env(safe-area-inset-right)) 34px max(12px,env(safe-area-inset-left))}body.ui-mobile .dex-roster{grid-template-columns:repeat(auto-fill,minmax(214px,1fr));gap:12px}@media (orientation: landscape) and (max-height: 620px){body.ui-mobile .landing-header{position:sticky;min-height:52px;padding-top:5px;padding-bottom:5px}body.ui-mobile .landing-brand small,body.ui-mobile .social-links{display:none}body.ui-mobile .landing-brand strong{font-size:.92rem}body.ui-mobile .landing-brand-mark{width:31px;height:34px;flex-basis:31px}body.ui-mobile .online-pill,body.ui-mobile .language-picker,body.ui-mobile .landing-whitepaper,body.ui-mobile .landing-logout{height:34px}body.ui-mobile .dex-screen-wrap{min-height:calc(100dvh - 52px);padding-top:12px;padding-bottom:18px}body.ui-mobile .dex-shell{grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:0;padding:20px 16px 14px;border-radius:18px}body.ui-mobile .dex-half-left{padding-right:12px}body.ui-mobile .dex-half-right{padding-left:12px}body.ui-mobile .dex-hinge{flex-direction:column;gap:12px;padding:0;border-top:0;border-bottom:0;border-left:1px solid rgba(0,0,0,.5);border-right:1px solid rgba(255,255,255,.045)}body.ui-mobile .dex-stage{min-height:104px;padding:10px}body.ui-mobile .dex-sprite{width:82px}body.ui-mobile .dex-lens{width:32px;height:32px;border-width:2px}body.ui-mobile .dex-device,body.ui-mobile .dex-panel{gap:9px}body.ui-mobile .auth-form{gap:8px}body.ui-mobile .field input{padding-top:9px;padding-bottom:9px}body.ui-mobile .google-slot:empty{display:none}body.ui-mobile .dex-shell-wide{gap:12px}body.ui-mobile .dex-roster-title p{display:none}body.ui-mobile .dex-roster{grid-template-columns:repeat(auto-fit,minmax(208px,1fr));gap:10px}body.ui-mobile .dex-entry-stage{min-height:104px;padding:9px}body.ui-mobile .dex-entry-stage img{width:68px}body.ui-mobile .dex-entry-body{padding:10px 12px 12px}body.ui-mobile .dex-entry-stats{margin:8px 0 10px}body.ui-mobile .dex-entry-new{min-height:210px;padding:16px}body.ui-mobile .dex-starter-stage{min-height:68px}body.ui-mobile .dex-starter-stage img{width:52px}}@media (max-width: 430px){body.ui-mobile .landing-brand strong,body.ui-mobile .social-links{display:none}body.ui-mobile .landing-header{gap:5px}body.ui-mobile .landing-actions{gap:4px}body.ui-mobile .online-pill{padding:0 8px}body.ui-mobile .language-picker{padding:0 6px}body.ui-mobile .dex-screen-wrap{padding-top:14px}body.ui-mobile .dex-shell{padding:20px 13px 14px;border-radius:16px}}.btn-primary:disabled{opacity:.75;cursor:not-allowed}.btn-spinner{width:14px;height:14px;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:btn-spin .7s linear infinite;flex:none}@keyframes btn-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.btn-spinner{animation-duration:1.6s}}.btn-google{border:1px solid #232b3d;border-radius:8px;padding:10px 16px;color:#8b93a7}.whitepaper-link{display:block;text-align:center;margin-top:4px;color:#8b93a7;font-size:.78rem;text-decoration:none}.whitepaper-link:hover{color:#fbbf24}.wiki-link:hover{color:#38bdf8}.auth-error{background:#dc26261f;border:1px solid rgba(220,38,38,.4);border-radius:8px;padding:8px 12px;color:#fca5a5;font-size:.85rem}.dex-shell-wide{grid-template-columns:minmax(0,1fr);width:min(1180px,100%);gap:20px}.dex-roster-head{display:flex;align-items:center;gap:clamp(14px,2.4vw,26px);flex-wrap:wrap}.dex-roster-title{flex:1;min-width:220px}.dex-roster-title h1{color:#f1f5f9;font-size:clamp(1.35rem,2.6vw,1.85rem);font-weight:800;letter-spacing:-.015em;line-height:1.12}.dex-roster-title p{margin-top:4px;color:#7c8698;font-size:.84rem}.dex-account{display:flex;flex-direction:column;gap:2px;padding:8px 14px;border-radius:10px;border:1px solid rgba(0,0,0,.45);background:#06090e80;text-align:right}.dex-account span{color:#6b7488;font-size:.64rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.dex-account strong{color:#cbd5e1;font-size:.82rem}.dex-roster{display:grid;grid-template-columns:repeat(auto-fill,minmax(238px,1fr));gap:16px}.dex-entry{display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(0,0,0,.5);border-radius:14px;background:linear-gradient(180deg,#262c38,#1a1f28);box-shadow:inset 0 1px #ffffff0f,0 8px 22px #00000059;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.dex-entry:hover{transform:translateY(-3px);border-color:#e0354673;box-shadow:inset 0 1px #ffffff14,0 16px 34px #00000073}.dex-entry-stage{position:relative;min-height:148px;display:grid;place-items:center;padding:14px;border-bottom:1px solid rgba(0,0,0,.55);background:radial-gradient(120% 92% at 50% 0%,#0e2a1c,#06140f 72%);box-shadow:inset 0 3px 18px #000000b3}.dex-entry-stage img{width:clamp(76px,9vw,104px);height:auto;image-rendering:pixelated;filter:drop-shadow(0 8px 14px rgba(0,0,0,.6))}.dex-entry-vip{position:absolute;top:10px;right:10px;padding:3px 9px;border-radius:999px;border:1px solid rgba(251,191,36,.5);background:#78530873;color:#fde68a;font-size:.62rem;font-weight:800;letter-spacing:.08em}.dex-entry-body{flex:1;display:flex;flex-direction:column;gap:3px;padding:13px 15px 15px}.dex-entry-species{color:#6d9b88;font-size:.66rem;font-weight:750;letter-spacing:.17em;text-transform:uppercase}.dex-entry-body h2{color:#f1f5f9;font-size:1.05rem;font-weight:750;line-height:1.2}.dex-entry-stats{display:flex;flex-wrap:wrap;gap:6px;margin:11px 0 13px}.dex-entry-stats span{flex:1 1 62px;display:flex;flex-direction:column;gap:1px;padding:6px 9px;border-radius:8px;border:1px solid rgba(0,0,0,.4);background:#06090e73}.dex-entry-stats small{color:#6b7488;font-size:.6rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.dex-entry-stats strong{color:#cbd5e1;font-size:.86rem;font-variant-numeric:tabular-nums}.dex-entry-offline strong{color:#8fd6b4}.dex-entry-play{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 0;border-radius:9px;border:1px solid rgba(0,0,0,.45);background:linear-gradient(180deg,var(--red),var(--red-lo));color:#fff;font-size:.86rem;font-weight:750;box-shadow:inset 0 1px #fff3,0 2px 8px #e035464d;transition:filter .14s ease,transform 90ms ease}.dex-entry-play:hover{filter:brightness(1.1)}.dex-entry-play:active{transform:translateY(1px)}.dex-entry-new{align-items:center;justify-content:center;gap:8px;min-height:288px;padding:24px;border-style:dashed;border-color:#94a3b838;background:#06090e4d;color:#8b93a7;text-align:center}.dex-entry-new:hover{border-color:#e0354680;color:#cbd5e1}.dex-entry-plus{width:52px;height:52px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(148,163,184,.28);color:var(--red);font-size:1.6rem;font-weight:300}.dex-entry-new strong{color:currentColor;font-size:.92rem}.dex-entry-new small{color:#687184;font-size:.76rem}.dex-empty{max-width:520px;margin:26px auto;padding:40px clamp(22px,5vw,52px);border:1px solid rgba(0,0,0,.5);border-radius:16px;background:radial-gradient(120% 92% at 50% 0%,#0e2a1c,#06140f 72%);box-shadow:inset 0 3px 18px #000000b3;text-align:center}.dex-empty-rune{width:58px;height:58px;margin:0 auto 16px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(109,155,136,.35);color:#8fd6b4;font-size:1.4rem}.dex-empty h2{color:var(--glass-ink);font-size:1.25rem;font-weight:750}.dex-empty p{margin-top:9px;color:var(--glass-dim);font-size:.86rem;line-height:1.65}.dex-empty-cta{margin-top:20px}.dex-create{display:flex;flex-direction:column;gap:14px}.dex-back{align-self:flex-start;padding:7px 13px;border-radius:8px;border:1px solid rgba(0,0,0,.45);background:linear-gradient(180deg,#39404e,#232935);color:#cbd5e1;font-size:.8rem;box-shadow:inset 0 1px #ffffff1a,0 2px #0006}.dex-back:hover{color:#fff}.dex-create-form{display:flex;flex-direction:column;gap:16px;max-width:720px}.dex-create-form .field input:focus{border-color:var(--red);box-shadow:0 0 0 3px #e0354629}.dex-starter-set{border:0;padding:0;margin:0}.dex-starter-set legend{padding:0 0 9px;color:#8b93a7;font-size:.85rem}.dex-starter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:11px}.dex-starter{position:relative;display:flex;flex-direction:column;gap:9px;padding:11px;border-radius:13px;border:1px solid rgba(0,0,0,.5);background:linear-gradient(180deg,#262c38,#1a1f28);cursor:pointer;transition:border-color .14s ease,transform .12s ease,box-shadow .14s ease}.dex-starter:hover{transform:translateY(-2px)}.dex-starter input{position:absolute;opacity:0;pointer-events:none}.dex-starter:focus-within{border-color:#e0354699}.dex-starter.selected{border-color:var(--red);box-shadow:0 0 0 3px #e035462e}.dex-starter-stage{position:relative;overflow:hidden;display:grid;place-items:center;min-height:92px;border-radius:9px;background:radial-gradient(120% 92% at 50% 0%,#0e2a1c,#06140f 72%);box-shadow:inset 0 2px 14px #000000b3}.dex-starter-stage img{width:68px;height:auto;image-rendering:pixelated;filter:drop-shadow(0 6px 10px rgba(0,0,0,.55))}.dex-starter-label{display:flex;flex-direction:column;gap:2px}.dex-starter-label strong{color:#e2e8f0;font-size:.88rem}.dex-starter-label small{color:#7c8698;font-size:.72rem}.dex-starter.selected .dex-starter-label strong{color:#fff}.dex-create-submit{align-self:flex-start}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;display:flex;align-items:center;justify-content:center;padding:16px;z-index:100}.modal{width:100%;max-width:420px;background:#131826;border:1px solid #232b3d;border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:14px}.seed-warning{background:#fbbf2414;border:1px solid rgba(251,191,36,.35);border-radius:8px;padding:10px 12px;color:#fcd34d;font-size:.85rem}.seed-box{background:#0b0e14;border:1px dashed #4b5563;border-radius:8px;padding:14px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.95rem;line-height:1.7;word-spacing:6px;-webkit-user-select:text;user-select:text}.wallet-address{color:#8b93a7;font-size:.75rem;word-break:break-all;-webkit-user-select:text;user-select:text}.seed-ack{display:flex;align-items:center;gap:8px;font-size:.9rem}.game-screen{position:relative;width:100%;height:100%;overflow:hidden}
