@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900;1000&display=swap');
:root{font-family:Nunito,system-ui,sans-serif;color:#354642;background:#173c3c;font-synthesis:none;--paper:#fff7df;--gold:#e6bb64;--ink:#254e4a;--teal:#207969;--line:#dbcda8}*{box-sizing:border-box}body{margin:0}button,a,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.46}button{border:0}button:focus-visible,a:focus-visible{outline:3px solid #32bfa4;outline-offset:3px}a{color:inherit;text-decoration:none}button{color:inherit}h1,h2,h3,p{margin:0}h2{font-size:1.4rem;line-height:1.3}h3{font-size:1rem;line-height:1.3}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.sprite{object-fit:contain;user-select:none;pointer-events:none}.game-frame{max-width:1560px;height:100dvh;min-height:550px;margin:auto;border:7px solid #123b38;box-shadow:0 0 0 2px #c49d57,inset 0 0 0 2px #f1cf88;background:var(--paper);display:flex;flex-direction:column;overflow:hidden}.game-header{height:76px;flex-shrink:0;display:flex;align-items:center;padding:0 22px;gap:26px;background:#163e3b;color:#fff8d9;border-bottom:4px solid #c19b51;box-shadow:0 2px 5px #0003;z-index:3}.brand{display:flex;align-items:center;gap:11px;color:#f2d292;font-size:1.2rem;font-weight:1000;letter-spacing:1px}.brand>.icon{width:34px;height:34px}.brand span{display:flex;flex-direction:column;line-height:1.15}.brand small{font-size:.6rem;letter-spacing:3.2px;color:#b8cfbf;font-weight:800;margin-top:5px}.gold-wallet{display:flex;align-items:center;gap:10px;color:#ffe293;background:#082c2c80;border:1px solid #dcb86952;border-radius:8px;padding:9px 16px;min-width:190px}.gold-wallet .icon{width:26px;height:26px}.gold-wallet strong{font-size:1.75rem;line-height:1}.gold-wallet>span{font-size:.8rem;color:#c8cdb0}.header-tools{margin-left:auto;display:flex;align-items:center;gap:10px}.gem-wallet{display:flex;gap:6px;align-items:center;color:#b7d7ff;margin-right:12px}.icon-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;background:#ffffff0b;border:1px solid #ffffff2a;border-radius:8px;color:inherit}.game-layout{display:grid;grid-template-columns:minmax(400px,.92fr) minmax(0,1.08fr);flex:1;min-height:0;overflow:auto}.manager{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:5px solid #ba9350;background:#f7efd6}.combat-stats{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;gap:8px;background:#e9dec0;color:#3e574c;border-bottom:1px solid var(--line);font-size:1rem;min-height:48px}.combat-stats>span{display:flex;align-items:center;gap:6px}.combat-stats small{font-size:.75rem;font-weight:800;color:#767960}.combat-stats .icon{width:19px;height:19px;color:#7e8857}.tabs{display:flex;background:#d8ccaa;padding:7px 9px 0;gap:4px;flex-shrink:0}.tabs button{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;flex:1;min-height:47px;background:#eee4c8;border-radius:8px 8px 0 0;font-weight:900;font-size:.9rem;border:1px solid #cabc93;border-bottom:0;color:#77785c}.tabs button.active{background:var(--paper);color:#17594d;box-shadow:inset 0 3px #258972}.tabs button .icon{width:19px;height:19px}.tabs i{font-style:normal;background:#d67d4a;color:#fff;min-width:15px;border-radius:10px;font-size:.65rem}.tabs i:empty{display:none}.roster-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 15px;background:var(--paper);border-bottom:1px solid var(--line);font-size:.8rem;min-height:58px}.roster-toolbar>span{line-height:1.4}.roster-toolbar small{display:block;color:#7b7d64;font-size:.68rem}.buy-picker{display:flex;gap:3px;padding:3px;background:#e9dfc3;border:1px solid #cec39d;border-radius:7px}.buy-picker button{min-width:43px;min-height:36px;padding:0 6px;border-radius:4px;background:transparent;font-weight:900;font-size:.8rem;color:#778165}.buy-picker button.selected{background:#277b65;color:#fff8d4;box-shadow:0 2px 2px #133e3530}.manager-scroll{overflow-y:auto;flex:1;min-height:0;scrollbar-color:#bea675 #e9dfc5;scrollbar-width:thin}.hero-row{display:grid;grid-template-columns:90px minmax(0,1fr) 112px;gap:10px;align-items:center;min-height:132px;padding:12px 15px 12px 7px;border-bottom:1px solid #d8cba9;background:#fff9e9;position:relative}.hero-row:nth-child(even){background:#f5ecd5}.hero-row.unrecruited{background:#eae3d0}.hero-portrait{position:relative;height:102px;width:90px;padding:0;background:radial-gradient(ellipse,var(--hero),transparent 68%);border-radius:50%}.hero-portrait .sprite{width:100%;height:100%;filter:drop-shadow(0 5px 2px #35432c23);transition:transform .2s}.hero-portrait:hover .sprite{transform:scale(1.08)}.unrecruited .hero-portrait .sprite{filter:saturate(.35);opacity:.65}.active-dot{position:absolute;bottom:9px;right:8px;width:12px;height:12px;background:#48aa78;border:2px solid #fff8de;border-radius:50%;box-shadow:0 0 0 1px #3a7358}.hero-copy{min-width:0}.hero-title{display:flex;align-items:center;gap:8px}.hero-title button{padding:0;text-align:left;background:transparent;font-size:1.13rem;font-weight:1000;color:#294b42}.hero-title>span{font-size:.69rem;font-weight:900;color:#76775c;background:#e4dbba;border-radius:4px;padding:2px 5px;white-space:nowrap}.hero-series{font-size:.65rem;text-transform:uppercase;letter-spacing:.6px;font-weight:900;color:#8a8968;line-height:1.6}.hero-form{font-size:.77rem;font-weight:700;display:flex;gap:5px;flex-wrap:wrap;line-height:1.6}.hero-form>span{color:#247863;font-weight:900;margin-left:auto;white-space:nowrap}.form-meter{height:4px;background:#e2d7b5;border-radius:10px;margin:6px 0 3px;overflow:hidden}.form-meter i{display:block;height:100%;background:#76a480;border-radius:10px}.hero-copy>small{font-size:.65rem;color:#7b7e64;display:block}.buy-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:62px;background:linear-gradient(#66a26c,#438557);border:1px solid #2e6345;border-bottom:3px solid #25563a;border-radius:7px;box-shadow:inset 0 1px #b8d697;color:#fff8d2;padding:8px;font-size:.82rem;font-weight:1000}.buy-button strong{display:flex;align-items:center;justify-content:center;gap:4px;color:#ffe09c;font-size:.9rem}.buy-button .icon{width:16px;height:16px}.buy-button:disabled{background:#d9d5c1;color:#8d907b;border-color:#bfc0a8;box-shadow:inset 0 1px #f2edd8;opacity:1}.buy-button:disabled strong{color:#9b9a7e}.buy-button:not(:disabled):hover{filter:brightness(1.07)}.manager-footer{display:flex;justify-content:space-between;gap:10px;padding:8px 14px;font-size:.62rem;color:#828169;background:#e4d9ba;border-top:1px solid var(--line);flex-shrink:0}.battle-pane{display:flex;flex-direction:column;min-width:0;min-height:440px;background:#153d3b;position:relative}#arena{flex:1;position:relative;min-height:360px;overflow:hidden;isolation:isolate;background:#5f9691}.arena-scene{position:absolute;inset:0;background-position:center;background-size:cover;z-index:-3}.arena-vignette{position:absolute;inset:0;background:linear-gradient(#0b3f4677,transparent 40%,#0a343752 70%,#082e32d9);z-index:-2}.zone-header{display:flex;align-items:center;justify-content:center;gap:22px;padding:22px 18px 9px;text-align:center;color:#fff9dc;text-shadow:0 2px 3px #123a4070}.zone-header>div{min-width:0}.zone-header span{font-size:.7rem;font-weight:1000;letter-spacing:2px;color:#ffeaac}.zone-header h1{font-size:2.2rem;line-height:1.3;font-weight:1000;letter-spacing:1px}.zone-header h1 b{vertical-align:middle;letter-spacing:1px;font-size:.7rem;background:#a44439;color:#ffe1c0;padding:5px 8px;border-radius:5px;margin-left:6px;border:1px solid #efb78a}.zone-header small{font-size:.75rem;color:#e0ece0}.zone-arrow{width:44px;height:48px;background:#153e4570;border:1px solid #c3d9af60;color:#fff4cb;border-radius:7px;font-size:2rem;line-height:1}.zone-status{display:flex;align-items:center;justify-content:center;gap:14px;color:#f4efd1;font-size:.77rem;font-weight:900;padding:6px 14px;position:relative;z-index:2}.farm-button{min-height:35px;padding:5px 11px;background:#123d46a8;border:1px solid #cfdbc17d;border-radius:20px;color:#f3efd1;font-size:.7rem;font-weight:800;display:flex;align-items:center;gap:5px}.farm-button .icon{width:15px;height:15px}.farm-button.farming{background:#947136;color:#fff3c2}.best-zone{color:#d4e4d1;font-size:.66rem}.enemy-button{position:absolute;top:24%;bottom:25%;left:18%;right:18%;background:transparent;display:flex;align-items:center;justify-content:center;flex-direction:column;outline-offset:-10px!important;touch-action:manipulation;-webkit-tap-highlight-color:transparent;z-index:1}.enemy-sprite{height:100%;width:100%;max-height:420px;filter:drop-shadow(0 15px 9px #143b4266);animation:breathe 3s ease-in-out infinite}.enemy-button.is-boss .enemy-sprite{filter:drop-shadow(0 8px 12px #e9673180);max-height:440px}.tap-hint{position:absolute;bottom:-14px;font-size:.6rem;letter-spacing:2px;font-weight:1000;background:#1d494a8c;color:#f7ecb9;padding:5px 10px;border-radius:20px;opacity:.8;pointer-events:none}.enemy-platform{position:absolute;bottom:24%;left:25%;right:25%;height:7%;border-radius:50%;background:radial-gradient(ellipse,#21474375,transparent 70%);z-index:-1}.enemy-readout{position:absolute;bottom:13%;left:11%;right:11%;color:#fffbde;text-shadow:0 1px 3px #072c3280;z-index:2}.enemy-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:7px;font-size:1rem}.enemy-title>span{color:#ffe3a0;font-weight:1000}.health-track{height:19px;padding:3px;background:#0c3235be;border:1px solid #d4c890;border-radius:8px;box-shadow:0 2px 3px #122e4050;overflow:hidden}.health-track i{display:block;height:100%;background:linear-gradient(#d6845c,#b7463f);border-radius:4px;transition:width .12s linear;box-shadow:inset 0 1px #ffcf8d99}.health-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:5px;font-size:.68rem;font-weight:800}.health-label .icon{width:14px;height:14px;color:#ffe39b}.arena-squad{position:absolute;bottom:0;height:12%;left:12px;right:12px;display:flex;align-items:flex-end;justify-content:center;gap:13px;padding-bottom:9px}.arena-squad>button{position:relative;background:transparent;padding:0;width:48px;height:100%;max-height:70px;display:flex;flex-direction:column;align-items:center;color:#efe9c9}.arena-squad .sprite{height:calc(100% - 13px);width:100%;filter:drop-shadow(0 3px 2px #072a39)}.arena-squad button span{font-size:.6rem;font-weight:900}.squad-hp{width:95px;align-self:center;margin-left:6px;color:#e0e7c8;font-size:.65rem}.squad-hp>div{height:5px;margin-top:5px;background:#183c38;border:1px solid #abc799;border-radius:4px;overflow:hidden}.squad-hp i{height:100%;display:block;background:#8fd199}.skill-bar{display:flex;gap:8px;padding:12px;background:#183e3b;border-top:3px solid #c19b51;flex-shrink:0}.skill{position:relative;overflow:hidden;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:9px 4px;min-height:64px;background:linear-gradient(#2e6657,#235044);color:#f9e8b4;border:1px solid #a29b5d;border-bottom:3px solid #9a8347;border-radius:7px;box-shadow:inset 0 1px #668967;z-index:0}.skill>span{display:flex;align-items:center;justify-content:center;gap:5px;font-size:.77rem;font-weight:1000;z-index:1}.skill>small{font-size:.62rem;z-index:1;color:#cbd8b7}.skill .icon{width:17px;height:17px}.skill.ultimate{background:linear-gradient(#b48740,#866327);color:#fff2c3;border-color:#e3c07a}.skill.ultimate>small{color:#f6dfae}.skill>i{position:absolute;height:3px;bottom:0;left:0;background:#ffdb83}.skill:disabled{opacity:.65}.skill.auto{max-width:98px;background:#20413c;border-color:#637958}.skill.auto b{font-weight:900}.battle-tip{min-height:37px;display:flex;align-items:center;justify-content:center;padding:8px 15px;color:#a8c1aa;font-size:.65rem;text-align:center;background:#143633;flex-shrink:0}.section-label{padding:15px 18px;font-size:.75rem;font-weight:1000;letter-spacing:.3px;background:var(--paper);border-bottom:1px solid var(--line)}.manager-intro{padding:23px 20px;background:#fff8e3;border-bottom:1px solid var(--line)}.manager-intro p{font-size:.85rem;line-height:1.6;margin:8px 0;color:#76816a}.eyebrow{font-size:.66rem;letter-spacing:1.5px;color:#958459;font-weight:1000;display:block;margin-bottom:8px}.text-button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:4px 0;background:transparent;color:#277761;font-size:.8rem;font-weight:1000}.text-button .icon{width:16px;height:16px}.squad-picker{display:flex;gap:10px;margin:15px 0}.squad-picker>button,.empty-slot{width:calc(25% - 8px);height:100px;background:#efe4c2;border:1px solid #d1bf92;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px;font-size:.75rem;font-weight:900}.squad-picker .sprite{height:67px;width:70px}.empty-slot{border-style:dashed;color:#968a67}.synergy-note{font-size:.72rem!important;color:#53836a!important}.upgrade-row{display:flex;align-items:center;gap:13px;padding:20px 16px;border-bottom:1px solid var(--line);background:#fff9e8}.upgrade-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;border-radius:8px;background:#e3dab6;color:#72906b}.upgrade-row>div{flex:1;min-width:0}.upgrade-row p{font-size:.75rem;margin:4px 0;color:#3f8867}.upgrade-row small{font-size:.67rem;line-height:1.6;display:block;color:#8b866c}.upgrade-row .buy-button{min-width:95px;font-size:.75rem}.ascend-card{padding:22px 20px;background:#ece3cd}.ascend-card>span{font-size:.75rem;color:#978249;font-weight:900}.ascend-card h2{margin-top:12px}.ascend-card p{font-size:.85rem;line-height:1.6;margin:10px 0 15px;color:#78826b}.chapter-row{display:grid;grid-template-columns:100px 1fr;gap:14px;padding:18px;border-bottom:1px solid var(--line);background:#fff8e3}.chapter-row>img{height:105px;width:100px;object-fit:cover;border:3px solid #c8ae77;border-radius:7px}.chapter-row small{font-size:.61rem;color:#8b8563;font-weight:900}.chapter-row h3{margin-top:4px}.chapter-row p{font-size:.75rem;color:#7d876c;margin-top:3px}.chapter-row.cleared{background:#e8ecd4}.endless-note{padding:20px;color:#78806b;font-size:.8rem;line-height:1.6}.quest-row{padding:20px 18px;border-bottom:1px solid var(--line);background:#fff8e3}.quest-heading{display:flex;gap:12px;align-items:center}.quest-heading>span{width:36px;height:36px;background:#e6dab7;display:grid;place-items:center;border-radius:7px;color:#8b965c}.quest-heading>div{flex:1}.quest-heading p{font-size:.75rem;color:#7e846a;margin-top:4px}.quest-heading>b{display:flex;align-items:center;gap:4px;font-size:.8rem;color:#7798ae}.quest-progress{display:flex;align-items:center;gap:8px;margin-top:13px}.quest-progress>div{height:6px;background:#e4d8b9;border-radius:4px;flex:1;overflow:hidden}.quest-progress i{display:block;height:100%;background:#82a580}.quest-progress small{font-size:.65rem;color:#858768}.quest-progress button{min-height:36px;padding:5px 11px;background:#30795e;border:1px solid #1f644d;border-radius:5px;color:#fff7dc;font-size:.73rem;font-weight:900}.quest-progress button:disabled{color:#858268;background:#ddd6bd;border-color:#c9c2a7;opacity:1}.primary-button,.secondary-button{min-height:46px;padding:11px 18px;border-radius:7px;font-size:.87rem;font-weight:1000;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #1b604c;border-bottom:3px solid #194a3c;background:linear-gradient(#4a9775,#28745b);color:#fff4d2}.secondary-button{background:#f0e5c6;border-color:#d2bc8e;color:#6e7659}.battle-overlay{position:absolute;inset:0;background:#143b37dc;color:#fff3d0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;padding:25px;text-align:center}.battle-overlay>span .icon{width:58px;height:58px;color:#e8c37d}.battle-overlay p{font-size:.9rem;color:#c6d9c0}.paused-label{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#143b37e8;color:#fff4c9;border:1px solid #d3c18a;padding:12px 24px;border-radius:7px;z-index:3;font-weight:900;pointer-events:none}.damage-pop,.gold-pop{position:absolute;left:48%;top:42%;z-index:6;font-weight:1000;font-size:1.8rem;color:#fff6b8;text-shadow:0 2px 2px #285343,2px 0 2px #285343;pointer-events:none;animation:pop .6s ease-out forwards}.damage-pop.critical{color:#ffc76f;font-size:2rem}.gold-pop{top:56%;font-size:1.1rem;color:#ffe19e;animation:pop .8s ease-out forwards;left:44%}#toasts{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:20;width:min(92vw,470px);display:flex;flex-direction:column;gap:7px;pointer-events:none}.toast{background:#163f36f5;border:1px solid #c8aa64;color:#fff2c9;border-radius:10px;padding:13px 18px;font-size:.85rem;font-weight:800;box-shadow:0 5px 20px #092d3e55;animation:enter .2s ease-out}dialog{border:3px solid #bd9b59;background:#fff8e2;color:#354e43;border-radius:15px;max-width:min(620px,94vw);width:620px;max-height:90dvh;padding:30px;box-shadow:0 20px 70px #072f3780}dialog::backdrop{background:#092e36b8;backdrop-filter:blur(4px)}dialog h2{padding-right:22px}dialog p{font-size:.9rem;line-height:1.65;margin:12px 0;color:#778168}.modal-close{position:absolute;right:10px;top:10px;background:#e8debd;border-color:#c7b78c;color:#6e7a59;width:36px;height:36px}.detail-main{display:flex;align-items:center;gap:25px}.detail-main>.sprite{height:155px;width:160px}.detail-main p{margin:5px 0;font-size:.8rem}.transformation-gallery{display:flex;gap:8px;margin:15px 0}.transformation-gallery>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;flex:1;min-width:0;background:#ede5cf;padding:10px 4px;border:1px solid #d7c9a7;border-radius:7px;color:#918773}.transformation-gallery>div.reached{border-color:#77a082;background:#e9efd9;color:#3c7054}.transformation-gallery .sprite{height:110px;width:100%;opacity:.6}.transformation-gallery .reached .sprite{opacity:1}.transformation-gallery strong{font-size:.74rem}.transformation-gallery small{font-size:.67rem}.tiny-note{font-size:.72rem!important;color:#8e886e!important}.modal-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.transform-dialog{text-align:center}.transform-dialog>.sprite{height:260px;width:260px;margin:10px 0;filter:drop-shadow(0 4px 20px #acb66480)}.transform-dialog h2{padding:0}.story-scene>.sprite{height:180px;width:100%;margin:10px 0}.narrator-icon{display:grid;place-items:center;height:100px;color:#c7ac72}.narrator-icon .icon{width:60px;height:60px}.dialogue{padding:18px;background:#efe6c9;border-left:4px solid #84a480;border-radius:5px}.dialogue p{margin:6px 0 0;color:#475b4a;font-size:1rem}.dialogue>strong{color:#257355}.story-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.story-pagination>small{font-size:.75rem;color:#8b856b}.help-list p{padding-bottom:10px;border-bottom:1px solid #ded2ae}.help-list b{color:#365e4b}.settings-stats{font-size:.75rem;font-weight:900;color:#85915d;margin:12px 0}@keyframes breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes pop{from{opacity:1;transform:translateY(0) scale(.9)}to{opacity:0;transform:translateY(-65px) scale(1.1)}}@keyframes enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1100px){.hero-row{grid-template-columns:105px minmax(0,1fr) 120px;gap:14px;padding:12px 22px 12px 12px}.hero-portrait{width:100px;height:106px}.hero-copy>small{font-size:.7rem}.hero-form{font-size:.8rem}.hero-series{font-size:.7rem}.hero-title button{font-size:1.2rem}}
@media(max-width:900px){.game-frame{border-width:4px;min-height:0}.game-header{height:59px;padding:0 12px;gap:14px;border-bottom-width:3px}.brand{font-size:.95rem;gap:5px}.brand>.icon{width:25px;height:25px}.brand small{font-size:.48rem;letter-spacing:2px;margin-top:4px}.gold-wallet{padding:8px 10px;min-width:0;gap:6px}.gold-wallet strong{font-size:1.25rem}.gold-wallet>.icon{width:20px;height:20px}.gold-wallet>span{display:none}.header-tools{gap:4px}.header-tools .icon-button{width:37px;height:39px}.gem-wallet{margin-right:3px;font-size:.8rem;gap:4px}.gem-wallet .icon{width:16px;height:16px}.game-layout{display:flex;flex-direction:column;overflow-y:auto}.battle-pane{order:0;flex-shrink:0;height:40dvh;min-height:300px;border-bottom:3px solid #b99b56}.manager{order:1;min-height:330px;flex:1;border-right:0;overflow:hidden}#arena{min-height:0}.battle-tip{display:none}.skill-bar{padding:6px;gap:5px;border-top-width:2px}.skill{min-height:49px;padding:6px 3px;border-bottom-width:2px;gap:3px}.skill>span{font-size:.64rem;gap:3px}.skill>small{font-size:.57rem}.skill .icon{width:13px;height:13px}.skill.auto{max-width:70px}.zone-header{padding:8px 12px 3px;gap:17px}.zone-header span{font-size:.56rem;letter-spacing:1.3px}.zone-header h1{font-size:1.4rem;line-height:1.2}.zone-header small{font-size:.57rem}.zone-header h1 b{font-size:.52rem;padding:3px 5px}.zone-arrow{height:36px;width:38px;font-size:1.5rem}.zone-status{font-size:.6rem;padding:3px 10px;gap:8px}.farm-button{font-size:.55rem;min-height:27px;padding:3px 8px}.farm-button .icon{width:12px;height:12px}.best-zone{font-size:.55rem}.enemy-button{top:30%;bottom:24%;left:25%;right:25%}.enemy-sprite{max-height:190px}.tap-hint{bottom:-4px;font-size:.4rem;padding:3px 6px;letter-spacing:1px}.enemy-readout{bottom:9%;left:13%;right:13%}.enemy-title{font-size:.7rem;margin-bottom:3px}.health-track{height:12px;padding:2px;border-radius:5px}.health-label{font-size:.5rem;margin-top:3px}.health-label .icon{width:10px;height:10px}.arena-squad{left:7px;right:auto;bottom:18%;height:29%;flex-direction:column;justify-content:flex-end;gap:3px;padding:0}.arena-squad>button{width:33px;height:30px;min-height:0;flex-direction:row}.arena-squad button span{display:none}.arena-squad .sprite{height:100%;width:100%}.squad-hp{width:33px;margin:0;position:absolute;bottom:-12px}.squad-hp>span{display:none}.squad-hp>div{margin-top:0;height:4px}.combat-stats{min-height:32px;padding:6px 13px;font-size:.8rem}.combat-stats small{font-size:.65rem}.combat-stats .icon{width:15px;height:15px}.tabs{padding:4px 7px 0;gap:4px}.tabs button{min-height:40px;font-size:.73rem;gap:5px;border-radius:6px 6px 0 0}.tabs button .icon{height:16px;width:16px}.roster-toolbar{padding:7px 10px;min-height:49px;font-size:.73rem}.roster-toolbar small{font-size:.57rem}.buy-picker button{min-height:30px;min-width:36px;font-size:.7rem}.hero-row{grid-template-columns:70px minmax(0,1fr) 91px;padding:10px 10px 10px 3px;gap:7px;min-height:114px}.hero-portrait{width:70px;height:86px}.hero-title button{font-size:1.05rem}.hero-title>span{font-size:.59rem;padding:2px 4px}.hero-series{font-size:.58rem}.hero-form{font-size:.66rem;line-height:1.4}.hero-form>span{font-size:.65rem}.hero-copy>small{font-size:.57rem;line-height:1.5}.buy-button{min-height:55px;font-size:.7rem;padding:5px;gap:4px}.buy-button strong{font-size:.77rem}.buy-button .icon{width:14px;height:14px}.manager-footer{padding:5px 10px;font-size:.5rem}.section-label{padding:11px 15px;font-size:.68rem}.manager-intro{padding:18px 15px}.manager-intro h2{font-size:1.25rem}.manager-intro p{font-size:.8rem}.upgrade-row{padding:15px 12px;gap:9px}.upgrade-icon{width:31px;height:31px}.upgrade-row h3{font-size:.9rem}.upgrade-row small{font-size:.6rem}.upgrade-row .buy-button{min-width:84px}.chapter-row{grid-template-columns:80px 1fr;padding:14px;gap:12px}.chapter-row>img{width:80px;height:100px}.chapter-row h3{font-size:.9rem}.quest-row{padding:15px 12px}.quest-heading{gap:8px}.quest-heading h3{font-size:.9rem}.quest-heading p{font-size:.7rem}.damage-pop{font-size:1.2rem}.damage-pop.critical{font-size:1.3rem}.gold-pop{font-size:.8rem;top:52%}dialog{padding:24px 18px;max-height:90dvh}.transformation-gallery .sprite{height:90px}.transformation-gallery strong{font-size:.66rem}.transformation-gallery small{font-size:.59rem}.story-scene>.sprite{height:150px}.story-pagination .primary-button{font-size:.75rem}.modal-actions .primary-button,.modal-actions .secondary-button{flex:1}.detail-main>.sprite{height:130px;width:130px}.detail-main{gap:15px}.transform-dialog>.sprite{height:210px;width:210px}}
@media(max-width:360px){.brand>.icon{display:none}.brand{font-size:.85rem}.brand small{letter-spacing:1px}.game-header{gap:9px;padding:0 8px}.gold-wallet{padding:7px}.header-tools .icon-button{width:32px}.hero-row{grid-template-columns:58px minmax(0,1fr) 82px;gap:5px}.hero-portrait{width:58px}.hero-title{gap:4px}.hero-title button{font-size:.94rem}.hero-form>span{margin-left:0}.hero-form{gap:2px}.hero-copy>small{font-size:.54rem}.buy-picker button{min-width:33px}.skill.auto{max-width:58px}.skill>span{font-size:.6rem}.tabs button{gap:4px}.combat-stats{padding-inline:10px}.brand small{font-size:.45rem}}
@media(max-height:550px) and (min-width:650px){.game-frame{height:auto;min-height:100dvh}.game-layout{display:grid;grid-template-columns:1fr 1fr;overflow:visible;min-height:500px}.battle-pane{order:1;height:100%;min-height:500px;border:0}.manager{order:0;height:500px;border-right:4px solid #bd9b57}.enemy-button{top:25%;bottom:26%}.enemy-readout{bottom:15%}.arena-squad{bottom:6%;left:12px;right:12px;height:9%;flex-direction:row}.arena-squad>button{height:100%;width:35px}.squad-hp{position:static;align-self:center;margin-left:10px}.skill-bar{flex-wrap:wrap}.skill{flex:1 1 40%}.skill.auto{max-width:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.zone-header small{background:#16464375;padding:2px 9px;border-radius:20px;display:inline-block;margin-top:3px}.zone-status>span:first-child{background:#19494765;padding:4px 8px;border-radius:15px}.best-zone{background:#19494755;padding:4px 7px;border-radius:12px}
@media(max-width:900px){.zone-header small{margin-top:2px;padding:1px 7px}.buy-picker button{min-height:38px;min-width:39px}.buy-picker{padding:2px}.farm-button{min-height:32px}.zone-arrow{height:44px}.zone-header{padding-top:5px}.zone-status{padding-top:1px}.hero-row .buy-button{min-height:60px}.tabs button{min-height:44px}}
@media(max-width:360px){.buy-picker button{min-width:34px}}
.large-text .game-frame{height:auto;min-height:100dvh;overflow:visible}.large-text .game-header{height:auto;min-height:120px;flex-wrap:wrap;padding:14px;gap:12px}.large-text .brand{font-size:.9rem;max-width:100%}.large-text .gold-wallet{min-width:0}.large-text .header-tools{margin-left:0;flex-wrap:wrap}.large-text .game-layout{display:flex;flex-direction:column;overflow:visible}.large-text .battle-pane{order:0;height:auto;min-height:760px;border-bottom:4px solid #bd9b57}.large-text #arena{min-height:580px;flex:none}.large-text .zone-header{padding:16px 12px 8px;gap:10px}.large-text .zone-header h1{font-size:1.2rem}.large-text .zone-header span{font-size:.6rem;letter-spacing:1px}.large-text .zone-header small{font-size:.55rem}.large-text .zone-status{flex-wrap:wrap;gap:7px;font-size:.6rem}.large-text .zone-status .farm-button{font-size:.55rem;min-height:44px}.large-text .best-zone{font-size:.5rem}.large-text .enemy-button{top:39%;bottom:28%;left:18%;right:18%}.large-text .enemy-readout{left:8%;right:8%;bottom:12%}.large-text .enemy-title{font-size:.65rem}.large-text .health-label{font-size:.45rem;flex-wrap:wrap}.large-text .arena-squad{flex-direction:row;bottom:2%;height:8%;left:10px;right:10px;gap:8px}.large-text .arena-squad>button{height:100%;width:38px}.large-text .arena-squad button span{display:none}.large-text .squad-hp{position:static;margin-left:8px;width:65px}.large-text .squad-hp>span{font-size:.4rem}.large-text .skill-bar{flex-wrap:wrap;padding:9px}.large-text .skill{flex:1 1 40%;min-height:82px;max-width:none}.large-text .skill>span{font-size:.65rem}.large-text .skill>small{font-size:.5rem}.large-text .battle-tip{display:none}.large-text .manager{order:1;height:auto;min-height:0;overflow:visible;border-right:0}.large-text .manager-scroll{overflow:visible;max-height:none}.large-text .combat-stats{flex-wrap:wrap;font-size:.65rem;padding:12px}.large-text .tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:9px}.large-text .tabs button{font-size:.65rem;min-height:54px;border-radius:7px;border:1px solid #cabc93}.large-text .roster-toolbar{flex-wrap:wrap;padding:12px;font-size:.65rem}.large-text .roster-toolbar small{font-size:.5rem}.large-text .buy-picker button{font-size:.65rem;min-height:48px;min-width:54px}.large-text .hero-row{grid-template-columns:75px minmax(0,1fr);padding:15px 12px;gap:10px;min-height:230px}.large-text .hero-portrait{width:75px;height:115px;grid-row:1 / 3}.large-text .hero-copy{min-width:0}.large-text .hero-title{flex-wrap:wrap}.large-text .hero-title button{font-size:.9rem}.large-text .hero-title>span{font-size:.5rem}.large-text .hero-series{font-size:.5rem}.large-text .hero-form{font-size:.6rem}.large-text .hero-form>span{margin-left:0;font-size:.55rem}.large-text .hero-copy>small{font-size:.5rem}.large-text .hero-row .buy-button{grid-column:2;min-height:74px;font-size:.65rem;justify-self:stretch}.large-text .hero-row .buy-button strong{font-size:.65rem}.large-text .manager-footer{flex-wrap:wrap;font-size:.45rem}.large-text .manager-intro{padding:20px 15px}.large-text .manager-intro h2{font-size:1rem}.large-text .manager-intro p{font-size:.65rem}.large-text .upgrade-row{flex-wrap:wrap}.large-text .upgrade-row .buy-button{width:100%;font-size:.6rem}.large-text .upgrade-row h3{font-size:.75rem}.large-text .upgrade-row p{font-size:.6rem}.large-text .upgrade-row small{font-size:.5rem}.large-text .chapter-row{grid-template-columns:1fr}.large-text .chapter-row>img{width:100%;height:120px}.large-text .quest-heading{flex-wrap:wrap}.large-text .quest-heading h3{font-size:.75rem}.large-text .quest-heading p{font-size:.55rem}.large-text .quest-progress{flex-wrap:wrap}.large-text .quest-progress>div{min-width:90px}.large-text .quest-progress button{font-size:.6rem}.large-text dialog{padding:25px 18px;max-width:96vw}.large-text dialog h2{font-size:1rem}.large-text dialog p{font-size:.65rem}.large-text .primary-button,.large-text .secondary-button{font-size:.6rem;min-height:50px}.large-text .transformation-gallery{flex-direction:column}.large-text .transformation-gallery .sprite{height:150px}.large-text .detail-main{flex-wrap:wrap}.large-text .toast{font-size:.6rem}
/* Anime arcade skin: warm illustrated frames, blue purchase buttons, crisp comic feedback. */
:root{--paper:#fff1c3;--gold:#ffd06b;--ink:#49321d;--teal:#197ea9;--line:#d6ad65;color:#4b3620;background:#362715}.game-frame{border:7px solid #8d5527;box-shadow:inset 0 0 0 2px #ffe5a1,0 0 0 2px #3d2a1b;background:#ffe9ae}.game-header{background:linear-gradient(#81582c,#59391f);border-bottom:4px solid #ffca64;color:#fff5c7;gap:20px}.brand{color:#ffe1a1;text-shadow:0 2px #382818}.brand small{color:#ead4a7}.gold-wallet{background:linear-gradient(#4b3319,#64451f);border:2px solid #bd9147;box-shadow:inset 0 1px #d7ab5f80;color:#ffe377}.gold-wallet strong{text-shadow:0 2px #2f2517}.header-tools .icon-button{background:#573920;border:1px solid #c29755;color:#ffe3a4}.gem-wallet{color:#b8e9ff}.manager{border-right:5px solid #a66c32;background:#e4bb75}.combat-stats{background:linear-gradient(#fff0ba,#edcf8c);color:#554227;border-color:#bd9650;padding:10px 16px;font-weight:900}.combat-stats .icon{color:#b47f33}.combat-stats small{color:#84703f}.auto-button{min-height:30px;font-size:12px;font-weight:1000;padding:5px 10px;border:1px solid #ba944f;background:#ffe6a0;color:#685023;border-radius:6px}.tabs{background:linear-gradient(#b67a35,#daab5a);padding:6px 8px 0;gap:5px}.tabs button{border:2px solid #b47b30;border-bottom:0;background:linear-gradient(#ffd879,#eeb759);color:#775022;font-size:14px;min-height:48px;text-shadow:0 1px #ffe6aa;border-radius:7px 7px 0 0}.tabs button.active{background:linear-gradient(#fff7da,#fff0c4);box-shadow:inset 0 3px #ffe7a4;color:#2b719c}.tabs button .icon{stroke-width:2.1}.tabs i{background:#dc693c;color:#fff9da;text-shadow:none;font-size:12px}.roster-toolbar{background:#ffedb8;border-color:#bd9450;padding:8px 12px;min-height:60px;font-size:13px}.roster-toolbar>span{display:flex;flex-direction:column;gap:3px}.roster-toolbar select{font-family:inherit;font-size:12px;background:#ffe09b;color:#785422;border:1px solid #c99c54;border-radius:5px;padding:3px;max-width:155px;min-height:28px}.buy-picker{background:#ebc785;border:1px solid #bd9653;box-shadow:inset 0 1px #f9dd9e}.buy-picker button{color:#8a6332;font-size:13px;min-height:38px;min-width:43px}.buy-picker button.selected{background:linear-gradient(#369bca,#187caa);box-shadow:inset 0 1px #91dbef,0 2px #0c6088;color:#fff2c4}.manager-scroll{scrollbar-color:#9d7137 #efd293}.hero-row{background:linear-gradient(105deg,#fff7d8,#fff0c3);border:2px solid #a27537;border-bottom-width:3px;border-radius:7px;margin:6px;min-height:118px;padding:7px 10px 7px 3px;gap:8px;grid-template-columns:83px minmax(0,1fr) 110px;box-shadow:inset 0 1px #fffdf2,0 1px 3px #5f3a1e22}.hero-row:nth-child(even){background:linear-gradient(105deg,#fff1c4,#f9e7ab)}.hero-row.unrecruited{background:linear-gradient(105deg,#ecdbb0,#dfc896)}.hero-portrait{height:94px;width:80px;background:radial-gradient(ellipse,var(--hero),transparent 70%)}.hero-portrait .sprite{filter:drop-shadow(0 4px 1px #54391930)}.hero-row.owned .hero-portrait .sprite{animation:hero-sway 4s ease-in-out infinite}.hero-row.unrecruited .sprite{filter:saturate(.7);opacity:.75}.hero-title{gap:7px}.hero-title button{font-size:18px;font-weight:1000;color:#3e5c80;text-shadow:0 1px #fff8d8}.hero-title>span{background:none;color:#84703f;font-size:12px;padding:0;margin-left:auto}.hero-series{font-size:12px;letter-spacing:0;text-transform:none;color:#947246;line-height:1.3;font-weight:800}.hero-damage{font-size:14px;color:#46664c;line-height:1.5}.hero-damage strong{font-weight:1000}.perk-icons{display:flex;align-items:center;gap:4px;margin-top:3px}.perk-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:34px;height:32px;flex-shrink:0;padding:3px;background:linear-gradient(#8dabc3,#577e9e);border:2px solid #385b7a;border-radius:5px;color:#fff1bd;box-shadow:inset 0 1px #afc4d6}.perk-icon .icon{width:20px;height:20px}.perk-icon small{position:absolute;bottom:-3px;right:-3px;font-size:12px;line-height:14px;font-weight:1000;color:#76552c;background:#ffda81;border-radius:3px;padding:0 2px;min-width:14px;text-align:center;border:1px solid #a47534}.perk-icon.locked{filter:saturate(.3);opacity:.53}.perk-icon.unlocked{background:linear-gradient(#6bcce0,#298faf);border-color:#1c729d;animation:perk-ready 2s ease-in-out infinite}.perk-icon.learned{background:linear-gradient(#a9d377,#568647);border-color:#4b743e;box-shadow:inset 0 1px #daeeae}.perk-icon.learned small{background:#bbdf88;color:#315e30;border-color:#4f7537}.form-label{font-size:12px;color:#917349;line-height:1.2;margin-left:4px;font-weight:800;max-width:120px}.buy-button{background:linear-gradient(#46b5e2,#208fce);border:2px solid #247098;border-bottom:4px solid #195b83;border-radius:7px;color:#fff4c6;box-shadow:inset 0 1px #b2e4f0,0 2px 2px #57382122;min-height:65px;font-size:14px;gap:4px;text-shadow:0 1px #216594}.buy-button strong{font-size:15px;color:#fff29b}.buy-button:disabled{background:linear-gradient(#abb1a8,#858e86);border-color:#65786b;box-shadow:inset 0 1px #e3dbb6;color:#e1e0bf;text-shadow:0 1px #5c7066;opacity:.78}.buy-button:disabled strong{color:#d3d1b1}.buy-button:not(:disabled):active{transform:translateY(2px);border-bottom-width:2px}.manager-footer{background:#bb8b45;border-color:#875c2b;color:#fff1cb;font-size:12px;padding:7px 10px}.section-label{background:#ffedb8;font-size:14px;color:#7b592c;border-color:#bd9450}.battle-pane{background:#74481f}#arena{background:#56b2b7}.arena-scene{inset:-3%;animation:scene-drift 24s ease-in-out infinite alternate}.arena-vignette{background:linear-gradient(#06365070,transparent 42%,#133d3433 75%,#183d416e)}.zone-header{padding-top:16px}.zone-header h1{color:#fff6ca;text-shadow:0 3px #365838,2px 0 #365838,-2px 0 #365838;font-weight:1000;font-size:2rem}.zone-header span{font-size:13px;color:#ffe183;font-weight:1000;letter-spacing:1.6px;text-shadow:0 2px #274738}.zone-header small{color:#fff2c6;background:#285853b3;font-size:12px;border:1px solid #d9e1b450;padding:3px 10px}.zone-arrow{background:linear-gradient(#3d94b9b8,#23638eab);border:2px solid #98cee0;border-bottom:3px solid #1b5d7b;box-shadow:inset 0 1px #b4e4ec;color:#fff1b8}.zone-header h1 b{background:#c75e35;border:2px solid #ffc47c;font-size:12px}.zone-status{gap:10px;padding-top:6px;font-size:13px}.zone-status>span:first-child{background:#285853b3;border:1px solid #d9e1b465;padding:5px 9px;color:#fff4c5}.farm-button{font-size:12px;background:linear-gradient(#3d829c,#28667f);border:1px solid #9fc3c5;border-bottom:2px solid #164d60;color:#fff4cf;min-height:34px}.farm-button.farming{background:linear-gradient(#d99a43,#b87728);border-color:#ffdaa0;color:#fff4bb}.best-zone{font-size:12px;color:#fff0c1;background:#285853a3}.enemy-button{top:24%;bottom:24%;left:17%;right:17%;}.enemy-core{display:flex;align-items:center;justify-content:center;width:100%;height:100%;position:relative;transform-origin:50% 85%}.enemy-core:before{content:'';position:absolute;left:15%;right:15%;top:18%;bottom:5%;background:radial-gradient(ellipse,#eeffd633,transparent 65%);border-radius:50%;z-index:-1}.enemy-sprite{width:100%;height:100%;max-height:450px;filter:drop-shadow(0 10px 4px #1b3f4c65);animation:enemy-idle 2.5s ease-in-out infinite;transform-origin:50% 90%}.enemy-button.is-boss .enemy-sprite{max-height:500px;filter:drop-shadow(0 0 14px #ffbf7570) drop-shadow(0 9px 4px #253f4760);animation:boss-idle 2.1s ease-in-out infinite}.tap-hint{font-size:12px;letter-spacing:1px;background:#24594faf;border:1px solid #f2deb166;padding:3px 10px;bottom:-13px;color:#fff4b9}.enemy-platform{bottom:24%;background:radial-gradient(ellipse,#20413488,transparent 72%);animation:platform-pulse 2.5s ease-in-out infinite}.enemy-readout{left:10%;right:10%;bottom:13%;color:#fff7d0}.enemy-title{font-size:16px;text-shadow:0 2px #25473c;font-weight:1000}.enemy-title>span{font-size:16px;color:#ffd979;background:#7d4324ba;padding:2px 8px;border-radius:5px}.enemy-title>span:empty{display:none}.health-track{position:relative;padding:3px;height:20px;border:2px solid #ffe9a1;background:#653125;box-shadow:0 2px #25494090;overflow:hidden}.health-track>i{position:absolute;top:2px;bottom:2px;left:2px;height:auto;background:linear-gradient(#ff9a63,#df5141);box-shadow:inset 0 1px #ffcc8a;transition:width .12s linear;border-radius:4px;max-width:calc(100% - 4px)}.health-track>.health-trail{background:#ffe585;transition:width .5s .25s ease;box-shadow:none}.health-label{font-size:12px;font-weight:900;text-shadow:0 1px #183d3c}.health-label .icon{width:15px;height:15px}.combo-hud{position:absolute;right:15px;top:47%;display:flex;flex-direction:column;align-items:center;gap:5px;color:#fff0bd;text-shadow:0 2px #31554a;z-index:2}.combo-hud b{font-size:12px;font-weight:1000}.combo-hud>span{display:flex;gap:3px}.combo-hud i{width:6px;height:12px;border:1px solid #e8d3a1;border-radius:2px;background:#25565aa0;transform:skew(-10deg)}.combo-hud i.filled{background:#ffcf58;box-shadow:0 0 7px #ffe477}.arena-squad{gap:15px;height:12%;padding-bottom:10px}.arena-squad>button{width:55px;max-height:80px}.fighter-core{display:flex;height:calc(100% - 15px);width:100%;align-items:center;justify-content:center;animation:hero-sway 3.5s ease-in-out infinite}.fighter-core .sprite{height:100%;width:100%}.arena-squad button>span:last-child{font-size:12px;color:#ffefb9;text-shadow:0 1px #214735}.squad-hp{font-size:12px;width:100px;color:#ebefc6;font-weight:900}.squad-hp>div{height:7px}.active-buffs{position:absolute;left:10px;right:10px;top:24%;display:flex;justify-content:center;flex-wrap:wrap;gap:5px;z-index:3;pointer-events:none}.active-buffs>span{background:#274e46e8;color:#fff3c5;border:1px solid var(--buff);border-radius:5px;padding:4px 7px;font-size:12px;display:flex;align-items:center;gap:4px;box-shadow:0 1px 5px #23403450}.active-buffs .icon{height:13px;width:13px;color:var(--buff)}.active-buffs b{color:var(--buff)}.skill-bar{background:linear-gradient(#b87830,#9a5a24);border-top:4px solid #ffd779;padding:10px;gap:8px}.skill{position:relative;background:linear-gradient(#406484,#244a6d);border:2px solid #d7ab5d;border-bottom:4px solid #744620;border-radius:8px;box-shadow:inset 0 1px #8ba9c3;min-height:98px;gap:4px;padding:8px 4px;color:#fff4c0;overflow:hidden}.skill .skill-icon{position:relative;height:35px;width:35px;background:radial-gradient(var(--skill),#173850);border:2px solid #a4c7d2;border-radius:7px;color:#fff9d1;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 3px #173041}.skill-icon .icon{width:23px;height:23px;stroke-width:2.2}.skill-icon>.sprite{width:35px;height:35px;object-fit:contain}.skill-icon b{position:absolute;top:-7px;right:-8px;background:#dbaa61;color:#4e321c;font-size:10px;padding:0 3px;line-height:13px;border-radius:3px;border:1px solid #6d4c2b}.skill>strong{font-size:14px;font-weight:1000;text-align:center;line-height:1.15;min-height:17px;max-width:100%;color:#fff3c2;text-shadow:0 1px #1c3f5c}.skill>small{font-size:12px;font-weight:1000;line-height:1.2;color:#bcd8e2}.skill .skill-progress{height:4px;background:var(--skill);position:absolute;left:0;bottom:0;box-shadow:0 0 7px var(--skill)}.skill.ready{border-color:#ffe4a0;animation:skill-ready 2.8s ease-in-out infinite}.skill.ready>small{color:#fff4a7}.skill.skill-active{background:linear-gradient(#5b849b,#326480);box-shadow:inset 0 0 20px var(--skill);opacity:1}.skill.skill-active>small{color:#fffac8}.skill:disabled{opacity:.65}.skill.skill-ultimate{background:linear-gradient(#5e83b0,#31568c)}.skill.ready:active{transform:translateY(2px)}.battle-tip{background:#704921;font-size:12px;color:#f0d09a;min-height:34px;padding:8px 10px}.respawning .enemy-core{visibility:hidden}.respawning .tap-hint{opacity:0}.respawning .enemy-platform{opacity:.35}.powered .enemy-core:before{background:radial-gradient(ellipse,#ffdc6077,transparent 67%);animation:power-aura 1s ease-in-out infinite}.frozen .arena-scene{filter:hue-rotate(15deg) saturate(.75)}.frozen:after{content:'';position:absolute;inset:0;pointer-events:none;border:7px solid #a8d6ffe0;box-shadow:inset 0 0 55px #97d2ff9c;z-index:3}.treasure-active .enemy-platform{background:radial-gradient(ellipse,#ffb62d88,transparent 70%)}.battle-bark{position:absolute;left:16px;bottom:24%;max-width:200px;padding:9px 12px;border:2px solid #a77335;border-radius:9px;background:#fff4d5f2;box-shadow:0 3px 4px #254f4833;opacity:0;transform:translateY(6px);transition:opacity .2s,transform .2s;pointer-events:none;z-index:3}.battle-bark b{display:block;font-size:13px;color:#316c92;font-weight:1000}.battle-bark span{display:block;font-size:13px;line-height:1.35;color:#775230;margin-top:3px}.battle-bark.speaking{opacity:1;transform:translateY(0)}.combat-fx-layer{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:10}.combat-fx-layer canvas{position:absolute;inset:0}.combat-number{position:absolute;z-index:2;font-size:24px;font-weight:1000;line-height:1;text-shadow:0 3px #45351b,2px 0 #45351b,-2px 0 #45351b,0 -1px #45351b;white-space:nowrap;transform:translateX(-50%);will-change:transform}.combat-number.emphatic{font-size:31px;letter-spacing:.4px}.defeat-ghost{position:absolute;object-fit:contain;z-index:1;filter:drop-shadow(0 4px 4px #234a40)}.skill-cutin{position:absolute;display:flex;align-items:center;gap:9px;transform:translateX(-50%) skew(-3deg);padding:14px 18px;background:linear-gradient(110deg,#173950f5,#295b74ed);border:3px solid var(--skill-color);border-left-width:9px;border-radius:9px;color:#fff4c7;box-shadow:0 6px 25px #1b404daa,inset 0 1px #ffffff50;min-width:240px;animation:cutin-enter .22s ease-out;z-index:4}.skill-cutin>img{height:100px;width:90px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 0 5px var(--skill-color));margin-top:-22px;margin-bottom:-15px}.skill-cutin strong{display:block;font-size:22px;font-weight:1000;line-height:1.1;color:var(--skill-color);text-shadow:0 2px #153845}.skill-cutin small{display:block;font-size:13px;font-weight:800;margin-top:5px;line-height:1.35;color:#ffedbd}.perk-big-icon{display:grid;place-items:center;width:68px;height:68px;background:linear-gradient(#89cbdc,#488cab);border:3px solid #d9b873;box-shadow:0 3px #917441;border-radius:12px;margin-bottom:20px;color:#fff5c8}.perk-big-icon .icon{width:40px;height:40px}.perk-dialog-hero{display:flex;align-items:center;gap:20px;margin:12px 0}.perk-dialog-hero>.sprite{height:150px;width:130px}.perk-dialog p{font-size:16px}.detail-perks{display:flex;flex-direction:column;gap:7px;margin:16px 0}.detail-perks>button{display:flex;align-items:center;gap:12px;text-align:left;min-height:53px;padding:9px 12px;background:#e2cc94;border:1px solid #be9b5c;border-radius:7px}.detail-perks .learned{background:#d8e2a7;border-color:#92a661}.detail-perks b{font-size:14px;display:block}.detail-perks small{font-size:12px;display:block;margin-top:3px;color:#806e47}.settings-options{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid #cfa865;border-radius:8px;background:#fff0c4}.settings-options label{display:flex;align-items:center;gap:10px;min-height:32px;font-size:14px;font-weight:900}.settings-options input{width:20px;height:20px;accent-color:#2a93be}dialog{background:#fff1c8;border-color:#a66d31;color:#634722;box-shadow:0 20px 70px #35260f90}.modal-close{background:#ebcb88;border:1px solid #bd904c;color:#886332}dialog p{font-size:16px;color:#8b7048}.tiny-note{font-size:12px!important}.eyebrow{color:#ad7b35;font-size:12px;letter-spacing:1px}.primary-button{background:linear-gradient(#43acd3,#258aba);border:2px solid #267397;border-bottom:4px solid #195879;color:#fff2c2;text-shadow:0 1px #1d688a;font-size:14px}.secondary-button{background:linear-gradient(#ffe5a5,#edc36e);border:2px solid #ba8a3e;border-bottom:4px solid #98682d;color:#805627;font-size:14px}.text-button{color:#277ead;font-size:14px}.manager-intro{background:#fff0c4;border-color:#c99d53}.manager-intro p{color:#9b7643;font-size:16px}.upgrade-row,.quest-row,.chapter-row{background:#fff2cb;border-color:#cda359}.upgrade-row h3,.quest-heading h3,.chapter-row h3{color:#73512b}.upgrade-row p{color:#477c7a;font-size:14px}.upgrade-row small{font-size:12px;color:#a1804c}.quest-heading p{font-size:14px;color:#9c7c48}.quest-progress small{font-size:12px}.chapter-row small{font-size:12px}.chapter-row p{font-size:14px}.manager-footer{font-size:12px}.ascend-card{background:#edd296}.ascend-card p{color:#956f3d;font-size:16px}.ascend-card>span{font-size:14px;color:#91662c}.quest-progress button{font-size:14px;background:#328cad;border-color:#236f8f}.quest-heading>b{color:#5d92b2;font-size:14px}.quest-heading>span,.upgrade-icon{background:#f0d497;color:#a87832}.squad-picker>button,.empty-slot{background:#f4d89a;border-color:#c3974d}.story-scene .dialogue{background:#f1dba5;border-color:#5395a9}.dialogue p{color:#725638;font-size:16px}.dialogue>strong{color:#2c7f9b}.story-pagination small{font-size:12px}.toast{background:linear-gradient(#326582,#254b6a);border:2px solid #e4b961;color:#fff3c6;border-radius:8px;font-size:14px}.settings-stats{font-size:13px;color:#98703a}.battle-overlay{background:#264c57e8;color:#ffefb8}.battle-overlay p{color:#d3e2cd;font-size:16px}.paused-label{background:#274e65ee;border:2px solid #e5c07b;color:#ffedb3}.boss-arena .health-track{box-shadow:0 0 14px #ffb95755,0 2px #314435}.boss-arena .arena-vignette{background:linear-gradient(#41254055,transparent 35%,#7133421a 65%,#45273e99)}
@keyframes hero-sway{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-2px) rotate(1deg)}}@keyframes enemy-idle{0%,100%{transform:translateY(0) rotate(-1deg) scaleY(1)}50%{transform:translateY(-5px) rotate(1deg) scaleY(1.015)}}@keyframes boss-idle{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-8px) scale(1.035)}}@keyframes scene-drift{from{transform:scale(1.02) translateX(-.8%)}to{transform:scale(1.05) translateX(.8%)}}@keyframes platform-pulse{0%,100%{transform:scale(1);opacity:.7}50%{transform:scale(1.1);opacity:1}}@keyframes power-aura{0%,100%{opacity:.4;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}@keyframes perk-ready{0%,100%{box-shadow:inset 0 1px #b8e7ed}50%{box-shadow:inset 0 1px #b8e7ed,0 0 5px #70d5ff}}@keyframes skill-ready{0%,100%{box-shadow:inset 0 1px #8ba9c3}50%{box-shadow:inset 0 1px #8ba9c3,0 0 7px #fff1ae77}}@keyframes cutin-enter{from{opacity:0;transform:translateX(-70%) skew(-3deg)}to{opacity:1;transform:translateX(-50%) skew(-3deg)}}
@media(max-width:900px){.game-frame{border-width:4px}.game-header{height:58px;gap:11px;padding:0 10px;border-bottom-width:3px}.gold-wallet{padding:6px 9px;gap:5px;border-width:1px}.brand{font-size:16px}.brand small{font-size:10px;letter-spacing:1.5px}.brand>.icon{height:26px;width:26px}.gold-wallet strong{font-size:22px}.gem-wallet{font-size:14px;gap:3px}.header-tools{gap:4px}.header-tools .icon-button{height:39px;width:35px}.battle-pane{height:43dvh;min-height:354px;border-bottom:4px solid #a46d32}.skill-bar{padding:7px 6px;gap:4px;border-top-width:3px}.skill{min-height:79px;padding:5px 2px;gap:3px;border-width:1px;border-bottom-width:3px;border-radius:6px}.skill .skill-icon{height:26px;width:26px;border-width:1px}.skill-icon .icon{height:19px;width:19px}.skill-icon>.sprite{height:27px;width:27px}.skill-icon b{display:none}.skill>strong{font-size:12px;line-height:1;min-height:24px;display:flex;align-items:center;justify-content:center;word-spacing:5px}.skill>small{font-size:12px;line-height:1;white-space:nowrap}.skill .skill-progress{height:3px}.zone-header{padding:7px 10px 2px;gap:13px}.zone-header h1{font-size:24px;line-height:1.05}.zone-header span{font-size:12px;letter-spacing:1px}.zone-header small{font-size:12px;max-width:240px;padding:2px 9px;margin-top:3px}.zone-header h1 b{font-size:12px;padding:2px 4px;margin-left:2px;border-width:1px}.zone-arrow{width:33px;height:37px;font-size:24px;border-width:1px;border-bottom-width:2px}.zone-status{padding:3px 10px;gap:6px;font-size:12px}.zone-status>span:first-child{padding:3px 7px}.farm-button{font-size:12px;min-height:28px;padding:3px 8px;gap:4px}.farm-button .icon{height:12px;width:12px}.best-zone{font-size:12px;padding:3px 6px}.enemy-button{top:31%;bottom:21%;left:21%;right:21%}.enemy-sprite{max-height:none}.enemy-button.is-boss .enemy-sprite{max-height:none}.tap-hint{font-size:10px;padding:2px 7px;bottom:-5px;letter-spacing:.6px}.enemy-readout{bottom:9%;left:14%;right:9%}.enemy-title{font-size:14px;margin-bottom:4px;gap:7px}.enemy-title>span{font-size:14px;padding:1px 5px}.health-track{height:14px;padding:2px;border-width:1px}.health-label{font-size:12px;gap:7px;margin-top:3px;line-height:1}.health-label .icon{height:12px;width:12px}.health-track>i{top:2px;bottom:2px}.arena-squad{left:6px;right:auto;bottom:19%;height:32%;padding:0;flex-direction:column;gap:3px}.arena-squad>button{height:27px;width:32px;min-height:0;max-height:none}.fighter-core{height:100%;width:100%}.arena-squad button>span:last-child{display:none}.squad-hp{position:absolute;bottom:-11px;left:0;width:34px;margin:0}.squad-hp>span{display:none}.squad-hp>div{height:4px;margin-top:0}.combo-hud{top:49%;right:8px;max-width:80px}.combo-hud b{font-size:10px}.combo-hud i{height:10px;width:5px}.active-buffs{top:31%;gap:3px;left:36px;right:8px;justify-content:flex-end}.active-buffs>span{font-size:11px;padding:3px 5px;gap:3px;max-width:155px;white-space:nowrap}.active-buffs .icon{height:12px;width:12px}.battle-bark{left:8px;bottom:34%;max-width:145px;padding:6px 8px;border-width:1px}.battle-bark b,.battle-bark span{font-size:12px}.combat-stats{min-height:36px;padding:6px 10px;font-size:14px;gap:4px}.combat-stats small{font-size:12px}.combat-stats .icon{height:15px;width:15px}.auto-button{font-size:12px;min-height:27px;padding:3px 7px}.tabs{padding:4px 5px 0;gap:4px}.tabs button{font-size:14px;min-height:43px;padding:5px 3px;gap:4px;border-width:1px}.tabs button .icon{height:16px;width:16px}.roster-toolbar{padding:6px 9px;min-height:53px;font-size:12px}.roster-toolbar select{font-size:12px;max-width:116px;min-height:27px}.buy-picker{padding:2px;gap:1px}.buy-picker button{font-size:12px;min-height:38px;min-width:35px;padding:0 4px}.hero-row{grid-template-columns:58px minmax(0,1fr) 89px;gap:6px;min-height:105px;padding:7px 8px 7px 2px;margin:4px;border-width:1px;border-bottom-width:2px}.hero-portrait{height:80px;width:58px}.hero-title button{font-size:16px;line-height:1.2}.hero-title>span{font-size:12px;margin-left:auto}.hero-title{gap:5px}.hero-series{font-size:12px;line-height:1.2}.hero-damage{font-size:14px;line-height:1.4}.perk-icons{gap:3px;margin-top:3px}.perk-icon{width:29px;height:28px;border-width:1px;padding:3px}.perk-icon .icon{height:17px;width:17px}.perk-icon small{font-size:11px;line-height:12px;bottom:-2px;right:-2px;padding:0 2px}.form-label{font-size:11px;max-width:75px;margin-left:2px}.hero-row .buy-button{min-height:60px;font-size:13px;gap:4px;padding:5px 3px;border-width:1px;border-bottom-width:3px}.buy-button strong{font-size:14px}.manager-footer{font-size:10px;padding:5px 7px}.manager{min-height:340px}.skill-cutin{gap:6px;min-width:240px;padding:11px 10px;border-width:2px;border-left-width:6px}.skill-cutin>img{height:74px;width:65px;margin-top:-12px;margin-bottom:-10px}.skill-cutin strong{font-size:17px}.skill-cutin small{font-size:12px;line-height:1.25}.combat-number{font-size:20px}.combat-number.emphatic{font-size:26px}.manager-intro{padding:18px 15px}.manager-intro p{font-size:16px}.upgrade-row h3,.quest-heading h3,.chapter-row h3{font-size:16px}.upgrade-row p,.quest-heading p,.chapter-row p{font-size:14px}.chapter-row small{font-size:12px}.section-label{font-size:14px;padding:12px 14px}.ascend-card p{font-size:16px}.upgrade-row .buy-button{font-size:13px;min-width:88px}.quest-heading>div{min-width:0}.quest-heading h3{font-size:15px}.settings-stats{font-size:12px}.frozen:after{border-width:4px}.primary-button,.secondary-button{font-size:14px}.text-button{font-size:14px}.tiny-note{font-size:12px!important}.transformation-gallery strong,.transformation-gallery small{font-size:12px}.story-pagination .primary-button{font-size:14px}.detail-main p{font-size:14px}.detail-main .sprite{height:145px;width:140px}.perk-dialog-hero>.sprite{width:115px;height:135px}.story-scene .dialogue p{font-size:16px}.synergy-note{font-size:12px!important}}
@media(max-width:360px){.brand>.icon{display:none}.brand{font-size:15px}.brand small{font-size:9px}.game-header{gap:7px;padding-inline:7px}.header-tools .icon-button{width:31px}.gold-wallet{padding:6px}.gold-wallet strong{font-size:20px}.gem-wallet{font-size:12px}.hero-row{grid-template-columns:47px minmax(0,1fr) 82px;gap:5px;padding-right:6px}.hero-portrait{width:47px;height:76px}.form-label{display:none}.hero-title{flex-wrap:wrap;gap:1px 4px}.hero-title button{font-size:15px}.hero-title>span{margin-left:0;font-size:11px}.hero-series{font-size:12px}.hero-damage{font-size:13px}.perk-icon{width:29px;height:26px}.buy-picker button{min-width:31px;font-size:12px}.roster-toolbar{padding-inline:7px}.roster-toolbar select{max-width:102px}.tabs button{font-size:12px;gap:3px}.tabs button .icon{height:15px;width:15px}.skill>strong{font-size:11px}.skill>small{font-size:11px}.skill-bar{gap:3px;padding:6px 4px}.skill{min-height:75px}.zone-header h1{font-size:22px}.zone-header span,.zone-header small{font-size:11px}.enemy-title{font-size:13px}.health-label{font-size:11px}.combo-hud{max-width:65px;right:5px}.combo-hud b{font-size:9px}.battle-pane{min-height:348px}.best-zone{display:none}.active-buffs>span{font-size:10px}}
@media(max-height:550px) and (min-width:650px){.game-layout{min-height:540px}.battle-pane{min-height:540px;height:100%}.manager{height:540px;order:0}.battle-pane{order:1}.skill-bar{flex-wrap:nowrap}.skill{flex:1;min-height:78px}.enemy-button{top:26%;bottom:24%}.enemy-readout{bottom:14%}.arena-squad{bottom:2%;height:10%;left:10px;right:10px;flex-direction:row}.arena-squad>button{height:100%;width:34px}.squad-hp{position:static;width:70px;margin-left:9px}.skill>strong{font-size:11px}.skill>small{font-size:11px}.combo-hud{right:10px}.active-buffs{top:25%}}
.large-text .skill-bar{display:grid;grid-template-columns:repeat(3,1fr)}.large-text .skill{min-height:130px;flex:none}.large-text .skill>strong{font-size:.65rem}.large-text .skill>small{font-size:.5rem}.large-text .hero-title button{font-size:.8rem}.large-text .hero-damage{font-size:.6rem}.large-text .perk-icons{flex-wrap:wrap}.large-text .perk-icon{height:44px;width:44px}.large-text .form-label{font-size:.5rem;max-width:none}.large-text .hero-row{margin:7px}.large-text .hero-row .buy-button{font-size:.6rem}.large-text .hero-series{font-size:.5rem}.large-text .hero-title>span{font-size:.5rem}.large-text .auto-button{font-size:.5rem}.large-text .active-buffs{top:35%}.large-text .zone-header small{font-size:.5rem}.large-text .combo-hud{right:10px;top:55%}.large-text .roster-toolbar select{font-size:.5rem;max-width:175px}.large-text .hero-row .buy-button strong{font-size:.6rem}.large-text .hero-portrait{height:130px}.large-text .perk-icon small{font-size:12px}.large-text .enemy-readout{font-size:.6rem}.large-text .skill-cutin{max-width:90vw!important;min-width:0}.large-text .skill-cutin strong{font-size:18px}.large-text .skill-cutin small{font-size:13px}.large-text .battle-bark{display:none}.large-text .manager-footer{font-size:.45rem}
html.reduced-motion *,html.reduced-motion *::before,html.reduced-motion *::after{animation:none!important;transition:none!important}
.enemy-button.holding .enemy-core:before{background:radial-gradient(ellipse,#ffe38377,transparent 65%);animation:power-aura .5s ease-in-out infinite}.roster-toolbar>span>b{white-space:nowrap}
@media(max-width:900px){.battle-pane{min-height:370px}.enemy-button{top:29%;bottom:25%}.enemy-readout{bottom:4%;left:14%;right:9%}.tap-hint{bottom:0}.active-buffs{left:auto;right:7px;top:30%;width:126px;justify-content:flex-end}.active-buffs>span{font-size:12px}.arena-squad{bottom:21%}}
@media(max-width:360px){.battle-pane{min-height:345px}.enemy-button{top:29%;bottom:26%}.tap-hint{font-size:9px}.active-buffs{width:105px}.active-buffs>span{font-size:10px}}
.game-layout{overflow-x:hidden}.tabs button,.skill{min-width:0}.skill>strong{width:100%;overflow-wrap:anywhere}
@media(max-width:900px){.manager{border-right:0}}
@media(max-width:900px){.manager-footer{font-size:12px;gap:5px}.perk-icon small,.form-label,.tap-hint{font-size:12px}}
@media(max-width:360px){.skill>strong,.skill>small,.zone-header span,.zone-header small,.enemy-title,.health-label,.active-buffs>span,.combo-hud b,.hero-title>span{font-size:12px}.tabs button{font-size:14px}.tabs button .icon{display:none}.manager-footer{flex-wrap:wrap}.tap-hint{font-size:10px}}

/* The whole battlefield is an attack surface; real controls sit above it. */
.battle-tap-field{position:absolute;inset:0;width:100%;height:100%;z-index:0;background:transparent;border:0;border-radius:0;touch-action:none;cursor:crosshair;-webkit-tap-highlight-color:transparent}
.battle-tap-field:focus-visible{outline:3px solid #fff0b1;outline-offset:-5px}
.enemy-button{z-index:1;touch-action:none}.zone-header,.zone-status,.arena-squad{z-index:4;pointer-events:none}.zone-header button,.zone-status button,.arena-squad button{pointer-events:auto}
.enemy-readout,.combo-hud,.active-buffs,.enemy-platform,.arena-vignette,.arena-sparkles,.battle-bark{pointer-events:none}.enemy-readout,.combo-hud,.active-buffs{z-index:3}.battle-overlay,.paused-label{z-index:8}
.holding .enemy-core:before{background:radial-gradient(ellipse,#ffe38377,transparent 65%);animation:power-aura .5s ease-in-out infinite}
.chain-meter{display:flex;align-items:center;gap:7px;margin-bottom:7px;color:#ffe7a6;font-size:12px;font-weight:900;text-shadow:0 1px #244b51;min-height:19px}
.chain-meter>span{white-space:nowrap}.chain-meter>div{min-width:20px;flex:1;height:7px;border:1px solid #d7d8aa;border-radius:4px;background:#173c4ccc;overflow:hidden}.chain-meter i{display:block;height:100%;width:0;background:linear-gradient(90deg,#399eb0,#99fbef);transition:width .1s;box-shadow:0 0 8px #8cf9ff}.chain-meter>b{min-width:31px;text-align:right}.chain-meter.open{color:#b6ffff}.chain-meter.open i{background:#c6ffff}.chain-open .enemy-core{filter:drop-shadow(0 0 14px #8cf9ff99)}
.skill.finisher-ready{border-color:#c9ffff;box-shadow:0 0 12px #8cf9ff99!important}.skill.finisher-ready>small{color:#bdffff}.chain-open .health-track{box-shadow:0 0 12px #8cf9ff66}
.next-goal{width:100%;display:flex;align-items:center;text-align:left;gap:9px;min-height:75px;padding:7px 13px;background:linear-gradient(#fff6d7,#edd79f);color:#694d30;border:0;border-top:1px solid #bd9651;border-bottom:2px solid #af7e3b;border-radius:0;flex-shrink:0}
.next-goal[hidden]{display:none}.goal-portrait{width:37px;height:52px;flex-shrink:0}.goal-portrait .sprite{height:100%;width:100%;object-fit:contain}.goal-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.goal-copy>small{font-size:12px;font-weight:900;color:#96703d;letter-spacing:.5px}.goal-copy>strong{font-size:15px;line-height:1.2;color:#347a96}.goal-copy>span{font-size:12px;line-height:1.25;overflow-wrap:anywhere}.goal-progress{display:block;height:3px;background:#cbb479;margin-top:2px;border-radius:3px;overflow:hidden}.goal-progress>b{height:100%;display:block;background:#409bb3}.goal-view{font-size:12px;border:1px solid #bc8b47;padding:5px;border-radius:4px;background:#fae6b5}.goal-highlight{box-shadow:inset 0 0 0 3px #51b9d1,0 0 18px #67d5ec!important}.track-form{margin-top:10px}
.order-strip{display:flex;align-items:center;gap:10px;min-height:64px;flex-shrink:0;width:100%;border:0;border-top:2px solid #d7b26a;border-bottom:2px solid #9b6c36;border-radius:0;padding:8px 12px;background:linear-gradient(#76572c,#5d421f);color:#fff0be;text-align:left}
.order-symbol{display:grid;place-items:center;width:35px;height:35px;border:1px solid #d9b36a;background:#49391e;border-radius:6px;flex-shrink:0}.order-symbol>.icon{height:23px;width:23px}.order-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.order-copy>b{font-size:14px;line-height:1.1}.order-copy>small{font-size:12px;line-height:1.3;color:#e7cf9e}.order-reward-label{font-size:12px;background:#3194a9;border:1px solid #98cfcb;border-bottom:3px solid #16526a;border-radius:5px;padding:7px;flex-shrink:0}.order-strip.complete{background:linear-gradient(#347768,#225849)}.order-strip.complete .order-copy>b{color:#d5ffd3}.order-strip.complete .order-reward-label{background:#efe0a1;color:#456042;border-color:#faf2bd;border-bottom-color:#bdac67}
.order-card{margin:8px;padding:16px;background:#fff1c8;border:2px solid #c29b50;border-radius:8px}.order-card h3{font-size:19px;margin:6px 0 13px;color:#367f91}.order-card .primary-button{width:100%;margin-top:12px}.order-card>p{font-size:12px;color:#8d6f41;margin-bottom:0}.order-task{display:flex;align-items:center;gap:9px;font-size:14px;line-height:1.4;padding:9px 0;border-bottom:1px solid #ddc999;color:#795a32}.order-task>.icon{width:18px;height:18px;color:#af8641;flex-shrink:0}.order-task>span{flex:1}.order-task>b{color:#337d95;white-space:nowrap}.order-task.done,.order-task.done>.icon{color:#418161}.order-task.done>b{color:#418161}.boon-options{display:flex;flex-direction:column;gap:9px;margin:17px 0}.boon-options>button{display:flex;align-items:center;gap:13px;text-align:left;border:2px solid #be9a52;border-bottom:4px solid #986e32;border-radius:7px;padding:14px 12px;background:linear-gradient(#fff8df,#ebd198);color:#674b2b}.boon-options>button>.icon{height:30px;width:30px;flex-shrink:0;color:#377f96}.boon-options span{display:flex;flex-direction:column;gap:4px}.boon-options strong{font-size:17px}.boon-options small{font-size:14px;line-height:1.3}.order-strip:focus-visible,.next-goal:focus-visible{outline:3px solid #87dcf6;outline-offset:-3px}
@media(max-width:900px){.battle-pane{min-height:432px;height:50dvh}.battle-tip{display:none}.order-strip{min-height:60px;padding:7px 8px;gap:7px}.order-symbol{width:29px;height:32px}.order-copy>b{font-size:14px}.order-copy>small{font-size:12px}.order-reward-label{padding:6px;font-size:12px}.enemy-button{top:29%;bottom:28%}.enemy-readout{bottom:3%;left:14%;right:7%}.chain-meter{gap:5px;margin-bottom:6px}.chain-meter>span{font-size:11px}.chain-meter>div{min-width:15px}.next-goal{min-height:72px;padding:6px 8px;gap:7px}.goal-portrait{height:46px;width:30px}.goal-copy>strong{font-size:14px}.goal-view{display:none}.goal-copy>span{font-size:12px}.goal-copy>small{font-size:11px}.arena-squad{bottom:26%}.combo-hud{top:44%}}
@media(max-width:360px){.battle-pane{min-height:422px}.order-strip{min-height:65px}.order-symbol{display:none}.order-copy>small{font-size:12px}.chain-meter>span{font-size:10px}.chain-meter{gap:4px}.enemy-button{left:21%;right:21%;bottom:30%}.next-goal{padding:6px 7px}.goal-copy>strong{font-size:14px}.enemy-readout{left:12%;right:6%}.tap-hint{white-space:nowrap;font-size:10px}}
.large-text .order-strip{min-height:110px}.large-text .order-copy>b{font-size:.65rem}.large-text .order-copy>small{font-size:.5rem}.large-text .next-goal{min-height:130px}.large-text .goal-copy>strong{font-size:.7rem}.large-text .goal-copy>small,.large-text .goal-copy>span{font-size:.5rem}.large-text .chain-meter{font-size:.5rem}.large-text .chain-meter>span{font-size:.5rem}.large-text .goal-portrait{width:55px;height:90px}

@media(max-width:900px){.battle-pane{height:48dvh;min-height:416px}.order-strip{min-height:54px}.next-goal{min-height:60px}.goal-portrait{height:38px}.goal-copy{gap:1px}.goal-copy>small{font-size:10px}.skill>strong{min-height:18px;word-spacing:normal;overflow-wrap:normal;white-space:nowrap}.skill{min-height:73px}.enemy-button{top:26%;bottom:27%}.chain-meter{margin-bottom:5px}}
@media(max-width:360px){.battle-pane{min-height:416px}.order-strip{min-height:62px}.skill>strong{font-size:12px}}
