/* R23F80: Shared board replay speed. No board resizing. */
body.opera-adventure .r23f80-speed-control{display:grid;grid-template-columns:auto minmax(130px,1fr) auto;gap:6px 12px;align-items:center;border:1px solid #bed7ea;border-radius:12px;background:#f5faff;padding:9px 11px;margin-top:9px;color:#314c70}
body.opera-adventure .r23f80-speed-label{font-size:13px;font-weight:750;white-space:nowrap}
body.opera-adventure .r23f80-speed-control input[type=range]{width:100%;min-width:100px;accent-color:#7652d6;cursor:pointer}
body.opera-adventure .r23f80-speed-value{font-size:12px;font-weight:750;text-align:right;min-width:114px;white-space:nowrap}
body.opera-adventure .r23f80-speed-hint{grid-column:1/-1;color:#62738a;font-size:11px;line-height:1.35}
@media(max-width:550px){body.opera-adventure .r23f80-speed-control{grid-template-columns:1fr auto}body.opera-adventure .r23f80-speed-control input[type=range]{grid-column:1/-1;grid-row:2}body.opera-adventure .r23f80-speed-hint{grid-column:1/-1}}

/* R23F82: Easier slider grip, larger thumb + generous touch target.
   Does NOT change speeds, replay timing, board layout, or controls. */
body.opera-adventure .r23f80-speed-control input[type="range"] {
  -webkit-appearance: none; appearance: none;
  height: 38px; padding: 0; margin: 0;
  background: transparent; cursor: ew-resize;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
body.opera-adventure .r23f80-speed-control input[type="range"]::-webkit-slider-runnable-track {
  height: 9px; border-radius: 20px; background: #ccd9ed; border: 1px solid #aabdd8;
}
body.opera-adventure .r23f80-speed-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: #7652d6; border: 3px solid #fff;
  box-shadow: 0 1px 5px #30486f75; margin-top: -9px;
}
body.opera-adventure .r23f80-speed-control input[type="range"]::-moz-range-track {
  height: 9px; border-radius: 20px; background: #ccd9ed; border: 1px solid #aabdd8;
}
body.opera-adventure .r23f80-speed-control input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #7652d6; border: 3px solid white;
  box-shadow: 0 1px 5px #30486f75;
}
body.opera-adventure .r23f80-speed-control input[type="range"]:focus-visible {
  outline: 3px solid #4b90da; outline-offset: 2px; border-radius: 16px;
}

/* R23F83: precise 0.1-second adjustments without snapping to five presets. */
body.opera-adventure .r23f80-speed-control{grid-template-columns:auto minmax(130px,1fr) minmax(75px,auto) auto;gap:6px 8px}
body.opera-adventure .r23f83-fine-controls{display:flex;gap:5px;align-items:center}
body.opera-adventure .r23f83-fine-btn{min-width:32px;min-height:32px;padding:3px 6px;background:#fff;border:1px solid #a8bfdc;border-radius:9px;color:#4b3985;font-size:20px;font-weight:700;line-height:1;cursor:pointer}
body.opera-adventure .r23f83-fine-btn:hover{background:#efebfc}
body.opera-adventure .r23f83-fine-btn:focus-visible{outline:3px solid #4b90da;outline-offset:2px}
@media(max-width:650px){body.opera-adventure .r23f80-speed-control{grid-template-columns:1fr auto auto}body.opera-adventure .r23f80-speed-control input[type=range]{grid-column:1/-1;grid-row:2}body.opera-adventure .r23f83-fine-controls{grid-column:3;grid-row:1}}
