:root{color-scheme:dark;--bg:#0a1926;--panel:#10293a;--line:#315264;--muted:#91acbd;--text:#eaf7ff;--cyan:#63daee;--gold:#ffcc62;--fire:#ffab72;--water:#7bd5fc;--grass:#b2e685;font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",system-ui,sans-serif;font-size:16px}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 0,#1d3e50 0,#102534 42%,#07131e 100%);color:var(--text);min-height:100vh}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:4px}button{touch-action:manipulation}button,button::before,button::after{transition:background .2s,border-color .2s,box-shadow .2s,filter .2s,opacity .2s,transform .2s}svg{width:20px;height:20px;vertical-align:middle;flex:none}button svg{pointer-events:none}a{color:var(--cyan)}.game-shell{max-width:1320px;margin:0 auto;padding:20px 40px 12px}.topbar{height:78px;display:flex;align-items:center;gap:22px;margin-bottom:16px}.brand{position:relative;display:flex;align-items:center;font-weight:950;transform:skew(-8deg);font-size:36px;line-height:1;letter-spacing:-3px;color:#e6faff;text-shadow:0 2px 0 #338aaa,0 4px 0 #153d58,2px 3px 0 #061722}.brand b{font-size:61px;margin-left:5px;color:#ffd478;text-shadow:0 3px 0 #bf782d,0 5px 0 #092439;line-height:.9}.brand small{position:absolute;font-size:9px;letter-spacing:5px;bottom:-10px;left:18px;color:#7aafc8}.header-divider{height:32px;width:1px;background:#3d5f72}.game-title{font-size:20px;letter-spacing:2px;font-weight:700}.game-title>span{display:block;font-size:12px;letter-spacing:1px;margin-top:6px;font-weight:400;color:var(--muted)}.header-actions{margin-left:auto;display:flex;gap:12px;align-items:center}.icon-button,.subtle-button,.speed-button{border:1px solid #385b6d;background:#142f40;border-radius:6px;min-height:38px}.icon-button{width:40px}.subtle-button{display:flex;align-items:center;gap:7px;padding:8px 12px;font-size:14px;color:#c6dce8}.icon-button:hover,.subtle-button:hover,.speed-button:hover{background:#26475a;border-color:#72a1b9}.icon-button[aria-pressed=true]{color:var(--gold);border-color:#a68a51}.battle-frame{border:1px solid #4e778c;box-shadow:0 0 0 5px #112d3e,0 0 0 6px #254658,0 20px 70px #0005;border-radius:12px;overflow:hidden;background:#102839}.arena-topline{height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;background:linear-gradient(#29495b,#203a4a);font-size:12px;letter-spacing:1px;border-bottom:1px solid #5b859466;color:#c2d9e4}.arena-topline>span:first-child{color:#e4f6ff;font-weight:700}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#9ee39e;margin-right:6px;box-shadow:0 0 7px #9ee39e66}.arena{position:relative;height:445px;isolation:isolate;overflow:hidden;background:#29676c url('./assets/arena.webp') center 57%/cover no-repeat}.arena-vignette{position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,#04222b50,transparent 32%,transparent 65%,#092834b3),linear-gradient(90deg,#06293238,transparent 28%,transparent 72%,#06293238);pointer-events:none}.round-badge{position:absolute;top:19px;left:50%;transform:translateX(-50%);text-align:center;padding:8px 12px 10px;border:1px solid #d4f6ed44;border-top:2px solid #d4f6ed99;border-radius:3px 3px 20px 20px;background:#103b44ad;backdrop-filter:blur(8px);min-width:85px;z-index:3}.round-badge>span{display:block;font-size:10px;letter-spacing:3px;color:#b2dcd8}.round-badge strong{display:block;font:600 33px/1.25 "Trebuchet MS",sans-serif;color:#eefee6}.round-badge small{font-size:11px;color:#cae7dd;white-space:nowrap}.pet-hud{position:absolute;top:22px;width:33%;z-index:4;background:linear-gradient(115deg,#0b2a3bea,#123c4ce6);padding:13px 18px 12px;border:1px solid #62909ca3;box-shadow:0 4px 0 #0527303d,0 6px 16px #05223026;border-radius:8px}.player-hud{left:26px;border-left:3px solid #73d8e9}.enemy-hud{right:26px;border-right:3px solid #ecbc80}.hud-name{display:flex;align-items:center;gap:9px;line-height:1.1}.hud-name strong{font-size:20px;letter-spacing:1px}.hud-name small{color:#accbd5;font-size:12px}.hud-name .type-pill{margin-left:auto}.type-pill{font-size:12px;line-height:1.3;border-radius:4px;padding:3px 7px;background:color-mix(in srgb,var(--type) 18%,transparent);border:1px solid color-mix(in srgb,var(--type) 45%,transparent);color:var(--type);white-space:nowrap}.hud-health{display:flex;align-items:center;gap:9px;margin-top:12px}.bar-label{font:700 11px "Trebuchet MS",sans-serif;color:#a6c5d0;width:21px}.hp-track,.rage-track{position:relative;background:#061d2b;border-radius:3px;overflow:hidden;flex:1;box-shadow:inset 0 1px 3px #0007}.hp-track{height:12px;border:1px solid #081c26}.hp-fill{height:100%;background:linear-gradient(#cbf87c 0,#90d95d 48%,#65b64c 49%,#80c851);box-shadow:inset 0 1px 0 #e4ffa878;transition:width .55s ease}.hp-fill.low{background:linear-gradient(#ffb16e,#ed655e)}.hp-numbers{font:600 12px "Trebuchet MS",sans-serif;color:#c6e1df;min-width:55px;text-align:right}.hud-rage{display:flex;align-items:center;gap:9px;margin-top:7px}.rage-track{height:5px}.rage-fill{height:100%;background:linear-gradient(90deg,#dc973b,#ffe28c);transition:width .55s}.rage-numbers{font-size:11px;color:#f6d88f;min-width:55px;text-align:right}.fighter{position:absolute;width:34%;height:275px;bottom:65px;z-index:2;--facing:1}.player-fighter{left:5%}.enemy-fighter{right:5%;--facing:-1}.sprite-bob{width:100%;height:100%;animation:idle 3.6s ease-in-out infinite;display:flex;align-items:flex-end;justify-content:center;transform-origin:50% 90%}.enemy-fighter .sprite-bob{animation-delay:-1.5s}.sprite-bob img{width:95%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 7px 3px #001b2640);transform:scaleX(var(--facing));user-select:none}.ground-ring{position:absolute;bottom:-9px;left:13%;width:74%;height:40px;border:2px solid #a2f0e566;background:radial-gradient(ellipse,#8cdfe81a 0,#99f0d433 50%,#6ac0c31a 65%,transparent 70%);border-radius:50%;box-shadow:0 0 0 5px #8ae8de0d,0 0 16px #b3ffe333;z-index:-1}.enemy-fighter .ground-ring{border-color:#ffd6a85c;background:radial-gradient(ellipse,#ffd68618,#f2d3981a 65%,transparent 70%)}.fighter.attacking{animation:lunge .38s ease-in-out}.fighter.hit{animation:hit .3s ease}.fighter.hit img{filter:brightness(1.8) drop-shadow(0 0 12px #ffec97)}.fighter.entering{animation:summon .7s ease-out}.fighter.fainted{opacity:.2;filter:grayscale(1);transform:translateY(30px);transition:all .7s}.status-tags{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);display:flex;gap:4px;justify-content:center;white-space:nowrap;z-index:3}.status-tag{border:1px solid #bbded855;border-radius:3px;background:#112f3ce8;backdrop-filter:blur(5px);padding:3px 6px;color:#ebf9eb;font-size:11px}.team-strip{position:absolute;bottom:18px;display:flex;align-items:center;gap:6px;z-index:4}.player-strip{left:26px}.enemy-strip{right:26px;flex-direction:row-reverse}.team-caption{font-size:11px;color:#d6efe7;text-shadow:0 1px 2px #123;padding-right:5px;letter-spacing:1px}.mini-pet{height:39px;width:41px;background:#0c3444da;border:1px solid #719eab77;border-radius:5px;position:relative;padding:3px}.mini-pet img{height:100%;width:100%;object-fit:contain}.mini-pet.active{border-color:#caffeb;box-shadow:0 0 0 1px #cafee92e,inset 0 0 10px #bbf9e822}.mini-pet.out{filter:grayscale(1);opacity:.4}.mini-pet:hover:not(:disabled){background:#52828dad;transform:translateY(-2px)}.battle-message{position:absolute;bottom:21px;left:50%;transform:translateX(-50%);z-index:4;background:#0a2b36c9;border:1px solid #b9e6db40;border-radius:4px;color:#e5fbed;padding:9px 15px;font-size:13px;max-width:43%;text-align:center;backdrop-filter:blur(6px);box-shadow:0 3px 12px #092c3a22}.command-deck{display:grid;grid-template-columns:minmax(0,1fr) 285px;border-top:2px solid #557988;background:linear-gradient(110deg,#173348,#0f2839);min-height:278px}.action-panel{min-width:0;padding:16px 20px 11px;border-right:1px solid #355568}.command-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:12px}.action-tabs{display:flex;gap:5px}.action-tabs>button{background:transparent;border:1px solid transparent;padding:7px 16px;font-size:15px;display:flex;gap:7px;align-items:center;border-radius:5px;color:#a5bdce}.action-tabs>button[aria-selected=true]{background:linear-gradient(#315971,#274c63);color:#eaf9ff;border-color:#56849a;box-shadow:inset 0 1px 0 #9accdb22}.action-tabs>button:hover{background:#2c4b60;color:#fff}.key-hint{font:11px "Trebuchet MS",sans-serif;color:#7d9eaf;border:1px solid #7294a344;border-radius:3px;width:16px;text-align:center;padding:1px;margin-left:2px}.speed-button{font-size:12px;color:#a9c7d5;min-height:29px;white-space:nowrap;padding:4px 8px;background:#0e293a}.action-content{min-height:163px}.skills-layout{display:grid;grid-template-columns:minmax(0,1fr) 151px;gap:12px}.skill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.skill-card{position:relative;text-align:left;border:1px solid color-mix(in srgb,var(--type) 47%,#2c4a60);background:linear-gradient(105deg,color-mix(in srgb,var(--type) 9%,#163243),#193748);padding:11px 12px 10px;border-radius:6px;min-height:78px;overflow:hidden}.skill-card::before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:var(--type);opacity:.7}.skill-card:hover:not(:disabled){border-color:var(--type);background:color-mix(in srgb,var(--type) 17%,#173747);box-shadow:0 0 15px color-mix(in srgb,var(--type) 15%,transparent);transform:translateY(-1px)}.skill-card:disabled{opacity:.42}.skill-card-top{display:flex;align-items:center;gap:7px}.skill-card-top strong{font-size:16px;font-weight:650;letter-spacing:.5px}.skill-icon{color:var(--type)}.skill-icon svg{width:18px;height:18px}.skill-key{position:absolute;top:9px;right:10px;font:11px "Trebuchet MS",sans-serif;color:#91acb966}.skill-meta{display:flex;gap:7px;color:#aac4d0;font-size:11px;align-items:center;margin-top:8px;line-height:1.1}.skill-meta .cost{color:#f0d08e;margin-left:auto;font-size:12px}.skill-meta .divider{opacity:.25}.ult-card{border:1px solid #947442;border-radius:6px;background:radial-gradient(circle at 50% 20%,#7c573e48,transparent 70%),linear-gradient(#343a3e,#29313a);padding:13px 7px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;position:relative;overflow:hidden;min-height:166px;color:#c5b697}.ult-emblem{width:43px;height:43px;display:flex;align-items:center;justify-content:center;border:1px solid #bba36b66;transform:rotate(45deg);background:linear-gradient(135deg,#b6874240,#e8c47409);margin-bottom:14px;box-shadow:0 0 0 5px #bba36b0d}.ult-emblem svg{transform:rotate(-45deg);width:25px;height:25px}.ult-card strong{font-size:16px;letter-spacing:1px}.ult-card small{font-size:11px;line-height:1.8;color:#a89d87;margin-top:3px}.ult-meter{height:3px;border-radius:3px;width:80%;background:#161d28;margin-top:10px;overflow:hidden}.ult-meter span{height:100%;display:block;background:#bf944c;transition:width .5s}.ult-card.ready{color:#ffdd83;border-color:#ffe49c;box-shadow:0 0 14px #efba5940,inset 0 0 30px #bd823822;animation:ultGlow 2s infinite}.ult-card.ready .ult-emblem{background:#b4844666}.ult-card.ready:hover{filter:brightness(1.2);transform:translateY(-2px)}.ult-card.ready small{color:#f2cc84}.command-footer{display:flex;gap:15px;align-items:center;justify-content:space-between;padding-top:12px;color:#829fac;font-size:11px;min-height:28px}.command-footer svg{height:13px;width:13px;margin-right:4px}.keyboard-tip{white-space:nowrap;opacity:.65}.battle-log{padding:17px 17px 10px;min-width:0}.log-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid #45637355}.log-header>span:first-child{display:flex;gap:7px;align-items:center;color:#c6dee9;font-size:14px}.log-header svg{width:16px;height:16px;color:#8ab8ca}.log-header>span:last-child{font-size:10px;letter-spacing:1px;color:#6f94a7}.log-entries{height:186px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#41677a transparent;padding-top:6px}.log-line{display:flex;gap:9px;font-size:12px;line-height:1.65;color:#9bbac9;margin:6px 0}.log-line>span{font-size:10px;color:#5f8a9d;padding-top:3px;flex:none;min-width:18px}.log-line p{margin:0}.log-line.player p{color:#c7e0e8}.log-line.ultimate p{color:#f4ce84}.log-line.system p{color:#96cbb9}.page-footer{display:flex;align-items:center;justify-content:space-between;font-size:11px;line-height:1.5;color:#688b9e;gap:12px;margin-top:20px;padding:0 1px}.page-footer button{border:0;background:transparent;color:#87a7b9;font-size:11px;padding:4px 0}.page-footer button:hover{color:#c2eafa}.type-guide{display:flex;gap:9px;align-items:center}.fire-text{color:var(--fire)}.water-text{color:var(--water)}.grass-text{color:var(--grass)}.footer-dot{opacity:.5}.team-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.team-card{display:flex;flex-direction:column;align-items:center;position:relative;border:1px solid #42667b;border-radius:6px;background:#193a4d;padding:10px;min-height:165px}.team-card img{height:78px;object-fit:contain;max-width:95%}.team-card strong{font-size:15px;margin-top:6px}.team-card small{color:#8fb5c7;font-size:11px;margin-top:5px}.team-card .small-hp{width:80%;height:4px;background:#0c2636;margin-top:7px}.small-hp i{display:block;height:100%;background:#97d871}.team-card:not(:disabled):hover{border-color:var(--cyan);background:#245168}.team-card:disabled{opacity:.52}.team-card .active-tag{position:absolute;top:7px;right:7px;font-size:10px;color:#9dcbcc}.bag-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.item-card{border:1px solid #42667b;border-radius:6px;background:#193a4d;padding:16px 9px;display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;min-height:165px;position:relative}.item-card>svg{width:34px;height:34px;color:#93dce1;margin-bottom:5px}.item-card strong{font-size:15px}.item-card small{font-size:11px;color:#99b8c9}.item-card .item-count{font-size:10px;position:absolute;right:9px;top:9px;color:#c5deeb}.item-card:disabled{opacity:.38}.item-card:not(:disabled):hover{background:#245168;border-color:var(--cyan)}.effect-layer{position:absolute;inset:0;pointer-events:none;z-index:8}.damage-number{position:absolute;left:var(--x);top:38%;color:#fff0c4;font:900 40px "Trebuchet MS",sans-serif;text-shadow:0 3px 0 #573727,0 0 6px #261909;animation:floatNumber 1.1s both;transform:translateX(-50%);text-align:center;line-height:1.1;white-space:nowrap}.damage-number small{display:block;font-family:inherit;font-size:14px;letter-spacing:2px;margin-bottom:5px}.damage-number.heal{color:#bfff91;text-shadow:0 2px 0 #234c30,0 0 5px #153d29}.impact-ring{position:absolute;width:110px;height:110px;border:6px solid var(--fx);left:var(--x);top:48%;border-radius:50%;box-shadow:0 0 40px var(--fx),inset 0 0 40px var(--fx);animation:impact .5s both}.spark{position:absolute;left:var(--x);top:57%;width:5px;height:5px;border-radius:50%;background:var(--fx);box-shadow:0 0 10px var(--fx);animation:spark .65s both;--dx:0px;--dy:0px}.move-announcement{position:absolute;top:36%;left:50%;transform:translate(-50%,-50%);font-size:24px;font-weight:800;letter-spacing:4px;color:#ffdf95;text-shadow:0 2px 4px #072234;white-space:nowrap;z-index:9;opacity:0;pointer-events:none;padding:14px 50px;background:linear-gradient(90deg,transparent,#102c42e3 25%,#102c42e3 75%,transparent);transition:opacity .25s}.move-announcement.show{opacity:1}.arena.ultimate-flash::after{content:"";position:absolute;inset:0;z-index:7;background:radial-gradient(ellipse,#fff2b4ad,transparent 75%);pointer-events:none;animation:flash .7s both}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);padding:12px 22px;background:#24465af5;color:#edfcff;border:1px solid #75a8bc;border-radius:7px;z-index:30;opacity:0;pointer-events:none;transition:.2s;font-size:14px;max-width:90vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{background:#132f42;border:1px solid #52788d;border-radius:14px;color:var(--text);box-shadow:0 30px 100px #0009;width:min(580px,calc(100% - 32px));padding:0;max-height:90vh;overflow-y:auto}dialog::backdrop{background:#03121ad1;backdrop-filter:blur(5px)}.dialog-content{padding:30px}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-head h2{font-size:24px;letter-spacing:1px;margin:0}.dialog-close{background:#28485c;border:1px solid #507287;border-radius:50%;width:29px;height:29px;font-size:19px;line-height:1}.dialog-content>p{color:#aac7d6;font-size:14px;line-height:1.8}.guide-list{padding-left:20px;line-height:1.9;color:#bbd1df;font-size:14px}.guide-list li{margin:10px 0}.guide-list strong{color:#e5f4f6}.guide-types{display:flex;justify-content:center;gap:16px;padding:16px;background:#0c2638;border-radius:7px;font-size:16px;align-items:center}.guide-types span:nth-child(even){font-size:12px;color:#688fa4}.dialog-note{border-top:1px solid #375b6f;padding-top:18px;font-size:12px!important;color:#88aabb!important}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.primary-button{border:1px solid #f5d997;color:#513b16;border-radius:6px;padding:10px 22px;background:linear-gradient(#ffe094,#ebba5c);font-weight:700;font-size:15px;box-shadow:inset 0 1px #fff7d2,0 3px 0 #9a6d2d}.primary-button:hover{filter:brightness(1.1);transform:translateY(-1px)}.secondary-button{border:1px solid #587b90;color:#cce3ef;border-radius:6px;padding:10px 20px;background:#28485d;font-size:15px}.result-content{text-align:center;padding:14px 0 7px}.result-medal{font-size:55px;color:var(--gold);margin:8px 0 12px}.result-medal svg{width:65px;height:65px}.result-content h2{font-size:36px;letter-spacing:5px;margin:0 0 10px;color:var(--gold)}.result-content p{font-size:14px;color:#a6c4d4;line-height:1.7}.result-pets{display:flex;justify-content:center;gap:18px;margin:22px 0}.result-pets img{height:90px;width:110px;object-fit:contain}.result-pets img.out{filter:grayscale(1);opacity:.4}.result-content .dialog-actions{justify-content:center}.credits-links{display:flex;flex-direction:column;gap:9px;font-size:13px;margin-top:20px}.status-box{background:#0c2638;border:1px solid #315164;border-radius:6px;padding:10px;color:#aacee2;font-size:13px;text-align:center}.waiting-message{display:flex;align-items:center;justify-content:center;min-height:165px;color:#a6c9d7;gap:10px}.thinking-dots{display:inline-flex;gap:4px}.thinking-dots i{width:5px;height:5px;background:#7ebdd0;border-radius:50%;animation:pulse 1s ease-in-out infinite}.thinking-dots i:nth-child(2){animation-delay:.15s}.thinking-dots i:nth-child(3){animation-delay:.3s}
@keyframes idle{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes lunge{0%,100%{transform:translateX(0)}45%{transform:translateX(calc(45px * var(--facing))) translateY(-12px)}}@keyframes hit{25%,75%{transform:translateX(-6px)}50%{transform:translateX(7px)}}@keyframes summon{0%{opacity:0;transform:scale(.2) translateY(30px);filter:brightness(5)}100%{opacity:1;transform:scale(1);filter:brightness(1)}}@keyframes floatNumber{0%{opacity:0;margin-top:8px}15%{opacity:1}75%{opacity:1}100%{opacity:0;margin-top:-55px}}@keyframes impact{0%{opacity:1;transform:translate(-50%,-50%) scale(.2)}100%{opacity:0;transform:translate(-50%,-50%) scale(2.2)}}@keyframes spark{to{transform:translate(var(--dx),var(--dy));opacity:0}}@keyframes flash{0%,100%{opacity:0}30%{opacity:1}}@keyframes ultGlow{50%{box-shadow:0 0 22px #efba5970,inset 0 0 35px #bd823833}}@keyframes pulse{50%{opacity:.3;transform:translateY(-3px)}}
@media(min-width:1450px){.game-shell{padding-top:30px}.arena{height:490px}.fighter{height:300px;bottom:72px}.command-deck{min-height:289px}.action-panel{padding-top:18px;padding-bottom:16px}}
@media(max-width:1100px){.game-shell{padding:14px 26px 12px}.command-deck{grid-template-columns:minmax(0,1fr) 240px}.action-panel{padding:14px}.skill-card{padding:10px}.skill-meta{gap:4px}.skills-layout{grid-template-columns:minmax(0,1fr) 124px;gap:9px}.skill-grid{gap:8px}.ult-card strong{font-size:14px}.action-tabs>button{padding:7px 11px}.key-hint{display:none}.keyboard-tip{display:none}.battle-message{max-width:38%;font-size:12px}.arena{height:405px}.fighter{height:243px;bottom:68px}.page-footer{font-size:10px}.type-guide{gap:6px}}
@media(max-width:800px){.game-shell{padding:8px 18px 14px}.topbar{height:70px;gap:15px;margin-bottom:14px}.brand{font-size:28px}.brand b{font-size:48px}.brand small{font-size:8px;letter-spacing:4px}.game-title{font-size:17px}.game-title>span{font-size:10px}.header-actions{gap:6px}.subtle-button{padding:8px;font-size:12px}.header-divider{height:25px}.command-deck{grid-template-columns:1fr}.action-panel{border-right:0}.battle-log{border-top:1px solid #355568;padding:12px 16px}.log-header{padding-bottom:7px}.log-entries{height:90px}.log-line{margin:4px 0}.arena{height:390px}.fighter{height:234px;bottom:65px;width:40%}.player-fighter{left:3%}.enemy-fighter{right:3%}.pet-hud{width:36%;padding:11px 12px}.player-hud{left:16px}.enemy-hud{right:16px}.hud-name strong{font-size:17px}.round-badge{min-width:68px;top:20px;padding:6px 8px 8px}.round-badge strong{font-size:28px}.round-badge>span{font-size:8px;letter-spacing:2px}.round-badge small{font-size:10px}.hud-name{gap:6px}.hud-name small{font-size:10px}.type-pill{font-size:10px;padding:3px 5px}.team-strip{bottom:15px;gap:4px}.player-strip{left:16px}.enemy-strip{right:16px}.team-caption{display:none}.battle-message{max-width:45%;bottom:16px}.mini-pet{width:31px;height:32px}.skills-layout{grid-template-columns:minmax(0,1fr) 160px}.skill-card{padding:12px}.skill-card-top strong{font-size:17px}.skill-meta{gap:8px;font-size:12px}.action-tabs>button{padding:7px 18px}.page-footer{flex-wrap:wrap;justify-content:center;gap:8px 20px}.type-guide{order:3;flex-basis:100%;justify-content:center}.arena-topline{font-size:10px;padding:0 16px}.ult-card strong{font-size:16px}}
@media(max-width:520px){.game-shell{padding:5px 12px 12px}.topbar{gap:9px;height:66px}.brand{font-size:26px;letter-spacing:-2px}.brand b{font-size:45px}.brand small{font-size:7px;bottom:-8px;left:12px}.header-divider{display:none}.game-title{display:none}.header-actions{gap:6px}.subtle-button{font-size:12px;padding:7px}.subtle-button svg{width:16px;height:16px}.header-actions .icon-button{width:33px;min-height:33px}.subtle-button{min-height:33px}.battle-frame{border-radius:8px;box-shadow:0 0 0 3px #173448,0 0 0 4px #305268,0 15px 40px #0005}.arena-topline{font-size:9px;letter-spacing:.4px;height:32px;padding:0 10px}.arena-topline>span:last-child{display:none}.arena{height:337px;background-position:center 58%}.pet-hud{top:16px;padding:10px 9px;width:39%;border-radius:6px}.player-hud{left:9px}.enemy-hud{right:9px}.hud-name{gap:4px;flex-wrap:wrap}.hud-name strong{font-size:16px;letter-spacing:0}.hud-name small{font-size:9px}.hud-name .type-pill{position:absolute;right:6px;top:-9px;font-size:9px;background:#17384a}.hud-health{gap:4px;margin-top:10px;flex-wrap:wrap}.hp-track{height:10px}.bar-label{width:15px;font-size:9px}.hp-numbers{font-size:10px;min-width:unset;width:100%;text-align:right;line-height:1;margin-top:1px}.hud-rage{gap:4px;margin-top:4px}.rage-numbers{font-size:9px;min-width:22px}.rage-track{height:4px}.round-badge{top:19px;min-width:48px;width:48px;padding:5px 4px 7px;border-radius:3px 3px 12px 12px}.round-badge strong{font-size:23px}.round-badge>span{font-size:6px;letter-spacing:1px}.round-badge small{font-size:8px;white-space:normal}.fighter{height:175px;bottom:69px;width:46%}.player-fighter{left:0}.enemy-fighter{right:0}.ground-ring{height:26px;bottom:-3px}.status-tags{bottom:0;gap:2px;flex-wrap:wrap;width:100%;white-space:normal}.status-tag{font-size:9px;padding:2px 4px}.team-strip{bottom:36px}.player-strip{left:15px}.enemy-strip{right:15px}.mini-pet{height:25px;width:26px;padding:2px}.battle-message{bottom:7px;max-width:100%;width:calc(100% - 26px);padding:6px;font-size:11px;border:0;background:#0c313cbf}.command-header{margin-bottom:11px;gap:4px}.action-panel{padding:12px 10px 8px}.action-tabs{gap:2px}.action-tabs>button{padding:7px 9px;gap:5px;font-size:13px}.action-tabs svg{width:17px;height:17px}.speed-button{font-size:10px;min-height:29px;padding:3px 6px}.skills-layout{grid-template-columns:minmax(0,1fr) 92px;gap:7px}.skill-grid{gap:7px}.skill-card{padding:10px 7px;min-height:77px}.skill-card-top{gap:4px}.skill-card-top strong{font-size:14px;letter-spacing:0}.skill-icon svg{width:14px;height:14px}.skill-key{display:none}.skill-meta{font-size:9px;gap:3px;flex-wrap:wrap;margin-top:7px;line-height:1.3}.skill-meta>.divider{display:none}.skill-meta .cost{font-size:10px;flex-basis:100%;margin-top:0}.ult-card{padding:10px 4px;min-height:161px}.ult-card strong{font-size:13px;letter-spacing:0}.ult-card small{font-size:9px;margin-top:6px}.ult-emblem{width:32px;height:32px;margin-bottom:16px}.ult-emblem svg{width:21px;height:21px}.command-footer{font-size:10px;padding-top:10px;line-height:1.5}.action-content{min-height:161px}.team-cards,.bag-grid{gap:7px}.team-card{padding:9px 5px;min-height:161px}.team-card img{height:72px}.team-card strong,.item-card strong{font-size:13px}.team-card small,.item-card small{font-size:10px}.team-card .active-tag{font-size:9px;top:5px;right:5px}.item-card{padding:17px 4px 10px;min-height:161px}.battle-log{padding:10px}.log-header>span:first-child{font-size:12px}.log-line{font-size:11px}.log-entries{height:85px}.page-footer{margin-top:15px;font-size:10px;gap:7px 16px}.page-footer button{font-size:10px}.type-guide{gap:6px;font-size:10px}.damage-number{font-size:31px;top:40%}.damage-number small{font-size:11px}.move-announcement{font-size:18px;padding:11px 18px;letter-spacing:2px;top:44%}.dialog-content{padding:23px}.dialog-head h2{font-size:21px}.guide-types{gap:9px}.guide-list{font-size:13px}.result-content h2{font-size:30px}.result-pets{gap:3px}.result-pets img{width:85px;height:83px}.dialog-actions{gap:8px}.secondary-button,.primary-button{font-size:14px;padding:10px 16px}}
/* Dense metadata remains legible without changing the game-console hierarchy. */
.arena{background-position:center 45%}.battle-message{font-size:14px}.skill-meta,.command-footer,.team-card small,.item-card small{font-size:12px}.skill-meta .cost svg{width:13px;height:13px;vertical-align:-2px}.log-line{font-size:13px}.keyboard-tip{font-size:12px}.command-footer{line-height:1.5}.arena-topline,.page-footer,.page-footer button,.team-caption{font-size:12px}.ult-card small{font-size:12px}.log-header>span:last-child{font-size:12px}.item-count{font-size:12px!important}.status-tag{font-size:12px}.credits-links{font-size:14px}.log-line>span{font-size:12px}.dialog-note{font-size:13px!important}
@media(max-width:1100px){.keyboard-tip{display:none}.battle-message{font-size:13px}.page-footer{flex-wrap:wrap;justify-content:center}.type-guide{order:3;flex-basis:100%;justify-content:center}.skill-meta{flex-wrap:wrap}.skill-meta .cost{margin-left:auto}}
@media(max-width:520px){.battle-message{font-size:12px}.arena-topline,.page-footer,.page-footer button,.type-guide,.speed-button{font-size:12px}.skill-meta{font-size:11px;gap:3px}.skill-meta .cost{font-size:12px;margin-left:0}.skill-meta .cost svg{width:11px;height:11px}.skill-meta>span:nth-child(3){display:none}.skill-card{min-height:81px}.ult-card{min-height:169px}.ult-card small{font-size:11px}.status-tag{font-size:10px}.log-line{font-size:12px}.team-card small,.item-card small{font-size:11px}.command-footer{font-size:12px}.type-guide{flex-wrap:wrap}.command-header .speed-button{font-size:11px}.dialog-note{font-size:12px!important}.skill-card-top strong{font-size:14px}.hud-name small{font-size:10px}.round-badge small{line-height:1.3}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}
