/* DEPTHS (nav/depths.js): a tree explored from the top down. The stem (what it's part of, from the top), the hero (what
   it is), its parts as cards hung from a trunk that grows down out of it; or a level drawn as a path, with arrows that say
   what passes along them; and the whole map, from overhead. Colors are the site's; the one accent is gold */
.dp-root { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; min-height: 100%; }
.dp-root > * { flex: none; }
.dp-pan { touch-action: pan-y; } /* (a swipe across is the page's own, anywhere in it: down a level, or up) */

/* ---- the stem: from the top down to here, each a way back up */
.dp-stem { position: relative; margin: 2px 0 0; }
.dp-stem ol { margin: 0; padding: 0; list-style: none; position: relative; }
.dp-stem ol::before { content: ''; position: absolute; left: 13px; top: 14px; bottom: -6px; width: 2px; border-radius: 2px; background: color-mix(in srgb, var(--gold) 45%, var(--rule)); }
.dp-anc { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 30px; padding: 4px 8px 4px 6px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: 600 13px/1.3 var(--sans); text-align: left; cursor: pointer; }
.dp-anc span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-anc:hover { background: color-mix(in srgb, var(--gold) 9%, transparent); color: var(--ink); }
.dp-anc-dot { flex: none; width: 12px; height: 12px; margin-left: 2px; border-radius: 50%; background: var(--bg); border: 2px solid color-mix(in srgb, var(--gold) 60%, var(--rule)); }
.dp-anc.is-par { color: var(--ink); font-weight: 700; }
.dp-anc.is-par .dp-anc-dot { background: var(--gold); border-color: var(--gold); }
.dp-upl { position: relative; margin: 2px 0 0; padding: 4px 4px 12px 32px; font: italic 500 14px/1.45 var(--serif); color: var(--muted); }
.dp-upl::before { content: ''; position: absolute; left: 13px; top: 0; bottom: 0; width: 2px; background: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--gold) 45%, var(--rule)) 0 4px, transparent 4px 8px); }
.dp-stem + .dp-hero { margin-top: 2px; }

/* ---- the hero: what it is */
.dp-hero { position: relative; z-index: 1; padding: 16px 16px 12px; border: 1px solid color-mix(in srgb, var(--gold) 28%, var(--rule)); border-radius: 22px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--gold) 10%, var(--bg-raised)) 0%, var(--bg-raised) 58%); box-shadow: 0 20px 40px -28px rgba(50, 35, 10, 0.5), 0 1px 0 rgba(255, 255, 255, 0.4) inset; touch-action: pan-y; transition: transform 0.25s ease; }
.dp-hero.is-top { background: linear-gradient(165deg, color-mix(in srgb, var(--gold) 14%, var(--bg-raised)) 0%, var(--bg-raised) 70%); }
.dp-hero-k > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-lvl { flex: none; padding: 2px 8px; border: 1px solid var(--rule); border-radius: 999px; font: 700 10.5px/1.3 var(--sans); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); } /* (how far down the map, in words: the same as you move across, one more going in) */
.dp-hero-k { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 800 10.5px/1.3 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; color: var(--door, var(--gold)); }
.dp-hero-t { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.dp-hero-t .dp-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(145deg, color-mix(in srgb, var(--gold) 85%, #fff), var(--gold)); color: var(--on-gold, #221E19); box-shadow: 0 8px 16px -10px color-mix(in srgb, var(--gold) 80%, transparent); }
.dp-hero-t .dp-ic svg { width: 24px; height: 24px; }
.dp-name { margin: 0; font: italic 600 27px/1.15 var(--serif); color: var(--ink); letter-spacing: -0.01em; }
.dp-short { margin: 8px 0 0; font: 500 15.5px/1.45 var(--sans); color: var(--ink); }
.dp-hero-x:empty { display: none; }
/* (Walk the path, and the whole map beside it: two plain buttons, side by side, or one over the other where there's no room) */
.dp-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.dp-acts > .ui-btn { flex: 1 1 auto; min-width: max-content; justify-content: center; padding: 0 16px; white-space: nowrap; } /* (each its words on one line: side by side where they fit, else one over the other, each the row's width) */
.dp-acts > .ui-btn[hidden] { display: none; }
.dp-mapgo svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.dp-walk-go { justify-content: center; }
/* (the way in, on a path's page: folded away as the page is read, its line and how-to closing up and fading, and Walk the
   path and the whole map back small, side by side; open again at the very top. nav/depths.js tuckHero) */
.dp-intro, .dp-mini { display: grid; transition: grid-template-rows 0.45s cubic-bezier(.2, .7, .2, 1), opacity 0.32s ease; }
.dp-intro { grid-template-rows: 1fr; }
.dp-mini { grid-template-rows: 0fr; opacity: 0; }
.dp-intro-in, .dp-mini-in { min-height: 0; overflow: hidden; }
.dp-hero.is-tucked .dp-intro { grid-template-rows: 0fr; opacity: 0; }
.dp-hero.is-tucked .dp-mini { grid-template-rows: 1fr; opacity: 1; }
.dp-acts.is-mini { flex-wrap: nowrap; margin-top: 10px; }
.dp-acts.is-mini > .ui-btn { flex: 1 1 0; min-width: 0; min-height: 36px; padding: 0 12px; font-size: 13.5px; }
.dp-acts.is-mini > .ui-btn > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.dp-acts.is-mini svg, .dp-acts.is-mini .dp-walk-wk svg { width: 17px; height: 17px; }
/* (the whole map, docked: once the hero's button is scrolled away, a round one at the foot of the screen, under the thumb) */
.dp-mapdock { position: sticky; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 3; align-self: flex-end; display: inline-flex; align-items: center; gap: 7px; height: 48px; margin: -48px 2px 0 0; padding: 0 16px 0 13px; border: 1.5px solid color-mix(in srgb, var(--gold) 60%, var(--rule)); border-radius: 999px; background: var(--bg-raised); color: var(--ink); font: 800 14px var(--sans); box-shadow: 0 12px 26px -12px rgba(30, 20, 8, 0.55); cursor: pointer; opacity: 0; transform: translateY(12px) scale(0.92); pointer-events: none; transition: opacity 0.22s ease, transform 0.22s ease; }
.dp-mapdock svg { width: 21px; height: 21px; color: var(--gold); }
.dp-mapdock.is-on { opacity: 1; transform: none; pointer-events: auto; }
.dp-mapdock:active { transform: scale(0.94); }
.dp-root.is-walking .dp-mapdock { display: none; }
.dp-walk-go[hidden] { display: none; }
.dp-walk-wk { display: inline-grid; place-items: center; }
.dp-walk-wk svg { width: 20px; height: 20px; }
.dp-prog { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.dp-prog .dp-bar { flex: 1 0 100%; }
.dp-prog .dp-mapb { margin-left: auto; }
/* (where you've been: the map's own filled dot, wherever it's shown, with words beside it; hollow, not yet) */
.dp-been { flex: none; display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--muted) 70%, transparent); background: var(--bg); font-style: normal; }
.dp-been.is-on { border-color: color-mix(in srgb, var(--gold) 70%, var(--ink)); background: var(--gold); }
.dp-found { min-width: 0; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 7px; font: 700 12px var(--sans); color: var(--muted); }
.dp-found small { font: inherit; }
.dp-found.is-new { color: var(--ink); }
.dp-found.is-new .dp-been { animation: dp-pop 0.45s cubic-bezier(.2, .8, .2, 1.5) 0.35s backwards; }
/* (and a way to let it go: quiet, beside the words) */
.dp-clear { padding: 2px 0; border: none; background: none; color: var(--gold); font: 700 12px var(--sans); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold) 45%, transparent); text-underline-offset: 3px; cursor: pointer; }
.dp-clear:hover { text-decoration-color: var(--gold); }
.dp-clear[hidden] { display: none; }
/* (a find: the first time a truth at the bottom is come to, a glint runs across it) */
.dp-hero.is-leaf.is-new::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(105deg, transparent 30%, color-mix(in srgb, var(--gold) 22%, transparent) 48%, transparent 66%); background-size: 260% 100%; background-position: 130% 0; animation: dp-glint 1.4s ease 0.45s forwards; opacity: 0.9; }
@keyframes dp-glint { to { background-position: -130% 0; opacity: 0; } }
.dp-bar { position: relative; flex: 1; min-width: 30px; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 9%, transparent); overflow: hidden; }
.dp-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 70%, #fff), var(--gold)); transition: width 0.6s ease; }
.dp-mapb { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 7px 13px; border: 1px solid color-mix(in srgb, var(--gold) 50%, var(--rule)); border-radius: 999px; background: var(--bg); color: var(--ink); font: 700 13.5px var(--sans); cursor: pointer; }
.dp-mapb svg { width: 17px; height: 17px; color: var(--gold); }
.dp-mapb:hover { border-color: var(--gold); }
/* (the card's foot: the group it's in, its cards numbered, and the two ways a swipe goes, each saying what kind of a step it
   is and where to (nav/depths.js, pagerHtml); the way a finger pulls toward lights and leans in) */
.dp-pager { display: flex; flex-direction: column; gap: 10px; margin: 14px -4px -4px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--rule) 80%, transparent); }
.dp-group { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 0 4px; }
.dp-group-n { display: flex; align-items: baseline; gap: 8px; min-width: 0; font: 800 10.5px/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.dp-group-n span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-group-n em { flex: none; font-style: normal; letter-spacing: 0.08em; color: var(--ink); }
.dp-steps { display: flex; flex-wrap: wrap; gap: 5px; margin-left: auto; }
.dp-steps button { flex: none; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 1.5px solid color-mix(in srgb, var(--ink) 14%, transparent); border-radius: 50%; background: none; color: var(--muted); font: 700 12px/1 var(--sans); font-variant-numeric: tabular-nums; cursor: pointer; transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.dp-steps button.is-seen { border-color: color-mix(in srgb, var(--gold) 55%, var(--rule)); background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--ink); }
.dp-steps button.is-on { border-color: var(--gold); background: var(--gold); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); }
.dp-steps button:hover:not(.is-on) { border-color: var(--gold); }
.dp-steps.is-many { gap: 3px; }
.dp-steps.is-many button { width: 12px; height: 12px; border-width: 1.5px; }
.dp-root[data-dp-how^="side"] .dp-steps button.is-on, .dp-root[data-dp-how="tap"] .dp-steps button.is-on, .dp-root[data-dp-how="up"] .dp-steps button.is-on { animation: dp-step-on 0.45s cubic-bezier(.2, .8, .2, 1.4) 0.15s backwards; }
@keyframes dp-step-on { from { transform: scale(0.6); } }
.dp-ways { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.dp-way { position: relative; display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 50px; padding: 7px 10px; border: 1px solid var(--rule); border-radius: 14px; background: var(--bg); color: var(--ink); text-align: left; cursor: pointer; overflow: hidden; -webkit-tap-highlight-color: transparent; transition: transform 0.22s ease, border-color 0.2s ease; transform: translateX(calc(var(--pull, 0) * 6px)); }
.dp-way.is-n { justify-content: flex-end; text-align: right; border-color: color-mix(in srgb, var(--gold) 45%, var(--rule)); transform: translateX(calc(var(--pull, 0) * -6px)); }
.dp-way.is-none { visibility: hidden; }
.dp-way::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: color-mix(in srgb, var(--gold) 20%, transparent); opacity: var(--pull, 0); pointer-events: none; transition: opacity 0.2s ease; }
.dp-way-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.dp-way-t small { font: 800 10px/1.2 var(--sans); letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-way-t b { font: 700 13.5px/1.25 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-way svg { flex: none; width: 16px; height: 16px; color: var(--gold); transition: transform 0.2s ease; }
.dp-way.is-pulled { border-color: var(--gold); }
.dp-way.is-pulled small { color: var(--gold); }
.dp-way.is-pulled svg { transform: translateX(-3px); }
.dp-way.is-n.is-pulled svg { transform: translateX(3px); }
@media (hover: hover) { .dp-way:hover { border-color: var(--gold); } }
.dp-way:active { transform: scale(0.98); }
/* (the swipe shown: a word at the card's edge for where a swipe goes, while the card leans that way) */
.dp-shint { position: absolute; top: 50%; z-index: 3; margin-top: -13px; height: 26px; display: flex; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--gold); color: var(--on-gold, #221E19); font: 800 11.5px var(--sans); letter-spacing: 0.04em; white-space: nowrap; opacity: 0; pointer-events: none; box-shadow: 0 8px 18px -10px rgba(40, 28, 8, 0.55); }
.dp-shint.is-r { right: -8px; }
.dp-shint.is-l { left: -8px; }
.dp-hero.is-leaf { border-bottom-width: 3px; border-bottom-color: color-mix(in srgb, var(--gold) 60%, var(--rule)); } /* (the bottom: a footing under it) */

/* ---- the branches: its parts, hung from a trunk that grows down out of the hero */
.dp-tree { position: relative; margin-top: 22px; padding-bottom: 8px; }
.dp-wires { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 0; }
.dp-w { fill: none; stroke: color-mix(in srgb, var(--gold) 55%, var(--rule)); stroke-width: 2px; stroke-linecap: round; stroke-linejoin: round; }
.dp-w.is-trunk { stroke-width: 2.5px; }
.dp-knot { fill: var(--gold); }
.dp-knot.is-grow { animation: dp-pop 0.35s cubic-bezier(.2, .8, .2, 1.4) backwards; animation-delay: calc(0.3s + var(--i, 0) * 0.05s); transform-box: fill-box; transform-origin: center; }
@keyframes dp-pop { from { transform: scale(0); } }
.dp-cards { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 34px; row-gap: 16px; align-items: start; }
.dp-cards > li { position: relative; }
.dp-cards > li:nth-child(even) { margin-top: 40px; }
.dp-tree.is-one .dp-cards { grid-template-columns: minmax(0, 300px); justify-content: center; }
/* (a part with more inside it: a small stack, the layers under it showing) */
.dp-cards > li.has-kids::before, .dp-cards > li.has-kids::after, .dp-fc.has-kids::before { content: ''; position: absolute; border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 16px 16px; background: var(--bg-raised); pointer-events: none; }
.dp-cards > li.has-kids::before { left: 7px; right: 7px; bottom: -5px; height: 18px; z-index: 1; }
.dp-cards > li.has-kids::after { left: 15px; right: 15px; bottom: -10px; height: 18px; z-index: 0; opacity: 0.7; }
.dp-card { position: relative; z-index: 2; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; display: flex; flex-direction: column; align-items: stretch; gap: 6px; width: 100%; padding: 11px 12px 10px; border: 1px solid var(--rule); border-radius: 18px; background: var(--bg-raised); color: var(--ink); font: inherit; text-align: left; cursor: pointer;
  box-shadow: 0 10px 24px -20px rgba(50, 35, 10, 0.55); transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.25s ease; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.dp-card:hover { border-color: color-mix(in srgb, var(--gold) 60%, var(--rule)); box-shadow: 0 16px 30px -20px rgba(50, 35, 10, 0.6); transform: translateY(-2px); }
.dp-card:active { transform: scale(0.97); }
.dp-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.dp-card-h { display: flex; align-items: center; gap: 6px; min-height: 28px; }
.dp-card-h:empty { display: none; }
.dp-card .dp-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: color-mix(in srgb, var(--gold) 15%, transparent); color: var(--gold); }
.dp-card .dp-ic svg { width: 17px; height: 17px; }
.dp-num { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--on-gold, #221E19); font: 800 11.5px var(--sans); font-style: normal; }
.dp-card-been { margin-left: auto; width: 10px; height: 10px; }
.dp-card-n { font: 700 15px/1.25 var(--sans); }
.dp-card-s { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font: 400 13px/1.4 var(--sans); color: var(--muted); }
.dp-card-f { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; }
.dp-card-f em { font: 700 11.5px var(--sans); font-style: normal; color: var(--muted); white-space: nowrap; }
.dp-card:not(.has-kids) .dp-card-f em { flex: 1; letter-spacing: 0.06em; text-transform: uppercase; font-size: 10px; }
.dp-go { margin-left: auto; font: 400 20px/1 var(--sans); color: var(--gold); }
.dp-card.is-seen .dp-card-n { color: var(--ink); }

/* ---- a level drawn as a path: the cards where they stand, the arrows between them named */
.dp-flow { position: relative; margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); column-gap: 30px; row-gap: 44px; padding: 0 16px 6px 20px; align-items: center; }
.dp-flow .dp-wires { z-index: 0; }
.dp-fc { position: relative; z-index: 1; }
.dp-fc .dp-card { min-height: 100%; }
.dp-fc.is-side .dp-card { padding: 10px; }
.dp-fc.is-side .dp-card-n { font-size: 14px; }
.dp-fc .dp-card-s { -webkit-line-clamp: 2; }
.dp-fc.is-side .dp-card-s { font-size: 12.5px; }
.dp-fc.has-kids::before { left: 8px; right: 8px; bottom: -5px; height: 16px; z-index: 0; }
.dp-fc .dp-card { z-index: 2; }
.dp-cap { grid-column: 1; justify-self: center; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--rule)); border-radius: 999px; background: var(--bg); font: 800 11px var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); }
.dp-cap.is-top::before, .dp-cap.is-bottom::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); }
.dp-w.is-link { stroke: color-mix(in srgb, var(--ink) 28%, var(--rule)); stroke-width: 2px; transition: stroke 0.25s ease, opacity 0.25s ease; }
.dp-w.is-link.is-main { stroke: color-mix(in srgb, var(--gold) 70%, var(--rule)); stroke-width: 2.5px; stroke-dasharray: 9 6; animation: dp-flow 1.8s linear infinite; }
.dp-w.is-link.is-lit { stroke: var(--gold); stroke-width: 3px; stroke-dasharray: 7 5; animation: dp-flow 0.7s linear infinite; opacity: 1; }
.dp-w.is-rail { stroke: color-mix(in srgb, var(--gold) 45%, transparent); stroke-width: 2px; stroke-dasharray: 2 5; }
@keyframes dp-flow { to { stroke-dashoffset: -30; } }
.dp-arh { fill: color-mix(in srgb, var(--ink) 28%, var(--rule)); }
.dp-arh.is-lit { fill: var(--gold); }
.dp-flow.has-hot .dp-w.is-link:not(.is-lit) { opacity: 0.25; }
.dp-flow.has-hot .dp-card:not(.is-lit) { opacity: 0.55; }
.dp-flow .dp-card.is-lit { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 28%, transparent), 0 18px 32px -20px rgba(50, 35, 10, 0.6); transform: translateY(-2px); } /* (raised, not grown: so it never reaches the words on the arrows above and below it) */
.dp-flow .dp-card.is-held { transform: scale(1.04); }
.dp-flow .dp-card.is-go { box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 50%, transparent), 0 18px 32px -20px rgba(50, 35, 10, 0.6); border-color: var(--gold); } /* (a tap seen: the chosen step flashes, then opens) */
.dp-tags { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.dp-tag { position: absolute; transform: translate(-50%, -50%); max-width: 70%; padding: 3px 9px; border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--rule)); border-radius: 999px; background: var(--bg); font: 700 10.5px/1.25 var(--sans); color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.25s ease, color 0.2s ease, border-color 0.2s ease, transform 0.25s ease; }
.dp-tag.is-quiet { opacity: 0; transform: translate(-50%, -50%) scale(0.9); white-space: nowrap; max-width: 46%; box-shadow: 0 8px 18px -10px rgba(50, 35, 10, 0.45); }
.dp-tag.is-on { opacity: 1; color: var(--ink); border-color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, var(--bg)); transform: translate(-50%, -50%); }
.dp-tag.is-above, .dp-tag.is-above.is-on { transform: translate(-50%, -100%); white-space: normal; border-radius: 12px; line-height: 1.2; padding: 3px 8px; } /* (above the step at the side, two lines if it needs them, clear of every word) */
.dp-tag.is-above.is-quiet:not(.is-on) { transform: translate(-50%, -100%) scale(0.9); }
.dp-flow.has-hot .dp-tag:not(.is-on) { opacity: 0.35; }
.dp-flow.has-hot .dp-tag.is-quiet:not(.is-on) { opacity: 0; }
.dp-rail-l { position: absolute; z-index: 2; transform: translate(-50%, -50%) rotate(180deg); writing-mode: vertical-rl; padding: 6px 2px; background: var(--bg); font: 800 9.5px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); white-space: nowrap; pointer-events: none; }
.dp-trav { position: absolute; left: -7px; top: -7px; z-index: 3; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 30%, transparent), 0 0 18px 4px color-mix(in srgb, var(--gold) 60%, transparent); pointer-events: none; }
.dp-trav[hidden] { display: none; }

/* ---- what's said under it all, held at the bottom: a card held, or the walk through the path */
.dp-say { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 4; margin-top: 16px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--gold) 50%, var(--rule)); border-radius: 18px; background: var(--bg-raised); box-shadow: 0 22px 44px -18px rgba(40, 28, 8, 0.55); font: 400 14px/1.5 var(--sans); animation: dp-up 0.3s cubic-bezier(.2, .8, .2, 1); }
.dp-say[hidden] { display: none; }
@keyframes dp-up { from { opacity: 0; transform: translateY(14px); } }
.dp-say .dp-ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--gold); color: var(--on-gold, #221E19); vertical-align: middle; }
.dp-say .dp-ic svg { width: 15px; height: 15px; }
.dp-walk-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dp-walk-k { font: 800 10.5px var(--sans); letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); }
.dp-walk-c { display: flex; gap: 4px; }
.dp-rb { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--rule); border-radius: 50%; background: var(--bg); color: var(--ink); cursor: pointer; }
.dp-rb svg { width: 15px; height: 15px; }
.dp-rb:disabled { opacity: 0.35; cursor: default; }
.dp-walk-k + .dp-rb { margin-left: auto; }
/* (the walk's trail, taken at your own pace: a footprint for each step, those walked gold, the walker standing at the one
   you're at and walking on as you go; a step back at one end, a step on (gold: the thing to do) at the other) */
.dp-trail { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 8px 0 6px; }
.dp-step-b { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--rule); border-radius: 50%; background: var(--bg); color: var(--ink); cursor: pointer; transition: transform 0.15s ease, opacity 0.2s ease; }
.dp-step-b svg { width: 20px; height: 20px; }
.dp-step-b.is-n { border-color: var(--gold); background: var(--gold); color: var(--on-gold, #221E19); }
.dp-step-b:active:not(:disabled) { transform: scale(0.92); }
.dp-step-b:disabled { opacity: 0.3; cursor: default; }
.dp-trail-p { --pad: 14px; position: relative; flex: 0 1 320px; min-width: 0; height: 46px; } /* (steps close together, as footsteps are, however wide the card) */
.dp-print { position: absolute; top: 33px; left: calc(var(--pad) + (100% - 2 * var(--pad)) * var(--f)); display: grid; place-items: center; width: 26px; height: 26px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; color: color-mix(in srgb, var(--muted) 40%, transparent); transform: translate(-50%, -50%); cursor: pointer; }
.dp-print svg { width: 9px; height: 15px; fill: currentColor; transform: translateY(-3px) rotate(90deg); transition: color 0.3s ease; }
.dp-print.is-r svg { transform: translateY(3px) rotate(90deg) scaleX(-1); }
.dp-print.is-done { color: color-mix(in srgb, var(--gold) 75%, transparent); }
.dp-print.is-now { opacity: 0; }
.dp-print:hover:not(.is-now) { color: var(--gold); }
.dp-walker { position: absolute; top: 4px; left: calc(var(--pad) + (100% - 2 * var(--pad)) * var(--f)); width: 30px; height: 30px; color: var(--gold); transform: translateX(-50%); pointer-events: none; }
.dp-walker svg { display: block; width: 30px; height: 30px; transition: transform 0.25s ease; }
.dp-walker.is-back svg { transform: scaleX(-1); } /* (facing the way he walked: back, after a step back) */
.dp-walker path { transform-box: view-box; }
.dp-wk-af, .dp-wk-ab { transform-origin: 12.6px 8.8px; }
.dp-wk-lf, .dp-wk-lb { transform-origin: 11.3px 13.6px; }
.dp-wk-lf { --sw: -24deg; } .dp-wk-lb { --sw: 24deg; } .dp-wk-af { --sw: 22deg; } .dp-wk-ab { --sw: -22deg; }
.dp-walker.is-going .dp-wk-lf, .dp-walker.is-going .dp-wk-lb, .dp-walker.is-going .dp-wk-af, .dp-walker.is-going .dp-wk-ab { animation: dp-wk-swing 0.38s ease-in-out var(--strides, 1); }
.dp-walker.is-going svg { animation: dp-wk-bob 0.19s ease-in-out calc(var(--strides, 1) * 2) alternate; }
@keyframes dp-wk-swing { 25% { transform: rotate(var(--sw)); } 75% { transform: rotate(calc(var(--sw) * -1)); } }
@keyframes dp-wk-bob { to { translate: 0 -1.5px; } }
.dp-walk-n { display: flex; align-items: center; gap: 8px; font: italic 600 19px/1.2 var(--serif); }
.dp-walk-t { margin: 6px 0 0; font: 500 14.5px/1.45 var(--sans); }
.dp-walk-in { margin-top: 8px; padding: 4px 0; border: 0; background: none; color: var(--gold); font: 700 13.5px var(--sans); cursor: pointer; }

.dp-after { display: grid; gap: 12px; margin-top: 26px; }
.dp-after:empty { display: none; }

/* ---- the whole map, from overhead: a branching star of everything, on a dotted canvas */
.dp-map { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; background-color: var(--bg); background-image: radial-gradient(circle, color-mix(in srgb, var(--ink) 10%, transparent) 1px, transparent 1.3px); background-size: 22px 22px; }
.dp-map[hidden] { display: none; }
.dp-map-top { flex: none; display: flex; align-items: center; gap: 8px; padding: calc(10px + env(safe-area-inset-top)) calc(14px + env(safe-area-inset-right)) 10px calc(14px + env(safe-area-inset-left)); border-bottom: 1px solid var(--rule); background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dp-map-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dp-map-t b { font: italic 600 19px/1.2 var(--serif); white-space: nowrap; }
.dp-map-t small { display: flex; flex-wrap: wrap; gap: 2px 10px; font: 700 12px var(--sans); color: var(--muted); }
.dp-map-t small span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; } /* (the key to the dots: filled, been there; hollow, not yet) */
.dp-map-top .ui-btn { flex: none; min-width: 0; padding-left: 12px; padding-right: 12px; }
.dp-map-sky { position: relative; flex: 1; min-height: 0; overflow: hidden; }
/* (the line: a gold band out from the axle to the arrow at the right edge, where what's come to rest is read) */
.dp-map-band { position: absolute; right: 0; z-index: 0; height: 30px; margin-top: -15px; border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); border-right: 0; border-radius: 15px 0 0 15px; background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 5%, transparent), color-mix(in srgb, var(--gold) 17%, transparent)); pointer-events: none; }
.dp-map-band.is-go { background: color-mix(in srgb, var(--gold) 40%, transparent); transition: background 0.12s ease; } /* (a tap seen: the line flashes, then it opens) */
.dp-map-needle { position: absolute; right: 0; z-index: 2; width: 0; height: 0; margin-top: -11px; border: 11px solid transparent; border-right: 16px solid var(--gold); border-left: 0; filter: drop-shadow(0 2px 4px rgba(40, 28, 8, 0.35)); pointer-events: none; transform-origin: right center; }
.dp-map-needle.is-tick { animation: dp-tick 0.16s ease-out; }
/* (the swipe cue: a hand swaying in the middle, three faint arrows each side lighting outward in turn, a word at each end) */
.dp-cue { display: flex; align-items: center; gap: 5px; height: 40px; padding: 0 14px; box-sizing: border-box; border: 1px solid var(--rule); border-radius: 999px; background: color-mix(in srgb, var(--bg-raised) 92%, transparent); box-shadow: 0 10px 24px -14px rgba(40, 28, 8, 0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--muted); pointer-events: none; opacity: 0; transition: opacity 0.3s ease; }
.dp-cue.is-on { opacity: 1; }
.dp-cue-w { font: 800 10.5px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.dp-cue-ch { display: flex; gap: 1px; }
.dp-cue-ch svg { width: 9px; height: 16px; opacity: 0.22; }
.dp-cue-hand { display: grid; place-items: center; width: 30px; height: 30px; color: var(--ink); }
.dp-cue-hand svg { width: 24px; height: 24px; }
.dp-cue.is-on .dp-cue-hand { animation: dp-cue-hand 2.4s ease-in-out infinite; }
.dp-cue.is-on .dp-cue-ch.is-r svg { animation: dp-cue-2nd 2.4s ease infinite; }
.dp-cue.is-on .dp-cue-ch.is-r svg:nth-child(2) { animation-delay: 0.12s; }
.dp-cue.is-on .dp-cue-ch.is-r svg:nth-child(3) { animation-delay: 0.24s; }
.dp-cue.is-on .dp-cue-ch.is-l svg { animation: dp-cue-1st 2.4s ease infinite; } /* (the way on, Next or In, is the left: a swipe left; it lights first) */
.dp-cue.is-on .dp-cue-ch.is-l svg:nth-child(2) { animation-delay: 0.12s; }
.dp-cue.is-on .dp-cue-ch.is-l svg:nth-child(1) { animation-delay: 0.24s; }
.dp-cue.is-on .dp-cue-w.is-r { animation: dp-cue-w2nd 2.4s ease infinite; }
.dp-cue.is-on .dp-cue-w.is-l { animation: dp-cue-w1st 2.4s ease infinite; }
.dp-cue.is-r-only.is-on .dp-cue-hand { animation-name: dp-cue-hand-r; }
.dp-cue.is-r-only.is-on .dp-cue-ch.is-r svg, .dp-cue.is-l-only.is-on .dp-cue-ch.is-l svg { animation-name: dp-cue-one; }
.dp-cue.is-l-only.is-on .dp-cue-hand { animation-name: dp-cue-hand-l; }
.dp-cue.is-r-only.is-on .dp-cue-w.is-r, .dp-cue.is-l-only.is-on .dp-cue-w.is-l { animation-name: dp-cue-wone; }
@keyframes dp-cue-hand { 0%, 100% { transform: none; } 25% { transform: translateX(-8px) rotate(-8deg); } 50% { transform: none; } 75% { transform: translateX(8px) rotate(8deg); } }
@keyframes dp-cue-hand-r { 0%, 60%, 100% { transform: none; } 30% { transform: translateX(8px) rotate(8deg); } }
@keyframes dp-cue-hand-l { 0%, 60%, 100% { transform: none; } 30% { transform: translateX(-8px) rotate(-8deg); } }
@keyframes dp-cue-1st { 0%, 40%, 100% { opacity: 0.22; color: inherit; } 14% { opacity: 1; color: var(--gold); } }
@keyframes dp-cue-2nd { 0%, 50%, 90%, 100% { opacity: 0.22; color: inherit; } 64% { opacity: 1; color: var(--gold); } }
@keyframes dp-cue-one { 0%, 55%, 100% { opacity: 0.22; color: inherit; } 20% { opacity: 1; color: var(--gold); } }
@keyframes dp-cue-w1st { 0%, 45%, 100% { color: var(--muted); } 10%, 32% { color: var(--gold); } }
@keyframes dp-cue-w2nd { 0%, 55%, 100% { color: var(--muted); } 60%, 82% { color: var(--gold); } }
@keyframes dp-cue-wone { 0%, 60%, 100% { color: var(--muted); } 12%, 40% { color: var(--gold); } }
/* (on a page: at its foot, in the empty space under a short page, after the rest on a long one; resting faint, playing as
   the page is come to. On the whole map: by the needle, on the line) */
.dp-cue.is-foot { align-self: center; margin: auto 0 0; transform: translateY(18px); opacity: 0.7; background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.dp-after + .dp-cue.is-foot, .dp-tree + .dp-after:empty + .dp-cue.is-foot { margin-top: auto; }
.dp-cue.is-foot.is-on { opacity: 1; }
/* (on a computer with no touch screen: how, under it: a trackpad's two fingers, or the mouse dragged) */
.dp-cue { position: relative; }
/* (what the swipe does, in words, under the hand: "Swipe the card left for Next, right for Back", as the card's foot says
   them; on a computer, how there) */
.dp-cue-pad { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 4px; font: 600 12px var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); white-space: nowrap; }
.dp-cue-pad small { font: 600 11px var(--sans); opacity: 0.85; }
.dp-root > .dp-cue.is-foot { margin-top: auto; padding-top: 0; margin-bottom: calc(44px + env(safe-area-inset-bottom, 0px)); } /* (room under it for its words, clear of a phone's home bar) */
.dp-cue.is-map { position: absolute; right: 26px; z-index: 3; margin-top: -20px; }
.dp-map-needle.is-show { animation: dp-npulse 2.4s ease-in-out 2; }
@keyframes dp-npulse { 28%, 38%, 78%, 88% { transform: scale(1.18); } }
@keyframes dp-tick { 40% { transform: translateX(-4px) rotate(-8deg); } }
.dp-map-sky:focus { outline: none; }
.dp-map-sky:focus-visible { box-shadow: inset 0 0 0 2px var(--gold); }
.dp-map-svg { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.dp-map-svg:active { cursor: grabbing; }
.dp-m-sec { fill: color-mix(in srgb, var(--gold) 4%, transparent); stroke: color-mix(in srgb, var(--gold) 22%, transparent); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.dp-m-sec.is-alt { fill: color-mix(in srgb, var(--ink) 3%, transparent); }
.dp-m-arc { font-family: var(--sans); font-weight: 800; letter-spacing: 0.04em; fill: var(--ink); pointer-events: none; }
.dp-m-arc.is-path { fill: var(--gold); }
.dp-m-l { fill: none; stroke: color-mix(in srgb, var(--ink) 16%, transparent); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.dp-m-l.is-seen { stroke: color-mix(in srgb, var(--gold) 45%, transparent); }
.dp-m-l.is-path { stroke: var(--gold); stroke-width: 2.5px; }
.dp-m-n { fill: var(--bg-raised); stroke: color-mix(in srgb, var(--ink) 38%, var(--rule)); stroke-width: 1.2px; vector-effect: non-scaling-stroke; transition: fill 0.25s ease; }
.dp-m-n.is-d0, .dp-m-n.is-d1 { stroke-width: 1.8px; }
.dp-m-n.is-seen { fill: var(--gold); stroke: color-mix(in srgb, var(--gold) 70%, var(--ink)); }
.dp-m-n.is-path { stroke: var(--gold); stroke-width: 2px; }
.dp-m-n.is-sel { fill: var(--gold); stroke: var(--bg); stroke-width: 2.5px; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--gold) 80%, transparent)); }
.dp-m-here { fill: none; stroke: var(--gold); stroke-width: 2px; vector-effect: non-scaling-stroke; animation: dp-here 1.8s ease-in-out infinite; pointer-events: none; }
@keyframes dp-here { 50% { stroke-opacity: 0.25; stroke-width: 5px; } }
.dp-m-t { font-family: var(--sans); font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 3px; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; }
.dp-m-t.is-d1 { font-weight: 800; letter-spacing: 0.02em; }
.dp-m-t.is-d0 { font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--muted); }
.dp-m-t.is-path { fill: var(--ink); font-weight: 800; }
.dp-m-t.is-sel { fill: var(--gold); font-weight: 800; }
/* (under the wheel: the card, what's at the line, and beside it on the right the slider, nearer or farther, level by level) */
.dp-map-foot { position: absolute; z-index: 4; left: calc(12px + env(safe-area-inset-left)); right: calc(12px + env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); height: var(--dp-foot, 158px); display: flex; align-items: stretch; gap: 10px; max-width: 520px; margin: 0 auto; } /* (one height, whatever the card says: the slider beside it never moves under the finger) */
.dp-map.is-wide .dp-map-foot { right: auto; width: min(440px, 52vw); margin: 0; } /* (wider than tall: the card and its slider at the foot of the left side, as upright, the slider the card's height at its right, not a pillar up the middle of the screen. From the owner: "what happened to the landscape view of the From text to truth map?") */
/* (the foot itself lets the pointer through to the wheel, only its card and slider catching it: wider than tall (a
   computer), it stands over the left half of the wheel, and swipes, scrolls, and taps there never reached the wheel. From
   the owner: "The swipes are still not working on the map") */
.dp-map-foot { pointer-events: none; }
.dp-map-foot > * { pointer-events: auto; } /* (wider than tall: the card at the foot of the left side, the slider the whole height beside it) */

.dp-map-card { touch-action: pan-y; flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box; padding: 12px 14px 12px; border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--rule)); border-radius: 20px; background: var(--bg-raised); box-shadow: 0 24px 50px -20px rgba(40, 28, 8, 0.55); }
.dp-mc-lv { flex: none; font: 800 10.5px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.dp-mc-k { touch-action: pan-x; flex: none; display: flex; align-items: center; gap: 2px; margin: 3px 0 0 -4px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.dp-mc-k::-webkit-scrollbar { display: none; }
.dp-mc-k:empty { display: none; }
.dp-mc-k button { flex: none; padding: 1px 4px; border: 0; border-radius: 6px; background: none; color: var(--door, var(--muted)); font: 700 12px var(--sans); cursor: pointer; }
.dp-mc-k button:hover { background: color-mix(in srgb, var(--gold) 12%, transparent); }
.dp-mc-k i { flex: none; font-style: normal; color: var(--rule); }
.dp-mc-n { flex: none; display: block; margin-top: 2px; font: italic 600 20px/1.2 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-mc-s { flex: 0 1 auto; min-height: 0; margin: 3px 0 0; font: 400 13.5px/1.4 var(--sans); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.dp-mc-s[hidden] { display: none; }
.dp-mc-f { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.dp-mc-f .dp-found { flex: 1; }
.dp-mc-f [data-dp-mcf] { display: inline-flex; align-items: center; gap: 6px; }
.dp-mc-f .ui-btn { flex: none; }
/* (the slider: the whole wheel at the top, nearer and nearer down it, a stop at each level; the thumb where the wheel is) */
.dp-map-zoom { flex: none; width: 54px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border: 1px solid var(--rule); border-radius: 20px; background: var(--bg-raised); box-shadow: 0 24px 50px -20px rgba(40, 28, 8, 0.55); touch-action: none; -webkit-user-select: none; user-select: none; cursor: grab; outline: none; }
.dp-map-zoom:focus-visible { box-shadow: 0 0 0 2px var(--gold); }
.dp-map-zoom.is-one { opacity: 0.5; cursor: default; }
.dp-z-ic { display: grid; place-items: center; width: 18px; height: 18px; color: var(--muted); }
.dp-z-ic svg { width: 16px; height: 16px; }
.dp-z-track { position: relative; flex: 1; width: 6px; margin: 14px 0; border-radius: 3px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.dp-z-fill { position: absolute; left: 0; right: 0; top: 0; border-radius: 3px; background: color-mix(in srgb, var(--gold) 55%, var(--rule)); }
.dp-z-stops i { position: absolute; left: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--gold) 55%, var(--rule)); background: var(--bg-raised); box-sizing: border-box; }
.dp-z-thumb { position: absolute; left: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg-raised); box-shadow: 0 4px 12px -4px rgba(40, 28, 8, 0.6); box-sizing: border-box; }
.dp-map-zoom.is-drag .dp-z-thumb { transform: scale(1.12); }
.dp-z-thumb em { position: absolute; right: 36px; top: 50%; transform: translateY(-50%); padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 800 10.5px var(--sans); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity 0.2s ease; pointer-events: none; }
.dp-map-zoom.is-drag .dp-z-thumb em, .dp-map-zoom.is-show .dp-z-thumb em { opacity: 1; }
.dp-map-hint { position: absolute; z-index: 3; left: 50%; top: 58px; transform: translateX(-50%); margin: 0; padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 80%, transparent); color: var(--bg); font: 700 12px var(--sans); white-space: nowrap; pointer-events: none; transition: opacity 0.4s ease; }
.dp-map-hint.is-gone { opacity: 0; }
/* (asked past the last level: a word at the line, a moment, and the slider's thumb knocking against its end) */
.dp-map-end { position: absolute; z-index: 3; right: 30px; margin: -46px 0 0; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 82%, transparent); color: var(--bg); font: 700 12px var(--sans); white-space: nowrap; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity 0.25s ease, transform 0.25s ease; }
.dp-map-end.is-on { opacity: 1; transform: none; }
.dp-map-zoom.is-end-in .dp-z-thumb { animation: dp-z-end-in 0.45s ease-out; }
.dp-map-zoom.is-end-out .dp-z-thumb { animation: dp-z-end-out 0.45s ease-out; }
@keyframes dp-z-end-in { 30% { transform: translateY(6px) scale(1.12, 0.86); } 65% { transform: translateY(-2px); } }
@keyframes dp-z-end-out { 30% { transform: translateY(-6px) scale(1.12, 0.86); } 65% { transform: translateY(2px); } }
@media (prefers-reduced-motion: reduce) { .dp-map-zoom.is-end-in .dp-z-thumb, .dp-map-zoom.is-end-out .dp-z-thumb { animation: none; } .dp-map-end { transition: none; transform: none; } }
.dp-map.is-wide .dp-map-hint { left: auto; right: calc(16px + env(safe-area-inset-right)); transform: none; top: 14px; } /* (wider than tall: over the wheel, clear of the slider) */

@media (min-width: 700px) {
  .dp-cards { column-gap: 60px; row-gap: 20px; }
  .dp-hero { padding: 20px 22px 14px; }
  .dp-name { font-size: 31px; }
  .dp-flow { column-gap: 48px; max-width: 640px; margin-left: auto; margin-right: auto; }
}
/* (wider than tall: the card at one corner, the wheel beside it; on a phone on its side, smaller) */
@media (orientation: landscape) and (max-height: 500px) {
  .dp-map.is-wide .dp-map-foot { height: 132px; }
  .dp-map.is-wide .dp-map-card { padding: 10px 14px; }
  .dp-mc-s { display: none; }
  .dp-mc-n { font-size: 18px; }
  }
@media (prefers-reduced-motion: reduce) {
  .dp-w.is-link.is-main, .dp-w.is-link.is-lit, .dp-m-here { animation: none; }
  .dp-say, .dp-map-card, .dp-knot.is-grow, .dp-found.is-new .dp-been, .dp-hero.is-leaf.is-new::after { animation: none; }
  .dp-root .dp-steps button.is-on { animation: none !important; }
  .dp-way, .dp-way svg { transition: none; }
  .dp-intro, .dp-mini, .dp-mapdock { transition: none; }
  .dp-cue:not(.is-foot) { display: none; }
  .dp-cue.is-foot * { animation: none !important; }
  .dp-hero.is-leaf.is-new::after { display: none; }
  .dp-card, .dp-hero, .dp-tag { transition: none; }
}
/* (a trackpad's swipe across a page here is a turn (Kit.trackpad), never the browser's own Back or Forward taking it) */
.dp-pan { overscroll-behavior-x: none; }
/* (the whole map's names: faded out while it zooms, and in once it's still; each one come in, faded in: nav/depths.js) */
.dp-m-labels text { transition: opacity 0.2s ease; }
.dp-m-labels.is-moving text { opacity: 0; transition-duration: 0.12s; }
.dp-m-labels text.is-in { animation: dp-m-in 0.26s ease-out; }
@keyframes dp-m-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dp-m-labels text, .dp-m-labels.is-moving text { transition: none; } .dp-m-labels text.is-in { animation: none; } }
