.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-cabinet-note{color:#c6b99e;margin:8px 0 12px;font-size:12px;line-height:1.7}.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 button.is-active{color:#ffe0a1;background:#554020;box-shadow:inset 0 1px #bca166}.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}.hex-bolt.hl-1{top:7px;left:8px}.hex-bolt.hr-1{top:7px;right:52px}.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}.knob-ruby-led{width:6px;height:6px;box-shadow:0 0 6px var(--gem-ruby-glow);background:radial-gradient(circle at 35% 30%,#fca5a5 0%,#ef4444 60%,#7f1d1d 100%);border:1px solid #450a0a;border-radius:50%;position:absolute;top:2px;right:2px}.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}dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#060402d9}.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)}}.header-controls{align-items:center;gap:8px;display:flex}.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%}[hidden]{display:none!important}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}.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::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#050807c9}.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.quality-common{--reward-quality:#c3c0b5}.chest-reveal__reward.quality-uncommon{--reward-quality:#87d5a4}.chest-reveal__reward.quality-rare{--reward-quality:#80c7f4}.chest-reveal__reward.quality-epic{--reward-quality:#d2a5f2}.chest-reveal__reward.quality-legendary{--reward-quality:#ffd06f;box-shadow:inset 0 0 18px #bf872522,0 0 10px #f6c75725}.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)}}
