/* Last layer: predictable spacing and a quiet world, across game and mint. */
.season-bar{display:none!important}
.quarry-page .scene .day-night{display:none}
.quarry-page .sound-strip #music-settings{width:56px;min-width:56px;height:44px;padding:0;border:0;background:none;display:grid;place-items:center}
.snail-radio img{width:56px;height:44px;object-fit:contain;transition:transform .15s ease-out;filter:drop-shadow(0 2px 1px #49362622)}
.snail-radio:hover img{transform:rotate(-3deg)}.snail-radio:active img{transform:scale(.93)}
.quarry-page .sound-strip{min-height:44px}
dialog{scrollbar-gutter:stable;overflow-x:hidden;overscroll-behavior:contain}
dialog:not(.workshop-dialog) .dialog-close{right:14px;top:14px;width:44px;height:44px;min-height:44px;z-index:10;line-height:1;padding:0}
dialog:not(.workshop-dialog)>h2,dialog:not(.workshop-dialog)>.eyebrow,dialog:not(.workshop-dialog)>.cave-dialog-title{padding-right:48px}
dialog:not(.workshop-dialog)>.eyebrow{width:calc(100% - 48px);padding-right:0;letter-spacing:1px}
.collection-dialog .collection-heading{display:block;margin-bottom:18px;padding-right:44px}
.collection-dialog .collection-heading>p{font:12px/1.4 Arial,sans-serif;margin:8px 0 0;max-width:none}
.collection-dialog .collection-heading h2{font-size:34px;line-height:1.1;margin:8px 0 0}
.collection-dialog .collection-heading .eyebrow{font:10px/1.4 Arial,sans-serif;letter-spacing:1px}
.companion-dialog>.companion-origin,.achievement-dialog>.achievement-kicker{width:calc(100% - 48px);max-width:calc(100% - 48px);padding-right:0;text-align:left;line-height:1.4}
.site-dialog-art .site-origin,.site-dialog-art h2{max-width:calc(100% - 48px);overflow-wrap:break-word}
dialog h2,dialog h3,dialog p,dialog small,dialog strong,dialog label{overflow-wrap:break-word;min-width:0}
dialog h2{line-height:1.08}dialog p{line-height:1.5}
.music-dialog{padding:26px 24px;width:min(400px,calc(100% - 24px));max-height:calc(100dvh - 24px)}
.music-header{padding-right:48px;margin:0 0 22px;min-width:0}
.music-header #music-tempo{display:block;font:11px/1.4 Arial,sans-serif;letter-spacing:.3px;color:#987c52;float:none}
.music-header h2{font:32px/1.12 Quarry,Impact,sans-serif;margin:8px 0 0;overflow-wrap:break-word;padding:0}
.music-dialog .music-volume-label{margin:12px 0 0;font-size:13px;gap:12px}
.music-dialog input[type=range]{display:block;margin:3px 0 12px}
.music-sync{border-block:1px solid #d8c8a9;margin:12px 0 16px;padding:0}
.music-sync summary{font:15px/1.4 Arial,sans-serif;padding:14px 0;cursor:pointer}
.music-sync p{font:12px/1.5 Arial,sans-serif}.music-sync .dialog-primary{margin:6px 0 10px}
.music-records{display:flex;flex-direction:row;justify-content:space-between;gap:10px;flex-wrap:wrap}
.music-records strong,.music-records span{font:12px/1.4 Arial,sans-serif!important;color:#896d47!important}
.workshop-dialog .workshop-head{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;min-height:64px;gap:10px}
.workshop-dialog .workshop-heading{min-width:0;gap:8px}.workshop-dialog .workshop-heading h2{font-size:30px;line-height:1.1;margin:0;overflow-wrap:break-word}
.workshop-dialog .workshop-purse{min-width:0;flex-wrap:nowrap}.workshop-dialog .workshop-purse b{font:18px/1.2 Quarry,Impact,sans-serif}.workshop-dialog .workshop-purse small:empty{display:none}
.workshop-dialog .workshop-head .dialog-close{width:44px;height:44px;min-height:44px}
.workshop-dialog .tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;overflow:visible;top:64px}
.workshop-dialog .tabs [hidden]{display:none!important}
.workshop-dialog .tabs button{min-width:0;padding:12px 2px 15px;font:22px/1.2 Quarry,Impact,sans-serif;white-space:normal;letter-spacing:0}
.workshop-dialog .panel{min-width:0}
.workshop-dialog .starter-item{gap:12px}.workshop-dialog .starter-copy{min-width:0}.workshop-dialog .starter-copy h3{overflow-wrap:break-word;font-size:30px;line-height:1.1}
.workshop-dialog .shop-subheading,.workshop-dialog #starter-tag{display:none}
.workshop-dialog .upgrade{grid-template-columns:74px minmax(0,1fr) auto;gap:12px}
.workshop-dialog .upgrade-copy{min-width:0}.workshop-dialog .upgrade-copy strong{font:22px/1.18 Quarry,Impact,sans-serif;flex-wrap:wrap}
.workshop-dialog .upgrade-copy>span:not(.upgrade-track){font:12px/1.45 Arial,sans-serif}
.workshop-dialog .upgrade-cost{font:24px/1.15 Quarry,Impact,sans-serif}.workshop-dialog .upgrade-cost small{display:none}
.workshop-dialog .claim-path>p,.workshop-dialog .allowance-next{display:none}
.workshop-dialog .haul-hero{min-width:0;gap:14px}.workshop-dialog .haul-hero>div{min-width:0}
.workshop-dialog #wallet-available{font:clamp(32px,5vw,52px)/1.08 Quarry,Impact,sans-serif;overflow-wrap:anywhere}
.workshop-dialog .wallet-actions{gap:12px}.workshop-dialog .wallet-actions .cave-action-title{font-size:25px;line-height:1.1}
.workshop-dialog .wallet-actions .cave-action-detail{display:none}
.workshop-dialog .claim-path>strong{font-size:23px}
.cave-action-copy{min-width:0}.cave-action-title{white-space:normal!important;overflow-wrap:break-word;line-height:1.1}
.workshop-dialog .starter-item .cave-action-title{font-size:23px}
.workshop-dialog .field-study{grid-template-columns:58px minmax(0,1fr) auto;gap:12px}
.workshop-dialog .field-study>div{min-width:0}.workshop-dialog #field-count{font:22px/1.2 Quarry,Impact,sans-serif}.workshop-dialog #field-goal{font:12px/1.4 Arial,sans-serif}
.workshop-dialog .field-study .eyebrow{display:none}
.outfit-options button{min-width:0}.outfit-options strong{overflow-wrap:break-word}
.fitting-caption>div,.relic-current>div,.birdbook-feature>div,.site-goals>div>div{min-width:0}
.haul-stats dd,.wallet-ledger dd,.camp-stats dd{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.haul-stats{gap:12px}.wallet-ledger>div{gap:14px;align-items:start}
.quarry-page .scene{touch-action:manipulation}
.quarry-page .scene .art-button:active{filter:brightness(1.025)}
.quarry-page .location-sign{max-width:calc(100% - 24px)}
.quarry-page #scene:has(.combo-crest:not([hidden])) .location-sign{max-width:calc(100% - 116px)}
.quarry-page .site-heading{max-width:100%}.quarry-page #location-name{white-space:normal;overflow-wrap:break-word;line-height:1.08}
.mint-page .mint-heading{flex-wrap:wrap}.mint-page .mint-heading h1{overflow-wrap:break-word;line-height:1.06}
.mint-page .mint-edition,.mint-page .specimen-label,.mint-page .mint-caption,.mint-page .mint-footer{flex-wrap:wrap}
.mint-page .mint-design-card strong{font:16px/1.2 Quarry,Impact,sans-serif;overflow-wrap:break-word}
.mint-page .mint-families{gap:12px;flex-wrap:wrap}.mint-page .mint-families button{min-height:44px}
.mint-page .mint-primary{white-space:normal;min-width:0;overflow-wrap:break-word}
.mint-page .specimen-label>div{display:flex;gap:8px;flex:none}
.mint-page .specimen-label button{width:44px;height:44px;min-height:44px;margin:0;font:14px/1 Arial,sans-serif;padding:4px}
.mint-page .specimen-label button+button{margin-left:0}
.mint-page .mint-bill{flex-wrap:wrap}.mint-page .mint-in-hand p{font-size:12px}
@media(max-width:650px){
 .workshop-dialog .workshop{padding-inline:16px}
 .workshop-dialog .workshop-head{gap:7px;grid-template-columns:minmax(0,1fr) auto 44px}
 .workshop-dialog .workshop-heading img{width:28px;height:34px}.workshop-dialog .workshop-heading h2{font-size:26px}
 .workshop-dialog .workshop-purse img{display:none}.workshop-dialog .workshop-purse b{font-size:18px}
 .workshop-dialog .tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.workshop-dialog .tabs button{font-size:20px}
 .workshop-dialog .upgrade{grid-template-columns:58px minmax(0,1fr) auto;gap:9px;padding-inline:7px;min-height:112px}
 .workshop-dialog .upgrade-art img{width:58px;height:72px}.workshop-dialog .upgrade-copy strong{font-size:21px}
 .workshop-dialog .upgrade-copy>span:not(.upgrade-track){font-size:11px}.workshop-dialog .upgrade-cost{font-size:21px}
 .workshop-dialog .upgrade-plus{display:none}.workshop-dialog .field-study{grid-template-columns:42px minmax(0,1fr);gap:10px}
 .workshop-dialog .field-study #study{grid-column:1 / -1;width:100%;min-height:64px;margin-top:4px}
 .workshop-dialog #field-count{font-size:23px}.workshop-dialog #field-goal{font-size:12px}
 .workshop-dialog .starter-item{grid-template-columns:58px minmax(0,1fr)}.workshop-dialog .starter-copy h3{font-size:28px}
 .workshop-dialog .starter-item #starter-buy{grid-column:1 / -1;width:100%;min-height:64px}
 .workshop-dialog .wallet-actions .cave-action-title{font-size:22px}.workshop-dialog .wallet-actions button{min-height:80px}
 .music-dialog{padding:24px 20px}.music-header h2{font-size:30px}
 .quarry-page .topbar{height:auto;min-height:68px;gap:10px;flex-wrap:wrap;padding-block:12px}
 .quarry-page .top-actions{gap:12px;margin-left:auto;min-width:0;flex-wrap:wrap}
 .quarry-page .brand{font-size:26px}.quarry-page .brand img{width:24px}
 .quarry-page .wallet-connect{max-width:130px;overflow-wrap:anywhere;font-size:15px}
 .site-goals strong{font-size:16px}.birdbook-feature{gap:12px}
 .quarry-page footer{gap:12px;flex-wrap:wrap}
 .mint-page .topbar{height:auto;min-height:68px;flex-wrap:nowrap;align-items:center;gap:10px;padding-block:10px}
 .mint-page .brand{font-size:23px;min-width:0;flex:1;letter-spacing:-.3px}
 .mint-page .top-actions{width:auto;flex:none;margin-left:auto;gap:8px}
 .mint-page #mint-connect{font:15px/1.15 Quarry,Impact,sans-serif;max-width:105px;padding:10px 8px;white-space:normal}
}
@media(max-width:370px){.quarry-page .brand{font-size:23px}.quarry-page .top-actions{gap:8px}.quarry-page .wallet-connect{max-width:110px}.workshop-dialog .upgrade-copy strong{font-size:19px}.workshop-dialog .tabs button{font-size:18px}.music-header h2{font-size:28px}}
@media(prefers-reduced-motion:reduce){.snail-radio img{transition:none}.snail-radio:hover img,.snail-radio:active img{transform:none}}

/* One small rhythm deck. The scene, not a dashboard, is the play surface. */
.quarry-page .quarry-console{position:relative;display:grid;grid-template-columns:112px minmax(140px,1fr) 104px;gap:22px;align-items:center;width:100%;max-width:none;margin:0 auto;padding:15px 22px 13px}
.quarry-page .dig-controls{grid-column:2;grid-row:1;min-width:0}
.quarry-page .vein-work{position:absolute;inset:0 22px auto;pointer-events:none;padding:0;margin:0;opacity:.6}
.quarry-page #vein-progress{height:2px;margin:0}
.quarry-page .sound-strip{display:contents}
.quarry-page .sound-strip #sound{grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:center;gap:9px;width:112px;height:52px;min-height:52px;padding:8px;border:1px solid #c6af8566;border-radius:12px 16px 11px 14px;background:#e6d9bb77;color:#765b35;box-shadow:0 2px #c8b79744}
.quarry-page .sound-strip #sound b{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:nowrap;font:17px/1.1 Quarry,Impact,sans-serif;letter-spacing:0}
.quarry-page .sound-strip #sound:focus-visible,.quarry-page .quarry-dock button:focus-visible{outline:2px solid #9c7138;outline-offset:3px}
.quarry-page .sound-strip #sound:active,.quarry-page .quarry-dock button:active{translate:0 1px;box-shadow:none}
.quarry-page #sound[aria-pressed=false] .radio-mark{opacity:.45;position:relative}
.quarry-page #sound[aria-pressed=false] .radio-mark::after{content:'';position:absolute;left:-3px;right:-3px;top:50%;height:1.5px;background:#977b52;transform:rotate(-35deg)}
.quarry-page .sound-strip #music-settings{grid-column:3;grid-row:1;width:48px;min-width:48px;height:44px;margin:0}
.quarry-page .snail-radio img{width:48px;height:42px}
.quarry-page .quarry-dock{grid-column:3;grid-row:1;margin:0;gap:0;align-self:center}
.quarry-page .quarry-dock button{width:104px;height:52px;min-height:52px;padding:5px 10px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #c6ad80;border-radius:14px 11px 15px 10px;background:#e8d7b4;box-shadow:0 2px #c8b18a;color:#674b2b}
.quarry-page .dock-object,.quarry-page .dock-object img{width:38px;height:38px;max-height:38px}
.quarry-page .dock-label{position:static;width:auto;height:auto;overflow:visible;clip-path:none;font:22px/1 Quarry,Impact,sans-serif;letter-spacing:0}
.quarry-page .rhythm-lane{display:grid;grid-template-columns:58px minmax(70px,1fr);gap:18px;align-items:center;padding:0;min-height:52px;position:relative}
.quarry-page .combo-stones{grid-column:1;grid-row:1;gap:3px;height:24px;visibility:visible!important;opacity:1!important}
.quarry-page .combo-stones i{width:4px;height:9px;border-radius:40% 35% 32% 45%;background:#c1af89}
.quarry-page .combo-stones i[data-filled=true]{height:17px;background:#ad693b;box-shadow:inset 0 2px #e9c886}
.quarry-page #rhythm-charge{position:absolute;left:0;bottom:0;width:58px;height:auto;overflow:visible;clip-path:none;white-space:nowrap;text-align:center;font:8px/1 Arial,sans-serif;letter-spacing:.7px;color:#98794e}
.quarry-page .rhythm-road{grid-column:2;grid-row:1;visibility:visible!important;opacity:1!important;height:30px;background:linear-gradient(transparent 48%,#ae8b4e40 49%,#ae8b4e40 52%,transparent 53%)}
.quarry-page .rhythm-road b{width:17px;height:17px;top:6px;border-width:1.5px;box-shadow:inset 0 1px #fff8;background:#efe1bf}
.quarry-page .rhythm-road i{width:7px;height:7px;top:11px;background:#aa8449;box-shadow:inset 0 1px #e9c88d}
.quarry-page #rhythm-feedback{position:absolute;left:50%;top:-30px;z-index:9;transform:translateX(-50%);padding:4px 9px;border-radius:6px;background:#342d21e3;color:#eed5a3;font:14px/1.1 Quarry,Impact,sans-serif;letter-spacing:.2px;opacity:0;pointer-events:none;white-space:nowrap;transition:opacity .1s}
.quarry-page #rhythm-feedback[data-visible=true]{opacity:1}
.quarry-page #rhythm-feedback[data-kind=hit]{color:#d9e3ab}.quarry-page #rhythm-feedback[data-kind=smash]{color:#ffcd7e}
.quarry-page .play-hint{width:min(720px,100%);margin:auto;font-size:11px;padding:6px 10px}
.headphone-waves{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none;overflow:visible;opacity:0;fill:none;stroke:#f3d292;stroke-width:1.25;stroke-linecap:round;filter:drop-shadow(0 1px 1px #5c371b66)}
.quarry-companion[data-audible=true] .headphone-waves{opacity:calc(var(--ear-wave,0)*.8)}
.headphone-waves .ear-left path:last-child,.headphone-waves .ear-right path:last-child{opacity:.45;stroke-width:.9}
.quarry-companion .companion-beat-floor{height:12%;opacity:calc(.08 + var(--companion-pulse)*.5)}
.quarry-companion .companion-beat-floor i{border-width:1px;box-shadow:none;opacity:calc(.12 + var(--companion-pulse)*.6)}
@media(max-width:650px){
 .quarry-page .quarry-console{grid-template-columns:62px minmax(94px,1fr) 60px;gap:9px;padding:10px 10px 9px}
 .quarry-page .sound-strip #sound{width:62px;height:55px;min-height:55px;display:flex;flex-direction:column;gap:3px;padding:5px 2px;border-radius:11px 13px 10px 12px}
 .quarry-page .sound-strip #sound b{font-size:12px;line-height:1;white-space:nowrap}.quarry-page .sound-strip #sound .radio-mark{height:20px}
 .quarry-page .sound-strip #music-settings{width:42px;min-width:42px}.quarry-page .snail-radio img{width:42px}
 .quarry-page .quarry-dock button{width:60px;height:55px;min-height:55px;flex-direction:column;gap:0;padding:3px}.quarry-page .dock-object,.quarry-page .dock-object img{width:31px;height:31px;max-height:31px}.quarry-page .dock-label{font-size:16px;line-height:1}
 .quarry-page .rhythm-lane{grid-template-columns:42px minmax(46px,1fr);gap:7px}
 .quarry-page .combo-stones{gap:2px}.quarry-page .combo-stones i{width:3px}.quarry-page #rhythm-charge{width:42px;font-size:7px;bottom:2px;letter-spacing:.3px}
 .quarry-page .vein-work{inset-inline:10px}.quarry-page #rhythm-feedback{font-size:12px;top:-26px}
}
@media(prefers-reduced-motion:reduce){
 .headphone-waves{display:none}.companion-beat-floor{display:block!important}.companion-beat-floor i{transform:none!important}
 .companion-beat-pebbles{display:flex!important}.quarry-page .rhythm-road i{display:none}.quarry-page #rhythm-feedback{transition:none}
}
