/* Crystal Keep · Klasse 5 · Spieltempo-Regler und Menübeschriftungen (10.11.2026) */

/* Menü: Symbolknöpfe tragen eine sichtbare Beschriftung (Tafel ohne Maus-Hover). */
.menu-utilities .icon-control[data-tooltip]::after {
  opacity: .82; visibility: visible; background: none; border: 0; padding: 0;
  inset-block-start: calc(100% + 9px); color: #f1e6cb; text-shadow: 0 1px 6px #000b, 0 0 2px #000;
  font: 650 clamp(.72rem, .95vw, .92rem)/1.15 system-ui, sans-serif; letter-spacing: .01em;
}
.menu-utilities .icon-control[data-tooltip]:is(:hover,:focus-visible)::after { opacity: 1; color: #fff6dc; }
.menu-utilities { padding-bottom: 1.6rem; }

/* Dialog */
.tempo-dialog { width: min(92vw, 520px); }
.tempo-dialog .tempo-class { margin: 0 0 1.1rem; color: #cfd8e3; }
.tempo-dialog .tempo-class strong { color: #f3d9a4; }
.tempo-slider { position: relative; padding: .35rem .2rem 0; }
.tempo-slider input[type=range] {
  width: 100%; appearance: none; -webkit-appearance: none; height: 10px; border-radius: 999px; margin: .4rem 0 .2rem;
  background: linear-gradient(90deg, #6fa8d8 0%, #e3c27a 50%, #e07a4f 100%); outline-offset: 6px; cursor: pointer;
}
.tempo-slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6dc, #e7c47c 55%, #a9782f);
  border: 2px solid #fff1c9; box-shadow: 0 2px 10px #000a, 0 0 14px #f3d9a466; transition: transform .15s;
}
.tempo-slider input[type=range]:active::-webkit-slider-thumb { transform: scale(1.08); }
.tempo-slider input[type=range]::-moz-range-thumb {
  width: 30px; height: 30px; border-radius: 50%; background: #e7c47c; border: 2px solid #fff1c9;
}
.tempo-stops { display: flex; justify-content: space-between; margin-top: .55rem; }
.tempo-stops button {
  all: unset; cursor: pointer; padding: .35rem .5rem; border-radius: .5rem; color: #b8c4d2;
  font: 650 1rem/1.1 system-ui, sans-serif; transition: color .15s, background .15s;
}
.tempo-stops button:first-child { margin-left: -.5rem; }
.tempo-stops button:last-child { margin-right: -.5rem; }
.tempo-stops button[data-active] { color: #fff3d1; background: #f3d9a41f; box-shadow: inset 0 0 0 1px #f3d9a455; }
.tempo-facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem .9rem; margin: 1.15rem 0 .8rem;
  padding: .85rem 1rem; border-radius: .7rem; background: #0b1625b8; border: 1px solid #9ebed433;
}
.tempo-facts div { display: grid; gap: .1rem; }
.tempo-facts dt { color: #9fb0c3; font: 600 .78rem/1.2 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.tempo-facts dd { margin: 0; color: #f3f1e9; font: 700 1.2rem/1.2 system-ui, sans-serif; }
.tempo-note { margin: 0 0 .45rem; color: #f3d9a4; font-weight: 600; }
.tempo-hint { margin: 0 0 1rem; color: #aab8c8; font-size: .86rem; line-height: 1.4; }
@media (prefers-reduced-motion: reduce) { .tempo-stops button, .tempo-slider input::-webkit-slider-thumb { transition: none; } }
