/* SPDX-License-Identifier: MPL-2.0
 * Copyright (C) 2026 Styves Goupil
 * FRASIL SOURCE's tour (cards #270, #277: tour.js): the page dimmed but the step's own, a ring round it; its chapter,
 * its place in it and its line in a small card beside it, SKIP and NEXT. The dim takes the hand but where the step is
 * live (its lid gone). The head's ?: the chapters under it */
.tour-dim { position: fixed; inset: 0; z-index: 60; width: 100%; height: 100%; pointer-events: none; }
.tour-dim .sh { fill: rgba(4, 6, 9, .74); fill-rule: evenodd; pointer-events: fill; }
.tour-dim .rg { fill: none; stroke: var(--ice); stroke-width: 1.5; stroke-opacity: .55; }
.tour-dim .lid { fill: transparent; pointer-events: all; }
.tour-dim.live .lid { display: none; }
.tour-c { position: fixed; left: 0; top: 0; z-index: 61; padding: 16px 16px 12px; border: 1.5px solid var(--steel); border-radius: 12px;
  background: rgba(12, 17, 23, .97); box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
.tour-c.in { animation: tour-in .24s var(--ease); }
@keyframes tour-in { from { opacity: 0; transform: translateY(5px); } }
.tour-h { margin-bottom: 10px; font: 600 10.5px/1 var(--f-ui); letter-spacing: .22em; color: var(--mist); }
.tour-l { font: italic 400 19px/1.3 var(--f-text); color: var(--white); text-wrap: pretty; }
.tour-f { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.tour-f .fill { flex: 1; }
.tour-n { font: 600 11px/1 var(--f-ui); letter-spacing: .2em; color: var(--mist); font-variant-numeric: tabular-nums; }
.tour-sk { height: 34px; padding: 0 10px; font: 600 11.5px/1 var(--f-ui); letter-spacing: .2em; color: var(--mist); }
.tour-sk:hover { color: var(--fog); }
.tour-nx { height: 34px; padding: 0 16px; white-space: nowrap; border: 1.5px solid var(--fog); border-radius: 9px; font: 600 12px/1 var(--f-ui); letter-spacing: .2em; color: var(--white); }
.tour-nx:hover { box-shadow: 0 0 24px rgba(220, 227, 234, .18); }
/* the chapters (card #277): under the ?, one tapped played alone */
.hd:has(.tq-pop) { z-index: 25; }
.tq-pop { position: absolute; top: calc(100% + 12px); left: 0; z-index: 30; display: grid; gap: 2px; width: 236px; padding: 8px;
  border: 1.5px solid var(--steel); border-radius: 12px; background: rgba(12, 17, 23, .97); box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
.tq-pop button { display: flex; align-items: center; gap: 11px; height: 34px; padding: 0 8px; border-radius: 8px; font: 600 11.5px/1 var(--f-ui);
  letter-spacing: .2em; color: var(--fog); text-align: left; white-space: nowrap; }
.tq-pop button:hover, .tq-pop button:focus-visible { background: #131b25; color: var(--white); outline: 0; }
.tq-pop .bd { font-size: 10.5px; letter-spacing: 0; }
@media (prefers-reduced-motion: reduce) { .tour-c.in { animation: none; } }
@container scr (max-width: 760px) { .tour-l { font-size: 17px; } }
