.preview-root{background:#d8dbd3;overflow:hidden}.preview-host{color:#303a33;flex-direction:column;height:100dvh;font-family:Microsoft YaHei UI,system-ui,sans-serif;display:flex}.preview-toolbar{z-index:1;background:#eef0e9;border-bottom:1px solid #bdc4b9;flex:none;justify-content:center;align-items:center;gap:22px;height:58px;padding:8px 18px;display:flex}.preview-toolbar>strong{letter-spacing:1px;font:700 14px Georgia,serif}.preview-toolbar button,.preview-toolbar select{color:#4d594e;background:0 0;border-color:#b3bbae;min-height:34px;font-size:12px}.preview-modes{background:#dce1d7;border:1px solid #b3bbae;border-radius:7px;gap:3px;padding:3px;display:flex}.preview-modes button{border:0;min-width:64px;min-height:28px;padding:4px 10px}.preview-modes button[aria-pressed=true]{color:#f4ecd4;background:#344b3c;box-shadow:0 1px 3px #1e2e2733}.preview-stage{background:radial-gradient(at 50% 35%,#e9ebe5,#cbd1c7);flex:1;place-items:center;min-height:0;display:grid;overflow:hidden}.phone-space{flex:none;position:relative}.phone-device{transform-origin:0 0;background:#202622;border:8px solid #1a211e;border-radius:38px;flex-direction:column;display:flex;position:absolute;top:0;left:0;overflow:hidden;box-shadow:0 0 0 1px #606b60,0 22px 46px #35443544,0 4px 10px #111b2526}.phone-status{color:#e5e5d7;flex:none;justify-content:space-between;align-items:center;height:32px;padding:0 18px;font-size:11px;font-weight:600;display:flex;position:relative}.phone-sensors{background:#101512;border-radius:12px;width:64px;height:15px;position:absolute;top:7px;left:50%;transform:translate(-50%);box-shadow:inset 0 1px 2px #000}.phone-sensors:after{content:"";background:#263334;border:1px solid #132022;border-radius:50%;width:7px;height:7px;position:absolute;top:4px;right:9px}.phone-indicators{align-items:center;gap:6px;display:flex}.phone-indicators svg{fill:currentColor;width:18px;height:13px}#game-frame{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#202221;border:0;flex:none;display:block}.phone-safe{background:#242624;flex:none;place-items:center;height:18px;display:grid}.phone-safe i{background:#b6b6a3;border-radius:6px;width:100px;height:4px}.preview-host[data-mode=desktop] .phone-space,.preview-host[data-mode=desktop] .phone-device,.preview-host[data-mode=native] .phone-space,.preview-host[data-mode=native] .phone-device{width:100%;height:100%;box-shadow:none;border:0;border-radius:0;position:static;transform:none}.preview-host[data-mode=desktop] .phone-status,.preview-host[data-mode=desktop] .phone-safe,.preview-host[data-mode=native] .phone-status,.preview-host[data-mode=native] .phone-safe,.preview-host[data-mode=native] .preview-toolbar{display:none}.preview-host[data-mode=desktop] #game-frame,.preview-host[data-mode=native] #game-frame{flex:1;width:100%;height:100%;min-height:0}.preview-host[data-mode=native]{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:#242624}@media (max-width:560px){.preview-toolbar{gap:8px;height:50px;padding:6px}.preview-toolbar>strong{display:none}.preview-modes button{min-width:56px}}.lab{max-width:1200px;margin:auto;padding:40px 28px}.lab header{margin-bottom:25px;position:relative}.lab h1{margin:12px 0;font:32px SimSun,serif}.lab header p{color:#7e8974;font-size:12px;line-height:1.8}.lab header a{font-size:12px;position:absolute;top:20px;right:0}.lab-workbench{background:#f6f5ec;border:1px solid #cbd2bf;border-radius:6px;padding:20px}.lab-controls{flex-wrap:wrap;align-items:center;gap:20px;margin-bottom:20px;font-size:12px;display:flex}.lab-controls label{align-items:center;gap:9px;display:flex}.lab-controls select{color:#456040;background:#e5eadb;border:1px solid #bcc9ad;border-radius:3px;padding:6px}.lab-controls input{accent-color:#4b7047}.lab-controls button{font-size:11px}#lab-canvas{width:100%;height:auto;image-rendering:pixelated;border:1px solid #b9c3ad;border-radius:4px}.lab-meta{color:#768469;flex-wrap:wrap;gap:20px;margin-top:12px;font-size:11px;display:flex}.lab-meta code{color:#8b907d;font-size:10px}.lab h2{letter-spacing:1px;margin:35px 0 20px;font-size:17px}.lab-images{grid-template-columns:repeat(4,1fr);gap:15px;display:grid}.lab figure{margin:0}.lab-images figure{background:#e4e8d7;border:1px solid #c7d0bb;border-radius:4px;overflow:hidden}.lab-images figure>div{background:#c8d4b8;justify-content:center;align-items:center;height:140px;display:flex}.lab-images img{image-rendering:pixelated;max-width:100%;max-height:100%;transform:scale(3)}.lab-images figcaption{color:#687a59;padding:12px;font-size:10px}.lab-images small{color:#939d84;margin-top:6px;display:block}.lab-icons{flex-wrap:wrap;gap:15px;display:flex}.lab-icons figure{text-align:center;background:#e4e9d7;border:1px solid #cad3ba;width:80px;padding:15px 8px}.lab-icons img{object-fit:contain;width:40px;height:40px;image-rendering:pixelated}.lab-icons figcaption{color:#7d8a6b;margin-top:10px;font-size:10px}.lab-audio{grid-template-columns:1fr 1fr;gap:20px;display:grid}.lab-audio label{align-items:center;gap:15px;display:flex}.lab-audio span{color:#78866a;width:90px;font-size:11px}.lab-audio audio{max-width:calc(100% - 105px);height:30px}@media (max-width:700px){.lab{padding:25px 15px}.lab-images{grid-template-columns:1fr 1fr}.lab-audio{grid-template-columns:1fr}.lab header a{position:static}.lab-controls,.lab-meta{gap:10px}}:root{color:#e7e0cb;font-synthesis:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:#e7e0cb;--muted:#aaa994;--line:#656251;--paper:#30322f;--pine:#e9bd60;--gold:#e9bd60;--panel:#30322f;--red:#712c28;--green:#a7c78a;background:#202221;font-family:Microsoft YaHei UI,Microsoft YaHei,system-ui,sans-serif}*{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#81765b #252724}body{margin:0}button,input,select{font:inherit}button,input,select,a{-webkit-tap-highlight-color:transparent}button,select,input{color:var(--ink);border:1px solid var(--line);background:#242624;border-radius:3px}button{cursor:pointer;touch-action:manipulation;padding:8px 12px;font-size:12px;font-weight:600;line-height:1.4}button:hover:not(:disabled){background:#424237;border-color:#c4ac72}button:active:not(:disabled){background:#53503a}button:disabled{cursor:default;opacity:.48}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline-offset:2px;outline:2px solid #ffdc80}button.primary{color:#fff4c8;background:#90621d;border-color:#d8ad52}button.primary:hover:not(:disabled){background:#b58028}.quiet{background:0 0;border-color:#0000}.text-button{color:var(--gold);background:0 0}a{color:inherit}input[type=checkbox]{accent-color:#d3ac54;width:17px;height:17px}select{min-width:0;padding:7px;font-size:12px}h1,h2,h3,h4,p{margin-top:0}h2{font-size:16px}h3{font-size:14px}p{line-height:1.7}img{image-rendering:pixelated}button img{pointer-events:none}[hidden]{display:none!important}.muted{color:var(--muted)}.tiny{font-size:11px}.positive{color:#add67d}.negative{color:#ffaca0}.sr-only{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}[aria-busy=true]{cursor:progress}.shell{flex-direction:column;gap:10px;max-width:1680px;height:100dvh;margin:auto;padding:0 16px;display:flex;overflow:hidden}.masthead{border-bottom:1px solid var(--line);flex:none;align-items:center;gap:16px;height:48px;display:flex}.brand{letter-spacing:1px;color:#ffdf8e;white-space:nowrap;font:700 17px Georgia,serif}#save-status{color:var(--muted);margin-right:auto;font-size:11px}.gold-badge{white-space:nowrap;color:#ffcf71;align-items:center;gap:7px;font-size:14px;display:flex}.gold-badge img{object-fit:contain;width:20px;height:20px}.masthead>.quiet{min-width:44px;font-size:20px}.scene-panel{border:1px solid var(--line);background:#222521;flex:none;position:relative;overflow:hidden}.scene-top{border-bottom:1px solid #494a3c;align-items:center;gap:14px;min-height:36px;padding:0 12px;font-size:11px;display:flex}.region-shortcut{color:#ffe5a2;background:0 0;border:0;align-items:center;gap:12px;padding-left:0;display:flex}.scene-top #kill-count{color:var(--muted);margin-left:auto}#pause{color:#f5d78d;white-space:nowrap;background:0 0;border:0;margin-left:auto}.battle-stage{width:min(100%,960px);max-width:960px;margin:auto;position:relative}#battle{aspect-ratio:8/3;width:100%;height:auto;position:relative;overflow:hidden}#battle canvas{image-rendering:pixelated;display:block!important}.combat-controls{background:#282a25;border-top:1px solid #676047;justify-content:space-between;align-items:center;gap:12px;width:min(100%,960px);min-height:54px;margin:auto;padding:5px 12px;display:flex}.combat-controls>button{font-size:11px}.skill-hud{gap:8px;display:flex}.skill-icon{background:#39382c;border:1px solid #d4b66b;place-items:center;width:44px;height:44px;padding:4px;display:grid;position:relative;overflow:hidden}.skill-icon img{object-fit:contain;width:100%;height:100%}.skill-key{color:#fff8d5;text-shadow:0 1px 2px #000;font-size:10px;position:absolute;bottom:0;left:3px}.skill-cd{color:#fff8d5;text-shadow:0 1px 2px #000;font-size:13px;position:absolute}.cooldown-mask{background:conic-gradient(#111c17d9 var(--cooldown,0deg),transparent 0);pointer-events:none;position:absolute;inset:0}.empty-skill{color:#a99d77;font-size:22px}.skill-icon.is-locked{opacity:.5}.skill-icon.auto-disabled{border-style:dashed}.battle-effects{pointer-events:none;flex-direction:column;align-items:flex-end;gap:4px;display:flex;position:absolute;bottom:8px;right:8px}.battle-effects span{color:#fff1c4;background:#242b20d9;padding:2px 6px;font-size:10px}.boss-health{pointer-events:none;background:#231e1dda;border:1px solid #ad7650;padding:5px 8px;font-size:11px;position:absolute;top:10px;left:25%;right:25%}.boss-health>div{justify-content:space-between;gap:8px;display:flex}.boss-health>i{background:#c34c3e;height:4px;margin-top:5px;display:block}.workspace{flex:1;min-height:0;display:flex;position:relative;overflow:hidden}.workspace-pane{border:1px solid var(--line);background:var(--panel);flex-direction:column;width:100%;min-width:0;min-height:0;display:flex}.combat-pane.offstage{visibility:hidden;pointer-events:none;z-index:-1;position:absolute;inset:0}.combat-content{padding:0!important}.combat-summary{max-width:960px;margin:auto;padding:20px}.combat-hero{align-items:center;gap:14px;display:flex}.combat-hero>div{flex:1;max-width:440px}.combat-hero strong{margin-bottom:12px;font-size:13px;display:block}.combat-hero strong span{color:var(--gold);margin-left:12px}.combat-portrait{width:70px;height:65px;image-rendering:pixelated;background:url(/assets/interface/knight-portrait.png) 0 0/300% 300%;flex:none;animation:1.35s step-end infinite portrait}.combat-vital{text-align:center;background:#1e221e;border:1px solid #725a44;height:18px;font-size:11px;position:relative}.combat-vital i{background:#7d3c31;position:absolute;inset:0 auto 0 0}.combat-vital span{position:relative}.combat-links{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:20px;display:grid}.combat-links button{min-height:48px}.combat-links span{color:var(--muted);font-size:10px;display:block}.hero-skills{min-width:0;padding:12px 16px}.preview-active{gap:12px;padding:12px 0;display:flex}.preview-slot{background:#232923;border-color:#bda365;place-items:center;width:56px;min-width:48px;height:56px;padding:7px;display:grid;position:relative}.preview-slot img{object-fit:contain;width:36px;height:36px}.preview-slot small{color:var(--gold);font-size:10px;position:absolute;bottom:0;left:4px}.other-actions{gap:8px;margin-bottom:24px;display:flex}.other-actions button{flex:1;min-height:44px}.panel-heading{background:var(--red);color:#ffdf92;border-bottom:1px solid #a16f4b;flex:none;justify-content:space-between;align-items:center;min-height:42px;padding:0 12px;display:flex}.panel-heading h2{letter-spacing:2px;margin:0;font-size:15px}.panel-heading>span{font-size:12px}.panel-heading button{color:#ffdf92}.pane-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;padding:12px;overflow:auto}.hero-content{scrollbar-gutter:auto;flex-direction:column;padding:0;display:flex}.mobile-nav{min-height:62px;padding:4px 6px calc(4px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#242624;flex:none;grid-template-columns:repeat(5,1fr);gap:4px;display:grid}.mobile-nav button{color:#c5bea4;background:0 0;border:1px solid #0000;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:52px;padding:3px;font-size:11px;font-weight:400;display:flex}.mobile-nav button>span{font-size:18px;line-height:20px}.mobile-nav button[aria-current=page]{color:#ffdf86;background:#52472e;border-color:#ae9353}@media (min-width:901px){.hero-content{grid-template-columns:minmax(360px,1fr) 1fr;align-content:start;display:grid!important}.loadout{padding:24px!important}.hero-skills{padding:24px}.map-pane>.pane-scroll{grid-template-columns:1fr 1fr;align-content:start;gap:20px;display:grid}.region-picker{grid-column:1/-1}.boss-card,.chain-panel{margin:0!important}.goals-panel{grid-column:1/-1}.mobile-nav{align-self:center;width:100%;max-width:900px}.bag{align-self:center;width:100%;max-width:1100px}}.loadout{color:#221e16;background:#9c8a5e;flex:none;padding:8px 12px 10px}.hero-title{justify-content:center;align-items:center;gap:12px;margin-bottom:8px;font-size:12px;display:flex}.hero-title h3{margin:0;font-size:13px}.gear-grid{grid-template-rows:repeat(3,48px);grid-template-columns:48px 48px minmax(86px,1fr) 48px;gap:6px;max-width:420px;margin:auto;display:grid}.hero-portrait{width:100%;max-width:172px;height:100%;image-rendering:pixelated;background:url(/assets/interface/knight-portrait.png) 0 0/300% 300% no-repeat;grid-area:1/3/4;place-self:center;animation:1.35s step-end infinite portrait}.gear-slot{background:#4a4a3e;border:2px solid #bcb4a0;border-radius:1px;width:48px;min-width:0;height:48px;padding:5px;position:relative;overflow:hidden}.gear-slot img{object-fit:contain;width:100%;height:100%}.gear-slot small{color:#f6e5b7;text-shadow:0 1px 2px #000;font-size:8px;font-weight:400;position:absolute;bottom:0;left:2px}.gear-slot b{color:#ffe398;text-shadow:0 1px 2px #000;font-size:10px;position:absolute;bottom:0;right:2px}.gear-slot i{color:#fbe7b1;font-size:8px;font-style:normal;position:absolute;top:0;right:1px}.gear-slot[data-slot=weapon]{grid-area:1/1}.gear-slot[data-slot=shield]{grid-area:1/2}.gear-slot[data-slot=helmet]{grid-area:2/1}.gear-slot[data-slot=armor]{grid-area:2/2}.gear-slot[data-slot=gloves]{grid-area:3/1}.gear-slot[data-slot=boots]{grid-area:3/2}.gear-slot[data-slot=ring]{grid-area:1/4}.gear-slot[data-slot=necklace]{grid-area:3/4}.unequipped img{opacity:.3;filter:grayscale()}.hero-health{color:#fff3d0;text-align:center;background:#352f23;border:1px solid #6a5838;height:16px;margin-top:7px;font-size:10px;position:relative;overflow:hidden}.hero-health>span{z-index:1;position:relative}.hero-health>i{background:#803d30;position:absolute;inset:0 auto 0 0}.hero-stats{text-align:center;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:8px 0;display:grid}.hero-stats dt{margin-bottom:3px;font-size:10px}.hero-stats dd{white-space:nowrap;margin:0;font-size:14px;font-weight:700}.experience>div:first-child{justify-content:space-between;margin-bottom:4px;font-size:9px;display:flex}.xp-track{background:#6d6041;height:3px}.xp-track i{background:#ffda6f;height:100%;display:block}@keyframes portrait{0%{background-position:0 0}11.11%{background-position:50% 0}22.22%{background-position:100% 0}33.33%{background-position:0}44.44%{background-position:50%}55.55%{background-position:100%}66.66%{background-position:0 100%}77.77%{background-position:50% 100%}88.88%{background-position:100% 100%}}@media (prefers-reduced-motion:reduce){.hero-portrait{animation:none}}.bag{flex-direction:column;flex:1;min-height:0;padding:0 12px 12px;display:flex}.section-label{justify-content:space-between;align-items:center;gap:8px;min-height:44px;display:flex}.section-label h2{white-space:nowrap;margin:0;font-size:13px}.section-label h2>span{color:#c8b789;margin-left:7px;font-size:11px;font-weight:400}.bag-view-actions{gap:5px;display:flex}.bag-toolbar{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-bottom:8px;display:grid}.bag-toolbar select{width:100%;font-size:11px}.inventory-grid{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;grid-template-columns:repeat(auto-fill,52px);grid-auto-rows:52px;place-content:start center;gap:8px;min-height:0;padding:4px;display:grid;overflow:auto}.item-cell{background:#41433b;border:2px solid #8e9187;border-radius:1px;place-items:center;width:52px;height:52px;padding:6px;display:grid;position:relative}.item-cell img{object-fit:contain;width:32px;height:32px;display:block}.item-cell>span{color:#f1dfaa;font-size:9px;position:absolute;top:1px;right:2px}.item-tier{color:#e3d6b7;font-size:9px;position:absolute;top:1px;left:3px}.item-cell>i{display:none}.item-cell.selected,.item-cell.batch-selected{outline-offset:-4px;outline:2px solid #ffe49e}.item-cell .batch-check{color:#ffe598;background:#242624;border:1px solid #e4cc86;width:16px;height:16px;font:12px/14px sans-serif;position:absolute;top:2px;left:2px}.empty-bag{min-height:85px;color:var(--muted);grid-column:1/-1;justify-content:center;align-items:center;gap:12px;font-size:12px;display:flex}.empty-bag>span{font-size:26px}.quality-0{border-color:var(--quality-0,#969a8f)}.quality-1{border-color:var(--quality-1,#80ae60);background-color:#354130}.quality-2{border-color:var(--quality-2,#65afd3);background-color:#303f47}.quality-3{border-color:var(--quality-3,#b386d2);background-color:#42354a}.quality-4{border-color:var(--quality-4,#e8bb55);background-color:#514329}.quality-text-2{color:#83c5e5}.quality-text-3{color:#d4a0f5}.quality-text-4{color:#f3cd71}.bag-footer{grid-template-columns:1fr 1fr;gap:6px;padding-top:7px;display:grid}.bag-bulk-toolbar{border-top:1px solid var(--line);gap:5px;margin-bottom:5px;padding:6px 0;font-size:11px;display:grid}.bulk-selection,.bulk-lock-actions{align-items:center;gap:5px;display:flex}.bulk-selection strong{margin-right:auto}.bag-bulk-toolbar button{padding:6px;font-size:11px}.bulk-lock-actions button{flex:1}.training-toolbar{justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px;font-size:12px;display:flex}.training-toolbar button{min-height:44px}.training-warning{color:var(--gold)}.training-ready{color:var(--muted)}.skill-loadout{border-bottom:1px solid var(--line);grid-template-columns:repeat(4,56px);justify-content:center;gap:14px;margin-bottom:8px;padding:0 0 27px;display:grid}.preview-slot b{white-space:nowrap;width:68px;color:var(--ink);font-size:10px;font-weight:400;position:absolute;top:calc(100% + 5px)}.preview-active{padding-bottom:30px}.slot-locked{opacity:.5}.passive-preview{border-top:1px solid var(--line);flex-wrap:wrap;gap:8px;padding-top:14px;display:flex}.passive-preview button{width:44px;height:44px;padding:4px;position:relative}.passive-preview img{object-fit:contain;width:32px;height:32px}.passive-preview small{color:var(--gold);position:absolute;bottom:0;right:2px}#skills-content{align-self:center;width:100%;max-width:760px}.warrior-tree{background:#252723;border:1px solid #6d674c;padding:8px}.tree-branches{text-align:center;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.tree-branches>div{color:#f5d28a;background:#51442e;border:1px solid #8d7545;justify-content:center;align-items:center;gap:8px;padding:8px 0;font-size:12px;display:flex}.tree-branches span{color:#d4c8a6;font-size:10px}.tree-tier h3{color:#c3b78e;border-bottom:1px solid #55533e;margin:14px 0 10px;padding-bottom:6px;font-size:10px;font-weight:400}.tier-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.tier-branch{align-content:start;justify-items:center;gap:12px;display:grid;position:relative}.tier-branch:before{content:"";background:#9f8452;width:1px;position:absolute;top:-10px;bottom:0;left:50%}.tree-node{background:#252723;border:0;border-radius:0;justify-items:center;gap:4px;width:100%;max-width:104px;min-height:66px;padding:0 2px 4px;font-size:10px;font-weight:400;display:grid;position:relative}.tree-node:hover:not(:disabled){background:#393b2b}.node-icon{background:#33382c;border:2px solid #ad9460;place-items:center;width:48px;height:48px;display:grid;position:relative;box-shadow:inset 0 0 0 2px #151b16}.node-icon img{object-fit:contain;width:32px;height:32px}.node-icon b{color:#edcc71;background:#1f241f;border:1px solid #786a43;padding:0 3px;font-size:10px;font-weight:400;position:absolute;bottom:-3px;right:-4px}.passive-node .node-icon{border-color:#7b9770;border-radius:50%}.keystone-tier .node-icon{border-color:#bc8a54;border-radius:7px;transform:rotate(45deg)}.keystone-tier .node-icon img,.keystone-tier .node-icon b{transform:rotate(-45deg)}.keystone-tier .tree-node{gap:12px;padding-top:10px}.keystone-tier .node-icon b{bottom:0;right:-4px}.tree-node.selected .node-icon{outline-offset:2px;outline:2px solid #ffe2a1}.tree-node.node-locked .node-icon{filter:grayscale();opacity:.55}.tree-node small{color:var(--muted);font-size:9px}.skill-node{padding:4px 0}.node-title{align-items:center;gap:12px;display:flex}.node-title img{object-fit:contain;width:48px;height:48px}.node-title h3{margin:0;font-size:16px}.node-title>span{color:var(--gold);margin-left:auto;font-size:12px}.skill-node p{margin:20px 0;font-size:13px;line-height:1.8}.node-auto{align-items:center;gap:8px;min-height:44px;font-size:12px;display:flex}.skill-node>button{white-space:normal;width:100%;min-height:44px;margin-top:12px}.skill-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:20px;display:grid}.skill-choices button{justify-items:center;gap:8px;padding:12px 3px;font-size:12px;display:grid}.skill-choices button[aria-pressed=true]{border-color:var(--gold);background:#4f432c}.skill-choices img{object-fit:contain;width:40px;height:40px}.skill-choices small{color:var(--muted);font-size:10px;font-weight:400}.region-picker{grid-template-columns:1fr 1fr;gap:8px;display:grid}.region-picker button{text-align:left;min-height:64px;padding:10px}.region-picker button[aria-pressed=true]{background:#524a32;border-color:#d6b66e}.region-picker strong{font-size:13px;display:block}.region-picker small{color:var(--muted);margin-top:8px;font-size:10px;font-weight:400;display:block}.boss-card{background:#3b392d;border:1px solid #80704e;margin-top:12px;padding:12px}.boss-card h3{color:#efce8a;margin-bottom:8px}.rule-values{margin:10px 0;font-size:11px}.rule-values>div{border-bottom:1px solid #585747;grid-template-columns:65px minmax(0,1fr);gap:10px;padding:8px 0;display:grid}.rule-values dt{color:var(--muted)}.rule-values dd{margin:0;line-height:1.7}.boss-card .rule-values>div{grid-template-columns:32px minmax(0,1fr)}.difficulty-label{justify-content:space-between;align-items:center;gap:8px;margin:12px 0;font-size:12px;display:flex}.difficulty-label select{max-width:80%}.boss-progress{background:#292b24;height:3px;margin:10px 0}.boss-progress>i{background:#bfa15c;height:100%;display:block}#challenge{width:100%}#boss-record{color:#d5c28c;margin:10px 0 0;font-size:10px;line-height:1.7;display:block}.boss-card>.text-button{padding:7px 0}.chain-panel{border:1px solid var(--line);margin-top:12px;padding:12px}.chain-options{flex-wrap:wrap;align-items:center;gap:8px;font-size:11px;display:flex}.chain-options label{align-items:center;gap:4px;display:flex}.chain-panel p{font-size:11px}.chain-panel .section-label{min-height:20px;margin-bottom:10px}#chain-status{margin:12px 0 5px}.goals-panel{margin-top:18px}.journal>p{color:var(--muted);font-size:11px}.journal ol{margin:0;padding:0;list-style:none}.journal li{border-top:1px solid #535547;gap:10px;padding:12px 0;font-size:12px;line-height:1.8;display:flex}.journal time{color:var(--muted);flex:none;font-size:10px}.journal .log-loot{color:#bed292}.journal .log-rare{color:#a8cfe1}.journal .log-danger{color:#e6a38d}.floating-panel[popover]{overscroll-behavior:contain;width:390px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);color:var(--ink);z-index:90;background:#292c27;border:1px solid #a58d5d;border-radius:5px;margin:0;padding:14px;position:fixed;inset:auto;overflow:auto;box-shadow:0 12px 50px #0008}#game-tooltip{pointer-events:auto;width:300px}.popover-heading,.modal-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;padding-bottom:8px;display:flex}.popover-heading h3,.modal-heading h2{margin:0}.popover-heading{font-size:12px}.popover-heading>button,.modal-heading>button{width:36px;height:36px;padding:0}.detail-header{border:1px solid #827653;align-items:center;gap:10px;padding:8px;display:flex}.detail-header img{object-fit:contain;width:36px;height:36px}.detail-header>div{flex:1;min-width:0}.detail-header h3{margin:4px 0 0;font-size:13px}.detail-header small{color:var(--muted);font-size:10px}.detail-header button{flex:none;padding:8px;font-size:11px}.item-detail h4{margin:14px 0 10px;font-size:12px}.compare-table,.drop-table{border-collapse:collapse;width:100%;margin:12px 0;font-size:11px}.compare-table caption,.drop-table caption{text-align:left;color:var(--muted);margin-bottom:8px}.compare-table th,.compare-table td,.drop-table th,.drop-table td{border-bottom:1px solid var(--line);text-align:right;padding:8px 4px;font-weight:400}.compare-table th:first-child,.drop-table th:first-child{text-align:left}.effect-compare{background:#3b3c2f;padding:8px;font-size:11px}.effect-compare p{margin:4px 0}.item-notes{border-top:1px solid var(--line);margin-top:10px;padding:8px 0;font-size:12px}.item-notes p{margin:4px 0}.unique-effect{color:#e4bd70}.affix-row{flex-wrap:wrap;justify-content:space-between;gap:4px;display:flex}.affix-row small{color:var(--muted);font-size:10px}.item-stats,.tooltip-stats{margin:12px 0;font-size:12px}.item-stats>div{grid-template-columns:1fr 70px 65px;gap:10px;padding:6px 0;display:grid}.item-stats dd,.tooltip-stats dd{text-align:right;margin:0}.item-stats span{text-align:right}.tooltip-stats>div{justify-content:space-between;padding:6px 0;display:flex}.tooltip-stats dt,.item-stats dt{color:var(--muted)}.item-actions{background:#292c27;gap:8px;padding:10px 0 0;display:flex;position:sticky;bottom:-14px}.item-actions>button{flex:1}.game-tooltip p{font-size:11px;line-height:1.8}.skill-status{color:var(--gold);font-size:12px}.toast{color:#f6df9e;z-index:1000;pointer-events:none;background:#181c17f5;border:1px solid #aa8e4e;max-width:min(540px,100vw - 24px);padding:12px 20px;font-size:12px;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 5px 24px #0008}dialog{overscroll-behavior:contain;width:560px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);color:var(--ink);background:#2d302a;border:1px solid #a28b58;border-radius:5px;padding:20px;overflow:auto;box-shadow:0 16px 80px #0008}dialog::backdrop{background:#101712bd}dialog p{font-size:12px}dialog h2{font-size:18px}dialog h3{margin:20px 0 12px}.save-actions,.modal-footer{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.save-actions>button,.modal-footer>button{flex:1}.wide{width:100%}.range-setting{justify-content:space-between;align-items:center;gap:12px;margin:16px 0;font-size:12px;display:flex}.range-setting input{accent-color:#d5b360;width:60%}.check-setting{align-items:center;gap:7px;margin:12px 0;font-size:12px;display:flex}.new-game-row{border-top:1px solid var(--line);margin:22px 0 0;padding:16px 0 0}button.danger-button{color:#ffd8c2;background:#5f3028;border-color:#bc7d63}.offline-stats{grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0;display:grid}.offline-stats small,.offline-stats b{display:block}.offline-stats small{color:var(--muted);margin-bottom:8px;font-size:11px}.offline-stats b{font-size:20px}.economy-card{border:1px solid var(--line);margin-bottom:14px;padding:14px}.economy-card p,.economy-card label{font-size:12px}.economy-card>button{margin-top:8px}.filter-fields{grid-template-columns:1fr 1fr;gap:12px;display:grid}.filter-fields label{flex-direction:column;gap:6px;font-size:12px;display:flex}.filter-fields input{min-width:0;padding:8px}.search-field{grid-column:1/-1}.filter-condition{grid-template-columns:1.4fr 1fr 64px 48px;gap:5px;margin:8px 0;display:grid}.filter-condition input{min-width:0;padding:6px}.filter-condition button{padding:6px;font-size:11px}.filter-condition select{font-size:11px}.rule-tabs{gap:8px;display:flex}.rule-tabs button{flex:1}.rule-tabs button[aria-pressed=true]{background:#80602d;border-color:#c4a260}.rule-checks{border:1px solid var(--line);flex-wrap:wrap;gap:8px 12px;min-width:0;margin:12px 0;padding:10px;font-size:12px;display:flex}.rule-checks label{align-items:center;gap:4px;min-height:30px;display:flex}.rule-tools{flex-wrap:wrap;gap:6px;margin:8px 0;display:flex}.rule-tools button{font-size:11px}.template-checks{overscroll-behavior:contain;max-height:180px;overflow:auto}.keep-row{gap:5px;margin:8px 0;display:flex}.keep-row select,.keep-row input{min-width:0;max-width:42%;padding:6px 3px;font-size:11px}.keep-row input{width:65px}.keep-row .keep-template{flex:1}.keep-row button{padding:4px 7px}#recycle-preview{background:#414332;padding:10px;font-size:12px}.recycle-list{max-height:180px;padding-left:20px;font-size:12px;line-height:1.9;overflow:auto}.table-scroll{overflow:auto}.boot{border:1px solid var(--line);max-width:520px;margin:20vh auto;padding:25px}.boot strong{color:var(--gold)}@media (max-width:1100px) and (min-width:901px){.shell{gap:8px;padding:0 8px 8px}.workspace{grid-template-columns:minmax(230px,1fr) minmax(296px,1.18fr) minmax(220px,1fr);gap:7px}.pane-scroll{padding:8px}.hero-content{padding:0}.loadout{padding:8px}.gear-grid{grid-template-rows:repeat(3,44px);grid-template-columns:44px 44px minmax(70px,1fr) 44px}.gear-slot{width:44px;height:44px}.tree-node{text-align:center;grid-template-rows:auto auto auto;grid-template-columns:1fr;gap:3px;padding:4px 2px}.tree-node img{grid-row:auto;justify-self:center}.tree-node span{white-space:normal;font-size:10px}.branch-active{min-height:170px}}@media (max-width:900px){:root{font-size:14px}.shell{padding:env(safe-area-inset-top) 0 0;gap:0}.masthead{gap:8px;height:44px;padding:0 10px}.brand{letter-spacing:.4px;font-size:14px}#save-status{flex:1;font-size:0}#save-status:before{content:"●";color:#aab485;font-size:8px}.gold-badge{font-size:13px}.masthead>.quiet{min-height:44px}.scene-panel{border-width:0 0 1px;overflow:visible}.scene-top{gap:6px;height:44px;min-height:44px;padding:0 8px;font-size:10px}.scene-top .region-shortcut{gap:5px;min-height:44px;font-size:12px}.scene-top #kill-count{display:none}.scene-top #combat-status{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.scene-top #pause{min-width:66px;min-height:44px;padding:7px 5px;font-size:11px}.battle-stage{width:100%;max-width:100%}#battle{aspect-ratio:8/3;height:auto}.combat-controls{width:100%;min-height:54px;padding:5px 8px}.combat-controls>button{min-height:44px;padding:6px 8px}.skill-hud{gap:6px}.skill-icon{width:44px;height:44px}.boss-health{font-size:9px;top:5px;left:14%;right:14%}.battle-effects span{font-size:9px}.battle-effects{bottom:4px;right:4px}.workspace{gap:0;min-height:0;padding:6px;display:flex}.workspace-pane{flex:1;width:100%}.panel-heading{min-height:44px;padding:0 10px}.panel-heading button{min-height:44px}.pane-scroll{padding:10px}.hero-content{padding:0}.loadout{padding:7px 10px 8px}.hero-title{margin-bottom:6px}.gear-grid{grid-template-rows:repeat(3,44px);grid-template-columns:44px 44px minmax(86px,1fr) 44px;gap:5px;max-width:370px}.gear-slot{width:44px;height:44px}.hero-portrait{max-width:153px}.hero-health{margin-top:6px}.hero-stats{margin:7px 0}.hero-stats>div{justify-content:center;align-items:center;gap:4px;display:flex}.hero-stats dt{margin:0}.hero-stats dd{font-size:12px}.experience>div:first-child{font-size:9px}.hero-content{overflow:auto}.bag{flex:1;min-height:0;padding:0 8px 8px}.bag-toolbar{display:none}.item-cell{min-height:44px}.bag-footer{background:var(--panel);padding-bottom:3px;position:sticky;bottom:-1px}.bag-footer button{min-height:44px}.bag-view-actions button{min-height:44px;padding:7px 10px}.bag-toolbar select{min-height:44px}.bulk-selection{flex-wrap:wrap}.bag-bulk-toolbar button{min-height:44px}.region-picker button{min-height:75px}.map-pane button,.journal-pane button,.difficulty-label select,.chain-options select,.chain-options label{min-height:44px}.toast{bottom:calc(70px + env(safe-area-inset-bottom));width:max-content;font-size:12px}.floating-panel[popover],#item-detail,#game-tooltip{width:100%;max-width:100%;max-height:85dvh;padding:12px 14px calc(14px + env(safe-area-inset-bottom));border-width:1px 0 0;border-radius:12px 12px 0 0;box-shadow:0 -12px 70px #0009;inset:auto 0 0!important}.floating-panel::backdrop{background:#10171280}.floating-panel button{min-height:44px}.popover-heading{z-index:1;background:#292c27;position:sticky;top:-12px}.popover-heading>button,.modal-heading>button{width:44px;height:44px}.item-actions{bottom:calc(-14px - env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}dialog{width:100%;max-width:100%;max-height:92dvh;padding:14px 14px calc(14px + env(safe-area-inset-bottom));border-width:1px 0 0;border-radius:12px 12px 0 0;margin:0;inset:auto 0 0}dialog button,dialog select,dialog input:not([type=checkbox]){min-height:44px}dialog label:has(input[type=checkbox]){min-height:44px}.modal-heading{z-index:1;background:#2d302a;padding-top:4px;position:sticky;top:-14px}.filter-condition{grid-template-columns:1.3fr 1fr 60px}.filter-condition button{grid-column:3}.keep-row{flex-wrap:wrap}.keep-row select{max-width:65%}.rule-checks{gap:2px 8px}.rule-checks input{flex:none}.save-actions>button{min-width:100px}.offline-stats{gap:10px}.range-setting{gap:8px}.range-setting input{width:55%}}#save-status[data-state=pending]:before{color:#e9bd60}#save-status[data-state=failed]:before{color:#ffaca0}@media (max-width:359px){.gear-grid{grid-template-columns:44px 44px minmax(70px,1fr) 44px}.loadout{padding-left:8px;padding-right:8px}.gold-badge{font-size:12px}.scene-top #combat-status{font-size:9px}.skill-loadout{gap:12px}.tree-branches>div{gap:4px}.rule-values>div{grid-template-columns:55px minmax(0,1fr)}}@media (max-height:520px){.masthead{height:40px}.mobile-nav{min-height:48px}.mobile-nav button{min-height:40px}.mobile-nav button>span{display:none}}.tree-branches>button{border:0;border-bottom:2px solid #0000;flex-direction:column;align-items:center;gap:4px;min-height:48px;display:flex}.tree-branches>button[aria-pressed=true]{border-bottom-color:var(--gold);background:#a77b2526}.tier-branch[data-link-state=locked]:before{opacity:.55;border-style:dashed!important;border-color:#676a62!important}.tier-branch[data-link-state=available]:before{opacity:1;border-color:#caa24b!important}.tier-branch[data-link-state=learned]:before{opacity:1;border-color:#9dbf74!important}.hero-content{align-content:start}.combat-content{justify-content:flex-start}@media (min-width:901px){.hero-content{grid-template-columns:minmax(380px,1.05fr) minmax(300px,1fr);align-items:start;gap:24px;padding:24px}.loadout{width:100%;max-width:560px;margin:0 auto}.hero-skills{padding-top:12px}.combat-content{width:100%;max-width:1100px;margin:auto}}@media (max-width:900px){.warrior-tree .tier-columns{grid-template-columns:1fr}.warrior-tree .tier-branch.branch-other{display:none}.warrior-tree .tier-branch{justify-content:center;gap:22px;padding:18px 12px;display:flex}.tree-node{min-width:94px;min-height:90px}.tree-tier>h3{margin:10px 0 0}.training-toolbar{gap:8px}.skill-loadout{margin:12px 0}.combat-summary{margin-top:12px}.hero-skills{padding:14px}.tree-branches>button{min-width:44px}}.hero-portrait,.combat-portrait{background-image:var(--hero-portrait,url(/assets/icons/portraitWarrior.png))}.hero-portrait{aspect-ratio:86/80;height:auto;max-height:100%}.mobile-nav button>img{object-fit:contain;width:24px;height:24px}.hero-actions{gap:6px;margin-left:auto;display:flex}.hero-actions button{min-height:44px}.character-choices,.appearance-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0;display:grid}.character-choices button{justify-items:center;gap:8px;min-height:110px;padding:16px 8px;display:grid}.character-choices img{object-fit:contain;width:48px;height:48px}.appearance-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.appearance-choices button{justify-items:center;gap:8px;min-height:110px;padding:8px 4px;display:grid}.appearance-choices button[aria-pressed=true]{border-color:var(--gold);background:#574b32}.skin-preview{aspect-ratio:86/80;width:86px;max-width:100%;image-rendering:pixelated;background-size:300% 300%;animation:1.35s step-end infinite portrait}.tier-branch:before{pointer-events:none;background:0 0;border:0;border-left:2px solid #9f8452;width:0}.tier-branch[data-link-state=root]:before{display:none}.tier-branch[data-link-state=locked]:before{border:0!important;border-left:2px dashed #676a62!important}.tier-branch[data-link-state=available]:before{border-left:2px solid #caa24b!important}.tier-branch[data-link-state=learned]:before{border-left:2px solid #9dbf74!important}.combat-summary{width:100%;margin:0 auto;padding:14px 18px}.combat-links{margin-top:12px}.combat-context{grid-template-columns:1fr 1fr;gap:14px;width:100%;max-width:960px;margin:0 auto;padding:0 18px 18px;display:grid}.combat-context>div{border:1px solid var(--line);background:#282c29;padding:12px;font-size:12px}.recent-loot ul{color:#ccbc8b;overflow-wrap:anywhere;gap:7px;margin:8px 0 0;padding:0;line-height:1.4;list-style:none;display:grid}#combat-name{color:inherit;margin-left:0}@media (min-width:901px){.hero-content{grid-template-columns:minmax(360px,1fr) minmax(280px,1fr);align-self:center;gap:20px;width:100%;max-width:1100px;padding:24px}.hero-skills .preview-active{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.hero-skills .preview-slot{width:100%}.hero-skills .section-label{margin-bottom:12px}.region-picker{grid-template-columns:repeat(3,1fr)}}@media (max-width:900px){.combat-context{grid-template-columns:1fr;gap:10px;padding:0 12px 12px}.combat-context>div{padding:10px}.combat-summary{margin:0;padding:12px}.combat-portrait{width:54px;height:50px}.combat-hero strong{margin-bottom:7px}.recent-loot li{font-size:11px}.tier-branch:before{height:14px;top:-14px;bottom:auto}.tree-node{min-height:82px}.hero-actions{gap:2px}.hero-actions button{padding:6px 8px}.hero-title{margin-top:4px}}@media (max-height:520px){.mobile-nav button>img{width:18px;height:18px}.combat-context{grid-template-columns:1fr 1fr}}@media (prefers-reduced-motion:reduce){.skin-preview,.combat-portrait{animation:none}}.hero-skills .passive-preview{border-top:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:24px;padding-top:16px;display:grid}.hero-skills .passive-preview button{flex-direction:column;justify-content:center;align-items:center;gap:5px;width:100%;height:auto;min-height:76px;padding:8px 4px;font-size:10px;display:flex;position:relative}.hero-skills .passive-preview img{object-fit:contain;width:32px;height:32px}.hero-skills .passive-preview small{font-size:9px;top:3px;bottom:auto;right:4px}.hero-skills .passive-preview .unlearned img{filter:grayscale(.8);opacity:.5}@media (max-width:600px){#battle{aspect-ratio:16/9}}@media (min-width:901px){.loadout .gear-grid{grid-template-rows:repeat(3,64px);grid-template-columns:64px 64px minmax(128px,1fr) 64px;gap:8px;max-width:460px}.loadout .gear-slot{width:64px;height:64px;padding:7px}.loadout .hero-portrait{max-width:220px}.hero-title{margin:10px 0 18px}.hero-title h3{font-size:16px}.hero-health{margin-top:16px}.hero-stats{font-size:14px}.hero-skills .preview-slot{height:74px}.hero-skills .preview-slot img{width:48px;height:48px}.hero-skills .passive-preview button{min-height:94px;font-size:12px}.hero-skills .passive-preview img{width:42px;height:42px}}.forge-modal{width:650px;max-width:calc(100vw - 32px)}.forge-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:start;gap:18px 24px;display:grid}.forge-item{border:1px solid var(--line);align-items:center;gap:14px;min-width:0;padding:14px;display:flex}.forge-item>img{object-fit:contain;width:64px;height:64px;image-rendering:pixelated}.forge-item h3{overflow-wrap:anywhere;margin:0 0 8px;font-size:15px}.forge-item strong{color:var(--gold);font-size:24px;display:block}.forge-item span{color:var(--muted);margin-top:4px;font-size:12px;display:block}.enhancement-gain{white-space:nowrap}.forge-item .enhancement-gain{color:#add67d;margin:0;display:inline}.forge-wallet{flex-direction:column;justify-content:center;align-self:center;gap:14px;display:flex}.forge-wallet>span,.forge-resources>span{align-items:center;gap:8px;display:flex}.forge-wallet img,.forge-resources img{object-fit:contain;width:24px;height:24px;image-rendering:pixelated}.forge-wallet b{font-variant-numeric:tabular-nums;font-size:20px}.forge-settings{gap:10px;display:grid}.forge-settings label{justify-content:space-between;align-items:center;gap:10px;min-height:44px;font-size:13px;display:flex}.forge-settings input[type=number],.forge-settings select{width:82px;min-width:0;min-height:44px;padding:8px}.forge-settings .forge-toggle{justify-content:flex-start}.forge-quote{gap:16px;margin:0;font-size:13px;display:grid}.forge-quote>div{justify-content:space-between;gap:12px;display:flex}.forge-quote dt{color:var(--muted);white-space:nowrap}.forge-quote dd{text-align:right;margin:0}.forge-mastery{border-top:1px solid var(--line);margin-top:18px;padding-top:14px;font-size:12px}.forge-mastery>div{justify-content:space-between;gap:8px;margin-bottom:8px;display:flex}.forge-mastery progress{width:100%;height:8px;accent-color:var(--gold);margin-bottom:6px;display:block}.forge-mastery>span{text-align:right;color:var(--muted);font-variant-numeric:tabular-nums;display:block}.forge-result{background:#283229;border-left:3px solid #91b270;flex-direction:column;gap:6px;margin-top:14px;padding:12px;font-size:12px;display:flex}.forge-result strong{justify-content:space-between;font-size:16px;display:flex}.forge-result[data-outcome=failure]{background:#382c28;border-color:#d5927c}.forge-result[data-outcome=great]{background:#473b24;border-color:#ffda75}.forge-status{min-height:18px;color:var(--muted);margin:12px 0;font-size:12px}.forge-actions{background:#2d302a;gap:8px;padding:10px 0;display:flex;position:sticky;bottom:-20px}.forge-actions>button{flex:1;min-width:0;min-height:44px}.forge-resources{border:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;font-size:12px;display:flex}.item-enhancement{color:#ffe1a3;z-index:1;background:#161a19c9;font-size:11px;position:absolute;bottom:3px;right:4px}.cultivated-state{color:#ebce89}.item-actions{flex-wrap:wrap}.item-actions>button{min-width:75px}.skill-icon.effect-active{box-shadow:inset 0 0 0 2px #93c080}.skill-icon[data-status=waiting] .skill-cd{color:#d8cfa8;font-size:12px}@media (min-width:901px){.hero-skills{grid-area:1/2/3}.forge-resources{grid-area:2/1}}@media (max-width:900px){.forge-modal{width:100%;max-width:100vw}.forge-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:14px}.forge-item{gap:8px;padding:10px}.forge-item>img{width:44px;height:44px}.forge-wallet{gap:12px}.forge-wallet b{font-size:16px}.forge-settings,.forge-quote{grid-column:1/-1}.forge-settings{grid-template-columns:1fr 1fr;gap:4px 12px}.forge-settings>label:last-child{grid-column:1/-1}.forge-settings input[type=number]{width:64px}.forge-settings label{font-size:12px}.forge-quote{border-top:1px solid var(--line);gap:10px;padding-top:8px}.forge-quote dd{max-width:75%}.forge-mastery{margin-top:12px;padding-top:10px}.forge-actions{bottom:calc(-14px - env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.forge-resources{margin:0 14px}.bulk-lock-actions{flex-wrap:wrap}.bulk-lock-actions>button{flex:1;min-width:80px}}.loot-row button{text-align:left;width:100%;color:inherit;background:#202522;border:1px solid;align-items:center;gap:10px;min-height:52px;padding:6px 8px;display:flex}.loot-row button:disabled{opacity:1;cursor:default}.loot-row img{object-fit:contain;width:34px;height:34px;image-rendering:pixelated;flex:none}.loot-row span{flex:1;min-width:0}.loot-row b{font-size:12px;font-weight:500;display:block}.loot-row small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.loot-row i{font-size:22px;font-style:normal}.loot-flight{object-fit:contain;width:32px;height:32px;image-rendering:pixelated;pointer-events:none;z-index:120;position:fixed}.hero-spec{text-align:left;justify-content:space-between;width:100%;margin-bottom:10px;display:flex}.hero-spec span{color:var(--muted);font-size:12px}.build-top{border:1px solid var(--line);background:#222921}.spec-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:5px;display:grid}.spec-tabs button{justify-content:center;align-items:center;gap:8px;min-height:48px;padding:7px 4px;display:flex;position:relative}.spec-tabs img{width:28px;height:28px;image-rendering:pixelated}.spec-tabs i{font-size:10px;position:absolute;top:4px;right:6px}.spec-tabs button[aria-selected=true]{border-color:var(--gold);color:#ffdf89;background:#4c4027}.spec-core{align-items:center;gap:12px;padding:0 12px 10px;display:flex}.spec-core p{flex:1;margin:2px 0;font-size:12px;line-height:1.6}.spec-core button{flex-shrink:0;min-height:44px}.build-edit-bar{z-index:5;border-bottom:1px solid var(--line);background:#242a24;align-items:center;gap:8px;padding:10px 0;display:flex;position:sticky;top:0}.build-edit-bar span,.build-edit-bar strong{flex:1;font-size:12px}.build-edit-bar button{min-height:44px;padding:8px 12px}.build-error{color:#ffb59b;margin:8px 0;font-size:12px}.build-section{margin:18px 0}.build-section h3{color:var(--gold);justify-content:space-between;margin:0 0 10px;font-size:14px;display:flex}.build-section h3 span{color:var(--muted);font-size:12px;font-weight:400}.build-common{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.build-actives{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;display:grid}.build-node{flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:88px;padding:9px 4px;font-size:12px;line-height:1.3;display:flex;position:relative}.build-node img{object-fit:contain;width:32px;height:32px;image-rendering:pixelated}.build-node span{text-align:center;overflow-wrap:anywhere}.build-node b{color:var(--muted);font-size:11px;font-weight:400}.build-node.selected{outline:2px solid var(--gold);outline-offset:-2px}.build-node[data-link-state=locked]{color:#aaa89b;background:#242824}.build-node[data-link-state=locked] img{filter:grayscale(.8);opacity:.65}.build-node[data-link-state=learned]{background:#413c29;border-color:#c9ad63}.build-node[data-link-state=available]{border-color:#84ad78}.build-routes{grid-template-columns:1fr 1fr;gap:20px;display:grid}.build-route{gap:18px;display:grid}.build-route .build-node{text-align:left;grid-template-columns:36px 1fr auto;gap:12px;min-height:54px;padding:8px 12px;display:grid}.build-route .build-node span{text-align:left}.build-route .build-node+.build-node:before{content:"";background:#5d645a;width:3px;height:19px;position:absolute;bottom:100%;left:50%}.build-route .build-node[data-link-state=available]:before{background:#84ad78}.build-route .build-node[data-link-state=learned]:before{background:#d6bc71}.rank-controls{align-items:center;gap:10px;margin:14px 0;display:flex}.rank-controls button{width:46px;height:44px;font-size:20px}.rank-controls span{text-align:center;flex:1;font-size:12px}.node-auto{align-items:center;gap:8px;min-height:44px;display:flex}.skill-node>.node-title strong{color:var(--gold);font-size:20px}@media (max-width:900px){.build-common{grid-template-columns:repeat(4,minmax(0,1fr))}.build-actives{grid-template-columns:repeat(3,minmax(0,1fr))}.build-section{margin:14px 0}.build-node{min-height:78px;font-size:11px}.build-node img{width:30px;height:30px}.spec-core{padding:4px 10px 10px;display:block}.spec-core button{width:100%;margin-top:8px}.build-route .build-node{grid-template-columns:28px 1fr;gap:5px;min-height:66px;padding:8px 6px}.build-route .build-node img{grid-row:1/3;width:26px;height:26px}.build-route .build-node span{font-size:11px}.build-route .build-node b{text-align:left}.build-routes{gap:12px}.build-edit-bar{gap:5px}.build-edit-bar button{padding:8px}.spec-tabs button{gap:5px;font-size:12px}}.prototype-layout{gap:0;padding:8px 10px}.prototype-layout [hidden]{display:none!important}.prototype-layout .workspace{gap:0;padding:3px 5px 8px}.prototype-layout .workspace-pane{border:0}.prototype-layout .masthead{height:46px;padding:0 6px}.prototype-layout .mobile-nav{min-height:58px;padding:3px 2px calc(3px + env(safe-area-inset-bottom))}.prototype-layout .mobile-nav button{border-color:var(--line);min-height:48px}.prototype-layout .mobile-nav button>img{width:22px;height:22px}.prototype-layout .hero-content{flex-direction:column;flex:1;width:100%;max-width:1200px;min-height:0;margin:0 auto;padding:0;overflow:hidden;display:flex!important}.prototype-layout .loadout{border:1px solid var(--line);width:100%;max-width:none;min-height:230px;color:var(--ink);background:#3b3b2b;flex:0 0 39%;margin:0;display:flex;padding:0!important}.prototype-layout .hero-overview{border-right:1px solid var(--line);flex:0 0 32%;justify-content:center;align-items:center;min-width:0;display:flex}.prototype-layout .profile-inner{width:72%;max-width:140px}.prototype-layout .hero-overview .hero-portrait{aspect-ratio:1;border:1px solid #b29a60;width:100%;max-width:none;height:auto}.prototype-layout .hero-title{white-space:nowrap;justify-content:space-between;align-items:center;gap:2px;margin:5px 0;font-size:10px;display:flex}.prototype-layout .hero-title h3{color:#ffe0a0;margin:0;font-size:11px}.prototype-layout .hero-stats{flex-direction:column;gap:4px;margin:0;padding:8px 0;font-size:10px;display:flex}.prototype-layout .hero-stats>div{justify-content:space-between;gap:3px;display:flex}.prototype-layout .hero-stats dt{color:#cabe9b}.prototype-layout .hero-stats dd{color:#ffe0a0;margin:0;font-size:11px}.prototype-layout .profile-inner>.wide{width:100%;min-height:34px;padding:5px 0;font-size:11px}.prototype-layout .loadout .gear-grid{flex:1;width:auto;min-width:0;max-width:530px;height:100%;margin:0 auto;display:block;position:relative}.prototype-layout .gear-slot{aspect-ratio:1;border-width:1px;width:auto;height:15.6%;min-height:40px;max-height:64px;padding:0;position:absolute}.prototype-layout .gear-slot img{object-fit:contain;width:60%;height:55%;position:absolute;top:22%;left:20%}.prototype-layout .gear-slot small{font-size:8px;line-height:1.1;bottom:1%;left:3%}.prototype-layout .gear-slot b{font-size:8px;font-weight:400;line-height:1;top:2%;bottom:auto}.prototype-layout .gear-enhancement{left:3%;right:auto}.prototype-layout .gear-level{left:auto;right:3%}.prototype-layout .gear-slot i{top:auto;bottom:1%;right:2%}.prototype-layout .gear-slot[data-slot=shoulder],.prototype-layout .gear-slot[data-slot=gloves],.prototype-layout .gear-slot[data-slot=weapon]{left:18%}.prototype-layout .gear-slot[data-slot=helmet],.prototype-layout .gear-slot[data-slot=armor],.prototype-layout .gear-slot[data-slot=pants],.prototype-layout .gear-slot[data-slot=boots]{left:41.5%}.prototype-layout .gear-slot[data-slot=amulet],.prototype-layout .gear-slot[data-slot=ring],.prototype-layout .gear-slot[data-slot=shield]{left:65%}.prototype-layout .gear-slot[data-slot=helmet]{top:14%}.prototype-layout .gear-slot[data-slot=armor]{top:32.8%}.prototype-layout .gear-slot[data-slot=pants]{top:51.6%}.prototype-layout .gear-slot[data-slot=boots]{top:70.4%}.prototype-layout .gear-slot[data-slot=shoulder],.prototype-layout .gear-slot[data-slot=amulet]{top:23.4%}.prototype-layout .gear-slot[data-slot=gloves],.prototype-layout .gear-slot[data-slot=ring]{top:42.2%}.prototype-layout .gear-slot[data-slot=weapon],.prototype-layout .gear-slot[data-slot=shield]{top:61%}.prototype-layout .bag{border:0;flex-direction:column;flex:1;width:100%;max-width:none;min-height:0;margin:0;padding:0;display:flex;overflow:hidden}.inventory-controls{flex:none;justify-content:space-between;gap:10px;padding:3px 0 9px;display:flex}.inventory-tabs,.prototype-layout .bag-view-actions{gap:0;width:43%;display:flex}.inventory-tabs button,.prototype-layout .bag-view-actions button{border-radius:0;flex:1;min-width:0;min-height:38px;padding:4px 2px;font-size:12px}.inventory-tabs button+button,.prototype-layout .bag-view-actions button+button{border-left:0}.inventory-tabs [aria-pressed=true],#lock-toggle[aria-pressed=true]{border-color:var(--gold);color:var(--gold);background:#5b4a2c}.inventory-frame{border:1px solid var(--line);flex-direction:column;flex:1;min-height:0;margin:0 1.5%;display:flex;position:relative}.capacity{white-space:nowrap;background:var(--panel);border:1px solid var(--line);z-index:1;border-radius:0 0 3px 3px;padding:3px 8px;font-size:9px;position:absolute;top:-1px;left:50%;transform:translate(-50%)}.prototype-layout .inventory-grid,#resource-inventory{flex:1;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;gap:6px;min-height:0;margin:0;padding:30px 10px 10px;display:grid;overflow-y:auto}.prototype-layout .item-cell{aspect-ratio:1;border-width:1px;border-radius:0;width:100%;max-width:none;height:auto;min-height:0;padding:0;position:relative}.prototype-layout .item-cell img{object-fit:contain;width:60%;height:55%;position:absolute;top:22%;left:20%}.prototype-layout .item-cell .item-tier{font-size:8px;font-weight:400;inset:2% 3% auto auto}.prototype-layout .item-cell .item-enhancement{font-size:8px;font-weight:400;inset:2% auto auto 3%}.prototype-layout .item-cell .item-part{color:var(--ink);font-size:9px;position:absolute;bottom:1%;left:3%}.prototype-layout .item-cell>span{font-size:9px;top:auto;bottom:0;right:2%}#resource-inventory>div{aspect-ratio:1;border:1px solid var(--line);background:#292d27;position:relative}#resource-inventory img{object-fit:contain;width:50%;height:50%;position:absolute;top:20%;left:25%}#resource-inventory strong{font-size:9px;font-weight:400;position:absolute;bottom:1%;left:3%}#resource-inventory b{font-size:8px;position:absolute;top:1%;right:3%}.prototype-layout .combat-content{scrollbar-gutter:auto;flex-direction:column;width:100%;max-width:1000px;margin:0 auto;display:flex;overflow:hidden}.prototype-layout .scene-top{border:0;flex:none;grid-template-columns:minmax(0,1fr) auto;gap:0 8px;height:auto;min-height:68px;padding:0 10px 6px;display:grid}.prototype-layout .region-shortcut{justify-self:start;min-width:0;max-width:100%}.prototype-layout #chapter-title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.prototype-layout #combat-status{grid-column:1/-1;margin:0;font-size:10px}.stage-run-toggle{gap:2px;display:flex}.stage-run-toggle button{background:0 0;border-color:#0000;min-width:44px;min-height:44px;padding:4px 8px;font-size:11px}.stage-run-toggle button[aria-pressed=true]{border-color:var(--gold);color:var(--gold);background:#564a2c}.prototype-layout .scene-panel{border:1px solid var(--line);flex:none}.prototype-layout .combat-controls{justify-content:flex-start;gap:6px;min-height:52px;padding:5px 7px}.prototype-layout .skill-hud{justify-content:flex-start;gap:6px}.prototype-layout .skill-icon{width:42px;height:42px}.prototype-layout .combat-summary{flex:none;width:100%;margin:0;padding:8px}.prototype-layout .combat-hero{gap:8px}.prototype-layout .combat-hero>div{max-width:none}.prototype-layout .combat-portrait{width:56px;height:56px}.prototype-layout .combat-hero strong{gap:18px;margin-bottom:5px;font-size:12px;display:flex}.prototype-layout .combat-hero strong span{margin:0}.combat-xp{text-align:center;background:#353021;border:1px solid #8a7434;height:12px;font-size:8px;line-height:10px;position:relative}.combat-xp i{background:#9c8136;position:absolute;inset:0 auto 0 0}.combat-xp span{position:relative}.combat-journal{border:1px solid var(--line);flex:1;min-height:90px;position:relative}.combat-journal ol{margin:0;padding:0;font-size:11px;line-height:1.8;list-style:none;position:absolute;inset:9px 10px 61px;overflow:auto}.combat-journal li{overflow-wrap:anywhere;gap:8px;display:flex}.combat-journal time{color:var(--muted);flex:none}.combat-journal #challenge{width:auto;max-width:calc(100% - 80px);min-height:44px;font-size:11px;position:absolute;bottom:10px;left:10px}.prototype-layout .skills-pane>.panel-heading{background:var(--panel);border:1px solid var(--line);min-height:44px;padding:4px 8px}.prototype-layout .skills-pane h2{letter-spacing:0;font-size:12px}.prototype-layout #skills-content{scrollbar-gutter:stable;max-width:none;padding:6px 0 0}.grouped-tree{gap:8px;width:100%;min-width:0;padding:0;display:grid}.skill-group{border:1px solid var(--line);background:#30362d;min-width:0}.skill-group h3 span{float:right;color:var(--muted);font-size:11px;font-weight:400}.skill-group h3{border-bottom:1px solid var(--line);color:var(--gold);background:#493b2c;margin:0;padding:7px 10px;font-size:12px}.group-tree{position:relative}.group-tree svg{width:100%;height:100%;position:absolute;inset:0}.group-tree path{fill:none;stroke:#77776b;stroke-width:2px}.group-tree path[data-link-state=locked]{stroke-dasharray:5 4}.group-tree path[data-link-state=available]{stroke:#dbc06b}.group-tree path[data-link-state=learned]{stroke:#a1bc76}.group-node{background:0 0;border:0;border-radius:0;flex-direction:column;align-items:center;gap:2px;width:clamp(44px,16%,64px);min-width:44px;min-height:44px;padding:0;line-height:1.1;display:flex;position:absolute;transform:translate(-50%,-50%)}.group-node:hover:not(:disabled){background:0 0}.group-node img{aspect-ratio:1;object-fit:contain;background:#242a25;border:1px solid #908267;border-radius:8%;width:86%;padding:5%}.group-node:not(.learned) img{filter:grayscale();opacity:.6}.group-node.learned img{border:2px solid #deb951}.group-node span,.group-node b{white-space:nowrap;font-size:10px;font-weight:400}.group-node span{color:var(--ink);background:#30362d}.group-node b{color:var(--muted)}.rune-node img{border-radius:50%;width:70%}.skill-node.group-node img{border-radius:0;width:60%}.group-node.skill-node{padding:0}.general-node img{clip-path:polygon(50% 0,93% 25%,93% 75%,50% 100%,7% 75%,7% 25%);border-radius:0;width:66%}.independent-node img{clip-path:polygon(50% 0,93% 25%,93% 75%,50% 100%,7% 75%,7% 25%);border-radius:0}#skill-fixed-bar{border:1px solid var(--line);background:#242925;flex:none;padding:6px}#skill-fixed-bar .preview-active{gap:6px;padding:0;display:flex}#skill-fixed-bar .preview-slot{background:0 0;border:0;flex:1;gap:4px;width:auto;min-width:0;height:auto;padding:0}#skill-fixed-bar .preview-icon{aspect-ratio:1;border:1px solid var(--line);width:72%;max-width:58px;color:var(--muted);background:#30362d;place-items:center;display:grid}#skill-fixed-bar img{object-fit:contain;width:80%;height:80%}#skill-fixed-bar b{width:auto;font-size:10px;font-weight:400;display:block;position:static}.prototype-layout .map-pane>.panel-heading{background:#493b2c;justify-content:center;min-height:32px}.prototype-layout .map-pane h2{letter-spacing:0;font-size:13px}.stage-difficulties{border:1px solid var(--line);flex:none;gap:5px;padding:5px;display:flex}.stage-difficulties button{flex:1;min-width:0;min-height:32px;padding:5px}.stage-difficulties [aria-pressed=true]{border-color:var(--gold);color:var(--gold);background:#5a492b}.prototype-layout .map-pane>.pane-scroll{padding:8px 5px 4px;display:block}.stage-list{gap:8px;min-width:0;display:grid}.prototype-layout .stage-card{text-align:left;border:1px solid var(--line);background:#2e342d;border-radius:4px;grid-template-columns:minmax(0,1fr) 30%;gap:10px;min-width:0;min-height:130px;padding:8px;display:grid}.stage-card.current{border-color:var(--gold);background:#46432e}.stage-card:disabled{opacity:.58;filter:grayscale(.75)}.stage-info{flex-direction:column;min-width:0;display:flex}.stage-title{background:#493f2e;justify-content:space-between;align-items:center;gap:4px;padding:4px 6px;display:flex}.stage-title strong{font-size:11px}.stage-title span{white-space:nowrap;color:var(--muted);font-size:9px}.stage-monsters{flex-wrap:wrap;flex:1;align-items:center;gap:2px;display:flex}.stage-info>small{color:var(--muted);font-size:9px;font-weight:400}.monster-preview{height:38px;width:calc(38px * var(--sprite-ratio));max-width:52px;image-rendering:pixelated;background-position:0;background-repeat:no-repeat;background-size:auto 38px;flex:none;display:inline-block}.stage-preview{image-rendering:pixelated;background-color:#bdc9b0;background-position:bottom,50% 80%,50% 60%;background-repeat:repeat-x,repeat-x,repeat-x;background-size:auto 18%,auto 56%,auto 65%;border:1px solid #887c58;position:relative;overflow:hidden}.stage-preview[data-region=forest]{background-image:url(/assets/scenery/Ground_1101.png),url(/assets/scenery/1101_Layer2_Tree1.png),url(/assets/scenery/1101_Layer3_Mt1.png)}.stage-preview[data-region=desert]{background-color:#d7b57c;background-image:url(/assets/scenery/Ground_1201.png),url(/assets/scenery/1201_Layer2_10.png),url(/assets/scenery/1201_Layer3_03.png)}.stage-preview[data-region=snow]{background-color:#849dad;background-image:url(/assets/scenery/Ground_1301.png),url(/assets/scenery/1301_Layer2_01.png),url(/assets/scenery/1301_Layer3_05.png)}.stage-preview-actors{justify-content:space-between;align-items:end;display:flex;position:absolute;bottom:10%;left:2%;right:2%}.stage-preview-actors .monster-preview{height:42px;width:calc(42px * var(--sprite-ratio));background-size:auto 42px;max-width:60%}.other-content{padding:12px}.other-content details{border:1px solid var(--line);margin-bottom:12px;padding:0 12px 12px}.other-content summary{cursor:pointer;align-items:center;min-height:48px;font-weight:700;display:flex}.other-content .forge-resources{margin:0}.other-content .combat-context{grid-template-columns:1fr;margin-top:12px;padding:0}.other-content .boss-card{padding:12px}.other-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 12px;display:grid}.other-actions>*{justify-content:center;align-items:center;min-height:44px;display:flex}.forge-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.forge-picker button{text-align:left;grid-template-columns:40px 1fr;align-items:center;gap:4px;min-height:64px;display:grid}.forge-picker img{grid-row:1/3;width:36px;height:36px}.forge-picker span{font-size:12px}.forge-picker small{color:var(--muted)}.auto-row{border-bottom:1px solid var(--line);align-items:center;gap:10px;min-height:50px;padding:8px;display:flex}.auto-row img{width:30px;height:30px}.auto-row small{color:var(--muted);margin-left:auto;font-size:10px}.quality-selection{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:8px 0;display:grid}.quality-selection label{align-items:center;gap:4px;min-height:36px;font-size:12px;display:flex}#item-detail.floating-panel{border:1px solid #a58d5d;border-radius:4px;width:min(700px,94vw);max-width:94vw;height:-moz-fit-content;height:fit-content;max-height:78dvh;margin:auto;padding:12px;overflow:hidden;inset:0!important}#item-detail:popover-open{flex-direction:column;display:flex}#item-detail::backdrop{background:#1017129c}#item-detail .popover-heading{flex:none;margin-bottom:10px;padding:0 0 8px;position:static}.equipment-cards{align-items:stretch;gap:8px;min-height:0;display:flex;overflow:auto}.equipment-card{border:1px solid var(--line);flex-direction:column;flex:1;min-width:0;display:flex}.equipment-card>h3{text-align:center;border-bottom:1px solid var(--line);margin:0;padding:8px;font-size:12px;line-height:1.5}.equipment-card>h3 small{color:var(--muted);font-size:10px;font-weight:400;display:block}.equipment-card-body{flex:1;padding:10px;font-size:11px}.equipment-summary{flex-direction:column;align-items:center;gap:8px;display:flex}.equipment-summary img{object-fit:contain;width:46px;height:46px}.equipment-summary strong{text-align:center;font-size:12px;line-height:1.8}.equipment-meta{text-align:center;color:var(--muted);border-bottom:1px solid var(--line);margin:4px 0;padding:8px 0;font-size:10px}.equipment-affixes p{overflow-wrap:anywhere;margin:6px 0;font-size:11px;line-height:1.6}.equipment-card .cultivated-state{color:var(--gold);margin:8px 0 0;font-size:10px}.equipment-card-actions{flex:none;gap:5px;padding:8px;display:flex}.equipment-card-actions button{flex:1;min-width:0;min-height:38px;padding:5px 2px;font-size:11px}.single-card{align-self:center;width:100%;max-width:380px}:is(#modal:has(.attribute-groups),#modal:has(#skill-node-detail),#modal:has(#simple-auto-panel)){border:1px solid #a28b58;border-radius:4px;width:min(520px,92vw);max-width:92vw;height:-moz-fit-content;height:fit-content;max-height:78dvh;margin:auto;padding:12px;inset:0;overflow:hidden}:is(#modal:has(.attribute-groups) #modal-content,#modal:has(#skill-node-detail) #modal-content){flex-direction:column;min-height:0;max-height:calc(78dvh - 26px);display:flex}:is(#modal:has(.attribute-groups) .modal-heading,#modal:has(#skill-node-detail) .modal-heading,#simple-auto-panel .modal-heading){flex:none;margin-bottom:8px;padding:0 0 8px;position:static}:is(#modal:has(.attribute-groups) h2,#modal:has(#skill-node-detail) h2,#simple-auto-panel h2,#decompose-panel h2){font-size:15px}.attribute-groups{min-height:0;padding-right:4px;overflow:auto}.attribute-groups h3{text-align:center;color:var(--gold);margin:10px 0 6px;font-size:12px}.attribute-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;margin:0;display:grid}.attribute-list>div{border-bottom:1px solid var(--line);justify-content:space-between;gap:4px;padding:8px 0;font-size:11px;display:flex}.attribute-list dt{min-width:0;color:var(--muted)}.attribute-list dd{white-space:nowrap;margin:0}#skill-node-detail{flex-direction:column;min-height:0;display:flex}.skill-detail-body{min-height:0;overflow:auto}.skill-detail-body p{font-size:12px}.node-kind{color:var(--muted);font-size:11px}.node-title{flex-direction:column;align-items:center;gap:8px;padding:8px;font-size:12px;display:flex}.node-title img{border:1px solid var(--line);object-fit:contain;background:#242a25;width:58px;height:58px;padding:4px}.rank-controls{border-top:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:10px 0 0;font-size:11px;display:flex}.rank-controls button{width:auto;min-width:80px;height:auto;font-size:12px}.settings-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}#modal:has(#decompose-panel){border:1px solid #a28b58;border-radius:4px 4px 0 0;width:calc(100% - 20px);max-width:700px;height:58dvh;max-height:calc(100dvh - 20px);margin:0 auto;padding:12px;inset:auto 10px 0;overflow:hidden}#modal:has(#decompose-panel) #modal-content{height:100%}#decompose-panel{flex-direction:column;height:100%;min-height:0;display:flex}#decompose-panel .modal-heading{flex:none;margin:0 0 8px;padding:0 0 6px;position:static}.decompose-reward{border:1px solid var(--line);flex:none;align-items:center;gap:6px;padding:6px;display:flex}.decompose-reward>span{flex:1;align-items:center;gap:4px;font-size:12px;display:flex}.decompose-reward img{object-fit:contain;width:22px;height:22px}.decompose-reward button{min-height:38px;padding:5px;font-size:11px}#decompose-panel .quality-selection{border-bottom:1px solid var(--line);flex:none}#decompose-panel .quality-selection label{min-height:32px}#decompose-panel label:has(input:disabled){opacity:.5;cursor:not-allowed}.decompose-grid{flex:1;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;gap:6px;min-height:0;padding:10px 0;display:grid;overflow:auto}#modal .decompose-grid label{aspect-ratio:1;border:1px solid var(--line);cursor:pointer;min-height:0;position:relative}.decompose-grid label:has(input:checked){outline:2px solid var(--gold);outline-offset:-2px}.decompose-grid label:focus-within{outline:2px solid #ffdc80}.decompose-grid input{z-index:1;width:12px;height:12px;margin:0;position:absolute;bottom:2%;right:2%}.decompose-grid img{object-fit:contain;width:60%;height:55%;position:absolute;top:20%;left:20%}.decompose-grid b,.decompose-grid em{font-size:8px;font-style:normal;font-weight:400;position:absolute;top:2%}.decompose-grid b{left:3%}.decompose-grid em{right:3%}.decompose-grid small{font-size:9px;position:absolute;bottom:1%;left:3%}.decompose-grid .locked{opacity:.55}.decompose-grid .locked input{visibility:hidden}.decompose-lock{font-size:10px;position:absolute;bottom:1%;right:2%}@media (max-width:359px){.equipment-card-body{padding:7px}.equipment-card-actions{gap:3px;padding:5px}.equipment-card-actions button{font-size:10px}.decompose-grid small{font-size:8px}.decompose-reward{gap:4px;padding:4px}.decompose-reward img{width:18px;height:18px}.decompose-reward button{font-size:10px}}@media (min-width:901px){.prototype-layout{padding:8px 24px}.prototype-layout .workspace{padding:8px 12px}.prototype-layout .loadout{min-height:260px}.prototype-layout .hero-title,.prototype-layout .hero-stats{font-size:13px}.prototype-layout .hero-title h3,.prototype-layout .hero-stats dd{font-size:14px}.prototype-layout .inventory-grid,#resource-inventory{grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:10px;padding:30px 16px 16px}.inventory-tabs,.prototype-layout .bag-view-actions{max-width:260px}.prototype-layout .hero-overview .hero-portrait{max-width:100px;margin:auto}.prototype-layout .gear-slot{height:17%;min-height:44px}.prototype-layout .gear-slot small,.prototype-layout .gear-slot b{font-size:10px}.prototype-layout .skills-pane{max-width:1280px;margin:0 auto}.grouped-tree{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:16px;padding:10px}.group-node span,.group-node b{font-size:11px}#skill-fixed-bar .preview-active{max-width:620px;margin:auto}.prototype-layout .map-pane{max-width:1320px;margin:0 auto}.stage-difficulties{justify-content:center}.stage-difficulties button{max-width:180px}.stage-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.prototype-layout .stage-card{min-height:150px}.other-content{align-self:center;width:100%;max-width:1100px}.prototype-layout .other-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:359px){.prototype-layout{padding:6px}.prototype-layout .workspace{padding:3px 3px 6px}.prototype-layout .masthead{gap:5px;padding:0 3px}.prototype-layout .brand{font-size:12px}.prototype-layout .gold-badge{font-size:11px}.prototype-layout .profile-inner{width:80%}.prototype-layout .loadout{min-height:230px}.prototype-layout .gear-slot[data-slot=shoulder],.prototype-layout .gear-slot[data-slot=gloves],.prototype-layout .gear-slot[data-slot=weapon]{left:12%}.prototype-layout .gear-slot[data-slot=amulet],.prototype-layout .gear-slot[data-slot=ring],.prototype-layout .gear-slot[data-slot=shield]{left:71%}.prototype-layout .inventory-grid,#resource-inventory{gap:5px;padding:28px 7px 8px}.prototype-layout .item-cell .item-part{font-size:8px}.group-node span,.group-node b{font-size:9px}.stage-title{flex-wrap:wrap}.stage-monsters .monster-preview{height:32px;width:calc(32px * var(--sprite-ratio));background-size:auto 32px;max-width:42px}}@media (max-height:600px){.prototype-layout .hero-content{overflow:auto}.prototype-layout .bag{flex:none;min-height:250px}.prototype-layout .combat-content{overflow:auto}.combat-journal{min-height:160px}}.combat-journal li{padding:3px 0}.combat-journal .log-danger{color:#edb0a7}.combat-journal .log-loot{color:#c6daa0}.combat-journal .log-rare{color:#b9d6e8}#journal-filter{border-radius:50%;place-items:center;width:44px;height:44px;padding:0;display:grid;position:absolute;bottom:10px;right:10px}#journal-options{width:180px;max-width:calc(100vw - 16px);color:var(--ink);background:var(--panel);border:1px solid var(--line);margin:0;padding:6px;position:fixed;inset:auto;box-shadow:0 6px 24px #0008}#journal-options label{cursor:pointer;align-items:center;gap:10px;min-height:44px;padding:0 10px;font-size:13px;display:flex}#journal-options input{width:18px;height:18px;accent-color:var(--gold)}#battle .combat-marks{z-index:2;width:max-content;min-width:32px;min-height:32px;box-shadow:none;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;gap:5px;padding:5px;display:flex;position:absolute;transform:translate(-50%,-50%)}#battle .combat-marks[hidden]{display:none}#battle .combat-marks:focus-visible{outline:1px solid var(--gold);background:#202322b0}.combat-mark{vertical-align:middle;filter:drop-shadow(1px 1px #202322);flex:none;width:13px;height:15px;margin-right:3px;display:inline-block}.mark-fire{clip-path:polygon(50% 0,100% 100%,0 100%);background:#f2a24b}.mark-frost{background:#233640a8;border:2px solid #a8e9ff}.mark-thunder{clip-path:polygon(40% 0,95% 0,64% 39%,100% 39%,20% 100%,39% 55%,0 55%);background:#ffe17b}.mark-weakness{clip-path:polygon(45% 0,76% 0,50% 36%,85% 50%,24% 100%,42% 58%,14% 43%);background:#ff9e97}@media (pointer:coarse){#battle .combat-marks{min-width:44px;min-height:44px}}.skill-auto-off{z-index:1;color:#e8dcb9;background:#202322e6;padding:0 2px;font-size:10px;line-height:14px;position:absolute;top:1px;right:2px}
