:root{color-scheme:dark;--bg:#0d1412;--panel:#141e1a;--panel2:#19241f;--line:#2c3a30;--muted:#7f9285;--text:#e4e9dd;--gold:#d5bc7a;--green:#91bc86;--mint:#91d5b4;--red:#dd8a78;font-family:"Yu Gothic UI","Meiryo",sans-serif;font-size:14px}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 30% 30%,#24352a55,transparent 55%),var(--bg);color:var(--text);min-width:340px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}button:hover:not(:disabled){filter:brightness(1.14)}[hidden]{display:none!important}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-library{position:absolute;width:0;height:0;overflow:hidden}img{image-rendering:pixelated;object-fit:contain}.game-shell{max-width:1500px;margin:auto;padding:0 44px}.topbar{height:96px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:24px}.brand{display:flex;align-items:center;gap:13px;font-family:Georgia,serif;letter-spacing:2.5px;font-size:20px;color:#e4ddba}.brand small{display:block;color:var(--muted);font-family:Arial,sans-serif;font-size:8px;letter-spacing:3.4px;margin-top:7px}.brand-emblem{width:43px;height:49px;border:1px solid #647156;border-radius:14px 14px 20px 20px;display:grid;place-items:center;background:linear-gradient(140deg,#94a16622,transparent);color:var(--gold)}.brand-emblem svg{width:27px;height:27px}.main-nav{display:flex;align-items:center;gap:8px}.main-nav button{display:flex;align-items:center;gap:9px;padding:13px 15px;color:#9dab9b;font-size:12px;border-radius:4px}.main-nav button:first-child{background:#263b2a80;color:#c8dcb8}.main-nav button:hover{background:#26352a}.main-nav svg{width:19px;height:19px}.main-nav b{font-size:9px;min-width:18px;height:18px;border:1px solid #53604d;display:grid;place-items:center;border-radius:4px;color:var(--gold)}.resources{display:flex;gap:20px;font:13px ui-monospace,Consolas,monospace}.resources>span{display:flex;align-items:center;gap:8px;min-width:52px}.resources img{width:30px;height:30px}.resources>span:first-child{color:var(--gold)}
.adventure-heading{display:flex;align-items:center;justify-content:space-between;padding:30px 0 24px}.eyebrow{font:9px Arial,sans-serif;letter-spacing:2.5px;color:var(--muted);display:flex;align-items:center;gap:10px;margin:0 0 12px}.eyebrow>span{width:5px;height:5px;border-radius:50%;background:var(--green)}.eyebrow i{font-style:normal;color:#495d4c;margin:0 2px}h1{font-size:29px;font-weight:600;letter-spacing:4px;margin:0;display:flex;align-items:center;gap:17px}.chapter-badge{font:11px Georgia,serif;color:var(--gold);border:1px solid #5d6040;padding:6px 9px;letter-spacing:1px}.map-button{display:flex;align-items:center;gap:9px;border:1px solid var(--line);padding:11px 17px;color:#b2beac;font-size:12px;border-radius:4px;background:#18231c80}.map-button span{color:var(--gold);margin-left:16px}.map-button svg{width:17px;height:17px}
.play-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:20px}.battle-panel{background:var(--panel);border:1px solid #46513a;border-radius:6px;overflow:hidden;box-shadow:0 15px 40px #0004}.battle-heading{height:48px;padding:0 21px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(90deg,#273323,#19241c)}.battle-heading>div{display:flex;align-items:center;gap:12px}.battle-heading b{font:12px ui-monospace,Consolas,monospace;color:var(--gold)}.battle-heading>div>span:last-child{font-size:12px;color:#b0bba6;padding-left:12px;border-left:1px solid #536045}.battle-heading>span{font:9px Arial,sans-serif;letter-spacing:2px;color:#8fbd83}.live-dot{height:5px;width:5px;background:var(--green);border-radius:50%;box-shadow:0 0 7px #a1db82}.arena{position:relative;aspect-ratio:16/9;background:#27392b;isolation:isolate}.arena canvas{display:block;width:100%;height:100%;image-rendering:pixelated}.arena-vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#10231755,transparent 35%,transparent 75%,#081a1480),linear-gradient(90deg,#0a171b33,transparent 22%,transparent 78%,#0a171b33)}.arena-hud{position:absolute;top:22px;left:26px;right:26px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}.wave-hud{background:#14251abf;border:1px solid #89976955;padding:12px 17px;box-shadow:0 4px 20px #14201733}.wave-hud>span{font:9px Arial,sans-serif;letter-spacing:1.5px;color:#c6d5b5}.wave-hud b{font:18px Georgia,serif;color:#f0e7c9;margin-left:9px;letter-spacing:1px}.wave-hud i{font-style:normal;font-size:10px;color:#94a583;letter-spacing:0;margin-left:4px}#wave-dots{display:flex;gap:5px;margin-top:9px}#wave-dots span{height:3px;flex:1;width:28px;background:#bdcdb333}#wave-dots .active{background:var(--gold)}#wave-dots .complete{background:#9dc38c}.arena-clock{display:flex;align-items:center;gap:6px;padding:8px 12px;color:#dde5d2;background:#15241999;font:11px ui-monospace,Consolas,monospace;border:1px solid #9dac7a33}.arena-clock svg{width:13px;height:13px}.boss-hud{position:absolute;top:24px;left:28%;right:28%;text-align:center;color:#f5c9b4;font-size:11px;letter-spacing:2px;text-shadow:0 2px 4px #000}.boss-hud>div{height:7px;margin-top:7px;background:#191b17;border:1px solid #e9b78288}.boss-hud i{display:block;height:100%;background:linear-gradient(90deg,#b1553f,#e99a70);transition:width .2s}.wave-toast{position:absolute;top:35%;left:0;right:0;text-align:center;font:24px Georgia,serif;letter-spacing:5px;color:#f9eec8;text-shadow:0 3px 20px #000;opacity:0;transition:opacity .3s;pointer-events:none}.wave-toast.show{opacity:1}
.start-overlay,.result-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:linear-gradient(180deg,#09171333,#091710b8);z-index:3}.start-seal{height:68px;width:68px;display:grid;place-items:center;border:1px solid #ddd4a488;transform:rotate(45deg);margin-bottom:38px;background:#1a2b1c66;box-shadow:0 0 40px #18271b77}.start-seal svg{transform:rotate(-45deg);width:38px;height:38px;color:#eee0ab}.start-overlay .eyebrow{color:#c3cdae;font-size:8px;margin-bottom:14px}.start-overlay h2{font-size:27px;font-weight:500;letter-spacing:6px;margin:0 0 27px;text-shadow:0 3px 18px #0009}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:12px 26px;border-radius:3px;font-size:12px;letter-spacing:1px;transition:filter .15s}.primary-button{background:linear-gradient(120deg,#e0ce92,#bca164);color:#263124;border:1px solid #e1d198;box-shadow:0 3px 24px #0e211f66}.primary-button svg{width:18px;height:18px}.secondary-button{border:1px solid #7c8c6955;background:#213223;color:#d6dcc7}.secondary-button svg{width:18px;height:18px}.result-overlay{background:#0e1e16d9;backdrop-filter:none}.result-emblem{font:55px Georgia,serif;color:#d9c88e;text-shadow:0 0 35px #d2c57577;line-height:1.1;margin-bottom:10px}.result-overlay h2{font-size:24px;font-weight:500;letter-spacing:4px;margin:0 0 17px}.result-overlay .eyebrow{color:var(--gold);font-size:9px}.result-rewards{display:flex;align-items:center;gap:20px;margin:0 0 22px}.result-rewards>span{display:flex;align-items:center;gap:7px;color:var(--gold);font:18px Georgia,serif}.result-rewards img{width:38px;height:38px}.result-actions{display:flex;gap:10px}#repeat-countdown{font-size:10px;color:#99ad8b;margin-top:15px;height:14px}.result-overlay.defeat .result-emblem{color:#d3947d}.result-overlay.defeat .eyebrow{color:#ce9a87}
.battle-controls{height:72px;padding:0 19px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #59613f55;background:linear-gradient(90deg,#1c281f,#17201a)}.transport{display:flex;align-items:center;gap:10px}.icon-button{display:grid;place-items:center;width:32px;height:32px;color:#a8b69f;border-radius:4px}.icon-button:hover{background:#82997822}.icon-button svg{width:18px;height:18px}.speed-button{color:#c2c9b6;border:1px solid #46523c;border-radius:3px;font:12px ui-monospace,Consolas,monospace;min-width:39px;height:29px}.control-divider{height:22px;border-left:1px solid #41513b;margin:0 4px}.auto-button{display:flex;align-items:center;gap:8px;font:10px Arial,sans-serif;letter-spacing:1.5px;color:#738673}.auto-button svg{width:17px;height:17px}.auto-button i{width:6px;height:6px;border-radius:50%;background:#546255}.auto-button[aria-pressed=true]{color:#c2d4a7}.auto-button[aria-pressed=true] i{background:#a7ce82;box-shadow:0 0 8px #88c46577}.skills{display:flex;gap:9px}.skill-slot{position:relative;border:1px solid #766b46;width:44px;height:44px;background:radial-gradient(circle,#b69b4a44,#2c321d);display:grid;place-items:center;border-radius:4px;overflow:hidden}.skill-slot>svg{color:#e3c885;width:25px;height:25px}.skill-slot>img{width:35px;height:35px}.skill-slot>span{position:absolute;inset:0;display:grid;place-items:center;background:#14201d99;font:14px ui-monospace,Consolas,monospace;color:#eee9ce}.skill-slot>span:empty{display:none}.skill-slot>b{position:absolute;bottom:1px;right:4px;font:10px ui-monospace,Consolas,monospace;text-shadow:0 1px 3px #000}.potion-slot{border-color:#665245;background:radial-gradient(circle,#854a3322,#231e19)}
.journey-sidebar{display:flex;flex-direction:column;gap:14px}.journey-sidebar>section{border:1px solid var(--line);background:linear-gradient(130deg,#1d2b2077,#131e19);border-radius:5px;padding:16px 18px}.section-caption{display:flex;align-items:center;justify-content:space-between;color:#8ea18b;font:9px Arial,sans-serif;letter-spacing:2px;min-height:23px}.section-caption .icon-button{width:22px;height:22px}.section-caption svg{width:15px;height:15px}.section-caption>span:last-child:not(:first-child){letter-spacing:0;font:10px ui-monospace,Consolas,monospace}.hero-summary{display:flex;align-items:center;gap:12px;width:100%;text-align:left;margin:14px 0 17px;padding:0}.hero-avatar{display:block;position:relative;width:71px;height:76px;background:radial-gradient(ellipse,#81936233,transparent);border:1px solid #66735255;overflow:hidden;border-radius:3px}.hero-avatar img{position:absolute;width:106px;height:106px;top:0;left:-14px}.hero-summary small{font:8px Arial,sans-serif;letter-spacing:1.8px;color:#809478}.hero-summary strong{display:block;font-size:18px;letter-spacing:2px;font-weight:500;margin:4px 0}.hero-summary em{font:10px ui-monospace,Consolas,monospace;color:var(--gold);font-style:normal}.health-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.health-label svg{color:#93b686;width:14px;height:14px}.health-label b{font:11px ui-monospace,Consolas,monospace;font-weight:400}.health-label b span{color:#75886e;font-size:9px}.health-track,.progress-track{height:5px;background:#2b392d;border-radius:1px;overflow:hidden}.health-track i{display:block;height:100%;background:linear-gradient(90deg,#53784c,#a1c984);transition:width .2s}.quick-stats{display:grid;grid-template-columns:repeat(3,1fr);margin-top:19px;gap:8px}.quick-stats>span{display:flex;align-items:center;gap:7px;border-right:1px solid var(--line)}.quick-stats>span:last-child{border:0}.quick-stats svg{width:15px;height:15px;color:var(--muted)}.quick-stats b{font:12px ui-monospace,Consolas,monospace}.quick-stats small{font-size:9px;color:var(--muted)}.encounter-list{display:flex;gap:5px;flex-wrap:wrap;margin:14px 0}.enemy-chip{display:grid;place-items:center;position:relative;background:#2a3b2666;border:1px solid #57744644;width:43px;height:43px;border-radius:3px;padding:3px}.enemy-chip img{width:100%;height:100%}.enemy-chip.boss{border-color:#8b764e88;background:#5b422533}.enemy-chip.boss:after{content:'◆';font-size:7px;color:var(--gold);position:absolute;right:1px;top:0}.progress-track{height:3px}.progress-track i{display:block;height:100%;background:var(--gold);width:0;transition:width .3s}.loot-card{flex:1;min-height:154px}.recent-loot{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:14px 0}.loot-cell{position:relative;aspect-ratio:1;background:#18271d;border:1px solid #3b503a;border-radius:3px;display:grid;place-items:center;padding:5px}.loot-cell img{width:100%;height:100%}.loot-cell b{position:absolute;bottom:2px;right:4px;font:9px ui-monospace,Consolas,monospace;color:#d9e1c7;text-shadow:0 2px 3px #000}.loot-cell.empty:before{content:'·';color:#43583c;font:18px Georgia,serif}.run-gold{display:flex;gap:6px;align-items:center;font:11px ui-monospace,Consolas,monospace;color:var(--gold)}.run-gold img{width:23px;height:23px}.run-gold>span:last-child{margin-left:auto;color:#658263;font-size:10px}
.forest-route{display:flex;gap:28px;border:1px solid var(--line);background:#15201880;margin-top:20px;padding:20px 22px;border-radius:5px;align-items:center}.route-caption{width:110px;flex-shrink:0;display:grid;grid-template-columns:20px 1fr;gap:7px;align-items:center}.route-caption svg{color:#94a574;width:16px;height:16px}.route-caption span{font:8px Arial,sans-serif;letter-spacing:1.4px;white-space:nowrap}.route-caption b{grid-column:2;font:11px ui-monospace,Consolas,monospace;color:var(--gold);font-weight:400}.route-nodes{display:flex;justify-content:space-between;align-items:center;width:100%;position:relative;gap:4px}.route-nodes:before{content:'';position:absolute;left:4%;right:4%;top:24px;height:1px;background:#3b503b}.route-node{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:7px;color:#657c62;padding:0}.route-node>span{width:44px;height:44px;display:grid;place-items:center;border:1px solid #354c32;background:#16231a;border-radius:50%;position:relative}.route-node img{width:30px;height:30px;opacity:.38}.route-node small{font:9px ui-monospace,Consolas,monospace;letter-spacing:1px}.route-node.current>span{border-color:#c6b47b;box-shadow:0 0 0 4px #9a985d15,0 0 17px #8ea15c22}.route-node.current small{color:var(--gold)}.route-node.unlocked img,.route-node.cleared img{opacity:1}.route-node.cleared>span{border-color:#749a64}.route-node .node-status{position:absolute;width:12px;height:12px;bottom:-3px;right:-1px;background:#15271b;border:1px solid #668954;padding:1px;stroke-width:3;color:#a5ce89;border-radius:50%}.route-node.locked .node-status{border:0;background:#16221a;stroke-width:1.7;color:#698261}footer{display:flex;align-items:center;justify-content:space-between;font:9px Arial,sans-serif;letter-spacing:1px;color:#6d806a;padding:23px 0 25px}footer>span:first-child{display:flex;align-items:center;gap:7px;font-family:inherit;letter-spacing:0}footer i{width:4px;height:4px;background:#6b8d64;border-radius:50%}footer b{font:8px Arial,sans-serif;color:#7f9772;margin-left:4px;letter-spacing:1px}footer a{font-size:10px;color:#8a9c7d}footer small{font-size:8px;margin-left:11px;color:#4b644c}
.menu-dialog{width:min(920px,calc(100vw - 40px));max-height:calc(100dvh - 60px);padding:0;border:1px solid #65724d;border-radius:7px;background:#121e18;box-shadow:0 24px 100px #0009;color:var(--text);overflow:auto}.menu-dialog::backdrop{background:#040d0bdd;backdrop-filter:none}.dialog-heading{display:flex;justify-content:space-between;align-items:center;padding:26px 30px;border-bottom:1px solid var(--line);background:linear-gradient(90deg,#27342388,transparent)}.dialog-heading .eyebrow{color:#92a282;margin:0 0 8px;font-size:8px}.dialog-heading h2{font-size:23px;letter-spacing:3px;font-weight:500;margin:0}.dialog-heading .icon-button{width:36px;height:36px}.stage-menu{display:grid;grid-template-columns:1fr 280px;min-height:415px}.stage-map{position:relative;background:linear-gradient(#071b0db5,#10201be8),url('/assets/stages/starting-forest/forest-distant.png') center/cover;padding:31px 28px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-content:center;gap:30px 10px;border-right:1px solid var(--line)}.stage-map:before{content:'';position:absolute;left:11%;right:11%;top:50%;border:1px solid #b6ac6933;height:98px;border-left:0;border-radius:0 40px 40px 0;transform:translateY(-50%);pointer-events:none}.stage-map .route-node{gap:10px}.stage-map .route-node>span{width:67px;height:67px}.stage-map .route-node img{width:45px;height:45px}.stage-map .route-node small{font-size:10px}.stage-map .route-node:nth-child(n+6){transform:translateY(6px)}.stage-map .route-node:nth-child(6){grid-column:5;grid-row:2}.stage-map .route-node:nth-child(7){grid-column:4;grid-row:2}.stage-map .route-node:nth-child(8){grid-column:3;grid-row:2}.stage-map .route-node:nth-child(9){grid-column:2;grid-row:2}.stage-map .route-node:nth-child(10){grid-column:1;grid-row:2}.stage-detail{padding:26px 23px;display:flex;flex-direction:column}.stage-detail .eyebrow{font-size:8px;color:var(--gold)}.stage-detail h3{font-size:20px;font-weight:500;letter-spacing:1px;margin:0 0 20px}.stage-detail .detail-line{font-size:10px;color:var(--muted);display:flex;justify-content:space-between;margin:14px 0}.stage-detail .encounter-list{margin:0 0 20px}.stage-detail .enemy-chip{width:47px;height:47px}.stage-detail .primary-button{margin-top:auto;width:100%;padding:12px 10px}.stage-detail .locked-message{font-size:10px;color:#a6a17b;margin-top:10px;text-align:center;min-height:15px}.reward-preview{display:flex;gap:8px;margin-bottom:22px;align-items:center;font:12px ui-monospace,Consolas,monospace;color:var(--gold)}.reward-preview img{width:30px;height:30px}.reward-preview .item-small{margin-left:12px}.character-menu{display:grid;grid-template-columns:48% 52%;min-height:440px}.character-showcase{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px;background:radial-gradient(ellipse at 50% 40%,#486e3844,transparent 60%),linear-gradient(#12281d55,#14281bea),url('/assets/stages/starting-forest/forest-distant.png') center/cover;border-right:1px solid var(--line)}.character-showcase:after{content:'';position:absolute;width:180px;height:40px;bottom:70px;border:1px solid #aab77155;transform:rotateX(55deg) rotate(20deg);border-radius:50%;box-shadow:0 0 40px #93a86a22;pointer-events:none}.character-showcase img{width:280px;max-width:100%;height:280px;filter:drop-shadow(0 8px 12px #0006)}.character-showcase .eyebrow{margin:0;color:#c0cd9f;font-size:8px}.character-showcase h3{font-size:24px;letter-spacing:5px;font-weight:500;margin:10px 0}.character-showcase>span{font:11px ui-monospace,Consolas,monospace;color:var(--gold)}.character-details{padding:28px 30px}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#374635;border:1px solid #374635;margin-top:16px}.stat-grid>div{padding:16px;background:#16241b;display:flex;align-items:center;gap:12px}.stat-grid svg{color:#839979;width:18px;height:18px}.stat-grid small{display:block;font-size:9px;color:#8b9f81;margin-bottom:5px}.stat-grid b{font:18px Georgia,serif;color:#e5e5cc}.stat-grid b em{font-style:normal;font-size:11px;color:#8b9f81}.equipment-slots{display:flex;gap:10px;margin:16px 0 23px}.equipment-slots .item-cell{width:61px;height:61px}.character-details .section-caption{margin-top:20px}.character-details .section-caption:first-child{margin-top:0}.character-details .ability-card{display:flex;align-items:center;gap:12px;padding:14px;background:#28352266;border:1px solid #5e624033;border-radius:3px;margin-top:13px}.ability-card>svg{color:var(--gold);width:26px;height:26px}.ability-card strong{display:block;font-size:12px;font-weight:500;color:#d7d6b8}.ability-card span{display:block;font:10px ui-monospace,Consolas,monospace;color:#8f9f7b;margin-top:6px}
.inventory-menu{padding:25px 30px 30px}.inventory-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:15px}.inventory-filters{display:flex;gap:5px;flex-wrap:wrap}.inventory-filters button{padding:8px 13px;border:1px solid transparent;font-size:11px;color:#9aac8f;border-radius:3px}.inventory-filters button[aria-pressed=true]{background:#36452c66;border-color:#68754a77;color:#d2dab7}.inventory-toolbar>span{font:10px ui-monospace,Consolas,monospace;color:#879875;white-space:nowrap}.inventory-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:11px}.item-cell{position:relative;border:1px solid #526542;background:radial-gradient(ellipse,#31462d77,#19271b);border-radius:4px;aspect-ratio:1;display:grid;place-items:center;padding:14%;width:100%;min-width:0}.item-cell img{width:100%;height:100%;object-fit:contain}.item-cell[data-rarity=uncommon]{border-color:#547e59;background:radial-gradient(ellipse,#335c3677,#152a1e)}.item-cell[data-rarity=rare]{border-color:#557f9d;background:radial-gradient(ellipse,#36597977,#172433)}.item-cell>b{position:absolute;bottom:5px;right:7px;font:11px ui-monospace,Consolas,monospace;color:#d6ddc3;text-shadow:0 2px 3px #000}.item-cell.empty{border-color:#2d402e;background:#15211a}.item-cell.empty:after{content:'·';color:#405c3d;font-size:20px}.item-cell.unowned{opacity:.45}.item-cell .equipped{position:absolute;top:4px;left:5px;width:12px;height:12px;color:#b1d090}.item-cell.selected{box-shadow:0 0 0 2px var(--gold)}.inventory-selection{display:flex;align-items:center;gap:18px;margin-top:25px;min-height:91px;padding:18px;border:1px solid var(--line);background:#1a2b1e66;border-radius:4px}.inventory-selection>img{width:56px;height:56px}.inventory-selection>div{flex:1}.inventory-selection strong{display:block;font-size:14px;font-weight:500;letter-spacing:1px}.inventory-selection p{color:#95aa88;font-size:11px;margin:8px 0 0;line-height:1.6}.inventory-selection>span{font:11px ui-monospace,Consolas,monospace;color:var(--gold)}.inventory-selection .secondary-button{font-size:11px;padding:8px 14px;min-height:36px}.inventory-empty{font-size:12px;color:var(--muted);grid-column:1/-1;padding:25px;text-align:center}.tooltip{position:fixed;z-index:20;max-width:260px;pointer-events:none;background:#111f18f5;border:1px solid #82965b99;padding:9px 12px;border-radius:3px;color:#d7dfc9;font-size:11px;line-height:1.7;box-shadow:0 7px 24px #0006;white-space:pre-line}.notification{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);z-index:21;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;background:#1f3525f5;color:#deead0;border:1px solid #7f9a66;padding:12px 23px;font-size:12px;box-shadow:0 10px 40px #0007;border-radius:4px}.notification.visible{opacity:1;transform:translate(-50%,0)}
.equipment-slots .item-cell{padding:10px;flex:0 0 61px}.item-cell{padding:12px}
@media(min-width:1450px){.play-layout{grid-template-columns:minmax(0,1fr) 270px}.journey-sidebar>section{padding:20px}.hero-summary{margin:18px 0 22px}.hero-card{min-height:250px}.encounter-card{min-height:135px}.loot-card{min-height:178px}}
@media(max-width:1100px){.game-shell{padding:0 24px}.topbar{height:83px;gap:14px}.brand{font-size:17px;letter-spacing:2px}.main-nav button{padding:10px;gap:6px}.main-nav{gap:0}.resources{gap:10px}.play-layout{grid-template-columns:minmax(0,1fr) 215px;gap:14px}.journey-sidebar{gap:10px}.journey-sidebar>section{padding:13px}.hero-summary{margin:10px 0 12px;gap:9px}.hero-avatar{width:58px;height:60px}.hero-avatar img{width:88px;height:88px;left:-13px}.quick-stats{margin-top:14px;gap:4px}.quick-stats>span{gap:4px}.quick-stats svg{width:13px;height:13px}.enemy-chip{width:36px;height:36px}.encounter-list{margin:10px 0}.loot-card{min-height:125px}.recent-loot{margin:10px 0;gap:4px}.forest-route{gap:18px;padding:18px}.route-node>span{width:36px;height:36px}.route-node img{width:25px;height:25px}.route-nodes:before{top:19px}.adventure-heading{padding:25px 0 20px}}
@media(max-width:850px){.game-shell{padding:0 18px}.main-nav button span{display:none}.main-nav button{padding:10px 13px}.main-nav b{display:none}.topbar{height:76px}.brand{font-size:16px;letter-spacing:1.5px}.brand small{font-size:7px;letter-spacing:2.5px}.brand-emblem{width:34px;height:40px}.brand-emblem svg{width:23px;height:23px}.resources{font-size:11px;gap:10px}.resources img{width:24px;height:24px}.resources>span{min-width:35px;gap:4px}.play-layout{grid-template-columns:1fr}.journey-sidebar{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:10px}.journey-sidebar>section{padding:12px}.hero-summary{margin:8px 0;gap:9px}.hero-avatar{width:38px;height:40px}.hero-avatar img{width:60px;height:60px;left:-9px;top:-2px}.hero-summary small{font-size:7px}.hero-summary strong{font-size:14px;margin:2px 0}.hero-summary em{font-size:9px}.health-label{margin-bottom:5px}.quick-stats{margin-top:10px}.loot-card{min-height:0}.encounter-list{margin:12px 0}.enemy-chip{width:34px;height:34px}.recent-loot{grid-template-columns:repeat(3,1fr);gap:4px}.recent-loot .loot-cell:nth-child(4){display:none}.forest-route{gap:15px;padding:17px 14px}.route-caption{width:82px;grid-template-columns:14px 1fr;gap:5px}.route-caption span{font-size:7px;letter-spacing:.8px}.route-caption svg{width:13px;height:13px}.route-node>span{width:32px;height:32px}.route-node img{width:22px;height:22px}.route-node small{font-size:8px;letter-spacing:0}.route-nodes:before{top:17px}.stage-menu{grid-template-columns:1fr 235px}.stage-map{padding:25px 16px;gap:25px 5px}.stage-map .route-node>span{width:54px;height:54px}.stage-map .route-node img{width:37px;height:37px}.stage-detail{padding:24px 17px}.inventory-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.character-details{padding:24px}.stat-grid>div{padding:13px;gap:9px}}
@media(max-width:580px){.game-shell{padding:0 12px}.topbar{gap:5px;height:66px}.brand{font-size:13px;letter-spacing:1px;gap:7px}.brand small{font-size:6px;letter-spacing:1.8px;margin-top:5px}.brand-emblem{width:27px;height:33px;border-radius:9px 9px 13px 13px}.brand-emblem svg{width:19px;height:19px}.main-nav button{padding:8px}.main-nav svg{width:17px;height:17px}.resources{gap:7px;font-size:10px}.adventure-heading{padding:22px 0 16px;gap:10px}h1{font-size:23px;letter-spacing:2px;gap:10px}.chapter-badge{font-size:9px;padding:5px 7px}.eyebrow{font-size:7px;letter-spacing:1.4px;gap:6px}.map-button{padding:9px;font-size:10px;gap:6px}.map-button span{display:none}.map-button svg{width:15px;height:15px}.battle-heading{height:40px;padding:0 13px}.battle-heading>div{gap:8px}.battle-heading>div>span:last-child{font-size:10px;padding-left:8px}.battle-heading b{font-size:10px}.battle-heading>span{font-size:8px;letter-spacing:1px}.arena{aspect-ratio:4/3}.arena canvas{object-fit:cover}.arena-hud{top:12px;left:12px;right:12px}.wave-hud{padding:8px 11px}.wave-hud b{font-size:15px}.wave-hud>span{font-size:7px}.wave-hud i{font-size:8px}.arena-clock{padding:5px 8px;font-size:9px}.arena-clock svg{width:11px;height:11px}.start-seal{width:45px;height:45px;margin-bottom:23px}.start-seal svg{width:28px;height:28px}.start-overlay .eyebrow{font-size:7px}.start-overlay h2{font-size:20px;letter-spacing:4px;margin-bottom:20px}.primary-button,.secondary-button{min-height:40px;padding:10px 20px;font-size:11px}.battle-controls{height:64px;padding:0 13px}.transport{gap:7px}.auto-button{font-size:9px;gap:6px}.skill-slot{width:38px;height:38px}.skill-slot img{width:30px;height:30px}.battle-controls .control-divider{margin:0 2px}.journey-sidebar{grid-template-columns:1.2fr 1fr;gap:10px}.journey-sidebar .loot-card{grid-column:1/-1;display:flex;align-items:center;gap:15px;padding:10px 13px}.loot-card .section-caption{width:50px;font-size:8px;gap:5px}.loot-card .section-caption .icon-button{display:none}.loot-card .recent-loot{flex:1;display:flex;margin:0;gap:6px}.loot-card .loot-cell{width:35px;height:35px;aspect-ratio:1;padding:4px}.loot-card .loot-cell:nth-child(4){display:grid}.loot-card .run-gold{min-width:60px;font-size:10px}.loot-card #loot-indicator{display:none}.section-caption{font-size:8px;letter-spacing:1px}.forest-route{display:block;padding:14px 10px;margin-top:14px}.route-caption{display:flex;width:100%;margin-bottom:12px;gap:7px}.route-caption b{margin-left:auto;font-size:10px}.route-caption span{font-size:8px;letter-spacing:1.2px}.route-nodes{gap:3px}.route-node>span{width:28px;height:28px}.route-node img{width:19px;height:19px}.route-node small{font-size:7px}.route-node{gap:5px}.route-nodes:before{top:14px}.route-node .node-status{width:10px;height:10px}footer{padding:18px 0;font-size:8px}footer>span:last-child{display:none}footer a{font-size:9px}.menu-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 30px)}.dialog-heading{padding:20px}.dialog-heading h2{font-size:20px}.stage-menu{grid-template-columns:1fr}.stage-map{min-height:240px;border-right:0;border-bottom:1px solid var(--line);gap:25px 8px;padding:25px 18px}.stage-map .route-node>span{width:48px;height:48px}.stage-map .route-node img{width:33px;height:33px}.stage-detail{padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:6px 15px}.stage-detail>.eyebrow,.stage-detail>h3{grid-column:1/-1}.stage-detail h3{margin-bottom:8px}.stage-detail .detail-line{margin:6px 0}.stage-detail .encounter-list{grid-column:1/-1;margin:0 0 8px}.stage-detail>.detail-line:nth-of-type(2){grid-column:1/-1}.stage-detail .reward-preview{grid-column:1/-1;margin-bottom:10px}.stage-detail .primary-button{grid-column:1/-1}.stage-detail .locked-message{grid-column:1/-1;margin-top:3px}.character-menu{grid-template-columns:1fr}.character-showcase{min-height:250px;padding:20px;border:0;border-bottom:1px solid var(--line)}.character-showcase img{width:180px;height:180px}.character-showcase h3{font-size:18px;margin:4px 0}.character-showcase:after{bottom:57px;width:140px}.character-details{padding:20px}.character-showcase>span{font-size:10px}.stat-grid>div{padding:14px 18px}.inventory-menu{padding:20px}.inventory-toolbar{align-items:flex-start;gap:5px}.inventory-filters{gap:0}.inventory-filters button{padding:7px 9px;font-size:10px}.inventory-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.inventory-toolbar>span{font-size:9px;padding-top:9px}.inventory-selection{padding:12px;gap:10px;flex-wrap:wrap;margin-top:18px}.inventory-selection>img{width:43px;height:43px}.inventory-selection strong{font-size:12px}.inventory-selection p{font-size:10px;margin-top:5px}.inventory-selection>.secondary-button{margin-left:auto}.boss-hud{top:16px;left:35%;right:21%;font-size:9px;letter-spacing:0}.result-emblem{font-size:38px}.result-overlay h2{font-size:20px;margin-bottom:13px}.result-rewards{gap:14px;margin-bottom:16px}.result-rewards img{width:28px;height:28px}.result-rewards>span{font-size:15px}.wave-toast{font-size:18px;letter-spacing:3px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.arena-vignette{background:linear-gradient(180deg,#10231755,transparent 40%,#081a1455)}}

.battle-controls .transport{flex-shrink:0}.battle-controls .skills{flex:1;min-width:0;align-items:center}.skill-cooldowns{display:flex;flex:1;min-width:0;justify-content:flex-end;gap:9px;overflow:hidden}.skills .skill-slot{flex-shrink:0;box-sizing:border-box}.skill-cooldowns .skill-slot[hidden]{display:none}
.menu-dialog .dialog-heading{position:sticky;top:0;z-index:20;background:#142019}.menu-dialog button,.menu-dialog input,.menu-dialog select{scroll-margin-top:120px}
