fh-router-tour { display:block; position:relative; min-inline-size:0; margin:0; }
.fh-tour-deck { isolation:isolate; color:var(--text); outline:0; }
.fh-tour-stage {
  position:relative;
  isolation:isolate;
  block-size:clamp(180px, min(68vw, 43svh), 400px);
  overflow:clip;
  touch-action:pan-y pinch-zoom;
}
.fh-tour-canvas { display:block; position:absolute; inset:0; width:100%; height:100%; cursor:grab; }
.fh-tour-canvas:active { cursor:grabbing; }
.fh-tour-pin {
  appearance:none; position:absolute; top:0; left:0; z-index:3; padding:0;
  width:52px; height:52px; display:grid; place-items:center; border:0; border-radius:50%;
  background:transparent; color:var(--accent,#f68b3d); cursor:pointer;
}
.fh-tour-pin::after {
  content:''; width:11px; height:11px; border:2px solid currentColor; border-radius:50%;
  background:var(--surface,#15130f); box-shadow:0 0 0 3px color-mix(in srgb,var(--surface,#15130f) 72%,transparent);
}
.fh-tour-pin[aria-expanded="true"]::after { background:currentColor; }
/* Mark the main glass without painting over its central speed reading. The tap area remains the full button. */
.fh-tour-pin[data-part="lcd"]::after {
  width:30px; height:18px; border:0; border-radius:0; box-shadow:none;
  background:
    linear-gradient(currentColor,currentColor) left top / 5px 1px,
    linear-gradient(currentColor,currentColor) left top / 1px 4px,
    linear-gradient(currentColor,currentColor) right bottom / 5px 1px,
    linear-gradient(currentColor,currentColor) right bottom / 1px 4px;
  background-repeat:no-repeat;
}
.fh-tour-rear-action::before {
  content:attr(data-caption); position:absolute; bottom:calc(50% + 9px); padding:1px 4px;
  color:var(--text); background:var(--surface); border-radius:2px; font:600 .62rem/1.4 JetBrains,monospace;
}
.fh-tour-leader { position:absolute; top:0; left:0; z-index:1; width:1px; height:1px; transform-origin:0 50%; background:var(--accent,#f68b3d); pointer-events:none; }
.fh-tour-popover {
  position:absolute; top:0; left:0; z-index:4; pointer-events:none; min-width:min(90px,100%); max-width:min(12.25rem,calc(100% - 12px));
  padding:6px 7px; border:1px solid var(--border,#494136); border-radius:7px;
  box-shadow:0 4px 16px #0002; color:var(--text,#f1ebdf); background:var(--surface,#15130f);
}
.fh-tour-popover .fh-tour-readings { margin:0; padding:0; font:500 clamp(.64rem,1vw,.75rem)/1.48 JetBrains,monospace; }
.fh-tour-readings > div { display:flex; align-items:baseline; justify-content:space-between; gap:.32rem; padding-block:1px; }
.fh-tour-popover .fh-tour-readings > div + div { border-block-start:1px dashed color-mix(in srgb,var(--text) 28%,transparent); }
.fh-tour-readings dt,.fh-tour-readings dd { margin:0; padding:0; min-inline-size:0; overflow-wrap:anywhere; }
.fh-tour-readings dt { color:var(--muted,#b4aea1); }
.fh-tour-readings dd { text-align:end; unicode-bidi:isolate; }
.fh-tour-popover .fh-tour-card-note { margin:0; color:var(--text); font-family:inherit; font-weight:500; font-size:.78rem; line-height:1.45; }
.fh-tour-pin:focus-visible,.fh-tour-clock:focus-visible,.fh-tour-stage:focus-visible {outline:2px solid var(--focus,var(--accent));outline-offset:-2px}
.fh-tour-unavailable { display:none; }
fh-router-tour [hidden] { display:none !important; }
@media(max-width:600px) {
  .fh-tour-popover { padding:5px 6px; }
}
@media print {
  .fh-tour-pin,.fh-tour-clock,.fh-tour-leader { display:none; }
}

.fh-tour-clock {
  position:absolute; top:0; left:0; z-index:2; cursor:pointer;
  width:clamp(48px,8%,76px); height:44px; padding:0;
  background:transparent; border:1px solid transparent; border-radius:3px;
}
.fh-tour-clock:hover,.fh-tour-clock:focus-visible { border-color:var(--accent); outline-offset:2px; }
@media(prefers-reduced-motion:no-preference) {
  .fh-tour-pin::after,.fh-tour-clock::after{animation:fh-tour-pulse 2s ease-in-out infinite}
  @keyframes fh-tour-pulse{0%,100%{opacity:.65;scale:.88}50%{opacity:1;scale:1.08}}
}
.fh-tour-clock::after{content:'';position:absolute;right:10%;top:14%;width:6px;height:6px;border-radius:50%;border:1px solid var(--accent);background:var(--surface)}
