/* Handcrafted objects, paper, and warm stone. The landscape does the decorating. */
:root{--surface:#f3eee4;--line:#d8cfbf;--muted:#817868}
body{background:#eae4d8;color:#302c23}.page{max-width:1450px}.topbar{border-color:#cfc4b2}.brand img{filter:sepia(.2)}
.season-bar{border:0;padding-block:9px}.season-bar #open-shop{color:#695d46;min-height:30px}.season-bar>.save-state{color:#796f5e}
.game-layout{border:1px solid #d1c5b1;box-shadow:0 6px 28px #47341b09;background:var(--surface)}
.mine{background:var(--surface);padding-top:14px}.mine-top{height:50px;margin-bottom:13px}.era-stamp{gap:12px}.era-stamp>span{font-size:42px;line-height:1;color:var(--accent)}.era-stamp small{letter-spacing:1.6px;font-size:8px}.era-stamp h2{font-size:13px;letter-spacing:.3px}.resource-line{top:14px}.resource-line>div>small{letter-spacing:1.2px}#balance{font-size:42px;letter-spacing:-1px}.rates{border-color:#d1c5b1}.rates small{letter-spacing:1.2px}
.scene{border:0}.scene .location-sign{left:26px;top:23px;max-width:70%}.location-sign strong{font-size:36px;letter-spacing:-.4px;line-height:1.07;text-shadow:0 2px 10px #362e2480}
/* Two independently loaded landscape layers crossfade; character and controls stay put. */
.world-backdrop{opacity:0;transition:opacity 1.1s ease,filter 3.5s ease;filter:none}.world-backdrop.visible{opacity:1}.world-backdrop-next{z-index:-3}
.world-light,.world-haze{position:absolute;inset:0;pointer-events:none;z-index:-1;opacity:0;transition:opacity 4s ease;mix-blend-mode:soft-light}
.world-light{background:linear-gradient(125deg,#ffca7880 0,transparent 63%)}
.world-haze{background:linear-gradient(0deg,#e0d7b255,transparent 60%);mix-blend-mode:screen}
.scene[data-light=dawn] .world-backdrop{filter:brightness(.91) saturate(.8) sepia(.1)}
.scene[data-light=dawn] .world-light{opacity:.65;background:linear-gradient(145deg,#ffd6ad88,transparent 70%)}
.scene[data-light=dusk] .world-backdrop{filter:brightness(.88) saturate(1.08) sepia(.14)}
.scene[data-light=dusk] .world-light{opacity:.8;background:linear-gradient(115deg,#e49b5599,transparent 70%)}
.scene[data-light=night] .world-backdrop{filter:brightness(.64) saturate(.67) hue-rotate(8deg)}
.scene[data-light=night] .world-light{opacity:.3;background:linear-gradient(145deg,#9faed477,transparent 70%)}
.scene[data-light=night] .world-shade{background:#1e284126}.scene[data-light=night] .mining-world{filter:brightness(.88) saturate(.83)}
.scene[data-air=haze] .world-haze{opacity:.32}.scene[data-air=warm] .world-haze{opacity:.13}
.scene[data-landscape=coast] .world-haze{background:linear-gradient(0deg,#cce0df60,transparent 56%)}
.scene[data-landscape=forest] .world-haze{background:linear-gradient(0deg,#c7d3a65c,transparent 70%)}
.scene[data-landscape=furnace] .world-haze{background:radial-gradient(ellipse at 18% 75%,#d08b493d,transparent 48%)}
.scene[data-landscape=space] .world-haze{background:radial-gradient(ellipse at 50% 0%,#b49bdd66,transparent 65%)}
.scene-sky .night-stars{inset:auto;left:26%;top:14%;width:2px;height:2px;border-radius:50%;background:#fff2cc;box-shadow:80px 24px #f1dfc6,130px -15px #f4edd7,220px 40px #e2e1d1,310px -8px #fff4c3,390px 20px #c9d9e6;opacity:0;transition:opacity 4s ease}.scene[data-light=night] .night-stars{opacity:.65}
.scene .day-night{display:flex;gap:9px;align-items:center;top:18px;right:18px;min-height:44px;padding:8px 11px;border:1px solid #f3e0b24d;border-radius:4px;background:#332f23b8;color:#f7eddb;font:10px Georgia,serif;letter-spacing:0;box-shadow:0 2px 5px #1d1a111f;transition:background .2s}.scene .day-night:hover{background:#332f23db}
.light-copy{text-align:left}.light-copy b{display:block;font-weight:normal;font-size:11px}.light-copy small{display:block;margin-top:4px;font:6px 'Courier New',monospace;letter-spacing:1px;color:#dacdb5}
.light-emblem{width:16px;height:16px;border-radius:50%;background:#e9c877;box-shadow:0 0 0 3px #efca7033;flex-shrink:0}
[data-light=night] .light-emblem{background:#f5e8b9;box-shadow:5px -3px 0 -1px #4f5354 inset}
[data-light=dusk] .light-emblem{background:#de9b5e;box-shadow:0 0 0 3px #e59e5822}
[data-light=dawn] .light-emblem{background:#f1c6a2;box-shadow:0 0 0 3px #efc6a333}
.scene.era-arrival .world-backdrop{animation:none}.scene .mining-world{transition:filter 3.5s ease}
.dig-controls{padding-top:18px}.vein-work .eyebrow{font-size:9px;color:#80705a}.vein-work strong{font-size:12px}.vein-work #vein-progress-label{font-size:10px;color:#80705a}.vein-work .progress{height:5px;border-radius:3px;background:#ddd3c1}.vein-work .progress>span{border-radius:3px;transition:width .16s ease-out}
.strike-controls{gap:10px}.strike-controls .bonk-button{border:1px solid #402f202e;border-bottom:3px solid #2c211638;border-radius:5px;box-shadow:inset 0 1px #ffffff25;background:var(--accent);font-size:12px;letter-spacing:1px;height:58px}.strike-controls .bonk-button:active:enabled{transform:translateY(2px);border-bottom-width:1px;transition:none}.bonk-button>span:last-child{letter-spacing:.4px}
.power-strike{border:1px solid #cfbfa0;border-bottom-width:2px;border-radius:5px;background:#ece3d0;gap:4px;padding:7px 12px}.power-object{width:39px;height:39px;object-fit:contain;filter:saturate(.7);opacity:.7}.power-strike.ready{background:#e9d7ac;border-color:#a2854a;box-shadow:inset 0 1px #fff5d3}.power-strike.active{background:#ead9b0}.power-strike.ready .power-object,.power-strike.active .power-object{filter:none;opacity:1}.power-strike b{color:#6b593c}.power-strike small{color:#79664a}.power-meter{left:8px;right:8px;bottom:4px;height:2px}.power-meter i{background:#9a7b39}.power-strike:active:enabled{transform:translateY(1px)}
.under-bonk{margin-top:9px;color:#7f735e}.energy-track{height:2px;background:#e0d7c5}.energy-track>span{opacity:.65;transition:width .15s ease-out}
.next-objective{border:0;border-bottom:1px solid #d7cbb7;border-radius:0;background:none;padding:6px 2px 11px;margin:15px auto 17px;min-height:48px}.next-objective:enabled:hover{background:none}.next-objective:enabled:hover b{color:var(--accent)}.next-objective small{font-size:8px;color:#8b7b60;letter-spacing:1.2px}.next-objective b{font:15px Georgia,serif;color:#4b402f}.next-objective #objective-count{font-size:10px;color:#8a7048}.next-objective>i{height:2px;bottom:-1px;transition:width .2s ease-out}
/* A shelf of physical objects, not unrelated Unicode pictograms. */
.quarry-dock{padding:7px 14px 9px;gap:6px;background:#e9e0cf;border-top:1px solid #d4c5ac;box-shadow:inset 0 1px #fff9edb3;border-bottom:0}
.quarry-dock button{flex:1;min-width:0;min-height:81px;padding:3px 8px 8px;display:flex;flex-direction:column;justify-content:center;gap:0;border:1px solid transparent!important;border-radius:5px;color:#706049;background:none;touch-action:manipulation}
.dock-object{display:grid;place-items:center;height:53px;width:64px;position:relative}.dock-object img{height:61px;width:61px;object-fit:contain;filter:drop-shadow(0 2px 1px #6850331a);pointer-events:none;transition:transform .2s ease,filter .2s ease;user-select:none}
.dock-label{font:11px/1.3 Georgia,serif;letter-spacing:.15px}
.quarry-dock button:hover{background:#f3ead9;border-color:#d9c9ac!important}.quarry-dock button:hover img{transform:translateY(-2px) rotate(-3deg)}.quarry-dock button:active{background:#e2d4bb}.quarry-dock button:active img{transform:translateY(1px) scale(.94);transition:none}
.quarry-dock button[aria-expanded=true]{background:#f7eedb;border-color:#c3aa7a!important;color:#4e3a20}.quarry-dock button.has-update::after{width:6px;height:6px;top:12px;right:calc(50% - 24px);background:#a55c31;box-shadow:0 0 0 3px #f1e6d1;border-radius:50%}
.quarry-dock button:focus-visible{outline:2px solid #927345;outline-offset:1px}
.workshop-dialog{border:1px solid #cbbfa8;border-radius:9px;background:#f4eedf;box-shadow:0 20px 80px #3023124a}.workshop-dialog .workshop{background:#f4eedf}.workshop-heading{display:flex;align-items:center;gap:12px}.workshop-heading img{object-fit:contain;width:49px;height:49px}.workshop-head .workshop-heading h2{font-size:33px;letter-spacing:-.2px;margin:0}.workshop-head{margin-top:4px}.workshop .tabs{background:#f4eedf;margin-top:15px}.workshop .tabs button{color:#8b7b64;font-size:12px}.workshop .tabs button[aria-selected=true]{color:#554530;border-color:#967648}
.technique-option{background:#eee5d3;border-color:#ddd0b6;border-radius:4px;padding:8px 11px 14px;gap:7px}.technique-mark{width:49px;height:49px;object-fit:contain;margin-left:-5px}.technique-option[aria-pressed=true]{background:#e2d2ae;border-color:#a28653}.technique-option strong{font:14px Georgia,serif;color:#57452a}.technique-option small{font-size:10px;color:#806c4f}.technique-heading h3{font-size:27px;color:#56452d}.technique-heading>span{letter-spacing:.5px}.technique-note{color:#9b8a6b}
.workshop .upgrade{border-color:#ded1bb}.upgrade-copy strong{color:#4c4130}.workshop .next-era{border-color:#c3b394}.workshop .starter-item{border-color:#dacdb7}.workshop .starter-object{border:0;background:none}.starter-item #starter-buy{background:#67573c;color:#f7edd9;border-radius:3px}.outfit-card{border-color:#d0bea0;background:#efe5d1;border-radius:4px;overflow:hidden}.outfit-card.equipped{border-color:#9d7b49}.outfit-card h4{color:#534127}.outfit-card button{color:#7a5e31}.era-thumbnail{border-radius:4px}.era-card.active{border-bottom-color:#a28650}
.encounter{background:#eee5d2;border-color:#d6c6aa;border-radius:5px}.encounter h3{color:#5c492e}.check-actions button{border-color:#c8b591;background:#f8efdd;color:#665334;border-radius:4px}.check-actions button:active{background:#e5d4b1}.scene-notice{background:#3e3329e8;border-color:#d0b78070;border-radius:4px;box-shadow:0 3px 16px #231d1430;color:#fff0cb}
@media(min-width:741px){.quarry-dock{padding-inline:max(20px,calc((100% - 700px)/2))}.scene{height:clamp(340px,calc(100svh - 400px),600px)}}
@media(max-width:740px){
 .page{padding-inline:12px}.topbar{height:58px}.game-layout{border-radius:7px;overflow:hidden}.mine{padding-inline:14px;padding-top:14px}.mine-top{height:45px;margin-bottom:12px;padding-right:47%}.era-stamp{gap:7px}.era-stamp>span{font-size:36px}.era-stamp h2{font-size:11px;white-space:nowrap}.era-stamp small{font-size:6px}.resource-line{top:15px;right:14px;gap:10px;max-width:52%;min-width:0}.resource-line>div>small{font-size:6px;letter-spacing:.6px}#balance{font-size:34px}.rates{padding-left:10px;min-width:57px}.rates>span{font-size:17px}.rates small{font-size:6px}
 .scene{margin-inline:-14px;height:clamp(325px,87vw,440px)}.scene .location-sign{top:19px;left:16px;max-width:58%}.location-sign strong{font-size:28px;line-height:1.03;letter-spacing:-.2px}.scene .day-night{top:14px;right:11px;gap:7px;padding:7px 9px;min-height:40px;max-width:40%}.light-emblem{width:13px;height:13px}.light-copy b{font-size:10px}.light-copy small{font-size:5px;letter-spacing:.8px}
 .dig-controls{padding-top:14px}.vein-work .eyebrow{font-size:7px}.vein-work strong{font-size:11px}.vein-work #vein-progress-label{font-size:9px}.strike-controls .bonk-button{height:54px;font-size:10px;letter-spacing:.4px}.power-strike{min-width:115px;padding:5px 8px 7px 4px;gap:0}.power-object{width:34px;height:34px}.power-strike b{font-size:7px}.power-strike small{font-size:7px}.power-meter{bottom:4px}.next-objective{margin-top:12px;margin-bottom:15px;min-height:49px}.next-objective b{font-size:12px}.next-objective small{font-size:7px}.next-objective #objective-count{font-size:8px}
 .quarry-dock{margin-inline:-14px;padding:5px 6px 6px;gap:2px}.quarry-dock button{padding:2px 1px 7px;min-height:76px;gap:0}.dock-object{width:54px;height:50px}.dock-object img{width:57px;height:57px}.dock-label{font-size:9px}.quarry-dock button.has-update::after{top:9px;right:calc(50% - 21px);width:5px;height:5px;box-shadow:0 0 0 2px #f1e6d1}
 .workshop-dialog{border-radius:12px 12px 0 0}.workshop-heading{gap:9px}.workshop-heading img{width:44px;height:44px}.workshop-head .workshop-heading h2{font-size:31px}.technique-mark{width:44px;height:44px}.technique-option strong{font-size:12px}.technique-option small{font-size:9px}.technique-option{padding:7px 8px 11px}.technique-heading>span{font-size:6px}.technique-heading h3{font-size:25px}
}
@media(max-width:365px){.rates{display:none}#balance{font-size:33px}.resource-line{max-width:44%}.dock-label{font-size:8px}.dock-object img{width:51px;height:51px}.location-sign strong{font-size:24px}}
@media(prefers-reduced-motion:reduce){.world-backdrop,.world-haze,.world-light,.scene .mining-world,.scene-sky .night-stars{transition:none}.dock-object img,.vein-work .progress>span,.energy-track>span,.next-objective>i{transition:none}.quarry-dock button:hover img,.quarry-dock button:active img,.strike-controls .bonk-button:active:enabled{transform:none}}
@media(prefers-reduced-transparency:reduce){.scene .day-night{background:#494030;backdrop-filter:none}}
@media(prefers-contrast:more){.dock-label,.under-bonk,.next-objective small{color:#4a3b27}.quarry-dock button,.next-objective{border-color:#756449!important}}
