/* GENERATED FILE - DO NOT EDIT.
   Source: shared/day-recap.css - run `npm run sync:shared` after editing. */

/* Day recap player (shared/day-recap.js) — web + app, on our OpenStreetMap "Paper Light" map (owner 2026-10-13,
   mock docs/mocks/live-map-mock.html). Everything is scoped under .dr / .dr-sheet; colours are its own. */
.dr,
.dr-sheet {
  --dr-forest: #1f3d30;
  --dr-deep: #13251e;
  --dr-route: #1f6b45;
  --dr-clay: #c0643f;
  --dr-clay-d: #a8532f; /* white digits on it: 5.3:1 (#c0643f was 4.1:1, under WCAG AA) */
  --dr-gold: #e6c98e;
  --dr-gold-d: #b8933f;
  --dr-ink: #1b2a23;
  --dr-muted: #6c776f;
  --dr-line: #e4dccb;
  --dr-card: #fffdf8;
  --dr-cream: #fbf6ec;
  --dr-paper: #f5f1e8;
  --dr-ok: #2f7d4f;
  --dr-skip: #a8a294;
  --dr-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --dr-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--dr-ink);
  font-family: var(--dr-body);
}
.dr { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dr-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.dr-head b { font: 700 0.95rem var(--dr-body); }
.dr-head small { font-size: 0.74rem; color: var(--dr-muted); }
.dr-box { position: relative; height: 340px; border-radius: 16px; overflow: hidden; background: #eef0ee; box-shadow: 0 1px 0 var(--dr-line); }
.dr.is-wide .dr-box { height: 440px; }
.dr-box > .dr-map { position: absolute; inset: 0; width: 100%; height: 100%; } /* beats maplibregl-map's position: relative */
.dr-box .maplibregl-ctrl-attrib { font-size: 9px; }

/* meter: ▶ · time · distance · stop */
.dr-meter { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 3; display: flex; align-items: center; gap: 14px; background: var(--dr-deep); color: #f3eee2; border-radius: 14px; padding: 6px 14px 6px 6px; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.5); }
.dr-pb { width: 34px; height: 34px; border-radius: 10px; border: 0; background: var(--dr-gold); color: var(--dr-deep); display: grid; place-items: center; cursor: pointer; flex: none; }
.dr-pb svg { width: 13px; height: 13px; }
.dr-pb:disabled { opacity: 0.5; cursor: default; }
.dr-cell { display: flex; flex-direction: column; min-width: 0; }
.dr-cell.grow { margin-left: auto; text-align: right; }
.dr-cell em { font: 700 0.54rem var(--dr-body); font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dr-gold); }
.dr-cell b { font: 700 0.8rem var(--dr-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dr:not(.is-wide) .dr-cell.grow { display: none; }

/* day line along the bottom: one tick per stop, by its time */
.dr-dayline { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(31, 61, 48, 0.14); z-index: 3; }
.dr-dayline i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--dr-forest); transition: width 0.4s; }
.dr-dayline u { position: absolute; top: -3px; width: 3px; height: 11px; margin-left: -1.5px; border-radius: 2px; background: rgba(31, 61, 48, 0.3); }
.dr-dayline u.on { background: var(--dr-gold-d); }
.dr-dayline u.sk { background: transparent; border-left: 1.5px dashed var(--dr-skip); }

/* pins */
/* the pin itself is the one shared stop pin (shared/stop-pin.css); a 36 px slot keeps its centre on the spot whatever its size */
.dr-pinslot { flex: none; display: grid; place-items: center; width: 36px; height: 36px; }
.dr-pinlbl { display: flex; align-items: center; gap: 6px; font: 700 12px var(--dr-body); color: var(--dr-ink); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; white-space: nowrap; }
/* the stop's photo beside its pin, like the video (owner 2026-10-13) */
.dr-snap { pointer-events: none; }
.dr-snap[hidden] { display: none; }
.dr-snap-card { width: 128px; padding: 6px 6px 14px; background: #fffdf8; border-radius: 6px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28); transform: rotate(-3deg); animation: dr-snap-in 0.35s ease-out; }
.dr-snap-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; background: var(--dr-cream); }
.dr.is-wide .dr-snap-card { width: 170px; }
@keyframes dr-snap-in { from { opacity: 0; transform: rotate(-8deg) scale(0.85); } to { opacity: 1; transform: rotate(-3deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .dr-snap-card { animation: none; } }
.dr-area { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; width: max-content; padding: 3px 9px 3px 8px; border-radius: 12px; background: #fff; color: var(--dr-gold-d); border: 2px dashed var(--dr-gold-d); font: 700 11px var(--dr-body); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); }
.dr-area[hidden], .dr-off[hidden] { display: none; }
.dr-area b { font-weight: 700; margin-right: 2px; }
.dr-area .n { font-style: normal; display: inline-grid; place-items: center; min-width: 17px; height: 17px; border-radius: 9px; background: var(--dr-forest); color: #fff; font-size: 10px; margin-left: 2px; }
.dr-area .n.food { background: var(--dr-clay-d); }
.dr-area .n.skip { background: #fff; color: var(--dr-muted); border: 1.5px dashed var(--dr-skip); }
.dr-area.now { box-shadow: 0 0 0 4px rgba(230, 201, 142, 0.8), 0 1px 4px rgba(0, 0, 0, 0.3); color: var(--dr-ink); }
.dr-riderwrap { z-index: 6; pointer-events: none; line-height: 0; }
.dr-rider { width: 38px; height: 32px; object-fit: contain; pointer-events: none; transition: opacity 0.2s; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.15)); }
.dr:not(.is-wide) .dr-rider { width: 32px; height: 27px; }

/* off the route (skipped / not on the map) */
.dr-off { position: absolute; right: 10px; top: 62px; z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; max-width: 60%; }
.dr-off b { font: 700 0.58rem var(--dr-body); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(27, 42, 35, 0.7); }
.dr-off span { display: flex; align-items: center; gap: 6px; background: rgba(255, 253, 248, 0.95); border: 1.5px dashed var(--dr-gold-d); border-radius: 10px; padding: 4px 9px; font: 700 0.72rem var(--dr-body); color: var(--dr-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.dr-off span i, .dr-off span em { font-style: normal; color: var(--dr-muted); }
.dr-off span em { font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* "Tracing your day…" */
.dr-prep { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: #f7f3ea; text-align: center; padding: 16px; }
.dr-prep[hidden] { display: none; }
.dr-prep img { width: 64px; height: 64px; object-fit: contain; animation: dr-bob 1s ease-in-out infinite; }
.dr-prep b { font-family: var(--dr-display); font-size: 1.1rem; }
.dr-prep small { color: var(--dr-muted); font-size: 0.74rem; }
.dr-prep .bar { width: min(220px, 60%); height: 6px; border-radius: 6px; background: rgba(27, 42, 35, 0.1); overflow: hidden; }
.dr-prep .bar i { display: block; height: 100%; width: 4%; background: var(--dr-forest); border-radius: 6px; transition: width 0.3s; }
@keyframes dr-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* the stops, as stubs you can tap (each seeks the recap to that stop) */
.dr-stubs { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 10px; margin: 0 -2px; }
.dr-stub { flex: none; width: 210px; height: 150px; scroll-snap-align: center; background: var(--dr-card); border: 1px solid var(--dr-line); border-radius: 14px; padding: 11px 12px 10px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; text-align: left; font: inherit; color: var(--dr-ink); position: relative; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.dr.is-wide .dr-stub { width: 236px; }
.dr-stub .top { display: flex; align-items: center; gap: 7px; height: 22px; }
.dr-stub .no { width: 22px; height: 22px; border-radius: 50%; background: var(--dr-forest); color: #fff; display: grid; place-items: center; font: 700 0.66rem var(--dr-body); flex: none; }
.dr-stub .kind { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; font: 700 0.62rem var(--dr-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dr-muted); }
.dr-stub .stamp { margin-left: auto; border: 2px solid currentColor; border-radius: 5px; padding: 1px 6px; font: 800 0.58rem var(--dr-body); letter-spacing: 0.14em; text-transform: uppercase; transform: rotate(-8deg); color: var(--dr-ok); opacity: 0.9; flex: none; }
.dr-stub.late .stamp { color: var(--dr-clay); }
.dr-stub.skipped .stamp { color: var(--dr-muted); border-style: dashed; }
.dr-stub.planned .stamp { color: var(--dr-muted); border-style: dotted; }
.dr-stub .nm { height: 2.5rem; overflow: hidden; }
.dr-stub .nmi { display: block; font-family: var(--dr-display); font-weight: 700; font-size: 1.02rem; line-height: 1.2; overflow-wrap: anywhere; }
.dr-stub .nm.clamp .nmi { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dr-stub .when, .dr-stub .ctx { display: block; white-space: nowrap; overflow: hidden; height: 1.05rem; line-height: 1.05rem; font-size: 0.72rem; color: var(--dr-muted); }
.dr-stub .when b { color: var(--dr-ink); }
.dr-stub .ctx { font-size: 0.7rem; color: var(--dr-forest); font-weight: 600; }
.dr-stub .ctx.approx { color: var(--dr-gold-d); }
.dr-stub .ctx.off { color: var(--dr-clay); }
.dr-stub .fade { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
.dr-stub.skipped { border-style: dashed; background: var(--dr-cream); }
.dr-stub.skipped .nm { color: var(--dr-muted); }
.dr-stub.on { border-color: var(--dr-forest); box-shadow: 0 0 0 1px var(--dr-forest), 0 10px 22px -12px rgba(31, 61, 48, 0.55); transform: translateY(-2px); }
.dr-stub.thunk .stamp { animation: dr-thunk 0.45s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes dr-thunk { 0% { transform: rotate(-24deg) scale(2.1); opacity: 0; } 100% { transform: rotate(-8deg) scale(1); opacity: 0.9; } }
.dr-stub.total { background: var(--dr-deep); color: #f3eee2; border-color: var(--dr-deep); }
.dr-stub.total .no { background: var(--dr-gold); color: var(--dr-deep); }
.dr-stub.total .kind { color: var(--dr-gold); }
.dr-stub.total .when { color: rgba(243, 238, 226, 0.75); }
.dr-stub.total .when b { color: #fff; }
.dr-stub.total .ctx { color: var(--dr-gold); }

.dr-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dr-btn { border: 1px solid var(--dr-line); background: var(--dr-card); color: var(--dr-ink); font: 600 0.8rem var(--dr-body); padding: 9px 14px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.dr-btn.pri { background: var(--dr-forest); border-color: var(--dr-forest); color: #fff; }
.dr-btn.sm { padding: 6px 11px; font-size: 0.76rem; border-radius: 9px; }
.dr-btn:disabled { opacity: 0.5; cursor: default; }
.dr-cnt { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 9px; background: var(--dr-gold-d); color: #fff; font: 700 0.66rem var(--dr-body); padding: 0 5px; }
.dr-fine { margin: 0; font-size: 0.7rem; color: var(--dr-muted); line-height: 1.45; }
.dr-msg { margin: 0; padding: 18px 14px; text-align: center; color: var(--dr-muted); font-size: 0.85rem; background: var(--dr-cream); border: 1px dashed var(--dr-line); border-radius: 14px; }
@media (prefers-reduced-motion: reduce) {
  .dr-prep img, .dr-stub.thunk .stamp { animation: none; }
}

/* ---------- Fix locations (a sheet: bottom sheet on a phone, a window on a wide screen) ---------- */
dialog.dr-sheet { border: 0; padding: 0; border-radius: 22px; background: var(--dr-paper); width: min(460px, calc(100vw - 32px)); max-height: 88vh; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.55); overflow: hidden; }
dialog.dr-sheet[open] { display: flex; flex-direction: column; }
dialog.dr-sheet::backdrop { background: rgba(15, 26, 21, 0.45); }
/* a wide screen gets a wide window and a big map to aim with */
@media (min-width: 900px) {
  dialog.dr-sheet { width: min(760px, calc(100vw - 48px)); }
  dialog.dr-sheet .dr-fxm { height: 380px; }
}
@media (max-width: 560px) {
  dialog.dr-sheet { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 92vh; }
}
.dr-sh { display: flex; align-items: center; gap: 10px; padding: 16px 18px 10px; border-bottom: 1px solid var(--dr-line); }
.dr-sh b { font-family: var(--dr-display); font-size: 1.25rem; }
.dr-sh span { font-size: 0.78rem; color: var(--dr-muted); margin-right: auto; }
.dr-sh button { border: 0; background: var(--dr-cream); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1rem; color: var(--dr-ink); }
.dr-sb { overflow: auto; padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 12px; }
.dr-note { background: var(--dr-cream); border: 1px solid var(--dr-line); border-radius: 12px; padding: 9px 12px; font-size: 0.78rem; color: var(--dr-muted); margin: 0; }
.dr-note b { color: var(--dr-ink); }
.dr-sb h4 { margin: 4px 0 0; font: 700 0.68rem var(--dr-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dr-muted); }
.dr-fxok { margin: 0; color: var(--dr-ok); font-weight: 600; }
.dr-fxl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dr-fxc { background: var(--dr-card); border: 1px solid var(--dr-line); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.dr-fxc.ed { border-color: var(--dr-forest); box-shadow: 0 0 0 2px #d6e6dc; }
.dr-fxh { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dr-fxh > span { display: flex; flex-direction: column; min-width: 0; margin-right: auto; }
.dr-fxh b { font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-fxh small { font-size: 0.72rem; color: var(--dr-muted); }
.dr-n { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: var(--dr-forest); color: #fff; font: 700 0.7rem var(--dr-body); display: grid; place-items: center; flex: none; }
.dr-n.food { background: var(--dr-clay-d); }
.dr-tag { display: inline-block; font-size: 0.66rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; margin-left: 2px; white-space: nowrap; }
.dr-tag.ok { background: #e3efe6; color: var(--dr-ok); }
.dr-tag.warn { background: #f4ead2; color: var(--dr-gold-d); }
.dr-tag.bad { background: #f6e2d8; color: var(--dr-clay); }
.dr-fxc.is-bare .dr-tag { background: #ecebe6; color: #6b6a63; }
.dr-lnk { border: 0; background: none; color: var(--dr-forest); font: 600 0.76rem var(--dr-body); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; padding: 4px; white-space: nowrap; }
.dr-fxall summary { cursor: pointer; font: 700 0.68rem var(--dr-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dr-muted); padding: 6px 0; }
.dr-fxall .dr-fxl { margin-top: 6px; }
.dr-fxe { display: flex; flex-direction: column; gap: 8px; }
.dr-ask { background: #fbf0d9; border: 1px solid #ecd9ae; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 0.84rem; }
.dr-ask small { font-size: 0.72rem; color: var(--dr-muted); }
.dr-ask .dr-acts { margin-top: 4px; }
.dr-fxs { display: flex; gap: 6px; }
.dr-fxs input { flex: 1; min-width: 0; border: 1px solid var(--dr-line); background: var(--dr-card); border-radius: 10px; padding: 8px 10px; font: 600 0.85rem var(--dr-body); color: var(--dr-ink); }
.dr-fxr { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: 170px; overflow: auto; }
.dr-fxr button { width: 100%; text-align: left; border: 1px solid var(--dr-line); background: #fff; border-radius: 10px; padding: 7px 10px; cursor: pointer; display: flex; flex-direction: column; font: inherit; color: inherit; }
.dr-fxr button.on { border-color: var(--dr-forest); background: #eef5f0; }
.dr-fxr b { font-size: 0.84rem; }
.dr-fxr small, .dr-fxr .dr-say { font-size: 0.72rem; color: var(--dr-muted); }
.dr-fxm { position: relative; height: 220px; border-radius: 12px; overflow: hidden; border: 1px solid var(--dr-line); background: #eef0ee; }
.dr-fxm > .dr-fxmap { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the pin's tip is the exact middle of the map; it lifts while the map moves (owner 2026-10-13) */
.dr-fxpin { position: absolute; left: 50%; top: 50%; width: 30px; height: 40px; transform: translate(-50%, -100%); pointer-events: none; z-index: 2; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.35)); transition: transform 0.15s ease-out; }
.dr-fxpin svg { display: block; overflow: visible; }
.dr-fxpin path { fill: var(--dr-forest); stroke: #fff; stroke-width: 2.5; }
.dr-fxpin circle { fill: #fff; }
.dr-fxm.moving .dr-fxpin { transform: translate(-50%, calc(-100% - 8px)); }
.dr-fxdot { position: absolute; left: 50%; top: 50%; width: 10px; height: 4px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(19, 37, 30, 0.45); pointer-events: none; z-index: 2; }
.dr-fxm.moving .dr-fxdot { width: 14px; background: rgba(19, 37, 30, 0.3); }
.dr-fxd { display: flex; gap: 8px; align-items: center; }
.dr-fxd small { margin-right: auto; font-size: 0.72rem; color: var(--dr-muted); }
.dr-crowd { margin: 0; font-size: 0.74rem; color: var(--dr-muted); }

/* ---------- Make video / Save image ---------- */
.dr-vsheet .dr-sb { gap: 12px; }
.dr-vprev { align-self: center; width: min(200px, 52vw); background: #0f1a15; border-radius: 22px; padding: 6px; }
.dr-vprev canvas { display: block; width: 100%; height: auto; border-radius: 17px; background: #f3ecdc; }
.dr-vprev canvas[hidden] { display: none; }
/* Save image, wide (a computer, owner 2026-10-13): a big landscape preview, no phone frame */
.dr-vprev.is-wide { width: min(680px, 100%); border-radius: 14px; padding: 5px; }
.dr-vprev.is-wide canvas { border-radius: 10px; }
.dr-shape { align-self: center; display: inline-flex; gap: 2px; padding: 3px; border-radius: 11px; background: var(--dr-card); border: 1px solid var(--dr-line); }
.dr-shape button { border: 0; background: transparent; border-radius: 8px; padding: 6px 12px; font: 600 0.78rem var(--dr-body); color: var(--dr-muted); cursor: pointer; }
.dr-shape button[aria-pressed="true"] { background: var(--dr-forest); color: #fff; }
.dr-say { margin: 0; font-size: 0.76rem; color: var(--dr-muted); text-align: center; }
.dr-sf { display: flex; gap: 8px; justify-content: flex-end; align-items: center; flex-wrap: wrap; padding: 12px 18px 16px; border-top: 1px solid var(--dr-line); }
.dr-sf .dr-say { margin-right: auto; text-align: left; }
/* the made video (owner 2026-10-15): its size / length on a line of its own, Again · Share · Save video as one even row */
.dr-sf:has([data-save]) .dr-say { flex: 1 0 100%; margin: 0 0 2px; }
.dr-sf:has([data-save]) .dr-btn { flex: 1 1 0; min-width: 0; }
.dr-sf:has([data-save]) .dr-official { flex: 1 0 100%; }
.dr-fld { display: flex; flex-direction: column; gap: 6px; }
.dr-fld span, .dr-mvh span { font: 700 0.64rem var(--dr-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dr-muted); }
.dr-fld input, .dr-own input[type="text"] { border: 1px solid var(--dr-line); background: var(--dr-card); border-radius: 10px; padding: 10px 12px; font: 600 0.95rem var(--dr-body); color: var(--dr-ink); min-width: 0; }
.dr-tgs { display: flex; flex-direction: column; background: var(--dr-card); border: 1px solid var(--dr-line); border-radius: 14px; }
.dr-tgs label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; }
.dr-tgs label + label { border-top: 1px solid var(--dr-line); }
.dr-tgs label span { display: flex; flex-direction: column; margin-right: auto; }
.dr-tgs small, .dr-inc small, .dr-own small { font-size: 0.72rem; color: var(--dr-muted); }
.dr-tgs input { appearance: none; width: 40px; height: 24px; border-radius: 12px; background: #d8d2c3; position: relative; cursor: pointer; flex: none; transition: background 0.15s; margin: 0; }
.dr-tgs input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left 0.15s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.dr-tgs input:checked { background: var(--dr-forest); }
.dr-tgs input:checked::after { left: 19px; }
.dr-len { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; background: var(--dr-card); border: 1px solid var(--dr-line); border-radius: 14px; padding: 10px 12px; }
.dr-len small { font-size: 0.72rem; color: var(--dr-muted); text-align: right; }
.dr-len { flex-wrap: wrap; }
.dr-len .dr-est { flex: 1 0 100%; text-align: left; color: var(--dr-ink); text-wrap: pretty; }
.dr-len .dr-est:empty { display: none; }
.dr-mvh { display: flex; justify-content: space-between; align-items: baseline; }
.dr-mvh small { font-size: 0.74rem; color: var(--dr-muted); }
.dr-mvl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dr-mvs { background: var(--dr-card); border: 1px solid var(--dr-line); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.dr-mvs.out { background: transparent; border-style: dashed; }
.dr-mvs.out .dr-inc b { color: var(--dr-muted); text-decoration: line-through; }
.dr-inc { display: flex; align-items: center; gap: 10px; cursor: pointer; min-width: 0; }
.dr-inc input { width: 18px; height: 18px; accent-color: var(--dr-forest); flex: none; margin: 0; }
.dr-inc > span { display: flex; flex-direction: column; min-width: 0; }
.dr-inc b { font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-tphs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px 28px; }
.dr-tph { flex: none; width: 64px; height: 64px; border-radius: 10px; border: 2px solid transparent; padding: 0; background: var(--dr-cream); position: relative; cursor: pointer; font: 600 0.66rem/1.2 var(--dr-body); color: var(--dr-muted); }
.dr-tph img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.dr-tph.on { border-color: var(--dr-forest); box-shadow: 0 0 0 2px #d6e6dc; }
.dr-tph.add { border: 1.5px dashed var(--dr-forest); color: var(--dr-forest); background: #eef5f0; }
.dr-tav { position: absolute; left: -5px; bottom: -5px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; color: #fff; font: 700 0.6rem/16px var(--dr-body); text-align: center; font-style: normal; }
.dr-nop { margin: 0 0 0 28px; font-size: 0.74rem; color: var(--dr-forest); }
.dr-nop.is-tip { color: var(--dr-muted); }
.dr-own { margin-left: 28px; background: var(--dr-cream); border: 1px solid var(--dr-line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.dr-own > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.dr-own-pick { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dr-own-pick img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.dr-own-pick img[hidden] { display: none; }
.dr-stars { display: flex; gap: 2px; }
.dr-stars button { border: 0; background: none; font-size: 1.5rem; color: #d8d2c3; cursor: pointer; padding: 0 2px; line-height: 1; }
.dr-stars button.on { color: var(--dr-gold-d); }
.dr-own .dr-acts { justify-content: flex-end; }

/* Fix: the place in Google Maps, its plus code pasted back (owner 2026-10-13) */
/* Fix: the plus-code steps, numbered, each with its button (owner 2026-10-13: "visible and clearer") */
.dr-gm { list-style: none; counter-reset: drgm; margin: 0; padding: 10px 12px; border-radius: 12px; background: #fbf6ec; border: 1px solid var(--dr-line); display: flex; flex-direction: column; gap: 10px; }
.dr-gm > li { counter-increment: drgm; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dr-gm > li::before { content: counter(drgm); flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--dr-forest); color: #fff; font: 700 0.72rem/22px var(--dr-body); text-align: center; align-self: flex-start; }
.dr-gm-t { flex: 1 1 180px; min-width: 0; display: grid; gap: 2px; font-size: 0.82rem; color: var(--dr-ink); line-height: 1.35; }
.dr-gm-t small { font-size: 0.76rem; color: var(--dr-muted); }
.dr-gm-t code { padding: 0 4px; border-radius: 4px; background: #efe6d3; color: var(--dr-ink); font: 600 0.74rem ui-monospace, monospace; white-space: nowrap; }
.dr-gm > li > .dr-btn { flex: none; }
.dr-gm a.dr-btn { text-decoration: none; }
.dr-gm .is-hint { border-color: var(--dr-forest); box-shadow: 0 0 0 3px #d6e6dc; }
.dr-tip { font-size: 0.72rem; color: var(--dr-muted); line-height: 1.4; }
/* Make video: the stops not placed exactly yet */
.dr-vnote { margin: 0; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: #fbf3e2; border: 1px solid #ecdcb6; font-size: 0.78rem; color: var(--dr-ink); }
.dr-vnote span { flex: 1; min-width: 0; }

/* the stops as named bookmarks under the map (owner 2026-10-13): tap one to go there; the row follows the replay.
   On a wide map (the web's Map of the day / Day Tour); the phone keeps its stop cards. */
.dr-chap { display: none; gap: 8px; overflow-x: auto; padding: 10px 2px 4px; scrollbar-width: thin; }
.dr.is-wide .dr-chap { display: flex; }
.dr-ch { flex: none; display: inline-flex; align-items: center; gap: 7px; max-width: 230px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--dr-line); background: var(--dr-card); color: var(--dr-ink); font: 600 0.8rem var(--dr-body); cursor: pointer; transition: background 0.2s, border-color 0.2s, box-shadow 0.2s; }
.dr-ch i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e3e9e4; color: var(--dr-forest); font: 700 0.72rem var(--dr-body); font-style: normal; }
.dr-ch span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-ch:hover { border-color: var(--dr-forest); }
.dr-ch.on i { background: var(--dr-gold); color: var(--dr-deep); }
.dr-ch.food.on i { background: #f1d5c7; color: var(--dr-clay); }
.dr-ch.cur { background: var(--dr-forest); border-color: var(--dr-forest); color: #fff; box-shadow: 0 4px 12px -4px rgba(31, 61, 48, 0.6); }
.dr-ch.cur i { background: #fff; color: var(--dr-forest); }
.dr-ch.sk { border-style: dashed; color: var(--dr-muted); }

/* the map fades in once its first tiles are drawn */
.dr-box > .dr-map { opacity: 0; transition: opacity 0.35s ease-out; }
.dr-box > .dr-map.is-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .dr-box > .dr-map { transition: none; } }

/* Make video / Save image: the loading screen on the preview (owner 2026-10-13: "Directing your trip…") */
.dr-vprev { position: relative; }
.dr-vload { position: absolute; inset: 6px; border-radius: 17px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 18px; background: #fbf6ec; text-align: center; z-index: 2; }
.dr-vload[hidden] { display: none; }
.dr-vload img { width: 72px; height: auto; animation: dr-vload-bob 1.4s ease-in-out infinite; }
.dr-vload b { font: 700 1rem var(--dr-display); color: var(--dr-ink); min-height: 1.4em; }
.dr-vload .bar { width: 70%; height: 6px; border-radius: 6px; background: var(--dr-line); overflow: hidden; }
.dr-vload .bar i { display: block; height: 100%; width: 0; background: var(--dr-forest); border-radius: 6px; transition: width 0.3s; }
/* making the video (owner 2026-10-14): the whole preview is covered — nothing plays while it renders, just Lakbi,
   the percentage and the bar */
.dr-vload.is-rec { inset: 6px; padding: 18px; gap: 12px; background: #fbf6ec; border-radius: 17px; }
.dr-vload.is-rec b { font: 700 1.05rem var(--dr-display); color: var(--dr-ink); }
.dr-vload.is-rec .bar { width: 70%; height: 8px; }
.dr-vload.is-rec .bar i { background: var(--dr-gold); transition: none; }
.dr-vload.is-rec small { font: 500 0.75rem var(--dr-body); color: var(--dr-muted); }
@keyframes dr-vload-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .dr-vload img { animation: none; } }
/* a computer: the preview big on the left, the settings beside it (owner 2026-10-13: "hard to preview, small screen") */
.dr-sbl, .dr-sbr { display: contents; }
@media (min-width: 900px) {
  dialog.dr-vsheet:not(.is-story):not(:has(.dr-shape)) .dr-sb { display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: 24px; align-items: start; }
  /* the preview + tips stay in view; on a short screen they scroll on their own */
  dialog.dr-vsheet:not(.is-story):not(:has(.dr-shape)) .dr-sbl { display: block; position: sticky; top: 0; max-height: calc(88vh - 170px); overflow-y: auto; scrollbar-width: thin; }
  dialog.dr-vsheet:not(.is-story):not(:has(.dr-shape)) .dr-sbl .dr-vprev { width: 300px; }
  dialog.dr-vsheet:not(.is-story):not(:has(.dr-shape)) .dr-sbr { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
}
/* the loading screen's bar runs while the map draws */
.dr-prep .bar i { width: 38% !important; animation: dr-prep-run 1.1s ease-in-out infinite; }
@keyframes dr-prep-run { from { transform: translateX(-100%); } to { transform: translateX(270%); } }
@media (prefers-reduced-motion: reduce) { .dr-prep .bar i { animation: none; } }
/* "Auto · about 47 s" stays on one line; the note beside it wraps instead */
.dr-len b { white-space: nowrap; flex: none; }
.dr-len small { min-width: 0; }

/* whose photo: their profile picture in the little circle */
.dr-tav.is-pic { padding: 0; overflow: hidden; background: #fff; }
.dr-tav.is-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* the made video, playing in the preview with the device's own controls */
.dr-vmade { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 17px; background: #0f1a15; }

/* whose photo, big enough to recognise (owner 2026-10-13: "avatar missing" — a face at 20 px read as a blob) */
.dr-tph .dr-tav { width: 26px; height: 26px; left: -6px; bottom: -6px; font-size: 0.7rem; line-height: 22px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }

/* Make video: the tips under the preview (owner 2026-10-13) */
.dr-sbl > .dr-say { margin: 10px 0 0; text-align: center; }
.dr-tips { margin: 12px 0 0; padding: 12px 14px 12px 30px; border-radius: 14px; background: var(--dr-card); border: 1px solid var(--dr-line); font-size: 0.76rem; line-height: 1.45; color: var(--dr-muted); display: flex; flex-direction: column; gap: 6px; }
.dr-tips b { color: var(--dr-ink); }
.dr-tph.add svg { display: inline-block; vertical-align: middle; }

/* full screen (the side map's "Open", owner 2026-10-13) */
.dr-full { position: absolute; left: 10px; top: 64px; z-index: 4; width: 34px; height: 34px; border-radius: 10px; border: 0; background: #fffdf8; color: var(--dr-ink); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); cursor: pointer; }
.dr-box.is-full { position: fixed !important; inset: 0; z-index: 2000; height: 100vh !important; height: 100dvh !important; border-radius: 0 !important; }
html.dr-noscroll, html.dr-noscroll body { overflow: hidden; }
/* stops the map can't place (no address) — the side map's note */
.dr-warn { margin: 8px 0 0; font-size: 0.76rem; color: #9a5a1c; }

/* Fix map: ⤢ "whole day" under + / − */
.dr-fitall { display: grid !important; place-items: center; color: #333; }
.dr-fitall svg { width: 15px; height: 15px; }

/* Workbook settings: your public guide in numbers (owner 2026-10-13) */
.wb-guide-stats:empty { display: none; }
.wb-guide-stats { margin-top: 10px; }
.dr-gs { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.82rem; color: var(--dr-ink, #13251e); }
.dr-gs-n b { font-weight: 700; margin-right: 2px; }
.dr-gs-load { margin: 0; font-size: 0.78rem; opacity: 0.7; }
.dr-gs-fix { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #fbf1df; color: #6b4513; }
.dr-gs-fix p { flex: 1; min-width: 0; margin: 0; display: grid; gap: 2px; font-size: 0.8rem; line-height: 1.35; }
.dr-gs-fix p b { font-size: 0.86rem; font-weight: 700; color: #5a3a10; }
.dr-gs-go { flex: none; appearance: none; border: 0; border-radius: 999px; padding: 8px 14px; min-height: 36px; background: #13251e; color: #fff; font: inherit; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.dr-gs-go:active { transform: scale(0.97); }

/* app public header: 👁 views beside the heart, not a button (owner 2026-10-13) */
.mw-mast-pill.is-views { cursor: default; gap: 0.3rem; }

/* "All" before stop 1 (owner 2026-10-14): the whole day */
.dr-ch.dr-all { padding: 6px 14px; }

/* Fix: "Its address has a plus code — Use it" (owner 2026-10-14) */
.dr-plus { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: #eef5f0; font-size: 0.8rem; color: var(--dr-ink); }
.dr-plus code { padding: 0 4px; border-radius: 4px; background: #fff; font: 600 0.76rem ui-monospace, monospace; }

/* while the tour plays, no zoom buttons (it moves the map itself); back on pause / at the end — owner 2026-10-14 */
.dr-box .gm-bundled-control, .dr-box .maplibregl-ctrl-group { transition: opacity 0.2s; }
.dr-box.is-playing .gm-bundled-control, .dr-box.is-playing .maplibregl-ctrl-group { opacity: 0; pointer-events: none; }
/* Save image (owner 2026-10-14): under the map — the stops' names (editable) or 1–3 memory photos */
.dr-under { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 10px 0 6px; font: 600 0.8rem var(--dr-body); color: var(--dr-ink); }
.dr-under > span { width: 100%; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dr-muted); }
.dr-under label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.dr-names { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.dr-names li { display: flex; align-items: center; gap: 8px; }
.dr-names input { flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid var(--dr-line); border-radius: 9px; font: 500 0.85rem var(--dr-body); background: #fff; color: var(--dr-ink); }
.dr-addmem { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.dr-addmem li { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 500 0.82rem var(--dr-body); }
.dr-names { max-height: 300px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; } /* scrolls (owner 2026-10-14: "too long") */
.dr-addmem { max-height: 260px; overflow-y: auto; scrollbar-width: thin; }
/* Make trip video: the day picker (owner 2026-10-14) */
/* a window on a wide screen; on a phone the bottom sheet's full width like the other sheets (owner 2026-10-15: "the right side has a
   gap" — 94vw pinned to the left edge) */
@media (min-width: 561px) { dialog.dr-tvpick { width: min(520px, 94vw); } }
.dr-tvall { display: flex; gap: 6px; justify-content: flex-end; }
.dr-tvdays { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; max-height: 50vh; overflow-y: auto; scrollbar-width: thin; }
.dr-tvdays label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--dr-line); border-radius: 12px; background: #fffdf8; cursor: pointer; }
.dr-tvdays label span { display: grid; }
.dr-tvdays small { color: var(--dr-muted); font-size: 0.75rem; }
.dr-tvdays input { width: 18px; height: 18px; accent-color: var(--dr-forest); }
/* a trip video's stops, grouped by day (owner 2026-10-14) */
.dr-mvday { list-style: none; margin: 14px 2px 2px; font: 700 0.72rem var(--dr-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dr-muted); }
.dr-mvday:first-child { margin-top: 0; }
.dr-lenpick label { font-weight: 600; }
/* "Go back?" while a video is being made / not saved / edited (owner 2026-10-14) */
.dr-leave { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px; background: #1f3d30; color: #f4efe3; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.dr-leave > div { flex: 1; display: grid; gap: 2px; min-width: 0; }
.dr-leave small { opacity: .85; font-size: .78rem; }
.dr-leave .dr-btn:not(.pri) { background: transparent; color: #f4efe3; border-color: rgba(244,239,227,.4); }
.dr-official { border-color: #e9b949; background: #fff6dc; } .dr-official small { font-weight: 500; opacity: .75; } .dr-off-note { flex-basis: 100%; }
/* Last page photos (owner 2026-10-14) */
.dr-finpick { margin: 10px 0 14px; }
.dr-finpick .dr-tphs { flex-wrap: wrap; max-height: 150px; overflow-y: auto; }
.dr-finpick .dr-tphs.is-off { opacity: .4; }
.dr-finnone { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font: 600 .8rem var(--dr-body); color: var(--dr-muted); cursor: pointer; }
.dr-finpick .dr-tphs { padding-left: 2px; }

/* The trip recap plays the way the Trip story does (owner 2026-10-14): a story card on a dark backdrop — a progress
   bar, the trip's name, pause and ✕ on top, the recap filling the card. */
dialog.dr-vsheet.is-story { width: fit-content; max-width: calc(100vw - 16px); max-height: 98vh; border-radius: 22px; background: var(--dr-paper); }
dialog.dr-vsheet.is-story::backdrop { background: rgba(10, 18, 14, 0.78); }
.dr-vsheet.is-story .dr-st-top { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 8px; }
.dr-vsheet.is-story .dr-st-prog { height: 3px; border-radius: 3px; background: rgba(31, 61, 48, 0.16); overflow: hidden; }
.dr-vsheet.is-story .dr-st-prog b { display: block; width: 0; height: 100%; background: var(--dr-forest); }
.dr-vsheet.is-story .dr-st-bar { display: flex; align-items: center; gap: 8px; }
.dr-vsheet.is-story .dr-st-bar span { margin-right: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 0.68rem var(--dr-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dr-clay); }
.dr-vsheet.is-story .dr-st-bar button { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--dr-cream); color: var(--dr-ink); font-size: 0.85rem; cursor: pointer; }
.dr-vsheet.is-story .dr-sb { padding: 0 14px 4px; overflow: hidden; }
/* as big as the screen allows, the recap's own 9:16 (owner 2026-10-14: "why is it so small?") */
.dr-vsheet.is-story .dr-sbl { display: block; }
.dr-vsheet.is-story .dr-sbr { display: none; }
.dr-vsheet.is-story .dr-vprev { width: min(calc((98vh - 150px) * 9 / 16), calc(100vw - 44px)); max-width: none; margin: 0 auto; padding: 0; background: none; border-radius: 14px; }
.dr-vsheet.is-story .dr-vprev canvas { width: 100%; height: auto; border-radius: 14px; }
.dr-vsheet.is-story [data-note] { display: none; }
.dr-vsheet.is-story .dr-sf { justify-content: center; }
/* on a phone the story card floats in the middle like the Trip story player (sheets elsewhere rise from the bottom) */
@media (max-width: 640px) { dialog.dr-vsheet.is-story { margin: auto; border-radius: 22px; } }
/* phones: the video preview up close (owner 2026-10-15: "preview should be more upclose, that too small") */
@media (max-width: 560px) {
  .dr-vprev:not(.is-wide) { width: min(330px, 76vw); }
}

/* The sheet's foot on a phone (owner 2026-10-15: "the layout is broken" — the buttons sat under the screen's rounded
   corner / gesture bar and a second row was cut off): clear of the gesture bar, the buttons share the row evenly,
   the ⭐ official recap button has a row of its own. */
@media (max-width: 560px) {
  .dr-sf {
    padding-bottom: calc(14px + max(var(--safe-bot, env(safe-area-inset-bottom, 0px)), var(--native-bot, 0px)));
  }
  .dr-sf .dr-btn {
    flex: 1 1 0;
    min-width: 0;
  }
  .dr-sf .dr-official {
    flex: 1 0 100%;
  }
  .dr-sf .dr-say {
    flex: 1 0 100%;
    margin: 0;
  }
}

/* the stop limits (owner 2026-10-15): a note in the day picker, the reason on the length line when it won't fit */
.dr-pick-note { margin: 4px 0 0; font-size: 0.78rem; color: var(--dr-muted); }
.dr-pick-note.is-over,
.dr-len .dr-est.is-over { color: var(--dr-clay); font-weight: 600; }

/* no word alone on the last line of a note (bug hunt 2026-10-15) */
.dr-sheet p, .dr-sheet li, .dr-sheet small { text-wrap: pretty; }

/* Web audit 2026-10-20 (W-301): one pin per spot — "×N" says how many stops it holds */
/* W-325: ▶ and ⛶ keep their 34 px look with a 44 px hit area */
.dr-pb { position: relative; }
.dr-pb::after, .dr-full::after { content: ""; position: absolute; inset: -5px; }
/* W-326: the stub notes readable on cream (≥ 4.5:1) */
.dr-stub .ctx.off { color: var(--dr-clay-d); }
.dr-stub .ctx.approx { color: #7d5f1c; }
/* follow-up 2026-10-21: fit · + · − under ⛶, like the app's tour map; 34 px look, 44 px hit area each (left side:
   the off-map list is on the right, the credits along the bottom) */
.dr-zoom { position: absolute; left: 10px; top: 108px; z-index: 4; display: flex; flex-direction: column; gap: 10px; }
.dr-zoom button { position: relative; width: 34px; height: 34px; padding: 0; border-radius: 10px; border: 0; background: #fffdf8; color: var(--dr-ink); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); font: 600 1.2rem/1 var(--dr-body); cursor: pointer; }
.dr-zoom button::after { content: ""; position: absolute; inset: -5px; }
.dr-zoom button:focus-visible, .dr-full:focus-visible { outline: 2px solid var(--dr-forest); outline-offset: 2px; }

/* ——— The play bar (owner 2026-10-21 "before the trip" mock): ▶ · how you go over the start · the day's line · the
   end in gold over "1 of N" · the stop's photo. A day still to come and a public guide. */
.dr-meter.dr-bar2 { top: auto; bottom: 12px; gap: 10px; padding: 8px 10px; border-radius: 18px; background: #1f3d30; }
.dr-bar2 .dr-pb { width: 40px; height: 40px; border-radius: 50%; background: #f6dfae; color: #1f3d30; }
.dr-bar2 .dr-pb svg { width: 14px; height: 14px; margin-left: 2px; }
.dr-b2-a, .dr-b2-z { display: flex; flex-direction: column; gap: 1px; flex: none; font: 600 0.8rem var(--dr-body); font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.25; }
.dr-b2-a i { display: block; width: 17px; height: 17px; }
.dr-b2-a i svg { width: 17px; height: 17px; display: block; }
.dr-b2-z { align-items: flex-end; }
.dr-b2-z b { color: #f3c64f; font-weight: 700; }
.dr-b2-z span { font-weight: 600; color: #f3eee2; }
.dr-b2-line { position: relative; flex: 1 1 auto; min-width: 24px; height: 2px; background-image: radial-gradient(circle, rgba(243, 238, 226, 0.55) 1px, transparent 1.4px); background-size: 6px 2px; background-repeat: repeat-x; }
.dr-b2-line i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #f3c64f; border-radius: 2px; transition: width 0.3s; }
.dr-b2-ph { flex: none; width: 46px; height: 40px; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, 0.12); }
.dr-b2-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dr:has(.dr-bar2) .dr-dayline { display: none; }

/* ——— The day as rows (same mock): shared by the Day Tour and the app's map sheet. The line to the next stop runs
   from this pin's centre to the next one's, in the next stop's colour. */
.dl-rows { list-style: none; margin: 0; padding: 4px 0; }
.dl-row { position: relative; display: flex; align-items: center; }
.dl-row:not(.is-last)::before { content: ""; position: absolute; left: 26px; top: 50%; height: 100%; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--dl-next, #1f3d30); opacity: 0.85; }
.dl-main { flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: 32px 62px minmax(0, 1fr) 68px; align-items: center; column-gap: 8px; padding: 9px 4px 9px 10px; border: 0; background: none; text-align: left; font: inherit; color: #1b2a23; cursor: pointer; border-radius: 14px; }
/* the lit row: the one tapped, or the stop the tour is at (the is-on goes on the row's button, where the app's
   selectStop / liveMapTourAt and the player put it) */
.dl-main.is-on { background: color-mix(in srgb, var(--dl-c, #1f3d30) 9%, #fff); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--dl-c, #1f3d30) 35%, transparent); }
.dl-pin { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; }
.dl-time { font: 700 0.82rem "DM Sans", system-ui, sans-serif; color: #1f3d30; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dl-body { min-width: 0; }
.dl-body strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 700 0.95rem/1.25 "DM Sans", system-ui, sans-serif; color: #1f3d30; overflow-wrap: anywhere; }
.dl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; font: 500 0.74rem "DM Sans", system-ui, sans-serif; color: #6c776f; }
.dl-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 6px; border-radius: 8px; background: color-mix(in srgb, var(--dl-c, #1f3d30) 11%, #fff); color: color-mix(in srgb, var(--dl-c, #1f3d30) 80%, #000); font-weight: 600; }
.dl-chip svg, .dl-dur svg { width: 13px; height: 13px; flex: none; }
.dl-dur { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.dl-note { color: #c0643f; font-weight: 600; }
.dl-ph { width: 68px; height: 54px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: #f1ece2; }
.dl-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dl-ph.is-icon { background: color-mix(in srgb, var(--dl-c, #1f3d30) 11%, #fff); color: var(--dl-c, #1f3d30); }
.dl-ph.is-icon svg { width: 24px; height: 24px; }
.dl-more { flex: none; width: 30px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: #8a918b; cursor: pointer; }
.dl-more svg { width: 18px; height: 18px; }
.dr-list { padding: 6px 0 4px; }
@media (max-width: 360px) {
  .dl-main { grid-template-columns: 32px 56px minmax(0, 1fr) 58px; column-gap: 6px; }
  .dl-ph { width: 58px; height: 48px; }
}

/* ——— Today and a finished day (owner 2026-10-21 mock): the rows mixed up ——— */
.dl-kick { display: block; margin-bottom: 1px; font: 800 0.66rem "DM Sans", system-ui, sans-serif; letter-spacing: 0.06em; color: var(--dl-c, #1f3d30); }
.dl-row.is-done .dl-main { opacity: 0.62; }
.dl-row.is-done .dl-body strong { text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, 0.25); font-weight: 600; }
.dl-row.is-done .dl-ph { width: 52px; height: 40px; }
.dl-row.is-done .dl-kick { color: #6c776f; }
.dl-row.is-next .dl-main { background: color-mix(in srgb, var(--dl-c, #1f3d30) 5%, #fff); }
.dl-row > .lm3-go { flex: none; margin-right: 8px; }
.dl-foldrow { flex: 1; display: flex; align-items: center; gap: 10px; padding: 6px 10px; }
.dl-foldrow .dl-pin { opacity: 0.62; }
.dl-fold { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 6px; border: 0; background: none; padding: 6px 0; font: 600 0.84rem "DM Sans", system-ui, sans-serif; color: #1f3d30; text-align: left; cursor: pointer; }
.dl-fold small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #6c776f; font-weight: 500; }
.dl-fold em { margin-left: auto; font-style: normal; color: #2f7d4f; font-weight: 700; white-space: nowrap; }
/* the stop happening now: one dark card (its photo big only when there's a real one) */
.dl-row.is-now { padding: 4px 10px; }
.dl-now { position: relative; z-index: 1; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; padding: 11px 12px 12px; border-radius: 18px; background: #1f3d30; color: #fff; box-shadow: 0 10px 22px -14px rgba(0, 0, 0, 0.55); }
.dl-now-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dl-now-top .dl-pin { width: auto; }
.dl-now-t { flex: 1; min-width: 0; }
.dl-now-t small { display: block; font: 800 0.66rem "DM Sans", system-ui, sans-serif; letter-spacing: 0.06em; color: #34c172; }
.dl-now-t strong { display: block; font: 700 1.04rem/1.25 "DM Sans", system-ui, sans-serif; overflow-wrap: anywhere; }
.dl-now .dl-ph.is-icon { width: 52px; height: 44px; background: rgba(255, 255, 255, 0.1); color: #f6dfae; }
.dl-now-ph { display: block; height: 128px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.dl-now-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dl-now-bar { display: flex; align-items: center; gap: 10px; font: 700 0.78rem "DM Sans", system-ui, sans-serif; color: #f3c64f; white-space: nowrap; }
.dl-now-bar .lm3-bar { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.2); overflow: hidden; margin: 0; }
.dl-now-bar .lm3-bar i { display: block; height: 100%; background: #f3c64f; border-radius: 3px; }
.dl-now-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.dl-now-photo { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35); background: none; color: #fff; font: 700 0.8rem "DM Sans", system-ui, sans-serif; cursor: pointer; }
.dl-now-photo svg { width: 16px; height: 16px; }
/* a finished day: your stars, or Rate it */
.dl-stars { color: #c99a2e; letter-spacing: 1px; font-size: 0.82rem; }
.dl-fix { color: #2f7d4f; font-weight: 600; }
.dl-rate { flex: none; margin-right: 8px; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 0; background: #fdf3d8; color: #7a5a0c; font: 700 0.78rem "DM Sans", system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
/* the finished-day bar: Replay the day · DAY DONE */
.dr-b2-a.is-replay b { font-weight: 700; color: #fff; }
.dr-b2-a.is-replay span { color: #cfd9d3; font-weight: 500; }
.dr-b2-stamp { align-self: flex-end; padding: 2px 7px; border-radius: 6px; background: #f3c64f; color: #1f3d30 !important; font-size: 0.66rem !important; letter-spacing: 0.08em; text-transform: uppercase; transform: rotate(-5deg); }
.dl-row:is(.is-next, .is-done):has(> .lm3-go) .dl-ph,
.dl-row:has(> .dl-rate) .dl-ph { display: none; }
.dl-row:has(> .lm3-go) .dl-main { grid-template-columns: 32px 62px minmax(0, 1fr); }
/* "Rate it" takes the photo column, the same size and place as a photo (owner 2026-10-22: the pills and the titles
   did not line up) — the title column stays as wide as on a row with a photo; the › column stays empty */
.dl-row:has(> .dl-rate) .dl-rate { position: absolute; right: 34px; top: 50%; transform: translateY(-50%); width: 68px; margin: 0; padding: 0; text-align: center; }
@media (max-width: 360px) {
  .dl-row:has(> .dl-rate) .dl-rate { width: 58px; }
}
.dr-box:not(.is-playing) .dr-bar2.is-done [data-mn] { display: none; }

/* a skipped stop (Skip, also on a reopened finished day — owner 2026-10-22): greyed, struck through, no photo */
.dl-row.is-skipped .dl-body strong { color: #8a918b; text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, 0.3); font-weight: 600; }
.dl-row.is-skipped .dl-ph { opacity: 0.45; filter: grayscale(1); }
.dl-row.is-skipped .dl-note { color: #6b716b; font-weight: 600; }
