/* Twelve Walkers, the story page. Ported from
   docs/walkers/redesign/story-sarah-mockup.html. One dark design, whatever the
   site theme: the stage is the walk, the phone is the app's dark palette. */

/* One dark design (spec: Theme). The tint follows the walk's light. */
body.walker-story { --w-bg: #15130F; --w-ink: #F0EBE1; --w-muted: #C9C1B6; --w-accent: #D4A87A; background: var(--w-bg); color: var(--w-ink); margin: 0; padding: 0; }
body.walker-story--dawn   { --w-bg: #16151A; --w-ink: #F0EBE1; --w-muted: #C9C1B6; --w-accent: #D9A27F; --w-tint: transparent; }
body.walker-story--day    { --w-bg: #15140F; --w-ink: #F0EBE1; --w-muted: #C9C1B6; --w-accent: #A3B596; --w-tint: rgba(163,181,150,.06); }
body.walker-story--golden { --w-bg: #18130D; --w-ink: #F0EBE1; --w-muted: #C9C1B6; --w-accent: #D4A261; --w-tint: rgba(212,162,97,.1); }
body.walker-story--dusk   { --w-bg: #17131A; --w-ink: #F0EBE1; --w-muted: #C9C1B6; --w-accent: #E8A87C; --w-tint: rgba(150,96,140,.12); }
body.walker-story--night  { --w-bg: #0E1015; --w-ink: #F0EBE1; --w-muted: #C9C1B6; --w-accent: #E8A87C; --w-tint: rgba(24,44,84,.22); }

/* The iOS dark asset catalog. styles.css names some of these tokens in its
   light palette, so the story page re-declares them on its body. */
body.walker-story {
  --parch: #1C1914; --parch2: #262118; --parch3: #30291F;
  --ink: #F0EBE1; --stone: #B8976E; --fog: #948E88; --dawn: #D4A87A; --rust: #C47E63; --moss: #95A888;
  --serif: 'Cormorant Garamond', Georgia, serif; --ui: Lato, system-ui, sans-serif;
  font-family: var(--serif);
  line-height: normal;
  color-scheme: dark;
}
html:has(body.walker-story) { background: #15130F; }
body.walker-story a { color: inherit; }

/* stage */
.s-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; z-index: 0; }
.s-map { --r: calc(var(--z, 1) * (1 + 2 * var(--f, 0))); position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #1A1815; }
.bm-water { fill: #232A2E; }
.bm-river { fill: none; stroke: #232A2E; stroke-width: calc(34px * (1 - var(--f, 0)) + 9px * var(--z, 1) * var(--f, 0)); stroke-linecap: round; stroke-linejoin: round; }
.bm-stream { fill: none; stroke: #232A2E; stroke-width: 9px; opacity: calc(1 - var(--f, 0)); stroke-linecap: round; stroke-linejoin: round; }
.bm-major { fill: none; stroke: #3B3833; stroke-width: calc(14px * (1 - var(--f, 0)) + 5px * var(--z, 1) * var(--f, 0)); stroke-linecap: round; }
.bm-res { fill: none; stroke: #2E2C28; stroke-width: 8px; opacity: calc(1 - var(--f, 0)); stroke-linecap: round; }
.bm-foot { fill: none; stroke: #3A3630; stroke-width: 2; stroke-dasharray: 6 6; opacity: calc(1 - var(--f, 0)); }
.bm-lb { font: 400 calc(14px * var(--r, 1)) var(--ui); fill: #5B564F; letter-spacing: .08em; text-transform: uppercase; }
.bm-lb--water { font: italic 400 calc(26px * var(--r, 1)) var(--serif); fill: #4A575E; letter-spacing: .05em; text-transform: none; }
.bm-lb--park { fill: #6E6A5C; }
/* Following the walker on a desktop, a name under the cards or past the edge fades. */
.bm-lb, .s-wp-tag, .s-wp-label { transition: opacity .3s; }
.bm-lb.is-under, .s-pin.is-under .s-wp-tag, .s-pin.is-under .s-wp-label { opacity: 0; }
/* A soft band of ground under the ghost route, so it reads over any street
   grid. Screen pixels, not metres: a long route's overview would thin it away. */
.s-ghost-halo { fill: none; stroke: #1A1815; stroke-width: 7px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .8s; }
.s-ghost { fill: none; stroke: var(--ink); stroke-width: calc(3px * var(--r, 1)); stroke-dasharray: calc(2px * var(--r, 1)) calc(10px * var(--r, 1)); stroke-linecap: round; opacity: 0; transition: opacity .8s; }
.s-walk { fill: none; stroke: var(--moss); stroke-width: calc(6px * var(--r, 1)); stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(149,168,136,.55)); }
.s-talk { fill: none; stroke: var(--rust); stroke-width: 8; stroke-linecap: round; opacity: 0; transition: opacity .4s; }
.s-pin { opacity: 0; transition: opacity .5s; }
.s-pin.is-on { opacity: 1; }
.s-pin .s-pin-r { fill: #1A1815; stroke: var(--rust); stroke-width: 2.5; }
.s-pin--rec path { fill: none; stroke: var(--rust); stroke-width: 2; stroke-linecap: round; }
.s-pin .s-pin-pulse { fill: none; stroke: var(--rust); stroke-width: 2; opacity: 0; }
.s-med { fill: none; stroke: var(--dawn); stroke-width: 8; stroke-linecap: round; opacity: 0; transition: opacity .4s; }
.s-pin--med .s-breathe { fill: none; stroke: var(--dawn); stroke-width: 2; opacity: .55; transform-box: fill-box; transform-origin: center; animation: s-breathe 7s ease-in-out infinite; }
.s-pin--med .s-breathe--late { animation-delay: -3.5s; }
.s-pin--med .s-med-dot { fill: var(--dawn); }
@keyframes s-breathe { 0%, 100% { transform: scale(.45); opacity: .75; } 50% { transform: scale(1); opacity: .15; } }
.s-pin--whisper .s-pin-r { stroke: color-mix(in srgb, var(--en) 45%, var(--ink)); }
.s-pin--whisper .s-wisp { color: color-mix(in srgb, var(--en) 45%, var(--ink)); }
.s-pin--cairn .s-pin-r { stroke: var(--stone); }
.s-wp-dot { fill: var(--dawn); stroke: #1A1815; stroke-width: 2; }
.s-wp-tag { fill: rgba(28,25,20,.92); stroke: rgba(212,168,122,.5); stroke-width: 1; }
.s-wp-label { fill: var(--ink); font: italic 400 14px var(--serif); }
.s-photo-frame { stroke: var(--ink); stroke-width: 2.5; }
.s-photo-hill { fill: none; stroke: rgba(26,24,21,.45); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s-pin.is-live .s-pin-pulse { animation: s-pulse 1.8s ease-out infinite; }
@keyframes s-pulse { 0% { r: 16; opacity: .8; } 100% { r: 60; opacity: 0; } }
.s-pin--seek .s-pin-r { stroke: var(--moss); }
.s-light { fill: none; stroke: var(--stone); stroke-width: calc(3px * var(--r, 1)); r: calc(15px * var(--r, 1)); opacity: 0; filter: drop-shadow(0 0 5px rgba(184,151,110,.4)); }
.s-puck { fill: var(--dawn); r: calc(9px * var(--r, 1)); }
.s-puck-h { fill: var(--dawn); opacity: .22; r: calc(22px * var(--r, 1)); }

/* wx:fog */
/* Fog: a grey layer that drifts, and a white one over it that the sun brings up. */
.s-fog { position: absolute; inset: -20%; pointer-events: none; mix-blend-mode: screen; transition: opacity .8s; }
.s-fog i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .7; background: radial-gradient(closest-side, rgba(170,176,180,.5), transparent); animation: s-drift 38s linear infinite alternate; }
.s-fog i:nth-child(1) { width: 70vw; height: 50vh; left: 5%; top: 20%; }
.s-fog i:nth-child(2) { width: 60vw; height: 60vh; left: 45%; top: 5%; animation-duration: 52s; }
.s-fog i:nth-child(3) { width: 80vw; height: 40vh; left: 20%; top: 60%; animation-duration: 44s; }
.s-fog::after { content: ''; position: absolute; inset: 15%; border-radius: 50%; filter: blur(90px); background: radial-gradient(closest-side, rgba(230,232,230,.4), transparent); opacity: var(--sun, 0); }
.s-stage.is-home .s-fog { opacity: .35; }
@keyframes s-drift { to { transform: translateX(12vw); } }
/* /wx */
.s-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(var(--w-tint, transparent), var(--w-tint, transparent)), radial-gradient(120% 90% at 65% 50%, transparent 40%, rgba(12,11,9,.85)); }

.s-wx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.s-wx i { position: absolute; display: block; }
/* wx:snow */
.s-wx--snow i { inset: 0 0 -240px; background: radial-gradient(3px 3px at 30px 40px, #F0EBE1, transparent), radial-gradient(2.5px 2.5px at 130px 120px, #F0EBE1, transparent), radial-gradient(3px 3px at 200px 210px, #F0EBE1, transparent), radial-gradient(2.5px 2.5px at 90px 190px, #F0EBE1, transparent), radial-gradient(2px 2px at 180px 30px, #F0EBE1, transparent); background-size: 240px 240px; opacity: .8; animation: s-snow 70s linear infinite; }
.s-wx--snow i + i { background-size: 330px 330px; opacity: .45; animation-duration: 110s; }
@keyframes s-snow { to { transform: translateY(240px); } }
/* /wx */
/* wx:overcast */
.s-wx--overcast { background: linear-gradient(rgba(150,158,166,.16), rgba(120,128,136,.07)); mix-blend-mode: screen; }
/* /wx */
/* wx:clouds */
.s-wx--clouds { inset: -20%; }
.s-wx--clouds i { border-radius: 50%; background: rgba(8,9,12,.4); filter: blur(70px); width: 60vw; height: 36vh; top: 18%; left: -20%; animation: s-shade 120s linear infinite alternate; }
.s-wx--clouds i:nth-child(2) { width: 50vw; top: 52%; left: 10%; animation-duration: 160s; }
.s-wx--clouds i:nth-child(3) { width: 70vw; top: 80%; left: 30%; animation-duration: 200s; }
@keyframes s-shade { to { transform: translateX(70vw); } }
/* /wx */
/* wx:stars */
.s-wx--stars { color: #F0EBE1; }
.s-wx--stars i { left: 0; top: 0; width: 1px; height: 1px; opacity: .7; animation: s-twinkle 9s ease-in-out infinite alternate; }
@keyframes s-twinkle { to { opacity: .35; } }
.s-moon { position: absolute; right: 7vw; top: 5vh; width: 26px; height: 26px; pointer-events: none; opacity: .85; }
.s-moon circle { fill: rgba(240,235,225,.1); }
.s-moon path { fill: #F0EBE1; }
@media (max-width: 819.98px) { .s-moon { right: auto; left: 50%; top: 14px; margin-left: -13px; } }
/* /wx */
/* wx:golden */
.s-wx--golden { background: radial-gradient(90% 70% at 15% 105%, rgba(212,162,97,.22), transparent 70%); mix-blend-mode: screen; }
/* /wx */

.s-bubble { position: absolute; max-width: 300px; transform: translate(-50%, calc(-100% - 34px)); background: rgba(28,25,20,.92); border: 1px solid rgba(196,126,99,.5); border-radius: 12px; padding: 12px 14px; font: italic 400 17px/1.45 var(--serif); color: var(--ink); opacity: 0; transition: opacity .4s; pointer-events: none; }
.s-bubble.is-on { opacity: 1; }
.s-bubble small { display: block; font: 700 9px var(--ui); letter-spacing: .2em; color: var(--rust); font-style: normal; margin-bottom: 6px; }
.s-bubble .s-w { opacity: .12; transition: opacity .25s; }
.s-bubble .s-w.is-said { opacity: 1; }
.s-bubble::after { content: ''; position: absolute; left: calc(50% + var(--tip, 0px)); bottom: -7px; width: 12px; height: 12px; background: inherit; border-right: 1px solid rgba(196,126,99,.5); border-bottom: 1px solid rgba(196,126,99,.5); transform: translateX(-50%) rotate(45deg); }

/* hud */
.s-hud { position: absolute; left: 6vw; right: 6vw; bottom: 22px; display: flex; align-items: center; gap: 18px; font: 400 12px var(--ui); color: var(--fog); letter-spacing: .05em; transition: opacity .5s; }
.s-hud .s-clk { font: 700 13px var(--ui); color: var(--dawn); letter-spacing: .15em; min-width: 46px; }
.s-bar { flex: 1; height: 2px; background: rgba(240,235,225,.12); position: relative; }
.s-bar b { position: absolute; left: 0; top: 0; bottom: 0; background: var(--moss); }
.s-bar i { position: absolute; top: -4px; width: 2px; height: 10px; background: var(--rust); }
.s-hud .s-hmeta { min-width: 170px; text-align: right; }
.s-osm { position: absolute; right: 14px; bottom: 6px; margin: 0; font: 400 10px var(--font-ui, Lato, sans-serif); color: #5f5850; }

/* phone */
.s-phone { position: absolute; right: 7vw; top: 50%; width: 322px; height: 690px; transform: translateY(-50%) scale(var(--ps, 1)); transform-origin: right center; border-radius: 52px; background: #0B0A08; padding: 11px; box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 1.5px #2A2620, inset 0 0 0 1px #000; transition: opacity .6s, transform .6s; }
.ph-scr { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: var(--parch); font-family: var(--ui); color: var(--ink); line-height: normal; }
.ph-island { position: absolute; top: 10px; left: 50%; width: 96px; height: 28px; margin-left: -48px; background: #000; border-radius: 20px; z-index: 9; }
.ph-sb { position: absolute; top: 0; left: 0; right: 0; height: 50px; display: flex; justify-content: space-between; align-items: center; padding: 6px 30px 0 34px; font: 700 14px -apple-system, var(--ui); color: var(--ink); z-index: 8; }
.ph-sb .ph-sb-ic { display: flex; gap: 5px; align-items: center; }
.ph-sb .ph-bat { width: 24px; height: 11px; border: 1.3px solid var(--ink); border-radius: 3.5px; position: relative; opacity: .9; }
.ph-sb .ph-bat::after { content: ''; position: absolute; inset: 1.5px; right: 4px; background: var(--ink); border-radius: 1.5px; }
.ph-homebar { position: absolute; bottom: 8px; left: 50%; width: 120px; height: 4px; margin-left: -60px; border-radius: 3px; background: rgba(240,235,225,.55); z-index: 9; }
/* start screen */
.ph-logo { position: absolute; top: 120px; left: 50%; margin-left: -38px; width: 76px; height: 76px; border-radius: 18px; background: var(--parch3); display: grid; place-items: center; font: 400 43px/1 var(--serif); color: var(--ink); padding-bottom: 10px; }
.ph-quote { position: absolute; top: 222px; left: 0; right: 0; text-align: center; font: 300 16px/1.25 var(--serif); color: var(--fog); }
.ph-moon { position: absolute; top: 320px; left: 50%; margin-left: -22px; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset -7px 0 0 0 rgba(240,235,225,.25); }
.ph-tabs { position: absolute; top: 452px; left: 0; right: 0; display: flex; justify-content: space-around; padding: 0 18px; font: 400 9px var(--ui); letter-spacing: .12em; color: rgba(148,142,136,.5); }
.ph-tabs .is-on { color: var(--ink); border-bottom: 1.5px solid var(--ink); padding-bottom: 4px; }
.ph-modesub { position: absolute; top: 480px; left: 0; right: 0; text-align: center; font: 400 8px var(--ui); color: var(--fog); }
.ph-go { position: absolute; top: 506px; left: 18px; right: 18px; height: 42px; border-radius: 12px; background: var(--stone); color: var(--parch); display: grid; place-items: center; font: 600 14px var(--serif); }
.ph-tabbar { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; background: var(--parch2); border-radius: 30px; padding: 5px; box-shadow: 0 0 0 1px rgba(240,235,225,.06); }
.ph-tabbar span { font: 400 7px var(--ui); color: var(--fog); width: 58px; height: 42px; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.ph-tabbar span.is-on { background: var(--parch3); color: var(--dawn); }
.ph-tabbar svg { width: 16px; height: 16px; fill: currentColor; }
/* search */
.ph-navtitle { position: absolute; top: 56px; left: 18px; right: 18px; font: 300 25px var(--serif); color: var(--ink); }
.ph-search { position: absolute; top: 104px; left: 16px; right: 16px; height: 36px; border-radius: 10px; background: var(--parch3); display: flex; align-items: center; gap: 8px; padding: 0 10px; font: 400 12px var(--ui); color: var(--ink); }
.ph-search::before { content: ''; width: 11px; height: 11px; border: 1.6px solid var(--fog); border-radius: 50%; box-shadow: 4px 4px 0 -3px var(--fog); }
.ph-caret { display: inline-block; width: 1.5px; height: 14px; background: #0A84FF; vertical-align: -2px; animation: s-blink 1s steps(1) infinite; }
@keyframes s-blink { 50% { opacity: 0; } }
.ph-search .ph-caret { margin-left: -8px; }
.ph-res { position: absolute; left: 16px; right: 16px; background: var(--parch2); border-radius: 12px; padding: 12px 14px; }
.ph-res .ph-res-d { font: 400 8px var(--ui); color: var(--fog); display: flex; justify-content: space-between; }
.ph-res .ph-res-t { font: 400 13px/1.35 var(--serif); color: var(--ink); margin-top: 5px; }
.ph-res mark { background: rgba(212,168,122,.3); color: var(--ink); border-radius: 2px; }
/* intention */
.ph-dimmed { position: absolute; inset: 0; filter: brightness(.6); }
.ph-dim { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.ph-sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--parch2); border-radius: 22px 22px 0 0; padding: 14px 18px 280px; }
.ph-grab { width: 36px; height: 5px; border-radius: 3px; background: rgba(148,142,136,.45); margin: 0 auto 14px; }
.ph-sheet-t { font: 600 14px var(--serif); text-align: center; }
.ph-field { margin-top: 16px; background: var(--parch3); border-radius: 12px; padding: 14px; min-height: 92px; font: 400 15px var(--serif); color: var(--ink); }
.ph-field-m { display: flex; justify-content: space-between; margin-top: 8px; font: 400 9px var(--ui); color: var(--fog); }
.ph-sheet-b { display: flex; gap: 10px; margin-top: 18px; }
.ph-sheet-b span { flex: 1; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 600 13px var(--serif); }
.ph-sheet-b .ph-btn-q { color: var(--fog); background: var(--parch3); }
.ph-btn-p { background: var(--stone); color: var(--parch); }
/* active walk */
.ph-mini { position: absolute; inset: 0 0 auto 0; height: 330px; width: 100%; }
.ph-mini-bg { fill: #1A1815; }
.ph-mini-puck { fill: var(--dawn); stroke: var(--parch); stroke-width: 2; }
.ph-mbtn { position: absolute; top: 58px; width: 34px; height: 34px; border-radius: 50%; background: rgba(38,33,24,.85); display: grid; place-items: center; color: var(--ink); font: 700 11px var(--ui); }
.ph-mbtn--l { left: 16px; }
.ph-mbtn--r { right: 16px; }
.ph-walk { position: absolute; left: 0; right: 0; bottom: 0; top: 316px; background: var(--parch); border-radius: 20px 20px 0 0; padding: 10px 0 0; text-align: center; }
.ph-walk .ph-grab { margin-bottom: 12px; }
.ph-timer { font: 400 39px/1 var(--ui); color: var(--ink); font-variant-numeric: tabular-nums; }
.ph-under { font: 400 10px var(--ui); color: var(--fog); margin-top: 6px; opacity: .75; }
.ph-row { display: flex; justify-content: space-around; margin-top: 16px; }
.ph-row div { width: 33%; }
.ph-row b { display: block; font: 400 16px var(--ui); color: var(--ink); font-variant-numeric: tabular-nums; }
.ph-row span { font: 400 10px var(--ui); color: var(--fog); }
.ph-row--t { margin-top: 12px; }
.ph-row--t b { font-size: 14px; }
.ph-row--t i { display: block; height: 15px; color: var(--fog); font-style: normal; font-size: 10px; }
.ph-row--t .is-act b, .ph-row--t .is-act i { color: var(--dawn); }
.ph-row--t .ph-talkcol.is-act b, .ph-row--t .ph-talkcol.is-act i { color: var(--rust); }
.ph-btns { display: flex; justify-content: center; gap: 16px; margin-top: 16px; }
.ph-ab { width: 76px; height: 76px; border-radius: 50%; border: 1.5px solid; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font: 400 10px var(--ui); }
.ph-ab.ph-med { border-color: var(--dawn); color: var(--dawn); }
.ph-ab.ph-rec { border-color: var(--rust); color: var(--rust); transition: background .3s, box-shadow .3s; }
.ph-ab.ph-end { border-color: rgba(148,142,136,.6); color: var(--fog); transition: background .3s; }
.ph-ab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.ph-ab.ph-end rect { fill: currentColor; stroke: none; opacity: .7; }
/* summary */
.ph-hdr { position: absolute; top: 58px; left: 0; right: 0; text-align: center; font: 600 14px var(--serif); }
.ph-done { position: absolute; top: 50px; right: 14px; padding: 6px 12px; border-radius: 18px; background: var(--parch2); font: 400 14px var(--ui); color: var(--stone); }
.ph-sum { position: absolute; top: 96px; left: 0; right: 0; bottom: 0; padding: 0 14px; overflow: hidden; }
.ph-sum--top { top: 90px; }
.ph-vignette { display: block; width: 250px; height: 250px; margin: 4px auto 0; border-radius: 50%; -webkit-mask: radial-gradient(closest-side, #000 70%, transparent); mask: radial-gradient(closest-side, #000 70%, transparent); }
.ph-card { background: var(--parch2); border-radius: 12px; padding: 12px 14px; margin-top: 6px; }
.ph-intent { text-align: center; font: 400 14px var(--serif); color: var(--ink); }
.ph-intent svg { display: block; margin: 0 auto 4px; width: 14px; height: 14px; stroke: var(--fog); fill: none; }
.ph-elev { margin-top: 8px; }
.ph-elev svg { width: 100%; height: 40px; display: block; }
.ph-elev div { display: flex; justify-content: space-between; font: 400 8px var(--ui); color: var(--fog); }
.ph-elev-f { fill: rgba(184,151,110,.25); }
.ph-elev-l { fill: none; stroke: #B8976E; stroke-width: 1.2; }
.ph-quote2 { text-align: center; font: 300 12px var(--serif); color: var(--fog); margin-top: 8px; }
.ph-big { text-align: center; font: 400 36px var(--ui); margin-top: 6px; }
.ph-stats3 { display: flex; justify-content: space-around; text-align: center; margin-top: 10px; }
.ph-stats3 b { display: block; font: 400 16px var(--ui); }
.ph-stats3 span { font: 400 9px var(--ui); color: var(--fog); }
.ph-wx { text-align: center; font: 400 9px var(--ui); color: var(--fog); margin-top: 8px; }
/* voice card */
.ph-vh { display: flex; align-items: center; gap: 8px; font: 400 15px var(--serif); }
.ph-vh em { margin-left: auto; font: 400 11px var(--ui); color: var(--fog); font-style: normal; }
.ph-vr { margin-top: 10px; border-top: 1px solid rgba(240,235,225,.06); padding-top: 10px; }
.ph-vr .ph-vr-top { display: flex; align-items: center; gap: 8px; font: 400 9px var(--ui); color: var(--fog); }
.ph-play { width: 26px; height: 26px; border-radius: 50%; background: var(--parch3); display: grid; place-items: center; color: var(--stone); font-size: 7px; }
.ph-wave { flex: 1; height: 18px; background: repeating-linear-gradient(90deg, var(--fog) 0 2px, transparent 2px 5px); opacity: .45; clip-path: polygon(0 40%,10% 10%,20% 55%,30% 0,40% 45%,50% 20%,60% 60%,70% 5%,80% 50%,90% 30%,100% 45%,100% 100%,0 100%); }
.ph-tb { font: 400 9px var(--ui); color: var(--stone); border: 1px solid rgba(184,151,110,.4); border-radius: 12px; padding: 3px 8px; white-space: nowrap; }
.ph-tx { margin-top: 8px; background: var(--parch3); border-radius: 8px; padding: 8px 10px; font: 400 11px/1.35 var(--serif); color: var(--ink); min-height: 0; }
.ph-gen { display: flex; align-items: center; gap: 10px; }
.ph-gen div { flex: 1; }
.ph-gen b { display: block; font: 400 15px var(--serif); }
.ph-gen span { font: 400 9px var(--ui); color: var(--fog); }
.ph-gen i { font-style: normal; color: var(--fog); font-size: 15px; }
.ph-gen .ph-gen-q { font-size: 15px; color: var(--stone); }
/* prompt list */
.ph-pl { position: absolute; top: 100px; left: 14px; right: 14px; }
.ph-pr { display: flex; align-items: center; gap: 12px; background: var(--parch2); border-radius: 12px; padding: 11px 12px; margin-bottom: 8px; transition: background .3s, box-shadow .3s; }
.ph-pr .ph-ico { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--parch3); display: grid; place-items: center; color: var(--stone); }
.ph-pr .ph-ico:empty::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ph-pr b { display: block; font: 400 14px var(--serif); }
.ph-pr span { font: 400 9px var(--ui); color: var(--fog); }
.ph-pr div { flex: 1; }
.ph-pr i { color: var(--fog); font-style: normal; }
.ph-pr.is-sel { background: var(--parch3); box-shadow: 0 0 0 1.5px var(--dawn); }
.ph-pr--own .ph-ico { background: none; color: var(--stone); }
/* prompt detail */
.ph-pd { position: absolute; top: 96px; left: 18px; right: 18px; bottom: 170px; overflow: hidden; -webkit-mask: linear-gradient(#000 80%, transparent); mask: linear-gradient(#000 80%, transparent); }
.ph-pd pre { white-space: pre-wrap; margin: 0; font: 400 11px/1.42 var(--serif); color: var(--ink); }
.ph-pact { position: absolute; left: 0; right: 0; bottom: 0; height: 170px; border-top: 1px solid rgba(148,142,136,.2); padding: 12px 18px; }
.ph-pact .ph-two { display: flex; gap: 10px; }
.ph-pact .ph-two span { flex: 1; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 600 13px var(--serif); }
.ph-two .ph-btn-q { background: var(--parch3); color: var(--ink); }
.ph-paste { text-align: center; font: 400 9px var(--ui); color: var(--fog); margin-top: 14px; }
.ph-pills { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.ph-pills span { padding: 7px 14px; border-radius: 16px; background: var(--parch2); font: 400 11px var(--ui); }
.ph-pills span.is-hl { box-shadow: 0 0 0 1.5px var(--dawn); }

/* letter */
.s-letter { position: absolute; left: 64%; top: 50%; width: min(520px, 86vw); transform: translate(-50%, -44%) rotate(-1.2deg); background: #F3EDE2; color: #2C241E; border-radius: 4px; padding: 38px 44px; font: italic 400 21px/1.55 var(--serif); box-shadow: 0 30px 80px rgba(0,0,0,.55); opacity: 0; transition: opacity .7s, transform .7s; pointer-events: none; }
.s-letter.is-on { opacity: 1; transform: translate(-50%, -50%) rotate(-1.2deg); }
.s-letter .s-letter-fr { font: 700 10px var(--ui); letter-spacing: .2em; color: #9C6B4E; font-style: normal; margin-bottom: 14px; }
.s-letter mark { background: none; color: inherit; border-bottom: 2px solid #D4A87A; }

/* cards */
.s-cards { position: relative; z-index: 5; margin-top: -100vh; margin-top: -100svh; pointer-events: none; }
.s-card { min-height: 100vh; display: flex; align-items: center; padding: 0 0 0 7vw; }
.s-c { pointer-events: auto; max-width: 430px; background: rgba(21,19,15,.84); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(240,235,225,.07); border-radius: 14px; padding: 22px 26px; }
.s-c .s-k { font: 700 11px var(--ui); letter-spacing: .2em; color: var(--dawn); margin-bottom: 10px; text-transform: uppercase; }
.s-c p { font: 400 19px/1.6 var(--serif); margin: 0 0 12px; color: #E8E1D5; }
.s-c p:last-child { margin-bottom: 0; }
.s-c .w-note { font: 400 12px/1.5 var(--ui); color: var(--fog); border-top: 1px solid rgba(240,235,225,.08); padding-top: 10px; margin-top: 12px; }
.s-c .w-note p { font: inherit; color: inherit; margin: 0; }
.s-c .w-note .w-note-path { color: var(--stone); }
.s-c .w-note .w-note-android { margin-top: 6px; font-style: italic; }
.s-c .w-sound { font: 400 15px var(--ui); color: var(--ink); background: none; border: 1px solid rgba(184,151,110,.5); border-radius: 16px; padding: 3px 12px; cursor: pointer; }
.s-c .w-sound:hover, .s-c .w-sound:focus-visible { color: var(--dawn); border-color: var(--dawn); }
.s-c .w-note--cross a { color: var(--dawn); text-decoration: underline; text-decoration-color: rgba(212,168,122,.4); text-underline-offset: 3px; }
.s-c .w-note--cross a:hover, .s-c .w-note--cross a:focus-visible { text-decoration-color: var(--dawn); }
.s-card--hero .s-c { background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; max-width: 560px; }
.s-card--hero h1 { font: 300 clamp(40px, 5.6vw, 72px)/1.02 var(--serif); margin: 12px 0 18px; }
.s-card--hero .s-meta { font: 400 13px/1.9 var(--ui); color: var(--fog); letter-spacing: .03em; }
.s-card--hero .s-meta b { color: var(--ink); font-weight: 400; }
.s-card--hero .w-turning { margin: 10px 0 0; font: 400 12px var(--ui); letter-spacing: .04em; }
.s-card--hero .w-turning a { color: var(--w-accent); pointer-events: auto; }
.s-card--hero .w-turning a:hover, .s-card--hero .w-turning a:focus-visible { color: var(--w-ink); }
.s-card--hero .s-cue { margin-top: 34px; font: 400 11px var(--ui); letter-spacing: .2em; color: var(--fog); text-transform: uppercase; }
.s-c em { font-style: italic; color: var(--ink); }
.s-card--letter .w-reply { margin: 0; }
.s-card--letter blockquote { margin: 0; }
.s-card--letter blockquote p { font-style: italic; white-space: pre-line; }
/* The stage shows the letter; the reading flow keeps its copy for screen readers. */
.s-stage.is-live ~ .s-cards .s-card--letter .w-reply { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* close */
.s-close { position: relative; z-index: 6; background: var(--w-bg); padding: 110px max(7vw, calc((100% - 1200px) / 2)) 70px; border-top: 1px solid rgba(240,235,225,.06); display: grid; grid-template-columns: 260px 1fr 1fr; gap: 56px; align-items: start; }
.s-seal svg { width: 220px; height: 220px; }
.s-seal p { font: 400 12px var(--ui); color: var(--fog); margin-top: 8px; }
.s-seal .w-moon-shadow { fill: var(--w-bg); }
.s-tom h2 { font: 700 11px var(--ui); letter-spacing: .2em; color: var(--dawn); text-transform: uppercase; }
.s-tom ol { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: t; }
.s-tom li { counter-increment: t; display: flex; gap: 12px; font: 400 20px/1.45 var(--serif); margin-bottom: 12px; }
.s-tom li::before { content: counter(t); font: 700 11px var(--ui); color: var(--dawn); border: 1px solid var(--dawn); border-radius: 50%; width: 24px; height: 24px; display: grid; place-items: center; flex: none; margin-top: 3px; }
.s-badges { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.s-badges .app-store-badge, .s-badges .google-play-badge { display: inline-flex; align-items: center; gap: .625rem; background: var(--ink); color: var(--parch); border-radius: 8px; padding: .625rem 1.25rem; font-family: var(--ui); font-size: .8125rem; line-height: 1.2; transition: opacity .2s; }
.s-badges .app-store-badge:hover, .s-badges .google-play-badge:hover { opacity: .8; }
.s-badges .app-store-badge-icon { font-size: 1.25rem; line-height: 1; }
.s-badges .google-play-badge-icon { width: 1.125rem; height: 1.125rem; }
.s-badges .app-store-badge-text, .s-badges .google-play-badge-text { display: flex; flex-direction: column; text-align: left; }
.s-badges .app-store-badge-sub, .s-badges .google-play-badge-sub { font-size: .625rem; opacity: .8; }
.s-badges .app-store-badge-name, .s-badges .google-play-badge-name { font-size: 1rem; font-weight: 700; }
.s-turn { display: grid; gap: 12px; }
.s-tc { display: block; border: 1px solid rgba(240,235,225,.1); border-radius: 12px; padding: 14px 16px; transition: border-color .3s, background .3s; }
body.walker .s-tc { border-bottom: 1px solid rgba(240,235,225,.1); }
body.walker .s-tc:hover { border-color: rgba(212,168,122,.5); background: rgba(240,235,225,.02); }
.s-tc svg { width: 100%; height: 64px; display: block; }
.s-tc path { fill: none; stroke: #C9C1B6; stroke-width: 1.6; }
.s-tc .s-tc-d { font: 700 10px var(--ui); letter-spacing: .2em; color: var(--dawn); }
.s-tc .s-tc-t { display: block; font: 400 20px var(--serif); margin-top: 4px; }
.s-all { display: inline-block; margin-top: 8px; font: 400 12px var(--ui); letter-spacing: .15em; color: var(--fog); text-transform: uppercase; }
body.walker .s-all:hover { color: var(--stone); }
.s-close .w-composite { grid-column: 1 / -1; margin-top: 4px; font: italic 400 15px var(--serif); color: #7D766E; }
.s-close .s-osm-close { grid-column: 1 / -1; margin-top: -40px; font: 400 10px var(--ui); color: #5f5850; }

/* The full prompt, as the app wrote it, after the story. */
.w-ritual-full .w-ingredients { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.w-ritual-full .w-ingredients li { font: 400 12px var(--ui); letter-spacing: .04em; color: var(--w-muted); border: 1px solid rgba(240,235,225,.12); border-radius: 14px; padding: 4px 12px; }
.w-ritual-full .w-prompt-full { margin-top: 22px; }
.w-ritual-full summary { cursor: pointer; font: 400 12px var(--ui); letter-spacing: .15em; text-transform: uppercase; color: var(--fog); }
.w-ritual-full summary:hover { color: var(--stone); }
.w-ritual-full pre { margin-top: 16px; }

/* No JS: the whole route and every pin, the phone hidden, cards as an article. */
.s-stage:not(.is-live) .s-walk { stroke-dasharray: none; }
.s-stage:not(.is-live) .s-pin,
.s-stage:not(.is-live) .s-talk,
.s-stage:not(.is-live) .s-med { opacity: 1; }
.s-stage:not(.is-live) .s-phone,
.s-stage:not(.is-live) .s-bubble,
.s-stage:not(.is-live) .s-letter,
.s-stage:not(.is-live) .s-hud,
.s-stage:not(.is-live) .s-puck,
.s-stage:not(.is-live) .s-light,
.s-stage:not(.is-live) .s-puck-h { display: none; }

.ph-sc { position: absolute; inset: 0; opacity: 0; transition: opacity .45s; pointer-events: none; }
.ph-sc.is-on { opacity: 1; }
.s-phone.is-off { opacity: 0; transform: translateY(-46%) scale(var(--ps, 1)); }
.ph-rec.is-live { background: rgba(196,126,99,.18); box-shadow: 0 0 0 7px rgba(196,126,99,.12); }
.ph-end.is-pressed { background: rgba(148,142,136,.25); }
.ph-tb.is-done { visibility: hidden; }
.w-ritual-full { max-width: 40rem; margin: 0 auto; padding: 60px 16px 56px; color: var(--w-muted); }
.w-ritual-full h2 { font: 400 1.4rem 'Cormorant Garamond', serif; color: var(--w-ink); }
.w-ritual-full pre { white-space: pre-wrap; font: 400 .9rem/1.5 'Cormorant Garamond', serif; }
/* The column stays 40rem; the ground runs edge to edge so the map never shows beside it. */
.w-ritual-full { position: relative; z-index: 6; max-width: none; background: var(--w-bg); border-top: 1px solid rgba(240,235,225,.06); padding-inline: max(16px, calc((100% - 40rem) / 2)); }

@media (max-width: 819.98px) {
  .s-phone { right: 50%; top: auto; bottom: 56px; transform: translateX(50%) scale(.5); transform-origin: center bottom; }
  .s-phone.is-off { transform: translateX(50%) translateY(30px) scale(.5); }
  /* Text passes, then the picture rests: at least 55svh of map and phone
     between one card's text and the next. */
  .s-card { min-height: 100vh; min-height: 100svh; padding: 12vh 16px 55vh; padding: 12svh 16px 55svh; align-items: flex-start; }
  .s-c { max-width: none; }
  .s-hud { left: 16px; right: 16px; bottom: 12px; }
  .s-hud .s-hmeta { display: none; }
  .s-close { grid-template-columns: 1fr; padding: 70px 20px 50px; }
  .s-close .s-osm-close { margin-top: 0; }
  .s-seal { justify-self: center; text-align: center; }
  .s-osm { bottom: auto; top: 12px; right: 16px; }
  .s-letter { left: 50%; top: 56%; padding: 26px 24px; font-size: 18px; }
  /* max-content, so its width never depends on how far from the edge it is placed (the driver measures it once). */
  .s-bubble { width: max-content; max-width: 220px; font-size: 15px; }
  /* A phone's overview spans many metres a pixel: the ghost keeps a screen width. */
  .s-ghost { vector-effect: non-scaling-stroke; stroke-width: 2.5px; stroke-dasharray: 1px 6px; }
  /* The close carries its own link to all twelve; the pill would cover its seal. */
  body.walker-story .walkers-back { transition: opacity .4s, visibility 0s; }
  body.walker-story .walkers-back.is-away { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .4s, visibility 0s .4s; }
}

@media (prefers-reduced-motion: reduce) {
  .s-fog i, .s-wx i, .s-pin.is-live .s-pin-pulse, .ph-caret { animation: none; }
  .s-phone, .ph-sc, .s-letter { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  .s-pin--med .s-breathe { animation: none; transform: scale(.75); }
}
body.walker-story .almanac-footer { border-top-color: rgba(240, 235, 225, 0.18); color: var(--w-muted); }
body.walker-story .almanac-footer .almanac-index a { color: var(--w-muted); }
body.walker-story .almanac-footer .almanac-index a:hover,
body.walker-story .almanac-footer .almanac-index a:focus-visible { color: var(--w-ink); border-bottom-color: var(--w-ink); }

/* The footer and the fixed back link both sit over the pinned stage. */
body.walker-story .almanac-footer { position: relative; z-index: 6; background: var(--w-bg); margin: 0; }
body.walker-story .walkers-back {
  top: calc(1.5rem - 0.4rem); left: calc(1.5rem - 0.7rem);
  padding: 0.4rem 0.7rem; border-radius: 999px;
  background: color-mix(in srgb, var(--w-bg) 78%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* walk screen variants: the minimized sheet, Honor, Seek, the turning kanji */
.ph-mini--full { height: 100%; }
.ph-mini--full .ph-mini-puck { r: 3.5px; stroke-width: 1px; }
.ph-row--t .ph-medcol.is-act i { color: var(--rust); }
.ph-walk--min { top: auto; padding: 8px 14px 30px; }
.ph-walk--min .ph-grab { margin-bottom: 4px; opacity: .6; }
.ph-row--min { margin-top: 6px; justify-content: space-between; }
.ph-row--min div { width: auto; }
.ph-fog { fill: #8A8175; fill-opacity: .4; }
.ph-fog-halo { fill: #C4956A; fill-opacity: .12; }
.ph-companion { fill: #D9CFBF; fill-opacity: .85; }
.ph-greet { position: absolute; top: 115px; left: 0; right: 0; text-align: center; font: italic 400 14px var(--serif); color: rgba(240,235,225,.5); }
.ph-kanji { position: absolute; left: 0; right: 0; bottom: calc(100% + 22px); text-align: center; font: 300 15px system-ui, sans-serif; color: rgba(184,151,110,.18); }
.ph-hcard { position: absolute; left: 14px; right: 14px; bottom: calc(100% + 8px); background: var(--parch2); border-radius: 10px; padding: 13px 14px; text-align: left; }
.ph-hcard b { display: block; font: 600 14px var(--serif); color: var(--ink); }
.ph-hcard span { display: block; margin-top: 6px; font: 400 14px var(--serif); color: var(--fog); }
.ph-hcard small { display: block; margin-top: 6px; font: 400 10px var(--ui); color: var(--fog); }
.ph-hcard em { display: block; margin-top: 6px; font: 700 14px var(--ui); font-style: normal; color: var(--stone); }

/* Walk Options and the placement sheets */
.ph-osheet { position: absolute; left: 0; right: 0; bottom: 0; top: 330px; background: rgba(28,25,20,.95); border-radius: 22px 22px 0 0; padding: 10px 14px 0; overflow: hidden; }
.ph-osheet--large { top: 54px; }
.ph-osheet .ph-sheet-t { font-weight: 600; font-size: 14px; color: rgba(240,235,225,.8); margin-top: 6px; }
.ph-orows { margin-top: 18px; display: flex; flex-direction: column; gap: 5px; }
.ph-orow { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 10px; background: rgba(38,33,24,.3); }
.ph-orow b { display: block; font: 400 14px var(--serif); color: rgba(240,235,225,.9); }
.ph-orow span { display: block; font: 400 10px var(--ui); color: rgba(148,142,136,.5); }
.ph-orow div { flex: 1; }
.ph-orow i { font-style: normal; color: rgba(148,142,136,.3); }
.ph-orow.is-off { opacity: .4; }
.ph-oi { width: 23px; height: 18px; flex: none; fill: none; stroke: var(--moss); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ph-ocap { font: 400 10px var(--ui); color: rgba(148,142,136,.5); margin: 7px 0 0 4px; }
.ph-orow--vol { display: block; }
.ph-vol { display: flex; justify-content: space-between; }
.ph-vol b { display: inline; }
.ph-vol span { display: inline; color: var(--fog); }
.ph-slider { margin-top: 8px; height: 3px; border-radius: 2px; background: var(--parch3); position: relative; }
.ph-slider s { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; background: var(--stone); border-radius: 2px; }
.ph-switch { width: 38px; height: 22px; border-radius: 11px; background: var(--stone); position: relative; }
.ph-switch::after { content: ''; position: absolute; right: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #F0EBE1; }
.ph-expiry { display: flex; gap: 6px; margin-top: 5px; }
.ph-expiry span { position: relative; flex: 1; text-align: center; padding: 8px 0; border-radius: 7px; background: var(--parch2); color: var(--fog); font: 400 10px var(--ui); overflow: hidden; }
.ph-expiry span.is-sel { background: var(--stone); color: var(--parch); }
.ph-expiry i { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); font: 200 33px system-ui, sans-serif; font-style: normal; color: rgba(148,142,136,.06); }
.ph-expiry .is-sel i { color: rgba(28,25,20,.12); }
.ph-energies { display: flex; flex-direction: column; gap: 4px; margin-top: 5px; }
.ph-en { display: flex; align-items: center; gap: 10px; padding: 7px 13px; border-radius: 7px; background: rgba(38,33,24,.2); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--en) 40%, transparent); }
.ph-en .ph-oi { stroke: var(--en); width: 20px; height: 17px; }
.ph-en b { font: 400 14px var(--serif); color: rgba(240,235,225,.9); }
.ph-en.is-sel { background: rgba(38,33,24,.5); box-shadow: inset 0 0 0 2px var(--en); }
.ph-en-ck { margin-left: auto; width: 11px; height: 11px; fill: none; stroke: var(--stone); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ph-opriv { margin: 10px 0 0; text-align: center; font: 400 10px/1.35 var(--ui); color: rgba(148,142,136,.4); }
.ph-obtn { margin-top: 10px; padding: 11px 0; border-radius: 10px; text-align: center; font: 700 14px var(--ui); background: var(--stone); color: var(--parch); }
.ph-obtn.is-off { background: rgba(148,142,136,.3); color: var(--fog); }
.ph-stone { text-align: center; margin-top: 14px; }
.ph-cairn { display: block; width: 79px; height: 79px; margin: 0 auto 8px; }
.ph-cairn--new { width: 92px; height: 92px; opacity: .4; }
.ph-count b { font: 300 23px var(--serif); color: var(--ink); }
.ph-count span { font: 400 10px var(--ui); color: var(--fog); }
.ph-obody { margin: 8px 0 0; font: 400 14px var(--serif); color: rgba(240,235,225,.7); }
.ph-osub { margin: 8px 0 0; font: 400 10px var(--ui); color: var(--fog); }
.ph-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 18px; }
.ph-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 0; border-radius: 10px; background: rgba(38,33,24,.4); font: 400 10px var(--ui); color: rgba(240,235,225,.8); }
.ph-chip .ph-oi { stroke: var(--stone); width: 20px; height: 20px; }
.ph-chip.is-sel { box-shadow: 0 0 0 1.5px var(--dawn); }
.ph-note { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(38,33,24,.5); font: 400 14px var(--serif); color: var(--ink); }
.ph-note .ph-ph { color: rgba(148,142,136,.6); }
.ph-note em { font: 700 14px var(--ui); font-style: normal; color: rgba(148,142,136,.3); }
.ph-note em.is-on { color: var(--stone); }
.ph-notecount { text-align: right; margin-top: 6px; font: 400 10px var(--ui); color: rgba(148,142,136,.5); }
.ph-ocancel { position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; font: 700 14px var(--ui); color: var(--fog); }

/* Meditation: the orb, and its options sheet */
.ph-m { position: absolute; inset: 0; background: #1F1D17; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 0 107px; }
.ph-orb { position: relative; width: 105px; aspect-ratio: 1; margin: 78px 0 91px; }
.ph-orb::before { content: ''; position: absolute; inset: -33px; border-radius: 50%; border: 1px solid rgba(149,168,136,.25); background: radial-gradient(circle, rgba(149,168,136,.16), rgba(149,168,136,0) 70%); }
.ph-orb i { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #7F9576, #5A6A52 75%); }
.ph-mcount { font: 400 10px var(--ui); color: rgba(148,142,136,.4); }
.ph-mtime { margin-top: 7px; font: 400 16px var(--ui); color: var(--fog); font-variant-numeric: tabular-nums; }
.ph-msound { margin-top: 7px; font: 400 10px var(--ui); color: rgba(148,142,136,.35); }
.ph-mdone { position: absolute; bottom: 61px; padding: 11px 39px; border: 1px solid rgba(148,142,136,.3); border-radius: 999px; font: 700 14px var(--ui); color: var(--fog); }
.ph-mrow { display: flex; align-items: center; justify-content: space-between; margin-top: 3px; padding: 8px 16px; border-radius: 8px; }
.ph-mrow.is-sel { background: rgba(149,168,136,.08); }
.ph-mrow b { display: block; font: 400 14px var(--serif); color: rgba(240,235,225,.9); }
.ph-mrow em { margin-left: 8px; font: 400 10px var(--ui); font-style: normal; color: rgba(148,142,136,.4); }
.ph-mrow span { display: block; margin-top: 2px; font: 400 10px var(--ui); color: rgba(148,142,136,.35); }
.ph-tick { width: 12px; height: 12px; flex: none; fill: none; stroke: var(--moss); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ph-mdiv { height: 1px; margin: 8px 16px 2px; background: rgba(148,142,136,.2); }
.ph-mrow.is-off b { color: rgba(240,235,225,.4); }
.ph-tick--dl { stroke: rgba(148,142,136,.3); }
.ph-mmore { position: absolute; left: 50%; bottom: -107px; width: 44px; height: 44px; margin-left: -22px; display: flex; align-items: center; justify-content: center; }
.ph-mmore svg { width: 16px; height: 4px; fill: rgba(148,142,136,.4); }
.ph-mlist { position: absolute; left: 14px; right: 14px; top: 62px; bottom: 0; overflow: hidden; }
.ph-mscroll.is-scrolled { transform: translateY(-420px); }

/* Honor's ways, the pilgrimage pages and Seek's question */
.ph-osheet--nest { top: 74px; background: #1C1914; }
.ph-osheet--solid { background: var(--parch); }
.ph-hbar { position: relative; height: 28px; margin-top: 6px; }
.ph-hbar .ph-sheet-t { margin: 0; padding: 0 70px; line-height: 28px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-hbar em, .ph-hbar .ph-hmore { position: absolute; top: 0; line-height: 28px; font: 700 11px var(--ui); font-style: normal; text-decoration: none; color: var(--stone); }
.ph-hbar em { left: 2px; }
.ph-hbar .ph-hmore { right: 4px; font-size: 14px; letter-spacing: 1px; }
.ph-hlist { position: absolute; left: 14px; right: 14px; top: 46px; bottom: 0; overflow: hidden; }
.ph-hlist .ph-orow { margin-top: 4px; }
.ph-hlist .ph-ph { color: rgba(148,142,136,.6); }
.ph-hopen { color: var(--stone) !important; font: 700 12px var(--ui) !important; }
.ph-hfoot { margin: 6px 4px 0; font: 400 10px/1.35 var(--ui); color: rgba(148,142,136,.7); }
.ph-hsum { margin: 12px 4px 0; font: 400 14px/1.3 var(--serif); color: rgba(240,235,225,.9); }
.ph-hdim { margin: 6px 4px 0; font: 400 10px var(--ui); color: rgba(148,142,136,.5); }
.ph-hfacts { margin: 6px 4px 8px; font: 400 10px var(--ui); color: var(--fog); }
.ph-obtn.is-fog { background: var(--fog); color: var(--parch); }
.ph-hmaps { margin-top: 8px; padding: 10px 0; border-radius: 10px; text-align: center; font: 700 12px var(--ui); color: var(--stone); background: rgba(184,151,110,.12); }
.ph-hstage { display: flex; gap: 8px; padding: 7px 4px; }
.ph-hstage i { flex: none; width: 8px; height: 8px; margin-top: 5px; border: 1.4px solid var(--stone); border-radius: 50%; }
.ph-hstage b { display: block; font: 400 14px var(--serif); color: rgba(240,235,225,.9); }
.ph-hstage span { display: block; margin-top: 2px; font: 400 10px var(--ui); color: rgba(148,142,136,.7); }
.ph-hcat { display: flex; gap: 10px; padding: 8px 4px; }
.ph-hplate { flex: none; width: 34px; height: 34px; border-radius: 6px; background: var(--parch3); display: grid; place-items: center; font: 600 15px var(--serif); color: var(--stone); }
.ph-hcat b { display: block; font: 400 14px var(--serif); color: rgba(240,235,225,.9); }
.ph-hcat span:not(.ph-hplate) { display: block; margin-top: 2px; font: 400 10px var(--ui); color: rgba(148,142,136,.7); }
.ph-hcat .ph-hdim { margin: 2px 0 0; color: rgba(148,142,136,.5); }
.ph-mcard { margin-top: 14px; padding: 0 4px; }
.ph-mtheme { font: 300 23px var(--serif); color: var(--ink); }
.ph-mnarr { margin: 12px 0 0; font: 400 14px/1.3 var(--serif); color: var(--ink); }
.ph-mcard .ph-hfoot { margin: 10px 0 0; font-size: 10px; }
.ph-mwalk { position: absolute; left: 14px; right: 14px; bottom: 30px; padding: 10px 0; border-radius: 10px; text-align: center; font: 700 14px var(--ui); background: var(--stone); color: var(--parch); }
.ph-osheet--seek { top: 290px; padding: 10px 20px 0; }
.ph-dur-t { margin-top: 6px; color: rgba(240,235,225,.8); }
.ph-durs { margin-top: 14px; }
.ph-dur { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 11px 14px; border-radius: 10px; background: rgba(38,33,24,.4); }
.ph-dur.is-sel { background: rgba(38,33,24,.7); }
.ph-dur b { font: 400 14px var(--serif); color: rgba(240,235,225,.7); }
.ph-dur.is-sel b { color: var(--ink); }
.ph-tick--stone { stroke: var(--stone); }
.ph-dur-note { margin: 12px 0 0; text-align: center; font: 400 10px/1.35 var(--ui); color: var(--fog); }
.ph-dur-b { position: absolute; left: 20px; right: 20px; bottom: 34px; display: flex; justify-content: space-between; align-items: center; font: 700 14px var(--ui); }
.ph-dur-b span { color: var(--fog); }
.ph-dur-b em { font-style: normal; color: var(--stone); }
.ph-seek-line { fill: none; stroke: var(--stone); stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
/* summary sections and keepsakes */
.ph-stk { padding-top: 6px; }
.ph-stk > * + * { margin-top: 10px; }
.ph-stk > .ph-card:first-child { margin-top: 0; }
.ph-ic { width: 16px; height: 16px; fill: none; stroke: var(--stone); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ph-sh { display: flex; align-items: center; gap: 8px; }
.ph-sh b { font: 600 14px var(--serif); color: var(--ink); }
.ph-sline { font: 400 10px/1.4 var(--ui); color: var(--fog); margin-top: 4px; }
.ph-sline--b { font: 400 14px/1.3 var(--serif); margin-top: 6px; }
.ph-sline--i { font-style: italic; }
.ph-sline--gap { margin-top: 10px; }
.ph-tcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ph-tc { background: var(--parch2); border-radius: 12px; padding: 10px 4px; text-align: center; }
.ph-tc .ph-ic { display: block; margin: 0 auto 4px; width: 18px; height: 18px; }
.ph-tc b { display: block; font: 400 15px var(--ui); color: var(--ink); }
.ph-tc span { font: 400 10px var(--ui); color: var(--fog); }
.ph-markcard { text-align: center; }
.ph-markcard .ph-sline { margin-top: 0; }
.ph-mks { display: flex; justify-content: center; gap: 22px; margin-top: 10px; }
.ph-mk { font: 400 9px var(--ui); color: var(--fog); }
.ph-mk i { display: grid; place-items: center; width: 38px; height: 38px; margin: 0 auto 4px; border-radius: 50%; background: rgba(148,142,136,.15); }
.ph-mk svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; stroke-width: .6; stroke-linejoin: round; }
.ph-mk.is-sel { color: var(--ink); }
.ph-mk.is-sel i { background: var(--stone); color: var(--parch); }
.ph-rel { margin-top: 8px; }
.ph-rel .ph-sh { padding: 0 2px; }
.ph-relrow { display: flex; gap: 8px; margin-top: 8px; padding: 0 2px; }
.ph-tile { position: relative; flex: none; width: 72px; height: 72px; border-radius: 7px; background: var(--parch2); }
.ph-tile.is-act { transform: scale(1.05); }
.ph-pinbtn { position: absolute; inset: 0; margin: auto; width: 36px; height: 36px; border-radius: 50%; background: rgba(28,25,20,.85); display: grid; place-items: center; }
.ph-pinbtn .ph-ic { width: 20px; height: 20px; stroke-width: 1.6; }
.ph-hon b { display: block; font: 600 14px var(--serif); color: var(--ink); margin-top: 6px; }
.ph-hon p { margin: 10px 0 0; font: 300 23px/1.2 var(--serif); color: var(--ink); }
.ph-seekc .ph-sh { gap: 6px; }
.ph-clearing-ic { width: 22px; height: 22px; filter: invert(.62) sepia(.3) saturate(.9); }
.ph-clr { margin-top: 10px; }
.ph-clr b { display: block; font: 400 14px var(--serif); color: var(--ink); margin-top: 0; }
.ph-clr-r { display: flex; justify-content: space-between; align-items: baseline; }
.ph-clr-r span { font: 400 10px var(--ui); color: var(--fog); }
.ph-lr { text-align: center; padding: 14px; border-radius: 12px; background: var(--parch); }
.ph-lr p { margin: 8px 12px; font: 400 14px/1.35 var(--serif); color: var(--ink); }
.ph-lr em { font: italic 400 11px var(--ui); color: rgba(148,142,136,.6); }
.ph-shc hr { border: 0; height: .5px; background: rgba(148,142,136,.15); margin: 12px 20px; }
.ph-shrow { display: flex; justify-content: center; gap: 28px; }
.ph-shb { text-align: center; font: 400 11px var(--ui); color: var(--stone); }
.ph-shb i { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 4px; border-radius: 50%; background: rgba(184,151,110,.08); box-shadow: inset 0 0 0 1px rgba(184,151,110,.2); }
.ph-shb i .ph-ic { width: 22px; height: 22px; }
.ph-shb span { display: block; font-size: 9px; color: var(--fog); }
.ph-shared { position: relative; text-align: center; }
.ph-kanji-wm { position: absolute; inset: 0; display: grid; place-items: center; font: 200 100px system-ui, sans-serif; color: rgba(184,151,110,.07); }
.ph-shared > * { position: relative; }
.ph-shared > .ph-kanji-wm { position: absolute; }
.ph-shared small { display: block; font: 400 9px var(--ui); letter-spacing: .15em; color: var(--stone); }
.ph-url { font: 400 12px var(--ui); color: var(--stone); margin-top: 4px; }
.ph-url i { font-style: normal; color: rgba(184,151,110,.4); margin-left: 4px; }
.ph-shared em { display: block; font: italic 400 11px var(--ui); color: var(--fog); margin-top: 4px; }
.ph-shbtns { display: flex; gap: 8px; margin-top: 12px; }
.ph-shbtns span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 9px 0; border-radius: 8px; font: 600 12px var(--ui); }
.ph-shbtns .ph-cp { color: var(--stone); box-shadow: inset 0 0 0 1px rgba(184,151,110,.35); }
.ph-shbtns .ph-sh2 { background: var(--stone); color: var(--parch); }
.ph-shbtns .ph-sh2 .ph-ic { stroke: var(--parch); }
.ph-pcw { width: 200px; margin: 0 auto; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.ph-pc { display: block; width: 100%; height: auto; }
.ph-pc-t { font: 300 46px 'Cormorant Garamond', Georgia, serif; }
.ph-pc-s { font: 400 16px Lato, system-ui, sans-serif; }
.ph-gchips { display: flex; gap: 4px; margin-top: 8px; }
.ph-gchips b { display: flex; align-items: center; gap: 3px; font: 400 10px var(--ui); color: var(--fog); padding: 5px 6px; border-radius: 12px; white-space: nowrap; }
.ph-gchips svg { width: 9px; height: 9px; fill: currentColor; }
.ph-sum--book { display: flex; flex-direction: column; padding-bottom: 70px; }
.ph-sum--book .ph-gpage { margin: auto 0; }
.ph-gchips b.is-on { background: rgba(184,151,110,.15); color: var(--stone); }
.ph-gpage { margin-top: 12px; padding: 16px 14px 20px; border-radius: 12px; background: var(--parch2); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-height: 160px; }
.ph-gcell { text-align: center; font: 400 11px var(--ui); color: var(--fog); }
.ph-gdisc { position: relative; width: 120px; height: 120px; margin: 0 auto 4px; border-radius: 50%; background: rgba(240,235,225,.04); display: grid; place-items: center; }
.ph-gdisc .seal-svg { width: 116px; height: 116px; border-radius: 50%; }
.ph-ringed::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(212,168,122,.5); }
.ph-gshare { position: absolute; left: 0; right: 0; bottom: 36px; text-align: center; font: 600 14px var(--ui); color: var(--stone); }

/* Share Walk and the prompt-style editor */
.ph-cancel { position: absolute; top: 50px; left: 14px; padding: 6px 14px; font: 400 15px var(--ui); color: var(--stone); }
.ph-save { position: absolute; top: 50px; right: 14px; padding: 6px 14px; font: 400 15px var(--ui); color: var(--stone); }
.ph-save.is-off { opacity: .4; }
.ph-sv { padding-top: 4px; }
.ph-sl { margin: 14px 0 6px 2px; font: 400 9px var(--ui); letter-spacing: 1.5px; text-transform: uppercase; color: var(--fog); }
.ph-sv > .ph-sl:first-child { margin-top: 0; }
.ph-rthumb { height: 128px; border-radius: 12px; background: var(--parch2); padding: 9px 20px; }
.ph-rthumb svg { display: block; width: 100%; height: 100%; }
.ph-rl { fill: none; stroke: var(--stone); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ph-rs { fill: var(--moss); }
.ph-re { fill: none; stroke: var(--moss); stroke-width: 1.5; }
.ph-trow, .ph-swr { display: flex; align-items: center; gap: 10px; }
.ph-trow { margin-bottom: 5px; padding: 8px 12px; border-radius: 8px; background: var(--parch2); }
.ph-swr { padding: 2px 2px 0; }
.ph-trow div, .ph-swr div { flex: 1; }
.ph-trow b, .ph-swr b { display: block; font: 400 14px var(--serif); color: var(--ink); }
.ph-trow span, .ph-swr span { display: block; margin-top: 1px; font: 400 10px/1.35 var(--ui); color: var(--fog); }
.ph-swr.is-off { opacity: .4; }
.ph-switch--moss { flex: none; background: var(--moss); }
.ph-switch.is-off { background: var(--parch3); }
.ph-switch.is-off::after { right: auto; left: 2px; }
.ph-scap { margin: 6px 0 0; font: 400 10px/1.35 var(--ui); color: var(--fog); }
.ph-swr + .ph-scap, .ph-scap + .ph-swr { margin-top: 8px; }
.ph-jr { min-height: 62px; padding: 9px 12px; border-radius: 8px; background: var(--parch2); font: 400 13px var(--serif); color: var(--fog); }
.ph-exl { margin-top: 6px; text-align: center; font: 400 10px var(--ui); color: var(--fog); }
.ph-sv .ph-obtn { margin-top: 12px; }
.ph-ch { margin: 14px 0 6px; font: 400 17px var(--serif); color: var(--ink); }
.ph-sv > .ph-ch:first-child { margin-top: 0; }
.ph-cfield { padding: 9px 11px; border-radius: 8px; background: var(--parch2); font: 400 13px/1.4 var(--serif); color: var(--ink); }
.ph-cfield .ph-ph { color: var(--fog); }
.ph-cfield--tall { min-height: 96px; }
.ph-igrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.ph-ibtn { display: grid; place-items: center; height: 38px; border-radius: 8px; background: var(--parch2); color: var(--stone); }
.ph-ibtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ph-ibtn.is-sel { background: var(--stone); color: var(--parch); }
/* Settings: cards on the root, grouped lists on the pages it opens */
.ph-st { position: absolute; top: 96px; left: 14px; right: 14px; bottom: 0; overflow: hidden; }
.ph-stin.is-scrolled { transform: translateY(-300px); }
.ph-stc { margin-bottom: 10px; padding: 12px; border-radius: 14px; background: var(--parch2); }
.ph-sth { margin-bottom: 4px; }
.ph-sth b { display: block; font: 600 14px var(--serif); }
.ph-sth span { font: 400 10px var(--ui); color: var(--fog); }
.ph-str { display: flex; align-items: center; gap: 10px; margin: 0 -6px; padding: 5px 6px; border-radius: 8px; }
.ph-str > div { flex: 1; min-width: 0; }
.ph-str b { display: block; font: 400 14px var(--serif); color: var(--ink); }
.ph-str span { display: block; margin-top: 1px; font: 400 10px/1.35 var(--ui); color: var(--fog); }
.ph-str i { flex: none; font-style: normal; color: var(--fog); }
.ph-str .ph-stv { display: flex; align-items: center; gap: 5px; margin: 0; }
.ph-str--v b { color: var(--fog); }
.ph-str--v .ph-stv { color: var(--ink); font: 400 12px var(--serif); }
.ph-stc .ph-mdiv { margin: 6px 0; }
.ph-stg { margin-bottom: 4px; padding: 2px 12px; border-radius: 10px; background: var(--parch2); }
.ph-stg .ph-str { margin: 0 -6px; padding: 8px 6px; }
.ph-stg .ph-str + .ph-str { border-top: 1px solid rgba(148,142,136,.2); border-radius: 0 0 8px 8px; }
.ph-str.is-sel, .ph-stg.is-sel { background: var(--parch3); box-shadow: 0 0 0 1px rgba(212,168,122,.6); }
.ph-str .ph-switch.is-off { background: rgba(148,142,136,.3); }
.ph-str--p span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ph-str--s { display: block; }
.ph-str--s .ph-slider { margin-top: 6px; }
.ph-seg { display: flex !important; flex: none; margin: 0 !important; padding: 2px; border-radius: 8px; background: var(--parch3); }
.ph-seg em { padding: 4px 10px; border-radius: 6px; font: 400 11px var(--ui); font-style: normal; color: var(--ink); }
.ph-seg em.is-on { background: rgba(148,142,136,.3); }
.ph-sti { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; color: var(--stone); }
.ph-sti .f { fill: currentColor; }
.ph-str--a .ph-sti, .ph-stv .ph-sti { width: 14px; height: 14px; color: var(--fog); }
