/* The quarry itself is the instrument. Keep the surrounding controls quiet. */
.quarry-page .mine-bottom,.quarry-page .strike-controls,#bonk,#power-strike,#technique-section{display:none!important}
.quarry-page .scene{height:clamp(310px,calc(100svh - 280px),850px);touch-action:manipulation;cursor:pointer}
.quarry-page .scene .art-button{outline:none;outline-offset:0;-webkit-tap-highlight-color:transparent}
.quarry-page .scene .art-button:focus-visible{outline:2px solid #e6c38588;outline-offset:-4px;border-radius:24px}
.quarry-page .quarry-console{grid-template-columns:minmax(0,1fr) auto;column-gap:20px;padding:10px 22px 12px;align-items:center}
.quarry-page .dig-controls{grid-column:1;padding:0;min-width:0}.quarry-page .vein-work{margin:0;padding:0}.quarry-page .vein-work>div:first-child{margin-bottom:5px}
.quarry-page .rhythm-lane{grid-template-columns:50px minmax(100px,1fr) 100px;gap:10px;padding:8px 0 0;position:relative;font-size:11px;min-height:39px}
.combo-stones{display:flex;gap:3px;grid-column:1;grid-row:1;height:18px;align-items:center}
.combo-stones i{display:block;width:4px;height:9px;border-radius:2px;background:#cbb996;transition:height 90ms,background-color 90ms}
.combo-stones i[data-filled=true]{height:16px;background:#ba622f;box-shadow:inset 0 2px #e8bf79}
#rhythm-charge{grid-column:1;grid-row:2;font-size:9px;white-space:nowrap}
.rhythm-road{grid-column:2;grid-row:1 / span 2}
#rhythm-feedback{grid-column:3;grid-row:1 / span 2;font:14px/1.1 Quarry,Impact,sans-serif;letter-spacing:.3px}
.rhythm-lane[data-enabled=false] .combo-stones,.rhythm-lane[data-enabled=false] .rhythm-road{opacity:.3}
.rhythm-lane[data-enabled=false] #rhythm-charge{grid-column:1/3;grid-row:1;font:14px Quarry,Impact,sans-serif}
.rhythm-lane[data-enabled=false] .combo-stones,.rhythm-lane[data-enabled=false] .rhythm-road{visibility:hidden}
.quarry-page .sound-strip{grid-column:1;display:flex;padding:6px 0 0;border:0;margin:0;gap:12px}.quarry-page .sound-strip .groove{display:none}.quarry-page #music-settings{margin-left:auto}
.quarry-page .quarry-dock{grid-column:2;grid-row:1/3;margin:0;align-self:center;gap:6px;border:0;padding:0;background:none}
.quarry-page .quarry-dock button{width:68px;padding:4px 5px;min-height:60px}.quarry-page .dock-object{width:36px;height:36px}.quarry-page .dock-object img{max-height:36px}.quarry-page .dock-label{font-size:17px}
.quarry-page .scene .quarry-companion{width:clamp(105px,11vw,168px);left:3%;bottom:3%}
.scene[data-tempo-boost=true] .companion-beat-pebbles i[data-lit=true]{background:#8fc9c5;box-shadow:0 0 6px #badbd3}
.scene[data-charged=true] .tool-anchor{filter:drop-shadow(0 0 5px #f4c875) drop-shadow(0 0 2px #ffebad)}
.quarry-page .rock-scar-edge{stroke:#b59668;stroke-width:1.1;opacity:.28;fill:none;stroke-linejoin:round;stroke-linecap:round}
.quarry-page .rock-scar-cut{stroke:#302519;stroke-width:1.5;opacity:.66;fill:none;stroke-linejoin:round;stroke-linecap:round}
.quarry-page .workshop-dialog .tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;overflow:visible;padding-block:6px;margin-bottom:16px}
.quarry-page .workshop-dialog .tabs button{font-size:clamp(15px,2vw,22px);white-space:nowrap;min-width:0;padding:10px 2px 14px;letter-spacing:0}
.quarry-page .workshop #next-objective{display:none}
.quarry-page .recovery-card[hidden]{display:none}
.quarry-page .starter-card{margin:0 0 20px;padding:10px 0 16px}.quarry-page .starter-card .starter-object{width:65px;height:85px}
@media(max-width:740px){
 .quarry-page .scene{height:clamp(350px,108vw,490px)}
 .quarry-page .scene .art-button{width:98%;height:calc(100% - 32px);bottom:13%}
 .quarry-page .quarry-console{padding:8px 12px 10px;column-gap:10px;grid-template-columns:minmax(0,1fr) 52px}
 .quarry-page .quarry-dock{gap:1px}.quarry-page .quarry-dock button{width:52px;padding:3px 0;min-height:50px}.quarry-page .dock-object{width:28px;height:29px}.quarry-page .dock-label{font-size:13px}
 .quarry-page .rhythm-lane{grid-template-columns:42px minmax(55px,1fr) 59px;gap:5px}.quarry-page #rhythm-feedback{font-size:11px}.quarry-page #rhythm-charge{font-size:8px}
 .combo-stones{gap:2px}.combo-stones i{width:3px}.quarry-page .scene .quarry-companion{width:88px;left:2%;bottom:2%}
 .quarry-page .location-sign strong{font-size:clamp(21px,4.8vw,32px)}
}
@media(prefers-reduced-motion:reduce){.combo-stones i{transition:none}}
.quarry-page .rock-scar-cut{fill:#241b14;stroke:none;opacity:.78}
.quarry-page .rock-scar-edge{stroke:#dbb582;stroke-width:.55;opacity:.42}
.quarry-page .rock-scar-cut{fill:#3b2c20;opacity:.68}

/* The quarry opens with a verified NFT, not a saved catalogue selection. */
.quarry-page .mine.entry-locked{position:relative;overflow:hidden;padding:0}
.quarry-page .mine.entry-locked>:not(.scene):not(.quarry-entry){display:none!important}
.quarry-page .mine.entry-locked .scene{margin:0;min-height:530px;height:calc(100svh - 160px);max-height:850px;pointer-events:none}
.quarry-page .mine.entry-locked .scene .location-sign,
.quarry-page .mine.entry-locked #play-status{visibility:hidden}
.quarry-entry{position:absolute;inset:0;z-index:25;display:grid;place-items:center;padding:24px;background:linear-gradient(100deg,#281d17c9,#34282077);backdrop-filter:blur(3px)}
.quarry-entry[hidden]{display:none}
.quarry-entry-card{width:min(100%,450px);box-sizing:border-box;padding:24px 32px 28px;text-align:center;border:1px solid #d3b785;border-radius:22px;background:#f4eddb;box-shadow:0 12px 60px #20130955,inset 0 0 0 5px #e8dcc1;color:#614b2f}
.quarry-entry-card>img{width:68px;height:68px;object-fit:contain;margin:0 auto 8px}
.quarry-entry-card h2{font:clamp(36px,5vw,56px)/1 Quarry,Impact,sans-serif;margin:0 0 16px;letter-spacing:0;text-transform:none}
.quarry-entry-card p{font:16px/1.5 system-ui,sans-serif;margin:0 auto 22px;max-width:290px;color:#796444}
.quarry-entry-actions{display:grid;gap:10px}
.quarry-entry-actions a,.quarry-entry-actions button{display:block;border:1px solid #aa8652;border-radius:12px;padding:13px 16px;font:24px/1.15 Quarry,Impact,sans-serif;text-decoration:none;text-align:center;cursor:pointer;color:#f9f0d7;background:#755634;box-shadow:0 3px 0 #533b24;min-height:48px;box-sizing:border-box}
.quarry-entry-actions button{color:#62482c;background:#e9d7ad;box-shadow:0 3px 0 #c5ab7d}
.quarry-entry-actions :focus-visible{outline:3px solid #b95730;outline-offset:4px}
.quarry-entry-actions button:disabled{cursor:wait;opacity:.65}
.quarry-entry-card small{display:block;min-height:18px;margin-top:18px;font:13px/1.4 system-ui,sans-serif;color:#806c4c}
@media(max-width:600px){.quarry-entry{padding:18px}.quarry-entry-card{padding:22px}.quarry-page .mine.entry-locked .scene{min-height:540px}}
