/* Quiet visual hierarchy; no moving controls or changes to board geometry. */
:root { color-scheme: dark; }
button, input, select, a { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #ffe2a0 !important; outline-offset: 4px;
}
input[type=range] { min-height: 44px; cursor: pointer; }
.panel { border: 1px solid #d4bd8666; box-shadow: 0 22px 65px #02091b70, inset 0 1px 0 #fff2d51a; }
.panel h2 { letter-spacing: .015em; }
.panel .btn, .panel .tog, .panel .tile { min-height: 44px; }
.panel .btn:active, .panel .tile:active { filter: brightness(1.12); }
.panel .set-group { border-radius: 16px; background: #0d193329; padding: 12px; }
.panel .set-row { gap: 14px; }
.panel small, .panel .music-sub, .panel .sound-note { line-height: 1.55; }
.sound-note { font-size: 13px; color: #f0dfb7; margin: 6px 0 16px; }
.panel .tog[aria-pressed=true] { border-color: #ebd196; box-shadow: inset 3px 0 0 #ebd196; }
body.hi-contrast .panel { border-color: #fff; box-shadow: none; }
@media(max-width:480px) { .panel .set-row { flex-wrap: wrap; }.panel .set-row input { flex: 1 1 110px; min-width: 100px; }.panel { scroll-padding-block: 20px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; } }
