.quality-common{--quality-color:#c3c0b5}.quality-uncommon{--quality-color:#87d5a4}.quality-rare{--quality-color:#80c7f4}.quality-epic{--quality-color:#d2a5f2}.quality-legendary{--quality-color:#ffd06f}.map-backpack-layout{grid-template-columns:minmax(0,.82fr) minmax(0,1.3fr);align-items:start;gap:12px;display:grid}.map-bag-grid-panel{background:#100e0b;border:2px solid #453422;border-radius:5px;min-width:0;padding:8px;box-shadow:inset 0 2px 8px #000b}.map-ticket-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.map-bag-grid-panel{max-height:490px;overflow-y:auto}.map-ticket,.map-empty-slot{aspect-ratio:1;background:linear-gradient(145deg,#252522,#111716);border:2px solid #413b30;border-radius:4px;min-width:0;box-shadow:inset 0 0 6px #0009,0 2px #080a0c}.map-ticket{border-color:var(--quality-color);place-items:center;padding:4px;transition:transform .12s,box-shadow .12s;display:grid;position:relative}.map-empty-slot{opacity:.55}.map-item-icon{filter:drop-shadow(0 2px 1px #0009);pointer-events:none;width:100%;max-width:66px;height:auto}.map-slot-level{color:var(--quality-color);text-shadow:0 1px 2px #000;font-size:10px;font-weight:700;position:absolute;top:1px;left:3px}.map-slot-count{color:#eee5cc;text-shadow:0 1px 2px #000;font-size:10px;position:absolute;bottom:1px;right:3px}.map-bag-tip{color:#a5957a;margin:12px 0 2px;font-size:10px;line-height:1.6}.map-ticket:active{transform:translateY(2px)}.map-ticket.is-selected{box-shadow:inset 0 0 0 1px var(--quality-color), 0 0 7px var(--quality-color);background:linear-gradient(145deg,#5b4826,#34382b);border-color:#fff1c0}.map-ticket:focus-visible{outline:2px solid var(--quality-color);outline-offset:2px}.map-details{color:#e8dfcc;background:linear-gradient(145deg,#24251f,#111719 120px);border:1px solid #605133;border-radius:4px;min-width:0;min-height:280px;padding:12px;font-size:12px;line-height:1.7}.map-detail-header{align-items:center;gap:8px;display:flex}.map-detail-header .map-item-icon{flex:0 0 44px;width:44px}.map-detail-header h3{color:var(--quality-color);margin:0;font-size:17px;line-height:1.5}.map-detail-header span{color:var(--quality-color);font-size:12px}.map-details p{margin:6px 0}.map-fixed-seed{color:#a6aa9b;font-size:11px}.map-fixed-seed span{overflow-wrap:anywhere;color:#d9cfaf;font-family:Consolas,monospace;display:block}.map-dimensions{color:#e5c88b;font-weight:700}.map-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0;display:grid}.map-resource-grid>div{background:#ffffff08;padding:6px 8px}.map-resource-grid dt{color:#b9b19d}.map-resource-grid dd{margin:0;font-size:15px;font-weight:700}.map-affixes{margin:10px 0 0;padding-left:18px}.map-affixes li{margin:8px 0}.map-affixes strong{color:#e7c881}.map-affixes small{color:#b3baae;line-height:1.6;display:block}.map-level-warning{color:#ffbf91}.active-map-panel{background:#171d20;border:1px solid #72603a;border-radius:4px;padding:8px 12px;font-size:12px;line-height:1.7}.active-map-panel summary{cursor:pointer;overflow-wrap:anywhere;color:#e9d9ab;min-height:28px}.active-map-panel p{color:#c6c1b4;margin:8px 0 0}.camp-navigation{background:#1a2022;border:2px solid #58472e;border-radius:5px;align-items:center;gap:8px;padding:8px;display:flex}.camp-navigation button{color:#bba984;border-radius:4px;min-height:40px;padding:6px 10px;font-weight:700}.camp-navigation>span{color:#d6bf7f;margin-left:auto;font-size:12px}.economy-status{color:#ffcc91;margin:0;font-size:12px;line-height:1.7}.economy-status:empty{display:none}.camp-stat-grid,.shop-ore-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.camp-stat-grid>div,.shop-ore-grid>div{background:#101718;border:1px solid #4c4533;border-radius:4px;padding:9px}.camp-stat-grid span,.shop-ore-grid span{color:#b4b2a1;font-size:11px;display:block}.camp-stat-grid strong,.shop-ore-grid strong{color:#f5d79b;font-size:15px}.shop-wallet{color:#d3c4a2;justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.shop-wallet strong{color:#ffdf80;font-size:26px}.shop-upgrade-grid,.shop-market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.shop-upgrade-card,.market-card{background:linear-gradient(135deg,#2a2d2a,#141b1e);border:1px solid #72603e;border-radius:5px;flex-direction:column;gap:8px;min-width:0;padding:12px;display:flex}.market-card{border-color:var(--quality-color,#72603e)}.shop-upgrade-heading{align-items:center;gap:10px;display:flex}.shop-upgrade-heading img{width:32px;height:32px;image-rendering:pixelated}.shop-upgrade-heading h3,.market-card h3{color:var(--quality-color,#efd7a3);margin:0;font-size:16px}.shop-upgrade-heading span{color:#b5bfae;font-size:12px}.shop-upgrade-card p,.market-card p{color:#c1bda8;margin:0;font-size:12px;line-height:1.7}.shop-upgrade-card .shop-next-effect{color:#a8d8be}.shop-upgrade-price,.market-card strong{color:#e7c781;font-size:12px;line-height:1.8}.shop-buy-button{color:#ffedc1;background:linear-gradient(#8c652e,#4f351a);border:2px solid #6b4b22;border-radius:4px;min-height:44px;margin-top:auto;padding:8px 10px;font-size:13px;font-weight:700;box-shadow:inset 0 1px #c6a45f,0 2px #080a0b}.shop-buy-button:active{transform:translateY(2px)}.shop-buy-button:disabled{opacity:.48;filter:saturate(.3);cursor:default}.shop-message{color:#ffdc97;overflow-wrap:anywhere;font-size:12px;line-height:1.7}.shop-message:empty{display:none}.shop-chest-row{align-items:center;gap:12px;display:flex}.shop-chest-row img{width:52px;height:52px;image-rendering:pixelated}.shop-chest-row p,.shop-item-stock{color:#c6c2ab;font-size:12px;line-height:1.8}.market-stock{color:#afc6b9;font-size:11px}.market-item-icon{width:36px;height:36px;image-rendering:pixelated}#market-countdown{color:#ffe3a1;font-size:13px}.settle-value{overflow-wrap:anywhere;text-align:right;min-width:0;max-width:72%}@media (width<=480px){.shop-upgrade-grid{grid-template-columns:1fr}.shop-market-grid{gap:8px}.market-card{padding:9px}.market-card h3{font-size:14px}.camp-navigation{gap:4px}.camp-navigation button{padding:6px;font-size:12px}.map-backpack-layout{grid-template-columns:minmax(112px,.76fr) minmax(0,1.24fr);gap:8px}.map-ticket-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.map-bag-grid-panel{padding:6px}.map-details{padding:9px;font-size:11px}.map-detail-header{flex-wrap:wrap;gap:4px}.map-detail-header h3{font-size:15px}.map-detail-header .map-item-icon{flex-basis:38px;width:38px}.map-resource-grid{gap:4px}.map-resource-grid>div{padding:4px}.map-resource-grid dd{font-size:13px}.map-affixes{padding-left:13px}.launch-strip-options{flex-wrap:wrap}.launch-strip-options .seed-capsule.brass-odometer,.launch-strip-options .bgm-capsule.brass-odometer{flex:100%}.seed-capsule .seed-input{flex:1;min-width:0}}:root{color:#fcebd2;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--metal-iron-dark:#12161a;--metal-iron-mid:#222a30;--metal-iron-light:#44515c;--metal-iron-highlight:#758796;--metal-steel-blue:#2c3e50;--metal-brass-dark:#472d07;--metal-brass-mid:#946011;--metal-brass-light:#e09f26;--metal-brass-shine:#ffe180;--metal-gold-dark:#6e4304;--metal-gold-mid:#d99114;--metal-gold-light:#ffd24d;--metal-gold-shine:#fff2b8;--metal-bronze-dark:#381a0b;--metal-bronze-mid:#703819;--metal-bronze-light:#a85a2c;--ore-basalt-deep:#110c08;--ore-basalt-mid:#1d150f;--ore-basalt-light:#33251a;--ore-granite-dark:#1d1b19;--ore-granite-mid:#332e2b;--ore-granite-light:#4f4742;--ore-obsidian-dark:#0a0b0f;--ore-obsidian-mid:#131720;--ore-obsidian-light:#242c3d;--gem-emerald-dark:#064e2e;--gem-emerald-mid:#10b981;--gem-emerald-light:#6ee7b7;--gem-emerald-glow:#10b9818c;--gem-sapphire-dark:#074768;--gem-sapphire-mid:#0284c7;--gem-sapphire-light:#38bdf8;--gem-sapphire-glow:#38bdf88c;--gem-ruby-dark:#660e14;--gem-ruby-mid:#dc2626;--gem-ruby-light:#f87171;--gem-ruby-glow:#dc262699;--gem-topaz-dark:#573305;--gem-topaz-mid:#eab308;--gem-topaz-light:#fef08a;--gem-topaz-glow:#eab3088c;--bevel-light:inset 2px 2px 0 #ffffff38;--bevel-dark:inset -2px -2px 0 #000000a6;--heavy-iron-border:3px solid #080a0c;--heavy-brass-border:2px solid #573606;background-color:#0c0805;font-family:DM Mono,Consolas,Courier New,PingFang SC,Microsoft YaHei,monospace,sans-serif}*{box-sizing:border-box}body{color:#f7ecd5;-webkit-user-select:none;user-select:none;touch-action:manipulation;background-color:#0c0805;background-image:radial-gradient(at 50% 20%,#37231280 0%,#060402f5 100%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' fill='%230e0a07'/%3E%3Cpath d='M0 0h32v32H0zm32 32h32v32H32z' fill='%23150e09'/%3E%3Cpath d='M0 32h16v16H0zm48 0h16v16H48zm-16 16h16v16H32z' fill='%231a120c'/%3E%3Cpath d='M0 16h64v1H0zm0 32h64v1H0zm16-48v64h1V0zm32 0v64h1V0z' fill='%23090503'/%3E%3Ccircle cx='8' cy='24' r='1' fill='%232f2117'/%3E%3Ccircle cx='28' cy='12' r='1' fill='%23241911'/%3E%3Ccircle cx='44' cy='52' r='1' fill='%232f2117'/%3E%3Crect x='10' y='6' width='2' height='2' fill='%23eab308'/%3E%3Crect x='11' y='7' width='1' height='1' fill='%23fef08a'/%3E%3Crect x='52' y='22' width='2' height='2' fill='%23d97706'/%3E%3Crect x='22' y='46' width='2' height='2' fill='%23f59e0b'/%3E%3Crect x='23' y='47' width='1' height='1' fill='%23fef9c3'/%3E%3Crect x='42' y='8' width='2' height='2' fill='%2310b981'/%3E%3Crect x='43' y='9' width='1' height='1' fill='%23a7f3d0'/%3E%3Crect x='6' y='54' width='2' height='2' fill='%23059669'/%3E%3Crect x='56' y='42' width='2' height='2' fill='%230ea5e9'/%3E%3Crect x='57' y='43' width='1' height='1' fill='%23bae6fd'/%3E%3Crect x='26' y='28' width='2' height='2' fill='%230284c7'/%3E%3C/svg%3E");background-repeat:repeat;min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:none;padding:0}button:focus-visible,input:focus-visible{outline:2px solid var(--metal-gold-light);outline-offset:2px}[hidden],.sr-hidden{display:none!important}.pixel-icon,.slot-pixel-icon,.hud-stat-icon,.legend-pixel,.btn-icon,.hotbar-icon,.dock-sm-icon,.crt-result-img,.medallion-icon,.brand-icon{image-rendering:pixelated;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges;shape-rendering:crispedges;vertical-align:middle;display:inline-block}.app-shell{width:min(100% - 16px,640px);padding:max(10px, env(safe-area-inset-top)) 0 max(16px, env(safe-area-inset-bottom));flex-direction:column;gap:10px;margin:0 auto;display:flex}.game-header.metal-header{background:linear-gradient(#303b44 0%,#1e262c 40%,#13191d 100%);border:3px solid #080b0e;border-radius:8px;justify-content:space-between;align-items:center;min-height:60px;padding:6px 14px;display:flex;position:relative;overflow:hidden;box-shadow:inset 2px 2px #526372,inset -2px -2px #090c0e,0 4px #050608,0 10px 24px #000000d9}.game-header.metal-header:before{content:"";background:linear-gradient(90deg,#6b430b 0%,#e09f26 50%,#6b430b 100%);height:3px;position:absolute;top:0;left:0;right:0}.game-header.metal-header:after{content:"";background:linear-gradient(90deg,#422805 0%,#9e6d16 50%,#422805 100%);height:3px;position:absolute;bottom:0;left:0;right:0}.hex-bolt{background:#3b4752;border:1px solid #101518;border-radius:2px;width:8px;height:8px;position:absolute;box-shadow:inset 1px 1px #7b8e9e,0 1px 2px #000c}.brand-badge.gem-brass-badge{align-items:center;gap:12px;display:flex}.brand-icon{background:radial-gradient(circle at 35% 25%,#ffe180 0%,#d49826 65%,#593504 100%);border:2px solid #fff3ba;border-radius:6px;width:36px;height:36px;padding:4px;box-shadow:inset 1px 1px #fffbe6,inset -2px -2px #422602,0 0 10px #eab30866,0 2px #0d0602}.brand-titles{flex-direction:column;display:flex}.arcade-sub{letter-spacing:.18em;color:var(--metal-brass-shine);text-shadow:1px 1px #0d0602;font-size:9px;font-weight:900}.game-title{letter-spacing:.06em;background:linear-gradient(#fffbe6 0%,#ffe082 30%,#e6a01e 75%,#855307 100%);-webkit-text-fill-color:transparent;filter:drop-shadow(0 2px #140b03);-webkit-background-clip:text;margin:0;font-size:21px;font-weight:900}.arcade-icon-btn.metal-knob-btn{background:linear-gradient(#664319 0%,#3d240c 100%);border:2px solid #140902;border-radius:50%;place-items:center;width:38px;height:38px;transition:transform 60ms;display:grid;position:relative;box-shadow:inset 1px 1px #99692f,inset -1px -1px #1f1104,0 3px #080301}.arcade-icon-btn.metal-knob-btn[aria-pressed=true] .knob-ruby-led{box-shadow:none;background:#361717}.arcade-icon-btn.metal-knob-btn .pixel-icon{width:20px;height:20px}.arcade-icon-btn.metal-knob-btn:active{transform:translateY(2px);box-shadow:inset 1px 1px #140902,0 1px #080301}.game-viewport{flex-direction:column;display:flex}.menu-screen{flex-direction:column;gap:12px;display:flex}.menu-box.stone-panel{background:linear-gradient(145deg,#261c14 0%,#17110c 55%,#201710 100%);border:3px solid #0d0805;border-radius:8px;padding:14px 12px 12px;position:relative;box-shadow:inset 2px 2px #4f3b2d,inset -2px -2px #0d0805,0 4px #080503,0 12px 24px #000000d9}.corner-bracket{border:2px solid var(--metal-brass-light);z-index:2;pointer-events:none;width:10px;height:10px;position:absolute}.corner-bracket.c-tl{border-bottom:none;border-right:none;top:4px;left:4px}.corner-bracket.c-tr{border-bottom:none;border-left:none;top:4px;right:4px}.corner-bracket.c-bl{border-top:none;border-right:none;bottom:4px;left:4px}.corner-bracket.c-br{border-top:none;border-left:none;bottom:4px;right:4px}.box-ribbon.brass-ribbon{background:linear-gradient(90deg,#422909 0%,#6e4714 50%,#422909 100%);border:1px solid #7d5218;border-radius:4px;justify-content:space-between;align-items:center;margin-bottom:12px;padding:3px 6px;display:flex}.ribbon-text{letter-spacing:.1em;color:var(--metal-gold-shine);text-shadow:1px 1px #1f1103;font-size:12px;font-weight:900}.item-count.gem-badge{color:#fff6d9;border:1px solid var(--metal-brass-light);background:#170d04;border-radius:3px;padding:1px 8px;font-size:11px;font-weight:900;box-shadow:0 0 6px #e09f2666}.gear-form{flex-direction:column;gap:8px;display:flex}.gear-row.metal-rack{background:#140d07;border:1px solid #382110;border-radius:6px;justify-content:space-between;align-items:center;gap:10px;padding:6px 10px;display:flex;box-shadow:inset 1px 1px 3px #000c}.gear-label{color:var(--metal-brass-shine);text-shadow:1px 1px #0d0502;flex:none;font-size:12px;font-weight:800}.segmented-group.iron-slot{flex-wrap:wrap;justify-content:flex-end;gap:4px;display:flex}.segment-btn{color:#9e8571;background:linear-gradient(#302115 0%,#1f140c 100%);border:2px solid #0d0603;border-radius:4px;padding:5px 9px;font-size:11px;font-weight:800;transition:transform 60ms,background 80ms,color 80ms,box-shadow 80ms;box-shadow:inset 1px 1px #4f3624,inset -1px -1px #120b06,0 2px #080402}.segment-btn:hover{color:#fff2db}.segment-btn.metal-toggle.is-active{color:#fff;background:linear-gradient(#4f6373 0%,#283742 100%);border-color:#121c24;box-shadow:inset 1px 1px #85a2ba,inset -1px -1px #17242e,0 0 8px #85a2ba66,0 2px #090e12}.segment-btn.gem-toggle.emerald-toggle.is-active{color:#fff;box-shadow:inset 1px 1px 0 #6ee7b7, inset -1px -1px 0 #064e3b, 0 0 10px var(--gem-emerald-glow), 0 2px 0 #021a14;background:linear-gradient(#10b981 0%,#065f46 100%);border-color:#022c22}.segment-btn.brass-toggle.is-active{color:#1c0e02;background:linear-gradient(#ffd75e 0%,#d49117 100%);border-color:#422602;box-shadow:inset 1px 1px #fff0a8,inset -1px -1px #8a5706,0 0 10px #eab30866,0 2px #1f1001}.segment-btn.gem-toggle.sapphire-toggle.is-active{color:#fff;box-shadow:inset 1px 1px 0 #7dd3fc, inset -1px -1px 0 #075985, 0 0 10px var(--gem-sapphire-glow), 0 2px 0 #041c2c;background:linear-gradient(#0ea5e9 0%,#0369a1 100%);border-color:#082f49}.segment-btn:active{transform:translateY(1px)}.backpack-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.backpack-slot-card.gem-socket{background:#120b06;border:2px solid #3b2311;border-radius:6px;flex-direction:column;gap:4px;padding:8px;display:flex;position:relative;box-shadow:inset 1px 1px 4px #000000d9}.socket-prong{z-index:2;background:linear-gradient(135deg,#ffe082 0%,#a86e19 100%);border:1px solid #4a2d04;width:6px;height:6px;position:absolute}.socket-prong.sp-tl{border-radius:3px 0 0;top:4px;left:4px}.socket-prong.sp-tr{border-radius:0 3px 0 0;top:4px;right:4px}.socket-prong.sp-bl{border-radius:0 0 0 3px;bottom:4px;left:4px}.socket-prong.sp-br{border-radius:0 0 3px;bottom:4px;right:4px}.slot-header{letter-spacing:.12em;color:var(--metal-brass-light);font-size:9px;font-weight:900}.slot-select-btn.metal-slot-btn{text-align:left;background:linear-gradient(#3d2817 0%,#24160b 100%);border:2px solid #140803;border-radius:5px;align-items:center;gap:8px;width:100%;padding:6px 8px;transition:transform 60ms;display:flex;overflow:hidden;box-shadow:inset 1px 1px #614026,inset -1px -1px #120904,0 2px #0a0401}.slot-select-btn.metal-slot-btn:active{transform:translateY(2px);box-shadow:inset 1px 1px #140803}.slot-item-icon.obsidian-bed{background:#0f1218;border:2px solid #334155;border-radius:4px;flex:none;place-items:center;width:32px;height:32px;display:grid;box-shadow:inset 0 0 6px #000000e6}.slot-item-icon.is-empty{color:#614633;font-size:16px;font-weight:900}.slot-pixel-icon{width:22px;height:22px;display:block}.slot-item-info{flex-direction:column;min-width:0;display:flex;overflow:hidden}.slot-item-name{color:#fff2db;white-space:nowrap;font-size:12px;font-weight:800}.slot-item-tip{color:#bfa084;white-space:nowrap;text-overflow:ellipsis;font-size:9px;overflow:hidden}.launch-strip{align-items:center;gap:10px;margin-top:4px;display:flex}.seed-capsule.brass-odometer{background:#170d06;border:2px solid #4a2d15;border-radius:6px;flex:1;align-items:center;gap:4px;padding:4px 6px;display:flex;box-shadow:inset 1px 1px 4px #000000e6}.seed-tag{color:var(--metal-brass-shine);flex:none;font-size:11px;font-weight:800}.seed-input{width:100%;color:var(--metal-gold-light);background:#0d0603;border:1px solid #331c0a;border-radius:4px;padding:4px 6px;font-size:13px;font-weight:900}.seed-dice-btn.metal-dice-btn{color:#ffe094;background:linear-gradient(#5e3b1c 0%,#3a220e 100%);border:2px solid #140803;border-radius:4px;flex:none;place-items:center;width:30px;height:28px;font-weight:900;display:grid;box-shadow:0 2px #0d0502}.seed-dice-btn.metal-dice-btn:active{transform:translateY(1px)}.launch-btn.gold-ingot-btn{background:linear-gradient(#fff3b0 0%,#ffd452 22%,#d99114 62%,#804c03 100%);border:3px solid #241402;border-radius:8px;flex:1.3;justify-content:center;align-items:center;height:50px;padding:0 20px;transition:transform 80ms,box-shadow 80ms;display:flex;position:relative;overflow:hidden;box-shadow:inset 2px 2px #fff8d6,inset -2px -2px #573302,0 5px #140901,0 10px 24px #000000d9}.launch-text{letter-spacing:.06em;color:#2b1402;text-shadow:0 1px #fff9;z-index:2;font-size:15px;font-weight:900}.hazard-stripe{opacity:.35;background:repeating-linear-gradient(-45deg,#000,#000 4px,#d99114 4px 8px);width:12px;position:absolute;top:0;bottom:0}.hazard-stripe.left{left:0}.hazard-stripe.right{right:0}.launch-btn.gold-ingot-btn:hover{background:linear-gradient(#fff8cc 0%,#ffe070 22%,#e59f20 62%,#8f5504 100%)}.launch-btn.gold-ingot-btn:active{transform:translateY(4px);box-shadow:inset 2px 2px #573302,0 1px #140901}.setup-status{color:#ffb86c;text-align:center;min-height:16px;margin:0;font-size:11px}.in-game-screen{flex-direction:column;gap:8px;display:flex}.hud-bar.metal-dashboard{background:linear-gradient(#2b333a 0%,#1a2026 50%,#10151a 100%);border:3px solid #080b0d;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;display:flex;box-shadow:inset 1px 1px #4f5f6d,inset -1px -1px #0a0d10,0 3px #050709}.hud-retreat-btn.bronze-btn{color:#ffe6dc;background:linear-gradient(#6e3c20 0%,#472412 100%);border:2px solid #1c0c05;border-radius:5px;flex:none;padding:5px 9px;font-size:11px;font-weight:800;box-shadow:inset 1px 1px #9c5831,inset -1px -1px #210d05,0 2px #0a0402}.hud-retreat-btn.bronze-btn:active{transform:translateY(1px)}.hud-center-badge.brass-plate{border:1px solid var(--metal-brass-light);background:#140d06;border-radius:4px;flex-direction:column;align-items:center;padding:2px 8px;line-height:1.15;display:flex}.hud-map-title{color:#fff2db;text-shadow:1px 1px #100602;font-size:13px;font-weight:900}.hud-depth-tag.nixie-depth{letter-spacing:.1em;color:var(--metal-gold-light);text-shadow:0 0 6px #ffd24d80;font-size:10px;font-weight:900}.hud-stats-group{align-items:center;gap:6px;display:flex}.hud-stat-chip.gem-gauge{border-radius:5px;align-items:center;gap:4px;padding:3px 6px;display:flex;box-shadow:inset 1px 1px 2px #000000e6}.hud-stat-chip.gem-emerald-gauge{box-shadow:0 0 6px var(--gem-emerald-glow);background:#092117;border:2px solid #10b981}.hud-stat-chip.gem-emerald-gauge .hud-stat-num{color:#6ee7b7;text-shadow:0 0 4px var(--gem-emerald-glow)}.hud-stat-chip.gem-sapphire-gauge{box-shadow:0 0 6px var(--gem-sapphire-glow);background:#081d2e;border:2px solid #0ea5e9}.hud-stat-chip.gem-sapphire-gauge .hud-stat-num{color:#7dd3fc;text-shadow:0 0 4px var(--gem-sapphire-glow)}.hud-stat-chip.gem-topaz-gauge{box-shadow:0 0 6px var(--gem-topaz-glow);background:#241606;border:2px solid #eab308}.hud-stat-chip.gem-topaz-gauge .hud-stat-num{color:#fef08a;text-shadow:0 0 4px var(--gem-topaz-glow)}.hud-stat-num{font-variant-numeric:tabular-nums;letter-spacing:.04em;font-size:13px;font-weight:900}.hud-stat-icon{width:15px;height:15px}.clue-ticker.granite-stela{background:linear-gradient(90deg,#1f1812 0%,#291e16 50%,#1f1812 100%);border:2px solid #4a3424;border-radius:6px;align-items:center;gap:8px;padding:5px 10px;font-size:11px;display:flex}.ticker-badge.gold-rune{color:var(--metal-brass-shine);flex:none;font-weight:900}.ticker-content{color:#eed6b8;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.guide-text{color:#bfa084;min-height:14px;margin:0;padding:0 4px;font-size:10px}.mine-shaft-frame.heavy-steel-frame{background:#080503;border:4px solid #171f26;border-radius:8px;position:relative;overflow:hidden;box-shadow:inset 0 0 28px #000000f2,0 4px #050709,0 14px 28px #000000d9}.shaft-rivet.hex-iron{z-index:5;background:#3a4752;border:1px solid #141a1f;border-radius:2px;width:8px;height:8px;position:absolute;box-shadow:inset 1px 1px #7b8e9e,0 1px 2px #000000d9}.shaft-rivet.hex-iron.tl{top:5px;left:5px}.shaft-rivet.hex-iron.tr{top:5px;right:5px}.shaft-rivet.hex-iron.bl{bottom:28px;left:5px}.shaft-rivet.hex-iron.br{bottom:28px;right:5px}.game-board{aspect-ratio:1;touch-action:none;width:100%;max-height:min(60vh,520px);position:relative}.game-board canvas{display:block;width:100%!important;height:100%!important}.shaft-legend.mineral-sample-rack{color:#cca88b;background:#14100c;border-top:2px solid #2b1d14;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;padding:5px 8px;font-size:10px;display:flex}.legend-item.specimen-item{align-items:center;gap:4px;display:flex}.legend-item.gem-item.emerald{color:#6ee7b7}.legend-item.gem-item.sapphire{color:#7dd3fc}.legend-item.gold-item{color:#fde047}.legend-item.metal-item{color:#fca5a5}.legend-pixel{width:14px;height:14px}.action-dock.metal-dock{background:linear-gradient(#2c3338 0%,#181d21 100%);border:3px solid #090c0e;border-radius:8px;flex-direction:column;gap:8px;padding:8px 10px;display:flex;box-shadow:inset 1px 1px #4f5d66,inset -1px -1px #090c0e,0 4px #050709}.dock-primary-row{align-items:center;gap:8px;display:flex}.mode-switch-btn.industrial-switch{height:44px;color:var(--metal-brass-shine);text-shadow:1px 1px #100602;background:linear-gradient(#573a17 0%,#38220c 100%);border:2px solid #140902;border-radius:6px;flex:1.1;align-items:center;gap:6px;padding:0 14px;font-size:12px;font-weight:900;transition:transform 60ms;display:flex;box-shadow:inset 1px 1px #855b27,inset -1px -1px #1f1104,0 3px #0a0401}.mode-switch-btn.industrial-switch.is-active{color:#fff;box-shadow:inset 1px 1px 0 #38bdf8, inset -1px -1px 0 #0c4a6e, 0 0 12px var(--gem-sapphire-glow), 0 3px 0 #041c2c;background:linear-gradient(#0284c7 0%,#075985 100%);border-color:#082f49}.mode-switch-btn.industrial-switch:active{transform:translateY(2px)}.mode-icon-cross{font-size:18px;font-weight:900;line-height:1}.hotbar-slots.cast-iron-slots{flex:1;align-items:center;gap:6px;display:flex}.hotbar-item-btn{background:linear-gradient(#36281c 0%,#1f160e 100%);border:2px solid #0d0805;border-radius:6px;flex-direction:column;flex:1;justify-content:center;align-items:center;height:44px;transition:transform 60ms;display:flex;position:relative;box-shadow:inset 1px 1px #543f2d,inset -1px -1px #0d0805,0 3px #080402}.hotbar-item-btn:not(:disabled):active{transform:translateY(2px)}.hotbar-item-btn:disabled{opacity:.45;filter:grayscale(.85)}.hotbar-slot-idx{color:var(--metal-brass-light);font-size:8px;font-weight:900;position:absolute;top:2px;left:4px}.hotbar-icon{width:20px;height:20px}.hotbar-badge{color:#ffde94;font-size:9px;font-weight:900}.dock-secondary-row{border-top:1px solid #3d4952;justify-content:space-between;align-items:center;gap:8px;padding-top:6px;display:flex}.mode-info-capsule.basalt-capsule{color:#d1b89d;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:10px;overflow:hidden}.mode-info-capsule.basalt-capsule strong{color:var(--metal-gold-light)}.dock-actions{flex:none;align-items:center;gap:6px;display:flex}.dock-log-btn.brass-tool-btn,.dock-surrender-btn.iron-tool-btn{border:2px solid #0d0603;border-radius:4px;align-items:center;gap:4px;height:28px;padding:0 8px;font-size:10px;font-weight:800;display:flex}.dock-log-btn.brass-tool-btn{color:var(--metal-brass-shine);background:linear-gradient(#4d3319 0%,#301f0e 100%);box-shadow:0 2px #0a0401}.dock-surrender-btn.iron-tool-btn{color:#ffc4b3;background:linear-gradient(#593526 0%,#3d2015 100%);box-shadow:0 2px #0a0401}.dock-log-btn.brass-tool-btn:active,.dock-surrender-btn.iron-tool-btn:active{transform:translateY(1px)}.dock-sm-icon{width:14px;height:14px}.scan-drawer.slate-drawer{background:#17110c;border:2px solid #3b2819;border-radius:6px;flex-direction:column;gap:6px;padding:8px;display:flex}.drawer-header.brass-drawer-header{color:var(--gem-sapphire-light);border-bottom:1px solid #382414;justify-content:space-between;align-items:center;padding-bottom:4px;font-size:11px;font-weight:900;display:flex}.drawer-close{color:#bfa084;font-size:16px;font-weight:900}.scan-log{flex-direction:column;gap:4px;max-height:140px;display:flex;overflow-y:auto}.scan-log.empty-log{color:#8c6e54;text-align:center;padding:6px;font-size:10px}.scan-record-item{text-align:left;background:#24180e;border:1px solid #402816;border-radius:4px;align-items:center;gap:8px;padding:5px 8px;display:flex}.scan-record-item.is-current{border-color:var(--gem-sapphire-mid);background:#102636}.scan-rec-text{flex-direction:column;flex:1;display:flex}.scan-rec-text strong{color:#fff2db;font-size:11px}.scan-rec-text small{color:#b8987b;font-size:9px}.scan-rec-arrow{color:var(--metal-gold-light);font-size:14px;font-weight:900}.toast.metal-toast{opacity:0;pointer-events:none;color:#fff2db;border:2px solid var(--metal-gold-mid);z-index:100;background:#140d07;border-radius:6px;padding:8px 14px;font-size:12px;font-weight:800;transition:opacity .16s,transform .16s;position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);box-shadow:0 8px 24px #000000e6}.toast.metal-toast.is-visible{opacity:1;transform:translate(-50%)}.toast.metal-toast.is-error{border-color:var(--gem-ruby-mid);color:#ffd6d6}dialog{color:inherit;background:0 0;border:none;width:100%;max-width:min(92vw,420px);padding:0}.crt-dialog.brass-scanner-dialog .crt-frame.brass-casing{border:4px solid var(--metal-brass-mid);background:#091a13 repeating-linear-gradient(0deg,#10b98114 0 1px,#0000 1px 3px);border-radius:8px;padding:14px;position:relative;box-shadow:inset 0 0 32px #10b98126,0 12px 36px #000000f2}.scanner-screw{background:#a87622;border:1px solid #472d06;border-radius:50%;width:8px;height:8px;position:absolute;box-shadow:inset 1px 1px #ffd680}.scanner-screw.sc-tl{top:6px;left:6px}.scanner-screw.sc-tr{top:6px;right:6px}.scanner-screw.sc-bl{bottom:6px;left:6px}.scanner-screw.sc-br{bottom:6px;right:6px}.dialog-close.metal-close{color:#79a68c;place-items:center;width:24px;height:24px;font-size:18px;font-weight:900;display:grid;position:absolute;top:10px;right:12px}.crt-header.scanner-header{border-bottom:2px solid #143b27;flex-direction:column;gap:2px;padding-bottom:8px;display:flex}.scanner-gem-bulb{width:8px;height:8px;box-shadow:0 0 8px var(--gem-emerald-glow);background:#34d399;border-radius:50%;display:inline-block}.crt-header.scanner-header h2{color:#34d399;text-shadow:0 0 8px var(--gem-emerald-glow);margin:0;font-size:16px;font-weight:900}.crt-when{color:#86efac;font-size:10px}.crt-range{color:#a7f3d0;margin:8px 0;font-size:10px}.crt-results-grid.ore-specimen-grid{grid-template-columns:repeat(2,1fr);gap:8px;margin:10px 0;display:grid}.crt-result-card{background:#0f2b1d;border:1px solid #1c573a;border-radius:5px;align-items:center;gap:8px;padding:6px 8px;display:flex;box-shadow:inset 1px 1px 2px #00000080}.crt-result-img{width:24px;height:24px}.crt-result-label{color:#d1fae5;flex:1;font-size:11px}.crt-result-val{color:#34d399;font-size:14px;font-weight:900}.crt-footer{justify-content:flex-end;margin-top:12px;display:flex}.crt-confirm-btn.brass-confirm-btn{color:#fff9e6;background:linear-gradient(#d49826 0%,#875709 100%);border:2px solid #3b2302;border-radius:6px;width:100%;height:38px;font-size:13px;font-weight:900;position:static;box-shadow:0 3px #211201}.crt-confirm-btn.brass-confirm-btn:active{transform:translateY(2px)}.settlement-dialog.gold-slate-dialog .settlement-slate.gold-inlaid-slate{border:4px solid var(--metal-gold-mid);text-align:center;background:#140e08;border-radius:8px;padding:16px;position:relative;box-shadow:inset 2px 2px #ffe082,inset -2px -2px #573302,0 14px 40px #000000f2}.settlement-header{border-bottom:2px solid #3d2611;flex-direction:column;align-items:center;gap:2px;padding-bottom:10px;display:flex}.laurel-medal.gold-treasure-seal{background:radial-gradient(circle at 35% 30%,#fff8d6 0%,#ffd452 40%,#c48c27 75%,#573909 100%);border:2px solid #fff2ba;border-radius:50%;place-items:center;width:46px;height:46px;display:grid;box-shadow:0 0 14px #ffd45280,0 3px #140803}.settlement-sub.gold-foil-sub{letter-spacing:.18em;color:var(--metal-gold-light);font-size:9px;font-weight:900}.slate-title{background:linear-gradient(#fffbe6 0%,#ffd75e 40%,#e09619 100%);-webkit-text-fill-color:transparent;filter:drop-shadow(0 2px #140802);-webkit-background-clip:text;margin:0;font-size:21px;font-weight:900}.settlement-tally.ore-tally-slate{flex-direction:column;gap:6px;margin:12px 0;display:flex}.settle-row{background:#1f140b;border:1px solid #452b14;border-radius:4px;justify-content:space-between;align-items:center;padding:6px 10px;display:flex}.settle-label{color:#cca88b;font-size:11px}.settle-value{color:var(--metal-gold-light);font-size:13px;font-weight:900}.settle-verdict{color:#fa6;margin:6px 0 0;font-size:10px;font-style:italic}.settlement-actions{gap:10px;margin-top:14px;display:flex}.settle-btn{border:2px solid #140803;border-radius:6px;flex:1;place-items:center;height:42px;font-size:13px;font-weight:900;transition:transform 60ms;display:grid}.settle-btn.solid-gold-btn{color:#2b1404;background:linear-gradient(#ffd75e 0%,#d48214 100%);box-shadow:inset 1px 1px #fff0a8,inset -1px -1px #854a06,0 3px #120701}.settle-btn.dark-bronze-btn{color:#eed6b8;background:linear-gradient(#573318 0%,#2e1a0b 100%);box-shadow:inset 1px 1px #7a4a25,inset -1px -1px #140803,0 3px #0d0502}.settle-btn:active{transform:translateY(2px)}.flying-loot{object-fit:contain;width:24px;height:24px;image-rendering:pixelated;pointer-events:none;z-index:1000;filter:drop-shadow(0 0 5px #ffe078);position:fixed}.coin-pulse{animation:.35s ease-out coin-receive}@keyframes coin-receive{40%{transform:scale(1.25);box-shadow:0 0 16px #ffdf70}}@media (width<=400px){.hud-bar.metal-dashboard{gap:4px;padding:5px}.hud-center-badge.brass-plate{padding:2px 4px}.hud-retreat-btn.bronze-btn{padding:5px}.hud-stats-group{gap:3px}.hud-stat-chip.gem-gauge{padding:3px 4px}}.coin-gain-float{color:#fff275;text-shadow:0 0 4px #000,0 0 8px #ffb300,1px 1px #000;pointer-events:none;z-index:1001;white-space:nowrap;font-family:inherit;font-size:13px;font-weight:900;animation:.85s cubic-bezier(.18,.89,.32,1.28) forwards coin-float-down;position:absolute;top:100%;left:50%;transform:translate(-50%)}@keyframes coin-float-down{0%{opacity:0;transform:translate(-50%,-2px)scale(.6)}25%{opacity:1;transform:translate(-50%,6px)scale(1.25)}70%{opacity:1;transform:translate(-50%,16px)scale(1.1)}to{opacity:0;transform:translate(-50%,24px)scale(.85)}}.coin-jiggle{animation:80ms ease-in-out coin-icon-kick}@keyframes coin-icon-kick{0%{transform:scale(1)}50%{transform:scale(1.3)rotate(-8deg)}to{transform:scale(1)}}.knob-gold-led{background:radial-gradient(circle at 35% 30%,#fef08a 0%,#eab308 60%,#854d0e 100%)!important;border:1px solid #713f12!important;box-shadow:0 0 5px #eab308cc!important}.bgm-music-glyph{-webkit-user-select:none;user-select:none;font-size:15px;line-height:1}.launch-strip-options{align-items:center;gap:8px;width:100%;display:flex}.bgm-capsule.brass-odometer{background:#170d06;border:2px solid #4a2d15;border-radius:6px;flex:1.2;align-items:center;gap:6px;padding:4px 6px;display:flex;box-shadow:inset 1px 1px 4px #000000e6}.bgm-dropdown-select{width:100%;color:var(--metal-gold-light);cursor:pointer;background:#0d0603;border:1px solid #331c0a;border-radius:4px;outline:none;padding:3px 4px;font-size:11px;font-weight:800}.launch-strip{flex-direction:column;align-items:stretch;gap:8px;margin-top:6px;display:flex}.launch-btn.gold-ingot-btn{width:100%}button,select,summary,a{-webkit-tap-highlight-color:transparent}button{transition:filter .12s,transform .12s}button:active:not(:disabled){filter:brightness(1.15)}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline-offset:3px;outline:2px solid #b3e8e0}.trial-toolbar{color:#cfb67c;justify-content:space-between;align-items:center;gap:8px;font-size:11px;display:flex}.trial-toolbar button{color:#e8dfcc;background:#20282b;border:1px solid #746447;border-radius:6px;min-height:44px;padding:8px 12px;font-size:12px}.beginner-guide{background:linear-gradient(120deg,#263e37,#192623);border:1px solid #657c71;border-radius:8px;align-items:center;gap:12px;padding:16px;display:flex}.beginner-guide h2{color:#e7f1d7;margin:4px 0 8px;font-size:18px;line-height:1.45}.beginner-guide p{color:#bbcebf;margin:0;font-size:12px;line-height:1.7}.eyebrow{color:#c8d8a5;font-size:11px}.beginner-guide button{color:#1b281e;background:#d5dd9e;border-radius:6px;flex-shrink:0;min-height:48px;padding:8px 12px;font-weight:700}.bag-sort{color:#d3c7ad;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;font-size:12px;display:flex}.bag-sort select{color:#eee0c4;background:#151d21;border:1px solid #766443;border-radius:6px;max-width:70%;min-height:44px;padding:8px}.map-readiness{color:#bbdfca}.music-settings{color:#c8b58d;border:1px solid #58482f;border-radius:6px;padding:8px 12px;font-size:12px}.music-settings summary{cursor:pointer;min-height:28px;display:list-item}.music-settings .launch-strip-options{margin-top:8px}.bgm-dropdown-select{min-height:44px;font-size:12px}.launch-strip{z-index:15;padding:10px 8px max(10px, env(safe-area-inset-bottom));background:#151b1bf5;border:1px solid #6b5730;border-radius:8px;position:sticky;bottom:0;box-shadow:0 -6px 20px #0006}.departure-summary{color:#e2d5b4;text-align:center;overflow-wrap:anywhere;font-size:12px;line-height:1.65}.launch-btn.gold-ingot-btn{min-height:52px}.shop-shortcuts{z-index:16;background:#192124f5;border:1px solid #635438;border-radius:6px;gap:6px;padding:8px;display:flex;position:sticky;top:0}.shop-shortcuts a{color:#f3d699;background:#35403a;border-radius:5px;flex:1;place-items:center;min-height:44px;font-size:13px;text-decoration:none;display:grid}#shop-forge,#shop-maps,#shop-loot{scroll-margin-top:76px}.shop-upgrade-card .shop-shortage,.market-card .shop-shortage{color:#f4ba9e;font-size:12px}.shop-shortage:empty{display:none}.run-progress{color:#e0d7bf;background:#1e2928;border:1px solid #47534a;border-radius:5px;margin:0;padding:8px 12px;font-size:12px;line-height:1.6}.low-actions{outline:2px solid #e6a06c}.game-board{touch-action:pan-x pan-y pinch-zoom}.hud-retreat-btn.bronze-btn,.arcade-icon-btn.metal-knob-btn,.drawer-close,.metal-close,.dock-log-btn.brass-tool-btn,.dock-surrender-btn.iron-tool-btn{min-width:44px;min-height:44px}.active-map-panel summary,.camp-navigation button{min-height:44px}.mode-info-capsule.basalt-capsule{font-size:12px;line-height:1.65}.toast.metal-toast{top:auto;bottom:max(24px, env(safe-area-inset-bottom));z-index:1002;width:max-content;max-width:min(90vw,560px);font-size:13px;line-height:1.7;position:fixed;left:50%;transform:translate(-50%,12px)}.toast.metal-toast.is-visible{transform:translate(-50%)}.experience-dialog{color:#eee4cf;background:linear-gradient(135deg,#29332f,#141d20);border:1px solid #a1854d;border-radius:12px;width:min(92vw,460px);max-height:88dvh;padding:22px;overflow:auto;box-shadow:0 20px 80px #000b}.experience-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#070d11c9}.experience-dialog h2{color:#ffe3a4;margin:0 0 14px;font-size:21px}.experience-dialog p{color:#cbd0bd;font-size:14px;line-height:1.85}.experience-actions{grid-template-columns:1fr 1fr;gap:12px;margin-top:22px;display:grid}.experience-actions button,.experience-close{color:#f8e3ad;background:#3c4438;border:1px solid #807049;border-radius:6px;min-height:48px;padding:10px;font-size:14px}.experience-close{width:100%;margin-top:18px}.loadout-option{color:#e7e5cc;text-align:left;background:#172322;border:1px solid #68735e;border-radius:8px;align-items:center;gap:12px;width:100%;min-height:76px;margin-top:10px;padding:12px;display:flex}.loadout-option[aria-pressed=true]{background:#333d2c;border-color:#e9d08c}.loadout-option:disabled{opacity:.5}.loadout-option img,.empty-loadout{flex-shrink:0;width:34px;height:34px}.empty-loadout{color:#aebbad;place-items:center;font-size:28px;display:grid}.loadout-option span{min-width:0}.loadout-option strong{font-size:14px;display:block}.loadout-option small{color:#bdc6b7;margin-top:4px;font-size:12px;line-height:1.6;display:block}.loadout-option b{white-space:nowrap;color:#e0cb96;margin-left:auto;font-size:12px}.help-steps{padding-left:22px}.help-steps li{color:#f0d596;margin:16px 0;padding-left:4px}.help-steps p{margin:4px 0}.motion-setting{align-items:center;gap:10px;min-height:48px;font-size:14px;display:flex}.motion-setting input{accent-color:#c1d59c;width:22px;height:22px}.experience-dialog .help-storage{color:#bfb69e;border-top:1px solid #526052;padding-top:14px;font-size:12px}.settlement-actions{flex-wrap:wrap}.settlement-actions .settle-btn{flex-basis:40%;min-height:48px}#result-setup-button{flex-basis:100%}.reduce-motion *,.reduce-motion :before,.reduce-motion :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}@media (width<=400px){.beginner-guide{flex-wrap:wrap}.beginner-guide button{width:100%}.map-backpack-layout{grid-template-columns:minmax(118px,.78fr) minmax(0,1.22fr)}.map-details{font-size:12px}.map-ticket{min-height:44px}.hud-center-badge.brass-plate{min-width:0}.hud-map-title{font-size:12px}.experience-dialog{padding:18px}}.backpack-slot-card.gem-socket{min-width:0}.backpack-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.slot-select-btn.metal-slot-btn{min-height:64px}.slot-item-tip{white-space:normal;font-size:11px;line-height:1.5}@media (width<=340px){.backpack-grid{grid-template-columns:1fr}}.game-board canvas{touch-action:pan-y pinch-zoom!important}.in-expedition .game-header{display:none}.in-expedition .app-shell{padding-top:max(6px, env(safe-area-inset-top));gap:6px}.in-expedition .game-board{max-height:min(40svh,440px)}.in-expedition .active-map-panel{padding:3px 10px}.in-expedition .trial-toolbar{min-height:44px}.progress-save-button{background:#6d3d25;border-color:#e5a485;min-height:48px}.mode-switch-btn.industrial-switch:disabled{opacity:.5;filter:saturate(.3);cursor:default}#result-close-button{color:#cdbc92;border-radius:6px;place-items:center;font-size:20px;display:grid;position:absolute;top:5px;right:5px}.settlement-slate.gold-inlaid-slate{position:relative}.settle-label{font-size:12px}.settle-value{font-size:14px}@media (width<=480px){.dock-secondary-row{flex-wrap:wrap}.mode-info-capsule.basalt-capsule{white-space:normal;flex-basis:100%}.dock-actions{justify-content:flex-end;width:100%}.in-expedition .game-board{max-height:min(37svh,420px)}}.game-board>.toast.metal-toast{max-width:calc(100% - 24px);position:absolute;top:12px;bottom:auto}@media (width>=900px) and (height>=540px){.in-expedition .app-shell{width:min(100% - 32px,1040px);height:100dvh;padding:6px 0 8px}.in-expedition .game-viewport{flex:1;min-height:0}.in-expedition .in-game-screen{flex:1;grid-template-rows:auto auto auto auto minmax(0,1fr) auto auto;grid-template-columns:minmax(0,1fr) 260px;min-height:0;display:grid;position:relative}.in-expedition .hud-bar{grid-area:1/1/auto/-1}.in-expedition .mine-shaft-frame{flex-direction:column;grid-area:2/1/7;min-height:0;display:flex}.in-expedition .game-board{aspect-ratio:auto;flex:1;min-height:0;max-height:none}.in-expedition .shaft-legend{flex-shrink:0}.in-expedition .clue-ticker{flex-wrap:wrap;grid-area:2/2}.in-expedition #run-progress{grid-area:3/2}.in-expedition #guide-text{grid-area:4/2;font-size:12px;line-height:1.7}.in-expedition .active-map-panel{grid-area:5/2;align-self:start;min-height:0;max-height:100%;overflow:auto}.in-expedition #progress-save-button{grid-area:6/2}.in-expedition .action-dock{grid-area:7/1/auto/-1}.in-expedition .scan-drawer{z-index:20;width:min(100%,360px);max-height:calc(100% - 80px);position:absolute;top:70px;right:0;overflow:auto;box-shadow:0 8px 24px #000c}}.owned-item-grid{grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:8px;margin:12px 0;display:grid}.owned-item{text-align:center;border:1px solid var(--quality-color,#64776c);background:linear-gradient(145deg,#2a332b,#111c20);border-radius:7px;flex-direction:column;align-items:center;gap:6px;min-width:0;min-height:116px;padding:12px 7px;display:flex;position:relative}.owned-item img{width:38px;height:38px;image-rendering:pixelated}.owned-item strong{color:var(--quality-color,#e5d4a7);font-size:12px;line-height:1.5}.owned-item span{color:#f6e9ba;font-size:12px;position:absolute;top:4px;right:6px}.owned-item small{color:#b6c3ae;font-size:11px}.owned-item:disabled{opacity:.45;cursor:default;filter:saturate(.4)}.map-pagination{justify-content:space-between;align-items:center;gap:4px;margin-top:8px;display:flex}.map-pagination button{color:#ead4a1;background:#29332c;border:1px solid #605234;border-radius:4px;min-height:44px;padding:6px;font-size:11px}.map-pagination button:disabled{opacity:.35;cursor:default}.map-pagination span{white-space:nowrap;color:#c5b799;font-size:11px}.recycle-button{color:#e2d4b4;background:#354037;border:1px solid #8b7252;border-radius:5px;width:100%;min-height:44px;margin-top:12px;padding:8px;font-size:12px;line-height:1.6}.recycle-note{color:#c6b69a;margin-top:5px;font-size:11px;display:block}.ore-recycling{gap:10px;display:grid}.ore-recycle-card{background:#182321;border:1px solid #5f654f;border-radius:6px;padding:10px}.ore-recycle-card h3{color:#e6d2a0;justify-content:space-between;gap:8px;margin:0;font-size:14px;display:flex}.ore-recycle-card h3 small{color:#a5b5a3;font-size:12px}.ore-recycle-card p{color:#bcbeaa;font-size:12px;line-height:1.6}.ore-recycle-controls{gap:8px;display:flex}.ore-recycle-controls input{color:#f0dca9;background:#101a1d;border:1px solid #67745d;border-radius:4px;width:100%;min-width:0;min-height:44px;padding:8px}.ore-recycle-controls button{color:#e8dbb3;background:#3f4934;border:1px solid #879267;border-radius:4px;flex-shrink:0;min-height:44px;padding:8px 14px;font-size:12px}.ore-recycle-controls :disabled{opacity:.4;cursor:default}#shop-recycle{scroll-margin-top:76px}.shop-shortcuts{flex-wrap:wrap}.shop-shortcuts a{min-width:65px}@media (width<=400px){.map-pagination{flex-wrap:wrap;justify-content:center}}.map-bag-grid-panel{max-height:none;overflow:visible}.board-tools{color:#e5d5ae;background:#191711;justify-content:space-between;align-items:center;gap:8px;padding:2px 6px;font-size:12px;display:flex}.board-tools button{color:#fff1c9;background:linear-gradient(#6b4d24,#35230e);border:2px solid #876638;border-radius:6px;min-width:96px;min-height:44px;padding:6px 10px;font-weight:800}.board-tools button[aria-pressed=true]{background:linear-gradient(#276b7b,#124355);border-color:#75c7d9}.game-board.is-zoomed canvas{touch-action:none!important}@media (width<=899px){.in-expedition .app-shell{width:calc(100% - 8px)}.in-expedition .in-game-screen{gap:6px}.in-expedition .hud-bar{order:0}.in-expedition .mine-shaft-frame{order:1}.in-expedition .action-dock{order:2}.in-expedition #progress-save-button{order:3}.in-expedition .clue-ticker{order:4}.in-expedition #run-progress{order:5}.in-expedition #guide-text{order:6}.in-expedition .active-map-panel{order:7}.in-expedition .scan-drawer{order:8}.in-expedition .game-board{aspect-ratio:1;max-height:none}.in-expedition .shaft-legend{gap:6px;padding:3px 5px}.in-expedition .hotbar-item-btn{min-width:44px}}:root{--hand-ink:#242c2b;--hand-paper:#e6d7b5;--hand-muted:#b8beaa;--hand-accent:#d5a75f;--metal-brass-shine:#e8c987;--metal-gold-light:#e8c987;font-family:PingFang SC,Microsoft YaHei,system-ui,sans-serif}.game-header.metal-header:before,.game-header.metal-header:after{display:none}.hex-bolt,.corner-bracket,.socket-prong{opacity:.5}.brand-badge.gem-brass-badge{box-shadow:none;background:0 0;border:0}.brand-icon{background:#d9bc84;border:2px solid #202d29;border-radius:11px;padding:4px}.arcade-sub{color:#c7c5a9;letter-spacing:.1em;font:700 11px/1.4 PingFang SC,Microsoft YaHei,sans-serif}.game-title{-webkit-text-fill-color:#f4e6c4;color:#f4e6c4;text-shadow:none;filter:none;letter-spacing:.04em;background:0 0}.arcade-icon-btn.metal-knob-btn,.trial-toolbar button{color:#f0e5c9;background:#273630;border:1px solid #718075;border-radius:8px;box-shadow:0 2px #17221e}.knob-ruby-led{box-shadow:none}.trial-toolbar button{font-size:13px}.menu-box.stone-panel{text-align:left;padding:15px 13px}.box-ribbon.brass-ribbon{min-height:37px;box-shadow:none;background:#293a34;border:1px solid #718073;border-radius:6px;padding:7px 10px}.ribbon-text{color:#f0e4c7;letter-spacing:.04em;text-shadow:none;font-size:15px}.map-cabinet-note,.map-bag-tip{color:#c4cab5;font-size:12px}.map-bag-grid-panel{background:#273732;border:1px solid #718074;border-radius:7px;box-shadow:inset 0 2px 4px #17231d55}.map-ticket,.map-empty-slot{background:#42534a;border:1px solid #728076;border-radius:7px;box-shadow:inset 0 1px #ffffff1a}.map-details{color:#344038;background:#e6d7b5;border:1px solid #ac9873;border-radius:7px;box-shadow:inset 0 0 0 3px #f1e5ca}.map-detail-header h3,.map-detail-header span{color:#374e42}.map-dimensions,.map-affixes,.map-level-warning{color:#4e5744}.map-fixed-seed,.map-resource-grid dt,.map-bag-tip{color:#68735f}.map-resource-grid>div{background:#b9ac8d55;border-radius:4px}.map-details .map-resource-grid dd,.map-details .map-affixes small{color:#3c4d40}.map-details .map-readiness,.map-details .map-fixed-seed span,.map-details .map-affixes strong{color:#465d48}.map-bag-grid-panel .map-bag-tip{color:#c4cab5}.camp-navigation,.camp-stat-grid>div,.shop-ore-grid>div,.shop-upgrade-card,.market-card,.owned-item,.ore-recycle-card{box-shadow:none;background:#293b34;border:1px solid #708074;border-radius:7px}.camp-navigation button{color:#d6dec8}.camp-navigation button.is-active{color:#283a30;background:#d4ba82;box-shadow:inset 0 1px #f5e6bc}.shop-upgrade-card p,.market-card p,.shop-item-stock{color:#c8d0ba}.shop-upgrade-heading h3,.market-card h3{color:#edddb7}.shop-buy-button,.launch-btn.gold-ingot-btn,.beginner-guide button{color:#26382c;min-height:48px;text-shadow:none;background:#d7b574;border:2px solid #826a44;border-radius:7px;box-shadow:inset 0 2px #f5dfaa,0 3px #685032}.shop-buy-button:active:not(:disabled),.launch-btn.gold-ingot-btn:active{transform:translateY(2px);box-shadow:inset 0 1px 3px #785f3a88,0 1px #685032}.launch-text{color:#27392f;text-shadow:none;letter-spacing:.06em}.hazard-stripe{display:none}.backpack-slot-card.gem-socket,.slot-select-btn.metal-slot-btn,.seed-capsule.brass-odometer,.bgm-capsule.brass-odometer{box-shadow:none;background:#293b34;border-color:#708074;border-radius:7px}.hud-center-badge.brass-plate,.hud-stat-chip.gem-gauge{box-shadow:none;background:#263832;border:1px solid #77897b;border-radius:6px}.hud-stat-chip.gem-gauge .hud-stat-num,.hud-depth-tag.nixie-depth{color:#efe0b5;text-shadow:none}.hud-map-title{color:#f4e7c9;text-shadow:none}.hud-retreat-btn.bronze-btn,.dock-log-btn.brass-tool-btn,.dock-surrender-btn.iron-tool-btn,.board-tools button{color:#f6e6c7;background:#6a5841;border:1px solid #b49a70;border-radius:6px;box-shadow:0 2px #17231d}.clue-ticker.granite-stela,.active-map-panel,.run-progress{background:#293b34;border:1px solid #718074;border-radius:7px}.mine-shaft-frame.heavy-steel-frame{border:3px solid #25332d;border-radius:8px;box-shadow:0 3px #182321}.board-tools,.shaft-legend.mineral-sample-rack{color:#e1dbc1;background:#293b34;border-color:#52695a}.mode-switch-btn.industrial-switch,.hotbar-item-btn{color:#f7ecd2;text-shadow:none;background:#576c55;border:1px solid #8a9c7f;box-shadow:0 3px #1c2a21}.mode-switch-btn.industrial-switch.is-active,.board-tools button[aria-pressed=true]{background:#477d79;border-color:#9ac2b1;box-shadow:0 3px #1c302b}.slot-pixel-icon,.hud-stat-icon,.btn-icon,.hotbar-icon,.dock-sm-icon,.brand-icon,.shop-upgrade-heading img,.market-item-icon{image-rendering:auto;shape-rendering:auto}button:focus-visible,select:focus-visible,input:focus-visible{outline-offset:2px;outline:3px solid #f4d495}@media (width<=480px){.map-cabinet-note,.map-bag-tip{font-size:11px}.ribbon-text{font-size:14px}}body{color:#f3e6ce;background:#102b31 url(./cavern-backdrop-v1-pixel-DL5QCgDO.webp) top/cover no-repeat fixed}.game-header.metal-header,.menu-box.stone-panel,.hud-bar.metal-dashboard,.action-dock.metal-dock{background:#18383cef;border:2px solid #94764c;border-radius:12px;box-shadow:inset 0 1px #e6c58655,0 4px #0b2124,0 8px 20px #071b1e66}.brand-badge.gem-brass-badge{background:0 0}.brand-icon{background-color:#e6d3aa;border-color:#725942}.arcade-sub{color:#d9bd84}.game-title{-webkit-text-fill-color:#fae7bd;color:#fae7bd}.trial-toolbar{color:#dfd6ba}.arcade-icon-btn.metal-knob-btn,.trial-toolbar button{color:#f3e8d2;background:#27464a;border-color:#a08860}.box-ribbon.brass-ribbon{background:#294a4a;border-color:#a48a61}.ribbon-text{color:#ffedca}.camp-navigation,.camp-stat-grid>div,.shop-ore-grid>div,.shop-upgrade-card,.market-card,.owned-item,.ore-recycle-card{background:#244447;border-color:#78918a}.camp-navigation button.is-active{color:#233c3c;background:#d99567}.map-bag-grid-panel{background:#163539;border-color:#77918a}.map-ticket,.map-empty-slot{background:#35565a;border-color:#7e9990}.map-ticket.is-selected{background:#647a68;border-color:#f4ddb2}.map-details{background:#f0dfb9 url(./paper-surface-v1-pixel-DG6fZlJi.webp) 50%/320px;border-color:#b59a70;box-shadow:inset 0 0 0 3px #f8edce}.chest-reveal .chest-reveal__reward{background:#f0dfb9 url(./paper-surface-v1-pixel-DG6fZlJi.webp) 50%/320px}.shop-buy-button,.launch-btn.gold-ingot-btn,.beginner-guide button{color:#243939;background:#d59667;border-color:#835b42;box-shadow:inset 0 2px #f4c59c,0 3px #704936}.shop-buy-button:hover:not(:disabled),.launch-btn.gold-ingot-btn:hover{background:#e6aa7b}.shop-buy-button:active:not(:disabled),.launch-btn.gold-ingot-btn:active{box-shadow:inset 0 1px 3px #70493688,0 1px #704936}.backpack-slot-card.gem-socket,.slot-select-btn.metal-slot-btn,.seed-capsule.brass-odometer,.bgm-capsule.brass-odometer{background:#244447;border-color:#78918a}.hud-center-badge.brass-plate,.hud-stat-chip.gem-gauge{background:#18393d;border-color:#8ea59a}.clue-ticker.granite-stela,.active-map-panel,.run-progress,.board-tools,.shaft-legend.mineral-sample-rack{background:#203f42;border-color:#718b80}.mine-shaft-frame.heavy-steel-frame{border-color:#735d45}.game-board{background:#d5c6ae;overflow:hidden}.board-environment{pointer-events:none;background:url(./level-backgrounds-v1-pixel-De5rb93Q.webp) var(--environment-x,0%) var(--environment-y,0%) / 200% 300% no-repeat;transform-origin:50%;image-rendering:pixelated;position:absolute;inset:-50%}.board-environment:after{content:"";background:url(./level-backgrounds-v1-pixel-De5rb93Q.webp) var(--environment-x,0%) var(--environment-y,0%) / 200% 300% no-repeat;position:absolute;inset:16%;-webkit-mask-image:radial-gradient(#000 52%,#0000 76%);mask-image:radial-gradient(#000 52%,#0000 76%)}.game-board canvas{position:relative}.mode-switch-btn.industrial-switch,.hotbar-item-btn{background:#476c66;border-color:#9bb4a0}.mode-switch-btn.industrial-switch.is-active,.board-tools button[aria-pressed=true]{background:#467a8a;border-color:#a5c9c9}.map-atlas-icon{aspect-ratio:1;background:url(./map-icons-atlas-v6-pixel-CBDDBIvM.webp) var(--map-x) var(--map-y) / var(--map-width) var(--map-height) no-repeat;image-rendering:pixelated;display:inline-block}.map-atlas-icon.map-atlas-variant-1{background-image:url(./map-icons-atlas-v7-pixel-DlkM0zAk.webp)}.map-item-icon.map-atlas-icon{height:auto}.material-legend,.special-legend{image-rendering:pixelated;border-radius:3px;flex:none;display:inline-block}.material-legend{background:url(./level-materials-v1-pixel-C3XrMTb0.webp) 0 var(--terrain-y,0%) / 300% 500% no-repeat}.material-rock{background-position:50% var(--terrain-y,0%)}.material-ore1{background-position:100% 0}.material-ore2{background-position:100% var(--high-ore-y,25%)}.ore-swatch{background:url(./level-materials-v1-pixel-C3XrMTb0.webp) 100% var(--ore-y,0%) / 300% 500% no-repeat;image-rendering:pixelated;border-radius:3px;display:inline-block}.chest-reveal .ore-swatch{image-rendering:pixelated}.special-legend{background:url(./special-materials-v1-pixel-CNuR60Ym.webp) 0 0/200% 200% no-repeat}.special-chest{background-position:100% 0}.special-supply{background-position:0 100%}.upgrade-art,.tier-chest-icon{aspect-ratio:1;background:url(./upgrades-chests-atlas-v1-pixel-srSzMrUo.webp) var(--icon-x) var(--icon-y) / 300% 300% no-repeat;image-rendering:pixelated;flex:none;display:inline-block}.upgrade-art{width:36px;height:36px}.upgrade-pickaxe{--icon-x:0%;--icon-y:0%}.upgrade-stamina{--icon-x:50%;--icon-y:0%}.upgrade-power{--icon-x:100%;--icon-y:0%}.upgrade-scan{--icon-x:0%;--icon-y:50%}.tier-chest-icon{width:44px;height:44px}.owned-item .tier-chest-icon{position:static}.tier-chest-1{--icon-x:50%;--icon-y:50%}.tier-chest-2{--icon-x:100%;--icon-y:50%}.tier-chest-3{--icon-x:0%;--icon-y:100%}.tier-chest-4{--icon-x:50%;--icon-y:100%}.tier-chest-5{--icon-x:100%;--icon-y:100%}img[src*=icon_pickaxe],img[src*=icon_radar],img[src*=icon_coin],img[src*=icon_dynamite],img[src*=icon_battery],img[src*=icon_supply],img[src*=icon_boots],img[src*=icon_sound_on],img[src*=icon_sound_off]{object-fit:none;object-position:-10000px -10000px;image-rendering:pixelated;background-image:url(./miner-icons-atlas-v1-pixel-6ZmD5LyV.webp);background-repeat:no-repeat;background-size:300% 300%;background-origin:content-box}img[src*=icon_pickaxe]{background-position:0 0}img[src*=icon_radar]{background-position:50% 0}img[src*=icon_coin]{background-position:100% 0}img[src*=icon_dynamite]{background-position:0%}img[src*=icon_battery]{background-position:50%}img[src*=icon_supply]{background-position:100%}img[src*=icon_boots]{background-position:0 100%}img[src*=icon_sound_on]{background-position:50% 100%}img[src*=icon_sound_off]{background-position:100% 100%}img[src*=icon_chest]{object-fit:none;object-position:-10000px -10000px;image-rendering:pixelated;background:url(./chest-states-v1-pixel-CL3Jb0-Q.webp) 0%/200% 100% no-repeat}:root{--px-iron-deep:#080c10;--px-iron-border:#0e141a;--px-iron-dark:#121820;--px-iron-base:#16202b;--px-iron-surface:#1e2a38;--px-iron-light:#2c3c4f;--px-iron-bevel:#465c72;--px-iron-specular:#7b96b0;--px-gold-deep:#1a0f03;--px-gold-border:#2e1b06;--px-gold-shadow:#5c3708;--px-gold-mid:#9c6314;--px-gold-base:#d9961a;--px-gold-bright:#f0ac24;--px-gold-highlight:#ffd752;--px-gold-specular:#fff6c7;--px-emerald-deep:#051209;--px-emerald-border:#0a2112;--px-emerald-shadow:#0f4021;--px-emerald-base:#1f8a4f;--px-emerald-light:#29a35e;--px-emerald-highlight:#5fe894;--px-emerald-specular:#a6f5c6;--px-ruby-deep:#140305;--px-ruby-border:#2b080b;--px-ruby-shadow:#571318;--px-ruby-base:#9e2730;--px-ruby-highlight:#f0515c;--px-ruby-specular:#ffa3a9;--px-paper-border:#291b0d;--px-paper-shadow:#ab8f5e;--px-paper-base:#f3e4c4;--px-paper-light:#fbf1da;--px-paper-highlight:#fff;--px-paper-ink:#2b1d0e;--px-paper-ink-muted:#5e472a;--px-text-title:#fff;--px-text-body:#d8e5f2;--px-text-muted:#8fa5ba;--px-text-gold:#ffd752}[hidden]{display:none!important}.game-header.metal-header,.menu-box.stone-panel,.hud-bar.metal-dashboard,.action-dock.metal-dock,.camp-navigation,.camp-navigation button,.shop-buy-button,.launch-btn.gold-ingot-btn,.beginner-guide,.beginner-guide button,.arcade-icon-btn.metal-knob-btn,.trial-toolbar button,.box-ribbon.brass-ribbon,.map-bag-grid-panel,.map-ticket,.map-empty-slot,.map-details,.camp-stat-grid>div,.shop-ore-grid>div,.shop-upgrade-card,.market-card,.owned-item,.ore-recycle-card,.backpack-slot-card.gem-socket,.slot-select-btn.metal-slot-btn,.hud-stat-chip.gem-gauge,.hud-center-badge.brass-plate,.hud-retreat-btn.bronze-btn,.mine-shaft-frame.heavy-steel-frame,.board-tools,.board-tools button,.mode-switch-btn.industrial-switch,.hotbar-item-btn,.clue-ticker.granite-stela,.active-map-panel,.run-progress,.experience-dialog,.experience-actions button,.experience-close,.loadout-option,.chest-reveal,.chest-reveal__reward,.chest-reveal__close,.chest-reveal__badge,.toast.metal-toast,.bag-sort select,.bgm-dropdown-select,.brand-icon,.brand-badge,.shop-shortcuts a,.gem-badge,.map-pagination button,.ore-swatch,.material-legend,.special-legend{border-radius:0!important}img,canvas,.pixel-icon,.brand-icon,.slot-pixel-icon,.hud-stat-icon,.btn-icon,.hotbar-icon,.dock-sm-icon,.legend-pixel,.map-atlas-icon,.upgrade-art,.tier-chest-icon{image-rendering:pixelated!important;image-rendering:crisp-edges!important}.game-header.metal-header{background:var(--px-iron-dark)!important;border:3px solid var(--px-iron-deep)!important;box-shadow:inset 0 2px 0 var(--px-iron-bevel), inset 0 -2px 0 var(--px-iron-deep), 0 4px 0 #040608, 0 8px 16px #000000bf!important;min-height:62px!important;padding:8px 14px!important;position:relative!important;overflow:visible!important}.game-header.metal-header:before{content:""!important;background:linear-gradient(90deg, var(--px-gold-shadow) 0%, var(--px-gold-highlight) 50%, var(--px-gold-shadow) 100%)!important;height:3px!important;box-shadow:0 1px 0 var(--px-gold-deep)!important;display:block!important;position:absolute!important;top:0!important;left:0!important;right:0!important}.game-header.metal-header:after{content:""!important;background:linear-gradient(90deg, var(--px-gold-border) 0%, var(--px-gold-mid) 50%, var(--px-gold-border) 100%)!important;height:3px!important;display:block!important;position:absolute!important;bottom:0!important;left:0!important;right:0!important}.hex-bolt{background:var(--px-iron-surface)!important;border:1px solid var(--px-iron-deep)!important;width:6px!important;height:6px!important;box-shadow:inset 1px 1px 0 var(--px-iron-specular), inset -1px -1px 0 var(--px-iron-deep), 1px 1px 0 #000c!important;opacity:1!important;position:absolute!important}.hex-bolt.hl-1{top:5px;left:5px}.hex-bolt.hr-1{top:5px;right:94px}.brand-badge.gem-brass-badge{box-shadow:none!important;background:0 0!important;border:0!important;align-items:center!important;gap:12px!important;display:flex!important}.brand-icon{background-color:var(--px-paper-base)!important;border:2px solid var(--px-gold-border)!important;width:38px!important;height:38px!important;box-shadow:inset 2px 2px 0 var(--px-paper-highlight), inset -2px -2px 0 var(--px-paper-shadow), 0 2px 0 var(--px-iron-deep)!important;padding:4px!important}.brand-titles{flex-direction:column!important;gap:1px!important;display:flex!important}.arcade-sub{color:var(--px-gold-highlight)!important;letter-spacing:.12em!important;text-transform:uppercase!important;text-shadow:1px 1px #000!important;font-size:11px!important;font-weight:800!important;line-height:1.2!important}.game-title{color:var(--px-gold-specular)!important;-webkit-text-fill-color:var(--px-gold-specular)!important;letter-spacing:.05em!important;text-shadow:2px 2px 0 var(--px-gold-deep), -1px -1px 0 var(--px-gold-shadow), 0 2px 0 #000!important;filter:none!important;margin:0!important;font-size:24px!important;font-weight:900!important;line-height:1.1!important}.header-controls{align-items:center!important;gap:8px!important;display:flex!important}.arcade-icon-btn.metal-knob-btn{background:var(--px-iron-surface)!important;border:2px solid var(--px-iron-deep)!important;width:38px!important;height:38px!important;box-shadow:inset 2px 2px 0 var(--px-iron-bevel), inset -2px -2px 0 var(--px-iron-dark), 0 3px 0 var(--px-iron-deep)!important;color:var(--px-gold-highlight)!important;cursor:pointer!important;place-items:center!important;display:grid!important;position:relative!important}.arcade-icon-btn.metal-knob-btn:hover{background:var(--px-iron-light)!important;box-shadow:inset 2px 2px 0 var(--px-iron-specular), inset -2px -2px 0 var(--px-iron-dark), 0 3px 0 var(--px-iron-deep)!important}.arcade-icon-btn.metal-knob-btn:active{box-shadow:inset 2px 2px 0 var(--px-iron-dark), 0 1px 0 var(--px-iron-deep)!important;transform:translateY(2px)!important}.knob-ruby-led{width:5px!important;height:5px!important;box-shadow:none!important;background:#360a0d!important;border:1px solid #140305!important;border-radius:0!important;position:absolute!important;top:3px!important;right:3px!important}.arcade-icon-btn[aria-pressed=true] .knob-ruby-led{background:var(--px-ruby-highlight)!important;box-shadow:0 0 4px var(--px-ruby-highlight)!important}.knob-gold-led{background:#422906!important;border-color:#1a0f02!important}.arcade-icon-btn:hover .knob-gold-led{background:var(--px-gold-highlight)!important;box-shadow:0 0 4px var(--px-gold-highlight)!important}.trial-toolbar{color:var(--px-text-muted)!important;justify-content:space-between!important;align-items:center!important;padding:4px 6px!important;font-size:12px!important;font-weight:600!important;display:flex!important}.trial-toolbar button{background:var(--px-iron-surface)!important;border:2px solid var(--px-iron-deep)!important;box-shadow:inset 1px 1px 0 var(--px-iron-bevel), 0 2px 0 var(--px-iron-deep)!important;color:var(--px-gold-highlight)!important;cursor:pointer!important;padding:4px 10px!important;font-size:12px!important;font-weight:800!important}.trial-toolbar button:active{box-shadow:inset 1px 1px 0 var(--px-iron-deep), 0 1px 0 var(--px-iron-deep)!important;transform:translateY(1px)!important}.camp-navigation{background:var(--px-iron-dark)!important;border:2px solid var(--px-iron-deep)!important;box-shadow:inset 0 1px 0 var(--px-iron-bevel), 0 3px 0 var(--px-iron-deep)!important;align-items:center!important;gap:6px!important;padding:5px!important;display:flex!important}.camp-navigation button{background:var(--px-iron-surface)!important;border:2px solid var(--px-iron-deep)!important;min-height:38px!important;box-shadow:inset 0 1px 0 var(--px-iron-bevel)!important;color:var(--px-text-muted)!important;letter-spacing:.04em!important;cursor:pointer!important;flex:1!important;font-size:14px!important;font-weight:800!important}.camp-navigation button:hover:not(.is-active){background:var(--px-iron-light)!important;color:var(--px-text-main)!important}.camp-navigation button.is-active{background:var(--px-gold-base)!important;border-color:var(--px-gold-border)!important;color:var(--px-gold-deep)!important;box-shadow:inset 0 2px 0 var(--px-gold-specular), 0 2px 0 var(--px-gold-shadow)!important;text-shadow:0 1px 0 var(--px-gold-specular)!important}.camp-navigation span{color:var(--px-text-muted)!important;align-items:center!important;gap:5px!important;padding:0 10px!important;font-size:12px!important;font-weight:700!important;display:flex!important}.camp-navigation span strong{color:var(--px-gold-highlight)!important;text-shadow:1px 1px #000!important;font-size:16px!important;font-weight:900!important}.beginner-guide:not([hidden]){background:var(--px-iron-base)!important;border:2px solid var(--px-iron-deep)!important;box-shadow:inset 2px 2px 0 var(--px-iron-bevel), inset -2px -2px 0 var(--px-iron-dark), 0 4px 0 var(--px-iron-deep)!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;padding:14px!important;display:flex!important}.beginner-guide .eyebrow{color:var(--px-gold-highlight)!important;letter-spacing:.08em!important;font-size:11px!important;font-weight:800!important}.beginner-guide h2{color:var(--px-text-title)!important;text-shadow:1px 1px #000!important;margin:3px 0!important;font-size:17px!important;font-weight:900!important}.beginner-guide p{color:var(--px-text-muted)!important;margin:0!important;font-size:12px!important}#learn-button,.beginner-guide button{border:2px solid var(--px-gold-border)!important;color:#1a0e02!important;letter-spacing:.05em!important;text-shadow:0 1px #ffe89e!important;cursor:pointer!important;white-space:nowrap!important;background:#c27a27!important;min-height:48px!important;padding:0 18px!important;font-size:15px!important;font-weight:900!important;box-shadow:inset 0 2px #ffd673,inset 0 -2px #573105,0 4px #120901!important}#learn-button:hover,.beginner-guide button:hover{background:#d48b35!important}#learn-button:active,.beginner-guide button:active{transform:translateY(2px)!important;box-shadow:inset 0 2px #573105,0 2px #120901!important}.menu-box.stone-panel{background:var(--px-iron-base)!important;border:2px solid var(--px-iron-deep)!important;box-shadow:inset 2px 2px 0 var(--px-iron-bevel), inset -2px -2px 0 var(--px-iron-dark), 0 4px 0 var(--px-iron-deep), 0 8px 16px #0009!important;padding:16px 14px!important;position:relative!important}.corner-bracket{background:var(--px-iron-surface)!important;border:1px solid var(--px-iron-deep)!important;width:7px!important;height:7px!important;box-shadow:inset 1px 1px 0 var(--px-iron-specular), inset -1px -1px 0 var(--px-iron-deep)!important;opacity:1!important;position:absolute!important}.corner-bracket.c-tl{top:6px;left:6px}.corner-bracket.c-tr{top:6px;right:6px}.corner-bracket.c-bl{bottom:6px;left:6px}.corner-bracket.c-br{bottom:6px;right:6px}.box-ribbon.brass-ribbon{background:var(--px-gold-shadow)!important;border:2px solid var(--px-gold-deep)!important;box-shadow:inset 0 2px 0 var(--px-gold-highlight), inset 0 -2px 0 var(--px-gold-border), 0 2px 0 var(--px-iron-deep)!important;justify-content:space-between!important;align-items:center!important;min-height:38px!important;margin-bottom:12px!important;padding:6px 12px!important;display:flex!important}.ribbon-text{color:var(--px-gold-specular)!important;letter-spacing:.06em!important;text-shadow:1px 1px #000!important;font-size:15px!important;font-weight:800!important}.gem-badge{background:var(--px-iron-dark)!important;border:1px solid var(--px-gold-highlight)!important;color:var(--px-gold-highlight)!important;padding:2px 8px!important;font-size:11px!important;font-weight:800!important;box-shadow:inset 1px 1px #000!important}.map-cabinet-note{color:var(--px-text-muted)!important;margin:6px 0 10px!important;font-size:12px!important;line-height:1.5!important}.map-bag-grid-panel{background:var(--px-iron-dark)!important;border:2px solid var(--px-iron-deep)!important;box-shadow:inset 2px 2px 0 #05070a, inset -1px -1px 0 var(--px-iron-surface)!important;padding:10px!important}.map-ticket,.map-empty-slot{background:var(--px-iron-surface)!important;border:2px solid var(--px-iron-deep)!important;box-shadow:inset 1px 1px 0 var(--px-iron-bevel)!important;cursor:pointer!important}.map-ticket:hover{background:var(--px-iron-light)!important}.map-ticket.is-selected{border-color:var(--px-gold-highlight)!important;box-shadow:0 0 0 2px var(--px-gold-highlight), inset 0 0 0 2px var(--px-gold-highlight)!important;background:#2a3d52!important}.map-details{background:var(--px-paper-base) url(./paper-surface-v1-pixel-DG6fZlJi.webp) center / 320px auto!important;border:2px solid var(--px-paper-border)!important;box-shadow:inset 2px 2px 0 var(--px-paper-highlight), inset -2px -2px 0 var(--px-paper-shadow), 0 3px 0 var(--px-iron-deep)!important;color:var(--px-paper-ink)!important;padding:12px!important}.map-detail-header h3{color:var(--px-paper-ink)!important;text-shadow:none!important;margin:0!important;font-size:17px!important;font-weight:900!important}.map-detail-header span{color:var(--px-paper-ink-muted)!important;font-weight:700!important}.map-dimensions,.map-affixes,.map-level-warning{color:var(--px-paper-ink)!important;font-size:12px!important;font-weight:600!important}.map-details .map-resource-grid>div{background:#e5d1a5!important;border:1px solid #bda376!important;padding:6px!important;box-shadow:inset 1px 1px #9c8357,inset -1px -1px #fff4dc!important}.map-details .map-resource-grid dt{color:var(--px-paper-ink-muted)!important;font-size:11px!important;font-weight:700!important}.map-details .map-resource-grid dd{color:var(--px-paper-ink)!important;font-size:16px!important;font-weight:900!important}.map-pagination button{background:var(--px-iron-surface)!important;border:2px solid var(--px-iron-deep)!important;box-shadow:inset 1px 1px 0 var(--px-iron-bevel)!important;color:var(--px-text-main)!important;cursor:pointer!important;font-weight:800!important}.map-pagination button.is-active{background:var(--px-gold-base)!important;color:var(--px-gold-deep)!important;border-color:var(--px-gold-border)!important}.bag-sort select,.bgm-dropdown-select{background:var(--px-iron-dark)!important;border:2px solid var(--px-iron-deep)!important;color:var(--px-gold-highlight)!important;box-shadow:inset 1px 1px 0 var(--px-iron-bevel)!important;cursor:pointer!important;padding:5px 8px!important;font-size:13px!important;font-weight:700!important}.camp-stat-grid>div,.shop-ore-grid>div{background:var(--px-iron-dark)!important;border:2px solid var(--px-iron-deep)!important;box-shadow:inset 1px 1px 0 var(--px-iron-bevel), inset -1px -1px 0 var(--px-iron-deep)!important;padding:8px 12px!important}.camp-stat-grid span,.shop-ore-grid span{color:var(--px-text-muted)!important;font-size:11px!important;font-weight:700!important}.camp-stat-grid strong,.shop-ore-grid strong{color:var(--px-gold-highlight)!important;font-size:16px!important;font-weight:900!important}.backpack-slot-card.gem-socket{background:var(--px-iron-dark)!important;border:2px solid var(--px-iron-deep)!important;box-shadow:inset 1px 1px 0 var(--px-iron-bevel), 0 2px 0 var(--px-iron-deep)!important;padding:10px!important;position:relative!important}.socket-prong{background:var(--px-gold-base)!important;border:1px solid var(--px-gold-deep)!important;width:6px!important;height:6px!important;box-shadow:inset 1px 1px 0 var(--px-gold-specular)!important;opacity:1!important;position:absolute!important}.socket-prong.sp-tl{top:4px;left:4px}.socket-prong.sp-tr{top:4px;right:4px}.socket-prong.sp-bl{bottom:4px;left:4px}.socket-prong.sp-br{bottom:4px;right:4px}.slot-header{color:var(--px-gold-highlight)!important;letter-spacing:.08em!important;font-size:11px!important;font-weight:800!important}.slot-select-btn.metal-slot-btn{border:2px solid var(--px-iron-deep)!important;box-shadow:inset 2px 2px 0 #070a0e, inset -1px -1px 0 var(--px-iron-surface)!important;cursor:pointer!important;background:#0f151c!important;padding:8px!important}.slot-item-name{color:var(--px-text-title)!important;font-size:14px!important;font-weight:800!important}.slot-item-tip{color:var(--px-text-muted)!important;font-size:11px!important}.launch-strip{border-top:2px solid var(--px-iron-deep)!important;box-shadow:inset 0 1px 0 var(--px-iron-bevel)!important;background:#101820fa!important;margin-top:12px!important;padding:10px 14px 14px!important}.departure-summary{color:var(--px-text-muted)!important;text-align:center!important;margin-bottom:6px!important;font-size:12px!important;font-weight:700!important}.launch-btn.gold-ingot-btn{background:var(--px-emerald-base)!important;border:2px solid var(--px-emerald-deep)!important;min-height:54px!important;box-shadow:inset 0 3px 0 var(--px-emerald-highlight), inset 0 -3px 0 var(--px-emerald-shadow), 0 5px 0 var(--px-emerald-deep), 0 10px 20px #000000b3!important;color:#fff!important;cursor:pointer!important;justify-content:center!important;align-items:center!important;width:100%!important;display:flex!important}.launch-btn.gold-ingot-btn:hover{background:var(--px-emerald-light)!important;box-shadow:inset 0 3px 0 var(--px-emerald-specular), inset 0 -3px 0 var(--px-emerald-shadow), 0 5px 0 var(--px-emerald-deep)!important}.launch-btn.gold-ingot-btn:active{box-shadow:inset 0 2px 0 var(--px-emerald-shadow), 0 2px 0 var(--px-emerald-deep)!important;transform:translateY(3px)!important}.launch-text{color:#fff!important;letter-spacing:.08em!important;text-shadow:2px 2px 0 var(--px-emerald-deep)!important;font-size:18px!important;font-weight:900!important}.shop-shortcuts{gap:6px!important;margin-bottom:12px!important;display:flex!important}.shop-shortcuts a{text-align:center!important;background:var(--px-iron-surface)!important;border:2px solid var(--px-iron-deep)!important;box-shadow:inset 0 1px 0 var(--px-iron-bevel), 0 2px 0 var(--px-iron-deep)!important;color:var(--px-text-muted)!important;flex:1!important;padding:6px 4px!important;font-size:13px!important;font-weight:800!important;text-decoration:none!important}.shop-shortcuts a:hover{background:var(--px-gold-base)!important;color:var(--px-gold-deep)!important;border-color:var(--px-gold-border)!important}.shop-upgrade-card,.market-card,.owned-item,.ore-recycle-card{background:var(--px-iron-surface)!important;border:2px solid var(--px-iron-deep)!important;box-shadow:inset 1px 1px 0 var(--px-iron-bevel), 0 3px 0 var(--px-iron-deep)!important;padding:12px!important}.shop-upgrade-heading h3,.market-card h3{color:var(--px-gold-specular)!important;text-shadow:1px 1px #000!important;font-size:15px!important;font-weight:800!important}.shop-upgrade-card p,.market-card p,.shop-item-stock{color:var(--px-text-muted)!important;font-size:12px!important}.shop-buy-button{background:var(--px-gold-mid)!important;border:2px solid var(--px-gold-border)!important;min-height:44px!important;box-shadow:inset 0 2px 0 var(--px-gold-highlight), inset 0 -2px 0 var(--px-gold-shadow), 0 3px 0 var(--px-gold-deep)!important;color:var(--px-gold-specular)!important;letter-spacing:.04em!important;text-shadow:1px 1px #000!important;cursor:pointer!important;padding:0 16px!important;font-size:14px!important;font-weight:900!important}.shop-buy-button:hover:not(:disabled){background:var(--px-gold-base)!important}.shop-buy-button:active:not(:disabled){box-shadow:inset 0 2px 0 var(--px-gold-shadow), 0 1px 0 var(--px-gold-deep)!important;transform:translateY(2px)!important}.shop-buy-button:disabled{border-color:var(--px-iron-deep)!important;color:var(--px-text-muted)!important;text-shadow:none!important;cursor:not-allowed!important;opacity:.65!important;background:#253342!important;box-shadow:inset 1px 1px #1b2530!important}.hud-bar.metal-dashboard{background:var(--px-iron-dark)!important;border:2px solid var(--px-iron-deep)!important;box-shadow:inset 0 2px 0 var(--px-iron-bevel), 0 4px 0 var(--px-iron-deep)!important;padding:6px 10px!important}.hud-stat-chip.gem-gauge{border:2px solid var(--px-iron-deep)!important;box-shadow:inset 2px 2px 0 #070a0e, inset -1px -1px 0 var(--px-iron-surface)!important;background:#0f151c!important;padding:4px 10px!important}.hud-stat-num{text-shadow:1px 1px #000!important;font-size:16px!important;font-weight:900!important}.hud-center-badge.brass-plate{background:var(--px-iron-surface)!important;border:2px solid var(--px-gold-border)!important;box-shadow:inset 0 1px 0 var(--px-gold-highlight)!important}.hud-map-title{color:var(--px-gold-specular)!important;text-shadow:1px 1px #000!important;font-weight:800!important}.hud-depth-tag.nixie-depth{color:var(--px-gold-highlight)!important;font-weight:700!important}.hud-retreat-btn.bronze-btn{background:var(--px-ruby-base)!important;border:2px solid var(--px-ruby-border)!important;box-shadow:inset 0 2px 0 var(--px-ruby-highlight), inset 0 -2px 0 var(--px-ruby-shadow), 0 3px 0 var(--px-ruby-deep)!important;color:#fff!important;cursor:pointer!important;font-size:14px!important;font-weight:900!important}.hud-retreat-btn.bronze-btn:active{box-shadow:inset 0 2px 0 var(--px-ruby-shadow), 0 1px 0 var(--px-ruby-deep)!important;transform:translateY(2px)!important}.clue-ticker.granite-stela{border:2px solid var(--px-iron-deep)!important;box-shadow:inset 1px 1px 0 var(--px-iron-bevel)!important;background:#0f151c!important}.ticker-badge.gold-rune{background:var(--px-gold-shadow)!important;border:1px solid var(--px-gold-highlight)!important;color:var(--px-gold-highlight)!important;font-weight:800!important}.ticker-content{color:var(--px-text-body)!important;font-weight:600!important}.mine-shaft-frame.heavy-steel-frame{border:3px solid var(--px-iron-deep)!important;box-shadow:0 4px 0 var(--px-iron-deep)!important}.board-tools{background:var(--px-iron-dark)!important;border-color:var(--px-iron-deep)!important}.board-tools button{background:var(--px-iron-surface)!important;border:2px solid var(--px-iron-deep)!important;box-shadow:inset 0 1px 0 var(--px-iron-bevel), 0 2px 0 var(--px-iron-deep)!important;color:var(--px-text-body)!important;cursor:pointer!important;font-weight:700!important}.board-tools button[aria-pressed=true]{color:#fff!important;background:#196b61!important;border-color:#082420!important;box-shadow:inset 0 2px #5de0d1!important}.shaft-legend.mineral-sample-rack{background:var(--px-iron-dark)!important;border-top:2px solid var(--px-iron-deep)!important;color:var(--px-text-body)!important}.action-dock.metal-dock{background:var(--px-iron-dark)!important;border:2px solid var(--px-iron-deep)!important;box-shadow:inset 0 2px 0 var(--px-iron-bevel), 0 4px 0 var(--px-iron-deep)!important;padding:10px!important}.mode-switch-btn.industrial-switch{color:#fff!important;cursor:pointer!important;background:#1a786f!important;border:2px solid #08211e!important;font-weight:900!important;box-shadow:inset 0 2px #5fe0d1,inset 0 -2px #0a332f,0 3px #051412!important}.mode-switch-btn.industrial-switch:active{transform:translateY(2px)!important;box-shadow:inset 0 2px #0a332f,0 1px #051412!important}.dock-log-btn.brass-tool-btn,.dock-surrender-btn.iron-tool-btn{background:var(--px-iron-surface)!important;border:2px solid var(--px-iron-deep)!important;box-shadow:inset 0 1px 0 var(--px-iron-bevel), 0 2px 0 var(--px-iron-deep)!important;color:var(--px-text-body)!important;cursor:pointer!important;font-weight:700!important}.dock-surrender-btn.iron-tool-btn{color:var(--px-ruby-highlight)!important}dialog.experience-dialog{box-shadow:0 0 0 2px var(--px-gold-base), 0 0 0 4px #000, 0 16px 48px #000000d9!important;background:var(--px-iron-dark)!important;color:var(--px-text-body)!important;border:2px solid #000!important;max-height:90dvh!important;padding:16px 18px!important}dialog.crt-dialog,dialog.settlement-dialog{box-shadow:none!important;background:0 0!important;border:0!important;padding:0!important;overflow:visible!important}dialog::backdrop{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:#040608d1!important}.settlement-slate.gold-inlaid-slate{background:var(--px-iron-dark)!important;box-shadow:0 0 0 2px var(--px-gold-base), 0 0 0 4px #000, 0 16px 48px #000000e6!important;border:2px solid #000!important;border-radius:0!important;padding:16px!important}.laurel-medal.gold-treasure-seal{background:var(--px-gold-shadow)!important;border:2px solid var(--px-gold-highlight)!important;width:44px!important;height:44px!important;box-shadow:inset 1px 1px 0 var(--px-gold-specular), 0 2px 0 #000!important;border-radius:0!important}.settle-row{background:var(--px-iron-base)!important;border:1px solid var(--px-iron-deep)!important;box-shadow:inset 1px 1px 0 var(--px-iron-bevel)!important;border-radius:0!important;padding:6px 10px!important}.crt-frame.brass-casing{background:var(--px-iron-dark)!important;box-shadow:0 0 0 2px var(--px-gold-base), 0 0 0 4px #000, 0 16px 48px #000000e6!important;border:2px solid #000!important;border-radius:0!important}.crt-confirm-btn.brass-confirm-btn{background:var(--px-gold-base)!important;border:2px solid var(--px-gold-border)!important;box-shadow:inset 0 2px 0 var(--px-gold-specular), 0 3px 0 var(--px-gold-deep)!important;color:var(--px-gold-deep)!important;border-radius:0!important;font-weight:900!important}.experience-dialog h2{color:var(--px-gold-highlight)!important;text-shadow:2px 2px #000!important;margin:0 0 10px!important;font-size:20px!important;font-weight:900!important}.experience-dialog p{color:var(--px-text-body)!important}.help-steps{flex-direction:column!important;gap:8px!important;margin:10px 0!important;padding-left:18px!important;display:flex!important}.help-steps li strong{color:var(--px-gold-highlight)!important;font-size:14px!important}.help-steps li p{margin:2px 0 0!important;font-size:12px!important;line-height:1.5!important}.motion-setting{cursor:pointer!important;color:var(--px-text-body)!important;align-items:center!important;gap:8px!important;margin-top:8px!important;font-size:12px!important;display:flex!important}input[type=checkbox]{appearance:none!important;background:var(--px-iron-dark)!important;border:2px solid var(--px-iron-deep)!important;width:18px!important;height:18px!important;box-shadow:inset 1px 1px 0 var(--px-iron-bevel)!important;cursor:pointer!important;border-radius:0!important;flex-shrink:0!important;margin:0!important;position:relative!important}input[type=checkbox]:checked{background:var(--px-gold-base)!important;border-color:var(--px-gold-border)!important}input[type=checkbox]:checked:after{content:"✓"!important;color:var(--px-gold-deep)!important;place-items:center!important;font-size:14px!important;font-weight:900!important;line-height:1!important;display:grid!important;position:absolute!important;inset:0!important}.experience-dialog .help-storage{color:var(--px-text-muted)!important;margin:10px 0!important;font-size:11px!important}.experience-actions button,.experience-close{background:var(--px-iron-surface)!important;border:2px solid var(--px-iron-deep)!important;box-shadow:inset 0 1px 0 var(--px-iron-bevel), 0 2px 0 var(--px-iron-deep)!important;color:var(--px-gold-highlight)!important;cursor:pointer!important;font-weight:800!important}.loadout-option{background:var(--px-iron-surface)!important;border:2px solid var(--px-iron-deep)!important;box-shadow:inset 1px 1px 0 var(--px-iron-bevel)!important;color:var(--px-text-body)!important;cursor:pointer!important}.loadout-option[aria-pressed=true]{border-color:var(--px-gold-highlight)!important;box-shadow:0 0 0 1px var(--px-gold-highlight), inset 0 0 0 1px var(--px-gold-highlight)!important;background:#25394d!important}.chest-reveal{box-shadow:0 0 0 2px var(--px-gold-base), 0 0 0 4px #000, 0 20px 60px #000000e6!important;background:var(--px-iron-dark)!important;border:2px solid #000!important}.chest-reveal__header h2{color:var(--px-gold-specular)!important;text-shadow:2px 2px #000!important;font-weight:900!important}.chest-reveal__badge{background:var(--px-gold-shadow)!important;border:1px solid var(--px-gold-highlight)!important;color:var(--px-gold-highlight)!important}.chest-reveal__reward{background:var(--px-paper-base) url(./paper-surface-v1-pixel-DG6fZlJi.webp) center / 320px auto!important;border:2px solid var(--px-paper-border)!important;box-shadow:inset 1px 1px 0 var(--px-paper-highlight), inset -1px -1px 0 var(--px-paper-shadow), 0 2px 0 var(--px-iron-deep)!important;color:var(--px-paper-ink)!important}.chest-reveal__reward-copy strong{color:var(--px-paper-ink)!important;font-weight:900!important}.chest-reveal__reward-copy small{color:var(--px-paper-ink-muted)!important;font-weight:700!important}.chest-reveal__close{background:var(--px-gold-mid)!important;border:2px solid var(--px-gold-border)!important;box-shadow:inset 0 2px 0 var(--px-gold-highlight), 0 3px 0 var(--px-gold-deep)!important;color:var(--px-gold-specular)!important;cursor:pointer!important;font-weight:900!important}.settlement-slate.gold-inlaid-slate{background:var(--px-iron-dark)!important;border:2px solid var(--px-iron-deep)!important}.slate-title{color:var(--px-gold-specular)!important;text-shadow:2px 2px #000!important;font-weight:900!important}.settle-primary.solid-gold-btn{background:var(--px-gold-base)!important;border:2px solid var(--px-gold-border)!important;box-shadow:inset 0 2px 0 var(--px-gold-specular), 0 3px 0 var(--px-gold-deep)!important;color:var(--px-gold-deep)!important;font-weight:900!important}.settle-secondary.dark-bronze-btn{background:var(--px-iron-surface)!important;border:2px solid var(--px-iron-deep)!important;box-shadow:inset 0 1px 0 var(--px-iron-bevel), 0 2px 0 var(--px-iron-deep)!important;color:var(--px-text-body)!important;font-weight:800!important}.toast.metal-toast{background:var(--px-iron-dark)!important;border:2px solid var(--px-gold-highlight)!important;color:var(--px-gold-highlight)!important;text-shadow:1px 1px #000!important;font-weight:800!important;box-shadow:0 0 0 2px #000,0 6px 14px #000000bf!important}:root{--ui-plate:#213433;--ui-plate-raised:#2c4140;--ui-plate-recessed:#172827;--ui-edge:#80704f;--ui-edge-dark:#121c1b;--ui-ink:#f0e4c8;--ui-ink-muted:#bdc0ad;--ui-clay:#bd8053;--ui-clay-hover:#cb9061;--ui-clay-down:#966342;--ui-pressed:#6d7753}.game-header.metal-header,.menu-box.stone-panel,.hud-bar.metal-dashboard,.action-dock.metal-dock,.beginner-guide:not([hidden]),.map-bag-grid-panel,.camp-stat-grid>div,.shop-ore-grid>div,.shop-upgrade-card,.market-card,.owned-item,.ore-recycle-card,.backpack-slot-card.gem-socket,.hud-stat-chip.gem-gauge,.hud-center-badge.brass-plate,.clue-ticker.granite-stela,.active-map-panel,.run-progress,.board-tools,.experience-dialog,.loadout-option,.trial-toolbar,.map-pagination button,.bag-sort select,.bgm-dropdown-select{background:var(--ui-plate)!important;border:1px solid var(--ui-edge)!important;box-shadow:0 2px 0 var(--ui-edge-dark)!important;border-radius:2px!important}.game-header.metal-header,.menu-box.stone-panel,.hud-bar.metal-dashboard,.action-dock.metal-dock,.beginner-guide:not([hidden]),.experience-dialog{color:var(--ui-ink)!important}.menu-box.stone-panel,.beginner-guide:not([hidden]),.experience-dialog{background-image:repeating-linear-gradient(0deg,#0000 0 7px,#ffffff06 7px 8px)!important}.game-header.metal-header:before,.game-header.metal-header:after,.corner-bracket,.hex-bolt,.scanner-screw,.box-ribbon.brass-ribbon:before,.box-ribbon.brass-ribbon:after{content:none!important;display:none!important}dialog.experience-dialog,.crt-frame.brass-casing,.settlement-slate.gold-inlaid-slate,.chest-reveal{background:var(--ui-plate)!important;border:1px solid var(--ui-edge)!important;box-shadow:0 3px 0 var(--ui-edge-dark)!important;color:var(--ui-ink)!important;border-radius:2px!important}.experience-dialog h2,.chest-reveal__header h2,.settlement-slate .slate-title{color:#f0ddad!important;text-shadow:none!important}.crt-confirm-btn.brass-confirm-btn{background:var(--ui-clay)!important;box-shadow:0 2px 0 var(--ui-edge-dark)!important;color:#1c211a!important;border:1px solid #694a34!important}.box-ribbon.brass-ribbon,.camp-navigation{background:var(--ui-plate-recessed)!important;border:1px solid var(--ui-edge)!important;box-shadow:none!important;border-radius:2px!important}.box-ribbon.brass-ribbon{min-height:34px!important}.ribbon-text{color:#e5d1a1!important;text-shadow:none!important;letter-spacing:.02em!important}.camp-navigation{gap:4px!important;padding:4px!important}.camp-navigation button,.arcade-icon-btn.metal-knob-btn,.trial-toolbar button,.shop-buy-button,.launch-btn.gold-ingot-btn,.beginner-guide button,.slot-select-btn.metal-slot-btn,.hud-retreat-btn.bronze-btn,.dock-log-btn.brass-tool-btn,.dock-surrender-btn.iron-tool-btn,.board-tools button,.mode-switch-btn.industrial-switch,.hotbar-item-btn,.experience-actions button,.experience-close,.chest-reveal__close,.settle-primary.solid-gold-btn,.settle-secondary.dark-bronze-btn,.segment-btn,.shop-shortcuts a,.map-pagination button,.dock-log-btn,.dock-surrender-btn,.drawer-close,.metal-close,.dialog-close{min-height:44px!important;box-shadow:0 2px 0 var(--ui-edge-dark)!important;text-shadow:none!important;filter:none!important;border:1px solid #654c36!important;border-radius:2px!important;transition:background-color .1s,color .1s,transform .1s!important}.camp-navigation button,.arcade-icon-btn.metal-knob-btn,.trial-toolbar button,.slot-select-btn.metal-slot-btn,.hud-retreat-btn.bronze-btn,.dock-log-btn.brass-tool-btn,.dock-surrender-btn.iron-tool-btn,.board-tools button,.mode-switch-btn.industrial-switch,.hotbar-item-btn,.experience-actions button,.experience-close,.settle-secondary.dark-bronze-btn,.shop-shortcuts a,.map-pagination button{background:var(--ui-plate-raised)!important;color:var(--ui-ink)!important}.launch-btn.gold-ingot-btn,.shop-buy-button,.beginner-guide button,#learn-button,.chest-reveal__close,.settle-primary.solid-gold-btn{background:var(--ui-clay)!important;color:#1c211a!important;border-color:#694a34!important;font-weight:750!important}.launch-btn.gold-ingot-btn,#learn-button,.chest-reveal__close{min-height:48px!important}.launch-btn.gold-ingot-btn:hover:not(:disabled),.shop-buy-button:hover:not(:disabled),.beginner-guide button:hover:not(:disabled),#learn-button:hover:not(:disabled),.chest-reveal__close:hover:not(:disabled),.settle-primary.solid-gold-btn:hover:not(:disabled){background:var(--ui-clay-hover)!important}.launch-btn .launch-text,#learn-button{text-shadow:none!important;color:#1c211a!important}.camp-navigation button.is-active,.mode-switch-btn.industrial-switch.is-active,.board-tools button[aria-pressed=true],.loadout-option[aria-pressed=true]{background:var(--ui-pressed)!important;color:#fff0cc!important;box-shadow:0 2px 0 var(--ui-edge-dark)!important;border-color:#d1b77b!important}.progress-save-button,.dock-surrender-btn.iron-tool-btn,.hud-retreat-btn.bronze-btn{color:#f4dfc9!important;background:#70433c!important;border-color:#392521!important}.map-ticket,.map-empty-slot{background:var(--ui-plate-recessed)!important;border:1px solid var(--ui-edge)!important;box-shadow:none!important;border-radius:2px!important}.map-ticket{border-color:var(--quality-color,var(--ui-edge))!important}.map-ticket.is-selected{background:#354842!important;border-color:#eed59c!important;box-shadow:inset 0 0 0 1px #eed59c!important}.map-cabinet-note,.shop-upgrade-card p,.market-card p,.owned-item small,.active-map-panel p,.experience-dialog p{color:var(--ui-ink-muted)!important}.arcade-sub,.ribbon-text,.gem-badge,.shop-upgrade-price,.market-card strong,.map-detail-header h3,.map-detail-header span,.camp-navigation span strong{text-shadow:none!important}.experience-dialog::backdrop,.chest-reveal::backdrop{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}button:not(:disabled):active,.shop-shortcuts a:active,.map-pagination button:active{box-shadow:0 1px 0 var(--ui-edge-dark)!important;transform:translateY(1px)!important}#learn-button:active:not(:disabled),.launch-btn.gold-ingot-btn:active:not(:disabled),.shop-buy-button:active:not(:disabled){background:var(--ui-clay-down)!important;box-shadow:0 1px 0 var(--ui-edge-dark)!important;transform:translateY(2px)!important}button:disabled,button[aria-disabled=true],.loadout-option:disabled,.owned-item:disabled{filter:none!important;opacity:.5!important;cursor:default!important}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,.map-ticket:focus-visible,.loadout-option:focus-visible{outline-offset:2px!important;outline:2px solid #f1d694!important}html.reduce-motion button:not(:disabled){transition-duration:.01ms!important}@media (prefers-reduced-motion:reduce){.camp-navigation button,.arcade-icon-btn.metal-knob-btn,.trial-toolbar button,.shop-buy-button,.launch-btn.gold-ingot-btn,.beginner-guide button,.slot-select-btn.metal-slot-btn,.hud-retreat-btn.bronze-btn,.dock-log-btn.brass-tool-btn,.dock-surrender-btn.iron-tool-btn,.board-tools button,.mode-switch-btn.industrial-switch,.hotbar-item-btn,.experience-actions button,.experience-close,.chest-reveal__close,.settle-primary.solid-gold-btn,.settle-secondary.dark-bronze-btn{transition:none!important}}.chest-reveal{--chest-gold:#e9bc58;--chest-panel:#181712;color:#f5eddd;opacity:0;background:radial-gradient(at 50% 0,#4e3820 0,#24221b 36%,#141719 100%);border:1px solid #81632e;border-radius:18px;width:min(92vw,520px);max-width:520px;max-height:88dvh;padding:0;transition:opacity .18s,transform .18s;overflow:auto;transform:translateY(12px)scale(.96);box-shadow:0 22px 90px #000d,inset 0 0 0 4px #120f0a}.chest-reveal.chest-quality-common{--chest-gold:#c3c0b5}.chest-reveal.chest-quality-uncommon{--chest-gold:#87d5a4}.chest-reveal.chest-quality-rare{--chest-gold:#80c7f4}.chest-reveal.chest-quality-epic{--chest-gold:#d2a5f2}.chest-reveal.chest-quality-legendary{--chest-gold:#ffd06f}.chest-reveal[open]{opacity:1;transform:translateY(0)scale(1)}.chest-reveal__frame{padding:22px;position:relative;overflow:hidden}.chest-reveal__frame:before,.chest-reveal__frame:after{content:"";background:#eac66f;border-radius:50%;width:8px;height:8px;position:absolute;box-shadow:0 0 10px #f9cc68}.chest-reveal__frame:before{top:12px;left:12px}.chest-reveal__frame:after{top:12px;right:12px}.chest-reveal__header{z-index:1;text-align:center;position:relative}.chest-reveal__eyebrow{color:#d6b35e;letter-spacing:.2em;font:700 10px/1.5 DM Mono,Consolas,monospace}.chest-reveal__header h2{color:#fff0bf;text-shadow:0 2px #3c250d;margin:4px 0 0;font-size:23px}.chest-reveal__status{color:#d7cfba;min-height:24px;margin:4px 0 0;font-size:13px}.chest-reveal__badge{border:1px solid color-mix(in srgb, var(--chest-gold), #2b2419 24%);background:linear-gradient(135deg, color-mix(in srgb, var(--chest-gold), #302719 70%), #191b1a);width:fit-content;max-width:100%;color:var(--chest-gold);text-align:center;text-overflow:ellipsis;white-space:nowrap;box-shadow:0 0 14px color-mix(in srgb, var(--chest-gold), transparent 78%);border-radius:999px;margin:12px auto -4px;padding:5px 12px;font-size:12px;font-weight:800;overflow:hidden}.chest-reveal__chest{place-items:center;height:88px;display:grid}.chest-reveal__chest img{width:72px;height:72px;image-rendering:pixelated;filter:drop-shadow(0 6px 4px #0008)}.chest-reveal.is-revealed .chest-reveal__chest img{animation:.38s cubic-bezier(.2,.9,.3,1.25) both chest-reveal-pop}@keyframes chest-reveal-pop{0%{filter:brightness(.7)drop-shadow(0 6px 4px #0008);transform:translateY(9px)scale(.78)}to{filter:brightness(1.15)drop-shadow(0 0 18px #ffcc60aa);transform:translateY(0)scale(1)}}.chest-reveal__rewards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.chest-reveal__reward{--reward-quality:#bdbaaf;border:1px solid color-mix(in srgb, var(--reward-quality), #25231d 50%);opacity:0;background:linear-gradient(130deg,#31312c,#1c2222 75%);border-radius:9px;align-items:center;gap:9px;min-width:0;min-height:74px;padding:10px;display:flex;position:relative;overflow:hidden;transform:translateY(8px)scale(.97);box-shadow:inset 0 1px #ffffff12,0 3px 10px #0005}.chest-reveal.is-revealed .chest-reveal__reward{animation:.27s ease-out both chest-reward-in;animation-delay:calc(var(--reveal-order) * 65ms)}@keyframes chest-reward-in{to{opacity:1;transform:translateY(0)scale(1)}}.chest-reveal__reward-icon{object-fit:contain;width:38px;height:38px;image-rendering:pixelated;flex:0 0 38px}.chest-reveal__reward-copy{overflow-wrap:anywhere;min-width:0;padding-right:34px;display:block}.chest-reveal__reward-copy strong{color:var(--reward-quality);font-size:14px;line-height:1.4;display:block}.chest-reveal__reward-copy small{color:#cbc6b7;margin-top:3px;font-size:12px;line-height:1.45;display:block}.chest-reveal__quality{color:var(--reward-quality);white-space:nowrap;font-size:10px;position:absolute;top:5px;right:6px}.chest-reveal__footer{justify-content:center;padding-top:16px;display:flex}.chest-reveal__close{color:#281706;background:linear-gradient(#e7bd61,#a66d27);border:1px solid #f3d481;border-radius:8px;min-width:min(100%,240px);min-height:46px;padding:10px 18px;font-size:15px;font-weight:800;box-shadow:inset 0 1px #fff1c7,0 3px #603914}.chest-reveal__close:disabled{opacity:.85;cursor:progress}.chest-reveal__close:focus-visible{outline-offset:3px;outline:3px solid #fff1c0}.chest-reveal.is-reduced-motion,.chest-reveal.is-reduced-motion *,.chest-reveal.is-reduced-motion :before,.chest-reveal.is-reduced-motion :after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-delay:0s!important}.chest-reveal.is-reduced-motion[open]{opacity:1;transform:none}@media (width<=390px){.chest-reveal__frame{padding:18px 14px}.chest-reveal__rewards{gap:7px}.chest-reveal__reward{gap:7px;min-height:72px;padding:8px}.chest-reveal__reward-icon{flex-basis:30px;width:30px;height:30px}.chest-reveal__reward-copy strong{font-size:13px}.chest-reveal__reward-copy small{font-size:11px}}@media (width<=320px){.chest-reveal__rewards{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.chest-reveal,.chest-reveal *,.chest-reveal :before,.chest-reveal :after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.chest-reveal__chest{isolation:isolate;position:relative}.chest-reveal__chest img{z-index:1;position:relative}.chest-reveal__chest:before{content:"";pointer-events:none;opacity:0;background:repeating-conic-gradient(from 0deg, transparent 0deg 16deg, var(--chest-gold) 18deg 20deg, transparent 24deg 40deg);border-radius:50%;width:190px;height:190px;position:absolute;-webkit-mask-image:radial-gradient(circle,#0002 10%,#000 22%,#0000 70%);mask-image:radial-gradient(circle,#0002 10%,#000 22%,#0000 70%)}.chest-reveal__chest:after{content:"";pointer-events:none;border:2px solid var(--chest-gold);opacity:0;border-radius:50%;width:130px;height:130px;position:absolute}.chest-reveal.is-revealed .chest-reveal__chest:before{animation:.65s ease-out both chest-rays}.chest-reveal.is-revealed .chest-reveal__chest:after{animation:.55s ease-out both chest-ring}@keyframes chest-rays{0%{opacity:0;transform:rotate(-30deg)scale(.6)}30%{opacity:.85}to{opacity:0;transform:rotate(20deg)scale(1.5)}}@keyframes chest-ring{0%{opacity:.9;transform:scale(.4)}to{opacity:0;transform:scale(1.7)}}.chest-reveal__chest svg{z-index:1;filter:drop-shadow(0 6px 8px #0008);width:100px;height:100px;position:relative;overflow:visible}.chest-reveal__chest .chest-lid{transform-box:fill-box;transform-origin:0 100%;transition:transform .32s cubic-bezier(.2,.9,.3,1.1)}.chest-reveal__chest .chest-interior-glow{opacity:0;transition:opacity .22s}.chest-reveal.is-revealed .chest-lid{transform:translateY(-8px)rotate(-13deg)}.chest-reveal.is-revealed .chest-interior-glow{opacity:1}.chest-reveal__chest{height:108px;margin-top:18px}.chest-reveal:not(.is-revealed) .chest-reveal__chest svg{animation:.88s ease-in-out both chest-charge}@keyframes chest-charge{0%,15%{transform:scale(.95)}35%{transform:rotate(-2deg)scale(1)}55%{transform:rotate(3deg)scale(1.02)}70%{transform:rotate(-3deg)scale(1.03)}85%{transform:rotate(2deg)scale(1.04)}to{transform:rotate(0)scale(1.04)}}.chest-reveal__chest:before{display:none}.chest-reveal__chest:after{border-style:dashed;border-width:1px;border-color:color-mix(in srgb, var(--chest-gold), transparent 25%)}.chest-reveal__burst{z-index:2;width:176px;height:124px;color:var(--chest-gold);opacity:0;pointer-events:none;position:absolute;overflow:visible;transform:scale(.45)rotate(-8deg)}.chest-reveal.is-revealed .chest-reveal__burst{animation:.68s cubic-bezier(.16,.78,.22,1) both chest-stamp-burst}@keyframes chest-stamp-burst{0%{opacity:0;transform:scale(.45)rotate(-8deg)}24%{opacity:.82}55%{opacity:.72;transform:scale(1)rotate(2deg)}to{opacity:0;transform:scale(1.16)rotate(5deg)}}.chest-reveal.is-revealed .chest-reveal__chest svg:not(.chest-reveal__burst){animation:.44s cubic-bezier(.2,.8,.25,1) both chest-open-settle}@keyframes chest-open-settle{0%{transform:translateY(2px)scale(.96)}48%{transform:translateY(-5px)scale(1.06)}to{transform:translateY(0)scale(1)}}.chest-reveal__reward{background:linear-gradient(135deg,#f1e3c4,#d8c49a);border-style:dashed;border-radius:5px;box-shadow:inset 0 1px #fff8e5,0 2px #584734}.chest-reveal__reward.quality-common{--reward-quality:#58675b}.chest-reveal__reward.quality-uncommon{--reward-quality:#39745f}.chest-reveal__reward.quality-rare{--reward-quality:#356b7e}.chest-reveal__reward.quality-epic{--reward-quality:#73547f}.chest-reveal__reward.quality-legendary{--reward-quality:#9a6327;box-shadow:inset 0 0 0 1px #d7a751,0 2px #584734}.chest-reveal__reward-copy strong{color:var(--reward-quality)}.chest-reveal__reward-copy small{color:#544c3d}.chest-reveal__quality{color:var(--reward-quality)}.chest-reveal.is-revealed .chest-reveal__reward{animation-name:chest-reward-drop;animation-duration:.34s}@keyframes chest-reward-drop{0%{opacity:0;transform:translateY(-14px)scale(.86)rotate(-1.5deg)}68%{opacity:1;transform:translateY(2px)scale(1.015)rotate(.35deg)}to{opacity:1;transform:translateY(0)scale(1)rotate(0)}}.chest-reveal__close{color:#282d25;background:linear-gradient(#dec47f,#b4944f);border-color:#876b3e;border-radius:5px;box-shadow:inset 0 1px #fff1c7,0 3px #504631}.chest-reveal{--chest-panel:#17302e;background:linear-gradient(155deg,#274441,#192f2e 55%,#142725);border:2px solid #927a4d;border-radius:12px;box-shadow:inset 0 0 0 4px #142624,inset 0 0 0 5px #75633f,0 16px 44px #050b0bd9}.chest-reveal::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#091714b8}.chest-reveal__frame{padding:20px}.chest-reveal__frame:before,.chest-reveal__frame:after{background:#d5b76d;width:7px;height:7px;box-shadow:inset 0 1px #fff0b7,0 1px 2px #07120f}.chest-reveal__eyebrow{color:#c4ab68;letter-spacing:.16em}.chest-reveal__header h2{color:#f1e4c5;text-shadow:0 2px #182b28}.chest-reveal__status{color:#c7d2c3}.chest-reveal__badge{color:#4a4639;background:#e7d8b4;border-color:#897a57;border-radius:4px;box-shadow:inset 0 1px #fff8df,0 2px #132724}.chest-reveal__burst{color:#d2b96e}.chest-reveal__close{background:linear-gradient(#e2cf9b,#bea76d);border-color:#9a8151;min-height:48px;box-shadow:inset 0 1px #fff7dc,0 3px #132623}.chest-reveal__chest>.chest-reveal__burst{filter:none;width:176px;height:124px;position:absolute}.chest-illustration{z-index:1;filter:drop-shadow(0 5px 5px #0006);width:112px;height:112px;display:block;position:relative}.chest-illustration:before,.chest-illustration:after{content:"";image-rendering:pixelated;background:url(./chest-states-v1-pixel-CL3Jb0-Q.webp) 0%/200% 100% no-repeat;transition:opacity .14s ease-out;position:absolute;inset:0}.chest-illustration:after{opacity:0;background-position:100%}.chest-reveal:not(.is-revealed) .chest-illustration{animation:.88s ease-in-out both chest-charge}.chest-reveal.is-revealed .chest-illustration{animation:.44s cubic-bezier(.2,.8,.25,1) both chest-open-settle}.chest-reveal.is-revealed .chest-illustration:before{opacity:0}.chest-reveal.is-revealed .chest-illustration:after{opacity:1}
