/* Hidden is a state contract, not a layout suggestion. */
[hidden]{display:none!important}
.game-heading{padding:14px 0;align-items:center}.game-heading h1{font-size:34px;line-height:1}.game-heading .eyebrow{display:none}.game-heading .save-state{margin:0;font:9px 'Courier New',monospace;letter-spacing:.7px;color:var(--muted)}
.season-bar{padding:7px 0}.mine{padding-bottom:0}.scene .location-sign{top:20px}.scene .specimen{display:none}
.dig-controls{max-width:780px;margin:0 auto;padding:16px 0 0}.vein-work{margin:0}.vein-work>div:first-child{margin-bottom:7px}.vein-work .progress{height:4px}.vein-work.core-vein strong{color:var(--accent)}.core-vein .progress{background:#d7c796}
.mine-bottom{max-width:none;margin:12px 0 0}.strike-controls{display:flex;gap:10px;align-items:stretch}.strike-controls .bonk-button{flex:1;min-width:0;max-width:none;margin:0;height:57px}.under-bonk{max-width:none;margin:8px 0 5px;font-size:10px}.under-bonk>span:last-child{font-size:9px}.energy-track{max-width:none;height:2px;margin:0}
/* Status messages remain available to assistive technology; feedback lives at the rock. */
.mine .status{position:absolute;width:1px;height:1px;min-height:0;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.power-strike{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;min-width:180px;border:1px solid var(--line);background:transparent;color:var(--muted);padding:8px 14px;overflow:hidden;text-align:left;min-height:57px}
.power-strike b{display:block;font:10px 'Courier New',monospace;letter-spacing:.4px}.power-strike small{display:block;font:9px 'Courier New',monospace;margin-top:5px}.power-symbol{font:29px Georgia,serif}.power-meter{position:absolute;left:0;right:0;bottom:0;height:3px}.power-meter i{display:block;height:100%;background:var(--accent)}.power-strike.ready{background:#ded8bf;border-color:#8f7843;color:#463b23}.power-strike.active{background:#ece0b7;border-color:#ad913e;color:#685019}.power-strike:disabled{cursor:default}.power-strike:enabled:hover{background:#d6c89d}
.scene.power-active .art-button{filter:drop-shadow(0 5px 16px #d49a3166)}
.next-objective{position:relative;display:flex;align-items:center;gap:15px;width:100%;max-width:780px;margin:15px auto 16px;min-height:58px;border:1px solid var(--line);background:transparent;padding:10px 14px;text-align:left;color:var(--ink);overflow:hidden}
.next-objective>span:first-child{flex:1;min-width:0}.next-objective small{display:block;font:8px 'Courier New',monospace;letter-spacing:1px;color:var(--muted);margin-bottom:5px}.next-objective b{font-size:13px;font-weight:500}.next-objective #objective-count{font:10px 'Courier New',monospace;color:var(--accent);white-space:nowrap}.next-objective>i{height:2px;position:absolute;bottom:0;left:0;background:var(--accent)}.next-objective:disabled{cursor:default}.next-objective:disabled>span[aria-hidden]{display:none}.next-objective:enabled:hover{background:#e9e2d5}
.quarry-dock{border-top:1px solid var(--line);border-bottom:0;margin-top:0}.quarry-dock button{position:relative;flex:1}.quarry-dock .has-update::after{content:'';position:absolute;top:10px;right:calc(50% - 33px);width:5px;height:5px;border-radius:50%;background:var(--accent)}
.encounter{max-width:780px;margin:16px auto;padding:16px 20px;border:1px solid var(--line)}.encounter h3{font-size:26px}.encounter>.crocodile{width:100px}.encounter p:not(.eyebrow){font-size:12px}.encounter #check-sequence{margin:9px 0}.check-active .dig-controls,.check-active .next-objective{display:none}
.technique-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:22px 0 12px}.technique-heading h3{font:26px Quarry,Impact,sans-serif;margin:0}.technique-heading>span{font:7px 'Courier New',monospace;color:var(--muted)}
.technique-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.technique-option{border:1px solid var(--line);padding:15px 10px 13px;min-height:125px;text-align:left;background:transparent;color:var(--ink);display:flex;flex-direction:column;gap:9px}.technique-option[aria-pressed=true]{border-color:var(--accent);background:#e6ddcb}.technique-option:disabled{cursor:default}.technique-option:enabled:hover{border-color:var(--accent)}.technique-mark{font:25px Georgia,serif;color:var(--accent)}.technique-option strong{font-size:12px;font-weight:500}.technique-option small{font-size:10px;line-height:1.5;color:var(--muted)}.technique-note{display:block;margin:9px 0 19px;font:9px 'Courier New',monospace;color:var(--muted)}
.workshop-head>span{display:none}.workshop .starter-item{border-top:1px solid var(--line);margin-top:15px}.workshop .upgrade{padding:17px 0}.field-study p{margin:5px 0 0}.workshop .next-era h3{display:none}.next-era p{margin-top:12px}.workshop .wallet-actions{position:static;max-width:none;width:100%;margin:18px 0 0}.workshop .daily-line{margin:15px 0 20px}.panel-title{font:30px Quarry,Impact,sans-serif;margin:25px 0 0}.workshop .era-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 12px}.workshop .evolution-strip{margin:22px 0}.workshop .section-label h2{font-size:16px}.workshop .section-label>span{font-size:8px}.workshop .era-card strong{font-size:11px}.workshop .daily-fieldwork{flex-wrap:wrap;padding:20px 0}.workshop .fieldwork-progress{order:3;width:100%}.camp-title{margin-top:24px}.workshop .fieldwork-name strong{font-size:19px}.economy-dialog{width:min(980px,calc(100% - 24px));max-height:calc(100dvh - 30px);overflow:auto}.economy-dialog .expedition{margin:15px 0 0;border:0;padding:0}.economy-dialog .economy-columns{gap:30px}.economy-dialog .expedition-heading{padding-right:20px}
footer{margin-top:12px;padding:14px 0}footer button{border:0;background:none;color:var(--muted);font-size:10px;padding:0;cursor:pointer}#help-dialog{max-height:calc(100dvh - 32px);overflow:auto}#help-dialog details{margin:20px 0;font-size:12px}#help-dialog summary{cursor:pointer}#help-dialog #show-economy{margin-top:20px}
@media(max-width:740px){
 .game-heading{display:flex;padding:11px 0}.game-heading h1{font-size:28px}.game-heading .save-state{font-size:7px;max-width:none;text-align:right}.game-heading .save-state::first-line{font-size:7px}
 .top-actions #help{display:block;min-width:35px;min-height:44px;font-size:9px}.top-actions #open-leaderboard{display:none}.top-actions{gap:5px}.brand{font-size:21px}
 .season-bar>span{flex-wrap:nowrap;gap:7px}.season-bar #season-left{flex-basis:auto;margin:0}.season-bar button{max-width:none;font-size:7px}.season-bar{align-items:center;padding:7px 0}.mine{padding-bottom:0}
 .scene{height:clamp(320px,84vw,430px)}.mine-top{margin-bottom:9px}.scene .location-sign{top:15px}.scene .location-sign strong{font-size:27px}.scene .day-night{font-size:7px;padding:8px;top:10px;right:10px;min-height:38px}
 .dig-controls{padding-top:12px}.strike-controls{gap:7px}.strike-controls .bonk-button{height:53px;font-size:11px;gap:8px}.strike-controls .bonk-button>span:last-child{min-width:0;padding-left:8px}.strike-controls .bonk-button .icon{display:none}
 .power-strike{min-width:113px;padding:8px;min-height:53px;gap:5px}.power-strike b{font-size:8px;letter-spacing:0}.power-strike small{font-size:8px}.power-symbol{font-size:22px}.under-bonk{font-size:9px}.under-bonk>span:last-child{font-size:8px}
 .next-objective{margin:12px auto;min-height:55px;padding:9px 10px;gap:9px}.next-objective small{font-size:7px}.next-objective b{font-size:11px}.next-objective #objective-count{font-size:8px;max-width:93px;white-space:normal;text-align:right;line-height:1.5}
 .quarry-dock button{padding:11px 4px;min-height:55px}.encounter{padding:13px 11px;margin:12px 0;gap:12px}.encounter>.crocodile{width:73px}.encounter p:not(.eyebrow){font-size:11px}.encounter h3{font-size:25px}
 .technique-option{padding:12px 8px;min-height:134px;gap:8px}.technique-option strong{font-size:11px}.technique-option small{font-size:9px}.technique-heading>span{font-size:6px}.technique-options{gap:6px}
 footer{padding-block:10px;margin-top:7px;font-size:8px;gap:9px}footer>span:first-child{flex-basis:auto;font-size:8px}footer>span:nth-child(2){display:none}footer button{font-size:8px;min-height:30px}
 .workshop .section-label h2{max-width:160px;font-size:14px}.workshop .era-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){.scene.power-active .art-button{filter:none}}
/* The brand already names the game; keep the quarry title for navigation only. */
.game-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;margin:-1px}
.season-bar>.save-state{font:8px 'Courier New',monospace;color:var(--muted);margin:0;margin-left:auto;display:block;letter-spacing:.3px}
@media(min-width:741px){.topbar{height:60px}.mine{padding-top:14px}.mine-top{height:45px;margin-bottom:10px}.resource-line{top:14px}.scene{height:clamp(320px,calc(100svh - 405px),600px)}}
@media(max-width:740px){.season-bar>.save-state{font-size:6px;letter-spacing:0}.season-bar{gap:6px}.season-bar #season-left{display:none}}
.scene-notice{top:auto;bottom:15px;transform:translateX(-50%);font-size:12px;padding:9px 14px}
@media(min-width:741px){.scene .art-button{height:calc(100% - 28px)}}
