/* The app's Crown Dial, adapted to the distance between page sections. */
body{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}
.dial-invitation{margin-top:1.5rem;font-size:.87rem;line-height:1.65;color:var(--dim);max-width:40ch}
.try-dial{padding:.5rem 0;background:none;border:0;color:var(--accent);font-weight:500;font-size:.87rem;text-decoration:underline;text-underline-offset:.3em;min-height:44px}
.crown-dock{position:fixed;z-index:3;inset:auto 0 0;background:var(--paper);border-top:1px solid var(--line);padding:0 var(--gutter) calc(.45rem + env(safe-area-inset-bottom,0px));box-shadow:0 -8px 32px #191B1A05}
.crown-inner{max-width:68rem;margin-inline:auto}
.crown-meta{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:42px;font-size:.75rem;color:var(--dim)}
.crown-instruction{margin:0}
.crown-instruction strong{font-weight:500;color:var(--ink)}
.crown-sound{border:0;background:none;color:var(--dim);font-size:.75rem;line-height:1.4;padding:.6rem 0 .6rem 1rem;min-height:44px;text-decoration:underline;text-underline-offset:.25em;white-space:nowrap}
.crown-sound:hover,.crown-sound[aria-pressed=true]{color:var(--accent)}
.crown-track{position:relative;height:52px;isolation:isolate;border-radius:3px}
.crown-track:has(.crown-range:focus-visible){outline:3px solid var(--accent);outline-offset:3px}
.crown-track.is-ready{touch-action:none;user-select:none;-webkit-user-select:none;cursor:ew-resize}
.crown-track.is-dragging{cursor:grabbing}
.crown-ticks{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.crown-range{position:absolute;z-index:1;inset:0;margin:0;width:100%;height:100%;opacity:0;cursor:ew-resize;touch-action:none}
.crown-stations{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;height:100%;pointer-events:none}
.crown-station{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding-inline:.6rem;color:var(--dim);font-size:.85rem;font-weight:500;text-decoration:none;pointer-events:auto;white-space:nowrap;transition:color .15s var(--ease)}
.is-ready .crown-station{color:color-mix(in srgb,var(--accent) var(--warmth,0%),var(--dim));cursor:ew-resize}
.crown-station[aria-current=location]{font-weight:700}
.crown-station:hover{color:var(--accent)}
.crown-track.is-cued{animation:dial-cue .85s var(--ease) 2}
@keyframes dial-cue{0%,100%{box-shadow:0 0 0 0 transparent}40%{box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 18%,transparent)}}
@media(max-width:760px){
  .crown-dock{padding-inline:1rem;border-radius:18px 18px 0 0}
  .crown-meta{font-size:.75rem;min-height:36px}
  .crown-sound{font-size:.75rem}
  .crown-track{height:48px}
  .crown-station{font-size:.75rem;padding-inline:.35rem}
  .crown-instruction strong{display:none}
  body{padding-bottom:calc(108px + env(safe-area-inset-bottom,0px))}
}
@media(prefers-reduced-motion:reduce){.crown-track.is-cued{animation:none;outline:3px solid var(--accent);outline-offset:3px}}
@media(forced-colors:active){.crown-station[aria-current=location]{text-decoration:underline}.crown-range{position:relative;opacity:1;height:24px}.crown-track{height:76px}.crown-stations{height:44px}.crown-ticks{display:none}body{padding-bottom:150px}}
@media print{.crown-dock,.try-dial{display:none}body{padding-bottom:0}}
