/* Keep the quarry, the hands and the next action together in one viewport. */
.quarry-page .page{max-width:1460px;padding-inline:clamp(10px,2.5vw,36px)}
.quarry-page .topbar{height:54px;min-height:54px}.quarry-page .season-bar{min-height:30px;height:30px;padding-block:0}.quarry-page .season-bar button{min-height:28px}
.quarry-page .mine{padding:10px 20px 10px}.quarry-page .mine-top{height:42px;margin-bottom:8px}.quarry-page .resource-line{top:10px;right:20px}.quarry-page #balance{font-size:38px}.quarry-page .era-stamp>span{font-size:37px}
.quarry-page .scene{margin-inline:-20px;height:clamp(250px,calc(100svh - 342px),680px)}
.quarry-page .scene .art-button{width:90%;height:calc(100% - 18px);max-width:1040px;bottom:2%;left:50%}.quarry-page .scene .rig-canvas{overflow:hidden}
.quarry-page .scene .location-sign{top:14px;left:20px;max-width:60%}.quarry-page .location-sign strong{font-size:clamp(23px,3vw,35px)}.quarry-page .day-night{top:12px;right:15px}
.quarry-page .dig-controls{max-width:780px;padding-top:9px}.quarry-page .vein-work>div:first-child{margin-bottom:5px}.quarry-page .mine-bottom{margin-top:6px}.quarry-page .strike-controls #bonk{height:57px;min-height:57px;padding-block:10px 15px}.quarry-page .strike-controls .power-strike{min-height:57px}
.quarry-page .under-bonk{margin:0 0 5px}.quarry-page .next-objective{max-width:780px;min-height:42px;margin:8px auto 7px;padding-block:7px}.quarry-page .quarry-dock{max-width:780px;margin:0 auto;border-top:1px solid #d6c9af}.quarry-page .quarry-dock button{min-height:59px;padding-block:5px;gap:3px}.quarry-page .dock-object{width:43px;height:39px}.quarry-page .dock-object img{width:43px;height:43px}.quarry-page .dock-label{font-size:13px}
.quarry-page footer{padding:9px 0;margin-top:0;font-size:8px}.quarry-page footer>span:first-child{font-size:8px}
.sound-strip{display:flex;align-items:center;gap:14px;min-height:37px;color:#9a8058}.sound-strip button{background:none;border:0;min-height:37px;padding:4px 0;color:#82673f;font-size:10px}.sound-strip #sound{display:flex;gap:8px;align-items:center;flex:none}.sound-strip #sound b{font:13px Quarry,Impact,sans-serif;letter-spacing:.5px}.radio-mark{display:flex;gap:3px;align-items:center;justify-content:center;width:20px;height:24px}.radio-mark i{width:3px;height:7px;background:#ac9672;border-radius:2px}.radio-mark i:nth-child(2){height:14px}.radio-mark i:nth-child(3){height:10px}#sound[aria-pressed=true] .radio-mark i{background:#775832}#sound[aria-pressed=true] b{color:#684523}
.groove{display:flex;align-items:center;gap:8px;margin:auto;font-size:10px;min-width:0}.groove>b{font:17px Quarry,Impact,sans-serif;color:#835a2f;min-width:13px}#beat-pebbles{display:flex;gap:5px}#beat-pebbles i{display:block;width:7px;height:7px;border-radius:42% 55% 44% 48%;background:#d6c7a9;border:1px solid #beab85;transition:background .1s,transform .14s}#beat-pebbles i.lit{background:#876334;border-color:#765026;transform:translateY(-2px)}#music-settings{flex:none;min-width:32px;text-align:right}
.music-dialog{width:min(460px,calc(100% - 28px));max-width:calc(100% - 20px)}.music-dialog .eyebrow{padding-right:30px}.music-dialog .eyebrow span{float:right;letter-spacing:0}.music-dialog h2{font-size:36px}.music-dialog #music-state{font:12px/1.5 Arial,sans-serif}.music-volume-label{display:flex;justify-content:space-between;font:12px/1.4 Arial,sans-serif;margin-top:23px;color:#8b714d}.music-dialog input[type=range]{width:100%;accent-color:#967244;min-height:44px;cursor:pointer}.music-secret{display:flex;gap:15px;align-items:center;border-block:1px solid #d5c3a4;padding:15px 0;margin:14px 0}.music-secret img{width:105px;height:90px;object-fit:contain}.music-secret h3{font:23px/1.08 Quarry,Impact,sans-serif;margin:0 0 5px}.music-secret p{font:11px/1.6 Arial,sans-serif;margin:0}.music-records{display:flex;flex-direction:column;gap:6px}.music-records strong{font:20px Quarry,Impact,sans-serif}.music-records span,.music-footnote{font:10px/1.6 Arial,sans-serif!important;color:#9b8361!important}
.cave-drummer{position:absolute;left:5%;bottom:3%;width:clamp(60px,9vw,115px);aspect-ratio:1.25;z-index:5;background:none;border:0;padding:0;filter:drop-shadow(0 4px 2px #36221030)}.cave-drummer img{width:100%;height:100%;object-fit:contain;transform-origin:50% 80%}.cave-drummer span{position:absolute;left:9%;top:-13px;font:italic 13px Georgia,serif;color:#fff4d7;text-shadow:0 1px 4px #322311}.cave-drummer:hover img{translate:0 -2px}.cave-drummer:active img{scale:.95}
@media(max-width:740px){
 .quarry-page .page{padding-inline:9px}.quarry-page .topbar{height:48px;min-height:48px;gap:8px}.quarry-page .brand{font-size:22px}.quarry-page .brand img{width:21px;height:21px}.quarry-page .season-bar{height:28px;min-height:28px}.quarry-page .mine{padding:8px 12px 8px}.quarry-page .mine-top{height:36px;margin-bottom:7px}.quarry-page .era-stamp>span{font-size:31px}.quarry-page .era-stamp small{font-size:6px}.quarry-page .era-stamp h2{font-size:10px}.quarry-page .resource-line{top:8px;right:12px}.quarry-page #balance{font-size:30px}.quarry-page .resource-line>div>small{font-size:5px}.quarry-page .rates>span{font-size:15px}
 .quarry-page .scene{margin-inline:-12px;height:clamp(235px,calc(100svh - 331px),520px)}.quarry-page .scene .art-button{width:100%;height:calc(100% - 30px);bottom:2%}.quarry-page .scene .location-sign{left:13px;top:12px;max-width:65%}.quarry-page .location-sign strong{font-size:26px}.quarry-page .day-night{top:10px;right:10px;font-size:7px;padding:7px 8px;min-height:30px}.quarry-page .day-night .light-copy small{display:none}
 .quarry-page .dig-controls{padding-top:8px}.quarry-page .strike-controls{flex-wrap:nowrap;gap:7px}.quarry-page .strike-controls #bonk{flex-basis:0;min-height:53px;height:53px;font-size:20px;padding:8px 19px 14px;gap:6px}.quarry-page .strike-controls #bonk #hit-label{font-size:12px;padding-left:6px}.quarry-page .strike-controls .power-strike{width:75px;min-width:75px;min-height:53px;padding:5px;gap:4px;flex-direction:column}.quarry-page .power-object{display:none}.quarry-page .strike-controls .power-strike b{font-size:12px}.quarry-page .strike-controls .power-strike small{font-size:8px}
 .quarry-page .next-objective{min-height:37px;margin:6px auto;padding:6px 10px}.quarry-page .next-objective b{font-size:14px}.quarry-page .next-objective small{font-size:6px}.quarry-page .quarry-dock button{min-height:57px}.quarry-page .dock-object{width:38px;height:35px}.quarry-page .dock-object img{width:38px;height:38px}.quarry-page .dock-label{font-size:12px;letter-spacing:0}.sound-strip{gap:7px;min-height:31px}.sound-strip button{min-height:31px}.sound-strip #sound b{font-size:11px}.sound-strip #sound{gap:4px}.groove{gap:5px;font-size:9px}.groove>b{font-size:14px;min-width:9px}#beat-pebbles{gap:4px}#beat-pebbles i{width:6px;height:6px}.quarry-page footer{padding-block:5px;min-height:27px}.quarry-page .cave-drummer{left:2%;bottom:4%;width:63px}
 .music-dialog{padding:24px}.music-dialog h2{font-size:32px}.music-secret{gap:10px}.music-secret img{width:85px}.music-secret h3{font-size:21px}.music-dialog .eyebrow{padding-top:10px}
}
@media(max-width:370px){.quarry-page .brand{font-size:19px}.quarry-page #bonk-title{font-size:17px}.quarry-page .strike-controls #bonk{padding-inline:15px}.quarry-page .strike-controls:has(.power-strike:not([hidden])) #bonk{flex-direction:column;gap:3px}.quarry-page .strike-controls:has(.power-strike:not([hidden])) #hit-label{border-left:0;padding:0}.groove{font-size:8px}#beat-pebbles{gap:3px}.quarry-page .dock-label{font-size:10px}}
@media(max-height:630px) and (min-width:741px){.quarry-page .scene{min-height:240px}.quarry-page .page{max-width:1150px}}
@media(prefers-reduced-motion:reduce){#beat-pebbles i{transition:none}#beat-pebbles i.lit{transform:none}.cave-drummer:hover img{translate:none}}
/* One compact console; remove the old full-width dock gutters. */
.quarry-console{max-width:1040px;margin:0 auto;width:100%}
.quarry-page .quarry-dock{padding:3px 0 0;width:100%;gap:0}
.quarry-page .quarry-dock button{min-width:0;min-height:58px;padding:3px 4px;line-height:1;gap:1px}
.quarry-page .next-objective{min-height:38px;padding:5px 2px;margin-block:5px}
.quarry-page .next-objective small{margin-bottom:2px;font-size:6px}
.quarry-page .next-objective b{font:15px/1.1 Quarry,Impact,sans-serif}
.quarry-page .sound-strip{max-width:780px;margin:0 auto}
.quarry-page .under-bonk{margin-top:4px}
.quarry-page .scene{height:clamp(250px,calc(100svh - 419px),680px)}
@media(min-width:900px){
 .quarry-console{display:grid;grid-template-columns:minmax(0,1fr) 320px;column-gap:35px;align-items:center;padding-top:7px}
 .quarry-page .dig-controls{grid-column:1;grid-row:1;width:100%;padding-top:0}
 .quarry-page .sound-strip{grid-column:1;grid-row:2;width:100%}
 .quarry-page .next-objective{grid-column:2;grid-row:1;width:100%;align-self:start;margin-top:8px;padding:10px 0}
 .quarry-page .quarry-dock{grid-column:2;grid-row:1 / span 2;align-self:end}
 .quarry-page .scene{height:clamp(270px,calc(100svh - 325px),680px)}
}
@media(max-width:740px){
 .quarry-page .scene{height:clamp(235px,calc(100svh - 397px),600px)}
 .quarry-page .scene .art-button{width:110%;max-width:none}
 .quarry-page .quarry-dock button{min-height:53px}
 .quarry-page .dock-object{height:31px;width:34px}
 .quarry-page .dock-object img{width:34px;height:34px}
 .quarry-page .sound-strip{min-height:31px}
}

/* The quarry is the game. Everything else lives in camp. */
.quarry-page .quarry-console{display:grid;grid-template-columns:minmax(0,1fr) 170px;column-gap:22px;max-width:1060px;padding-top:8px;align-items:center}
.quarry-page .dig-controls{grid-column:1;grid-row:1;width:100%;max-width:none;padding:0}
.quarry-page .sound-strip{grid-column:1;grid-row:2;width:100%;max-width:none}
.quarry-page .quarry-dock{grid-column:2;grid-row:1 / span 2;display:flex;align-self:center;padding:0;margin:0;border:0;gap:8px}
.quarry-page .quarry-dock button{background:transparent;border:0;min-height:75px;gap:3px}
.quarry-page .dock-object,.quarry-page .dock-object img{width:49px;height:49px}
.quarry-page .dock-label{font-size:15px}
.quarry-page .scene{height:clamp(320px,calc(100svh - 288px),800px)}
.quarry-page .scene .art-button{width:100%;height:calc(100% - 8px);max-width:1250px;bottom:1%}
.quarry-page .scene .location-sign{max-width:52%}
.quarry-page .scene .specimen{font-size:7px;opacity:.65}
.quarry-page .workshop .next-objective{display:flex;width:100%;max-width:none;margin:12px 0 0;padding:10px 12px;min-height:48px;background:#e9dec7;border:0;border-radius:3px}
.quarry-page .workshop .next-objective b{font-size:18px}
.quarry-page .check-active .dig-controls{display:block}
.quarry-page .scene .encounter{position:absolute;z-index:12;left:50%;bottom:5%;transform:translateX(-50%);width:min(440px,calc(100% - 24px));max-width:none;margin:0;padding:17px 20px;gap:17px;display:flex;align-items:center;background:#f3e8d1f5;border:1px solid #b69b69;border-radius:12px 6px 15px 7px;box-shadow:0 14px 50px #20180e66;animation:croc-arrival .45s ease-out}
.quarry-page .scene .encounter>.crocodile{flex:0 0 100px;width:100px;align-self:end;filter:drop-shadow(0 5px 3px #4f3c2925)}
.quarry-page .scene .encounter h3{font-size:29px;line-height:1.1;margin:0 0 4px}
.quarry-page .scene .encounter p{margin:0;font-size:12px}
.quarry-page .scene .encounter #check-sequence{margin:10px 0 8px}
.quarry-page .scene .encounter .check-actions{display:flex;gap:10px;margin-bottom:6px}
.quarry-page .scene .encounter .check-actions button{min-width:48px;min-height:48px}
.quarry-page .check-active .scene .art-button{filter:brightness(.7)}
@keyframes croc-arrival{from{opacity:0;translate:0 18px}to{opacity:1;translate:0 0}}
@media(max-width:740px){
 .quarry-page .quarry-console{grid-template-columns:minmax(0,1fr) 90px;column-gap:9px;padding-top:7px}
 .quarry-page .dig-controls{grid-column:1 / -1}
 .quarry-page .sound-strip{grid-column:1;grid-row:2;min-height:45px;gap:7px}
 .quarry-page .quarry-dock{grid-column:2;grid-row:2;gap:2px}
 .quarry-page .quarry-dock button{min-height:47px;padding:2px;gap:0}
 .quarry-page .dock-object,.quarry-page .dock-object img{width:31px;height:29px}
 .quarry-page .dock-label{font-size:10px}
 .quarry-page .scene{height:clamp(320px,calc(100svh - 287px),720px)}
 .quarry-page .scene .art-button{width:100%;height:calc(100% - 34px);bottom:2%}
 .quarry-page .scene .location-sign{max-width:67%}.quarry-page .location-sign strong{font-size:22px}
 .quarry-page .groove{gap:4px;margin-left:auto}.quarry-page #groove-label{display:none}
 .quarry-page .scene .encounter{padding:13px 12px;gap:10px;bottom:4%}
 .quarry-page .scene .encounter>.crocodile{flex-basis:70px;width:70px}
 .quarry-page .scene .encounter h3{font-size:25px}
 .quarry-page .scene .encounter .check-actions{gap:8px}
}
@media(prefers-reduced-motion:reduce){.quarry-page .scene .encounter{animation:none}}
.journey-atlas{margin:30px 0}.journey-locations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px}.journey-stop{min-width:0;position:relative}.journey-stop img{width:100%;height:auto;aspect-ratio:1.5;object-fit:cover;border-radius:5px}.journey-stop strong{display:block;font:16px/1.2 Quarry,Impact,sans-serif;margin:6px 0 3px}.journey-stop small{font:8px 'Courier New',monospace;color:#907951}.journey-stop[data-current=true] img{outline:2px solid #9e733c;outline-offset:2px}.journey-stop[data-unlocked=false] img{filter:saturate(.4);opacity:.55}.journey-stop[data-unlocked=false] strong{color:#998c73}
@media(max-width:420px){.journey-locations{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:740px){.quarry-page .scene{height:clamp(320px,108vw,520px)}}
