/* Game artwork and UI own their palette, independent of browser/OS themes.
   Inherit the same policy in future menus, controls and decorative pseudo-elements. */
:root,body,body *,body *::before,body *::after,body::before,body::after{
 color-scheme:only light!important;
 forced-color-adjust:none!important;
}
/* Native range tracks still use OS contrast colors in some Chromium versions.
   Draw the controls explicitly instead of relying on that platform palette. */
input[type="range"]{--ui-slider-ink:#dcb159;appearance:none;-webkit-appearance:none;background:transparent;}
#title-settings input[type="range"]{--ui-slider-ink:#865126;}
#photo-panel input[type="range"]{--ui-slider-ink:#dfbc73;}
input[type="range"]::-webkit-slider-runnable-track{height:6px;border:1px solid #bfa67e;border-radius:4px;background:#efdfc3;}
input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;margin-top:-5.5px;border:1px solid #68431f;border-radius:50%;background:var(--ui-slider-ink);}
input[type="range"]::-moz-range-track{height:4px;border:1px solid #bfa67e;border-radius:4px;background:#efdfc3;}
input[type="range"]::-moz-range-thumb{width:13px;height:13px;border:1px solid #68431f;border-radius:50%;background:var(--ui-slider-ink);}
input[type="range"]::-moz-range-progress{background:transparent;}
input[type="checkbox"]{appearance:none;-webkit-appearance:none;display:inline-grid;place-content:center;border:1px solid #80552e;border-radius:3px;background:#efdfc3;vertical-align:middle;}
input[type="checkbox"]:checked{background:#dcb159;}
input[type="checkbox"]::before{content:"";width:.85em;height:.85em;background:#fff4d7;clip-path:polygon(0 45%,18% 30%,40% 54%,83% 0,100% 15%,42% 100%);transform:scale(0);}
input[type="checkbox"]:checked::before{transform:scale(1);}
