/* Shared finishing touches for the quarry and Genesis. Hierarchy stays quiet. */
:root{--hide-action:url('./assets/interface/action-hide.webp')}
dialog:not(.workshop-dialog){background:#f4eedf;border:1px solid #c7b695;border-radius:9px;color:#5c472d;box-shadow:0 17px 70px #30231245}dialog:not(.workshop-dialog)>p:not(.eyebrow){color:#897354}dialog h2{color:#5c472d}dialog .eyebrow{color:#987b50}
dialog .dialog-close{border:1px solid #b99f7855;background:#e2d3b5;color:#7a5c33;width:44px;height:44px;min-height:44px;border-radius:46% 43% 49% 40%;box-shadow:inset 0 1px #fff9,0 2px 0 #bda6824d;font:28px Georgia,serif}
.workshop-dialog .workshop-head .dialog-close{background:#e2d3b5;border:1px solid #b99f7855;border-radius:46% 43% 49% 40%;box-shadow:inset 0 1px #fff9,0 2px 0 #bda6824d}
.cave-dialog-title{display:flex;align-items:center;gap:16px;margin:8px 0 17px}.cave-dialog-title img{width:73px;height:73px;object-fit:contain;flex:none}.cave-dialog-title h2{margin:0!important;line-height:1.06}.lb-heading .cave-dialog-title{margin:0}.lb-heading .cave-dialog-title img{width:66px;height:66px}
/* Navigation is named clearly; a carved typeface and small tally mark carry the theme. */
.workshop-dialog .tabs{padding:4px 0 3px;gap:6px;border-bottom:1px solid #d8c8a8}.workshop-dialog .tabs button{font:20px/1 Quarry,Impact,sans-serif;letter-spacing:.3px;color:#9c8058;padding:10px 4px 14px}.workshop .tabs button[aria-selected=true]{color:#684c27}.workshop .tabs button::after{left:calc(50% - 8px);right:auto;bottom:4px;width:16px;height:4px;background:repeating-linear-gradient(105deg,#896438 0 3px,transparent 3px 6px);border-radius:0}
.top-actions .wallet-connect,.mint-page #mint-connect{font:16px/1 Quarry,Impact,sans-serif!important;letter-spacing:.3px;padding:10px 15px!important;border:1px solid #b99b6a!important;border-radius:4px;background:#e6d7b9;box-shadow:inset 0 1px #fff8,0 2px 0 #b99b6a55;color:#71542b;min-height:41px}.top-actions>button:not(.wallet-connect):not(#mint-connect),.top-actions>.genesis-link{font:15px/1 Quarry,Impact,sans-serif;letter-spacing:.25px;color:#8b7049}.brand{color:#584226}.topbar{border-color:#c6b591}
/* Secondary actions use pale rawhide; the text keeps the exact action legible. */
button.outline-button:not(.cave-action),#evolve,#preview-strike,#nft-preview-hit,#mint-swing,.mint-check{position:relative;isolation:isolate;border:0!important;border-radius:0;background:transparent!important;color:#5e401d!important;box-shadow:none;text-shadow:0 1px #fae7be80;padding:17px 27px 19px;min-height:55px;font:19px/1.2 Quarry,Impact,sans-serif;letter-spacing:.2px;transition:translate .15s,filter .15s}
button.outline-button:not(.cave-action)::before,#evolve::before,#preview-strike::before,#nft-preview-hit::before,#mint-swing::before,.mint-check::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;border:17px solid transparent;border-image-source:var(--hide-action);border-image-slice:25% 15% 25% 15% fill;border-image-width:15px 24px 16px 24px;border-image-repeat:stretch;filter:saturate(.65)}
button.outline-button:not(.cave-action):enabled:hover,#evolve:enabled:hover,#preview-strike:hover,#nft-preview-hit:hover,#mint-swing:hover{filter:brightness(1.05)}
button.outline-button:not(.cave-action):disabled{color:#8b7557!important}button.outline-button:not(.cave-action):disabled::before,#evolve:disabled::before{filter:grayscale(.65);opacity:.55}
#rebirth{flex-wrap:wrap;gap:6px}#rebirth-price{font:10px/1.4 Arial,sans-serif}#evolve{font-size:18px}#evolve>span{font:10px Arial,sans-serif}.next-era{padding-bottom:8px}
/* Technique selection feels like choosing one of three carved teachings. */
.technique-option{position:relative;border-radius:6px 9px 5px 8px;background:#e9dec7;border:1px solid #ceb994;border-bottom:3px solid #c1a67c;box-shadow:inset 0 1px #fff8;min-height:145px}.technique-option strong{font:21px/1.08 Quarry,Impact,sans-serif}.technique-option small{font-size:11px;line-height:1.55}.technique-option[aria-pressed=true]{border-color:#96713d;background:#e1ccaa;box-shadow:inset 0 1px #fff6,0 2px 3px #70451217}.technique-option[aria-pressed=true]::after{content:'✓';position:absolute;top:10px;right:10px;font:14px Georgia,serif;color:#715b2e}.technique-heading>span{font-size:9px;letter-spacing:0}.technique-note{font:11px/1.5 Arial,sans-serif;color:#907b5c}.technique-mark{width:57px;height:57px}
.upgrade-plus{font:24px Quarry,Impact,sans-serif;border-radius:40% 32% 37% 30%;background:#d2b37a;border-color:#b1925b;box-shadow:inset 0 1px #fffa}.power-strike{border-radius:7px 4px 8px 5px;border:1px solid #bca375;border-bottom:3px solid #ad8b55;background:#e3d3b3}.power-strike.ready{background:#d9bd83;border-color:#a98342;box-shadow:inset 0 1px #fff8}.power-strike b{font:18px/1.05 Quarry,Impact,sans-serif;letter-spacing:0}.power-strike small{font:9px Arial,sans-serif}.power-object{width:40px;height:43px;object-fit:contain}.power-strike.active{background:#d6b777;border-color:#9f7739}.next-objective{border-radius:3px 7px 4px 6px;border-color:#c6b38e;border-left:3px solid #b59b6b}.next-objective b{font:18px/1.1 Quarry,Impact,sans-serif;color:#705632}.next-objective small{font-size:8px}.next-objective>i{background:#a27f47}.dock-label{font:15px/1.1 Quarry,Impact,sans-serif;letter-spacing:.3px}
/* Selection stays distinct from purchase on both collection surfaces. */
.nft-families,.mint-families{gap:7px;flex-wrap:wrap}.nft-families button,.mint-families button{position:relative;isolation:isolate;min-height:44px;padding:10px 19px;background:transparent!important;border:0!important;font:20px/1 Quarry,Impact,sans-serif;color:#92764f;letter-spacing:.3px}.nft-families button[aria-pressed=true],.mint-families button[aria-pressed=true]{color:#fff1d4;text-shadow:0 1px 2px #41280c}.nft-families button[aria-pressed=true]::before,.mint-families button[aria-pressed=true]::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;border:12px solid transparent;border-image:var(--wood-action) 24% 19% 25% 19% fill / 10px 17px 11px 17px stretch}
.nft-design,.mint-design-card{background:#eee3cb;border:1px solid #d6c19f;border-bottom:3px solid #c8ae85;border-radius:6px 9px 5px 7px;padding-bottom:12px;box-shadow:inset 0 1px #fff8}.nft-design[aria-pressed=true],.mint-design-card[aria-pressed=true]{background:#dfc9a0;border-color:#9d7640;box-shadow:inset 0 1px #fff9,0 2px 5px #79522c20}.nft-design span,.mint-design-card strong{font:19px/1.15 Quarry,Impact,sans-serif!important;color:#715532}.nft-design:hover,.mint-design-card:hover{border-color:#a58352}.nft-finishes button,.mint-finishes button{border-radius:42% 48% 43% 38%;box-shadow:inset 1px 2px 2px #ffffff45,inset -1px -2px 2px #24120855,0 2px 1px #5a3b191b}.nft-finishes button[aria-pressed=true],.mint-finishes button[aria-pressed=true]{outline:2px solid #896139;outline-offset:3px}.collection-heading h2{color:#61482a}.collection-heading>p{font:italic 14px/1.5 Georgia,serif;color:#998162}.nft-in-game{border-color:#d0bd9c}.nft-selected #nft-story{font:italic 15px/1.55 Georgia,serif;color:#8e724c}.nft-selected .mint-status{font-size:11px;line-height:1.6}
/* Rules are four illustrated gestures, with details available below. */
#help-dialog{width:min(570px,calc(100% - 28px))}.cave-rules{list-style:none;padding:0;margin:14px 0 20px;display:grid;gap:0}.cave-rules li{display:flex;gap:15px;align-items:center;border-bottom:1px solid #d8c6a650;padding:14px 0;margin:0;font:12px/1.6 Arial,sans-serif;color:#927858}.cave-rules li img{width:60px;height:60px;object-fit:contain;flex:none}.cave-rules li b{display:block;font:23px/1.1 Quarry,Impact,sans-serif;font-weight:400;color:#654c2e;margin-bottom:5px}#help-dialog details{font-size:12px;line-height:1.7;color:#927858}#help-dialog summary{min-height:40px;align-content:center}#help-dialog>p:not(.eyebrow){font-size:11px;line-height:1.65}.lb-records{border-top-color:#a88e62}.lb-records td,.lb-records th{border-color:#d9c7a8}.lb-you{color:#806338}.lb-done .lb-mark{display:grid;place-items:center;width:27px;height:29px;border-radius:44% 38% 42% 35%;background:#cdb787;color:#67532e;box-shadow:inset 0 1px #fff8,0 2px #b2997059}.lb-milestone{border-color:#d9c7a8}.lb-milestone-copy strong{font:20px/1.2 Quarry,Impact,sans-serif;color:#71542e}.lb-intro,.lb-note,.lb-footnote{color:#8d7655}.lb-heading h2{font-size:37px}
/* Genesis uses the same objects and materials, while purchase disclosures stay literal. */
.mint-page{--paper:#f0e7d5;--surface:#f5eddb;--ink:#564329;--muted:#927c5d;--line:#d3c1a1;--accent:#9d572f;background:#f0e7d5;color:#564329}.mint-heading h1{color:#594027}.mint-heading em{color:#9a693f}.mint-specimen{background:#e9dcc2;border-color:#cfb995}.mint-details{background:#f5eddb}.mint-art{filter:drop-shadow(0 8px 5px #67431b20)}.mint-bill{border-color:#cbb38c}.mint-bill strong{color:#7a522e}.mint-edition{border-color:#c0a177;color:#9b6d40}.mint-in-hand{background:#eee1c9;border-radius:5px;border-color:#d1bb95}.mint-story{font:italic 18px/1.55 Georgia,serif;color:#9a7850}.number-picker input{border-color:#cbb087;border-radius:4px;background:#f7edd7;color:#765530;box-shadow:inset 0 2px 3px #80552a12}.mint-specimen .specimen-label button{width:42px;height:42px;border:1px solid #b3956559;border-radius:40% 46% 42% 36%;background:#d9c398;color:#785931;box-shadow:inset 0 1px #fff8,0 2px #b49a714f;font:24px Georgia,serif}.mint-note-art{width:70px;height:70px;object-fit:contain;margin-bottom:13px}.mint-notes>div{border-color:#cdb994}.mint-notes h3{font:28px/1.1 Quarry,Impact,sans-serif;color:#76532f}.mint-notes p{color:#917650}.mint-page .mint-primary{position:relative;isolation:isolate;border:0;background:transparent;color:#fff0cd;box-shadow:none;min-height:69px;padding:19px 32px 22px;text-shadow:0 1px 2px #382013;font:24px/1.1 Quarry,Impact,sans-serif;letter-spacing:.5px;filter:drop-shadow(0 3px 1px #51351d25)}.mint-primary::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;border:18px solid transparent;border-image:var(--stone-action) 22% 16% 26% 16% fill / 16px 29px 19px 29px stretch}.mint-page .mint-primary:disabled{opacity:1;color:#f3e3ca;cursor:default}.mint-primary:disabled::before{filter:saturate(.25);opacity:.6}.mint-page .mint-primary:enabled:active{translate:0 3px}.mint-page .mint-primary:enabled:hover{filter:brightness(1.07) drop-shadow(0 3px 1px #51351d25)}.mint-terms summary{font:24px/1.2 Quarry,Impact,sans-serif;color:#7f5f39}.mint-terms p{color:#8c7554}.mint-footer{color:#9c835e}
@media(max-width:740px){
 .workshop-dialog .tabs button{font-size:18px;padding-inline:3px}.workshop-dialog .tabs{gap:4px}.top-actions .wallet-connect,.mint-page #mint-connect{font-size:13px!important;letter-spacing:0;padding:9px 10px!important}.top-actions #help{font-size:14px}.dock-label{font-size:13px}.next-objective b{font-size:16px}.power-strike{min-width:119px;padding:6px;gap:2px}.power-strike b{font-size:13px}.power-strike small{font-size:8px}.power-object{width:29px;height:36px}.technique-option strong{font-size:18px}.technique-option small{font-size:10px}.technique-heading>span{font-size:8px}.technique-mark{width:49px;height:49px}.nft-families button,.mint-families button{font-size:18px;padding-inline:15px}.nft-design span,.mint-design-card strong{font-size:16px!important}.cave-rules li{gap:11px;padding:12px 0;font-size:11px}.cave-rules li img{width:49px;height:49px}.cave-rules li b{font-size:21px}.cave-dialog-title{gap:12px}.cave-dialog-title img{width:58px;height:62px}.lb-heading .cave-dialog-title img{width:53px;height:53px}.lb-heading h2{font-size:32px}.mint-page .top-actions>a{font:14px/1.2 Quarry,Impact,sans-serif}.mint-heading em{font-size:inherit}.mint-page .mint-primary{font-size:22px}.mint-in-hand #mint-swing{padding:15px 22px 18px;font-size:18px}.mint-note-art{width:57px;height:57px;margin-bottom:8px}
}
@media(max-width:365px){.dock-label{font-size:11px;letter-spacing:0}.workshop-dialog .tabs button{font-size:16px}.workshop-dialog .tabs{gap:2px}.top-actions .wallet-connect{font-size:11px!important;padding-inline:8px!important}.top-actions #help{font-size:13px}.power-strike{min-width:103px}.power-strike b{font-size:12px}.power-object{width:23px}.power-strike small{font-size:7px}.technique-option strong{font-size:16px}.technique-option small{font-size:9px}.nft-families button,.mint-families button{font-size:16px;padding-inline:13px}.cave-dialog-title h2{font-size:30px}.mint-page #mint-connect{font-size:12px!important}.mint-page .top-actions>a{font-size:12px}}
/* Full objects and readable names, including the narrowest collection sheet. */
.collection-dialog{max-width:calc(100% - 20px)}.nft-design span,.mint-design-card strong{max-width:100%;overflow-wrap:anywhere}.nft-selected h3{overflow-wrap:anywhere}
@media(max-width:740px){.nft-in-game{display:grid;grid-template-columns:minmax(0,1fr)}.nft-in-game .nft-character{width:min(100%,330px);margin:auto}.nft-in-game>div:last-child{display:flex;flex-wrap:wrap;gap:8px 15px;align-items:center}.nft-in-game>div:last-child>p{flex-basis:100%;margin:0}}
@media(max-width:420px){.collection-dialog{padding:38px 17px 22px}.nft-selected{grid-template-columns:minmax(0,1fr);gap:8px}.nft-selected>.eyebrow{margin-bottom:2px}.nft-object{grid-row:auto;height:175px}.nft-object>svg{width:130px;height:166px}.nft-selected .nft-finishes{grid-column:1;gap:9px;margin-block:7px 12px}.nft-selected h3{font-size:31px;margin:10px 0 0}.nft-designs{grid-template-columns:repeat(2,minmax(0,1fr))}.nft-design span{font-size:17px!important}.nft-design svg{height:115px}}
@media(max-width:420px){.mint-in-hand{grid-template-columns:minmax(0,1fr);padding:10px 14px 16px;text-align:center;gap:0}.mint-in-hand .nft-character{width:100%;max-height:185px}.mint-in-hand #mint-swing{width:100%;min-height:55px}.mint-in-hand p:not(.eyebrow){font-size:11px}.mint-in-hand .eyebrow{margin-block:0 7px}#mint-designs{gap:10px}.mint-design-card{padding:10px}.mint-design-card svg{height:150px}}
@media(prefers-reduced-motion:reduce){.mint-page .mint-primary:enabled:active{translate:0}button.outline-button,#evolve,#preview-strike,#nft-preview-hit,#mint-swing,.mint-check{transition:none}}
@media(forced-colors:active){.outline-button::before,#evolve::before,#preview-strike::before,#nft-preview-hit::before,#mint-swing::before,.mint-primary::before,.mint-check::before{display:none}.mint-page .mint-primary,button.outline-button:not(.cave-action),#evolve,#preview-strike,#nft-preview-hit,#mint-swing{background:ButtonFace!important;color:ButtonText!important;border:1px solid ButtonText!important;filter:none;text-shadow:none}.nft-families button[aria-pressed=true],.mint-families button[aria-pressed=true]{outline:2px solid Highlight;color:ButtonText;text-shadow:none}.nft-families button[aria-pressed=true]::before,.mint-families button[aria-pressed=true]::before{display:none}}
