/* Shared with the collection: cool charcoal, slate, matte surfaces, warm signal. */
:root{color-scheme:dark;--paper:#111213;--ink:#d8e6f2;--muted:#a0aab3;--accent:#ed6845;--line:#2d3033;--surface:#1b1c1e;--track:#5c6268}
html,body{background:#0c0d0e;color:var(--ink)}
.putting-shell,.game-shell{background:var(--paper)}
.module-header,.topbar,.hole-bar,.putting-deck,.flight-deck,.module-footer,.bottomline{background:var(--paper)}
.module-name{font-weight:450;color:var(--muted)}
.module-name>span{font-weight:500;color:var(--ink)}
.wordmark{font-weight:650}
.wordmark i,.module-name i,.orange-dot,.progress i.cleared{background:var(--accent)}
.icon-button,.games-link,.retry-button,.text-button,.secondary{color:var(--ink)}
.icon-button:hover,.nudge:hover{background:#292b2e}
.icon-button{border-radius:3px}
.hole-picker select,#level-select{color:var(--ink);color-scheme:dark}
.progress i{background:#4a4f53}
.progress i.current{outline-color:#b9c5d0}
.putting-stage,.hoops-stage,.precision-stage{background:radial-gradient(ellipse at 50% 0%,#373b3e 0%,#292c2e 45%,#1b1d1e 100%)}
.game-shell .playfield{background:#282b2d}
.course-heading,.shot-message,.control-tip,.control-label,.arc-hint,.hold-hint,.control-help,.flight-instruction,.flight-instruction strong,.control-heading span,.altitude-control>span,.scene-note,.coordinates,.bottomline,.intro-foot{color:var(--muted)}
.course-heading #difficulty,.target-state,.game-shell .target-state,.putt-overlay .eyebrow,.result .eyebrow,.shot-message.success{color:#ef9575}
.target-state.closed{color:#bac6d0}
.control-label,.control-heading{font-weight:450}
.nudge{color:var(--muted)}
.range-row input::-webkit-slider-runnable-track,input[type=range]::-webkit-slider-runnable-track{background:var(--track)}
.range-row input::-webkit-slider-thumb,input[type=range]::-webkit-slider-thumb{background:#1c1e20;border-color:#b9c5d0}
.range-row input::-moz-range-track,input[type=range]::-moz-range-track{background:var(--track)}
.range-row input::-moz-range-thumb,input[type=range]::-moz-range-thumb{background:#1c1e20;border-color:#b9c5d0}
.range-row #power::-webkit-slider-runnable-track{background:linear-gradient(to right,var(--accent) 0 var(--strength,45%),var(--track) var(--strength,45%) 100%)}
.range-row #power::-moz-range-track{background:var(--track)}
.power-track{background:var(--track)}
.range-row #power::-moz-range-progress{background:var(--accent)}
.power-track>span{background:var(--accent)}
.putt-button,.primary,.drop-button{background:#2b2d30;color:var(--ink);border:1px solid #757c83;border-radius:3px;font-weight:500}
.putt-button>span:last-child,.primary>span{color:#ef9575}
.putt-button:hover:not(:disabled),.primary:hover,.drop-button:not(:disabled):hover{background:#383b3f}
.shoot-button.charging,.shoot-button.charging:hover,.drop-button.ready{background:#7b402d;border-color:#e3875e;color:#f3e6d8}
.drop-sub{color:#b4bfca}
.drop-button kbd{color:#b4bfca;border-color:#71787f}
#ammo i{background:#bfcbd6}
.putt-overlay,.pause-overlay,.result{background:rgba(16,17,18,.93);color:var(--ink);backdrop-filter:blur(8px)}
.putt-overlay h2,.overlay h2{font-weight:450}
.putt-overlay p,.result p,.result-stats span{color:var(--muted)}
.game-shell .intro{background:linear-gradient(90deg,rgba(18,19,20,.98),rgba(18,19,20,.94) 30%,rgba(18,19,20,.25) 72%,transparent)}
.intro h1 em{color:#a3adb7}
.intro p{color:#b9c5d0}
.game-help{background:#1b1c1e;border-color:#585e63;border-radius:3px;box-shadow:0 24px 90px #0007}
.game-help::backdrop{background:rgba(9,9,10,.7);backdrop-filter:blur(5px)}
.game-help h2{font-weight:450}
.game-help h3{color:#ef9575;font-weight:450}
.game-help .help-instruction,.game-help .course-caption p,.game-help #objective{color:#c2ced9}
@media(max-width:750px) and (orientation:portrait){.game-shell .intro{background:linear-gradient(180deg,rgba(18,19,20,.98),rgba(18,19,20,.9) 46%,rgba(18,19,20,.1))}}

.module-footer a,.bottomline a{color:inherit;text-decoration:none;padding:8px 0}.module-footer a:hover,.bottomline a:hover{color:var(--accent)}
