@import"https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;600;700&family=Rajdhani:wght@400;500;600;700&display=swap";.weapon-icon{display:inline-flex;flex-direction:column;align-items:center;max-width:100%;vertical-align:middle;line-height:1.2}.weapon-traits{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 5px;font-size:11px;font-weight:500;line-height:1.3;color:inherit;white-space:normal}.weapon-traits>[data-weapon-help]{cursor:help;border-bottom:1px dotted currentColor;outline-offset:2px}.weapon-traits>[data-weapon-help]:focus-visible{outline:2px solid #b6a172}.weapon-help-tooltip{position:fixed;z-index:2147483647;max-width:min(340px,calc(100vw - 16px));padding:9px 12px;border:1px solid #b6a172;border-radius:6px;background:#211d17;color:#fff4df;font-size:13px;font-weight:400;line-height:1.6;box-shadow:0 3px 12px #0005;pointer-events:none}.weapon-help-tooltip[hidden]{display:none}.weapon-name-heading{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:6px 10px}.weapon-name-heading .weapon-traits,.item-name-line .weapon-traits,.item-compare-card h3 .weapon-traits{display:inline-flex;vertical-align:baseline;gap:6px;font-size:12px;font-weight:400;margin-left:6px}#app .admin-workspace{position:fixed;inset:0;padding:0;-webkit-backdrop-filter:none;backdrop-filter:none;background:#f5f6f8;z-index:30}#app .admin-workspace>.panel{width:100%;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;box-shadow:none;background:#f5f6f8;color:#263247}#app .admin-workspace .panel-heading{padding:12px 24px;background:#fff;border-bottom:1px solid #d7dce4;flex-shrink:0}#app .admin-workspace .panel-heading h2{font-size:22px;margin:2px 0}#app .admin-workspace .panel-heading>div{flex:1}#app .admin-workspace .panel-heading>.close{order:3}#app .admin-workspace .panel-body{padding:18px 24px;overflow:auto;min-height:0}#app .admin-workspace p{line-height:1.6;margin-bottom:12px}#app .admin-workspace button{border-radius:6px;box-shadow:none;min-width:0}#app .admin-workspace input,#app .admin-workspace select{min-height:36px;padding:7px 9px;border-radius:5px}#app .admin-workspace .admin-menu{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}#app .admin-workspace .admin-menu-card{min-height:90px;padding:14px;border:1px solid #d4d9e3;border-radius:8px;background:#fff;gap:4px}#app .admin-workspace .admin-menu-card strong{font-size:16px}#app .admin-workspace .admin-menu-card span{font-size:13px}#app .admin-workspace .admin-back{margin:0 0 12px}#app .admin-workspace .forge-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px;padding-bottom:12px}#app .admin-workspace .forge-tabs button{padding:8px 16px;min-height:38px}#app .admin-workspace .economy-fields,#app .admin-workspace .world-boss-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;align-items:start}#app .admin-workspace form{gap:14px}#app .admin-workspace .economy-admin form{padding:16px;margin:12px 0;background:#fff;border:1px solid #d7dce4;border-radius:6px}#app .admin-workspace .economy-admin>label{max-width:400px;margin:10px 0}.admin-slot-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}#app .admin-workspace .admin-slot-tabs button{border:1px solid #ccd4df;background:#fff;padding:8px 14px;color:#33435b}#app .admin-workspace .admin-slot-tabs [aria-pressed=true]{background:#334c70;color:#fff;border-color:#334c70}.admin-table-tools{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:12px 0}.admin-table-tools label{min-width:260px}.admin-table-tools input{width:100%}.admin-table-scroll{overflow:auto;max-height:56dvh;border:1px solid #d7dce4;background:#fff}.admin-table-scroll table{border-collapse:separate;border-spacing:0;min-width:100%;font-size:13px;font-variant-numeric:tabular-nums}.admin-table-scroll th,.admin-table-scroll td{padding:8px 12px;text-align:left;white-space:nowrap;border-bottom:1px solid #e0e5ed}.admin-table-scroll th{position:sticky;top:0;z-index:2;background:#eaf0f7;color:#263247}#app .admin-table-scroll th button{padding:3px 0;font-weight:700;color:inherit}.admin-table-scroll td.numeric{text-align:right}.admin-table-scroll tr:nth-child(2n) td{background:#f7f9fc}.admin-table-scroll tr:hover td{background:#edf3ff}#app .admin-table-scroll td button{border:1px solid #bdcadd;background:#fff;color:#354e72;padding:4px 10px}#app .admin-workspace .admin-entry-select{display:none}.admin-record-editor{margin:16px 0;scroll-margin-top:12px;border:1px solid #cbd4e2;border-radius:6px;background:#fff}.admin-record-editor>summary{padding:12px 16px;cursor:pointer;font-weight:700;color:#334c70}#app .admin-workspace .admin-combat form{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}#app .admin-workspace .admin-combat h3,#app .admin-workspace .admin-combat p{grid-column:1/-1}#app .admin-workspace .admin-combat .admin-pvp-balance{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:14px;min-width:0;padding:16px;border:1px solid #d7dce4;border-radius:6px;background:#fff}#app .admin-workspace .admin-pvp-balance legend{font-weight:700;padding:0 6px}#app .admin-workspace .admin-pvp-balance p{margin:0}#app .admin-workspace .admin-players>button{display:grid;grid-template-columns:minmax(160px,1fr) minmax(280px,2fr) 24px;align-items:center;width:100%;padding:12px;border-bottom:1px solid #d7dce4;text-align:left}#app .admin-workspace .world-boss-event-list{display:flex;flex-direction:column;gap:4px;max-height:240px;overflow:auto}#app .admin-workspace .world-boss-event-list button{display:flex;justify-content:space-between;gap:20px;padding:10px 14px;text-align:left}#app .admin-workspace .audio-cue-grid{display:flex;flex-direction:column;gap:8px}#app .admin-workspace .audio-cue{display:grid;grid-template-columns:200px 290px minmax(230px,1fr) minmax(250px,1fr);align-items:center;gap:12px;padding:12px}#app .admin-workspace .audio-cue>small{grid-column:1}#app .admin-workspace .audio-cue audio{width:100%}#app .admin-workspace .audio-cue h3{font-size:15px;margin:0}@media(min-width:801px)and (max-width:1200px){#app .admin-workspace .audio-cue{grid-template-columns:180px 1fr}#app .admin-workspace .audio-cue form{margin:0}}@media(max-width:800px){#app .admin-workspace .panel-body{padding:12px}#app .admin-workspace .panel-heading{padding:10px 12px}.admin-table-scroll{max-height:50dvh}#app .admin-workspace .audio-cue{grid-template-columns:1fr}#app .admin-workspace .admin-players{overflow:auto}.admin-table-tools{gap:8px}.admin-table-tools label{min-width:0;width:100%}}#app .admin-workspace .admin-hp-multipliers{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:0 14px}#app .home-styled-button{position:relative;isolation:isolate;overflow:hidden;background:#29392f;border:2px solid #ded3a4;border-radius:16px;color:#fff;box-shadow:0 3px #2d302d80;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,filter .18s ease;cursor:pointer}#app .home-styled-button:before{content:"";position:absolute;inset:0;z-index:-2;background-image:var(--home-image);background-position:center;background-size:cover;transition:transform .25s ease,filter .2s ease}#app .home-styled-button:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#10182810 15%,#10182836 50%,#101828d9);pointer-events:none}#app .home-styled-button .home-button-caption{position:relative;color:#fff;text-shadow:0 2px 3px #000,0 0 6px #0009;font-size:inherit;font-weight:700;line-height:1.3}#app .home-styled-button .home-button-caption small,#app .home-styled-button .home-button-caption span{color:inherit}@media(hover:hover){#app .home-styled-button:hover:not(:disabled){transform:translateY(-3px);border-color:#fff1b3;box-shadow:0 5px #34392770,0 0 0 2px #ffebad40}#app .home-styled-button:hover:not(:disabled):before{transform:scale(1.045);filter:brightness(1.12)}}#app .home-styled-button:focus-visible{outline:3px solid #26cab0;outline-offset:3px}#app .home-styled-button:active:not(:disabled){transform:translateY(2px) scale(.98);box-shadow:0 1px #34392770;filter:brightness(.9)}#app .home-styled-button:disabled{opacity:.55;cursor:wait}#app .hero-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:12px;align-items:stretch}#app .hero-actions>.home-styled-button{width:100%;min-width:0;max-width:none;min-height:0;height:auto;aspect-ratio:16/9;padding:12px 8px 10px;margin:0;display:flex;align-items:flex-end;justify-content:center;font-size:clamp(14px,1.35vw,21px);border-radius:18px}#app .hero-actions>.home-styled-button[hidden]{display:none}#app .hero-actions>.journey-map .home-button-caption,#app .hero-actions>.trial-entry .home-button-caption,#app .hero-actions>[data-action=pvp] .home-button-caption{white-space:nowrap}#app .hero-actions>.journey-resume{grid-column:1/-1;aspect-ratio:auto;min-height:48px;order:5}#app .hero-actions>[data-action=training]:not(.guest-training){grid-column:1;aspect-ratio:3/1;font-size:14px;order:4}#app .hero-actions>.guest-training{grid-column:1}#app .hero-actions>.home-login{grid-column:2}#app .rail .home-styled-button{border-radius:12px}#app .rail .home-styled-button:after,#app>header .home-styled-button:after{background:#15201c99}#app .rail .home-button-caption{display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center}#app>header .home-styled-button{padding:8px 12px;border-radius:12px}.home-buttons-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}.home-buttons-grid form{border:1px solid #bdaa87;border-radius:12px;padding:12px;min-width:0}.home-buttons-grid img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:10px}.home-buttons-grid h3{margin:0 0 10px;font-size:16px}.home-buttons-grid input{width:100%;font-size:12px}.home-buttons-grid label{display:block;margin:12px 0}.home-buttons-admin [role=status]{min-height:1.5em}@media(min-width:651px){#app .hero-copy{max-width:760px;width:min(760px,calc(100vw - 210px))}#app .hero-description{max-width:570px}}@media(max-width:650px){#app .hero-actions{gap:7px}#app .hero-actions>.home-styled-button{border-radius:12px;font-size:clamp(11px,3.1vw,16px);padding:7px 3px;min-height:68px}#app .hero-actions>.guest-training{grid-column:1}#app .hero-actions>.home-login{grid-column:2;font-size:12px}#app .hero-actions>[data-action=training]:not(.guest-training){grid-column:1/3;min-height:44px;aspect-ratio:5/1}#app>header .home-styled-button{padding:5px 7px}.home-buttons-grid{grid-template-columns:1fr}}#app .home-gradient-button:before{background-image:linear-gradient(180deg,var(--home-color1) 0%,var(--home-color1) 85%,var(--home-color2) 100%)}#app .home-styled-button.home-gradient-button:after{background:none}#app .home-gradient-button .home-button-caption,#app .home-gradient-button .home-button-caption small,#app .home-gradient-button .home-button-caption span{color:var(--home-foreground);text-shadow:none}#app .hero-actions>.home-image-button{grid-row:1;align-self:stretch;box-sizing:border-box;height:100%;aspect-ratio:16/9;min-width:0;max-width:none;letter-spacing:0}#app .hero-actions>[data-home-image=travel]{grid-column:1}#app .hero-actions>[data-home-image=trials]{grid-column:2}#app .hero-actions>[data-home-image=pvp]{grid-column:3}.home-color-preview{display:flex;align-items:center;justify-content:center;min-height:80px;border:1px solid #bdaa87;border-radius:10px;font-weight:700;padding:12px}.home-buttons-grid input[type=color]{width:100%;height:44px;padding:3px;cursor:pointer}.home-buttons-grid .home-color-fields{display:flex;align-items:center;gap:8px;margin-top:4px}.home-buttons-grid .home-color-fields input[type=color]{width:48px;flex:0 0 48px;margin:0}.home-buttons-grid .home-color-fields input[type=text]{width:0;min-width:0;flex:1;height:44px;margin:0;font-family:monospace;font-size:14px}.home-buttons-grid .home-color-fields input[aria-invalid=true]{border-color:#b42318}.arena-tools{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin-bottom:12px}.arena-tools label{display:flex;gap:5px;flex-direction:column}.arena-tools input[type=number]{width:85px}.arena-editor canvas{width:min(100%,800px);height:auto;display:block;touch-action:none;border:1px solid #917852}.arena-editor p{line-height:1.6}.music-toggle{position:fixed;bottom:max(8px,env(safe-area-inset-bottom));left:max(8px,env(safe-area-inset-left));z-index:1200;width:36px;height:36px;min-height:36px;padding:0;display:grid;place-items:center;border:1px solid #8dba9677;border-radius:50%;background:#e9f6e5b3;color:#173c27;font-size:18px;cursor:pointer;box-shadow:none;touch-action:manipulation;opacity:.75}.music-toggle:hover,.music-toggle:focus-visible{opacity:1}.music-toggle:focus-visible{outline:3px solid #76359d;outline-offset:2px}.audio-cue-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:14px}.audio-cue,.audio-upload-row{padding:14px;border:1px solid #b8a4c1;border-radius:8px;min-width:0}.audio-admin audio{display:block;width:100%;max-width:320px;margin:8px 0}.audio-cue form{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}.audio-cue label{display:block;max-width:100%}.audio-cue input[type=file]{max-width:100%;width:100%}.audio-upload-row{margin:10px 0;overflow-wrap:anywhere}.audio-upload-row span{display:block;font-size:13px}.audio-admin [data-audio-status]{position:sticky;top:0;background:#fff5de;color:#422447;z-index:2}.audio-admin [hidden]{display:none!important}.audio-category-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 18px;border-bottom:1px solid #b8a4c1;padding-bottom:10px}.audio-category-tabs button{padding:9px 14px;border:1px solid #b8a4c1;border-radius:6px;background:#fff;color:#473156;cursor:pointer}.audio-category-tabs button[aria-selected=true]{background:#63318c;color:#fff;border-color:#63318c}.audio-category-tabs button:hover:not(:disabled){filter:brightness(.94)}.audio-category-tabs button:focus-visible{outline:3px solid #c293e9;outline-offset:2px}.audio-category-tabs small{opacity:.8;margin-left:4px}@media(max-width:600px){.audio-category-tabs{flex-wrap:nowrap;overflow-x:auto;padding:4px 0 10px}.audio-category-tabs button{white-space:nowrap;flex:none}}.hero-actions .trial-entry,.trial-start{background:linear-gradient(120deg,#c33159,#7435bd);color:#fff}.trial-map-scroll{overflow:auto;touch-action:pan-x pan-y;padding:12px 8px 28px;max-width:100%}.trial-map{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:26px;min-width:650px;isolation:isolate}.trial-node{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;border:2px solid #d4b479;border-radius:15px;background:#fff0c8;min-width:0;padding:10px;color:#332047;overflow:visible}.trial-node:after{content:"";position:absolute;left:100%;top:50%;width:28px;height:3px;background:#705771;z-index:-1}.trial-node:nth-child(4n):after{display:none}.trial-node:not(:nth-last-child(-n+4)):before{content:"";position:absolute;top:100%;left:50%;height:28px;width:3px;background:#705771;z-index:-1}.trial-node .trial-boss-portrait{display:block;height:120px;flex-shrink:0;background-size:auto 120px;background-repeat:no-repeat;background-position:0 0;image-rendering:pixelated;pointer-events:none}.trial-node strong,.trial-node span{font-size:14px;line-height:1.5;white-space:normal}.trial-node small{font-size:12px}.trial-node.locked{background:#e8e4e9}.trial-node.cleared{border-color:#439373;background:#e4f8ec}.trial-node.selected{outline:3px solid #9b5fc6;outline-offset:2px}.trial-description{padding:18px;border:1px solid #cbb4dc;border-radius:15px;background:#fffdf8}.trial-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.trial-stages article{border:1px solid #d2bddc;padding:12px;border-radius:10px}.trial-stages button{width:100%;white-space:normal;min-height:44px}@media(max-width:700px){.trial-stages{grid-template-columns:1fr}.trial-description{padding:12px}.trial-map{min-width:580px;gap:18px}.trial-node:after{width:20px}.trial-node:not(:nth-last-child(-n+4)):before{height:20px}}.trial-node .trial-skill-name{font-weight:700}.trial-node .trial-skill-summary{font-size:13px;line-height:1.55;color:#49354f;overflow-wrap:anywhere}#app .room-setup{display:grid;gap:10px;padding:16px;margin:16px 0;border:1px solid #d8cce8;border-radius:12px;background:#fffdf8;color:#332344;max-width:640px}#app .room-setup h3,#app .room-setup p{margin:0}#app .room-setup small{color:#62546d;line-height:1.5;font-size:12px}#app .room-modes{display:grid;gap:8px;padding:0;border:0;margin:0 0 6px;min-width:0}#app .room-modes legend{font-weight:700;margin-bottom:8px}#app .room-modes label{display:flex;flex-direction:row;align-items:center;text-align:left;gap:12px;padding:12px;border:1px solid #d8cce8;border-radius:8px;cursor:pointer;min-height:60px}#app .room-modes label:has(input:checked){background:#f3edf9;border-color:#7744ad}#app .room-modes input{width:18px;height:18px;flex:0 0 18px;accent-color:#7744ad;margin:0}#app .room-modes span{display:grid;gap:4px}#app .room-password-label{font-weight:700}#app .room-password-input{display:flex;gap:8px;min-width:0}#app .room-password-input input{min-width:0;width:100%;min-height:44px;background:#fff;color:#332344}#app .room-password-input button{flex:0 0 auto;min-width:60px;min-height:44px;background:#f3edf9;color:#493354;border:1px solid #cbb7d4;border-radius:8px}#app .room-setup .room-submit{min-height:44px;margin-top:4px}#app .room-password-error{color:#a52136;font-size:13px;line-height:1.5}#app .room-password-error:empty{display:none}#app .room-password-input input[aria-invalid=true]{border-color:#a52136}#app .room-list-entry{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}#app .room-list-entry small{color:#62546d;font-size:12px}@media(max-width:480px){#app .room-setup{padding:12px}#app .room-modes label{padding:10px}}.pvp-lobby{max-width:640px;margin:auto}.pvp-lobby p{line-height:1.6}.pvp-rooms{display:grid;gap:8px;margin:16px 0}.pvp-rooms button{text-align:left}.pvp-members{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.pvp-members>div{padding:14px;border:1px solid #cbb7d4;border-radius:10px;overflow-wrap:anywhere}.pvp-red{color:#b62440}.pvp-blue{color:#2158ba}.pvp-members small{display:block;margin-top:8px}.pvp-status{min-height:1.5em;font-size:13px}.pvp-battle .potion-belt,.pvp-battle #battle-xp,.pvp-battle #battle-gold,.pvp-battle #encounter-label,.pvp-battle #hearts,.pvp-battle .wave-top>div:first-child>small{display:none!important}.pvp-battle .wave-top>div:nth-child(2){max-width:min(420px,70vw);padding:5px 12px;pointer-events:none}.pvp-battle #wave-label{font-size:16px}.pvp-battle #wave-left{font-size:12px;white-space:normal}.pvp-battle .wave-top>div:first-child{padding:0;background:transparent}.pvp-battle #pvp-status{position:fixed;top:95px;left:50%;transform:translate(-50%);font-size:12px;background:#fff9;padding:3px 8px;border-radius:5px;pointer-events:none;max-width:75vw;text-align:center}.pvp-battle #pvp-status:empty{display:none}.pvp-intermission{position:absolute;inset:0;display:grid;place-content:center;pointer-events:none;text-align:center;background:#1d17304a}.pvp-intermission>div{padding:16px 24px;border-radius:12px;background:#fff9edeb;color:#332344}.pvp-intermission h2{margin:0 0 8px}.pvp-intermission p{margin:5px}.pvp-battle #pvp-forfeit{position:absolute;right:8px;top:52px;padding:4px 8px;font-size:11px;pointer-events:auto}@media(max-width:650px){.pvp-battle .wave-top>div:nth-child(2){max-width:68vw}.pvp-battle #wave-label{font-size:13px}.pvp-battle #wave-left{font-size:10px}.pvp-battle #pvp-status{top:80px}.pvp-members{gap:7px}.pvp-members>div{padding:10px}}#app .hero-actions>.coop-entry{grid-column:1/4;min-height:42px;padding:10px;border:2px solid #a8d5cb;border-radius:12px;background:#285f61;color:#fff;font-weight:700}#coop-exit{position:fixed;left:max(8px,env(safe-area-inset-left));bottom:54px;z-index:12;padding:6px 10px;min-height:32px;font-size:11px;background:#fff8ed;color:#342544}#coop-lobby{width:min(650px,100%)}#coop-lobby>.primary,#coop-lobby>.outline{margin:6px;min-height:44px}.panel .skill-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));align-items:start}.panel .skill-details{font-size:16px;line-height:1.65;color:#342147}.panel .skill-details p{font-size:16px;color:#342147;margin:12px 0}.skill-details b{display:block}.skill-current,.skill-next{padding:12px;border-radius:12px;background:#e8ddfa;border:1px solid #9b71c7}.skill-next{background:#e1f3e7;border-color:#559b71}.panel .skill-details summary{cursor:pointer;background:#6b369e;color:#fff;padding:12px;border-radius:10px;font-weight:700;min-height:44px}.skill-details ol{padding-left:24px}.skill-details li{padding:10px 4px;border-bottom:1px solid #cdbbdd}.skill-details .learned-rank{background:#e8ddfa}.panel .skill-details small{display:block;font-size:13px;line-height:1.6;color:#574666;margin-top:12px}.panel.skill-workspace{width:min(960px,calc(100vw - 16px));max-height:calc(100dvh - 16px);padding:0;border:2px solid #85725a;border-radius:3px;background:#191614;color:#f0e6d2;box-shadow:0 12px 38px #0009;overflow:auto}.panel.skill-workspace [hidden]{display:none!important}.panel.skill-workspace .panel-heading{position:sticky;top:0;z-index:2;min-height:48px;margin:0;padding:6px 14px;background:linear-gradient(#4b2529,#291317);border-bottom:1px solid #85725a}.panel.skill-workspace .panel-heading .eyebrow{display:none}.panel.skill-workspace .panel-heading h2{font-size:20px;color:#e3b65b;margin:0}.panel.skill-workspace .panel-heading .close{color:#e3b65b;font-size:26px}.panel.skill-workspace .panel-body{padding:14px;color:#f0e6d2;max-height:none;overflow:visible}.panel.skill-workspace .panel-body>p{margin:4px 0 10px;color:#c2b6a4;font-size:13px}.panel.skill-workspace .skill-points-wallet{padding:8px 12px;margin:0 0 10px;border:1px solid #69553f;border-radius:2px;background:#281f19;color:#f0e6d2;font-size:14px}.panel.skill-workspace .skill-points-wallet strong{font-size:20px;color:#e3b65b}.panel.skill-workspace .skill-workbench{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,350px);gap:12px;align-items:start}.panel.skill-workspace .skill-inventory,.panel.skill-workspace .skill-inspect-panel{min-width:0;border:1px solid #69553f;background:#151311}.panel.skill-workspace .skill-inventory-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:8px 10px;border-bottom:1px solid #51483d;color:#e3b65b;font-size:14px}.panel.skill-workspace .skill-inventory-heading small{color:#c2b6a4;font-size:11px}.panel.skill-workspace .skill-slot-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;padding:8px}.panel.skill-workspace .skill-slot{position:relative;display:grid;place-items:center;aspect-ratio:1;width:100%;min-width:0;min-height:0;padding:5px;border:1px solid #51483d;border-radius:0;background:linear-gradient(135deg,#26211c,#100f0e);box-shadow:inset 0 0 8px #0006;color:#e3b65b;cursor:pointer}.panel.skill-workspace .skill-slot:hover,.panel.skill-workspace .skill-slot:focus-visible,.panel.skill-workspace .skill-slot[aria-pressed=true]{border-color:#dab668;outline:1px solid #dab668;outline-offset:-2px;background:#392f20}.panel.skill-workspace .skill-slot .game-icon{display:block;width:44px!important;height:44px!important;max-width:100%;object-fit:contain;image-rendering:pixelated}.panel.skill-workspace .skill-slot small{position:absolute;right:2px;bottom:0;color:#ffe6ae;font-size:10px;text-shadow:1px 1px #000,-1px -1px #000}.panel.skill-workspace .skill-slot:not(.learned) .game-icon{filter:grayscale(1);opacity:.7}.panel.skill-workspace .skill-inspect-panel{position:sticky;top:52px;max-height:calc(100dvh - 80px);overflow-y:auto;padding:14px;line-height:1.5}.panel.skill-workspace .skill-inspect-placeholder{color:#c2b6a4;text-align:center;margin:26px 0}.panel.skill-workspace .skill-inspect header{display:flex;align-items:center;gap:10px;border-bottom:1px solid #69553f;padding-bottom:8px}.panel.skill-workspace .skill-inspect header .game-icon{width:48px!important;height:48px!important;object-fit:contain}.panel.skill-workspace .skill-inspect h3{color:#e3b65b;font-size:18px;margin:0}.panel.skill-workspace .skill-inspect header small{color:#c2b6a4}.panel.skill-workspace .skill-inspect p,.panel.skill-workspace .skill-details p{font-size:13px;color:#f0e6d2;line-height:1.5;margin:9px 0}.panel.skill-workspace .skill-current,.panel.skill-workspace .skill-next{border:1px solid #69553f;border-radius:2px;background:#241e19;padding:8px}.panel.skill-workspace .skill-next{background:#243022;border-color:#5d7851}.panel.skill-workspace .skill-details summary{background:#302822;border:1px solid #76634e;border-radius:2px;padding:8px;font-size:13px}.panel.skill-workspace .skill-details li{font-size:12px;border-color:#51483d}.panel.skill-workspace .skill-details .learned-rank{background:#392f20}.panel.skill-workspace .skill-details small{color:#c2b6a4;font-size:11px}.panel.skill-workspace .skill-inspect button,.panel.skill-workspace .skill-reset button{min-height:40px;border:1px solid #a17a54;border-radius:2px;background:#571f24;color:#f0e6d2;box-shadow:none;padding:7px 12px}.panel.skill-workspace .skill-inspect button:disabled{opacity:.5}.panel.skill-workspace .skill-reset{border-top:1px solid #69553f;margin-top:14px;padding-top:10px}.panel.skill-workspace .skill-reset h3{font-size:14px;margin:0}.panel.skill-workspace .skill-reset p{font-size:12px;color:#c2b6a4;margin:4px 0 8px}@media(max-width:700px){.panel.skill-workspace .skill-workbench{display:block}.panel.skill-workspace .skill-slot-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:5px}.panel.skill-workspace .skill-inspect-panel{position:static;max-height:none;margin-top:10px;padding:10px}.panel.skill-workspace .skill-inventory-heading,.panel.skill-workspace .skill-inventory-heading small{display:block}.panel.skill-workspace .skill-slot{min-height:44px}.panel.skill-workspace .panel-body{padding:8px}}.panel.skill-workspace{width:min(720px,calc(100vw - 16px))}.panel.skill-workspace .skill-workbench{display:block}.panel.skill-workspace .skill-slot-grid{grid-template-columns:repeat(auto-fill,64px);gap:6px}.panel.skill-workspace .skill-inspect-panel{position:fixed;z-index:1300;width:min(320px,calc(100vw - 16px));max-height:calc(100dvh - 16px);margin:0;padding:30px 12px 12px;box-shadow:0 6px 18px #0008;overflow-y:auto}.panel.skill-workspace .skill-inspect header{position:static;justify-content:flex-start;padding:0 0 8px;gap:10px}.panel.skill-workspace .skill-popup-close{position:absolute;right:4px;top:2px;width:30px;min-height:28px;padding:0;color:#e3b65b;font-size:22px}.panel.skill-workspace .skill-more>summary{cursor:pointer;color:#c2b6a4;font-size:12px;padding:6px 0}.panel.skill-workspace .skill-details b{color:#e3b65b}.panel.skill-workspace .skill-reset{background:transparent;border:0;border-top:1px solid #69553f;border-radius:0;box-shadow:none;padding:10px 0 0}.panel.skill-workspace .skill-reset h3{color:#e3b65b}.panel.skill-workspace .trial-entry:not(:disabled),.panel.skill-workspace .skill-inspect button.primary:not(:disabled){background:#571f24!important;border:1px solid #a17a54!important;border-radius:2px!important;box-shadow:none!important;color:#f0e6d2!important;padding:8px 12px;font-size:13px}@media(max-width:700px){.panel.skill-workspace .skill-slot-grid{grid-template-columns:repeat(auto-fill,minmax(52px,1fr))}.panel.skill-workspace .skill-inspect-panel{position:fixed;margin:0;max-height:calc(100dvh - 16px);padding:30px 12px 12px}}:root{font-family:Noto Sans Thai,system-ui,sans-serif;color:#ece8db;background:#101718;font-synthesis:none;font-size:calc(14px * var(--ui-scale,1));--gold:#c6a773;--muted:#97a7a5;--line:#ffffff19;--teal:#83c8c1;--panel:#131d20;--ui-scale:1}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;color:inherit;background:none;transition:background .18s,border-color .18s,transform .18s}button:disabled{opacity:.4;cursor:not-allowed}button:not(:disabled):hover{filter:brightness(1.18)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--teal);outline-offset:4px}button:active:not(:disabled){transform:translateY(1px)}input,select,textarea{background:#0b1317;border:1px solid #ffffff25;color:#e9ece4;padding:12px;max-width:100%;border-radius:3px}label{display:flex;flex-direction:column;gap:8px;color:#bdc6c1;font-size:.93rem}p{color:#a5b4b1;line-height:1.85}small{color:#98aaa7}h1,h2,h3,p{margin-top:0}h2{font-weight:500;font-size:1.8rem;margin:7px 0}h3{font-weight:500}#game{position:fixed;inset:0;width:100%;height:100%;outline:none;touch-action:auto}#app{position:relative;min-height:100dvh;pointer-events:none}#app button,#app input,#app select,#app textarea,#app label,#app form,.panel,.pause-overlay,.result-overlay{pointer-events:auto}.in-battle{overflow:hidden;overscroll-behavior:none}.in-battle #game{touch-action:none}header{padding:34px 4%;display:flex;justify-content:space-between;align-items:center;position:relative;z-index:3}.brand{font-family:Rajdhani,sans-serif;font-size:25px;font-weight:600;letter-spacing:5px;display:flex;gap:16px;align-items:center}.brand small{font-size:9px;letter-spacing:4px;display:block;margin-top:-5px;color:#9faead}.brand-mark{font-size:48px;line-height:1;font-weight:400;letter-spacing:-19px;width:36px;transform:rotate(180deg);color:var(--gold)}.account{display:flex;align-items:center;gap:16px;font-size:13px}.account small{display:block;font-family:Rajdhani;font-size:10px;letter-spacing:2px}.level-badge{border:1px solid #c6a77366;width:34px;height:34px;display:grid;place-items:center;color:var(--gold);transform:rotate(-6deg)}.gold{color:#dcc197;padding-left:18px;border-left:1px solid var(--line);font-family:Rajdhani;font-size:20px}.outline{border:1px solid #c6a7735e;padding:11px 18px;background:#0d171780;color:#dbc4a0;border-radius:2px}.small{font-size:12px;padding:8px 18px}.primary{background:#c3a36d;color:#151c1c;padding:15px 24px;text-align:center;font-weight:600;letter-spacing:.3px;border:1px solid #d5bb8b;box-shadow:0 5px 35px #0003;border-radius:2px}.primary span{margin-left:38px;font-size:20px}.wide{min-width:260px}.text-button{font-size:12px;color:#b5c1bb;padding:10px}.text-button:hover{color:#fff}.full{display:block;width:100%;margin-top:12px}.hub-shade{position:fixed;inset:0;background:linear-gradient(90deg,#0d1719f5 0%,#0d1719d9 27%,#10191945 56%,transparent 77%),linear-gradient(0deg,#0c171bdf 0%,transparent 35%,transparent 70%,#101a1bae);pointer-events:none}.rail{position:absolute;left:3.4%;top:160px;display:flex;flex-direction:column;gap:13px;z-index:2}.rail-button{display:flex;flex-direction:column;align-items:center;gap:4px;width:64px;padding:8px 3px;color:#90a5a2}.rail-button span{font-size:24px;font-family:serif}.rail-button small{font-size:10px}.rail-button:hover{color:var(--gold);background:#b99d6320}.hero-copy{position:relative;margin:8vh 0 0 14%;max-width:540px;padding-bottom:115px}.eyebrow{font-family:Rajdhani,Noto Sans Thai,sans-serif;font-size:11px;letter-spacing:2.3px;color:#bea77f;font-weight:500}.eyebrow span{display:inline-block;width:24px;height:1px;background:var(--gold);vertical-align:middle;margin-right:10px}.hero-copy h1{font-family:Rajdhani,sans-serif;font-weight:500;font-size:clamp(65px,7.5vw,112px);line-height:.9;letter-spacing:1px;margin:30px 0 25px}.hero-copy h1 em{font-style:normal;color:#c5a574}.thai-title{color:#ddd6bf;letter-spacing:1px;font-weight:300;font-size:16px}.hero-description{font-size:13px;line-height:2;color:#92a7a3}.hero-actions{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin-top:29px}.journey{display:flex;align-items:center;gap:18px;margin-top:40px;max-width:340px}.journey>span:first-child{font-family:Rajdhani;font-size:35px;color:#ccb386}.journey strong{font-size:12px;font-weight:400;display:block}.journey small{font-size:10px;color:#7b918e}.journey-line{height:1px;width:35px;background:#a89366}.arena-caption{position:fixed;right:7%;bottom:16%;text-align:right}.arena-caption>span{font:500 16px Rajdhani;letter-spacing:4px;color:#c4bca4}.arena-caption small{display:block;font-size:11px;margin-top:4px}.arena-caption div{font:10px Rajdhani;letter-spacing:3px;color:#758e8a;margin-top:24px}footer{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:18px 4%;border-top:1px solid var(--line);font-size:10px;color:#7f9491;background:#0b171b45}footer b{font-weight:300;color:#655f4d;padding:0 12px}.dot{display:inline-block;width:5px;height:5px;background:#79b4a4;border-radius:50%;margin-right:7px}.offline-label{color:#9cafa9;font-size:11px}.panel-backdrop{position:fixed;inset:0;background:#050d12b8;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);display:flex;align-items:center;justify-content:center;padding:25px;pointer-events:auto;z-index:10}.panel{background:linear-gradient(125deg,#1c282a,#101b21);border:1px solid #91806458;width:510px;max-height:88dvh;display:flex;flex-direction:column;box-shadow:0 30px 90px #0009;border-radius:4px}.panel-wide{width:min(1040px,95vw)}.panel-heading{padding:25px 30px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.panel-body{padding:24px 30px;overflow:auto;overscroll-behavior:contain}.close{font-size:30px;line-height:1;padding:8px 12px;color:#b1bdb5}.panel form{display:flex;flex-direction:column;gap:18px}.panel-body>p{font-size:13px}.world-top{display:flex;justify-content:space-between;gap:20px;align-items:start}.world-top p{font-size:15px}.world-top small{font-size:11px}.node-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:16px}.node{display:flex;flex-direction:column;align-items:center;gap:10px;padding:17px 8px;min-height:172px;background:#172629;border:1px solid #53656050;border-radius:3px;position:relative}.node small{font:11px Rajdhani,Noto Sans Thai;letter-spacing:.6px}.node strong{font-size:12px;font-weight:500}.node-icon{font-size:35px;color:#adbca6}.node.current{border-color:#c4a26a;box-shadow:inset 0 0 28px #c2a56c12}.node.current:before{content:"";position:absolute;top:-3px;width:28px;height:4px;background:#c5a572}.node.boss-node{background:linear-gradient(135deg,#332b2a,#17252a);border-color:#ad7d59}.node:disabled{opacity:.3}.story-card{text-align:center}.story-card>span{font-size:65px;color:var(--gold)}blockquote{color:#d5bd91;line-height:2;margin:30px}.filters{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.chip{font-size:12px;padding:7px 12px;border:1px solid #64767550;border-radius:3px}.chip.selected{background:#baa06a28;color:#d9bc8d;border-color:#bea47880}.filters select{margin-left:auto;padding:6px;font-size:12px}.item-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.item-card{position:relative;text-align:left;padding:16px 14px;border:1px solid #6b83822c;background:linear-gradient(155deg,#2431367a,#132127);display:flex;flex-direction:column;gap:9px;border-radius:3px}.item-card>span{font-size:45px;text-align:center;display:block;height:72px;margin:6px 0;text-shadow:0 0 30px currentColor}.item-card strong{font-size:12px;font-weight:500}.item-card small{font-size:10px}.item-card .outline{font-family:Rajdhani;font-size:16px;padding:6px;margin-top:8px}.item-card i{position:absolute;right:12px;top:12px;color:#ddbc80}.rarity-Rare{border-top-color:#65849d}.rarity-Epic{border-top-color:#9273a9}.rarity-Uncommon{border-top-color:#648c74}.item-detail{display:flex;flex-direction:column;align-items:center;gap:12px;padding:15px}.item-detail>span{font-size:90px;line-height:1.3;text-shadow:0 0 60px #8fd6c050}.item-detail strong{font-family:Rajdhani;font-size:20px}.compare{background:#07131775;padding:12px;font-size:12px!important}.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.detail-actions button{font-size:12px}.help-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:24px}.help-grid article{background:#17252b70;padding:18px;border-top:1px solid #a68e5f}.help-grid b{color:#d6c29a;font-weight:500}.help-grid p{font-size:12px}.help-symbol{display:block;font:30px Rajdhani;color:#87c2ba;padding:25px 0}.skill-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.skill-grid article{padding:25px;background:#142128;border:1px solid #8c7c5e40;display:flex;flex-direction:column;gap:10px}.skill-grid article>span{font-size:45px;color:#b7aa8a}.skill-grid h3{margin-bottom:0}.skill-grid p{font-size:12px;flex:1}.achievements{display:flex;gap:15px;flex-wrap:wrap;margin-bottom:25px}.achievements span{font-size:11px;padding:10px;background:#0a151a80;color:#6d8580}.achievements .earned{color:#d6b36e;border:1px solid #9a845444}.bestiary{display:grid;grid-template-columns:1fr 1fr;gap:15px}.bestiary article{display:flex;gap:20px;border:1px solid var(--line);padding:18px}.bestiary article>span{font:30px Rajdhani;color:#8b8b73}.bestiary h3{font-size:15px;margin:5px 0}.bestiary p{font-size:12px;margin:10px 0}.bestiary small{font-size:10px}.settings-grid{display:grid;gap:18px}.switch{flex-direction:row;justify-content:space-between;align-items:center}.switch input{width:20px;height:20px;accent-color:#bba172}.version{border-top:1px solid var(--line);padding-top:20px;margin-top:25px;font-size:11px!important}.admin-stats{background:#0b171c;padding:16px;border:1px solid var(--line);margin-bottom:14px}#admin-json{font-family:monospace;font-size:12px;margin-top:15px}.loading{position:fixed;inset:0;background:radial-gradient(ellipse at 50% 45%,#293d3c,#0d181d 70%);display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px;pointer-events:auto}.loading-emblem{font-size:74px;color:#c4a46e;margin-bottom:30px}.loading h2{font-size:18px;margin-top:20px}.loading p{font-size:12px}.loading-line{width:240px;height:2px;background:linear-gradient(90deg,transparent,#baa378,transparent);margin:25px 0;animation:load 1.6s ease infinite}@keyframes load{50%{transform:scaleX(.4);opacity:.3}}.battle-vignette{position:fixed;inset:0;background:linear-gradient(#060e15b8,transparent 28%,transparent 65%,#060e15df);pointer-events:none}.battle-top{display:flex;justify-content:space-between;padding:22px 30px;gap:20px;align-items:flex-start}.battle-top>div:first-child{width:180px}.battle-top .eyebrow{font-size:9px}.pause-button{display:block;padding:12px;border:1px solid #ffffff35;border-radius:2px;background:#0d1d2390;margin-top:8px;min-width:45px}.enemy-status{text-align:center;width:min(500px,48vw)}.enemy-status h2{font-size:19px;margin:5px 0 9px;text-shadow:0 2px 10px black}.enemy-status>small{font:11px Rajdhani;letter-spacing:3px;color:#d0b995}.meter-group{width:100%}.meter-label{display:flex;justify-content:space-between;font:10px Rajdhani,Noto Sans Thai;letter-spacing:1px;margin-bottom:5px;color:#a9b4aa}.meter-label b{font-weight:500}.meter{width:100%;height:5px;background:#040c11c9;border:1px solid #b2bba229;overflow:hidden}.meter i{display:block;height:100%;transition:width .07s linear;background:#be7f6f}.enemy-meter{height:7px}.enemy-meter i{background:linear-gradient(90deg,#8b4f48,#c8876b)}.health-meter i{background:linear-gradient(90deg,#527f77,#83b8a0)}.guard-meter i{background:#97a8b1}.special-meter i{background:#c9ab6c}.balance{height:2px;width:65%;background:#111a1b;margin:6px auto}.balance i{height:100%;display:block;background:#a99361}.battle-time{width:180px;text-align:right;font:23px Rajdhani;color:#c7c9bb;padding-top:10px}.telegraph{position:fixed;width:114px;height:114px;top:35%;left:50%;transform:translate(-50%);opacity:0;transition:opacity .1s;text-align:center;color:#e1c391;filter:drop-shadow(0 2px 8px #000);pointer-events:none}.telegraph.active{opacity:1}.telegraph svg{position:absolute;inset:0;transform:rotate(-90deg);width:100%;height:100%}.telegraph circle{fill:#09141b45;stroke:#b49e7c;stroke-width:2}.telegraph .ring-bg{stroke:#ead8a237;fill:transparent}.telegraph #timing-ring{stroke-dasharray:283;stroke-width:4;fill:transparent}.telegraph strong{font:52px Rajdhani;position:absolute;inset:19px 0 auto;line-height:1.4}.telegraph small{position:absolute;top:120px;left:-60px;right:-60px;font-size:12px;color:inherit}.telegraph.ready{color:#a2e0d2}.telegraph.ready #timing-ring{stroke:#96e7cd}.telegraph.perfect{color:#f0ffb5}.telegraph.perfect svg{filter:drop-shadow(0 0 9px #e6ffb3)}.telegraph.danger{color:#ffad7f}.telegraph.danger circle{stroke:#ea946b}.contrast .telegraph{background:#02080ceb;border-radius:100%}.combat-feedback{position:fixed;top:57%;left:25%;right:25%;text-align:center;text-shadow:0 2px 8px black;pointer-events:none}.combat-feedback strong{display:block;font-family:Rajdhani,Noto Sans Thai;font-size:23px;letter-spacing:2px;color:#e3ceb0}.combat-feedback strong.perfect-text{color:#a8ecda}.combat-feedback small{display:block;font-size:11px;color:#e2dfcc;margin-top:7px}.battle-bottom{position:fixed;left:30px;right:30px;bottom:140px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.player-status{width:230px;display:flex;flex-direction:column;gap:10px}.special-status{width:200px}.combo-hint{text-align:center;color:#d6c49d}.combo-hint small{font:10px Rajdhani;letter-spacing:4px;display:block}.combo-hint span{display:block;font:26px Rajdhani;letter-spacing:4px}.combo-hint b{font:12px Rajdhani;color:#9ad5c6}.controls{position:fixed;bottom:max(25px,env(safe-area-inset-bottom));left:30px;right:30px;display:flex;justify-content:space-between;pointer-events:none;gap:15px}.controls>div{display:flex;gap:14px}.control{width:94px;height:88px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid #a2b6af66;border-radius:4px;background:linear-gradient(135deg,#20312dcf,#091921bd);-webkit-user-select:none;user-select:none;touch-action:none;box-shadow:0 3px 30px #0003}.control span{font:38px Rajdhani;color:#c4d3c3;line-height:1.2}.control small{font:10px Noto Sans Thai;color:#b9c9bd}.control.holding{background:#c5ae7950;border-color:#dec88f}.special-control{border-color:#b49b6088}.special-control span{color:#d7bb7b}.special-control:not(:disabled){box-shadow:0 0 35px #c3aa5940}.left-handed .controls{flex-direction:row-reverse}.pause-overlay,.result-overlay{position:fixed;inset:0;z-index:8;background:#041118be;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:grid;place-items:center;padding:20px}.pause-overlay section,.result-overlay section{width:450px;max-width:95vw;padding:35px;background:linear-gradient(150deg,#1a292edc,#0b181eee);border:1px solid #b8a17150;text-align:center;max-height:95dvh;overflow:auto}.pause-overlay p{font-size:13px}.result-overlay section{width:590px;padding:35px 45px}.result-sigil{font-size:62px;line-height:1.3;color:#dabd7e;display:block;text-shadow:0 0 40px #f1cd6440}.result-card h1{font:500 60px Rajdhani;letter-spacing:7px;color:#e2c992;margin:0}.result-card>p{font-size:12px}.result-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin:25px 0}.result-stats span{font-size:10px;color:#8fa8a3}.result-stats b{display:block;font:27px Rajdhani;color:#dee3d1}.reward-line{display:flex;justify-content:space-around;font:16px Rajdhani;color:#c4b990;margin-bottom:20px;gap:12px}.loot{display:flex;text-align:left;align-items:center;gap:20px;padding:12px 20px;background:#52646f25;border:1px solid #93bcc030;margin-bottom:22px}.loot>span{font-size:40px;color:#a1c9cb}.loot small{display:block;font:10px Rajdhani;letter-spacing:2px}.loot strong{font-size:14px;font-weight:400}.training-note{color:#c7ab74!important}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;transition:.2s;z-index:30;background:#263737f5;border:1px solid #c0aa7770;padding:13px 22px;color:#e8dfc7;box-shadow:0 8px 50px #0007;pointer-events:none;max-width:90vw;text-align:center;font-size:13px}#toast.visible{transform:translate(-50%);opacity:1}.busy button:not(.control){cursor:progress}.hit-flash:after{content:"";position:fixed;inset:0;pointer-events:none;box-shadow:inset 0 0 70px #91d7ce40;z-index:4}#debug{position:fixed;bottom:3px;left:10px;color:#a5b6a0;background:#05101ab8;font:9px monospace;pointer-events:none}#rotate-hint{display:none}@media(min-width:1500px){.hero-copy{margin-top:12vh}.rail{top:22vh}.arena-caption{right:10%;bottom:20%}}@media(max-width:1000px){header{padding:22px 25px}.hero-copy{margin-left:15%;max-width:480px;margin-top:8vh}.hero-copy h1{font-size:80px}.rail{left:2%;top:130px;gap:8px}.rail-button{width:55px}.arena-caption{right:4%;bottom:15%}.arena-caption>span{font-size:13px}.node-grid{gap:8px}.node{padding:12px 4px}.node strong{font-size:10px}.item-grid{grid-template-columns:repeat(3,1fr)}.help-grid{grid-template-columns:1fr 1fr}.offline-label{display:none}}@media(max-width:650px){header{padding:20px}.brand{font-size:21px;letter-spacing:3px;gap:12px}.brand small{font-size:7px}.brand-mark{font-size:38px;width:28px}.account{gap:8px}.account .text-button{font-size:9px;padding:3px}.account .gold{font-size:14px;padding-left:8px}.account>span:nth-child(2){font-size:10px}.level-badge{width:25px;height:25px}.rail{position:fixed;inset:auto 10px 50px;flex-direction:row;justify-content:space-around;gap:0;background:#0b1b20da;border:1px solid #6f817842;padding:5px 0;border-radius:4px}.rail-button{width:auto;min-width:38px;padding:5px 2px}.rail-button span{font-size:21px}.rail-button small{font-size:8px}.hero-copy{margin:13vh 22px 0;padding-bottom:185px;max-width:90vw}.hero-copy h1{font-size:80px}.hero-copy .eyebrow{font-size:9px}.hero-description{font-size:11px}.thai-title{font-size:13px}.hero-actions{margin-top:24px}.journey{margin-top:25px}.hub-shade{background:linear-gradient(90deg,#101a20d9,#101b2166),linear-gradient(0deg,#07121beb,transparent 70%)}.arena-caption{display:none}footer{padding:13px 18px;font-size:8px}footer>span:nth-child(2){display:none}footer .text-button{font-size:9px;padding:0}.panel-backdrop{padding:10px}.panel{max-height:94dvh}.panel-heading{padding:19px 20px 12px}.panel-body{padding:18px}.panel h2{font-size:22px}.panel .eyebrow{font-size:9px}.node-grid{grid-template-columns:repeat(2,1fr)}.node{min-height:140px}.node strong{font-size:12px}.node:last-child{grid-column:span 2}.world-top{flex-direction:column;gap:0}.world-top select{font-size:12px}.item-grid{grid-template-columns:repeat(2,1fr);gap:9px}.item-card{padding:13px 10px}.item-card strong{font-size:11px}.item-card small{font-size:9px}.filters{gap:4px}.chip{font-size:10px;padding:6px 8px}.help-grid{gap:10px}.help-grid article{padding:12px}.help-grid b{font-size:12px}.help-grid p{font-size:11px}.help-symbol{font-size:24px}.skill-grid,.bestiary{grid-template-columns:1fr}.skill-grid article{padding:20px}.battle-top{padding:15px 14px;gap:10px}.battle-top>div:first-child,.battle-time{width:50px}.battle-top .eyebrow{display:none}.enemy-status{width:70vw}.enemy-status h2{font-size:13px}.battle-time{font-size:17px}.pause-button{margin-top:0;padding:8px;min-width:35px}.enemy-status>small{font-size:9px}.battle-bottom{left:15px;right:15px;bottom:135px}.player-status{width:42%}.special-status{width:30%}.combo-hint{position:absolute;bottom:85px;right:0}.combo-hint span{font-size:20px}.controls{left:15px;right:15px;bottom:25px;gap:12px}.controls>div{gap:8px}.control{width:70px;height:78px}.control span{font-size:30px}.control small{font-size:8px}.combat-feedback{left:10%;right:10%;top:57%}.combat-feedback strong{font-size:18px}.combat-feedback small{font-size:10px}.telegraph{top:35%;width:95px;height:95px}.telegraph strong{font-size:43px;top:15px}.telegraph small{top:100px;font-size:10px}#rotate-hint{display:block;position:absolute;top:100px;left:10px;right:10px;text-align:center;font-size:9px;color:#acbcae;opacity:.7}.result-overlay section{padding:25px 20px}.result-card h1,.result-sigil{font-size:48px}.result-stats{margin:15px 0;padding:12px 0}.result-stats b{font-size:22px}.reward-line{font-size:13px;flex-wrap:wrap}.result-overlay .primary{min-width:220px}}@media(max-height:580px)and (orientation:landscape){header{padding:15px 25px}.brand{font-size:20px}.hero-copy{margin:30px 0 0 15%;padding-bottom:70px}.hero-copy h1{font-size:62px;margin:15px 0}.hero-copy .thai-title{font-size:12px}.hero-description{display:none}.hero-actions{margin-top:15px}.hero-actions .primary{padding:10px 18px;min-width:220px}.hero-actions .text-button{padding:5px}.journey{display:none}.rail{top:95px;gap:3px}.rail-button{padding:2px}.rail-button span{font-size:20px}.arena-caption{bottom:18%;font-size:10px}.arena-caption div{display:none}footer{padding:10px 25px}.battle-top{padding:10px 20px}.enemy-status h2{font-size:14px;margin:3px 0}.enemy-status{width:350px}.battle-top>div:first-child,.battle-time{width:140px}.battle-top .eyebrow{font-size:8px}.pause-button{padding:6px;margin-top:3px}.battle-bottom{left:20px;right:20px;bottom:108px}.player-status{width:170px;gap:4px}.special-status{width:150px}.control{width:78px;height:70px}.control span{font-size:28px}.control small{font-size:8px}.controls{bottom:20px;left:20px;right:20px}.telegraph{width:78px;height:78px;top:31%}.telegraph strong{top:12px;font-size:37px}.telegraph small{top:81px;font-size:9px}.combat-feedback{top:60%}.combat-feedback strong{font-size:18px}.combat-feedback small{font-size:9px}.combo-hint span{font-size:20px}.meter-label{font-size:8px;margin-bottom:2px}.meter{height:4px}.result-overlay section{padding:18px 30px;width:560px}.result-sigil{display:none}.result-card h1{font-size:40px}.result-card>p{margin-bottom:5px}.result-stats{margin:10px 0;padding:8px 0}.result-stats b{font-size:20px}.reward-line{margin-bottom:10px}.loot{padding:5px 15px;margin-bottom:12px}.loot>span{font-size:27px}.result-card .primary{padding:10px 20px}.result-card .full{margin-top:4px;padding:5px}.panel{max-height:94dvh}.panel-heading{padding:15px 25px 10px}.panel-body{padding:18px 25px}.panel h2{font-size:21px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}@media(min-width:1001px)and (max-height:800px){.hero-copy{margin-top:5vh;padding-bottom:70px}.hero-copy h1{font-size:86px;margin:24px 0 20px}.hero-actions,.journey{margin-top:22px}.rail{top:142px;gap:7px}.rail-button{padding:5px 3px}.hero-copy .eyebrow{font-size:10px}}@media(max-width:650px){header{flex-wrap:wrap;gap:15px}.brand{white-space:nowrap}.account{margin-left:auto;white-space:nowrap}.account .text-button{font-size:10px;padding:6px}.hero-copy{margin-top:7vh}.hero-copy h1{font-size:72px}.journey{margin-top:20px}}.search-row{flex-direction:row!important;margin-bottom:20px}.search-row input{flex:1}.admin-players{display:grid;gap:8px}.admin-players button{display:grid;grid-template-columns:1fr auto;text-align:left;gap:4px;padding:14px;background:#0e1b22;border:1px solid var(--line)}.admin-players button small{grid-column:1;font-size:11px}.admin-players button span{grid-column:2;grid-row:1/3;align-self:center}.transaction-list>div{display:flex;justify-content:space-between;gap:15px;padding:10px;border-bottom:1px solid var(--line);font-size:12px}#admin-player-change{margin:25px 0;padding:20px;background:#0a151c70;border:1px solid var(--line)}details{pointer-events:auto;color:#b3c5ba}summary{cursor:pointer}@media(max-height:580px)and (orientation:landscape){.rail{top:85px;bottom:50px;overflow-y:auto;gap:1px}.rail-button{min-height:33px;flex-shrink:0;gap:1px}.rail-button span{font-size:18px}.rail-button small{font-size:8px}.hero-copy{margin-top:14px}.hero-copy h1{font-size:58px;margin:12px 0}.hero-actions{margin-top:10px}}:root{--line:#cbbddd;--text:#4c4666;--muted:#807497;--gold:#986cc1}body{color:#4c4666;background:#d8efff}button,input,select,textarea{font-family:inherit}button{border-radius:16px;color:#514568}.brand,.brand small,.eyebrow,.thai-title,.hero-description,.journey strong,.journey small,.arena-caption,.arena-caption small,footer{color:#68517e}.brand-mark{color:#b581c9}.hub-shade{background:linear-gradient(90deg,#fff8f3ed 0%,#fff7edb8 30%,transparent 68%)}.hero-copy h1{font-size:clamp(44px,6.7vw,100px);letter-spacing:-2px;color:#775a9c;text-shadow:none}.hero-copy h1 em{color:#b270a3}.primary{background:linear-gradient(120deg,#a082d3,#da96bf);color:#fff;border:0;border-radius:18px;box-shadow:0 7px #9b78b72e}.outline,.chip,.control,.rail-button{background:#fff8f0e8;border:1px solid #d9c5e4;color:#65517c}.rail-button span,.rail-button small,.text-button{color:#755b8b}.rail{border-radius:20px;background:#fff6f0c9}.panel,.pause-overlay section,.result-overlay section{background:#fffaf4;color:#554567;border-color:#d8c5e5;border-radius:24px}.panel h2,.panel p,.panel label,.panel small,.result-stats b,.result-card h1,.result-card p,.meter-label{color:#675078}.panel-backdrop,.pause-overlay,.result-overlay{background:#8d82a169}.item-card,.node,.skill-grid article,.help-grid article,.bestiary article,.story-card,.loot{background:#f4edf9;border-color:#deceed;border-radius:16px;color:#675078}.item-card strong,.node strong,.world-top p,.node small{color:#675078}input,select,textarea{background:#fff!important;color:#554567!important;border-color:#d8c5e5!important}.gold,.level-badge{color:#94724b}.result-sigil{color:#cf91bf}.wave-top,.wave-bottom{position:absolute;left:22px;right:22px;display:flex;justify-content:space-between;align-items:center;gap:12px;pointer-events:none}.wave-top{top:18px}.wave-top>div,.wave-bottom>div{background:#fffaf0eb;padding:10px 18px;border-radius:20px;box-shadow:0 4px 20px #79629318}.wave-top b,.wave-top small,.wave-bottom small{display:block}.wave-top b{font-size:22px;letter-spacing:2px}.wave-top small,.wave-bottom small{font-size:11px}.wave-top button{pointer-events:auto;margin:0 10px 0 0;background:#ebdff7;color:#695082}.wave-bottom{bottom:20px}.wave-bottom strong{font-size:30px;color:#da86ac;letter-spacing:3px}.wave-bottom b{font-size:22px;color:#9a67bd}.wave-bottom .special-control{pointer-events:auto;min-height:64px;padding:14px 20px;background:#ded0f1;border:2px solid #bba1d3;color:#70538e;font-size:16px;box-shadow:0 4px #b69bca50}.special-control:not(:disabled){background:#ffe5a5;box-shadow:0 0 25px #ffe69b}.special-control.armed{background:#f7b8dd;border-color:#c274b1}.wave-feedback{position:absolute;left:15%;right:15%;top:23%;text-align:center;pointer-events:none;color:#8561a2;font-size:22px;text-shadow:0 2px 0 white}.wave-upgrade{pointer-events:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff8f1f5;border:2px solid #e1c4e7;border-radius:26px;padding:25px;width:min(650px,90vw);text-align:center;box-shadow:0 15px 60px #79629333}.wave-upgrade h2{font-size:22px}.wave-upgrade p{font-size:12px}.wave-upgrade>div{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.wave-upgrade small{display:block;margin-top:15px}.swipe-ribbon{position:fixed;height:14px;margin-top:-7px;border-radius:50%;background:linear-gradient(90deg,#d7a4f1,#fff2c2);box-shadow:0 0 9px #fff,0 0 18px #edb8e5;transform-origin:left center;pointer-events:none;z-index:6;animation:ribbon-fade .25s forwards}@keyframes ribbon-fade{to{opacity:0}}.star-storm:after{content:"";position:fixed;inset:0;pointer-events:none;background:repeating-linear-gradient(135deg,transparent 0%,transparent 15%,#fff4b455 15.3%,transparent 16%);box-shadow:inset 0 0 100px #efbce955;animation:storm .15s steps(2) infinite}@keyframes storm{to{transform:scale(1.12)}}@media(max-width:650px){.hero-copy h1{font-size:48px}.hub-shade{background:linear-gradient(90deg,#fff8f3ed,#fff7ed80)}.rail{background:#fff6f0ec}.wave-top,.wave-bottom{left:10px;right:10px;gap:6px}.wave-top>div,.wave-bottom>div{padding:8px 10px}.wave-top b{font-size:16px}.wave-top small{font-size:9px}.wave-top{top:12px}.wave-bottom{bottom:12px;flex-wrap:wrap}.wave-bottom strong{font-size:24px}.wave-bottom .special-control{min-height:56px;padding:10px;font-size:12px}.wave-bottom b{font-size:15px}.wave-bottom small{font-size:9px}.wave-feedback{font-size:16px;top:22%}.wave-upgrade{padding:18px}.wave-upgrade h2{font-size:18px}.wave-upgrade .outline{padding:10px}.hero-copy{padding-bottom:180px}}@media(max-height:580px)and (orientation:landscape){.wave-top{top:8px}.wave-bottom{bottom:8px}.wave-top>div,.wave-bottom>div{padding:6px 12px}.wave-top b{font-size:16px}.wave-bottom strong{font-size:22px}.wave-bottom .special-control{min-height:48px;padding:8px 15px}.wave-feedback{font-size:16px;top:20%}.wave-upgrade{padding:14px}.wave-upgrade h2{font-size:18px}}.wave-top small,.wave-bottom small{color:#766482}.wave-bottom>div:has(#combo:empty){background:transparent;box-shadow:none;padding:0}.wave-bottom .special-control span{color:inherit}.wave-top,.wave-bottom{z-index:2}.wave-feedback{z-index:1}.left-handed .wave-bottom{flex-direction:row-reverse}.contrast .wave-top small,.contrast .wave-bottom small{color:#332444}.contrast .wave-feedback{color:#442455}.pause-overlay section,.result-overlay section{max-width:100%}.pause-overlay p,.pause-overlay small{color:#766482}.battle-paused:after,.battle-paused .swipe-ribbon{animation-play-state:paused!important}.battle-paused #game{touch-action:auto}.in-battle .battle-move-pad{pointer-events:auto;z-index:4;width:max-content}.battle-move-pad button{pointer-events:auto;user-select:none;-webkit-user-select:none}.in-battle .wave-bottom{bottom:28px;left:235px}.in-battle #game:focus{outline:none}.battle-paused .battle-move-pad{visibility:hidden}@media(max-width:650px){.in-battle .battle-move-pad{grid-template-columns:repeat(3,40px);width:auto;gap:3px;padding:6px;bottom:18px;left:12px}.in-battle .battle-move-pad button,.in-battle .battle-move-pad span{height:39px;font-size:18px}.in-battle .battle-move-pad span{font-size:8px}.in-battle .wave-bottom{left:160px;right:12px;bottom:20px;flex-wrap:wrap;justify-content:flex-end;gap:6px}.in-battle .wave-bottom>div{padding:6px 10px}.in-battle .wave-bottom strong{font-size:16px;letter-spacing:1px}.in-battle .wave-bottom small{font-size:9px}.in-battle .wave-bottom .special-control{font-size:12px;min-height:50px;padding:8px 12px}.wave-feedback{font-size:14px;top:19%}}.explore-hud{position:fixed;z-index:5;top:22px;left:22px;right:22px;display:flex;justify-content:space-between;align-items:start;pointer-events:none}.explore-hud>div,.explore-hud button{pointer-events:auto}.explore-hud>div{padding:13px 18px;border-radius:18px;background:#fffaf0e8;box-shadow:0 4px 20px #79629322}.explore-hud small,.explore-hud strong,.explore-hud p{display:block;margin:0}.explore-hud small{font-size:10px;letter-spacing:1.5px}.explore-hud strong{font-size:21px;color:#825f9f}.explore-hud p{font-size:12px;margin-top:3px}.move-pad{position:fixed;z-index:5;bottom:max(22px,env(safe-area-inset-bottom));left:22px;width:174px;display:grid;grid-template-columns:repeat(3,54px);gap:5px;padding:8px;border-radius:22px;background:#fff9f2d9;box-shadow:0 7px 25px #79629328}.move-pad button,.move-pad span{height:48px;border-radius:14px;display:grid;place-items:center}.move-pad button{border:1px solid #d7c4e6;background:#f5ebfa;color:#7a5b9a;font-size:22px;touch-action:none}.move-pad button:active{background:#e4c9ef}.move-pad span{font-size:10px;color:#836f91}.explore-tip{position:fixed;z-index:5;bottom:24px;left:215px;color:#6e5d7d;background:#fffaf0db;padding:10px 13px;border-radius:15px;font-size:11px}#encounter-prompt{position:fixed;z-index:6;top:50%;left:50%;transform:translate(-50%,-50%)}#encounter-prompt .primary{padding:16px 28px}@media(max-width:650px){.explore-hud{top:14px;left:14px;right:14px}.explore-hud>div{padding:10px 13px}.explore-hud strong{font-size:17px}.explore-hud p{font-size:10px;max-width:210px}.move-pad{left:14px;bottom:18px}.explore-tip{left:202px;bottom:23px;right:12px;font-size:9px}}.camp-shade{position:absolute;inset:0;background:linear-gradient(90deg,#eff9f5f5 0%,#eff9f5e8 35%,transparent 75%);pointer-events:none}.camp-card{position:absolute;left:5%;top:6%;width:min(440px,46%);max-height:88%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;padding:24px 24px 38px;border:1px solid #ffffffa0;border-radius:24px;background:#fafff5e8;pointer-events:auto;box-shadow:0 18px 50px #33574a22}.camp-card h1{font-size:32px;margin:14px 0}.camp-card .wide{margin-top:12px;width:100%}.camp-recap{padding:16px;background:#e4eedf;border-radius:14px;line-height:1.9;margin:14px 0}.wave-upgrade button:disabled{opacity:.65}.wave-upgrade #break-time{display:block;margin-top:18px}@media(max-width:600px){.camp-card{left:4%;top:max(12px,env(safe-area-inset-top));bottom:max(12px,env(safe-area-inset-bottom));width:92%;max-height:none;padding:20px 20px 42px;background:#fafff5eb}.camp-card h1{font-size:27px}}footer{z-index:6;min-height:68px;gap:18px;padding:14px 4%;background:#fffaf0f5;border-top:1px solid #d8c5e5;color:#574b68;box-shadow:0 -5px 22px #56476a1a;text-shadow:none}footer span,footer b,footer .text-button{color:#574b68}footer>span{min-width:0;line-height:1.45}footer>span:nth-child(2){flex:1;text-align:center}footer .text-button{flex:0 0 auto;background:#f1e7f7;padding:8px 13px;border-radius:14px}@media(max-width:650px){footer{min-height:64px;gap:8px;padding:10px 12px;background:#fffaf0f8}footer>span:first-child{max-width:48%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}footer .text-button{padding:7px 10px}}.battle-hp{height:10px;min-width:120px;background:#e7d8e6;border:1px solid #b997b8;border-radius:9px;overflow:hidden;margin:4px 0}.battle-hp i{display:block;height:100%;background:linear-gradient(90deg,#4cae94,#97dfad);transition:width .15s}.battle-hp.low i{background:#d64d75}#hp-value{font-weight:700;color:#59406c}.battle-stamina{width:100%;height:9px;margin-top:6px;overflow:hidden;border:1px solid #7b5c9a;border-radius:99px;background:#e8dff0}.battle-stamina i{display:block;width:100%;height:100%;background:linear-gradient(90deg,#45b99a,#85dfb1);transition:width .08s linear}.battle-stamina.low i{background:linear-gradient(90deg,#dc8b35,#f2c25d)}#stamina-value{font-weight:700;color:#3c6b5d}#hurt-effect{position:fixed;inset:0;pointer-events:none;z-index:4;box-shadow:inset 0 0 80px 20px #ef5277;opacity:0;transition:opacity .12s}#hurt-effect.active{opacity:.5}#combo.fever-active{color:#b657bd;text-shadow:0 0 14px #ffd36e;transform:scale(1.08)}@media(prefers-reduced-motion:reduce){#hurt-effect{transition:none;box-shadow:inset 0 0 0 5px #ef5277}#combo.fever-active{transform:none}}.journey-resume{font-size:20px;border:2px solid #fff1b6;box-shadow:0 5px #8c64ae,0 0 24px #ffeab855}.journey-new{font-size:17px;font-weight:700;background:#fff4d8;border:2px solid #b08ad0;min-height:54px}.hero-actions>small{max-width:320px;color:#614c75;font-size:11px}.hero-actions .journey-resume{min-height:60px}.move-pad.joystick{display:block;width:184px;height:184px;padding:0;background:transparent;box-shadow:none;touch-action:none;-webkit-user-select:none;user-select:none;pointer-events:auto;border-radius:50%;--stick-x:92px;--stick-y:92px;--thumb-x:0px;--thumb-y:0px}.joystick-base{position:absolute;left:var(--stick-x);top:var(--stick-y);transform:translate(-50%,-50%);width:104px;height:104px;border-radius:50%;border:2px solid #ffffffbd;background:#76639c55;box-shadow:0 3px 15px #48325233}.joystick-stick{position:absolute;left:26px;top:26px;width:48px;height:48px;border-radius:50%;background:linear-gradient(#fffaf5,#d8c1ed);border:2px solid white;box-shadow:0 3px 10px #50366b55;transform:translate(var(--thumb-x),var(--thumb-y));pointer-events:none}.move-pad.joystick small{position:absolute;bottom:9px;width:100%;text-align:center;color:#51406c;font-size:11px;pointer-events:none}.joystick.dragging .joystick-base{border-color:#fff0ac;background:#8d65b77a}.action-pad #special-button{position:relative;isolation:isolate;overflow:hidden;min-width:112px;min-height:86px;border:3px solid #ba8793;border-radius:24px;background:#fff;opacity:1;color:#fff;text-shadow:0 1px 3px #541020,0 0 3px #541020;box-shadow:0 4px 12px #6e244033}#special-button:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#a90c2f,#ee7585);transform:translateY(calc(100% - var(--charge,0%)));transition:transform .08s linear;pointer-events:none}.action-pad #special-button span{color:#fff;font-weight:700}.action-pad #special-button.charged{border-color:#ffb4c1;background:#a90c2f;box-shadow:0 0 22px #e52f5c88}.action-pad #special-button.charged:before{background:#a90c2f}@media(max-width:650px){.move-pad.joystick{left:0;bottom:4px}.action-pad #special-button{width:105px;min-width:105px;min-height:82px;padding:10px;font-size:12px}}@media(prefers-reduced-motion:reduce){#special-button:before{transition:none}}.journey-resume[hidden]{display:none!important}.hero-actions .journey-new{border-radius:22px;background:linear-gradient(135deg,#a779cf,#cc88ae);border:2px solid #fff3d8;color:#fff;box-shadow:0 6px #8662a4,0 10px 20px #71518430;min-height:60px;font-size:19px;padding:16px 24px;margin-bottom:7px}.hero-actions .journey-new:active{transform:translateY(4px);box-shadow:0 2px #8662a4}#toast{position:fixed;inset:0;margin:auto;transform:none;opacity:1;transition:none;width:min(420px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:80dvh;height:fit-content;overflow:auto;padding:26px;border:2px solid #d9bce5;border-radius:24px;background:#fffaf4;color:#554366;box-shadow:0 20px 70px #34224255;pointer-events:auto;text-align:center;font-size:16px}#toast:not([open]){display:none}#toast::backdrop{background:#37274288}#toast h2{color:#67437f;font-size:23px;margin:0 0 14px}#toast p{color:#554366;line-height:1.8;overflow-wrap:anywhere;white-space:pre-wrap}#notice-close{min-width:130px;min-height:48px;padding:12px 24px;border-radius:16px;background:#8c61b0;color:#fff;font-weight:700}body:not(.in-battle) #game{touch-action:pan-y}#special-button{touch-action:none;min-width:128px;min-height:96px;-webkit-tap-highlight-color:transparent}#special-button:active:not(:disabled){transform:scale(.95)}.hero-actions .home-login{min-height:56px;font-size:19px;font-weight:700;border:2px solid #fff6dd;background:linear-gradient(135deg,#7958ab,#ab639c);color:#fff;box-shadow:0 5px #664987;margin-bottom:7px}.wave-top .training-home{display:block;min-height:44px;margin:0 0 8px;padding:8px 12px;font-weight:700;background:#fff7e4;color:#58406f;border:2px solid #b79acb;border-radius:14px}#boss-alert{position:absolute;z-index:7;top:120px;left:50%;transform:translate(-50%);width:max-content;max-width:90%;padding:10px 16px;background:#fff3dcef;border:2px solid #e89f63;border-radius:18px;color:#713746;text-align:center;font-size:14px;font-weight:700;pointer-events:none;box-shadow:0 4px 18px #62394522}@media(max-width:650px){#boss-alert{top:155px;max-width:88%;font-size:12px}}#evade-button{position:fixed;z-index:8;right:22px;bottom:135px;min-width:120px;min-height:66px;border:2px solid #fff4d5;border-radius:24px;background:linear-gradient(135deg,#647dd1,#9476ca);color:#fff;font-weight:700;touch-action:none;box-shadow:0 5px #635886}#evade-button:disabled{background:#938ba8;color:#fff;opacity:.85}#encounter-label{position:absolute;top:100px;left:15px;right:15px;text-align:center;font-size:12px;color:#58466a;background:#fff5e8dd;border-radius:12px;padding:6px;pointer-events:none}#encounter-label:empty{display:none}@media(max-width:650px){#evade-button{right:14px;bottom:120px;min-height:62px;font-size:12px}#encounter-label{top:120px;font-size:10px}}.action-pad{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:8;width:202px;height:176px;pointer-events:none}.action-pad #attack-button,.action-pad #evade-button,.action-pad #special-button{position:absolute;box-sizing:border-box;width:82px;height:82px;min-width:82px;min-height:82px;padding:8px 5px;border-radius:50%;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;pointer-events:auto;touch-action:none;font-size:12px;line-height:1.2;color:#fff;font-weight:800;white-space:pre-line;-webkit-tap-highlight-color:transparent}.action-pad #attack-button{right:0;bottom:0;width:98px;height:98px;min-width:98px;min-height:98px;border:3px solid #fff0bb;background:linear-gradient(145deg,#e8873f,#c84c63);box-shadow:0 6px #87364d,0 8px 20px #622d4855}.action-pad #attack-button.held{transform:translateY(4px);box-shadow:0 2px #87364d}.action-pad #evade-button{left:8px;bottom:0}.action-pad #special-button{right:8px;top:0;border:3px solid #e1c8ec}.action-pad button b,.action-pad button span{position:relative;z-index:1;pointer-events:none}.action-pad button b{font-size:25px;color:#fff;text-shadow:0 1px 3px #50355c}.action-pad #evade-button[hidden],.action-pad #attack-button[hidden]{display:none}.action-pad button:disabled{filter:grayscale(.65);opacity:.6}.wave-bottom{bottom:160px}.wave-bottom>div{max-width:240px}@media(max-width:650px){.action-pad{right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));width:174px;height:152px}.action-pad #attack-button,.action-pad #evade-button,.action-pad #special-button{width:68px;height:68px;min-width:68px;min-height:68px;font-size:10px}.action-pad #attack-button{width:84px;height:84px;min-width:84px;min-height:84px}.wave-bottom{bottom:158px;left:14px;right:14px}.wave-bottom>div{padding:7px 12px}.wave-bottom strong{font-size:21px}.move-pad.joystick{width:150px;height:150px}}.in-battle .wave-bottom{bottom:160px;left:22px;right:22px;justify-content:space-between}@media(max-width:650px){.in-battle .wave-bottom{bottom:158px;left:14px;right:14px;justify-content:space-between}}.wave-upgrade.with-pickups{top:80px;transform:translate(-50%);padding:12px}.wave-upgrade.with-pickups h2{font-size:16px;margin:4px 0}.wave-upgrade.with-pickups #break-time{margin-top:8px}.supplies-panel{padding:20px;border:1px solid #d8c9e5;border-radius:20px;background:#f8f2fb;margin:14px 0 24px;color:#51405d}.supplies-panel h3{margin:0 0 10px}.supplies-panel p{font-size:13px;line-height:1.6}.potion-grid,.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.potion-card,.recipe-grid article{padding:16px;border-radius:16px;background:#fffaf6;border:2px solid var(--potion-color,#d8c7e4)}.potion-card>span{font-size:32px}.potion-card h4,.recipe-grid h4{margin:8px 0}.potion-card strong,.potion-card small{display:block;margin:6px 0}.potion-card>button,.recipe-grid button{width:100%;min-height:44px;border-radius:12px}.potion-pack{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0}.potion-pack button{width:44px;height:44px;background:#e2d2f2;border:1px solid #b69ace;border-radius:12px;color:#47345d;font-size:24px;touch-action:manipulation}.supplies-panel button:disabled{opacity:.4;cursor:not-allowed}.ingredient-stock{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.ingredient-stock span{background:#e9f2e4;padding:8px 12px;border-radius:12px;font-size:13px}.potion-belt{position:absolute;right:max(22px,env(safe-area-inset-right));bottom:280px;display:flex;gap:8px;pointer-events:auto;z-index:12}.potion-belt button{width:58px;min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px solid #fff7ee;border-radius:17px;background:linear-gradient(#a8ddb1,#568d75);box-shadow:0 4px #42675b;color:#fff;font-size:14px;touch-action:none}.potion-belt button span{font-size:20px}.potion-belt button small{font-size:10px}.potion-belt button:disabled{opacity:.6}.potion-belt button.used{filter:grayscale(1);opacity:.25}.potion-belt>small{position:absolute;right:0;top:-28px;white-space:nowrap;color:#385b43;background:#f5fff2;padding:4px 8px;border-radius:10px;font-size:11px}.potion-belt button:active{transform:translateY(3px)}@media(max-width:650px){.potion-grid,.recipe-grid{grid-template-columns:1fr}.potion-card{display:grid;grid-template-columns:1fr 1fr;gap:5px 12px}.potion-card>span{grid-row:span 2}.potion-card .potion-pack{margin:4px 0}.potion-belt{right:max(12px,env(safe-area-inset-right));bottom:225px}.potion-belt button{width:54px;min-height:60px}}.detail-actions>button[data-action=sell],.detail-actions>button[data-action=dismantle]{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 16px;border:2px solid transparent;border-radius:14px;font-size:14px;font-weight:700;line-height:1.2;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}.detail-actions>button[data-action=sell]{color:#6b2944;background:linear-gradient(135deg,#ffd8c7,#f4a9c8);border-color:#df8eae;box-shadow:0 4px #c26f91}.detail-actions>button[data-action=dismantle]{color:#473267;background:linear-gradient(135deg,#ddd2ff,#bca9e9);border-color:#9c82d3;box-shadow:0 4px #8068ae}.detail-actions>button[data-action=sell]:hover,.detail-actions>button[data-action=dismantle]:hover,.detail-actions>button[data-action=sell]:focus-visible,.detail-actions>button[data-action=dismantle]:focus-visible{filter:brightness(1.06);transform:translateY(-1px)}.detail-actions>button[data-action=sell]:active,.detail-actions>button[data-action=dismantle]:active{transform:translateY(3px);box-shadow:0 1px 0 currentColor}.detail-actions>button[data-action=sell]:disabled,.detail-actions>button[data-action=dismantle]:disabled{opacity:.45;filter:grayscale(.35);cursor:not-allowed;box-shadow:none}.in-battle #tactical-status{color:#42306b;font-weight:700;white-space:normal;font-size:14px;line-height:1.45;max-width:240px}.in-battle #tactical-status[hidden]{display:none}.shop-category-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:20px 0 24px}.shop-category-tabs button{min-height:52px;padding:12px 8px;font-weight:700}.shop-category-tabs .selected{outline:2px solid #fff;outline-offset:-5px}#shop-category-content>.supplies-panel{margin-top:0}@media(max-width:600px){.shop-category-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shop-category-tabs button{font-size:17px}}.legacy-map{padding:14px;border-radius:20px}.cycle-banner{display:flex;flex-direction:column;gap:7px;background:#efe0fa;color:#482260;border:2px solid #b98cd3;padding:16px;border-radius:16px;margin-bottom:20px}.cycle-banner strong{font-size:21px}.cycle-banner span{font-size:15px;line-height:1.6}.advanced-cycle{background:var(--cycle-surface);border:2px solid var(--cycle-border)}.advanced-cycle .cycle-banner{background:var(--cycle-accent);border-color:var(--cycle-accent);color:#fff}.advanced-cycle .cycle-banner span{color:#fff}.legacy-map.advanced-cycle .node{background:var(--cycle-surface);border-color:var(--cycle-border);opacity:1}.legacy-map.advanced-cycle .node strong,.legacy-map.advanced-cycle .node small{color:#5b1730}.legacy-map.advanced-cycle .node-icon{color:var(--cycle-accent)}.legacy-map.advanced-cycle .node.current,.legacy-map.advanced-cycle .node.boss-node{background:var(--cycle-accent);border-color:#ffbdb2}.legacy-map.advanced-cycle .node.current :is(strong,small,.node-icon),.legacy-map.advanced-cycle .node.boss-node :is(strong,small,.node-icon){color:#fff}.legacy-map.advanced-cycle .node:disabled{opacity:.7}.legacy-map.advanced-cycle .node.current:before{background:#ffbe6c}:root{font-size:calc(16px * var(--ui-scale,1));color:#30203f;--text:#30203f;--muted:#574368;--gold:#8441bd;--teal:#147b73;--line:#c3a4dc;--panel:#fffaf5}body{color:#30203f}p,small,label,.hero-description,.thai-title,.journey small,.offline-label{color:#493654}p{font-weight:400;line-height:1.8}h2,h3,h4,strong{font-weight:700}button,input,select,textarea{line-height:1.5}input,select,textarea{font-size:16px;color:#30203f;background:#fff;border:2px solid #b99ccc;border-radius:12px}label{font-size:16px;font-weight:600}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #087d73;outline-offset:3px}button:not(:disabled):hover{filter:brightness(1.05)}.primary,.hero-actions .journey-new,.hero-actions .journey-resume,.hero-actions .home-login{background:linear-gradient(120deg,#7831b8,#b32c83);color:#fff;border:2px solid #fff2d9;box-shadow:0 5px #55217f,0 8px 20px #73319828;font-weight:700;font-size:18px;border-radius:18px}.outline,.chip{background:#f3e6ff;color:#4c1c70;border:2px solid #a26bc9;border-radius:12px;font-size:16px;font-weight:600;min-height:44px}.chip.selected{background:#7831b8;color:#fff;border-color:#7831b8}.text-button,.small{font-size:15px;color:#57297c;font-weight:600}.primary span{color:inherit}.hero-description,.hero-actions>small,.thai-title{font-size:17px;line-height:1.8;font-weight:500}.hero-copy .eyebrow,.eyebrow,.panel .eyebrow{font-size:14px;color:#6a308d;letter-spacing:1.1px;font-weight:600}.hero-copy h1{color:#38214e;font-weight:700}.hero-copy h1 em{color:#9b2984}.journey strong{font-size:17px;font-weight:700;color:#38214e}.journey small{font-size:15px;line-height:1.7}.journey{max-width:440px}.brand{color:#522472}.brand small{font-size:12px;color:#574368;letter-spacing:1px}.account{font-size:16px;flex-wrap:wrap}.account small{font-size:13px;color:#574368}.account .gold{font-size:23px;color:#854607}.account .text-button{font-size:15px}.level-badge{color:#64259c;border-color:#a26bc9;min-width:34px;min-height:34px}.rail{background:#fffaf5f5;border-color:#b58bce}.rail-button{color:#612594;min-width:64px;min-height:60px}.rail-button small{font-size:14px;color:#452255;font-weight:600}.rail-button:hover{background:#ead3ff;color:#612594;border-radius:12px}footer{background:#fff8eff5;color:#493654;font-size:14px;border-color:#c3a4dc;gap:10px;flex-wrap:wrap}footer .text-button{font-size:14px}footer b{color:#694281;font-weight:600}.arena-caption>span,.arena-caption small,.arena-caption div{color:#493654;font-size:14px}.hub-shade~header .account,.hub-shade~.arena-caption{background:#fffaf5;box-shadow:0 0 0 8px #fffaf5;color:#30203f}.hub-shade~header .account .text-button:hover{color:#452255}.panel,.camp-card,.result-overlay section,.pause-overlay section,.wave-upgrade{background:#fffaf5;color:#30203f;border:2px solid #b789d3}.panel{width:580px}.panel-wide{width:min(1120px,95vw)}.panel-heading{border-color:#c3a4dc}.panel h2{font-size:28px}.close{color:#642994;font-size:32px;min-width:44px;min-height:44px}.panel-body>p,.world-top p,.help-grid p,.skill-grid p,.bestiary p,.version,.supplies-panel p{font-size:16px;color:#493654}.panel-body small,.world-top small,.node small,.item-card small,.bestiary small,.achievements span{font-size:14px;color:#574368;line-height:1.6}.item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.item-card{background:#fff;border:2px solid #c1a0d8;border-radius:16px;min-width:0}.item-card strong,.node strong{font-size:17px;color:#352044;line-height:1.5}.item-card .outline{font-family:inherit;font-size:16px;min-height:44px}.item-detail strong{font-size:28px;color:#352044}.item-detail small{font-size:17px}.rarity-Uncommon{border-top:4px solid #218458}.rarity-Rare{border-top:4px solid #2774c4}.rarity-Epic{border-top:4px solid #8c39c9}.rarity-Legendary{border-top:4px solid #bb7913}.rarity-Mythic{border-top:4px solid #cc3973}.compare{background:#ecddf8;color:#392348;font-size:16px!important;border:1px solid #bd9ad1;border-radius:12px;line-height:1.8}.detail-actions button,.detail-actions>button[data-action=sell],.detail-actions>button[data-action=dismantle]{font-size:16px;min-height:48px}.detail-actions>button[data-action=sell]{background:linear-gradient(125deg,#bf325b,#a82551);color:#fff;border-color:#a82551;box-shadow:0 4px #771d3d}.detail-actions>button[data-action=dismantle]{background:linear-gradient(125deg,#7a38bb,#592a9b);color:#fff;border-color:#592a9b;box-shadow:0 4px #3e1d70}.node,.help-grid article,.skill-grid article,.bestiary article{background:#f5ebff;border-color:#bc95d6;color:#352044}.node.current{background:#ead1ff;border-color:#8a3bc1}.node.boss-node{background:#ffe3ed;border-color:#d2548a}.node-icon,.help-grid b,.skill-grid article>span{color:#8a319f}.bestiary h3{font-size:20px}.filters select{font-size:16px}.camp-recap{background:#e1f0df;color:#284b31}.camp-card p,.camp-recap{font-size:16px}.reward-line{font-size:17px;color:#472353}.result-stats{font-size:15px}.result-stats b{color:#72309c}.loot{background:#f0dfff;color:#392047}.achievements .earned{background:#ffe4a8;color:#704409;border-color:#d49b37}.supplies-panel{background:#f0e0ff;border-color:#a273c3;color:#352044}.supplies-panel h3{font-size:21px}.potion-card,.recipe-grid article{background:#fffdf8;color:#352044}.potion-card h4,.recipe-grid h4{font-size:18px}.potion-card strong{font-size:16px}.potion-card small,.ingredient-stock span{font-size:15px;color:#3f3a43}.ingredient-stock span{background:#d6edce}.potion-pack button{background:#8140ba;color:#fff;border-color:#64289b}.recipe-grid p{font-size:16px}#toast{color:#30203f;background:#fffaf5;border-color:#9f64c5;font-size:18px}#toast h2{color:#61238b;font-size:27px}#toast p{color:#30203f;font-size:18px}#notice-close{background:#7831b8;color:#fff;font-size:17px;font-weight:700;min-height:48px;border-radius:14px;padding:10px 28px}.wave-top>div,.wave-bottom>div{background:#fffaf5f5;color:#30203f}.wave-top b{font-size:22px;color:#47215c}.wave-top small,.wave-bottom small{font-size:14px;color:#392b43;font-weight:500;line-height:1.5}.wave-bottom strong{color:#bb286a}.wave-top .training-home{font-size:15px;color:#542177;background:#eedaff;border-color:#9955c5}.pause-button{color:#5d2687;background:#ead5ff;font-size:18px;min-width:44px;min-height:44px}#battle-time{color:#3c224d;font-size:17px}#encounter-label,#boss-alert{font-size:15px;color:#51204d;background:#fff5e6f5;font-weight:600}.wave-feedback b{font-size:23px;color:#5f197e;text-shadow:0 1px 0 #fff,0 0 6px #fff}.wave-upgrade h2{font-size:24px}.wave-upgrade p,.wave-upgrade small{font-size:15px;color:#493654}.wave-upgrade.with-pickups h2{font-size:18px}.action-pad #evade-button{background:#6536b6;color:#fff}.action-pad #special-button{color:#fff}.action-pad #evade-button,.action-pad #special-button{font-size:14px;font-weight:700}.potion-belt button{background:linear-gradient(#28754f,#1d593c);color:#fff}.potion-belt button small{color:#fff;font-size:12px}.potion-belt>small{font-size:13px;color:#20462b;background:#f2ffed}.move-pad small{font-size:14px;color:#38234a}@media(max-width:650px){header{gap:14px;flex-wrap:wrap}.brand small{font-size:11px}.account>span:nth-child(2){font-size:15px}.account .gold{font-size:21px}.hero-copy{padding-bottom:215px}.hero-description,.hero-actions>small,.thai-title{font-size:16px}.hero-copy .eyebrow{font-size:14px}.hero-copy h1{font-size:clamp(52px,16vw,80px)}.hero-actions .primary,.hero-actions .journey-new,.hero-actions .home-login{max-width:100%;min-width:0;font-size:19px}.rail{justify-content:flex-start;overflow-x:auto;gap:8px;padding:8px;bottom:62px}.rail-button{flex:0 0 64px}.rail-button small{font-size:13px}.rail-button span{font-size:25px}footer{font-size:13px;padding:12px 16px}footer .text-button{font-size:13px}.panel{width:100%;max-height:94dvh}.panel h2{font-size:24px}.panel .eyebrow{font-size:13px}.panel-body{padding:16px}.panel-body>p,.panel-body small,.node small,.item-card small{font-size:14px}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.item-card{padding:12px 10px}.item-card strong,.node strong{font-size:16px}.item-card .outline{font-size:15px}.chip{font-size:14px}.detail-actions{gap:10px}.detail-actions button{padding:10px;font-size:15px}.world-top select{font-size:16px}.help-grid{grid-template-columns:1fr}.help-grid b{font-size:17px}.help-grid p{font-size:16px}.supplies-panel{padding:14px}.supplies-panel h3{font-size:19px}.supplies-panel p,.recipe-grid p{font-size:15px}.potion-card{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.potion-card h4{font-size:17px}.potion-card>button{grid-column:1/-1}.potion-card strong{font-size:15px}.wave-top b{font-size:18px}.wave-top small,.wave-bottom small{font-size:12px}.in-battle .wave-bottom>div:first-child{max-width:160px}.wave-top>div{padding:8px 10px}#battle-time{font-size:15px}#encounter-label,#boss-alert{font-size:13px}.wave-feedback b{font-size:19px}.wave-upgrade h2{font-size:20px}.wave-upgrade p,.wave-upgrade small{font-size:14px}.wave-upgrade.with-pickups{top:85px}.action-pad #evade-button,.action-pad #special-button{font-size:13px}.potion-belt>small{font-size:12px}}@media(max-width:360px){.item-grid,.detail-actions{grid-template-columns:1fr}.account{gap:8px}.in-battle .wave-bottom>div:first-child{max-width:145px}}#pickup-notice{position:absolute;left:18px;top:38%;z-index:9;width:min(380px,calc(100% - 36px));padding:14px 18px;border:2px solid #60be78;border-radius:16px;background:#f2fff5f5;color:#173d23;box-shadow:0 5px 20px #16382038;font-size:18px;line-height:1.6;pointer-events:none}#pickup-notice[hidden]{display:none}#pickup-notice>strong{display:block;color:#236e37;font-size:20px;margin-bottom:5px}#pickup-notice>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px}#pickup-notice b{white-space:nowrap;color:#174b26;font-size:19px}#wave-choices .wave-upgrade #pickup-notice{position:static;width:100%;box-sizing:border-box;flex:none;margin-top:4px}@media(max-width:650px){#pickup-notice{left:12px;width:min(330px,calc(100% - 24px));padding:10px 12px;font-size:16px}#pickup-notice>strong{font-size:18px}#pickup-notice b{font-size:17px}}#app:has(.wave-upgrade) :is(.wave-feedback,#encounter-label,#boss-alert){display:none}#wave-choices .wave-upgrade,#wave-choices .wave-upgrade.with-pickups{top:var(--blessing-top,145px);left:50%;transform:translate(-50%);z-index:15;width:min(880px,calc(100% - 28px));max-height:max(130px,calc(100dvh - var(--blessing-top,145px) - 190px));overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:20px;display:flex;flex-direction:column;gap:14px}#wave-choices .wave-upgrade h2{font-size:22px;line-height:1.5;margin:0;flex:none}#wave-choices .wave-upgrade p{font-size:16px;line-height:1.7;margin:0;flex:none}#wave-choices .wave-upgrade .blessing-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;flex:none}#wave-choices .wave-upgrade button{min-width:0;min-height:52px;padding:12px 10px;white-space:normal;line-height:1.5}#wave-choices .wave-upgrade .blessing-card{display:flex;flex-direction:column;gap:7px;text-align:left;border:2px solid #9774bd;border-radius:16px;background:#f3e9ff;color:#352047;box-shadow:0 4px #ccb7df;cursor:pointer}#wave-choices .wave-upgrade .blessing-1{background:#fff1d7;border-color:#b67d31;box-shadow:0 4px #e4c495}#wave-choices .wave-upgrade .blessing-2{background:#e3f5ff;border-color:#518cad;box-shadow:0 4px #a8cfdf}#wave-choices .wave-upgrade .blessing-card strong{font-size:19px;line-height:1.45}#wave-choices .wave-upgrade .blessing-card span{font-size:16px;font-weight:600}#wave-choices .wave-upgrade .blessing-card small{margin:0;color:#4c3b58;font-size:14px;line-height:1.5}#wave-choices .wave-upgrade .blessing-card b{margin-top:auto;padding-top:6px;border-top:1px solid #9471a84d;font-size:15px;color:#54276e}#wave-choices .wave-upgrade .blessing-card:hover:not(:disabled){filter:brightness(.97);border-color:#54276e}#wave-choices .wave-upgrade .blessing-card:focus-visible{outline:3px solid #5b2a91;outline-offset:3px}#wave-choices .wave-upgrade .blessing-card:active:not(:disabled){transform:translateY(3px);box-shadow:none}#wave-choices .wave-upgrade #break-time{display:block;margin:0;padding-top:10px;border-top:1px solid #d4b7e7;font-size:15px;line-height:1.7;flex:none}@media(max-width:650px){#wave-choices .wave-upgrade,#wave-choices .wave-upgrade.with-pickups{padding:16px;gap:10px}#wave-choices .wave-upgrade .blessing-options{grid-template-columns:1fr;gap:8px}#wave-choices .wave-upgrade h2{font-size:19px}#wave-choices .wave-upgrade p,#wave-choices .wave-upgrade #break-time{font-size:14px}#wave-choices .wave-upgrade button{min-height:48px;padding:10px;font-size:16px}#wave-choices .wave-upgrade .blessing-card{position:relative;gap:5px}#wave-choices .wave-upgrade .blessing-card strong{padding-right:80px;font-size:18px}#wave-choices .wave-upgrade .blessing-card b{position:absolute;top:12px;right:10px;padding:2px 5px;border:0;border-radius:6px;background:#ffffffb3;font-size:12px}}.action-pad #evade-label{white-space:pre-line;line-height:1.35}.equipment-loadout{margin-bottom:24px;padding:20px;border:2px solid #bea4dc;border-radius:24px;background:#f4edf9}.equipment-loadout h3{margin:0 0 8px}.equipment-loadout p{line-height:1.6}.paperdoll{position:relative;height:370px;max-width:600px;margin:auto;background:radial-gradient(ellipse,#fffaf7,transparent 70%)}.paperdoll svg{position:absolute;height:350px;width:195px;left:50%;transform:translate(-50%)}.gear-slot{position:absolute;display:flex;flex-direction:column;align-items:center;gap:4px;width:clamp(90px,27%,155px);min-height:98px;padding:8px!important;background:#fffaf8!important;border:2px solid #8860b2!important;border-radius:16px!important;color:#41255f!important;box-shadow:0 4px #c9b1de;cursor:pointer}.gear-slot.selected{outline:3px solid #b668e4;background:#eee0ff!important}.gear-slot small{font-size:12px;color:#593870}.gear-slot span{font-size:25px}.gear-slot strong{font-size:13px;line-height:1.4;overflow-wrap:anywhere}.gear-armor{left:50%;top:110px;transform:translate(-50%)}.gear-relic{left:50%;top:245px;transform:translate(-50%)}.gear-guard{right:0;top:165px}.gear-weapon{left:0;top:165px}.gear-picker{padding:16px;background:#fff;border-radius:18px;margin-top:16px}.gear-picker h4{margin-top:0}.gear-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-top:16px}.gear-options button{white-space:normal;padding:14px;display:flex;flex-direction:column;gap:8px}.gear-options small{font-size:13px}.packed-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.packed-slot{display:flex;flex-direction:column;gap:8px;padding:14px 10px;border:2px dashed #b49bcd;border-radius:16px;background:#fff8f0;text-align:center;min-width:0}.packed-slot.filled{border-style:solid;border-color:#7550a5;background:#fdfaff}.packed-slot b{font-size:16px;overflow-wrap:anywhere}.packed-slot span,.packed-slot small{font-size:13px}.potion-grid{margin-top:18px}.potion-belt .heal-key-hint{color:#fff;background:#21573c;font-weight:700}.action-pad #evade-label,.action-pad #special-label{line-height:1.25}.action-pad #evade-button,.action-pad #special-button{min-height:94px;min-width:94px}.equipment-loadout .gear-slot:focus-visible{outline:4px solid #d89d18}.potion-belt .heal-key-hint{top:100%;margin-top:7px}.inventory-guide{display:flex;flex-wrap:wrap;gap:10px;padding:14px 18px;border-radius:14px;background:#eee4fa;color:#42245c;font-size:15px}.rpg-inventory{display:grid;grid-template-columns:minmax(270px,340px) minmax(0,1fr);gap:22px;align-items:start}.rpg-inventory aside{min-width:0}.rpg-inventory .equipment-loadout{margin:0;padding:16px}.rpg-inventory .equipment-loadout>p{display:none}.equipped-legend{font-size:14px;line-height:1.6;color:#59466d}.inventory-bag{min-width:0}.inventory-bag>h3{margin-top:0}.inventory-bag>h3 small{font-size:14px;color:#6a557e}.rpg-bag-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;max-height:330px;overflow:auto;padding:5px}.bag-item{min-height:138px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 6px;background:#fffaf5;border:2px solid #b6a0cb;border-radius:12px;color:#342144;cursor:pointer}.bag-item:hover,.bag-item.selected,.bag-item:focus-visible{outline:3px solid #9653c9;outline-offset:1px;background:#f1e4ff}.bag-glyph{font-size:30px}.bag-item b{font-size:14px;line-height:1.4;overflow-wrap:anywhere}.bag-item small{font-size:12px}.bag-item em{font-size:12px;font-style:normal;font-weight:700;color:#236b43}.gear-comparison{background:#fffaf5;border:2px solid #ad8dc7;border-radius:18px;margin-top:18px;padding:18px;scroll-margin:16px}.gear-comparison h3{margin:0 0 12px;font-size:19px;color:#493065}.compare-head{display:grid;grid-template-columns:1fr 1fr;gap:12px}.compare-head>div{display:flex;flex-direction:column;gap:6px;padding:12px;background:#eee8f3;border-radius:12px;min-width:0}.compare-head>div:last-child{background:#e9f4ed}.compare-head b{font-size:16px;line-height:1.4;overflow-wrap:anywhere}.compare-head small,.compare-head span{font-size:13px}.gear-stat-table{width:100%;border-collapse:collapse;margin:14px 0;font-size:14px}.gear-stat-table th,.gear-stat-table td{padding:9px 5px;border-bottom:1px solid #e1d6e8;text-align:right}.gear-stat-table th:first-child{text-align:left}.gear-stat-table thead th{font-size:12px;color:#65516d}.gear-stat-table .stat-up{color:#176537;font-weight:800}.gear-stat-table .stat-down{color:#b12a3f;font-weight:800}.gear-stat-table .stat-same{color:#6c6076}.compare-note{font-size:12px!important;line-height:1.6}.compare-actions{display:flex;flex-wrap:wrap;gap:10px}.compare-actions button{flex:1;min-width:130px;min-height:48px;padding:12px;border-radius:12px;font-size:15px}.inventory-potions{margin-top:22px}.inventory-potions>summary{padding:16px;border:2px solid #ab8ac7;border-radius:14px;background:#f0e8f7;cursor:pointer;font-weight:700}.rpg-inventory .filters{gap:6px}.rpg-inventory .filters .chip{font-size:13px;padding:8px 11px}@media(max-width:760px){.rpg-inventory{grid-template-columns:1fr}.rpg-inventory aside{max-width:440px;width:100%;margin:auto}.inventory-guide{font-size:13px}.rpg-bag-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:290px}.bag-item b{font-size:13px}.gear-comparison{padding:12px}.gear-stat-table{font-size:12px}.gear-stat-table th,.gear-stat-table td{padding:8px 3px}.compare-head b{font-size:14px}.compare-actions{flex-direction:column}}.merchant-tabs{display:flex;gap:12px;margin-bottom:20px}.merchant-tabs button{flex:1;min-height:48px;font-weight:700;border-radius:14px}.merchant-sell .item-card button{min-height:46px;width:100%;border-radius:12px;margin-top:8px}.sale-receipt{padding:14px;border:2px solid #78a98b;border-radius:14px;color:#205d39;background:#effbef;font-weight:700}.gear-crafting{padding:20px;background:#f0e9f7;border:2px solid #ab8bc5;border-radius:20px;margin-bottom:24px}.gear-crafting p,.gear-crafting li{font-size:14px;line-height:1.6}.gear-crafting ul{padding-left:20px}.gear-crafting .recipe-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.gear-crafting button{white-space:normal}.rarity-Normal{border-color:#8a9696!important}.rarity-Super.Rare{border-color:#8953cb!important}.rarity-Super.Special.Rare{border-color:#c18b25!important;box-shadow:0 0 12px #e5b64a44}.item-grade{display:inline-block!important;width:fit-content;max-width:100%;padding:3px 8px;border:1px solid;border-radius:8px;font-size:13px!important;line-height:1.5;font-weight:700;font-style:normal;white-space:normal;overflow-wrap:anywhere}.item-grade.grade-normal{background:#e5e7eb;color:#374151;border-color:#9ca3af}.item-grade.grade-rare{background:#dcfce7;color:#166534;border-color:#4ade80}.item-grade.grade-sr{background:#fef08a;color:#713f12;border-color:#eab308}.item-grade.grade-ssr{background:#f3e8ff;color:#6b21a8;border-color:#c084fc}.gear-slot .item-grade{position:absolute;top:-12px;right:-4px;max-width:100%;font-size:11px!important;padding:2px 6px;box-shadow:0 2px 4px #39244722}.forge-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px;padding-bottom:18px;border-bottom:2px solid #d9c4ed}.forge-tabs button{min-width:0;min-height:70px;padding:12px;border-radius:16px;white-space:normal;line-height:1.5;font-size:16px;font-weight:700}.forge-tabs .selected{outline:3px solid #7845a6;outline-offset:3px}.potion-crafting>h3{margin-top:0}@media(max-width:650px){.forge-tabs{gap:8px}.forge-tabs button{font-size:14px;padding:10px 6px;min-height:88px}}.craft-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:22px}.craft-categories button{min-width:0;min-height:52px;padding:10px 8px;border-radius:14px;font-weight:700;line-height:1.5;white-space:normal}.craft-categories .selected{outline:2px solid #7845a6;outline-offset:2px}@media(max-width:650px){.craft-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.craft-categories button{font-size:14px;padding:10px 5px}}.inventory-potions-shortcut{display:block;width:100%;min-height:54px;margin-top:16px;padding:14px 18px;white-space:normal;font-weight:800}.inventory-potions{scroll-margin-top:16px}.economy-admin form,.skill-reset{padding:20px;margin:18px 0;border:2px solid #ac87ce;border-radius:18px;background:#f5edff}.economy-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.economy-admin label{display:block;margin:12px 0;line-height:1.6}.economy-admin input:not([type=checkbox]),.economy-admin select{display:block;width:100%;min-height:46px;padding:8px;color:#352046;background:#fff;border:1px solid #a887c4;border-radius:8px}.economy-admin input[type=checkbox]{width:22px;height:22px;vertical-align:middle}.economy-admin fieldset{border:1px solid #bea1d7;margin:16px 0;border-radius:12px}.economy-admin .forge-tabs{flex-wrap:wrap}.economy-admin p{line-height:1.7}.admin-home{color:#352046;line-height:1.7}.admin-home .admin-stats{padding:16px 20px;background:#eee5fa;border-radius:16px}.admin-home h3{margin:22px 0 8px}.admin-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}.admin-menu .admin-menu-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:155px;padding:20px;text-align:left;white-space:normal;color:#40215d;background:#f4eaff;border:2px solid #a778cf;border-radius:18px;box-shadow:0 4px #c4aad9;cursor:pointer}.admin-menu-card strong{font-size:1.2rem;line-height:1.5}.admin-menu-card span{font-size:1rem;line-height:1.6;color:#55416c}.admin-menu-card b{margin-top:auto;color:#752da7;font-size:1rem}.admin-menu-card:hover{background:#e9d6ff;border-color:#783bb0}.admin-menu-card:focus-visible,.admin-home summary:focus-visible{outline:3px solid #782faf;outline-offset:4px}.admin-player-link,.admin-back{margin:12px 0 24px}.admin-combat{padding:4px 20px 20px;background:#fff;border:1px solid #c7b0db;border-radius:18px;margin:24px 0}.admin-combat label{display:block;margin:14px 0}.admin-combat input{display:block;width:100%;min-height:48px;margin-top:6px}.admin-home form>button{margin:14px 0}.admin-home details{margin:18px 0;border:1px solid #bea1d7;border-radius:14px;background:#fff;overflow:hidden}.admin-home summary{padding:18px 20px;font-size:1.05rem;font-weight:700;cursor:pointer;background:#f0e9f7;color:#452265}.admin-detail-body{padding:8px 20px 20px}.admin-detail-body label{display:block;margin:14px 0}.admin-detail-body textarea{width:100%;margin:12px 0;font-size:1rem;line-height:1.6}.admin-audits ul{list-style:none;padding:0;margin:10px 0}.admin-audits li{display:flex;flex-wrap:wrap;gap:8px 16px;padding:12px 0;border-bottom:1px solid #e3d7ed}.admin-audits code{overflow-wrap:anywhere;color:#452265}@media(max-width:640px){.admin-menu{grid-template-columns:1fr}.admin-menu .admin-menu-card{min-height:132px;padding:16px}.admin-combat,.admin-detail-body{padding:12px}.admin-home summary{padding:16px}}.potion-effects{padding:10px 12px;background:#efe0ff;color:#58247b;border:1px solid #bb91da;border-radius:10px;font-weight:700;line-height:1.6}.potion-buff-help{font-size:14px;color:#503666;line-height:1.7}#potion-buffs:not([hidden]){display:block;white-space:pre-line;background:#efe0ff;color:#58247b;font-weight:700;padding:6px 8px;border-radius:8px;margin:6px 0;line-height:1.5}.inventory-potions>summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;min-height:64px;padding:16px 20px;background:linear-gradient(110deg,#753bb2,#9b3989);border:2px solid #632997;color:#fff;box-shadow:0 4px #50216e;list-style:none}.inventory-potions>summary::-webkit-details-marker{display:none}.inventory-potions>summary span{font-size:18px;font-weight:800;line-height:1.5}.inventory-potions>summary small{color:#fff;font-size:14px;font-weight:700;white-space:nowrap}.inventory-potions>summary:hover{background:linear-gradient(110deg,#642b9f,#862b77)}.inventory-potions>summary:focus-visible{outline:3px solid #e5a72d;outline-offset:4px}.inventory-potions[open]>summary .potions-expand,.inventory-potions:not([open])>summary .potions-collapse{display:none}.inventory-potions[open]>summary{margin-bottom:16px}.economy-panel{--ink:#30213f;--purple:#6938a0;--border:#ddd2e5;--paper:#fffdfa;width:min(1360px,96vw);max-width:1360px;background:#faf7f2;color:var(--ink);border:1px solid #c6b4d7;border-radius:24px;box-shadow:0 24px 80px #24133255}.economy-panel .panel-heading{padding:20px 26px;background:#fffdfa;border-bottom:1px solid var(--border);align-items:center}.economy-panel .panel-heading h2{font-size:26px;margin:4px 0 0;color:#352146;line-height:1.4}.economy-panel .panel-heading .eyebrow{font-size:12px;letter-spacing:1px;color:#6b557b}.economy-panel .panel-heading .close{width:44px;height:44px;min-width:44px;border-radius:50%;background:#f0eaf6;color:#572e77;font-size:28px;padding:0}.economy-panel .panel-body{padding:0;scroll-behavior:auto;scroll-padding-top:142px;overscroll-behavior:contain}.economy-panel h3{font-size:20px;line-height:1.5;margin:0 0 8px;color:var(--ink)}.economy-panel h4{font-size:18px;line-height:1.5;margin:0;color:var(--ink)}.economy-panel p{font-size:15px;line-height:1.7;color:#63566d;margin:8px 0 16px}.economy-panel small{font-size:13px;line-height:1.5;color:#67596e;white-space:normal}.economy-panel button{cursor:pointer;min-height:44px;white-space:normal;line-height:1.5;transition:background .15s,box-shadow .15s,border-color .15s;transform:none}.economy-panel button:focus-visible,.economy-panel summary:focus-visible,.economy-panel select:focus-visible{outline:3px solid #b78316;outline-offset:3px}.economy-panel button.primary{border:1px solid #5e2d89;border-radius:12px;background:#6938a0;color:#fff;box-shadow:0 3px #49226c;padding:11px 16px;font-size:15px;font-weight:750}.economy-panel button.primary:hover:not(:disabled){background:#552782;box-shadow:0 4px 10px #57278033}.economy-panel button.outline{border:1px solid #bca2cf;border-radius:12px;background:#fff;color:#583274;padding:10px 14px;box-shadow:0 2px #e3d5ed;font-size:15px}.economy-panel button.outline:hover:not(:disabled){background:#f2e9fc;border-color:#6d3ca1}.economy-panel button:disabled{cursor:not-allowed;opacity:1!important;background:#ebe7ef!important;color:#776e81!important;border-color:#d6cddd!important;box-shadow:none!important}.economy-panel [hidden]{display:none!important}.economy-toolbar{position:sticky;top:0;z-index:6;background:#fffdfaf7;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--border);padding:12px 24px}.economy-toolbar nav{display:flex;gap:6px}.economy-toolbar .economy-link{flex:1;display:flex;align-items:center;justify-content:center;gap:9px;background:transparent;border:1px solid transparent;padding:11px;color:#695774;font-size:16px;font-weight:700;border-radius:12px}.economy-toolbar .economy-link span{font-size:21px}.economy-toolbar .economy-link.active{background:#372046;color:#fff;border-color:#372046}.economy-toolbar .economy-link:hover:not(.active){background:#efe6f6}.economy-wallet{display:flex;align-items:center;gap:12px 22px;flex-wrap:wrap;padding-top:12px;font-size:14px;color:#635471}.economy-wallet .wallet-gold{color:#86580b}.economy-wallet b{font-size:16px}.economy-wallet button{margin-left:auto;border:0;background:#e9f4ed;color:#275840;border-radius:9px;font-size:14px;padding:5px 12px;min-height:36px}.economy-content{padding:24px}.economy-receipt{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#e8f5ea;border-bottom:1px solid #b5d5bc;padding:12px 24px;color:#245a33;position:sticky;top:126px;z-index:5;font-size:15px;line-height:1.6}.economy-receipt button{flex:none;width:36px;min-height:36px;background:transparent;color:#245a33;border:1px solid #9fbdab;border-radius:8px;font-size:23px}.economy-panel .merchant-tabs,.economy-panel .forge-tabs{display:grid;gap:6px;background:#ebe4f0;padding:6px;border:0;border-radius:15px;margin:0 0 22px;grid-template-columns:repeat(2,minmax(0,1fr))}.economy-panel .forge-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.economy-panel .merchant-tabs button,.economy-panel .forge-tabs button{min-height:48px;font-size:16px;box-shadow:none;border:0;outline:0;margin:0;padding:10px;border-radius:10px}.economy-panel .merchant-tabs button.outline,.economy-panel .forge-tabs button.outline{background:transparent;color:#655271}.economy-panel .shop-category-tabs,.economy-panel .craft-categories{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}.economy-panel .shop-category-tabs button,.economy-panel .craft-categories button{flex:1;min-width:82px;min-height:44px;box-shadow:none;font-size:15px;padding:8px 10px;outline:0}.economy-panel .shop-category-tabs .selected,.economy-panel .craft-categories .selected{box-shadow:inset 0 -3px #342042}.section-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.section-intro p{margin:4px 0!important}.count-badge{flex:none;font-size:13px;font-weight:700;padding:6px 10px;border-radius:30px;background:#ede5f3;color:#593371}.catalogue-note{font-size:14px;color:#72591e;background:#fbf1db;border:1px solid #eedfbb;border-radius:10px;padding:11px 14px;margin-bottom:20px;line-height:1.6}.commerce-grid,.economy-panel .recipe-grid,.economy-panel .potion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.economy-panel .commerce-card,.economy-panel .potion-card{padding:20px;display:flex;flex-direction:column;gap:12px;min-width:0;position:relative;background:var(--paper);border:1px solid #d8cce2;border-radius:16px;box-shadow:0 4px 10px #30213f06}.product-top{display:flex;align-items:center;gap:12px;min-width:0}.product-top>div{min-width:0;flex:1}.economy-panel .product-icon{display:flex;align-items:center;justify-content:center;flex:none;width:52px;height:56px;font-size:30px;background:#f0e8f8;color:#79539c;border-radius:13px;margin:0}.gear-numbers{display:flex;flex-wrap:wrap;gap:6px}.gear-numbers>span{background:#f2edf6;color:#60546d;border-radius:7px;padding:5px 8px;font-size:13px!important;line-height:1.5}.gear-numbers b{font-size:15px;color:#3f2653}.product-purchase{display:flex;flex-direction:column;gap:8px;border-top:1px solid #ede5f1;padding-top:14px;margin-top:auto;font-size:14px}.product-purchase>span{color:#6b567c}.product-purchase>span b{color:#7c5114;font-size:19px;margin-left:4px}.economy-panel .commerce-card .product-purchase button{width:100%;margin:0}.economy-panel .shop-compare{padding:0;border:1px solid #d8e4d9;background:#f1f7f1;border-radius:10px;margin:0;overflow:hidden}.economy-panel .shop-compare summary{font-size:13px;color:#325b3b;list-style:none;cursor:pointer;padding:10px;line-height:1.6;background:transparent}.shop-compare summary span{display:block;font-weight:700;color:#663b8b}.economy-panel .shop-compare p,.shop-compare>small{display:block;padding:0 10px;margin:10px 0;font-size:13px}.shop-compare dl{padding:0 10px;margin:8px 0}.shop-compare dl>div{display:flex;justify-content:space-between;gap:8px;font-size:13px}.shop-compare dd{margin:0}.shop-compare dd b{margin-left:6px}.commerce-empty{grid-column:1/-1;padding:32px;text-align:center;border:1px dashed #bea6ce;border-radius:16px;background:#f4eff7;color:#4c3560}.commerce-empty p{margin-bottom:0}.recipe-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:16px 0;color:#675471;font-size:14px}.economy-panel .gear-crafting,.economy-panel .supplies-panel{border:0;padding:0;background:none;margin:0}.economy-panel .recipe-label{display:flex;justify-content:space-between;font-size:14px;margin:8px 0 0}.recipe-label small{font-size:12px}.economy-panel ul.recipe-requirements{list-style:none;padding:0;margin:0}.recipe-requirements li{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #eee6f1;font-size:14px!important}.recipe-requirements li span{line-height:1.5}.recipe-requirements li small{display:block;font-size:12px;color:inherit}.recipe-requirements li b{white-space:nowrap;font-size:14px}.resource-ready{color:#286546}.resource-missing{color:#a13435!important}.resource-missing small{color:inherit}.economy-panel .material-library,.economy-panel .potion-buff-help{border:1px solid var(--border);background:#fff;border-radius:10px;margin:12px 0;padding:0}.economy-panel .material-library summary,.economy-panel .potion-buff-help summary{color:#644781;font-size:14px;cursor:pointer;padding:12px;line-height:1.6;background:transparent}.economy-panel .material-library .ingredient-stock,.economy-panel .potion-buff-help p{padding:0 12px 12px;margin:0}.economy-panel .potion-card{border-top:4px solid var(--potion-color);gap:10px}.economy-panel .potion-card h4{margin:0}.economy-panel .potion-card>small{margin:0}.economy-panel .potion-card>button{margin-top:auto;width:100%}.economy-panel .potion-price{margin:8px 0 0;color:#84570d;font-size:17px}.potion-price b{font-size:21px}.economy-panel .potion-effects{margin:0;padding:9px 10px;font-size:13px;background:#f1e9fb;border:0;color:#673890;line-height:1.6}.economy-panel .potion-pack{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:12px}.economy-panel .potion-pack button{width:48px;height:48px;font-size:24px;min-height:48px;border-radius:12px;color:#fff;background:#6b3b9c;border:1px solid #63338f}.economy-panel .packed-slots{gap:10px}.economy-panel .packed-slot{border:1px dashed #bcacd0;background:#f9f5fd;padding:14px;border-radius:13px;gap:6px}.economy-panel .packed-slot.filled{border:1px solid #b998d1;background:#f5effb}.economy-panel .packed-slot b{font-size:15px}.economy-panel .packed-slot span{font-size:13px;line-height:1.6}.economy-panel .inventory-guide{font-size:13px;display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px;padding:0;background:transparent;color:#766581}.inventory-guide b{font-weight:500}.economy-panel .rpg-inventory{display:grid;grid-template-columns:220px minmax(240px,1fr) minmax(280px,340px);gap:20px;align-items:start}.economy-panel .rpg-inventory>aside{position:static;min-width:0}.economy-panel .equipment-loadout{padding:14px 10px;background:#eee8f4;border:1px solid #d2c3e0;border-radius:16px}.economy-panel .equipment-loadout h3{font-size:17px}.economy-panel .equipment-loadout p{font-size:12px;margin:0}.economy-panel .paperdoll{height:312px;margin:8px 0 0}.economy-panel .paperdoll svg{height:100%;width:100%}.economy-panel .gear-slot{min-width:0;width:82px;min-height:88px;padding:6px;box-shadow:0 3px #c5b1d6;border:1px solid #a382be;border-radius:13px}.economy-panel .gear-slot small{font-size:10px}.economy-panel .gear-slot span{font-size:18px;margin:3px 0}.economy-panel .gear-slot strong{font-size:11px;line-height:1.4}.economy-panel .gear-slot .item-grade{font-size:9px!important;top:-8px}.economy-panel .gear-armor{top:32%;left:50%}.economy-panel .gear-weapon{top:51%;left:0}.economy-panel .gear-guard{top:51%;right:0}.economy-panel .gear-relic{top:72%;left:50%}.economy-panel .equipped-legend{font-size:12px;margin-top:12px}.economy-panel .inventory-potions-shortcut{font-size:14px;margin-top:12px;min-height:48px;min-width:0;width:100%;padding:10px}.economy-panel .inventory-bag{min-width:0}.economy-panel .inventory-bag h3{font-size:18px}.economy-panel .inventory-bag h3 small{font-size:13px;background:#eee6f6;border-radius:20px;padding:4px 8px;margin-left:6px}.economy-panel .filters{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.economy-panel .filters .chip,.economy-panel .recipe-tools .chip{min-height:40px;padding:7px 10px;border:1px solid #d0bfdc;background:#fff;color:#5b3f70;border-radius:9px;font-size:13px;box-shadow:none}.economy-panel .filters .selected,.economy-panel .recipe-tools .selected{background:#e8daf6;border-color:#6d3c99;color:#4a216a}.economy-panel #sort{width:100%;margin:4px 0;min-height:40px;background:#fff;border:1px solid #cebddb;color:#624776;border-radius:9px;font-size:13px}.economy-panel .rpg-bag-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.economy-panel .bag-item{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;padding:12px;text-align:left;border:1px solid #d6c7e0;background:#fff;border-radius:13px;box-shadow:0 2px 5px #36214407;min-height:unset}.economy-panel .bag-item.selected{outline:none;border:2px solid #7547a2;padding:11px;background:#f4ecfc;box-shadow:0 0 0 2px #e5d2f5}.economy-panel .bag-glyph{font-size:26px}.economy-panel .bag-item b{font-size:14px;line-height:1.5}.economy-panel .bag-item small{font-size:11px}.economy-panel .bag-item em{font-size:12px;font-weight:700;color:#306148;font-style:normal;margin-top:auto}.economy-panel .bag-item .bag-values{font-size:12px;color:#4d365d;line-height:1.5}.economy-panel .bag-item .item-grade{font-size:11px!important}.economy-panel .gear-comparison{position:sticky;top:145px;margin:0;border:1px solid #bca2cf;padding:16px;border-radius:16px;background:#fffefa;scroll-margin-top:150px}.economy-panel .gear-comparison h3{font-size:17px}.economy-panel .compare-head{gap:8px}.economy-panel .compare-head>div{padding:10px;border-radius:10px;background:#f1ebf7;gap:7px}.economy-panel .compare-head>div:last-child{background:#eaf3ed}.economy-panel .compare-head b{font-size:14px}.economy-panel .compare-head small,.economy-panel .compare-head span{font-size:11px}.economy-panel .compare-head .item-grade{font-size:11px!important}.economy-panel .gear-stat-table{margin:14px 0;font-size:12px;table-layout:fixed;width:100%}.economy-panel .gear-stat-table th,.economy-panel .gear-stat-table td{padding:10px 3px;overflow-wrap:anywhere}.economy-panel .gear-stat-table th:first-child{width:36%}.economy-panel .compare-note{font-size:12px;margin:12px 0}.economy-panel .compare-actions{display:grid;grid-template-columns:1fr;gap:9px}.economy-panel .compare-actions button{font-size:14px;padding:10px}.economy-panel .stat-up{color:#207444;font-weight:700}.economy-panel .stat-down{color:#b3383e;font-weight:700}.economy-panel .inventory-potions{margin-top:28px;border:1px solid #cfbcdd;border-radius:16px;overflow:hidden;background:#fffefa}.economy-panel .inventory-potions>summary{border:0;border-radius:0;background:#4b2b66;box-shadow:none;padding:16px 20px;min-height:56px}.economy-panel .inventory-potions>summary span{font-size:17px}.economy-panel #inventory-potions-content{padding:4px 20px 20px}.economy-panel .inventory-potions>summary small{color:#fff}.economy-panel .item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.economy-panel .item-grid .item-card{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:18px;background:#fff;border:1px solid #d8c6e5;box-shadow:0 3px 8px #35214008;border-radius:15px;text-align:left}.economy-panel .item-grid .item-card>span:not(.item-grade){font-size:34px;margin:0}.economy-panel .item-grid .item-card strong{font-size:17px}.upgrade-card-action{margin-top:auto;color:#6b379c;border-top:1px solid #e8deed;width:100%;padding-top:12px;font-size:14px}.economy-item-detail .panel-body{padding:24px;scroll-padding-top:16px}.economy-panel .item-back{margin-bottom:20px}.item-overview{display:flex;align-items:center;gap:18px;padding:18px;background:#f1eaf7;border-radius:15px;margin-bottom:22px}.item-overview p{margin:8px 0}.item-overview .product-icon{width:70px;height:80px;font-size:42px;background:#fff}.upgrade-preview{padding:22px;border:1px solid #c3abd4;border-radius:18px;background:#fffefa;margin:22px 0}.upgrade-preview h3{font-size:25px;margin:4px 0}.upgrade-preview h3>span{color:#a996b8}.upgrade-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.upgrade-values>div{display:flex;flex-direction:column;padding:14px;background:#eef5ed;border-radius:12px;gap:6px}.upgrade-values>div>span{font-size:13px;color:#5e6960}.upgrade-values b{font-size:23px;color:#354e38}.upgrade-values b span{color:#96a494;font-size:16px}.upgrade-values strong{font-size:14px}.upgrade-cost{display:flex;flex-wrap:wrap;gap:16px;padding:14px 0;font-weight:700;color:#865c13}.upgrade-cost small{display:block;font-weight:400}.upgrade-preview>small{display:block;margin-top:12px;font-size:13px}.economy-panel .detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.economy-panel .detail-actions button{flex:1;min-width:160px;font-size:15px}.item-manage{margin-top:24px}.item-recycle{border-top:1px solid #e4d8eb;margin-top:22px;padding-top:10px}.item-recycle summary{cursor:pointer;padding:12px 0;color:#935047;font-weight:700;font-size:15px}.economy-panel .item-recycle button{background:#fff5ed;border-color:#d5afa0;color:#894335}.economy-panel .sell-card>button.primary{margin-top:auto}.economy-panel .sell-card>button{width:100%}.economy-panel .sale-receipt{color:#2d6137;background:#e7f3e7;border:1px solid #b1cdb4;padding:14px;border-radius:10px}@media(max-width:1050px){.economy-panel .rpg-inventory{grid-template-columns:210px minmax(0,1fr)}.economy-panel .gear-comparison{grid-column:2;position:static}.economy-panel .rpg-inventory>aside{grid-row:1/3}.commerce-grid,.economy-panel .recipe-grid,.economy-panel .potion-grid,.economy-panel .item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.economy-panel{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh!important;border-radius:0;border:0}.economy-panel .panel-heading{padding:12px 16px}.economy-panel .panel-heading h2{font-size:22px}.economy-panel .panel-heading .eyebrow{font-size:10px}.economy-panel .panel-body{scroll-padding-top:145px}.economy-toolbar{padding:8px 12px}.economy-toolbar .economy-link{font-size:14px;gap:5px;padding:9px 4px}.economy-toolbar .economy-link span{font-size:16px}.economy-wallet{gap:6px 12px;font-size:12px;padding-top:8px}.economy-wallet b{font-size:14px}.economy-wallet button{font-size:12px;padding:5px 7px;min-height:32px}.economy-content{padding:18px 14px}.economy-receipt{padding:10px 14px;top:112px;font-size:13px}.economy-panel .merchant-tabs button,.economy-panel .forge-tabs button{font-size:14px;min-height:48px;padding:8px 4px}.economy-panel .shop-category-tabs,.economy-panel .craft-categories{gap:6px;margin-bottom:18px}.economy-panel .shop-category-tabs button,.economy-panel .craft-categories button{min-width:70px;font-size:14px;padding:8px 6px}.section-intro{align-items:flex-start;flex-wrap:wrap;gap:8px}.section-intro h3{font-size:20px}.section-intro p{font-size:14px}.count-badge{font-size:12px}.commerce-grid,.economy-panel .recipe-grid,.economy-panel .potion-grid{grid-template-columns:1fr;gap:14px}.economy-panel .commerce-card,.economy-panel .potion-card{padding:18px}.economy-panel .commerce-card .product-icon{width:50px;height:54px}.economy-panel .commerce-card h4{font-size:19px}.economy-panel .commerce-card .product-purchase button{min-height:48px;font-size:16px}.economy-panel .rpg-inventory{display:flex;flex-direction:column;gap:20px}.economy-panel .rpg-inventory>aside,.economy-panel .inventory-bag,.economy-panel .gear-comparison{width:100%}.economy-panel .equipment-loadout{padding:14px}.economy-panel .paperdoll{height:265px;width:min(320px,100%);margin:0 auto}.economy-panel .gear-slot{width:106px;min-height:80px}.economy-panel .gear-slot strong{font-size:12px}.economy-panel .gear-slot small{font-size:11px}.economy-panel .gear-armor{top:28%}.economy-panel .gear-weapon,.economy-panel .gear-guard{top:48%}.economy-panel .gear-relic{top:68%}.economy-panel .gear-slot span{font-size:17px;margin:2px 0}.economy-panel .inventory-guide{font-size:12px;gap:5px;margin-bottom:14px}.economy-panel .rpg-bag-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.economy-panel .bag-item b{font-size:15px}.economy-panel .bag-item small{font-size:12px}.economy-panel .gear-comparison{position:static;padding:16px;scroll-margin-top:145px}.economy-panel .gear-stat-table{font-size:13px}.economy-panel .compare-head b{font-size:15px}.economy-panel .compare-actions button{min-height:48px;font-size:15px}.economy-panel .equipped-legend{display:none}.economy-panel .packed-slots{grid-template-columns:1fr}.economy-panel .packed-slot{display:grid;grid-template-columns:45px 1fr;text-align:left;align-items:center;padding:12px}.economy-panel .packed-slot span{grid-column:2}.economy-panel .packed-slot small{grid-row:1/3}.economy-panel .inventory-potions>summary{padding:14px}.economy-panel .inventory-potions>summary span{font-size:15px}.economy-panel #inventory-potions-content{padding:0 12px 16px}.economy-panel .inventory-potions>summary small{font-size:12px}.economy-panel .item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.economy-panel .item-grid .item-card{padding:13px}.economy-panel .item-grid .item-card strong{font-size:15px}.economy-panel .item-grid .item-card small{font-size:12px}.economy-panel .item-grid .item-card .upgrade-card-action{font-size:13px}.economy-item-detail .panel-body{padding:16px;scroll-padding-top:16px}.upgrade-preview{padding:16px}.upgrade-values b{font-size:21px}.economy-panel .detail-actions button{min-width:130px}.recipe-tools{font-size:13px}.economy-panel .potion-buff-help summary{font-size:13px}}@media(prefers-reduced-motion:reduce){.economy-panel button{transition:none}}.economy-panel .gear-armor,.economy-panel .gear-relic{transform:translate(-50%)}.economy-panel .gear-slot>span:not(.item-grade){display:none}.economy-panel .gear-slot{gap:4px;padding:7px!important;min-height:68px;border:1px solid #a382be!important;border-radius:12px!important}.economy-panel .paperdoll{height:330px}.economy-panel .gear-armor{top:32%}.economy-panel .gear-weapon,.economy-panel .gear-guard{top:55%}.economy-panel .gear-relic{top:78%}.equipped-summary>small{display:inline-block;background:#e6f4e9;color:#286640;padding:5px 9px;border-radius:8px;font-weight:700}.equipped-summary h3{margin-top:12px}.equipped-summary dl{margin:16px 0}.equipped-summary dl>div{display:flex;justify-content:space-between;border-bottom:1px solid #e8dfed;padding:10px 0;gap:12px}.equipped-summary dt{font-size:14px}.equipped-summary dd{margin:0;font-size:20px;font-weight:700;color:#522478}.equipped-summary p{font-size:13px!important}@media(max-width:650px){.economy-panel .paperdoll{height:265px}.economy-panel .gear-armor{top:23%}.economy-panel .gear-weapon,.economy-panel .gear-guard{top:49%}.economy-panel .gear-relic{top:75%}.economy-panel .gear-slot{width:100px}}body:has(.economy-panel){overflow:hidden}.panel-backdrop:has(.economy-panel){padding:24px;overflow:hidden}.economy-panel .economy-receipt{top:var(--economy-toolbar-height,126px)}.economy-panel .panel-body{scroll-padding-top:calc(var(--economy-toolbar-height,126px) + 12px)}.economy-panel .gear-comparison{top:calc(var(--economy-toolbar-height,126px) + 12px);scroll-margin-top:0}.economy-item-detail .panel-body{scroll-padding-top:16px}@media(max-width:650px){.panel-backdrop:has(.economy-panel){padding:0}.panel.economy-panel{width:100%;max-width:100%;margin:0}.economy-panel .shop-category-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.economy-panel .shop-category-tabs button{min-width:0;font-size:13px;padding:7px 3px;min-height:50px}.section-intro{flex-wrap:nowrap}.section-intro>div{min-width:0;flex:1}.section-intro .count-badge{max-width:90px;white-space:normal;text-align:center}.economy-panel .catalogue-note{font-size:13px;padding:9px 11px}}.economy-panel .panel-heading{position:relative}.busy .economy-panel .panel-heading:after{content:"กำลังดำเนินการ…";position:absolute;right:84px;bottom:10px;font-size:12px;color:#68427c;background:#fffdfa;padding:2px 6px;border-radius:6px}.economy-panel button:not(:disabled):hover{filter:none}.economy-panel .item-card>.item-grade{height:auto;min-height:0;margin:0;display:inline-block;text-align:left;text-shadow:none}.economy-panel .item-grid .item-card>.item-glyph{font-size:34px;margin:0}.economy-panel .item-grid .item-card>.item-name-line,.economy-panel .item-grid .item-card>.item-rarity-grade{width:100%}.economy-panel .item-grid .item-card>.item-name-line>strong{font-size:17px}.economy-panel .commerce-card>.item-name-line,.economy-panel .commerce-card>.item-rarity-grade{width:100%}.item-overview>div{min-width:0}.item-overview .item-name-line{margin-bottom:8px}.economy-panel.shop-buy-panel{height:94dvh;max-height:94dvh!important}.economy-panel.shop-buy-panel .panel-heading{padding:10px 18px}.economy-panel.shop-buy-panel .panel-heading h2{font-size:22px;margin:0}.economy-panel.shop-buy-panel .panel-heading .eyebrow{font-size:10px}.economy-panel.shop-buy-panel .economy-toolbar{padding:7px 16px}.economy-panel.shop-buy-panel .economy-link{padding:5px;min-height:38px;font-size:14px}.economy-panel.shop-buy-panel .economy-link span{font-size:17px}.economy-panel.shop-buy-panel .economy-wallet{padding-top:5px;font-size:13px}.economy-panel.shop-buy-panel .economy-wallet button{min-height:30px;padding:4px 10px;font-size:12px}.economy-panel.shop-buy-panel .economy-content{padding:14px 18px}.shop-navigation{display:grid;grid-template-columns:260px 1fr;gap:12px;align-items:start;margin-bottom:12px}.economy-panel.shop-buy-panel .shop-navigation .merchant-tabs,.economy-panel.shop-buy-panel .shop-navigation .shop-category-tabs{margin:0}.economy-panel.shop-buy-panel .shop-navigation .merchant-tabs{padding:3px;gap:2px}.economy-panel.shop-buy-panel .shop-navigation button{font-size:13px;min-height:38px;padding:6px;box-shadow:none}.economy-panel.shop-buy-panel .shop-navigation .shop-category-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.economy-panel.shop-buy-panel .shop-navigation .shop-category-tabs button{min-width:0}.economy-panel.shop-buy-panel .merchant-tabs{margin-bottom:12px}.economy-panel.shop-buy-panel .shop-category-tabs{margin-bottom:14px}.economy-panel .shop-list-intro{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}.economy-panel .shop-list-intro h3{margin:0;font-size:19px}.shop-list-intro>span{font-size:13px;color:#62536c}.economy-panel .shop-list-tools{display:grid;grid-template-columns:minmax(180px,1fr) minmax(185px,240px) auto;gap:12px;align-items:end;margin-bottom:12px}.shop-list-tools label{margin:0;display:flex;flex-direction:column;gap:4px;min-width:0}.shop-list-tools label>span{font-size:13px;font-weight:650;color:#4c3a5b}.economy-panel .shop-list-tools input[type=search],.economy-panel .shop-list-tools select{box-sizing:border-box;width:100%;height:44px;padding:8px 12px;font-size:15px;border:1px solid #bca6d0;border-radius:9px}.economy-panel .shop-list-tools .shop-budget{display:flex;flex-direction:row;gap:7px;align-items:center;min-height:44px;font-size:14px;white-space:nowrap;cursor:pointer}.economy-panel .shop-budget input{appearance:auto;width:19px;height:19px;margin:0;accent-color:#633b8f}.shop-reference{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#efe7f7;border:1px solid #cbb7dd;border-radius:11px;padding:10px 14px}.shop-reference>div:first-child{display:flex;align-items:baseline;gap:6px 12px;flex-wrap:wrap;flex:1 1 250px}.economy-panel .shop-reference strong{font-size:15px;color:#39214d}.economy-panel .shop-reference small,.shop-reference>div>span,.shop-reference>span{font-size:12px;color:#59456a}.shop-reference-values{display:flex;flex-wrap:wrap;gap:6px 14px}.shop-reference-values b{color:#2f203e;font-variant-numeric:tabular-nums}.economy-panel .shop-reference button{min-height:36px;padding:5px 9px;font-size:12px;box-shadow:none}.economy-panel .shop-compare-key{font-size:12px;margin:8px 0 12px;color:#62506f}.economy-panel .shop-list{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:14px;border:1px solid #d8cddd;border-radius:12px;background:#fffdfa;overflow:visible}.shop-list thead{background:#eae2f1;color:#4b375c}.shop-list thead th{position:sticky;top:calc(var(--economy-toolbar-height,90px) + var(--shop-receipt-height,0px));z-index:3;background:#eae2f1;padding:7px 8px;font-size:13px;text-align:center;border-bottom:1px solid #d0bedf}.shop-list thead th:first-child{width:30%;text-align:left;padding-left:14px}.shop-list thead th:last-child{width:164px}.shop-list thead th:nth-last-child(2){width:110px}.economy-panel .shop-list thead button{min-height:32px;padding:3px 2px;background:none;border:0;border-radius:5px;font-size:13px;font-weight:700;color:#4e3266;box-shadow:none}.shop-list thead th[aria-sort=ascending],.shop-list thead th[aria-sort=descending]{background:#d9c6ed}.shop-list td,.shop-list tbody th{border-bottom:1px solid #e7deed;padding:8px;vertical-align:middle;text-align:center}.shop-list tbody tr:last-child>th,.shop-list tbody tr:last-child>td{border-bottom:0}.shop-list tbody tr:nth-child(2n){background:#f8f5fa}.shop-list tbody tr:hover,.shop-list tbody tr.shop-row-reference{background:#efe7fa}.shop-list .shop-row-reference>.shop-product{box-shadow:inset 4px 0 #7b4ead}.shop-list .shop-product{text-align:left;padding-left:14px;font-weight:400}.shop-product>div{display:inline-block;vertical-align:middle;width:calc(100% - 38px)}.shop-product strong{font-size:15px;line-height:1.45;display:block;color:#32213f;overflow-wrap:anywhere}.economy-panel .shop-product small{display:block;font-size:12px;margin-top:3px;line-height:1.45;color:#675a70}.shop-product-glyph{display:inline-block;vertical-align:middle;width:30px;font-size:22px;color:#6e4390}.shop-value{display:flex;flex-direction:column;gap:2px;align-items:center;font-variant-numeric:tabular-nums}.shop-value>b{font-size:16px;font-weight:750;color:#332040;white-space:nowrap}.economy-panel .shop-value .shop-metric-label{display:none}.economy-panel .shop-value .shop-delta{font-size:12px;white-space:nowrap;line-height:1.4}.economy-panel .shop-delta.stat-up{color:#176039}.economy-panel .shop-delta.stat-down{color:#a52d49}.economy-panel .shop-delta.stat-same{color:#73637c}.shop-price>b{display:block;font-size:15px;font-variant-numeric:tabular-nums;color:#815409;white-space:nowrap}.economy-panel .shop-price small{display:block;font-size:11px;line-height:1.5}.economy-panel .shop-price>b small{display:inline;font-size:11px;color:#815409}.economy-panel .shop-row-actions .primary{min-height:38px;width:auto;padding:6px 9px;font-size:14px;border-radius:8px;box-shadow:0 2px #49226c}.economy-panel .shop-row-actions .shop-pin{min-height:38px;font-size:12px;font-weight:650;padding:3px 6px;margin-left:4px;background:transparent;border:0;border-radius:6px;color:#5e3684;box-shadow:none}.economy-panel .shop-row-actions .shop-pin:hover{background:#e4d7ef}.economy-panel .shop-footnote{font-size:12px;margin:12px 0 0;color:#695973}.shop-list-tools input:focus-visible{outline:3px solid #b78316;outline-offset:2px}@media(max-width:950px){.shop-navigation{grid-template-columns:1fr;gap:8px}.economy-panel .shop-list-tools{grid-template-columns:1fr 1fr;gap:8px}.shop-list-tools .shop-budget{grid-column:1/-1}.economy-panel .shop-list{display:block;border:0;background:none;overflow:visible}.shop-list thead{display:none}.shop-list tbody{display:grid;gap:10px}.shop-list tbody tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:#fffdfa;border:1px solid #d6c7e1;border-radius:12px;overflow:hidden}.shop-list tbody th,.shop-list td{display:block;border:0;padding:8px 7px}.shop-list .shop-product{grid-column:1/4;grid-row:1;text-align:left;padding:10px 8px}.shop-list .shop-product>div{width:calc(100% - 29px)}.shop-product-glyph{width:24px;font-size:19px}.shop-list .shop-price{grid-column:4;grid-row:1;padding:10px 5px;text-align:right}.shop-list .shop-stat{grid-row:2;background:#f5f1f8;border-top:1px solid #e4d9ec;border-bottom:1px solid #e4d9ec}.shop-list .shop-row-actions{grid-column:1/-1;grid-row:3;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:7px 10px}.economy-panel .shop-row-actions .primary{width:auto;min-width:110px;min-height:40px;order:2}.economy-panel .shop-row-actions .shop-pin{min-height:40px;margin:0;order:1;padding:6px 12px;background:#efe7f7;border:1px solid #c5add7}.economy-panel .shop-value .shop-metric-label{display:block;font-size:11px;white-space:nowrap;color:#62516e}.shop-reference{gap:7px;padding:10px}.shop-reference>div:first-child{flex-basis:100%;gap:4px 8px}.shop-reference-values{gap:4px 12px}}@media(max-width:650px){.economy-panel.shop-buy-panel{height:100dvh;max-height:100dvh!important}.economy-panel.shop-buy-panel .economy-content{padding:12px}.economy-panel.shop-buy-panel .merchant-tabs{margin-bottom:10px}.economy-panel.shop-buy-panel .shop-category-tabs{margin-bottom:12px}.economy-panel .shop-list-intro{display:block;margin-bottom:10px}.shop-list-intro>span{font-size:12px}.economy-panel .shop-list-intro h3{font-size:18px}.economy-panel .shop-list-tools select,.economy-panel .shop-list-tools input[type=search]{font-size:14px;padding:7px 8px}.economy-panel .shop-list-tools .shop-budget{font-size:13px;min-height:32px}.shop-product strong{font-size:14px}.economy-panel .shop-product small{font-size:11px}.shop-value>b{font-size:15px}.shop-price>b{font-size:14px}.economy-panel .shop-reference small{font-size:11px}.economy-panel .shop-reference strong{font-size:14px}}.economy-panel .potion-packing{padding:16px;margin:8px 0;background:#f5effc;color:#39264e}.potion-packing .packing-heading,.potion-packing .packing-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.potion-packing .packing-heading h3{font-size:20px;margin:0}.potion-packing .packing-heading p,.potion-packing .packing-instructions{font-size:14px;margin:6px 0 12px;line-height:1.5}.potion-packing .packing-count{white-space:nowrap;font-size:16px;background:#67339c;color:#fff;border-radius:12px;padding:10px 14px}.potion-packing .packing-belt{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0 12px}.potion-packing .packing-slot{min-width:0;border:1px dashed #af91cb;border-radius:12px;padding:10px;background:#fff;align-content:start}.potion-packing .packing-slot.filled{border:2px solid #9569bd;padding:9px;background:#fffaff}.potion-packing .packing-slot-name{display:flex;gap:8px;align-items:baseline;line-height:1.5}.potion-packing .packing-slot-name small{font-size:12px;color:#694a84;white-space:nowrap}.potion-packing .packing-slot-name b{font-size:14px;overflow-wrap:anywhere}.potion-packing .packing-tools{margin:10px 0;font-size:13px}.economy-panel .potion-packing .packing-tools button{min-height:40px;padding:8px 12px;font-size:14px;border-radius:10px}.potion-packing .packing-list{display:grid;gap:6px}.potion-packing .packing-row{display:grid;grid-template-columns:minmax(170px,1.3fr) minmax(300px,2fr) 138px;align-items:center;gap:14px;padding:10px 12px;background:#fff;border:1px solid #d5c3e6;border-radius:12px;min-width:0}.potion-packing .packing-row.is-packed{border-color:#9161b6;background:#fcf8ff;box-shadow:inset 3px 0 #8550ad}.potion-packing .packing-name{min-width:0;display:grid;gap:4px}.potion-packing .packing-name b{font-size:15px;line-height:1.4;overflow-wrap:anywhere}.potion-packing .packing-name small{font-size:13px;color:#695675}.potion-packing .packing-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0;text-align:center}.potion-packing .packing-stats div{min-width:0}.potion-packing .packing-stats dt{font-size:12px;color:#6c587b;line-height:1.4;margin:0 0 3px}.potion-packing .packing-stats dd{font-size:16px;font-weight:700;line-height:1.4;margin:0;color:#39264e}.potion-packing .packing-stats .has-buff dd{color:#8135a4}.potion-packing .packing-slot .packing-stats{margin-top:8px;gap:3px}.potion-packing .packing-slot .packing-stats dt{font-size:11px}.potion-packing .packing-slot .packing-stats dd{font-size:14px}.potion-packing .packing-controls{display:flex;align-items:center;justify-content:space-between;gap:8px}.economy-panel .potion-packing .packing-controls button{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:1px solid #62318e;border-radius:12px;background:#703ca3;color:#fff;font-size:25px;font-weight:700;touch-action:manipulation;box-shadow:0 3px #49206e}.potion-packing .packing-controls button:active:not(:disabled){transform:translateY(2px);box-shadow:none}.potion-packing .packing-controls button:focus-visible{outline:3px solid #ed9e35;outline-offset:3px}.potion-packing .packing-controls strong{font-size:16px}.potion-packing .packing-legend{font-size:13px;margin:10px 0;color:#62477a}@media(max-width:1050px){.potion-packing .packing-belt{grid-template-columns:1fr}.potion-packing .packing-slot{display:grid;grid-template-columns:minmax(140px,1fr) minmax(250px,1.6fr);gap:10px;align-items:center}.potion-packing .packing-slot .packing-stats{margin:0}.potion-packing .packing-row{grid-template-columns:minmax(0,1fr) 132px;gap:8px}.potion-packing .packing-row>.packing-stats{grid-column:1/-1;grid-row:2}.potion-packing .packing-controls{grid-column:2;grid-row:1}}@media(max-width:650px){.economy-panel .potion-packing{padding:10px}.potion-packing .packing-heading h3{font-size:18px}.potion-packing .packing-heading{gap:6px}.potion-packing .packing-count{padding:7px 10px;font-size:14px}.potion-packing .packing-slot{display:block}.potion-packing .packing-slot .packing-stats{margin-top:6px}.potion-packing .packing-row{padding:10px;column-gap:8px;grid-template-columns:minmax(0,1fr) 124px}.potion-packing .packing-name b{font-size:14px}.potion-packing .packing-stats dt{font-size:11px}.potion-packing .packing-tools{gap:8px}.potion-packing .packing-instructions{font-size:13px}}.battle-paused :is(.potion-belt,#pickup-notice,.action-pad,.wave-feedback,#boss-alert,#encounter-label,.wave-bottom,#hurt-effect){visibility:hidden!important;pointer-events:none!important}#pause-host{position:relative;z-index:30}.pause-overlay{box-sizing:border-box;width:100%;padding:16px}.pause-overlay section{box-sizing:border-box;width:min(460px,100%);min-width:0;max-height:85dvh;overflow:auto}@media(max-width:650px),(max-width:1000px)and (max-height:650px){.in-battle .wave-top{top:max(8px,env(safe-area-inset-top));left:8px;right:8px;gap:6px;align-items:start}.in-battle .wave-top>div{padding:6px 8px;border-radius:12px;min-width:0}.in-battle .wave-top>div:first-child{padding:0;background:transparent;box-shadow:none}.in-battle .wave-top>div:first-child>small,.in-battle #battle-xp,.in-battle #battle-gold{display:none}.in-battle .wave-top .pause-button{margin:0;width:44px;height:44px;padding:0}.in-battle .wave-top>div:nth-child(2){flex:1}.in-battle .wave-top b{font-size:16px;letter-spacing:1px;line-height:1.25}.in-battle .wave-top small{font-size:11px;line-height:1.35}.in-battle #wave-left{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.in-battle #battle-time{font-size:14px;padding:10px 8px}.in-battle .training-home{position:absolute;top:56px;right:0;min-height:44px;font-size:12px}.in-battle #encounter-label{display:none}.in-battle .wave-bottom{inset:72px 8px auto;flex-wrap:nowrap;justify-content:space-between;align-items:start;gap:6px}.in-battle .wave-bottom>div:first-child{width:160px;max-width:52%;padding:6px 8px;border-radius:10px}.in-battle #hearts,.in-battle .wave-bottom>div:first-child>small:last-child,.in-battle #tactical-status{display:none}.in-battle .battle-hp{margin:0;height:8px}.in-battle #hp-value{font-size:12px;line-height:1.3;margin-top:3px}.in-battle #potion-buffs{font-size:10px;line-height:1.2}.in-battle .wave-bottom>div:nth-child(2){padding:4px 8px;background:transparent;box-shadow:none}.in-battle #combo{font-size:14px}.in-battle #fever{font-size:10px}.in-battle #boss-alert{top:132px;left:8px;right:8px;transform:none;width:auto;max-width:none;padding:5px 8px;border-radius:9px;font-size:12px;line-height:1.35;box-shadow:none}.in-battle .wave-feedback{top:194px;left:8px;right:8px;line-height:1.2}.in-battle .wave-feedback b{font-size:14px}.in-battle #pickup-notice{top:var(--pickup-top,148px);bottom:auto;left:8px;right:8px;width:auto;max-width:none;box-sizing:border-box;padding:4px 8px;font-size:12px;line-height:1.4;border:0;border-radius:8px;box-shadow:none;background:#edfff0e6;z-index:5;pointer-events:none}.in-battle #pickup-notice>strong{display:none}.in-battle #pickup-notice b{font-size:12px}.in-battle #pickup-notice>div{gap:6px}.in-battle #pickup-notice>div>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.in-battle .potion-belt{right:max(8px,env(safe-area-inset-right));bottom:calc(max(8px,env(safe-area-inset-bottom)) + 278px);gap:8px;z-index:6}.in-battle .potion-belt button{width:46px;height:46px;min-height:46px;padding:2px;border-radius:12px;box-shadow:none;display:grid;grid-template-columns:auto auto;gap:0}.in-battle .potion-belt button span{display:block;font-size:10px;line-height:1}.in-battle .potion-belt button b{font-size:13px;line-height:1.1}.in-battle .potion-belt button small{grid-column:1/-1;font-size:10px;line-height:1.1}.in-battle .potion-belt .heal-key-hint,.in-battle #gather-count{display:none}.in-battle .action-pad{right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));width:86px;height:262px;display:grid;grid-template-columns:86px;grid-template-rows:76px 76px 86px;gap:12px;align-items:center;justify-items:center}.in-battle .action-pad #attack-button,.in-battle .action-pad #evade-button,.in-battle .action-pad #special-button{position:relative;inset:auto;width:76px;height:76px;min-width:76px;min-height:76px;font-size:11px;padding:5px;margin:0;line-height:1.3}.in-battle .action-pad #evade-button{grid-column:1;grid-row:2}.in-battle .action-pad #special-button{grid-column:1;grid-row:1}.in-battle .action-pad #attack-button{grid-column:1;grid-row:3;width:86px;height:86px;min-width:86px;min-height:86px;font-size:13px}.in-battle .move-pad.joystick{--stick-x:116px;--stick-y:116px;--thumb-travel:78;bottom:max(8px,env(safe-area-inset-bottom));left:6px;width:232px;height:250px;touch-action:none;user-select:none;-webkit-user-select:none}.in-battle .move-pad .joystick-base{box-sizing:border-box;width:224px;height:224px}.in-battle .move-pad .joystick-stick{box-sizing:border-box;width:104px;height:104px;left:58px;top:58px}.in-battle .move-pad.joystick small{font-size:11px}.in-battle #wave-choices .wave-upgrade #pickup-notice{position:static;width:100%;margin-top:6px}.pause-overlay section{padding:24px 18px}.pause-overlay h2{font-size:28px}.pause-overlay p{font-size:16px}.pause-overlay .primary{min-width:0;width:100%}}@media(max-width:350px){.in-battle .move-pad.joystick{--stick-x:106px;--stick-y:106px;--thumb-travel:73;left:4px;width:218px;height:236px}.in-battle .move-pad .joystick-base{width:210px;height:210px}.in-battle .move-pad .joystick-stick{width:100px;height:100px;left:53px;top:53px}}#checkpoint-status{position:absolute;top:8px;left:50%;transform:translate(-50%);background:#fff3c4;color:#593b00;padding:5px 10px;border-radius:8px;font-size:12px;pointer-events:none;z-index:12}@media(max-width:650px),(max-width:1000px)and (max-height:650px){#checkpoint-status{top:115px;max-width:90%;white-space:nowrap;font-size:11px}}@media(max-width:1000px)and (orientation:landscape)and (max-height:650px){.in-battle .wave-top{right:160px}.in-battle .wave-bottom{top:64px;right:170px}.in-battle #boss-alert{top:105px;left:160px;right:160px;font-size:12px}.in-battle .wave-feedback{top:145px}.in-battle #pickup-notice{left:140px;right:190px;bottom:12px;width:auto;max-width:none}}@media(max-width:650px),(max-width:1000px)and (max-height:650px){.in-battle #pickup-notice>div{display:flex;align-items:center;gap:6px;min-width:0;line-height:20px}.in-battle #pickup-notice>div>span{flex:1;min-width:0}.in-battle #pickup-notice b,.in-battle #pickup-notice small{flex:none;white-space:nowrap;color:#215d35;font-size:12px}}.in-battle .wave-top{align-items:flex-start}.in-battle .wave-top>div:nth-child(2){min-width:0;max-width:440px}.in-battle .wave-top #encounter-label{position:static;inset:auto;margin-top:6px;padding:6px 0 0;border-top:1px solid #d9c9dc;border-radius:0;background:transparent;text-align:left;font-size:12px;line-height:1.4}@media(min-width:1001px),(min-width:651px)and (min-height:651px){.in-battle .wave-bottom{bottom:195px;align-items:flex-end}.in-battle .wave-top>div:nth-child(2){flex:0 1 440px}}.result-overlay,.pause-overlay,.panel-backdrop{box-sizing:border-box;width:100%;height:100dvh;max-width:100%;min-width:0;min-height:0;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));overflow:hidden}.result-overlay,.pause-overlay{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.result-overlay>section,.pause-overlay>section,.panel-backdrop>.panel{box-sizing:border-box;min-width:0;min-height:0;max-width:100%;max-height:100%;overflow-wrap:anywhere}.result-overlay>section,.pause-overlay>section{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}.panel-body{min-width:0;min-height:0;touch-action:pan-y;-webkit-overflow-scrolling:touch}.panel-heading{min-width:0;flex-shrink:0}.panel-heading>div{min-width:0}.panel-heading .close{flex-shrink:0}.result-overlay button,.pause-overlay button{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}.result-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.result-stats>span{min-width:0}.reward-line{flex-wrap:wrap}.reward-line>*{min-width:0;max-width:100%}#toast{box-sizing:border-box;min-width:0;max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;overflow-wrap:anywhere}@media(max-width:650px),(max-width:1000px)and (max-height:650px){.result-overlay>section,.pause-overlay>section{padding:22px 16px;border-radius:20px}.result-overlay .eyebrow{font-size:12px;letter-spacing:1px}.result-overlay h1{font-size:clamp(28px,9vw,42px);letter-spacing:3px}.result-overlay h2,.pause-overlay h2{font-size:24px}.result-overlay p,.pause-overlay p{font-size:16px;line-height:1.6}.result-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.result-overlay .primary,.pause-overlay .primary{width:100%;min-width:0;padding:12px;font-size:17px}.result-overlay .loot{min-width:0;max-width:100%}.result-overlay .loot>div{min-width:0}#toast{padding:22px 16px}#toast h2{font-size:24px}}.economy-panel{width:min(1360px,100%)}.skill-points-wallet{padding:12px 16px;margin-bottom:16px;background:#eee1fa;border-radius:14px;color:#542279;font-size:18px}.skill-points-wallet strong{font-size:32px;margin:0 8px}.skill-browser .commerce-detail .skill-details{font-size:15px}.skill-browser+.skill-reset{margin-top:20px}.inventory-equipped-display{width:min(420px,100%);margin:0 auto 20px;min-width:0}.inventory-equipped-display .equipment-loadout{width:100%;max-width:100%}.inventory-equipped-display .inventory-potions-shortcut{width:100%;min-width:0;margin-top:12px;white-space:normal}.economy-wallet .wallet-gold{font-size:22px;color:#744308}.economy-wallet .wallet-gold b{font-size:32px;line-height:1.2}.shop-three-column{display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px;align-items:start}.shop-three-column .shop-category-tabs,.commerce-categories,.inventory-categories{display:flex;flex-direction:column;gap:8px;min-width:0;position:static}.shop-three-column .shop-category-tabs button,.commerce-categories button,.inventory-categories>button{width:100%;min-width:0;padding:12px 6px;font-size:15px;border-radius:12px}.commerce-browser{display:grid;grid-template-columns:minmax(230px,1fr) minmax(270px,1fr);gap:16px;align-items:start;min-width:0}.commerce-browser:has(>.commerce-categories){grid-template-columns:112px minmax(230px,1fr) minmax(270px,1fr)}.commerce-list,.commerce-detail,.inventory-browser .inventory-bag,.inventory-browser .gear-comparison{min-width:0;border:2px solid #c7addc;border-radius:16px;background:#fffdf8;overflow:hidden}.commerce-detail,.inventory-browser .gear-comparison{padding:18px;position:sticky;top:0;max-height:65dvh;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;overflow-wrap:anywhere}.commerce-detail article[hidden],.commerce-detail [data-detail-page][hidden]{display:none}.commerce-detail h3{font-size:22px;margin:0 0 10px}.commerce-detail p{font-size:15px;line-height:1.6}.commerce-detail .primary{width:100%;min-width:0;margin-top:18px;font-size:17px;padding:12px}.commerce-tools{padding:12px}.commerce-tools h3{margin-bottom:4px}.commerce-tools .chip{margin-top:10px}.commerce-columns,.commerce-row{display:grid;grid-template-columns:minmax(0,1fr) 70px 32px;gap:8px;align-items:center}.commerce-columns{padding:8px 12px;background:#493258;color:#fff;font-size:13px}.commerce-columns>span:not(:first-child){text-align:right}.commerce-rows{max-height:56dvh;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}.commerce-row{width:100%;padding:12px;text-align:left;min-height:66px;border-bottom:1px solid #e2d6ea;color:#392147;border-radius:0}.commerce-row>span:first-child{display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:8px;row-gap:5px;min-width:0;align-items:start}.commerce-row b{grid-column:2;display:block;min-width:0;font-size:16px;line-height:1.45;overflow-wrap:anywhere}.commerce-row small{grid-column:2;display:block;min-width:0;font-size:12px;line-height:1.55;margin:0;color:#655370;overflow-wrap:anywhere}.commerce-row i{grid-column:1;grid-row:1/3;font-style:normal;margin:1px 0 0;text-align:center}.commerce-row>strong,.commerce-row>span:last-child{text-align:right;font-size:14px}.commerce-row.selected,.inventory-browser .bag-item.selected{background:#f6e2a6;border-color:#b48732;box-shadow:inset 4px 0 #b48732}.commerce-categories .selected,.inventory-categories>.selected,.shop-category-tabs .selected,.detail-tabs .selected{background:#7137a6;color:#fff;border-color:#7137a6}.economy-panel .commerce-categories .selected,.economy-panel .inventory-categories>.selected,.economy-panel .shop-category-tabs .selected,.economy-panel .detail-tabs .selected{background:#7137a6;color:#fff;border-color:#7137a6}.detail-tabs{display:flex;gap:8px;margin:16px 0}.detail-tabs button{flex:1;min-width:0;font-size:14px;padding:10px 4px}.commerce-detail .gear-stat-table{width:100%;table-layout:fixed;font-size:14px}.commerce-detail .gear-stat-table th,.commerce-detail .gear-stat-table td{padding:10px 4px;overflow-wrap:anywhere}.product-metrics>div{display:flex;justify-content:space-between;padding:10px;border-bottom:1px solid #ddd}.product-metrics dd{font-weight:700;margin:0}.shop-three-column #shop-category-content{min-width:0}.shop-three-column .shop-list-results{overflow:visible}.shop-three-column .shop-list-tools{position:static;grid-template-columns:minmax(120px,1fr) minmax(150px,1fr) auto}.inventory-browser.rpg-inventory{display:grid;grid-template-columns:112px minmax(230px,1fr) minmax(270px,1fr);gap:16px;align-items:start}.inventory-browser .inventory-bag{padding:12px}.inventory-browser .rpg-bag-grid{display:flex;flex-direction:column;gap:0;max-height:55dvh;overflow:auto;margin-top:12px;touch-action:pan-y}.item-name-line,.item-rarity-grade{display:flex;align-items:center;flex-wrap:wrap;min-width:0;gap:6px 12px}.item-name-line>*{min-width:0;margin:0}.item-rarity-grade{font-size:13px;line-height:1.55}.item-rarity-grade .item-grade{position:static!important;display:inline-block!important;flex:0 0 auto;width:fit-content;margin:0!important}.equipped-inline{display:inline-flex;align-items:center;flex:0 0 auto;margin:0!important;padding:3px 8px;border-radius:7px;background:#e5f3e9;color:#236b43;font-size:12px!important;line-height:1.45!important;font-style:normal;font-weight:800;white-space:nowrap}.inventory-browser .bag-item{width:100%;min-height:88px;display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:10px;row-gap:7px;align-items:start;text-align:left;border-radius:0;padding:12px;border-width:0 0 1px}.inventory-browser .bag-glyph{grid-column:1;grid-row:1/6;float:none;font-size:24px;line-height:1.4;margin:0;text-align:center}.inventory-browser .bag-item>.item-name-line,.inventory-browser .bag-item>.item-rarity-grade,.inventory-browser .bag-item>small,.inventory-browser .bag-item>.item-row-status{grid-column:2;min-width:0;margin:0;overflow-wrap:anywhere}.inventory-browser .bag-item b{display:block;font-size:16px;line-height:1.45}.inventory-browser .bag-item small{display:block;font-size:12px;line-height:1.55}.inventory-browser .bag-item .item-grade{font-size:11px!important;line-height:1.45;padding:3px 7px}.inventory-browser .bag-values{display:none!important}.inventory-browser .bag-item>.item-row-status{display:block;font-size:12px;line-height:1.5;font-style:normal;font-weight:700;color:#236b43}.economy-panel .item-grid .item-card{align-content:start}.economy-panel .item-grid .item-card>small,.economy-panel .item-grid .item-card>.item-name-line,.economy-panel .item-grid .item-card>.item-rarity-grade,.economy-panel .upgrade-card-action{min-width:0;max-width:100%;line-height:1.55;overflow-wrap:anywhere}.economy-panel .gear-slot .item-grade{position:static!important;display:block!important;margin:5px auto 0;max-width:100%;line-height:1.35;text-align:center;overflow-wrap:anywhere}.inventory-browser .compare-head{grid-template-columns:1fr}.inventory-browser .compare-actions{display:flex;flex-direction:column}.inventory-browser .compare-actions button{min-width:0;width:100%}.inventory-browser .gear-stat-table{table-layout:fixed;width:100%;font-size:13px}.inventory-browser .gear-stat-table th,.inventory-browser .gear-stat-table td{padding:8px 3px;overflow-wrap:anywhere}.inventory-categories h3{font-size:15px}.equipped-figure{font-size:13px}.equipped-figure[open]{position:relative}.equipped-figure .equipment-loadout{width:280px;max-width:75vw;background:#fffaf5;position:relative;z-index:2}@media(max-width:1000px){.commerce-browser:has(>.commerce-categories),.inventory-browser.rpg-inventory{grid-template-columns:90px minmax(0,1fr) minmax(0,1fr);gap:10px}.shop-three-column{grid-template-columns:90px minmax(0,1fr);gap:10px}.commerce-browser{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.shop-three-column .shop-list-tools{display:flex;flex-wrap:wrap}.commerce-detail{padding:12px}}@media(max-width:700px){.shop-three-column,.commerce-browser,.commerce-browser:has(>.commerce-categories),.inventory-browser.rpg-inventory{display:flex;flex-direction:column;gap:12px}.shop-three-column>*,.commerce-browser>*,.inventory-browser.rpg-inventory>*{width:100%;min-width:0}.shop-three-column .shop-category-tabs,.commerce-categories,.inventory-categories{display:flex;flex-direction:row;overflow-x:auto;gap:6px;padding-bottom:6px}.shop-three-column .shop-category-tabs button,.commerce-categories button,.inventory-categories>button{width:auto;flex:0 0 auto;min-height:44px;padding:8px 12px;white-space:nowrap}.inventory-categories h3,.inventory-categories .equipped-figure{display:none}.commerce-detail,.inventory-browser .gear-comparison{position:static;max-height:none;overflow:visible;scroll-margin-top:12px}.commerce-rows,.inventory-browser .rpg-bag-grid{max-height:32dvh}.commerce-row{min-height:76px;padding-block:11px}.inventory-browser .bag-item{min-height:110px}.commerce-detail .compare-head{grid-template-columns:1fr}.economy-wallet .wallet-gold{font-size:18px}.economy-wallet .wallet-gold b{font-size:28px}.shop-three-column .shop-list-tools>label{flex:1;min-width:130px}}.inventory-browser .bag-item{position:relative;height:auto;min-height:94px}.inventory-browser .bag-item:has(>.item-row-status)>.item-name-line{padding-right:98px}.inventory-browser .bag-item>.item-row-status{position:absolute;right:12px;top:10px;margin:0;font-size:11px;max-width:94px;line-height:1.4;text-align:right}.panel-backdrop:has(.economy-panel,.skill-browser){-webkit-backdrop-filter:none;backdrop-filter:none}.economy-panel .economy-toolbar{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fffdfa}.game-icon{display:inline-block;width:48px;height:48px;object-fit:cover;border:1px solid #bba266;border-radius:10px;background:#19263d;vertical-align:middle;box-shadow:0 2px 5px #172c4926;flex-shrink:0}.game-icon.equipment-pixel-icon{image-rendering:pixelated;object-fit:contain}.recipe-requirements .game-icon,.packing-name .game-icon,.packing-slot-name .game-icon{width:34px;height:34px;margin-right:6px}.compare-head .game-icon{width:40px;height:40px;margin:0 8px 5px 0}.item-overview .product-icon .game-icon{width:72px;height:72px}.commerce-row>span:first-child{grid-template-columns:48px minmax(0,1fr)}.commerce-detail h3 .game-icon{width:56px;height:56px;margin-right:8px}.commerce-list,.commerce-detail,.inventory-browser .inventory-bag,.inventory-browser .gear-comparison{border:1px solid #b9b7b0;border-radius:12px;background:#fffdf6;box-shadow:0 4px 16px #182c4510}.commerce-columns{background:#263f65;color:#f9edcb;font-weight:700}.commerce-row{background:#fffdf6;transition:background .15s}.commerce-row:hover{background:#f2f5fc}.commerce-row.selected,.inventory-browser .bag-item.selected{background:#f8e8b7;border-color:#b89443;box-shadow:inset 3px 0 #b89443}.commerce-row:focus-visible,.bag-item:focus-visible{outline:3px solid #3572ae;outline-offset:-3px}.commerce-tools h3,.inventory-bag h3{color:#263f65}.bag-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:12px}.bag-toolbar h3{margin:0}.browser-view-buttons{display:flex;gap:4px}.browser-view-buttons button{padding:7px 10px;min-height:36px;border:1px solid #b6c3d6;border-radius:6px;font-size:12px;color:#263f65;background:#edf1f7}.browser-view-buttons button[aria-pressed=true]{background:#263f65;color:#fff}.inventory-bag>label{display:block;margin:8px 0;font-size:12px}.inventory-bag>label input,.inventory-bag>label select{width:100%;min-width:0;margin-top:5px;padding:9px 10px;min-height:40px;font-size:14px}.inventory-browser .bag-glyph .game-icon{width:40px;height:40px}.inventory-browser[data-inventory-view=list] .bag-item{grid-template-columns:40px minmax(0,1fr)}.inventory-browser[data-inventory-view=grid] .rpg-bag-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px;align-content:start;padding:4px;max-height:52dvh}.inventory-browser[data-inventory-view=grid] .bag-item{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;min-height:142px;padding:10px 6px;border:1px solid #c5cddb;border-radius:9px;background:#edf1f7;text-align:center;position:relative}.inventory-browser[data-inventory-view=grid] .bag-item.selected{background:#fff0c9;border:2px solid #b38a39;box-shadow:0 0 0 2px #b38a3920;padding:9px 5px}.inventory-browser[data-inventory-view=grid] .bag-glyph{margin:0;line-height:1}.inventory-browser[data-inventory-view=grid] .bag-glyph .game-icon{width:58px;height:58px}.inventory-browser[data-inventory-view=grid] .bag-item>.item-name-line{padding:0;display:flex;justify-content:center;gap:4px}.inventory-browser[data-inventory-view=grid] .bag-item b{font-size:12px;line-height:1.45}.inventory-browser[data-inventory-view=grid] .bag-item .equipped-inline{font-size:10px!important;padding:1px 5px}.inventory-browser[data-inventory-view=grid] .bag-item>.item-rarity-grade,.inventory-browser[data-inventory-view=grid] .bag-item>.item-row-status{display:none}.inventory-browser .bag-item[hidden],.bag-search-empty[hidden]{display:none!important}.inventory-browser .gear-stat-table th{color:#354866}.gear-slot .game-icon{width:38px;height:38px;margin:3px auto}.economy-panel .gear-slot>span[aria-hidden]{display:block!important;line-height:1;margin:0}.economy-panel .paperdoll{height:400px}.economy-panel .gear-armor{top:0}.economy-panel .gear-relic{top:auto;bottom:0}.economy-panel .gear-weapon,.economy-panel .gear-guard{top:40%}.skill-browser .commerce-browser{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px}.skill-points-wallet{background:#263f65;border:1px solid #ad9456;color:#fff0c4;font-size:14px;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px;margin-bottom:14px}.skill-points-wallet strong{font-size:25px;margin:0}.skill-browser .commerce-columns{display:none}.skill-browser .commerce-tools{border-bottom:1px solid #d8c9a6;padding:14px}.skill-browser .commerce-tools h3{margin:0;font-size:18px}.skill-browser .commerce-tools small{font-size:12px;color:#64718a}.skill-browser .commerce-rows{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;padding:12px;max-height:60dvh;align-content:start}.skill-browser .commerce-row{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:6px;min-height:182px;border:1px solid #c2cad5;border-radius:9px;padding:12px 8px;position:relative;text-align:center;background:#f1f4f9}.skill-browser .commerce-row.selected{background:#fff1cf;border:2px solid #b9933f;box-shadow:0 0 0 2px #b9933f22;padding:11px 7px}.skill-browser .commerce-row>span:first-child{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%}.skill-browser .commerce-row i{margin:0;line-height:1}.skill-browser .commerce-row .game-icon{width:64px;height:64px}.skill-browser .commerce-row b{font-size:14px;line-height:1.4}.skill-browser .commerce-row small{font-size:11px;line-height:1.4;color:#56677e}.skill-browser .commerce-row>strong{display:none}.skill-browser .commerce-row>span:last-child{position:absolute;top:6px;right:6px;background:#263f65;color:#fff;font-weight:800;font-size:11px;padding:3px 6px;border-radius:6px;border:1px solid #d2b978}.skill-browser .commerce-row>span:last-child:before{content:"Lv. "}.skill-browser .commerce-detail h3{font-size:20px;line-height:1.6}.skill-browser .commerce-detail .skill-details{font-size:14px;line-height:1.65}.skill-browser .commerce-detail .primary{margin-top:12px}.skill-browser .commerce-detail .skill-details>p{padding:10px;background:#eef2f7;border-radius:7px}.skill-browser .skill-current>b,.skill-browser .skill-next>b{display:block;margin-bottom:6px;color:#263f65}@media(max-width:700px){.skill-browser .commerce-browser{display:flex;flex-direction:column}.skill-browser .commerce-rows{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px;max-height:37dvh}.skill-browser .commerce-row{min-height:156px;padding:10px 5px}.skill-browser .commerce-row.selected{padding:9px 4px}.skill-browser .commerce-row b{font-size:12px}.skill-browser .commerce-row .game-icon{width:48px;height:48px}.skill-browser .commerce-row small{font-size:10px}.skill-browser .commerce-row>span:last-child{top:3px;right:3px;font-size:10px}.inventory-browser[data-inventory-view=grid] .rpg-bag-grid{grid-template-columns:repeat(auto-fill,minmax(88px,1fr));max-height:38dvh}.inventory-browser[data-inventory-view=grid] .bag-item{min-height:134px}.commerce-row>span:first-child{grid-template-columns:36px minmax(0,1fr)}.commerce-row .game-icon{width:36px;height:36px}.commerce-row b{font-size:14px}.commerce-detail h3{font-size:18px}}.commerce-detail-heading{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;margin-bottom:12px}.commerce-detail-heading>h3{flex:1 1 200px;min-width:0;margin:0;overflow-wrap:anywhere}.commerce-detail-action{flex:0 1 auto;max-width:100%;margin-left:auto}.commerce-detail .commerce-detail-action>.primary{width:auto;max-width:100%;margin:0;min-height:44px;white-space:normal;font-size:15px;padding:10px 16px}.upgrade-top-action{display:flex;flex-direction:column;align-items:flex-end;gap:8px;max-width:100%}.upgrade-top-action>.primary{margin:0;min-height:44px;white-space:normal}@media(max-width:700px){.commerce-detail-action{flex:1 1 100%;margin-left:0}.commerce-detail .commerce-detail-action>.primary{width:100%}.upgrade-preview>.section-intro{flex-wrap:wrap;gap:12px}.upgrade-top-action{width:100%;align-items:stretch}}.world-boss-panel{display:grid;gap:18px}.world-boss-empty{text-align:center;padding:48px}.world-boss-empty>span{font-size:70px;color:#a54162}.world-boss-hero{display:flex;align-items:center;gap:18px;padding:20px;border-radius:20px;background:linear-gradient(135deg,#5b2441,#a63e58);color:#fff}.world-boss-hero>span{font-size:52px}.world-boss-hero h3,.world-boss-hero p{margin:0;color:#fff}.world-boss-hero h3{font-size:25px}.world-boss-hero>b{margin-left:auto}.world-boss-hp>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px}.world-boss-hp i{display:block;height:22px;border:2px solid #6b2949;border-radius:12px;overflow:hidden;background:#eadbe3}.world-boss-hp em{display:block;height:100%;background:linear-gradient(90deg,#d64150,#8f1f4f);transition:width .3s}.world-boss-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.world-boss-stats span{padding:14px;border:1px solid var(--line);border-radius:16px;text-align:center;background:#fff}.world-boss-stats small,.world-boss-stats b{display:block}.world-boss-stats b{font-size:20px}.world-boss-reward{padding:18px;border-radius:18px;background:#f4e9d1}.world-boss-reward h3,.world-boss-reward p{margin:0 0 7px}.world-boss-actions{display:grid;gap:10px}.world-boss-actions>p{text-align:center}.world-boss-actions .claimed{color:#237246;font-weight:700}.world-boss-ranking{border:1px solid var(--line);border-radius:18px;padding:16px}.world-boss-ranking>div{display:grid;grid-template-columns:40px 1fr auto;gap:10px;padding:9px 5px;border-bottom:1px solid var(--line)}.world-boss-ranking>div:last-child{border:0}.world-boss-ranking>div>b{color:#a64062}.world-boss-event-list{display:flex;gap:8px;overflow-x:auto;margin:14px 0 20px;padding-bottom:6px}.world-boss-event-list button{min-width:210px;padding:12px;border:1px solid var(--line);background:#fff}.world-boss-event-list button.selected{border:2px solid #93395e;background:#f8e6ed}.world-boss-event-list small{display:block;margin-top:4px}.world-boss-admin form{display:grid;gap:18px}.world-boss-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.world-boss-admin label{display:grid;gap:6px}.world-boss-admin fieldset{border:1px solid var(--line);border-radius:18px;padding:16px}.world-boss-skills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.world-boss-skills label{display:grid;grid-template-columns:auto 1fr 72px auto;align-items:center;gap:8px;padding:8px;border-radius:12px;background:#f7f0fa}.world-boss-skills input[type=checkbox]{width:20px;height:20px}.world-boss-skills input[type=number]{min-width:0}.world-boss-admin .admin-back{display:flex;justify-content:space-between;gap:10px}@media(max-width:650px){.world-boss-hero{align-items:flex-start;flex-wrap:wrap}.world-boss-hero>b{width:100%;margin:0}.world-boss-stats{grid-template-columns:repeat(2,1fr)}.world-boss-form-grid,.world-boss-skills{grid-template-columns:1fr}.world-boss-admin fieldset{padding:12px}.world-boss-event-list button{min-width:180px}.world-boss-panel{font-size:14px}}.world-boss-panel,.world-boss-admin,.world-boss-admin fieldset{min-width:0;overflow-wrap:anywhere}.world-boss-admin input,.world-boss-admin select{width:100%;min-width:0}.world-boss-drops{display:grid;gap:12px;margin-top:16px}.world-boss-drop{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:10px;border-top:1px solid var(--line);padding-top:12px}.world-boss-drop>strong{grid-column:1/-1}.world-boss-hp>div{flex-wrap:wrap}@media(max-width:650px){.world-boss-drop{grid-template-columns:1fr 1fr}.world-boss-drop>label:first-of-type{grid-column:1/-1}.world-boss-skills label{grid-template-columns:22px minmax(0,1fr) 56px auto;gap:5px;font-size:13px}.world-boss-admin .admin-back{flex-wrap:wrap}}.world-boss-actions .primary,.world-boss-actions .outline{display:block;width:100%;min-width:0}.world-boss-admin .danger{margin-left:auto;border-color:#b53c50;background:#fff0f2;color:#8f1f38;font-weight:700}.world-boss-admin .danger:hover{background:#b53c50;color:#fff}.world-reward-tiers{width:100%;border-collapse:collapse;margin:14px 0}.world-reward-tiers th,.world-reward-tiers td{padding:8px;text-align:left;border-bottom:1px solid #b69c65}@media(max-width:650px){.rail{top:auto;max-width:calc(100% - 20px);max-height:none;pointer-events:auto;overflow-x:auto;overflow-y:hidden;touch-action:pan-x;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;justify-content:flex-start;flex-wrap:nowrap;scrollbar-width:none}.rail::-webkit-scrollbar{display:none}.rail .rail-button{flex:0 0 64px;touch-action:pan-x}}@media(min-width:651px){.rail{top:100px;max-height:calc(100dvh - 180px);gap:8px;pointer-events:auto;overflow-y:auto;overscroll-behavior:contain;padding:2px 4px 8px;scrollbar-width:none}.rail::-webkit-scrollbar{display:none}.rail .rail-button{flex:0 0 auto;width:76px;min-height:64px;height:auto;padding:8px 4px;gap:3px;justify-content:center;line-height:1.25}.rail .rail-button span{font-size:22px;line-height:1.1}.rail .rail-button small{font-size:13px;line-height:1.35;white-space:normal;overflow-wrap:normal}}#app>header{padding-right:58px}@media(max-width:650px){body{min-width:0}#app>header{padding:12px 42px 8px 12px;display:flex;flex-wrap:nowrap;gap:6px;align-items:center}#app>header .brand{flex:0 0 28px;width:28px;gap:0}#app>header .brand>div{display:none}#app>header .brand-mark{font-size:30px;width:25px;letter-spacing:-12px}#app>header .account{display:flex;flex:1 1 auto;min-width:0;gap:5px;margin:0;justify-content:flex-end;flex-wrap:nowrap;font-size:11px}#app>header .account .level-badge{flex:0 0 23px;width:23px;height:25px;font-size:12px}#app>header .account>span:nth-child(2){min-width:0;max-width:76px;overflow:hidden;text-overflow:ellipsis;font-size:11px}#app>header .account small{font-size:8px;letter-spacing:.4px}#app>header .account .gold{flex-shrink:0;font-size:12px;padding-left:5px}#app>header .account .text-button{flex-shrink:0;font-size:10px;padding:5px 0}.hero-copy{margin:18px 18px 0;max-width:none;padding-bottom:145px}.hero-copy h1{font-size:clamp(30px,9vw,42px);line-height:1;margin:8px 0 16px;letter-spacing:0}.hero-copy .hero-description{display:block;font-size:14px;line-height:1.7;margin:0 0 18px;max-width:350px}.hero-actions{gap:8px}.hero-actions .primary,.hero-actions .journey-new,.hero-actions .home-login{font-size:16px;min-height:48px;padding:12px 16px}.hero-actions #new-journey-note{font-size:11px;line-height:1.5;margin-top:4px}.hero-actions .text-button{font-size:12px;padding:8px}.journey{margin-top:16px;font-size:12px}.journey small{font-size:11px}.rail{bottom:10px}}.rail-group{flex:0 0 auto;pointer-events:auto}.rail-group summary{cursor:pointer;list-style:none;box-sizing:border-box;border-radius:14px}.rail-group summary::-webkit-details-marker{display:none}.rail-submenu{display:flex;flex-direction:column;gap:6px;padding-top:6px;animation:rail-expand .18s ease-out}.rail-group[open]>summary{background:#e9d9f5;border-color:#9461bd}@keyframes rail-expand{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}#app>header{padding-right:4%}@media(max-width:650px){#app>header{padding-right:12px}.rail-group{display:flex;align-items:stretch;gap:6px;touch-action:pan-x}.rail-group>summary{width:64px;flex:0 0 64px;justify-content:center}.rail-submenu{flex-direction:row;padding:0 6px 0 0}.rail-group:not([open])>.rail-submenu{display:none}}@media(prefers-reduced-motion:reduce){.rail-submenu{animation:none}}.inventory-character-overview{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:20px;align-items:start;margin-bottom:20px}.inventory-character-overview .inventory-equipped-display{margin:0;width:100%}.character-status{min-width:0;padding:18px;border:1px solid #b59aca;border-radius:18px;background:#fffaf6}.character-tabs{display:flex;gap:6px;margin-bottom:16px;border-bottom:1px solid #d9c5e4;padding-bottom:8px}.character-tabs button{padding:6px 14px;border:1px solid #b59aca;border-radius:8px;font-size:13px;color:#56327b}.character-tabs [aria-selected=true]{background:#7542a8;color:#fff}.character-status h3{margin:0 0 8px}.character-status p{font-size:12px}.character-status dl{margin:0}.character-status dl>div,.character-status li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #e4d7ee}.character-status dd{margin:0;font-weight:700}.character-status ul{padding:0;list-style:none;margin:0}.character-status li b{white-space:nowrap}.character-status [hidden]{display:none}@media(max-width:700px){.inventory-character-overview{grid-template-columns:1fr}.inventory-character-overview .inventory-equipped-display{max-width:420px;margin:auto}}#app>header{flex-wrap:wrap}.hub-top-actions{flex:0 0 100%;display:flex;flex-direction:column;align-items:flex-end;gap:4px}.hub-top-actions .journey-new{min-width:0;padding:8px 14px;font-size:13px}.hub-top-actions #new-journey-note{font-size:11px;max-width:320px;text-align:right}.rail-submenu .rail-button{background:#d8efca;color:#29452d;border-color:#9cbe8c}.rail-submenu .rail-button small,.rail-submenu .rail-button span{color:#29452d}.rail-submenu[hidden]{display:none}.hub-submenu-layer{position:fixed;inset:0;pointer-events:none;z-index:8}.rail-submenu.mobile-submenu{position:fixed;display:flex;flex-direction:column;width:152px;padding:6px;gap:6px;background:#edf7e5;border:1px solid #9cbe8c;border-radius:12px;box-shadow:0 4px 14px #243a2429;pointer-events:auto;animation:hub-menu-up .15s ease-out}.rail-submenu.mobile-submenu[hidden]{display:none}.rail-submenu.mobile-submenu .rail-button{width:100%;min-height:48px;flex-direction:row;justify-content:flex-start;gap:8px;padding:8px 10px;touch-action:manipulation}.rail-submenu.mobile-submenu .rail-button small{font-size:14px}.rail-submenu.mobile-submenu .rail-button span{font-size:22px}@keyframes hub-menu-up{0%{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}@media(max-width:650px){#app>header .hub-top-actions{flex:0 0 100%;gap:2px}.hub-top-actions .journey-new{font-size:12px;min-height:40px}.hub-top-actions #new-journey-note{font-size:10px}.hero-actions .journey-map{max-width:100%;min-width:0}.rail-group{display:block}}@media(prefers-reduced-motion:reduce){.rail-submenu.mobile-submenu{animation:none}}@media(min-width:651px){#app>header{justify-content:flex-start;gap:18px;padding-bottom:94px}#app>header .account{margin-left:0}#app>header .hub-top-actions{position:absolute;top:37px;right:max(4%,calc((100vw - 106vh)/2 + 24px));width:300px;max-width:42vw;align-items:center}#app>header .hub-top-actions #new-journey-note{text-align:center}}#app>header .hub-utility-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}#app>header .hub-utility-buttons button{width:100%;min-width:0;min-height:40px;padding:8px 10px;font-size:12px;box-shadow:0 1px #2d302d50}#app>header #new-journey-note{color:#fff;font-weight:600;text-shadow:0 1px 3px #152c18,0 0 4px #152c18}#app>header .journey{margin:0;max-width:none;gap:14px}#app>header .journey-line{display:none}@media(min-width:651px){#app>header .journey{position:absolute;top:96px;left:14%;max-width:calc(54% - 28px)}}@media(min-width:651px)and (max-width:1000px){#app>header .journey{left:15%}#app>header .hub-top-actions{top:90px;right:4%;width:280px;max-width:36vw}}@media(min-width:651px)and (max-height:580px)and (orientation:landscape){#app>header .journey{left:15%}}@media(max-width:650px){#app>header .journey{flex:0 0 100%;margin-top:12px}#app>header .hub-top-actions{align-items:stretch}#app>header #new-journey-note{text-align:center;max-width:none}#app>header .journey small{white-space:normal}}.inventory-workbench{display:grid;grid-template-columns:minmax(300px,370px) minmax(0,1fr);gap:18px;align-items:start}.inventory-workbench .inventory-character-overview{display:flex;flex-direction:column;gap:14px;margin:0;min-width:0}.inventory-workbench .inventory-equipped-display{max-width:none;margin:0}.inventory-workbench .equipment-loadout{padding:14px;margin:0;border:1px solid #b59aca;border-radius:12px;background:#f4edf9}.inventory-workbench .equipment-loadout>p{font-size:12px;margin:8px 0 12px}.inventory-workbench .paperdoll{height:300px;display:grid;grid-template-columns:96px minmax(0,1fr) 96px;grid-template-rows:1fr 1fr;gap:12px;align-items:center}.inventory-workbench .loadout-avatar{grid-column:2;grid-row:1/3;width:128px;height:128px;justify-self:center;image-rendering:pixelated;background-size:512px 512px;background-position:0 0;background-repeat:no-repeat;transform:scale(1.25)}.inventory-workbench .gear-slot{position:relative;inset:auto;transform:none!important;width:100%;height:128px;min-height:0;box-shadow:none;padding:7px!important;border-radius:8px!important}.inventory-workbench .gear-slot small{font-size:11px;line-height:1.3}.inventory-workbench .gear-slot strong{font-size:11px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.inventory-workbench .gear-slot .game-icon{width:48px;height:48px;margin:1px}.inventory-workbench .gear-armor{grid-column:1;grid-row:1}.inventory-workbench .gear-weapon{grid-column:1;grid-row:2}.inventory-workbench .gear-relic{grid-column:3;grid-row:1}.inventory-workbench .gear-guard{grid-column:3;grid-row:2}.inventory-workbench .gear-slot .grade-badge{font-size:10px}.character-potion-belt{padding:12px;border:1px solid #b59aca;border-radius:0 0 12px 12px;background:#fffaf6}.character-potion-belt h4{font-size:14px;margin:0 0 10px}.character-potion-belt p{font-size:11px;margin:10px 0 0;line-height:1.5}.character-potion-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.character-potion-slot{position:relative;min-width:0;border:1px dashed #a78cbc;border-radius:8px;background:#f3eafa}.character-potion-slot.filled{border-style:solid;background:#fff6da}.character-potion-slot>button:first-child{display:flex;flex-direction:column;align-items:center;gap:5px;width:100%;min-height:105px;padding:7px 4px;background:transparent;border:0;box-shadow:none;color:#41255f}.character-potion-slot .game-icon{width:40px;height:40px}.character-potion-slot b{font-size:11px;line-height:1.4}.character-potion-slot small{font-size:10px}.character-potion-slot>button:first-child>span{font-size:30px;line-height:40px}.character-potion-slot .belt-remove{position:absolute;top:0;right:0;min-height:28px;width:28px;padding:0;border:0;border-radius:6px;background:#704694;color:#fff;font-size:18px;box-shadow:none}.inventory-workbench .character-status{padding:14px;border-radius:12px;width:100%}.inventory-workbench .character-status dl>div{padding:7px 0;font-size:13px}.inventory-storage{min-width:0}.inventory-storage-tabs{display:flex;gap:6px;margin-bottom:12px;border-bottom:1px solid #b59aca;padding-bottom:8px}.inventory-storage-tabs button{flex:1;padding:10px 6px;min-height:44px;border:1px solid #b59aca;border-radius:8px;background:#f4edf9;color:#56327b;font-size:14px;box-shadow:none}.inventory-storage-tabs button[aria-selected=true]{background:#7542a8;color:#fff}.inventory-workbench [data-bag-pane][hidden]{display:none!important}.inventory-workbench .inventory-browser{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.inventory-workbench .inventory-categories{position:static;display:flex;flex-direction:row;flex-wrap:wrap;gap:5px;padding:0;border:0;background:none}.inventory-workbench .inventory-categories h3,.inventory-workbench .inventory-categories [data-action=choose-battle-potions]{display:none}.inventory-workbench .inventory-categories button{width:auto;min-height:34px;padding:5px 10px;font-size:12px;box-shadow:none}.inventory-workbench .inventory-bag{padding:12px;min-width:0}.inventory-workbench .inventory-bag>label{display:inline-block;width:48%;margin-right:2%;vertical-align:top}.inventory-workbench .inventory-browser[data-inventory-view=grid] .rpg-bag-grid{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:6px;max-height:380px;overflow:auto}.inventory-workbench .inventory-browser[data-inventory-view=grid] .bag-item{min-height:108px;padding:7px 4px;gap:5px}.inventory-workbench .inventory-browser[data-inventory-view=grid] .bag-item.selected{padding:6px 3px}.inventory-workbench .inventory-browser[data-inventory-view=grid] .bag-item .bag-values{display:none}.inventory-workbench .inventory-browser[data-inventory-view=grid] .bag-item b{font-size:11px}.inventory-workbench .inventory-browser[data-inventory-view=grid] .bag-glyph .game-icon{width:48px;height:48px}.inventory-workbench .gear-comparison{position:static;padding:14px;min-width:0}.inventory-workbench .compare-head{gap:8px}.inventory-workbench .compare-head b{font-size:13px}.inventory-workbench .compare-actions{display:flex;flex-wrap:wrap;gap:8px}.inventory-workbench .potion-packing{padding:12px;margin:0}.inventory-workbench .packing-belt{display:none}.inventory-workbench .packing-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:10px}.inventory-workbench .packing-row{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #c5add7;border-radius:8px;background:#fffaf6;min-width:0}.inventory-workbench .packing-name{display:flex;flex-direction:column;gap:6px}.inventory-workbench .packing-name b{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:13px}.inventory-workbench .packing-name .game-icon{width:48px;height:48px;margin:0}.inventory-workbench .packing-stats{display:block;margin:0;width:100%}.inventory-workbench .packing-stats>div{display:flex;justify-content:space-between;gap:8px;font-size:11px;padding:3px 0}.inventory-workbench .packing-controls{margin-top:auto;justify-content:center}.material-bag-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px}.material-bag-grid article{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:12px 6px;border:1px solid #c5add7;border-radius:8px;background:#fffaf6;text-align:center;font-size:12px}.material-bag-grid .game-icon{width:48px;height:48px}.inventory-workbench [draggable=true]{cursor:grab}.inventory-workbench [draggable=true]:active{cursor:grabbing}.inventory-workbench [draggable=true] .bag-glyph,.inventory-workbench [draggable=true] .packing-name .game-icon{touch-action:none}.loadout-drag-ghost{position:fixed;z-index:10000;pointer-events:none;transform:translate(-50%,-50%);padding:6px;background:#fff8dc;border:2px solid #147a5a;border-radius:8px;opacity:.9}.loadout-drag-ghost .game-icon{width:48px;height:48px}.inventory-workbench .drop-ready{outline:2px dashed #299879;outline-offset:2px}.inventory-workbench .drop-over{outline:3px solid #147a5a;outline-offset:2px;background:#d5f3dd!important}.economy-panel .economy-content .commerce-browser .commerce-columns{display:none}.economy-panel .commerce-rows{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:8px;padding:10px;align-content:start}.economy-panel .commerce-row{display:flex;flex-direction:column;align-items:center;gap:6px;border:1px solid #c5add7;border-radius:8px;padding:9px 6px;min-height:130px;text-align:center;box-shadow:none}.economy-panel .commerce-row>span:first-child{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}.economy-panel .commerce-row i{margin:0}.economy-panel .commerce-row .game-icon{width:48px;height:48px}.economy-panel .commerce-row b{font-size:12px;line-height:1.4}.economy-panel .commerce-row small{font-size:10px}.economy-panel .commerce-row>strong{font-size:12px}.economy-panel .commerce-row>span:last-child{font-size:11px}@media(max-width:850px){.inventory-workbench{grid-template-columns:minmax(0,1fr)}.inventory-workbench .inventory-character-overview{display:grid;grid-template-columns:minmax(0,370px) minmax(0,1fr)}.inventory-workbench .inventory-equipped-display{max-width:370px}}@media(max-width:600px){.inventory-workbench .inventory-character-overview{display:flex}.inventory-workbench .inventory-equipped-display{width:100%;margin:auto}.inventory-workbench .paperdoll{grid-template-columns:88px minmax(0,1fr) 88px;gap:6px;height:280px}.inventory-workbench .loadout-avatar{transform:none;width:96px;height:96px;background-size:384px 384px}.inventory-workbench .gear-slot{height:120px}.inventory-workbench .character-status dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.inventory-storage-tabs button{font-size:12px}.inventory-workbench .inventory-browser[data-inventory-view=grid] .rpg-bag-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:340px}.inventory-workbench .inventory-bag>label{width:100%;margin-right:0}.inventory-workbench .packing-list{grid-template-columns:repeat(2,minmax(0,1fr))}.economy-panel .commerce-rows{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:6px}.economy-panel .commerce-row{min-height:125px;padding:6px 4px}}.panel.item-workspace{--ink:#f0e6d2;--muted:#c2b6a4;--line:#85725a;--gold:#e3b65b;width:min(760px,calc(100vw - 24px));max-width:760px;max-height:calc(100dvh - 24px);padding:0;border:2px solid var(--line);border-radius:3px;background:#191614;color:var(--ink);box-shadow:0 12px 38px #0009;overflow:auto;font-size:14px}.panel.item-workspace *{box-sizing:border-box}.panel.item-workspace [hidden]{display:none!important}.panel.item-workspace .panel-heading{position:sticky;top:0;z-index:5;min-height:42px;margin:0;padding:5px 12px;background:linear-gradient(#4b2529,#291317);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.panel.item-workspace .panel-heading .eyebrow{display:none}.panel.item-workspace .panel-heading h2{font-size:20px;color:var(--gold);margin:0;letter-spacing:0}.panel.item-workspace .panel-heading .close{width:36px;height:36px;padding:0;min-height:36px;font-size:26px}.panel.item-workspace .panel-body{padding:0;overflow:visible;max-height:none;color:var(--ink)}.panel.item-workspace h3,.panel.item-workspace h4,.panel.item-workspace b,.panel.item-workspace strong,.panel.item-workspace label,.panel.item-workspace dt,.panel.item-workspace dd{color:inherit}.panel.item-workspace p,.panel.item-workspace small{color:var(--muted)}.panel.item-workspace button,.panel.item-workspace button.outline,.panel.item-workspace button.primary,.panel.item-workspace .chip{background:#302822;color:var(--ink);border:1px solid #76634e;border-radius:2px;box-shadow:none;min-height:34px;padding:6px 10px;font:inherit;transform:none}.panel.item-workspace button.primary{background:#571f24;border-color:#a17a54}.panel.item-workspace button:hover{border-color:var(--gold);background:#3b3027}.panel.item-workspace button:disabled{opacity:.45;cursor:not-allowed}.panel.item-workspace button:focus-visible{outline:2px solid #f7d891;outline-offset:2px}.panel.item-workspace button.selected,.panel.item-workspace [aria-selected=true],.panel.item-workspace [aria-pressed=true]{border-color:var(--gold);color:#ffe3a1;background:#443524}.panel.item-workspace input,.panel.item-workspace select{background:#151311;color:var(--ink);border:1px solid #85725a;border-radius:2px;padding:7px;max-width:100%;font:inherit}.panel.item-workspace .economy-toolbar{position:static;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px;padding:5px 10px;background:#211b17;border:0;border-bottom:1px solid #5b4b3b;margin:0;min-height:0;border-radius:0}.panel.item-workspace .economy-toolbar button{font-size:13px;padding:4px 9px;min-height:30px}.panel.item-workspace .economy-wallet{display:flex;gap:12px;color:var(--gold);font-size:13px}.panel.item-workspace .economy-wallet span{background:none;padding:0;color:inherit}.panel.item-workspace .economy-content{padding:10px;max-height:none;overflow:visible}.panel.item-workspace .economy-receipt{position:static;margin:0;padding:6px 12px;border:0;border-radius:0;background:#243022;color:#d3e7b7;font-size:13px;min-height:0}.panel.item-workspace .economy-receipt button{padding:0 8px}.panel.item-workspace .item-inventory{display:block}.panel.item-workspace .inventory-character-overview{display:grid;grid-template-columns:180px 1fr;gap:16px;align-items:center;min-height:245px;padding:4px 18px 10px;margin:0}.panel.item-workspace .hero-summary{padding:16px 12px;background:linear-gradient(#291b15,#16110f);border:1px solid #69533f;text-align:center;min-width:0}.panel.item-workspace .hero-summary>strong{display:block;color:var(--gold);border-bottom:1px solid #604632;padding:4px}.panel.item-workspace .hero-summary h3{font-size:18px;overflow-wrap:anywhere;margin:10px 0}.panel.item-workspace dl{margin:8px 0}.panel.item-workspace dl>div{display:flex;justify-content:space-between;gap:10px;padding:3px 0}.panel.item-workspace dt{color:var(--muted)}.panel.item-workspace dd{margin:0;font-weight:700}.panel.item-workspace .hero-summary button{margin-top:8px}.panel.item-workspace .inventory-equipped-display{padding:0;min-width:0}.panel.item-workspace .equipment-loadout{padding:0;margin:0;border:0;border-radius:0;background:transparent}.panel.item-workspace .paperdoll{height:185px;min-height:0;max-width:360px;margin:auto;position:relative;background:radial-gradient(ellipse at 50% 80%,#53453355,transparent 60%);border:0;border-radius:0;display:block}.panel.item-workspace .loadout-avatar{position:absolute;width:128px;height:128px;top:18px;left:50%;transform:translate(-50%) scale(1.25);background-size:400% 400%;background-position:0 0;image-rendering:pixelated;filter:none}.panel.item-workspace button.equipment-socket{position:absolute;width:58px;height:58px;min-height:58px;padding:5px;display:grid;place-items:center;inset:auto;background:#100f0e;border:1px solid #8e7b62;border-radius:0}.panel.item-workspace .equipment-socket.gear-armor{left:6px;top:12px}.panel.item-workspace .equipment-socket.gear-guard{right:6px;top:12px}.panel.item-workspace .equipment-socket.gear-weapon{left:6px;bottom:12px}.panel.item-workspace .equipment-socket.gear-relic{right:6px;bottom:12px}.panel.item-workspace .slot-placeholder{font-size:30px;color:#786c5c}.panel.item-workspace .character-potion-belt{background:none;border:0;padding:0;margin:0;text-align:center}.panel.item-workspace .character-potion-belt h4{font-size:12px;font-weight:400;margin:0 0 4px;color:var(--muted)}.panel.item-workspace .character-potion-slots{display:flex;justify-content:center;gap:5px}.panel.item-workspace .character-potion-slot{position:relative;width:46px;height:46px;min-height:0;padding:0;border:0;background:none}.panel.item-workspace .character-potion-slot>button:first-child{width:46px;height:46px;min-height:0;padding:5px;display:grid;place-items:center;background:#100f0e}.panel.item-workspace .character-potion-slot small{position:absolute;bottom:1px;left:3px;font-size:10px}.panel.item-workspace .character-potion-slot .belt-remove{position:absolute;right:-5px;top:-5px;width:19px;height:19px;min-height:0;line-height:14px;padding:0;border-radius:50%;background:#492325}.panel.item-workspace .inventory-storage{display:block;min-width:0}.panel.item-workspace .inventory-storage-tabs{display:flex;gap:2px;padding:0;margin:0;border-bottom:1px solid var(--line);background:none}.panel.item-workspace .inventory-storage-tabs button{flex:0 1 auto;border-bottom:0;padding:7px 14px;border-radius:0;font-size:14px}.panel.item-workspace .bag-filters{margin:6px 0;color:var(--muted);font-size:13px}.panel.item-workspace summary{cursor:pointer;padding:5px}.panel.item-workspace .inventory-categories{display:flex;flex-wrap:wrap;gap:3px;margin:4px 0;background:none;padding:0;border:0}.panel.item-workspace .bag-filters input{width:58%;margin-right:4px}.panel.item-workspace .rpg-bag-grid,.panel.item-workspace .commerce-rows,.panel.item-workspace .material-bag-grid,.panel.item-workspace .packing-list{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:3px;padding:5px;background:#100f0e;border:1px solid #655744;min-height:0;max-height:none;overflow:visible;margin:6px 0}.panel.item-workspace .bag-item,.panel.item-workspace .commerce-row,.panel.item-workspace .material-bag-grid>button,.panel.item-workspace .potion-cell,.panel.item-workspace .item-empty-cell{position:relative;display:grid;place-items:center;aspect-ratio:1;min-width:0;width:100%;min-height:0;height:auto;padding:5px;border:1px solid #51483d;border-radius:0;background:linear-gradient(135deg,#26211c,#100f0e);box-shadow:inset 0 0 8px #0006;margin:0;overflow:hidden}.panel.item-workspace .bag-item.selected,.panel.item-workspace .commerce-row.selected{border:2px solid #dab668;background:#392f20}.panel.item-workspace .bag-glyph,.panel.item-workspace .commerce-icon{display:grid;place-items:center;width:100%;height:100%;margin:0}.panel.item-workspace .game-icon{width:38px;height:38px;max-width:100%;object-fit:contain;image-rendering:pixelated;vertical-align:middle;margin:0}.panel.item-workspace .item-corner{position:absolute;right:2px;bottom:0;font-size:10px;color:#ffe6ae;text-shadow:1px 1px #000,-1px -1px #000;line-height:15px}.panel.item-workspace .item-flags{position:absolute;left:1px;top:1px;font-size:10px;color:#e3b65b;line-height:12px}.panel.item-workspace .item-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;font-size:12px;color:var(--muted);padding:2px 0}.panel.item-workspace .item-pagination button{min-height:30px;width:32px;padding:2px}.panel.item-workspace .bag-capacity{border-top:1px solid #655744;color:var(--gold);font-size:12px;padding:6px 4px;margin-top:5px}.panel.item-workspace .item-overlay{position:fixed;z-index:100;top:50%;left:50%;transform:translate(-50%,-50%);width:min(650px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;background:#1a1714;border:2px solid #9d8565;border-radius:2px;padding:34px 16px 16px;box-shadow:0 0 0 100vmax #0008,0 8px 30px #000b;color:var(--ink);margin:0;display:block}.panel.item-workspace .item-detail-close{position:absolute;right:5px;top:4px;width:30px;min-height:28px;padding:0;font-size:22px}.panel.item-workspace .item-compare-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.panel.item-workspace .item-compare-card:only-child{grid-column:1/-1}.panel.item-workspace .item-compare-card{border:1px solid #695b48;padding:12px;background:#1e1a17}.panel.item-workspace .item-compare-card header{text-align:center;color:var(--gold);border-bottom:1px solid #5d4c3a;padding-bottom:7px;font-size:13px}.panel.item-workspace .item-compare-card h3{font-size:17px;margin:10px 0;overflow-wrap:anywhere}.panel.item-workspace .item-portrait{display:flex;align-items:center;gap:12px}.panel.item-workspace .item-portrait>.game-icon{width:60px;height:60px}.panel.item-workspace .item-portrait>div{display:grid;gap:4px;font-size:12px}.panel.item-workspace .compare-actions,.panel.item-workspace .detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.panel.item-workspace .stat-up{color:#96dc79}.panel.item-workspace .stat-down{color:#ff9285}.panel.item-workspace .stat-same{color:#bdaf98}.panel.item-workspace .grade-badge{background:#332b22;border:1px solid #77634b;color:#e5d5b5;box-shadow:none}.panel.item-workspace .gear-stat-table{width:100%;font-size:13px;border-collapse:collapse;background:none}.panel.item-workspace .gear-stat-table th,.panel.item-workspace .gear-stat-table td{padding:7px 4px;border-bottom:1px solid #534633;background:transparent;color:inherit}.panel.item-workspace .gear-stat-table td.stat-up{color:#96dc79}.panel.item-workspace .gear-stat-table td.stat-down{color:#ff9285}.panel.item-workspace .character-status{background:transparent;border:0;padding:0;margin:0;color:inherit}.panel.item-workspace .character-tabs{display:flex;gap:5px}.panel.item-workspace .character-status h3{font-size:17px}.panel.item-workspace .character-status dl>div{background:transparent;border-bottom:1px solid #4a3d2d}.panel.item-workspace .character-status ul{padding:0;list-style:none}.panel.item-workspace .character-status li{display:flex;justify-content:space-between;padding:5px}.panel.item-workspace .commerce-browser,.panel.item-workspace .shop-three-column,.panel.item-workspace .shop-catalogue{display:block;max-height:none;background:none;border:0;margin:0;padding:0}.panel.item-workspace .commerce-list{min-width:0;max-height:none;overflow:visible;border:0;padding:0;background:none}.panel.item-workspace .commerce-categories,.panel.item-workspace .shop-category-tabs,.panel.item-workspace .merchant-tabs,.panel.item-workspace .forge-tabs{position:static;display:flex;flex-wrap:wrap;gap:4px;background:none;border:0;padding:4px 0;margin:0}.panel.item-workspace .commerce-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:4px 0}.panel.item-workspace .commerce-tools h3,.panel.item-workspace .shop-list-intro h3{font-size:15px;margin:0}.panel.item-workspace .commerce-tools>small{display:none}.panel.item-workspace .shop-list-intro{display:flex;justify-content:space-between;padding:5px 0}.panel.item-workspace .shop-list-intro span{font-size:12px}.panel.item-workspace .shop-filter-drawer{font-size:13px;margin:3px 0}.panel.item-workspace .shop-list-tools{position:static;display:flex;flex-wrap:wrap;gap:10px;background:none;padding:8px 0;border:0}.panel.item-workspace .shop-list-tools label{display:grid;gap:4px}.panel.item-workspace .shop-list-tools .shop-budget{display:flex;align-items:center}.panel.item-workspace .commerce-detail-heading{display:block}.panel.item-workspace .commerce-detail-heading h3{font-size:18px;margin:4px 0 12px}.panel.item-workspace .commerce-detail-action{margin:12px 0}.panel.item-workspace .product-metrics>div,.panel.item-workspace .packing-stats>div{background:transparent;border-bottom:1px solid #4a3d2d}.panel.item-workspace .packing-stats{display:block}.panel.item-workspace .packing-controls{display:flex;gap:10px}.panel.item-workspace .merchant-sell>h3,.panel.item-workspace .merchant-sell>p:not(.sale-receipt){display:none}.panel.item-workspace .sale-receipt{background:#263324;color:#cfdfb6;padding:8px;border:0}.panel.item-workspace .shop-reference-values{display:flex;flex-wrap:wrap;gap:8px}.panel.item-workspace .shop-value{padding:5px;background:transparent;color:inherit}.panel.item-workspace .detail-tabs{display:flex;gap:4px}.panel.item-workspace .item-overview{display:flex;gap:16px;background:transparent}.panel.item-workspace .item-overview .product-icon .game-icon{width:64px;height:64px}.panel.item-workspace .item-manage{background:transparent;border:0;padding:0}.panel.item-workspace .item-recycle{margin-top:16px;border-top:1px solid #655744}.panel.item-workspace .drop-ready{outline:1px dashed #d7c385}.panel.item-workspace .drop-over{outline:3px solid #e3c270;background:#53482a}.panel.item-workspace [draggable=true]{touch-action:none}.panel.item-workspace .rarity-Rare h3,.panel.item-workspace h3.rarity-Rare{color:#94baff}.panel.item-workspace h3.rarity-Epic{color:#d2a0ff}.panel.item-workspace h3.rarity-Legendary{color:#ffcc72}@media(max-width:600px){.panel.item-workspace{width:calc(100vw - 8px);max-height:calc(100dvh - 8px);margin:0}.panel.item-workspace .economy-content{padding:6px}.panel.item-workspace .inventory-character-overview{grid-template-columns:110px 1fr;gap:6px;padding:2px;min-height:220px}.panel.item-workspace .hero-summary{padding:8px 6px;font-size:12px}.panel.item-workspace .hero-summary h3{font-size:14px}.panel.item-workspace .hero-summary dl>div{gap:3px}.panel.item-workspace .hero-summary button{font-size:12px;min-height:44px;padding:4px}.panel.item-workspace .paperdoll{height:160px}.panel.item-workspace button.equipment-socket{width:44px;height:44px;min-height:44px;padding:2px}.panel.item-workspace .loadout-avatar{width:96px;height:96px;top:30px;transform:translate(-50%)}.panel.item-workspace .equipment-socket.gear-armor,.panel.item-workspace .equipment-socket.gear-weapon{left:0}.panel.item-workspace .equipment-socket.gear-guard,.panel.item-workspace .equipment-socket.gear-relic{right:0}.panel.item-workspace .rpg-bag-grid,.panel.item-workspace .commerce-rows,.panel.item-workspace .material-bag-grid,.panel.item-workspace .packing-list{grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;padding:3px}.panel.item-workspace .inventory-storage-tabs button{flex:1;padding:6px 4px;font-size:13px;min-height:44px}.panel.item-workspace .item-overlay{top:auto;bottom:env(safe-area-inset-bottom,0px);left:4px;transform:none;width:calc(100vw - 8px);max-height:85dvh;padding:42px 12px 14px}.panel.item-workspace .item-detail-close{width:40px;min-height:36px}.panel.item-workspace .item-compare-pair{grid-template-columns:1fr;gap:6px}.panel.item-workspace .item-compare-card{padding:8px}.panel.item-workspace .item-compare-card h3{font-size:15px}.panel.item-workspace .item-portrait>.game-icon{width:42px;height:42px}.panel.item-workspace .item-overlay button{min-height:44px}.panel.item-workspace .item-pagination button{width:44px;min-height:44px}.panel.item-workspace .economy-toolbar button{min-height:38px}.panel.item-workspace .game-icon{width:36px;height:36px}.panel.item-workspace .item-corner{font-size:10px}.panel.item-workspace .bag-capacity{font-size:11px}.panel.item-workspace .panel-heading h2{font-size:17px}}.panel.item-workspace .bag-capacity{position:static;inset:auto;width:auto;background:transparent;display:block;min-height:0;box-shadow:none}.panel.item-workspace .economy-wallet{padding:0}.panel.item-workspace .economy-wallet .wallet-gold,.panel.item-workspace .economy-wallet .wallet-gold b{font-size:14px;line-height:1.3}.panel.item-workspace .economy-toolbar{min-height:36px}.panel.item-workspace .game-icon{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0}.panel.item-workspace .bag-glyph{grid-column:auto;grid-row:auto}.panel.item-workspace .inventory-storage-tabs button[aria-selected=true]{background:#49351f;color:#ffe6af;border-color:#b39262}.panel.item-workspace .panel-heading button.close{background:#341b18;color:#e9d6b4;border:1px solid #8d7154;border-radius:0}.panel.item-workspace .equipment-socket{transform:none}.panel.item-workspace .character-potion-slot>button:first-child>span{color:#978269}.panel.item-workspace .upgrade-preview,.panel.item-workspace .upgrade-values>div,.panel.item-workspace .upgrade-cost>span,.panel.item-workspace .gear-numbers>span{background:#26201a;color:#e6d6bd;border:1px solid #6d5943;border-radius:2px;box-shadow:none}.panel.item-workspace .recipe-requirements{padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px}.panel.item-workspace .recipe-requirements li{background:#211b16;border:1px solid #62503d;padding:8px;display:flex;flex-direction:column;min-width:100px}.panel.item-workspace .recipe-requirements li>span{display:grid;gap:4px}.panel.item-workspace .resource-ready{color:#a6d989}@media(max-width:600px){.panel.item-workspace .economy-wallet .wallet-gold,.panel.item-workspace .economy-wallet .wallet-gold b{font-size:12px}.panel.item-workspace .economy-toolbar{gap:3px}.panel.item-workspace .economy-home{display:none}.panel.item-workspace .economy-wallet{width:100%;justify-content:space-between;gap:4px}.panel.item-workspace .economy-wallet button{margin:0}.panel.item-workspace .hero-summary{padding:7px 5px}.panel.item-workspace .hero-summary dl{font-size:12px}.panel.item-workspace .hero-summary dt{max-width:70px}.panel.item-workspace .inventory-character-overview{min-height:205px}}.panel.item-workspace .panel-heading>div{flex:1;text-align:center}.panel.item-workspace .hero-summary dl{line-height:1.35;margin:8px 0}.panel.item-workspace .hero-summary dl>div{min-height:0;padding:3px 0}.panel.item-workspace .hero-summary dt,.panel.item-workspace .hero-summary dd{margin:0;font-size:13px}.panel.item-workspace{width:min(700px,calc(100vw - 24px))}.panel.item-workspace .inventory-character-overview{min-height:220px}.panel.item-workspace .hero-summary{padding:10px 12px}.panel.item-workspace .hero-summary h3{margin:6px 0}.panel.item-workspace .item-pagination button:disabled,.panel.item-workspace button:disabled{background:#24201b!important;color:#998b77!important;border-color:#564b3d!important;opacity:.6!important}.panel.item-workspace .merchant-inventory>h3{font-size:14px;text-align:center;color:var(--gold);margin:4px 0}.panel.item-workspace .merchant-inventory{border-top:1px solid #68553f;margin-top:12px;padding-top:8px}@media(min-width:1180px){.panel.item-workspace.merchant-window{width:1100px;max-width:1100px}.panel.item-workspace .merchant-workspace{display:grid;grid-template-columns:330px minmax(0,1fr);gap:14px}.panel.item-workspace .merchant-inventory{border-top:0;border-left:1px solid #68553f;padding:0 0 0 12px;margin:0}.panel.item-workspace .merchant-stock .commerce-rows{grid-template-columns:repeat(6,minmax(0,1fr))}.panel.item-workspace .merchant-inventory .inventory-character-overview{grid-template-columns:150px 1fr;padding-inline:4px}}.panel.item-workspace .craft-station{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.8fr);gap:12px}.panel.item-workspace .craft-station .commerce-categories{grid-column:1/-1}.panel.item-workspace .craft-station .commerce-rows{grid-template-columns:repeat(6,minmax(0,1fr))}.panel.item-workspace .craft-station .commerce-detail:not([hidden]){position:static;transform:none;width:auto;max-height:none;box-shadow:none;background:#211b16;border:1px solid #68553f;padding:12px;border-radius:0}@media(max-width:600px){.panel.item-workspace{width:calc(100vw - 8px)}.panel.item-workspace .inventory-character-overview{min-height:200px}.panel.item-workspace .hero-summary{padding:7px 5px}.panel.item-workspace .hero-summary dt,.panel.item-workspace .hero-summary dd{font-size:12px}.panel.item-workspace .craft-station{display:block}.panel.item-workspace .craft-station .commerce-detail{margin-top:10px}.panel.item-workspace .merchant-inventory .inventory-character-overview{grid-template-columns:100px 1fr}}.panel.item-workspace .item-hover-preview{left:var(--hover-x,12px);top:var(--hover-y,12px);bottom:auto;transform:none;width:600px;max-width:calc(100vw - 24px);pointer-events:none;box-shadow:0 8px 24px #0009;padding:12px;max-height:calc(100dvh - 24px)}.panel.item-workspace .item-hover-preview .compare-actions,.panel.item-workspace .item-hover-preview .commerce-detail-action{display:none}.panel.item-workspace .item-action-error{padding:10px;background:#4b2524;color:#ffbcb0;border:1px solid #aa6c5c;margin:8px 0}.panel.item-workspace .bag-item:hover{outline:1px solid #d4b277;outline-offset:-2px;background:#3a3024}@media(max-height:700px)and (min-width:601px){.panel.item-workspace .inventory-character-overview{min-height:180px}.panel.item-workspace .paperdoll{height:145px}.panel.item-workspace .loadout-avatar{top:5px;transform:translate(-50%)}.panel.item-workspace .hero-summary h3{margin:2px}.panel.item-workspace .hero-summary{padding:5px}.panel.item-workspace .hero-summary>strong{padding:0}}.panel.item-workspace .commerce-row{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.panel.item-workspace .commerce-row>span.commerce-icon{display:grid;place-items:center;grid-template-columns:1fr;width:100%;height:100%;min-width:0;gap:0}.panel.item-workspace .commerce-row .game-icon{width:38px;height:38px}.panel.item-workspace .shop-category-tabs button,.panel.item-workspace .commerce-categories button{width:auto;min-width:0;flex:0 1 auto}.panel.item-workspace .shop-category-tabs,.panel.item-workspace .commerce-categories{flex-direction:row;align-items:center;gap:4px}.panel.item-workspace [data-bag-pane]{background:transparent;border:0;padding:0}.panel.item-workspace .potion-packing{background:transparent;border:0;padding:0;margin:0}.panel.item-workspace button:not(:disabled){background:#302822!important;color:#f0e6d2!important;border-color:#76634e!important;border-radius:2px!important;box-shadow:none!important}.panel.item-workspace button.primary:not(:disabled){background:#571f24!important;border-color:#a17a54!important}.panel.item-workspace button.selected:not(:disabled),.panel.item-workspace button[aria-selected=true]:not(:disabled),.panel.item-workspace button[aria-pressed=true]:not(:disabled){background:#49351f!important;color:#ffe6af!important;border-color:#b39262!important}.panel.item-workspace button.bag-item:not(:disabled),.panel.item-workspace button.commerce-row:not(:disabled),.panel.item-workspace button.potion-cell:not(:disabled),.panel.item-workspace button.equipment-socket:not(:disabled),.panel.item-workspace .material-bag-grid>button:not(:disabled){background:linear-gradient(135deg,#26211c,#100f0e)!important;border-radius:0!important}.panel.item-workspace button.bag-item.selected:not(:disabled),.panel.item-workspace button.commerce-row.selected:not(:disabled){background:#49351f!important}.panel.item-workspace .commerce-row>.item-corner{position:absolute;inset:auto 2px 0 auto;width:max-content;max-width:100%;height:auto;white-space:nowrap;writing-mode:horizontal-tb;display:block;grid-column:auto;line-height:14px;font-size:10px}.panel.item-workspace .merchant-pane-tabs{display:flex;gap:6px}.panel.item-workspace .merchant-pane-tabs button{flex:1;min-height:44px}@media(min-width:1180px){.panel.item-workspace .merchant-pane-tabs{display:none}}@media(max-width:1179px){.panel.item-workspace:not([data-merchant-pane=bag]) .merchant-inventory{display:none}.panel.item-workspace[data-merchant-pane=bag] .merchant-stock{display:none}.panel.item-workspace .merchant-inventory{border:0;margin:0;padding:0}}.panel.item-workspace .potion-details{width:min(440px,calc(100vw - 24px));padding:42px 18px 18px;line-height:1.5;overflow-wrap:normal}.panel.item-workspace .potion-details h3{margin:0 38px 12px 0;font-size:18px;line-height:1.5;overflow-wrap:anywhere}.panel.item-workspace .potion-details .packing-stats{margin:12px 0;text-align:left}.panel.item-workspace .potion-details .packing-stats>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:7px 0}.panel.item-workspace .potion-details .packing-stats dt{margin:0;font-size:13px}.panel.item-workspace .potion-details .packing-stats dd{margin:0;white-space:nowrap;font-size:16px}.panel.item-workspace .potion-details .packing-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 10px}.panel.item-workspace .potion-details .packing-controls button{width:100%;min-width:0;height:auto;min-height:44px;padding:10px 8px;font-size:14px;line-height:1.5;white-space:nowrap;word-break:normal;overflow-wrap:normal}.panel.item-workspace .potion-details>p{font-size:13px;margin:10px 0 0}@media(max-width:600px){.panel.item-workspace .potion-details{left:12px;bottom:max(12px,env(safe-area-inset-bottom));max-height:calc(100dvh - 24px);padding:42px 14px 16px}}.panel.item-workspace [data-browser=merchant-sale] .commerce-row:disabled{filter:grayscale(1);opacity:.55;background:#555;border-color:#777;cursor:not-allowed;transform:none;box-shadow:none}.panel.item-workspace [data-browser=merchant-sale] .commerce-row:disabled .item-corner{color:#fff;background:#444}body.in-battle .wave-top,body.in-battle .wave-bottom,body.in-battle .wave-feedback,body.in-battle #pickup-notice,body.in-battle #boss-alert,body.in-battle #checkpoint-status{pointer-events:none!important}body.in-battle .wave-top button,body.in-battle .potion-belt button,body.in-battle .action-pad button{pointer-events:auto}body.in-battle .wave-top{position:fixed;top:max(6px,env(safe-area-inset-top));left:8px;right:8px;display:flex;justify-content:space-between;align-items:flex-start;gap:6px}body.in-battle .wave-top>div{padding:3px 7px!important;border:0!important;border-radius:5px!important;background:#17251f99!important;box-shadow:none!important;color:#fff!important;min-width:0}body.in-battle .wave-top>div:first-child{background:transparent!important;padding:0!important;display:flex;gap:5px}body.in-battle .wave-top>div:first-child>small,body.in-battle #battle-xp,body.in-battle #battle-gold,body.in-battle #encounter-label{display:none!important}body.in-battle .wave-top>div:nth-child(2){flex:0 1 auto;max-width:min(280px,60vw);text-align:center}body.in-battle #wave-label{font-size:13px!important;line-height:1.3;letter-spacing:0;color:#fff!important;display:block}body.in-battle #wave-left{font-size:10px!important;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;color:#e6efe6!important;display:block}body.in-battle #battle-time{font-size:12px!important;padding:5px!important;white-space:nowrap}body.in-battle .pause-button{width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;margin:0!important;font-size:16px!important}body.in-battle .training-home{position:static!important;min-height:36px!important;margin:0!important;padding:4px 6px!important;font-size:10px!important}body.in-battle .wave-bottom{position:fixed;inset:50px 8px auto;display:flex;justify-content:space-between;align-items:flex-start;gap:6px}body.in-battle .wave-bottom>div{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}body.in-battle .wave-bottom>div:first-child{width:125px;max-width:40vw;padding:4px 6px!important;background:#17251f88!important;border-radius:4px}body.in-battle #hearts,body.in-battle .wave-bottom>div:first-child>small:last-child{display:none!important}body.in-battle .battle-hp,body.in-battle .battle-stamina{height:5px!important;margin:2px 0!important;border:0!important}body.in-battle #hp-value,body.in-battle #stamina-value{font-size:10px!important;line-height:1.2!important;color:#fff!important;display:block}body.in-battle #potion-buffs,body.in-battle #tactical-status{font-size:10px!important;line-height:1.3!important;color:#fff!important;max-width:150px}body.in-battle #combo{font-size:13px!important;color:#ffe2a0!important}body.in-battle #fever{font-size:10px!important}body.in-battle .wave-feedback{position:fixed;top:auto!important;bottom:12px;left:25%;right:25%;text-align:center;line-height:1.2;background:none!important}body.in-battle .wave-feedback b{font-size:13px!important;color:#fff!important;text-shadow:0 1px 3px #000}body.in-battle #pickup-notice{position:fixed!important;inset:110px auto auto 8px!important;width:160px!important;max-height:42px;overflow:hidden;padding:3px 5px!important;background:#17251faa!important;color:#fff!important;font-size:10px!important;border:0!important;border-radius:3px!important;box-shadow:none!important}body.in-battle #pickup-notice>strong{display:none}body.in-battle #pickup-notice b,body.in-battle #pickup-notice small{font-size:10px!important;color:#fff!important}body.in-battle #checkpoint-status{top:6px;max-width:50vw;font-size:10px;padding:3px}body.in-battle .move-pad.joystick{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;margin:0!important;padding:0!important;transform:none!important;pointer-events:none!important;z-index:8;visibility:hidden;--thumb-travel:34}body.in-battle .move-pad.joystick.dragging{visibility:visible}body.in-battle .move-pad.joystick small{display:none}body.in-battle .move-pad.joystick .joystick-base{width:100px!important;height:100px!important;border:2px solid #ede9cc88!important;background:#292c2233!important;box-shadow:none!important;left:var(--stick-x);top:var(--stick-y)}body.in-battle .move-pad.joystick .joystick-stick{width:36px!important;height:36px!important;left:30px!important;top:30px!important;border:1px solid #fff9!important;background:#e7e2c677!important;box-shadow:none!important}body.battle-paused .move-pad.joystick{visibility:hidden!important}@media(max-width:650px),(max-width:1000px)and (max-height:650px){body.in-battle .action-pad{width:150px!important;height:132px!important;right:8px!important;bottom:max(8px,env(safe-area-inset-bottom))!important;display:block!important}body.in-battle .action-pad #attack-button,body.in-battle .action-pad #evade-button,body.in-battle .action-pad #special-button{position:absolute!important;min-width:0!important;min-height:0!important;padding:3px!important;font-size:10px!important;opacity:.86;box-shadow:none!important}body.in-battle .action-pad #attack-button{width:64px!important;height:64px!important;inset:auto 0 0 auto!important}body.in-battle .action-pad #evade-button{width:56px!important;height:56px!important;inset:auto auto 0 12px!important}body.in-battle .action-pad #special-button{width:56px!important;height:56px!important;inset:4px 0 auto auto!important}body.in-battle .potion-belt{position:fixed;right:8px!important;bottom:150px!important;gap:4px!important}body.in-battle .potion-belt button{width:38px!important;height:38px!important;min-height:38px!important;opacity:.85}}body.in-battle{--attack-size:132.3px;--utility-size:108.1px;--potion-width:66.7px;--potion-height:73.6px;--combat-gap:20px;--combat-edge:max(12px,env(safe-area-inset-bottom))}@media(max-width:650px),(orientation:landscape)and (max-height:650px){body.in-battle{--attack-size:86.4px;--utility-size:64.4px;--potion-width:43.7px;--potion-height:43.7px;--combat-gap:16px;--combat-edge:max(10px,env(safe-area-inset-bottom))}}body.in-battle .action-pad{width:calc(var(--attack-size) + var(--utility-size) + var(--combat-gap))!important;height:calc(var(--attack-size) + var(--utility-size) + var(--combat-gap))!important;right:max(12px,env(safe-area-inset-right))!important;bottom:var(--combat-edge)!important;display:block!important}body.in-battle .action-pad #attack-button,body.in-battle .action-pad #evade-button,body.in-battle .action-pad #special-button{position:absolute!important;min-width:0!important;min-height:0!important;margin:0!important}body.in-battle .action-pad #attack-button{width:var(--attack-size)!important;height:var(--attack-size)!important;inset:auto 0 0 auto!important}body.in-battle .action-pad #evade-button{width:var(--utility-size)!important;height:var(--utility-size)!important;inset:auto auto 0 0!important}body.in-battle .action-pad #special-button{width:var(--utility-size)!important;height:var(--utility-size)!important;inset:0 0 auto auto!important}body.in-battle .potion-belt{position:fixed;right:max(12px,env(safe-area-inset-right))!important;bottom:calc(var(--combat-edge) + var(--attack-size) + var(--utility-size) + var(--combat-gap) * 2)!important;gap:var(--combat-gap)!important}body.in-battle .potion-belt button{width:var(--potion-width)!important;height:var(--potion-height)!important;min-height:var(--potion-height)!important;min-width:var(--potion-width)!important}body.in-battle .potion-belt .heal-key-hint{top:auto;bottom:100%;margin:0 0 6px}.atlas-screen{color:#efdfb3;background:#171f20;padding:12px}.atlas-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px}.atlas-toolbar p{margin:0 0 12px}.atlas-toolbar small{color:#bec9b8}.atlas-toolbar select{background:#252a24;color:#fff2c5;border:1px solid #a28c62;padding:8px;min-height:44px}.atlas-scroll{overflow:auto;max-height:68dvh;border:1px solid #837754}.atlas-art{position:relative;aspect-ratio:1;min-width:800px;max-width:1100px;margin:auto;isolation:isolate}.atlas-art>img{width:100%;height:100%;display:block;image-rendering:pixelated}.atlas-art>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.atlas-art polyline{fill:none;stroke:#e4c378;stroke-width:.35;stroke-dasharray:.6 .7;opacity:.75}.atlas-art .atlas-pin{position:absolute;transform:translate(-50%,-50%);border:2px solid #b7a57a;background:#222b29;color:#fff7dc;width:30px;height:30px;min-width:30px;min-height:30px;border-radius:50%;font:700 11px sans-serif;padding:0;box-shadow:0 2px 5px #000b;cursor:pointer}.atlas-art .atlas-pin:disabled{opacity:.7;background:#171d1d;color:#a7aaa3;cursor:default}.atlas-art .atlas-pin.current{border-color:#ffd55e;box-shadow:0 0 0 4px #ffe38d55;background:#6b3e20}.atlas-art .atlas-pin.cleared{background:#355c3b;border-color:#a6cd8f}.atlas-directory{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:5px;margin-top:12px;max-height:160px;overflow:auto}.atlas-directory button{font-size:12px;text-align:left;min-height:44px;background:#222b29;border:1px solid #57614c;color:#e9e0bf;padding:6px}.atlas-directory button span{color:#d9b761;margin-right:8px}.atlas-directory button:disabled{opacity:.45}.region-banner{display:flex;align-items:center;gap:12px;margin:12px 0}.region-banner img{width:110px;height:90px;object-fit:cover;image-rendering:pixelated;border:1px solid #bfa971}.region-banner p{margin:0}.region-local .node-grid{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}.region-local .node{min-height:100px;padding:10px}.region-local .node-icon{font-size:22px}@media(max-width:600px){.atlas-art{min-width:960px}.atlas-toolbar{align-items:flex-start}.atlas-toolbar p{font-size:13px}.atlas-art .atlas-pin{width:36px;height:36px}.region-banner img{width:80px;height:80px}}.panel .atlas-screen .atlas-toolbar p,.panel .atlas-screen .atlas-toolbar label{color:#efdfb3}.panel .atlas-screen .atlas-toolbar small{color:#ced8c6}.panel.atlas-panel{background:#192120;border:1px solid #9a8054;border-radius:8px;color:#efe1b9;box-shadow:0 12px 50px #0008}.panel.atlas-panel .panel-heading{padding:14px 20px;background:#28231c;border-bottom:1px solid #806b49}.panel.atlas-panel .panel-heading h2{color:#f0c874;font-size:23px;margin:3px 0}.panel.atlas-panel .eyebrow,.panel.atlas-panel .close{color:#d2b37f}.panel.atlas-panel .panel-body{padding:14px}.panel.atlas-panel p,.panel.atlas-panel label,.panel.atlas-panel strong{color:#efdfb3}.panel.atlas-panel small{color:#c3cbb6}.panel.atlas-panel select,.panel.atlas-panel .outline{background:#28302a;color:#efe1b9;border:1px solid #887650;border-radius:4px;box-shadow:none}.panel.atlas-panel .node{background:#252e28;border:1px solid #657158;border-radius:5px;box-shadow:none;color:#e6ce94}.panel.atlas-panel .node.current{background:#403822;border-color:#efc85c}.panel.atlas-panel .node:disabled{opacity:.5}.panel.atlas-panel .atlas-screen{padding:0}@media(max-width:600px){.panel.atlas-panel .panel-heading{padding:10px 14px}.panel.atlas-panel .panel-body{padding:10px}}.panel.atlas-panel button{transition:none}.panel.atlas-panel select{background:#28302a!important;color:#efe1b9!important;border-color:#887650!important}.panel.atlas-panel .node-icon{color:#d8bb7d}.atlas-art>img{pointer-events:none}.panel.atlas-panel .atlas-pin{z-index:2}.panel.atlas-panel .atlas-pin:active:not(:disabled){transform:translate(-50%,-50%)}.atlas-art .atlas-pin{overflow:visible}.atlas-art .atlas-pin[aria-disabled=true]{background:#171d1d;color:#a7aaa3;cursor:help}.atlas-pin-label{display:none;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);width:max-content;max-width:210px;white-space:normal;background:#211e17;color:#fff1ce;border:1px solid #d2b37f;border-radius:5px;padding:7px 10px;font:600 13px/1.4 sans-serif;box-shadow:0 3px 9px #0008;pointer-events:none}.atlas-pin-label small{display:block;font-size:10px;font-weight:400;margin-top:3px}.atlas-art .atlas-pin:is(:hover,:focus-visible,.selected){z-index:5}.atlas-marker:has(.atlas-pin:is(:hover,:focus-visible,.selected)) .atlas-pin-label,.atlas-marker:focus-within .atlas-pin-label{display:block}.atlas-marker{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px;z-index:2}.atlas-marker:has(.atlas-pin:is(:hover,:focus-visible,.selected)),.atlas-marker:focus-within{z-index:6}.atlas-art .atlas-marker .atlas-pin{position:relative;left:auto;top:auto;transform:none}.panel.atlas-panel .atlas-marker .atlas-pin:active:not(:disabled){transform:none}.atlas-marker:has(.atlas-pin.selected) .atlas-pin-label{pointer-events:auto;text-align:center}#app .panel .atlas-travel{display:none;background:#ac2027;color:#fff;border:1px solid #e46c65;border-radius:4px;padding:4px 12px;min-height:28px;font-size:12px;line-height:18px;margin:5px auto 0}#app .panel .atlas-marker:has(.atlas-pin.selected) .atlas-travel{display:block}@media(max-width:600px){.atlas-marker{width:36px;height:36px}}#app .panel button:not(:disabled):not([aria-disabled=true]),#app .panel summary,#app .panel [role=button]:not([aria-disabled=true]){cursor:pointer;transition:filter .14s ease,box-shadow .14s ease,border-color .14s ease,translate .1s ease}@media(hover:hover){#app .panel button:not(:disabled):not([aria-disabled=true]):hover,#app .panel summary:hover,#app .panel [role=button]:not([aria-disabled=true]):hover{filter:brightness(1.2);box-shadow:inset 0 0 0 2px #e7bb65,0 2px 7px #0004}}#app .panel button:not(:disabled):not([aria-disabled=true]):active,#app .panel summary:active,#app .panel [role=button]:not([aria-disabled=true]):active{filter:brightness(.9);box-shadow:inset 0 0 0 2px #ffe1a2,inset 0 3px 6px #0005;translate:0 1px}#app .panel button:focus-visible,#app .panel summary:focus-visible,#app .panel [role=button]:focus-visible{outline:2px solid #e7bb65;outline-offset:2px}@media(prefers-reduced-motion:reduce){#app .panel button,#app .panel summary,#app .panel [role=button]{transition:none}}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}html,body{width:100%;min-height:100%;overscroll-behavior:none}#game{width:100vw;height:var(--screen-height,100dvh);max-width:none;max-height:none}#app{width:100%;min-height:var(--screen-height,100dvh);max-width:none}#app>header .hub-top-actions{right:max(24px,env(safe-area-inset-right));max-width:35vw}#fullscreen-toggle{position:fixed;left:calc(max(8px,env(safe-area-inset-left)) + 44px);bottom:max(8px,env(safe-area-inset-bottom));width:32px;height:32px;border:1px solid #b7ceaa;border-radius:50%;background:#fff9;color:#314c34;z-index:40;padding:0;font-size:22px;line-height:1}#landscape-gate{border:0;margin:0;width:100vw;max-width:none;height:var(--screen-height,100dvh);max-height:none;padding:24px;background:#172821;color:#fff;text-align:center;z-index:100000}#landscape-gate[open]{display:grid;place-items:center}#landscape-gate::backdrop{background:#172821}#landscape-gate section{max-width:460px}#landscape-gate section>span{font-size:64px;color:#bce2a7}#landscape-gate p,#landscape-gate small{color:#d6e8cd}#landscape-gate button{background:#bce2a7;color:#172821;border:1px solid #d6e8cd;padding:12px 24px;border-radius:12px;font-weight:700;min-height:48px}#landscape-gate small{display:block;margin-top:16px}.landscape-required{overflow:hidden}#wave-choices .wave-upgrade,#wave-choices .wave-upgrade.with-pickups{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);max-height:calc(var(--screen-height,100dvh) - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto;overflow-x:hidden;min-height:0}body.in-battle #wave-choices .wave-upgrade #pickup-notice{position:static!important;width:100%!important;max-height:none;flex:none}body.in-battle:has(#wave-choices .wave-upgrade) :is(.action-pad,.potion-belt){visibility:hidden;pointer-events:none}.panel-backdrop>.panel{max-height:100%;min-height:0}.panel.item-workspace .panel-body,.panel.skill-workspace .panel-body{flex-shrink:0}@media(orientation:landscape)and (max-height:600px){#wave-choices .wave-upgrade{padding:12px;gap:8px}#wave-choices .wave-upgrade h2{font-size:18px}#wave-choices .wave-upgrade p{font-size:13px;line-height:1.4}#wave-choices .wave-upgrade .blessing-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}#wave-choices .wave-upgrade .blessing-card{padding:10px;gap:4px}#wave-choices .wave-upgrade .blessing-card strong{font-size:15px;padding-right:0}#wave-choices .wave-upgrade .blessing-card span{font-size:13px}#wave-choices .wave-upgrade .blessing-card small{font-size:12px}#wave-choices .wave-upgrade .blessing-card b{position:static;font-size:12px}#wave-choices .wave-upgrade #break-time{font-size:12px;padding-top:6px}.panel-backdrop{padding:8px max(8px,env(safe-area-inset-right)) 8px max(8px,env(safe-area-inset-left))}.panel-backdrop .panel-heading{padding:8px 12px}.panel-backdrop .panel-heading h2{font-size:20px}.panel-backdrop .panel-body{padding:12px}}@media(orientation:landscape)and (max-height:600px){#app>header{padding:10px max(16px,env(safe-area-inset-right)) 48px max(16px,env(safe-area-inset-left));gap:10px}#app>header .brand{font-size:17px;letter-spacing:2px;gap:8px}#app>header .brand-mark{font-size:30px;width:26px}#app>header .brand small{font-size:7px;letter-spacing:1px}#app>header .account{gap:8px;font-size:11px}#app>header .hub-top-actions{top:10px;width:240px;max-width:32vw}#app>header .hub-utility-buttons{gap:4px}#app>header .hub-utility-buttons button{font-size:10px;padding:5px;min-height:32px}#app>header #new-journey-note{font-size:9px;line-height:1.3}#app>header .journey{top:63px;left:calc(max(12px,env(safe-area-inset-left)) + 88px);max-width:70vw;font-size:11px}#app .rail{top:78px;left:max(12px,env(safe-area-inset-left));bottom:42px;overflow-y:auto;max-height:calc(var(--screen-height,100dvh) - 120px);gap:4px}#app .rail .rail-button{min-height:36px;width:60px;padding:3px;font-size:10px}#app .rail .rail-button span{font-size:17px}#app .rail .rail-button small{font-size:10px}#app .hero-copy{position:relative;left:auto;top:auto;transform:none;margin:8px 0 20px calc(max(12px,env(safe-area-inset-left)) + 88px);padding:0;width:min(640px,calc(100vw - max(12px,env(safe-area-inset-left)) - max(12px,env(safe-area-inset-right)) - 88px));max-width:none}#app .hero-copy h1{font-size:clamp(28px,7dvh,46px);line-height:1.05;margin-bottom:10px}#app .hero-description{font-size:11px;line-height:1.5;margin-bottom:12px;max-width:480px}#app .hero-actions{width:min(560px,100%);gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}#app .hero-actions>.home-styled-button{min-height:64px;height:auto;font-size:13px;aspect-ratio:16/9}.panel{max-height:var(--screen-height,100dvh)}}@media(orientation:landscape)and (max-height:600px){#app>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;min-height:98px}#app>header .brand{width:auto;flex:none}#app>header .account{min-width:0;justify-self:start;flex-wrap:nowrap;margin:0;gap:5px;padding:4px;font-size:11px}#app>header .account>span:nth-child(2){max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#app>header .account small{font-size:8px;letter-spacing:0}#app>header .account .gold{font-size:14px;padding-left:5px;white-space:nowrap}#app>header .account .level-badge{width:24px;height:28px;flex:none}#app>header .account button{font-size:10px;padding:6px;min-height:30px;white-space:nowrap}#app>header .hub-top-actions{position:static;width:220px;max-width:28vw;grid-column:3;grid-row:1}#app>header .journey{margin:0;top:65px}#app .rail{position:fixed;width:72px;max-width:72px;flex-direction:column;flex-wrap:nowrap;padding:2px 4px 8px;overflow-x:hidden;touch-action:pan-y}#app .rail .rail-button{box-sizing:border-box;flex:0 0 auto;width:60px;max-width:60px;min-height:36px;touch-action:pan-y}#app .rail-group{display:block;width:60px}#app .rail-submenu:not(.mobile-submenu){flex-direction:column;padding:4px 0 0}#app .hero-copy h1{margin-top:0}#app .hero-actions{margin-top:10px;width:min(560px,calc((var(--screen-height,100dvh) - 176px) * 4))}.panel-backdrop,.pause-overlay,.result-overlay{height:var(--screen-height,100dvh)}.panel.atlas-panel .panel-heading{padding:6px 12px}.panel.atlas-panel .panel-heading h2{font-size:18px}.panel.atlas-panel .eyebrow{font-size:10px;letter-spacing:1px}.panel.atlas-panel:has(.atlas-screen) .panel-body{padding:8px;display:flex;flex-direction:column;overflow:hidden}.panel.atlas-panel:has(.atlas-screen){height:100%}.panel.atlas-panel .atlas-screen{display:flex;flex-direction:column;min-height:0;flex:1}.panel.atlas-panel .atlas-toolbar{flex:none;gap:6px;margin-bottom:6px;font-size:11px}.panel.atlas-panel .atlas-toolbar p{margin:0;font-size:12px;line-height:1.3}.panel.atlas-panel .atlas-toolbar small{font-size:10px}.panel.atlas-panel .atlas-toolbar label{flex-direction:row;align-items:center;font-size:11px}.panel.atlas-panel .atlas-toolbar select{min-height:32px;padding:4px;font-size:12px}.panel.atlas-panel .atlas-scroll{min-height:0;flex:1;max-height:none;touch-action:pan-x pan-y}}@media(orientation:landscape)and (max-height:600px)and (max-width:740px){#app>header .brand>div{display:none}#app>header .brand{width:26px}#app>header .hub-top-actions{width:180px;max-width:30vw}#app>header .account>span:nth-child(2){max-width:65px}}#game-shortcut{display:none;position:relative;flex:none;align-self:stretch;margin-top:4px;z-index:4;max-width:calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right));min-height:38px;padding:8px 14px;border:2px solid #fff1af;border-radius:12px;background:#7040ad;color:#fff;font-size:12px;font-weight:700;box-shadow:0 3px #42256b}body:has(#app>header) #game-shortcut:not([hidden]){display:block}#shortcut-help{width:min(420px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;background:#fffaf5;color:#352047;border:2px solid #9c70c1;border-radius:18px;padding:20px}#shortcut-help::backdrop{background:#0008}#shortcut-help p{color:inherit}#shortcut-help button{background:#7040ad;color:#fff;padding:10px 24px}body.in-battle .attack-lock{position:absolute;left:0;top:0;width:96px;min-height:40px;padding:5px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px;pointer-events:auto;background:#17251fe8;border:1px solid #cce2cd;border-radius:8px;color:#fff;font-size:12px;touch-action:manipulation}body.in-battle .attack-lock input{width:18px;height:18px;margin:0;accent-color:#399bff;flex:none}#app>header{box-sizing:border-box;padding:12px 24px 12px 116px;display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:10px 24px;align-items:center;background:#fffaf2ed;border-bottom:1px solid #dacfe1}#app>header .brand{font-size:18px;letter-spacing:1px}#app>header .account{margin:0;gap:10px;color:#493655;justify-self:end;background:transparent;padding:0;font-size:14px}#app>header .account>span{background:transparent}#app>header .hub-top-actions:empty{display:none}#app>header .account button{min-height:40px;padding:8px 12px;font-size:13px;border-radius:8px;box-shadow:none}#app>header .account .level-badge{width:28px;height:32px;font-size:14px}#app>header .account .gold{font-size:18px;padding-left:10px}#app>header .brand-mark{width:28px;font-size:32px;letter-spacing:-12px}#app>header .hub-top-actions{position:static;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:8px;width:auto;max-width:none;grid-column:2;grid-row:2}#app>header .hub-utility-buttons{display:flex;width:auto;gap:8px}#app>header .hub-utility-buttons button{width:auto;min-height:36px;padding:6px 12px;font-size:12px;border-radius:8px;box-shadow:none}#app>header #new-journey-note{display:none}#app>header .journey{position:static;grid-column:1;grid-row:2;max-width:none;margin:0;gap:10px;font-size:14px}#app>header .journey>span:first-child{font-size:22px;line-height:1;color:#79633e}#app>header .journey strong{font-size:14px}#app>header .journey small{color:#5c4b68;font-size:12px;line-height:1.5}#app .hero-copy{position:relative;inset:auto;transform:none;margin:24px 28px 0 116px;padding:24px;width:min(680px,calc(100% - 152px));max-width:none;background:#fffaf2f5;border-radius:16px}#app .hero-copy h1{font-size:clamp(32px,4.4vw,62px);line-height:1.08;letter-spacing:0;margin:0 0 16px;color:#513764}#app .hero-copy h1 em{color:#825174}#app .hero-description{font-size:16px;line-height:1.75;color:#4e3d59;margin:0 0 24px;max-width:48ch}#app .hero-actions{gap:12px}#app .hero-actions>.home-styled-button{min-height:80px;border-width:1px;border-radius:12px;font-size:16px;box-shadow:none}#app .hero-actions>.home-gradient-button{aspect-ratio:auto;min-height:52px;align-items:center}#app .hero-actions>.guest-training{grid-column:1/3}#app .hero-actions>.home-login{grid-column:3}#app .rail{left:16px;top:24px;bottom:80px;max-height:calc(var(--screen-height,100dvh) - 104px);background:#fffaf2f5;border-radius:12px;z-index:9}#app .rail .rail-button{border-width:1px;box-shadow:none}#app .home-styled-button:hover:not(:disabled){box-shadow:none;transform:none}#game-shortcut{background:transparent;color:#513764;border:1px solid #c9b7d3;box-shadow:none;min-height:36px;border-radius:8px;font-size:12px;margin:0;padding:6px 10px;white-space:nowrap}@media(min-width:651px){#game-shortcut{align-self:center;width:auto}}.panel-backdrop .panel-heading{gap:12px;border-bottom:1px solid #e4d8e9}.panel-backdrop .panel-heading h2{line-height:1.35}.panel-backdrop .panel-body{line-height:1.6}.panel-backdrop .panel-heading button{min-width:44px;min-height:44px}#app button:focus-visible,#app summary:focus-visible{outline:3px solid #247664;outline-offset:3px}@media(max-width:650px){body:has(#app>header){overflow-y:auto}#app>header{padding:10px 12px;gap:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center}#app>header .brand{flex:0 0 auto;width:auto;gap:6px;font-size:14px}#app>header .brand>div{display:block}#app>header .brand small{font-size:8px;letter-spacing:1px}#app>header .brand-mark{font-size:24px;width:24px}#app>header .account{justify-content:flex-end;font-size:13px;gap:6px;white-space:normal;flex-wrap:wrap;max-width:210px}#app>header .account>span:nth-child(2){max-width:100px;font-size:13px}#app>header .account .gold{font-size:13px}#app>header .account small{font-size:10px}#app>header .account button{min-height:44px;font-size:12px;padding:8px}#app>header .hub-top-actions{grid-column:1/-1;grid-row:3;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px}#app>header .hub-utility-buttons{width:auto;flex:1;gap:6px;min-width:0}#app>header .hub-utility-buttons button{flex:1;min-width:0;min-height:44px;font-size:12px;padding:6px}#app>header #new-journey-note{font-size:12px;line-height:1.5}#app>header .journey{grid-column:1/-1;grid-row:2;gap:10px;margin:0;padding-top:8px;border-top:1px solid #e4d8e9}#app>header .journey>span:first-child{font-size:24px}#app>header .journey strong{font-size:14px}#app .hero-copy{margin:16px 12px 100px;padding:20px;width:calc(100% - 24px);box-sizing:border-box}#app .hero-copy h1{font-size:clamp(30px,8vw,44px);margin-bottom:14px}#app .hero-description{font-size:15px;line-height:1.7;margin-bottom:20px}#app .hero-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#app .hero-actions>.home-styled-button{grid-row:auto;grid-column:auto;min-height:76px;font-size:15px;padding:12px 8px;height:auto;letter-spacing:0}#app .hero-actions>[data-home-image=travel]{grid-column:1/-1;aspect-ratio:3/1;min-height:96px}#app .hero-actions>.home-gradient-button{min-height:48px;aspect-ratio:auto}#app .hero-actions>.guest-training,#app .hero-actions>.home-login,#app .hero-actions>.journey-resume{grid-column:1/-1}#app .hero-actions .home-button-caption{white-space:normal}#app .rail{position:fixed;top:auto;left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));max-width:none;max-height:none;padding:6px;gap:6px;flex-direction:row;border:1px solid #dacfe1;border-radius:12px;z-index:8}#app .rail .rail-button{min-height:52px;width:64px;flex:0 0 64px;padding:6px 3px}#app .rail .rail-button small{font-size:12px}#app .rail .rail-button span{font-size:20px}.panel-backdrop{padding:8px;box-sizing:border-box}.panel-backdrop>.panel{width:100%;max-width:100%;max-height:calc(var(--screen-height,100dvh) - 16px);border-radius:14px}.panel-backdrop .panel-heading{padding:12px 14px}.panel-backdrop .panel-heading h2{font-size:21px}.panel-backdrop .panel-body{padding:14px;min-width:0;overflow-x:hidden}.panel-backdrop :is(input,select,textarea){max-width:100%;box-sizing:border-box;font-size:16px}#fullscreen-toggle,.music-toggle{width:44px;height:44px;min-height:44px}body:has(#app>header) :is(#fullscreen-toggle,.music-toggle){bottom:calc(max(8px,env(safe-area-inset-bottom)) + 72px)}}@media(min-width:651px)and (max-width:1050px){#app>header{grid-template-columns:minmax(0,1fr) auto;gap:8px 16px}#app>header .hub-top-actions{grid-column:1/-1;grid-row:3;justify-content:flex-end}#app>header .journey{grid-column:1/-1}}@media(max-width:400px){#app>header .brand{font-size:12px;gap:4px}#app>header .account{max-width:180px;gap:4px}#app>header .account .gold{font-size:13px}#app>header .account>span:nth-child(2){max-width:78px}#app>header .account button{padding:6px;font-size:11px}#app>header .hub-top-actions{flex-wrap:nowrap;gap:6px}#app>header .hub-utility-buttons{flex:1}#app>header .account .level-badge{width:22px;height:26px}#app>header .account .gold{padding-left:4px}#app>header .account small{font-size:9px;letter-spacing:0}#app>header .account>span:nth-child(2){max-width:64px;font-size:11px}#app>header .account button{min-height:44px}#game-shortcut{min-height:44px}}@media(max-width:650px)and (orientation:portrait){body.in-battle{--attack-size:76px;--utility-size:64px;--potion-width:48px;--potion-height:48px;--combat-gap:10px;--combat-edge: calc(max(8px,env(safe-area-inset-bottom)) + 44px) }body.in-battle .wave-top{top:max(8px,env(safe-area-inset-top));left:10px;right:10px}body.in-battle .wave-top>div:nth-child(2){background:#fffaf2f2;border-radius:10px}body.in-battle .wave-bottom{top:76px;left:10px;right:10px}body.in-battle .wave-bottom>div:first-child{width:190px;max-width:65%}body.in-battle #boss-alert{top:152px}body.in-battle .wave-feedback{top:190px!important;bottom:auto;left:10px;right:10px}body.in-battle .pause-button{width:44px!important;height:44px!important;min-height:44px!important}body.in-battle .training-home{min-height:44px!important;font-size:12px!important}body.in-battle #wave-label{font-size:15px!important}body.in-battle #wave-left,body.in-battle #hp-value,body.in-battle #stamina-value{font-size:12px!important}body.in-battle .action-pad{right:10px;bottom:calc(max(8px,env(safe-area-inset-bottom)) + 44px);width:148px;height:160px;display:block}body.in-battle .action-pad #attack-button,body.in-battle .action-pad #evade-button,body.in-battle .action-pad #special-button{position:absolute;inset:auto;width:64px;height:64px;min-width:64px;min-height:64px;font-size:12px;box-shadow:none;border-width:2px}body.in-battle .action-pad #attack-button{right:0;bottom:0;width:76px;height:76px;min-width:76px;min-height:76px}body.in-battle .action-pad #evade-button{left:0;bottom:0}body.in-battle .action-pad #special-button{right:0;top:0}body.in-battle .action-pad .attack-lock{left:0;top:-48px;width:150px;min-height:44px;font-size:13px}body.in-battle .potion-belt{bottom:calc(var(--combat-edge) + 214px)!important}body.in-battle .potion-belt{bottom:calc(max(8px,env(safe-area-inset-bottom)) + 262px);right:10px;max-width:calc(100% - 20px);flex-wrap:wrap;gap:6px}body.in-battle .potion-belt button{width:48px;min-height:48px}body.in-battle #wave-choices .blessing-options{display:grid;grid-template-columns:1fr}body.in-battle #wave-choices .blessing-card{min-width:0;width:100%;text-align:left}}@media(prefers-reduced-motion:reduce){#app .home-styled-button,#app .home-styled-button:before{transition:none}}#app:has(>.hub-content)>header{grid-template-columns:minmax(0,1fr) auto;padding:12px 18px;gap:12px;min-height:64px;align-items:center}#app:has(>.hub-content)>header .brand{justify-self:start;margin:0}#app:has(>.hub-content)>header .account{justify-self:end}#app>.hub-top-actions{position:relative;inset:auto;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;flex-wrap:wrap;width:auto;max-width:none;margin:6px 18px 0;gap:8px}#app>.hub-top-actions:empty{display:none}#app>.hub-top-actions .hub-utility-buttons{display:flex;width:auto;gap:8px}#app>.hub-top-actions .hub-utility-buttons button{width:auto;min-height:36px;padding:6px 12px;font-size:12px;border-radius:8px;box-shadow:none}#app>.hub-top-actions #new-journey-note{display:none}#app>.hub-content{display:grid;grid-template-columns:76px minmax(0,680px);align-items:start;gap:12px;margin:20px 18px 80px}#app .hub-content>.rail{position:relative;inset:auto;margin:0;max-height:calc(var(--screen-height,100dvh) - 180px);padding:0;background:transparent;border-radius:0}#app .hub-main{position:relative;min-width:0}#app .hub-main>.hero-copy{margin:0;width:100%;box-sizing:border-box}#app .hub-main>.journey{position:static;display:flex;align-items:center;gap:10px;max-width:none;margin:14px 0 0;padding:0;background:transparent;border:0;box-shadow:none;font-size:14px}#app .hub-main>.journey>span:first-child{font-size:22px;line-height:1;color:#79633e}#app .hub-main>.journey strong{font-size:14px}#app .hub-main>.journey small{display:block;color:#5c4b68;font-size:12px;line-height:1.5}#app .hub-main>.journey .journey-line{display:none}@media(max-width:650px){#app:has(>.hub-content)>header{padding:10px 12px;min-height:64px;gap:8px}#app>.hub-top-actions{margin:6px 12px 0;gap:6px}#app>.hub-top-actions .hub-utility-buttons{gap:6px;flex-wrap:wrap;justify-content:flex-end}#app>.hub-top-actions .hub-utility-buttons button{min-height:44px;padding:6px 8px}#app>.hub-content{display:block;margin:16px 12px 110px}#app .hub-content>.rail{position:fixed;top:auto;left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));max-height:none;padding:6px;background:#fffaf2f5;border:1px solid #dacfe1;border-radius:12px}#app .hub-main>.hero-copy{padding:20px}}.panel:is(.item-workspace,.skill-workspace,.pet-workspace){--gold:#815516;--muted:#66566f;--text:#342442;--ink:#342442;--line:#d8cce3;--border:#d8cce3;color:#342442;background:#fffdf7;border:1px solid #d8cce3;border-radius:16px;box-shadow:0 16px 48px #24153130;max-height:calc(100dvh - 16px);overflow:auto;scrollbar-color:#b7a0ca #f5f0fa;line-height:1.55}.panel:is(.item-workspace,.skill-workspace,.pet-workspace) .panel-heading{background:#f5f0fa;color:#342442;border-bottom:1px solid #d8cce3;padding:12px 18px;min-height:56px}.panel:is(.item-workspace,.skill-workspace,.pet-workspace) :is(h2,h3,h4){color:#342442;overflow-wrap:anywhere}.panel:is(.item-workspace,.skill-workspace,.pet-workspace) .panel-heading .eyebrow{display:none}.panel:is(.item-workspace,.skill-workspace,.pet-workspace) :is(p,small,label,dt,summary){color:inherit}.panel:is(.item-workspace,.skill-workspace,.pet-workspace) button:not(:disabled){background:#fffdf7!important;color:#493254!important;border:1px solid #b5a2c3!important;border-radius:8px!important;box-shadow:none!important;min-height:44px;padding:8px 12px;cursor:pointer;transition:background .15s,border-color .15s}.panel:is(.item-workspace,.skill-workspace,.pet-workspace) button.primary:not(:disabled),.panel:is(.item-workspace,.skill-workspace,.pet-workspace) button:is(.selected,[aria-selected=true],[aria-pressed=true]):not(:disabled){background:#7542a8!important;color:#fff!important;border-color:#7542a8!important}.panel:is(.item-workspace,.skill-workspace,.pet-workspace) button:not(:disabled):hover{background:#ebe0f5!important;color:#342442!important;border-color:#7542a8!important}.panel:is(.item-workspace,.skill-workspace,.pet-workspace) button:not(:disabled):active{background:#dfcdec!important}.panel:is(.item-workspace,.skill-workspace,.pet-workspace) button:disabled{background:#eee9ef!important;color:#736778!important;border:1px solid #d8cce3!important;opacity:1!important;border-radius:8px;min-height:44px;cursor:not-allowed}.panel:is(.item-workspace,.skill-workspace,.pet-workspace) :is(button,input,select,summary):focus-visible{outline:3px solid #7542a8;outline-offset:3px}.panel:is(.item-workspace,.skill-workspace,.pet-workspace) :is(input,select){background:#fff;color:#342442;border:1px solid #b5a2c3;border-radius:6px;min-height:44px;padding:8px;max-width:100%;caret-color:#7542a8}.panel:is(.item-workspace,.skill-workspace,.pet-workspace) input::placeholder{color:#75657e}.panel:is(.item-workspace,.skill-workspace,.pet-workspace) ::selection{background:#dfcdec;color:#342442}.panel.item-workspace :is(.economy-toolbar,.inventory-storage,.merchant-inventory,.commerce-list,.commerce-tools,.commerce-columns,.bag-filters,.shop-filter-drawer,.inventory-equipped-display,.character-status,.potion-packing,.pet-bag){background:transparent;color:#342442;border-color:#d8cce3}.panel.item-workspace :is(.hero-summary,.item-compare-card,.upgrade-preview,.upgrade-values>div,.upgrade-cost>span,.gear-numbers>span,.recipe-requirements li,.shop-extra-compare,.potion-detail-card){background:#f5f0fa;color:#342442;border:1px solid #d8cce3;border-radius:10px;box-shadow:none;padding:12px}.panel.item-workspace :is(.item-overlay,.craft-station .commerce-detail:not([hidden])){background:#fffdf7;color:#342442;border:1px solid #b5a2c3;border-radius:12px;padding:52px 18px 18px;max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 12px 36px #24153130}.panel.item-workspace .item-detail-close{top:8px;right:8px;width:44px;height:44px}.panel.item-workspace :is(.gear-stat-table th,.gear-stat-table td,.item-compare-card header,.item-compare-card dl>div){border-color:#d8cce3;color:#342442;padding:9px}.panel.item-workspace .stat-up,.panel.item-workspace .resource-ready{color:#246339!important}.panel.item-workspace .stat-down,.panel.item-workspace .resource-missing{color:#a3293e!important}.panel.item-workspace .stat-same{color:#66566f}.panel.item-workspace .item-action-error{background:#fff0f2;color:#a3293e;border-color:#d9a9b2}.panel.item-workspace :is(.inventory-storage-tabs,.inventory-categories,.commerce-categories,.shop-category-tabs,.merchant-mode-tabs,.compare-actions){display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;margin-block:8px}.panel.item-workspace :is(.rpg-bag-grid,.commerce-rows,.material-bag-grid){grid-template-columns:repeat(auto-fill,minmax(74px,1fr));gap:8px;padding:8px;border-color:#d8cce3;background:transparent}.panel.item-workspace .material-bag-grid>button:not(:disabled),.panel.item-workspace button:is(.bag-item,.commerce-row,.potion-cell,.equipment-socket):not(:disabled){background:#f5f0fa!important;color:#342442!important;border:1px solid #d8cce3!important;border-radius:8px!important}.panel.item-workspace button:is(.bag-item,.commerce-row):is(.selected,[aria-pressed=true]):not(:disabled){background:#e8daf4!important;color:#342442!important;outline:2px solid #7542a8;outline-offset:0}.panel.item-workspace .commerce-row{min-height:112px;display:flex;flex-direction:column;justify-content:center;padding:8px!important;gap:4px;position:relative}.panel.item-workspace .commerce-row>span.commerce-icon{height:42px;flex:none}.panel.item-workspace .commerce-item-name{font-size:12px;line-height:1.4;text-align:center;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.panel.item-workspace .commerce-row>.item-corner{position:static;color:#815516;font-size:12px;line-height:1.4}.panel.item-workspace .bag-item{min-height:78px}.panel.item-workspace [data-empty-cell]{background:#f5f0fa;border:1px dashed #d8cce3;opacity:.5;border-radius:8px;min-height:70px}.panel.item-workspace .bag-capacity{color:#66566f;margin-top:12px}.panel.item-workspace .inventory-character-overview{min-height:200px;gap:16px}.panel.item-workspace .hero-summary h3{font-size:16px}.panel.item-workspace .paperdoll{height:170px}.panel.item-workspace .socket-label{position:absolute;top:100%;left:50%;transform:translate(-50%);white-space:nowrap;font-size:11px;color:#66566f;line-height:18px}.panel.item-workspace .pet-equipment-slot .socket-label{display:none}.panel.item-workspace .pet-bag .bag-item{min-width:120px;height:auto;min-height:115px}.panel.item-workspace .bag-filters[open],.panel.item-workspace .shop-filter-drawer[open]{margin-block:12px;padding:8px 0}.panel.item-workspace .shop-filter-drawer summary,.panel.item-workspace .bag-filters summary{font-weight:600;cursor:pointer;min-height:32px}.panel.item-workspace .economy-toolbar{padding:10px 0;gap:12px;flex-wrap:wrap}.panel.item-workspace .economy-wallet{gap:12px;flex-wrap:wrap;color:#815516}.panel.item-workspace .upgrade-top-action,.panel.item-workspace .compare-actions{gap:8px}.panel.skill-workspace .skill-workbench{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:20px;align-items:start}.panel.skill-workspace .skill-slot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px;background:transparent;padding:0;border:0}.panel.skill-workspace button.skill-slot{width:auto;height:auto;min-height:108px;display:flex;flex-direction:column;align-items:center;gap:5px;padding:10px!important}.panel.skill-workspace .skill-name{font-size:13px;line-height:1.4}.panel.skill-workspace .skill-slot small{position:static;color:inherit}.panel.skill-workspace .skill-inspect-panel{position:static!important;inset:auto!important;width:auto;max-width:none;max-height:none;overflow:visible;background:#f5f0fa;color:#342442;border:1px solid #d8cce3;border-radius:12px;padding:16px;box-shadow:none}.panel.skill-workspace .skill-inspect-panel[hidden],.panel.skill-workspace .skill-popup-close{display:none}.panel.skill-workspace :is(.skill-inventory,.skill-inspect,.skill-points-wallet,.skill-reset){background:transparent;color:#342442;border-color:#d8cce3;box-shadow:none}.panel.skill-workspace .skill-points-wallet{padding:12px 0;color:#7542a8}.panel.skill-workspace .skill-details :is(.skill-current,.skill-next){background:#fffdf7;color:#342442;border:1px solid #d8cce3;border-radius:8px;padding:12px}.panel.skill-workspace .skill-next{border-color:#7542a8!important}.panel.skill-workspace .skill-details details{background:transparent;color:#342442}.panel.skill-workspace .skill-details summary{background:#e8daf4;color:#493254;padding:10px;border-radius:8px;cursor:pointer}.panel.skill-workspace .skill-reset{margin-top:24px;border-top:1px solid #d8cce3;padding-top:16px}.panel.pet-workspace{width:min(740px,calc(100vw - 24px))}.panel.pet-workspace .pet-profile{display:grid;grid-template-columns:112px minmax(0,1fr);gap:8px 20px;background:#f5f0fa;color:#342442;border:1px solid #d8cce3;border-radius:12px;padding:20px;margin:16px 0}.panel.pet-workspace .pet-profile img{grid-row:1/5;align-self:center;max-width:100%;object-fit:contain;image-rendering:pixelated}.panel.pet-workspace .pet-profile :is(h3,p){margin:0}.panel.pet-workspace .pet-profile button{grid-column:2;justify-self:start}@media(max-width:700px){.panel:is(.item-workspace,.skill-workspace,.pet-workspace){width:calc(100vw - 12px);max-width:calc(100vw - 12px);padding:12px;max-height:calc(100dvh - 12px)}.panel.item-workspace :is(.rpg-bag-grid,.commerce-rows,.material-bag-grid){grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:8px}.panel.item-workspace .item-compare-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.panel.item-workspace .item-compare-card{padding:8px;min-width:0}.panel.item-workspace .item-compare-card dl>div{padding:4px;flex-wrap:wrap}.panel.item-workspace .item-overlay{inset:8px 6px auto;transform:none;width:calc(100vw - 12px);max-width:none;max-height:calc(100dvh - 16px)}.panel.skill-workspace .skill-workbench{grid-template-columns:1fr}.panel.skill-workspace .skill-inspect-panel:not([hidden]){position:fixed!important;inset:8px!important;z-index:130;width:auto;max-height:calc(100dvh - 16px);overflow:auto;padding:54px 16px 16px;box-shadow:0 10px 32px #24153140}.panel.skill-workspace .skill-popup-close{display:block;position:absolute;right:8px;top:8px;width:44px;height:44px}.panel.pet-workspace .pet-profile{grid-template-columns:80px minmax(0,1fr);padding:12px;gap:8px 12px}}@media(max-height:520px){.panel:is(.item-workspace,.skill-workspace,.pet-workspace) .panel-heading{padding:6px 12px}.panel.item-workspace .inventory-character-overview{min-height:180px}.panel.item-workspace .hero-summary{padding:8px}}@media(prefers-reduced-motion:reduce){.panel:is(.item-workspace,.skill-workspace,.pet-workspace) button{transition:none}}.panel:is(.item-workspace,.skill-workspace,.pet-workspace) .panel-heading h2{color:#342442}.panel:is(.item-workspace,.skill-workspace,.pet-workspace) :is(.item-corner,.item-flags,.skill-slot small){text-shadow:none!important}.panel.item-workspace button.commerce-row{aspect-ratio:auto!important;height:auto!important;min-height:122px!important;overflow:visible}.panel.item-workspace button.commerce-row>.commerce-item-name{display:-webkit-box!important;position:static!important;color:#342442!important;font-size:12px!important;flex-shrink:0;max-width:100%}.panel.item-workspace [data-empty-cell]{box-shadow:none!important}.panel.item-workspace .shop-filter-drawer input[type=checkbox]{min-height:20px;width:20px;height:20px;padding:0;accent-color:#7542a8}.panel.item-workspace .shop-filter-drawer label:has(input[type=checkbox]){display:flex;flex-direction:row;align-items:center;gap:8px}.panel.skill-workspace button.skill-slot{aspect-ratio:auto;min-height:134px;overflow:hidden}.panel.skill-workspace .skill-slot :is(.game-icon,.skill-name,small){flex-shrink:0}.panel.skill-workspace .skill-slot small{font-size:12px}.panel.skill-workspace .skill-inventory-heading{color:#66566f;padding:10px 0}.panel.item-workspace .upgrade-preview .section-intro{display:flex;flex-wrap:wrap;gap:12px}.panel.item-workspace .upgrade-top-action{min-width:0;max-width:100%;flex-wrap:wrap}.panel.item-workspace .upgrade-top-action button{width:100%;max-width:100%;white-space:normal}.panel.item-workspace .rpg-bag-grid>.bag-item{aspect-ratio:auto;min-height:112px;display:flex;flex-direction:column;gap:6px;padding:8px!important}.panel.item-workspace .rpg-bag-grid .bag-glyph{height:42px;flex:none}.panel.item-workspace .bag-item-name{font-size:12px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-align:center}.panel.item-workspace .upgrade-top-action button.primary{min-width:0!important;width:100%;box-sizing:border-box}.panel.item-workspace .upgrade-top-action{flex:1 1 240px}.panel.item-workspace .upgrade-preview .section-intro{align-items:flex-start}.panel.item-workspace .panel-body,.panel.skill-workspace .panel-body,.panel.pet-workspace .panel-body{color:#342442;padding:12px 16px;min-width:0}.panel.item-workspace .merchant-workspace{display:block;min-width:0}.panel.item-workspace .merchant-pane-tabs{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0 0 12px}.panel.item-workspace .merchant-pane-tabs button{flex:1 1 0;min-height:44px;height:auto;align-self:start}.panel.item-workspace .merchant-stock,.panel.item-workspace .merchant-inventory{min-width:0}.panel.item-workspace .merchant-inventory{border:0;padding:0;margin:0}.panel.item-workspace :is(.inventory-categories,.commerce-categories,.shop-category-tabs){flex-direction:row;flex-wrap:wrap;align-items:center;overflow:visible}.panel.item-workspace :is(.inventory-categories,.commerce-categories,.shop-category-tabs)>button{width:auto;flex:0 0 auto;min-width:0;min-height:44px;padding:8px 12px}.panel.item-workspace .bag-filters select{width:auto;min-width:160px;max-width:100%}.panel.item-workspace .craft-station{display:block}.panel.item-workspace .craft-station .commerce-detail:not([hidden]){margin-top:16px;max-height:none;padding:16px;box-shadow:none}.panel.item-workspace :is(.commerce-list,.commerce-browser,.shop-three-column,#shop-category-content){min-width:0;width:100%;box-shadow:none}.panel.item-workspace .commerce-rows,.panel.item-workspace .craft-station .commerce-rows,.panel.item-workspace .merchant-stock .commerce-rows{grid-template-columns:repeat(auto-fill,minmax(94px,1fr));align-items:start}.panel.item-workspace [data-empty-cell]{display:none!important}.panel.item-workspace .item-pagination{min-height:44px;margin-top:8px}.panel.item-workspace .inventory-character-overview{grid-template-columns:150px minmax(260px,1fr);padding:4px 0 18px;min-height:230px}.panel.item-workspace .paperdoll{width:100%;min-width:260px;max-width:340px;height:180px}.panel.item-workspace .loadout-avatar{width:96px;height:96px;top:30px;transform:translate(-50%)}.panel.item-workspace .pet-potion-row{padding-top:12px;gap:16px}.panel.item-workspace .equipment-socket.gear-weapon,.panel.item-workspace .equipment-socket.gear-relic{bottom:18px}.panel.skill-workspace{width:min(960px,calc(100vw - 24px))}.panel.skill-workspace .panel-body :is(p,small,h3,b,strong),.panel.skill-workspace .skill-inspect header small{color:#342442}.panel.skill-workspace .skill-points-wallet strong{color:#7542a8}.panel.skill-workspace .skill-inventory-heading small,.panel.skill-workspace .skill-details>small{color:#66566f}.panel.skill-workspace .skill-details .learned-rank{background:#e8daf4;color:#342442}.panel.skill-workspace .trial-entry:not(:disabled),.panel.skill-workspace .skill-inspect button.primary:not(:disabled){background:#7542a8!important;color:#fff!important;border-color:#7542a8!important;border-radius:8px!important}.panel.skill-workspace .skill-slot[aria-pressed=true] :is(small,.skill-name){color:#fff!important}@media(min-width:1180px){.panel.item-workspace.merchant-window{width:min(1160px,calc(100vw - 32px));max-width:1160px}.panel.item-workspace .merchant-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}.panel.item-workspace .merchant-pane-tabs{display:none}.panel.item-workspace .merchant-inventory{border-left:1px solid #d8cce3;padding-left:20px}.panel.item-workspace .merchant-inventory .inventory-character-overview{grid-template-columns:130px minmax(260px,1fr);gap:8px}}@media(max-width:1179px){.panel.item-workspace:not([data-merchant-pane=bag]) .merchant-inventory{display:none}.panel.item-workspace[data-merchant-pane=bag] .merchant-stock{display:none}}@media(max-width:600px){.panel.item-workspace .inventory-character-overview,.panel.item-workspace .merchant-inventory .inventory-character-overview{grid-template-columns:1fr}.panel.item-workspace .hero-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;text-align:left}.panel.item-workspace .hero-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;flex-basis:100%;margin:0}.panel.item-workspace .hero-summary>strong{border:0}.panel.item-workspace .hero-summary h3{margin:0}.panel.item-workspace .commerce-rows,.panel.item-workspace .craft-station .commerce-rows{grid-template-columns:repeat(auto-fill,minmax(80px,1fr))}}.panel.item-workspace :is(.compact-shop-tools,.compact-bag-tools){display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;margin:8px 0 12px}.panel.item-workspace :is(.compact-shop-tools,.compact-bag-tools)>input[type=search]{flex:1 1 140px;width:auto;min-width:0;margin:0;min-height:40px;height:40px;font-size:13px;padding:8px 10px}.panel.item-workspace :is(.shop-filter-drawer,.bag-filters){margin:0;padding:0;border:0;flex:0 0 auto;min-width:0}.panel.item-workspace :is(.shop-filter-drawer,.bag-filters)>summary{display:list-item;list-style-position:inside;min-height:40px;padding:9px 12px;font-size:13px;font-weight:500;background:#f5f0fa;border:1px solid #d8cce3;border-radius:7px;box-sizing:border-box;cursor:pointer}.panel.item-workspace :is(.shop-filter-drawer,.bag-filters)[open]{flex-basis:100%;margin:0;padding:0 0 8px}.panel.item-workspace :is(.shop-filter-drawer,.bag-filters)[open]>summary{width:max-content;margin-bottom:8px}.panel.item-workspace .shop-filter-drawer .shop-list-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0;padding:0;min-height:0}.panel.item-workspace .shop-filter-drawer .shop-list-tools>label{flex:0 1 auto;min-width:0;font-size:12px}.panel.item-workspace .shop-list-tools select,.panel.item-workspace .bag-filters select{min-height:40px;height:40px;width:auto;max-width:100%;font-size:13px}.panel.item-workspace .shop-list-results,.panel.item-workspace .shop-catalogue,.panel.item-workspace .commerce-tools:empty{margin-top:0;padding-top:0;min-height:0}.panel.item-workspace .commerce-tools:empty{display:none}.panel.item-workspace .shop-list-intro{margin:8px 0;min-height:0}.panel.item-workspace .shop-list-intro h3{font-size:14px;margin:0}.panel.item-workspace .inventory-categories{margin:0 0 8px;gap:6px}.panel.item-workspace .inventory-categories>button{padding:6px 10px;min-height:38px;font-size:12px}.panel.item-workspace .item-pagination:has(button:first-child:disabled):has(button:last-child:disabled){min-height:20px;margin:4px 0;padding:0;font-size:11px;color:#66566f}.panel.item-workspace .item-pagination:has(button:first-child:disabled):has(button:last-child:disabled)>button{display:none}.panel.item-workspace .packing-list{background:transparent;border:0;box-shadow:none;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px;padding:4px 0}.panel.item-workspace .inventory-character-overview .hero-summary{background:transparent;border:0;border-right:1px solid #e6ddeb;border-radius:0;padding:8px 14px 8px 0}.panel.item-workspace .hero-summary>strong{border:0;padding:0;font-size:12px}.panel.item-workspace .hero-summary h3{margin:4px 0 8px;font-size:15px}.panel.item-workspace .hero-summary dl>div{padding:2px 0}.panel.item-workspace .hero-summary button{min-height:36px;padding:6px 10px;font-size:12px}.panel.item-workspace .inventory-character-overview{min-height:0;padding:0 0 10px;gap:12px}.panel.item-workspace .paperdoll{height:150px;background:none}.panel.item-workspace .loadout-avatar{width:88px;height:88px;top:24px}.panel.item-workspace button.equipment-socket{width:48px;height:48px;min-height:48px}.panel.item-workspace .pet-potion-row{padding-top:6px;gap:12px}.panel.item-workspace .inventory-storage-tabs{margin:8px 0;padding-bottom:6px;border-color:#e6ddeb}.panel.item-workspace .bag-capacity{margin-top:6px;border-color:#e6ddeb;font-size:11px}@media(max-width:600px){.panel.item-workspace .inventory-character-overview .hero-summary{border-right:0;border-bottom:1px solid #e6ddeb;padding:0 0 8px}.panel.item-workspace .inventory-character-overview{gap:8px}}.panel.item-workspace :is(.item-corner,.item-flags){color:#694515;background:transparent;text-shadow:none!important}.panel.item-workspace .rarity-Rare h3,.panel.item-workspace h3.rarity-Rare{color:#285c9c}.panel.item-workspace h3.rarity-Epic{color:#753c9f}.panel.item-workspace h3.rarity-Legendary{color:#815516}.panel.item-workspace :is(.product-metrics,.packing-stats)>div{border-color:#d8cce3}.panel.item-workspace .drop-over{background:#e8daf4;outline-color:#7542a8}.panel.item-workspace .sale-receipt{background:#e5f3e9;color:#246339}.panel.item-workspace [data-browser=merchant-sale] .commerce-row:disabled .item-corner{background:transparent;color:#493254}.panel.skill-workspace .skill-more>summary,.panel.skill-workspace .skill-inspect-placeholder{color:#66566f}.panel.skill-workspace .skill-details summary{color:#493254;border-color:#d8cce3}.panel.skill-workspace .skill-slot[aria-pressed=true]:hover :is(small,.skill-name){color:#342442!important}.panel.item-workspace :is(.rpg-bag-grid,.commerce-rows,.craft-station .commerce-rows,.merchant-stock .commerce-rows,.material-bag-grid,.packing-list){grid-template-columns:repeat(auto-fill,minmax(112px,128px));gap:10px}.panel.item-workspace button.commerce-row{min-height:140px!important;padding:10px!important;gap:6px}.panel.item-workspace .rpg-bag-grid>.bag-item{min-height:128px;padding:10px!important}.panel.item-workspace :is(.commerce-row>span.commerce-icon,.rpg-bag-grid .bag-glyph){height:72px;flex:none}.panel.item-workspace :is(.material-bag-grid>button,.packing-list>.potion-cell){min-height:112px;padding:10px!important}.panel.item-workspace img.game-icon{width:64px;height:64px;max-width:none;max-height:none;aspect-ratio:1;object-fit:contain;flex:none}.panel.item-workspace :is(.commerce-row,.bag-item,.potion-cell,.material-bag-grid>button) img.game-icon{width:64px;height:64px}.panel.item-workspace .weapon-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;max-width:none;line-height:0}.panel.item-workspace .paperdoll{height:190px}.panel.item-workspace button.equipment-socket,.panel.item-workspace .pet-potion-row .pet-equipment-slot button.equipment-socket{width:72px;height:72px;min-height:72px;padding:3px!important}.panel.item-workspace .pet-potion-row .pet-equipment-slot .bag-glyph img{width:64px;height:64px;max-width:none;object-fit:contain}.panel.item-workspace .character-potion-belt .character-potion-slots .character-potion-slot,.panel.item-workspace .character-potion-belt .character-potion-slots .character-potion-slot>button:first-child{width:60px;height:60px;min-height:60px}.panel.item-workspace .pet-potion-row .character-potion-slot>button:first-child{padding:5px!important}.panel.item-workspace .character-potion-slot img.game-icon{width:48px;height:48px}#app:has(>.maid-hub){--maid-ink:#30243e;--maid-muted:#685975;--maid-paper:#fcf8f1;--maid-line:#e7dfea;--maid-accent:#713daf;--maid-soft:#f0e8f7;color:var(--maid-ink);pointer-events:auto;min-height:var(--screen-height,100dvh)}body:has(#app>.maid-hub){overflow-y:auto;background:#f6f1e9}body:has(#app>.maid-hub) #game{visibility:hidden}#app>.maid-backdrop{background:#f6f1e9;z-index:-1}#app:has(>.maid-hub)>header.maid-header{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:18px max(124px,calc((100vw - 1760px)/2 + 100px)) 18px max(24px,calc((100vw - 1760px)/2));min-height:78px;background:var(--maid-paper);border-bottom:1px solid var(--maid-line)}#app>.maid-header .maid-brand{display:flex;align-items:center;gap:10px;width:auto;flex:none;min-height:44px;margin:0;color:var(--maid-ink);text-decoration:none;font-size:24px;font-weight:700;letter-spacing:1px;line-height:1}.maid-icon{width:24px;height:24px;flex:none;vertical-align:middle}#app>.maid-header .maid-brand>.maid-icon{width:30px;height:30px;color:var(--maid-accent)}#app>.maid-header .account{gap:14px;max-width:none;flex:none;flex-wrap:wrap;min-width:0;color:var(--maid-ink);font-size:14px;white-space:normal}#app>.maid-header .account .level-badge{width:36px;height:36px;flex:none;transform:none;border:0;border-radius:10px;background:var(--maid-soft);color:var(--maid-accent);font-size:17px;font-weight:700}#app>.maid-header .account .maid-player{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}#app>.maid-header .account small{color:var(--maid-muted);font:12px Noto Sans Thai,sans-serif;letter-spacing:0;line-height:1.5}#app>.maid-header .account .gold{display:flex;align-items:center;gap:6px;border-color:var(--maid-line);font-size:18px;color:#775019;padding-left:16px;font-weight:600;white-space:nowrap}#app>.maid-header .account .gold .maid-icon{width:18px;height:18px}#app>.maid-header .account .gold small{display:inline;color:#775019}#app>.maid-header .account button{min-height:44px;border-radius:8px;padding:8px 14px;font-size:13px;box-shadow:none}#app>.maid-header .account .text-button{color:var(--maid-muted)}#app>.maid-header .account .text-button.home-styled-button{background:transparent;border:1px solid var(--maid-line)}#app>.maid-header .account .text-button:before{display:none}#app>.maid-header .account .text-button .home-button-caption{color:var(--maid-muted)}#app>.maid-header .maid-register{background:var(--maid-accent);color:#fff;font-weight:600}#app>.maid-utilities{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:14px max(24px,calc((100vw - 1760px)/2)) 0;min-height:44px}#app>.maid-utilities .hub-utility-buttons{gap:8px;flex-wrap:wrap}#app>.maid-utilities .hub-utility-buttons button,#app>.maid-utilities #game-shortcut{min-height:44px;font-size:13px;padding:8px 14px;background:var(--maid-paper);border:1px solid #d8c9e3;border-radius:8px;color:var(--maid-ink);box-shadow:none;white-space:normal}#app>.maid-utilities #game-shortcut{align-self:auto;margin:0;color:var(--maid-accent);font-weight:600}#app>.maid-utilities .home-styled-button:before{background:linear-gradient(180deg,var(--home-color1),var(--home-color2))}#app>.maid-hub{display:grid;grid-template-columns:174px minmax(0,1fr);gap:28px;align-items:start;width:calc(100% - 48px);max-width:1760px;margin:18px auto 64px}#app .maid-hub>.maid-nav{position:relative;inset:auto;display:flex;flex-direction:column;gap:6px;padding:8px 0;width:100%;max-width:none;max-height:none;background:transparent;border:0;border-radius:0;overflow:visible;z-index:5;min-width:0}#app .maid-nav .rail-group{width:100%;min-width:0}#app .maid-nav .rail-button{max-width:none;min-width:0;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:10px;width:100%;min-height:48px;height:auto;padding:10px 12px;box-shadow:none;border:0;border-radius:8px;background:transparent;color:var(--maid-muted);text-align:left}#app .maid-nav .rail-button small{flex:1;min-width:0;font-size:14px;color:inherit;font-weight:500;line-height:1.4;white-space:normal}#app .maid-nav .rail-button .maid-icon{width:21px;height:21px;flex:0 0 21px}#app .maid-nav .rail-button .maid-chevron{margin-left:auto;font-size:16px;line-height:1}#app .maid-nav .home-button-caption{min-width:0;flex:1;display:flex;flex-direction:row;justify-content:flex-start;gap:10px;width:100%;color:var(--home-foreground);text-shadow:none}#app .maid-nav .home-styled-button:before{opacity:.18}#app .maid-nav .rail-button:hover:not(:disabled),#app .maid-nav .rail-group[open]>summary{background:var(--maid-soft);color:var(--maid-accent);filter:none}#app .maid-nav .rail-submenu{padding:6px 0 6px 14px;gap:4px}#app .maid-nav .rail-submenu .rail-button{font-size:13px}#app .maid-main{position:relative;min-width:0}#app .maid-stage{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.5fr);overflow:hidden;background:var(--maid-paper);border-radius:16px;box-shadow:0 12px 38px #3222400c}#app .maid-intro{display:flex;flex-direction:column;justify-content:center;padding:clamp(24px,3vw,48px);min-width:0}#app .maid-intro h1{font-family:Rajdhani,Noto Sans Thai,sans-serif;font-size:clamp(54px,5.7vw,88px);font-weight:700;line-height:.92;letter-spacing:-.02em;margin:0 0 22px;color:var(--maid-ink)}#app .maid-intro h1 span{color:var(--maid-accent)}#app .maid-tagline{font-size:19px;font-weight:700;line-height:1.5;margin:0 0 10px;color:var(--maid-ink)}#app .maid-intro .hero-description{font-size:14px;line-height:1.8;max-width:40ch;margin:0 0 24px;color:var(--maid-muted)}#app .maid-cover{min-width:0;display:flex;background:#22172d}#app .maid-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;aspect-ratio:1672/941;min-height:430px}#app .maid-start-actions{display:flex;flex-direction:column;gap:8px;align-items:stretch}#app .maid-start-actions .maid-start{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding:13px 20px;border:0;border-radius:10px;color:#fff;background:var(--maid-accent);font-weight:700;font-size:17px;box-shadow:none}#app .maid-start-actions .maid-start[hidden]{display:none}#app .maid-start-actions .maid-start[data-action=world]{background:#c5221f;color:#fff}#app .maid-start-actions .maid-start .home-button-caption{display:flex;align-items:center;justify-content:space-between;width:100%;color:var(--home-foreground);text-shadow:none}#app .maid-start-actions .maid-save{min-height:44px;font-size:13px;padding:8px;color:var(--maid-accent);background:transparent;border:0;border-radius:8px;box-shadow:none;text-align:center}#app .maid-start-actions .maid-save:before{display:none}#app .maid-start-actions .maid-save .home-button-caption{color:var(--maid-accent);text-shadow:none}#app .maid-play-note{display:block;font-size:12px;line-height:1.65;margin-top:12px;color:var(--maid-muted)}#app .maid-main>.journey{display:flex;align-items:center;gap:12px;position:static;background:transparent;margin:18px 0 28px;padding:0;border:0;font-size:14px}#app .maid-main>.journey>span{font-family:Rajdhani,sans-serif;font-size:28px;line-height:1;font-weight:600;color:var(--maid-accent)}#app .maid-main>.journey strong{font-size:14px;color:var(--maid-ink);font-weight:600}#app .maid-main>.journey small{display:block;font-size:12px;color:var(--maid-muted);line-height:1.7}#app .maid-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}#app .maid-section-heading h2{font-size:20px;margin:0;color:var(--maid-ink);font-weight:700}#app .maid-section-heading>span{font-size:12px;color:var(--maid-muted)}#app .maid-mode-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:14px;margin:0}#app .maid-mode-actions>.maid-mode{position:relative;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:12px;grid-column:auto;grid-row:auto;order:0;min-width:0;width:100%;min-height:193.75px;height:auto;aspect-ratio:auto;padding:20px;border:0;background:#eae3f0;color:var(--maid-ink);border-radius:12px;box-shadow:none;text-align:left;font-size:17px}#app .maid-mode-copy{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px 10px;min-width:0}#app .maid-mode-copy>strong{font-size:17px;line-height:1.4}#app .maid-mode-copy>small{grid-column:1/-1;font-size:13px;font-weight:400;line-height:1.6;color:var(--maid-muted)}#app .maid-mode-actions>.coop-entry{background:#e2eeea;color:#285d52}#app .maid-mode-actions>.coop-entry .maid-mode-copy>small{color:#3f655d}#app .maid-mode-actions .home-button-caption{display:flex;justify-content:space-between;align-items:center;width:100%;gap:12px;text-shadow:0 1px 3px #000;font-size:17px}#app .maid-mode-actions .home-image-button:before{background-position:center top;transform-origin:center top}#app .maid-mode-actions .home-image-button:after{background:linear-gradient(90deg,#21132eea,#21132eb8);opacity:1;transition:opacity .18s ease}@media(hover:hover){#app .maid-mode-actions .home-image-button:hover:not(:disabled):after{opacity:.5}}#app .maid-mode-actions .home-image-button:active:not(:disabled):after{opacity:.5}#app .maid-mode-actions .home-image-button:active:not(:disabled){filter:none}#app .maid-mode-actions .home-image-button .maid-mode-copy>small{color:#f4eafc}#app .maid-footer{position:static;inset:auto;display:flex;align-items:center;justify-content:space-between;width:auto;min-height:58px;margin-top:24px;padding:14px 0 0;background:transparent;box-shadow:none;border-top:1px solid var(--maid-line);color:var(--maid-muted);font-size:12px}#app .maid-footer>span{font-family:Rajdhani,sans-serif;font-weight:600;letter-spacing:1px}#app .maid-help{min-height:44px;padding:8px 12px;color:var(--maid-accent);border-radius:8px}#app:has(>.maid-hub) :is(button,a,summary):focus-visible{outline:3px solid var(--maid-accent);outline-offset:3px}#app:has(>.maid-hub) ::selection{background:#dec9f2;color:#30243e}#app:has(>.maid-hub) button:not(:disabled):hover{filter:brightness(1.04)}#app .maid-hub .mobile-submenu{background:var(--maid-paper);border-color:var(--maid-line)}#app .maid-hub .mobile-submenu .rail-button{display:flex;align-items:center;gap:8px;color:var(--maid-ink);min-height:48px;background:var(--maid-soft);border:0;box-shadow:none}#app .maid-hub .mobile-submenu .rail-button small{color:inherit}#app .maid-hub .mobile-submenu .home-button-caption{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--home-foreground)}body:has(#app>.maid-hub) :is(#fullscreen-toggle,.music-toggle){position:absolute;top:max(18px,env(safe-area-inset-top));left:auto;bottom:auto;width:44px;height:44px;min-height:44px;z-index:4}body:has(#app>.maid-hub) #fullscreen-toggle{right:max(24px,calc((100vw - 1760px)/2))}body:has(#app>.maid-hub) .music-toggle{right:max(74px,calc((100vw - 1760px)/2 + 50px))}@media(min-width:651px)and (max-width:1150px){#app>.maid-hub{grid-template-columns:148px minmax(0,1fr);gap:20px}#app .maid-stage{grid-template-columns:minmax(250px,1fr) minmax(0,1.2fr)}#app .maid-intro{padding:24px}#app .maid-mode-actions{gap:10px}#app .maid-mode-actions>.maid-mode{padding:16px}#app .maid-mode-copy>strong{font-size:15px}}@media(max-width:850px){#app .maid-stage{grid-template-columns:1fr}#app .maid-cover{grid-row:1}#app .maid-cover img{height:auto;min-height:0;object-fit:contain}#app .maid-intro{padding:28px}#app .maid-intro h1 br{display:none}#app .maid-intro h1{font-size:54px;line-height:1;margin-bottom:14px}#app .maid-intro h1 span:before{content:" "}#app .maid-intro .hero-description{max-width:60ch}#app .maid-mode-actions{grid-template-columns:1fr}#app .maid-mode-actions>.maid-mode{min-height:150px}}@media(max-width:650px){#app:has(>.maid-hub)>header.maid-header{padding:12px 16px;gap:10px;min-height:64px}#app>.maid-header .maid-brand{font-size:22px;gap:8px}#app>.maid-header .account{justify-content:flex-start;gap:10px;max-width:100%;width:100%;font-size:13px}#app>.maid-header .account .maid-player{max-width:130px;font-size:13px;flex:1}#app>.maid-header .account .level-badge{width:30px;height:32px}#app>.maid-header .account .gold{font-size:16px;padding-left:8px}#app>.maid-header .account .gold small{display:none}#app>.maid-header .account button{padding:8px 10px;font-size:12px;min-height:44px}#app>.maid-utilities{margin:10px 16px 0;justify-content:flex-start;gap:8px;flex-wrap:wrap}#app>.maid-utilities .hub-utility-buttons{justify-content:flex-start;gap:8px}#app>.maid-utilities .hub-utility-buttons button,#app>.maid-utilities #game-shortcut{padding:8px 10px;font-size:12px}#app>.maid-hub{display:block;width:calc(100% - 32px);margin:14px auto 116px}#app .maid-hub>.maid-nav{position:fixed;left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));top:auto;bottom:max(8px,env(safe-area-inset-bottom));display:flex;flex-direction:row;gap:4px;padding:6px;width:auto;max-height:none;max-width:none;background:var(--maid-paper);border:1px solid var(--maid-line);border-radius:12px;overflow-x:auto;overflow-y:hidden;z-index:9}#app .maid-nav .rail-button{flex-direction:column;justify-content:center;gap:4px;flex:0 0 72px;width:72px;min-height:64px;padding:8px 4px;text-align:center}#app .maid-nav .home-button-caption{flex-direction:column;gap:4px;text-align:center}#app .maid-nav .rail-button small{font-size:11px;line-height:1.3}#app .maid-nav .maid-chevron{display:none}#app .maid-nav .rail-group{flex:0 0 72px;width:72px}#app .maid-intro{padding:22px}#app .maid-intro h1{font-size:clamp(38px,10vw,54px)}#app .maid-tagline{font-size:18px}#app .maid-intro .hero-description{font-size:14px;margin-bottom:20px}#app .maid-mode-copy>strong{font-size:17px}#app .maid-main>.journey{margin:16px 0 24px}body:has(#app>.maid-hub) :is(#fullscreen-toggle,.music-toggle){top:max(12px,env(safe-area-inset-top));left:auto;bottom:auto;width:44px;height:44px;min-height:44px;z-index:4}body:has(#app>.maid-hub) #fullscreen-toggle{right:12px}body:has(#app>.maid-hub) .music-toggle{right:62px}#app>.maid-header .maid-brand{max-width:calc(100% - 92px)}}@media(prefers-reduced-motion:reduce){#app .maid-hub *,#app>.maid-header *,#app>.maid-utilities *{animation:none;transition:none}}
