/* timeline.css — the full-screen timeline (timeline.js): the home page itself, and the same view opened over a page.
   Sizes, colors and motion were measured off the reference at 1440×900 and written fresh here: cream paper, three
   ribbons, round pill controls, italic display type. Nothing here reaches outside .dv except the page lock. */

html.dv-open { overflow: hidden; }

.dv {
  --paper: #fff8f5; --ink: #353433; --ink-2: #686868; --ink-3: #8a8380; --chip-ink: #585858; --rule: #f1eae8;
  --strip: #efe3dd; --tip: #f3eae7; --card: rgba(255, 248, 245, .88); --panel: #fcefeb; --chip-on: #353433;
  --sans: "Fira Sans", "Segoe UI", system-ui, sans-serif; --display: "Fira Sans Condensed", "Fira Sans", system-ui, sans-serif;
  position: fixed; inset: 0; z-index: 92; overflow: hidden;
  background: var(--paper); color: var(--ink); color-scheme: light;
  font: 400 14px/1.3 var(--sans); letter-spacing: 0; -webkit-font-smoothing: antialiased;
}
.dv.dv-home { z-index: 1; }
.dv *, .dv *::before, .dv *::after { box-sizing: border-box; margin: 0; padding: 0; }
:where(.dv) button { all: unset; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:where(.dv) button:hover, :where(.dv) button:active { transform: none; } /* the page's buttons lift on hover; these don't */
.dv button:disabled { opacity: .3; cursor: default; }
.dv :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.dv ::selection { background: #fcb485; color: var(--ink); }
.dv svg { display: block; }
.dv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───── chips and round buttons ───── */
.dv-chip {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 20px;
  font: 400 14px/1 var(--sans); color: var(--chip-ink); background: var(--paper); white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.dv-chip:hover { background: #f6ebe7; }
.dv-chip[aria-pressed="true"], .dv-chip.on { background: var(--chip-on); border-color: var(--chip-on); color: var(--paper); }
.dv-round { width: 36px; height: 36px; padding: 0; color: var(--ink); }
.dv-round.dv-big { width: 42px; height: 42px; background: transparent; }
.dv-round svg { width: 20px; height: 20px; }
/* round buttons fill with ink from the middle on hover */
.dv-round::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 100px; background: var(--ink);
  transform: scale(0); transition: transform .25s;
}
.dv-round:not(:disabled):hover { background: transparent; color: var(--paper); }
.dv-round:not(:disabled):hover::before { transform: scale(1); }
.dv-round[aria-expanded="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dv .ic path, .dv .ic circle { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dv .ic .dot { fill: currentColor; }
.dv-dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.dv-dark::before { background: #000; }
.dv-white { background: var(--paper); border-color: var(--paper); color: var(--ink); width: 32px; height: 32px; }
.dv-white svg { width: 18px; height: 18px; }

/* ───── the top bar ───── */
.dv-top {
  position: absolute; z-index: 6; top: 16px; left: 24px; right: 24px; min-height: 42px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 12px;
  pointer-events: none;
}
.dv-top > * { pointer-events: auto; }
.dv-brand { display: flex; align-items: center; gap: 10px; justify-self: start; min-height: 36px; white-space: nowrap; }
.dv-burger { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ink); transition: background-color .2s; }
.dv-burger svg { width: 24px; height: 24px; }
.dv-burger:hover { background: #f6ebe7; }
.dv-mark { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; }
.dv-mark-lines { display: grid; gap: 3px; width: 26px; }
.dv-mark-lines i { display: block; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #fec650, #fcb485); }
.dv-mark-lines i:nth-child(2) { background: linear-gradient(90deg, #f77864, #fe963b); width: 80%; }
.dv-mark-lines i:nth-child(3) { background: linear-gradient(90deg, #945b96, #7897e2); width: 90%; }
.dv-mark-text { display: grid; line-height: 1.1; }
.dv-mark-text b { font: italic 600 17px/1.05 var(--sans); color: var(--ink); }
.dv-mark-text small { font: italic 400 11px/1.25 var(--sans); color: var(--ink-2); }
.dv-tags { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; justify-self: center; max-width: 760px; }
.dv-search { display: flex; align-items: center; gap: 6px; }
.dv-search input {
  height: 36px; width: 200px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 20px;
  font: 400 14px var(--sans); color: var(--ink); background: #fff; outline: none;
}
.dv-search input:focus { border-color: #d9c6bf; }
.dv-icons { display: flex; align-items: center; gap: 10px; justify-self: end; }
.dv-home .dv-icons { margin-right: 124px; } /* the Quick exit sits at the top right of the home page */

/* ───── panels that drop from the top bar ───── */
.dv-panel {
  position: absolute; z-index: 8; width: min(320px, calc(100vw - 20px)); max-height: calc(100% - 90px); overflow: auto;
  display: grid; gap: 10px; padding: 16px; border-radius: 20px;
  background: var(--panel); box-shadow: 0 12px 34px rgba(80, 50, 40, .12);
  font-size: 14px;
}
.dv-panel[hidden] { display: none; }
.dv-panel p { color: var(--ink-2); line-height: 1.5; }
.dv-panel-h { font: italic 600 18px var(--sans); color: var(--ink) !important; }
.dv-menu { width: 280px; }
.dv-menu > button, .dv-menu > a { display: block; padding: 8px 10px; border-radius: 8px; font: italic 500 16px var(--sans); color: var(--ink); text-decoration: none; }
.dv-menu > button:hover, .dv-menu > a:hover { background: #f6e3dc; }
.dv-more label { display: grid; gap: 4px; font: italic 400 13px var(--sans); color: var(--ink-2); flex: 1; }
.dv-more input, .dv-more select {
  height: 36px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 20px; background: var(--paper);
  font: 400 14px var(--sans); color: var(--ink); min-width: 0;
}
.dv-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ───── the stage: sky, ribbons, markers ───── */
.dv-stage { position: absolute; inset: 0; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; outline: none; }
.dv-stage.dragging { cursor: grabbing; }
.dv-stage:focus-visible::after { content: ""; position: absolute; inset: 4px; border: 2px solid var(--ink); border-radius: 10px; pointer-events: none; }
.dv-art, .dv-art svg { position: absolute; inset: 0; pointer-events: none; }
.dv-sky path { fill: none; stroke-width: 1; opacity: .75; }
.dv-sky circle { opacity: .85; }
.dv-sky { animation: dv-drift 60s ease-in-out infinite alternate; } /* the dots drift, slowly */
@keyframes dv-drift { to { transform: translate(-14px, 10px); } }
@media (prefers-reduced-motion: reduce) { .dv-sky, .dv-pill, .dv-event, .dv-card { animation: none; } }
.dv-ribbons { isolation: isolate; } /* the ribbons multiply with each other, not with the sky */
.dv-rib { mix-blend-mode: multiply; }
.dv-line { fill: none; stroke: #fff; stroke-width: 1.25; opacity: .95; }
.dv-lanes { position: absolute; inset: 0; pointer-events: none; }
.dv-lane {
  position: absolute; right: 20px; transform: translateY(-50%); max-width: 104px; text-align: right;
  font: italic 400 15px/18px var(--sans); color: var(--ink);
}
.dv-end {
  position: absolute; left: 24px; pointer-events: auto; cursor: pointer;
  font: italic 600 56px/72px var(--display); color: var(--ink); letter-spacing: -.005em; white-space: nowrap;
}
.dv-end small { display: block; margin-top: -10px; font: italic 400 15px/1.2 var(--sans); color: var(--ink-2); letter-spacing: 0; }
.dv-to { left: auto; right: 24px; text-align: right; }

.dv-marks, .dv-strip-marks { position: absolute; inset: 0; pointer-events: none; }
.dv-m {
  position: absolute; left: 0; top: 0; pointer-events: auto;
  display: flex; align-items: center; justify-content: center; min-width: 28px; min-height: 28px;
  border-radius: 999px; transition: opacity .25s;
}
.dv-m.ghost { opacity: .38; }
.dv-mi { position: relative; display: flex; align-items: center; }
.dv-dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: background-color .15s, transform .15s; }
.dv-m:hover .dv-dot, .dv-m:focus-visible .dv-dot, .dv-m.on .dv-dot { background: #000; transform: scale(1.25); }
.dv-pic i, .dv-ph {
  display: block; width: 42px; height: 42px; border-radius: 50%; border: 2px solid #fff;
  background: rgba(255, 255, 255, .55) center / cover no-repeat; transition: border-color .15s;
}
.dv-m:hover .dv-pic i, .dv-m.on .dv-pic i { border-color: #000; }
.dv-grp .dv-ph + .dv-ph { margin-left: -10px; }
.dv-grp b {
  display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 5px; border-radius: 999px; background: #fff;
  font: 600 11px/1 var(--display); color: #000; transition: background-color .15s, color .15s;
}
.dv-m:hover .dv-grp b, .dv-grp:hover b, .dv-grp:focus-visible b, .dv-grp.on b { background: #000; color: #fff; }
.dv-grp .dv-ph + b { margin-left: -8px; position: relative; }
.dv-m:focus-visible { outline-offset: 0; }

/* what the decoder found, on the marker itself: a ring in the severity's color */
.dv-m[data-flag] .dv-dot { box-shadow: 0 0 0 2.5px var(--flag); }
.dv-m[data-flag] .dv-pic i, .dv-m[data-flag].dv-grp b { box-shadow: 0 0 0 2.5px var(--flag); }
.dv-m[data-flag="1"] { --flag: #7d6fa8; }
.dv-m[data-flag="2"] { --flag: #353433; }
.dv-m[data-flag="3"] { --flag: #b8321d; }

/* the strip along the bottom: how safe each entry felt */
.dv-strip { position: absolute; border-radius: 42px 0 0 42px; background: var(--strip); }
.dv-strip-line { position: absolute; left: 43px; right: 130px; top: 50%; height: 1px; background: #ddd2ce; }
.dv-strip-label {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%); pointer-events: none;
  font: italic 400 15px/18px var(--sans); color: var(--ink); background: var(--strip); padding-left: 8px; z-index: 1;
}
.dv-strip-marks .dv-m { z-index: 2; }
.dv-strip-marks .dv-m.ghost { z-index: 0; } /* slides under the strip's name */
.dv-felt b {
  display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px;
  background: #000; color: #fff; font: 600 11px/1 var(--display); transition: background-color .15s, color .15s;
}
.dv-felt:hover b, .dv-felt.on b { background: #fff; color: #000; }

/* the cursor line, with its date at the bottom */
.dv-cursor { position: absolute; left: 0; width: 1px; background: #353433; pointer-events: none; z-index: 2; }
.dv-cursor span {
  position: absolute; bottom: -8px; left: 0; padding: 2px 9px; border-radius: 999px; white-space: nowrap;
  background: #000; color: #fff; font: italic 500 11px/12px var(--sans);
}

.dv-zoom { position: absolute; left: 24px; display: flex; gap: 8px; z-index: 3; }

/* the bar at the very bottom: the whole file, with the stretch on screen as a thumb; it grows under the pointer */
.dv-range {
  position: absolute; left: 0; right: 0; bottom: 0; height: 24px; z-index: 3; cursor: pointer;
  border-top: 1px solid #d8d8d8; background: var(--paper); transition: height .25s;
}
.dv-range:hover, .dv-range:active { height: 48px; }
.dv-eras { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.dv-eras span { position: absolute; top: 50%; transform: translateY(-50%); padding-left: 6px; font: 400 14px/1 var(--sans); color: var(--ink); opacity: .4; white-space: nowrap; transition: opacity .25s; }
.dv-range:hover .dv-eras span { opacity: 1; }
.dv-thumb {
  position: absolute; top: 0; bottom: 0; border-radius: 48px; cursor: grab;
  background: linear-gradient(90deg, #9a4b7e80, #fa7f5380, #ffc44280);
}
.dv-thumb i {
  position: absolute; top: 2px; bottom: 2px; aspect-ratio: 1; border-radius: 50%; background: #3c3c3c; cursor: ew-resize;
  background-image: linear-gradient(90deg, transparent 6px, #fff 6px 7px, transparent 7px 9px, #fff 9px 10px, transparent 10px 12px, #fff 12px 13px, transparent 13px);
  background-size: 19px 9px; background-position: center; background-repeat: no-repeat; transition: background-color .15s;
}
.dv-thumb i:hover { background-color: #fff; background-image: linear-gradient(90deg, transparent 6px, #000 6px 7px, transparent 7px 9px, #000 9px 10px, transparent 10px 12px, #000 12px 13px, transparent 13px); }
.dv-thumb i[data-grip="from"] { left: 2px; }
.dv-thumb i[data-grip="to"] { right: 2px; }

.dv-hint {
  position: absolute; left: 50%; transform: translateX(-50%); padding: 8px 16px; border-radius: 999px; pointer-events: none;
  background: rgba(53, 52, 51, .9); color: var(--paper); font: italic 400 14px var(--sans); white-space: nowrap;
  opacity: 0; transition: opacity .4s; z-index: 3;
}
.dv-hint.show { opacity: 1; }
.dv-empty {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; display: grid; gap: 12px; justify-items: center;
  padding: 20px 26px; border-radius: 20px; background: var(--paper); box-shadow: 0 10px 30px rgba(80, 50, 40, .12);
  font: italic 400 16px var(--sans); text-align: center;
}
.dv-empty[hidden] { display: none; }

/* hovering one entry: a dark pill grows out of its marker */
.dv-tip { position: absolute; z-index: 5; pointer-events: none; }
.dv-tip[hidden] { display: none; }
.dv-pill {
  display: flex; align-items: center; gap: 14px; height: 54px; max-width: min(460px, calc(100vw - 20px)); padding: 0 28px 0 6px;
  border-radius: 27px; background: #353433; color: var(--paper); box-shadow: 0 6px 20px rgba(40, 30, 25, .18);
  animation: dv-pill .25s cubic-bezier(.22, 1, .36, 1) both; transform-origin: 27px 50%;
}
@keyframes dv-pill { from { opacity: 0; transform: scaleX(.6); } }
.dv-pill-face i {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-size: 18px; font-style: normal;
  background: center / cover no-repeat; border: 2px solid #fff;
}
.dv-pill-words { display: grid; gap: 3px; min-width: 0; }
.dv-pill .t { font: 400 16px/1.1 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-pill .s { font: italic 400 13px/1.1 var(--sans); color: #d9d1cd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* pressing a shared marker: its entries as stacked boxes, the scrollbar on the left */
.dv-list { width: 216px; pointer-events: auto; }
.dv-list .dv-tipboxes { max-height: min(340px, 50vh); overflow: hidden auto; direction: rtl; scrollbar-width: thin; }
.dv-tipboxes > * { direction: ltr; }
.dv-tipbox {
  display: grid !important; gap: 5px; width: calc(100% - 8px); margin: 1px 0 1px 8px; padding: 11px 14px; border-radius: 4px;
  background: var(--tip); text-align: left; transition: translate .25s, background-color .25s;
}
button.dv-tipbox { cursor: pointer; }
button.dv-tipbox:hover, button.dv-tipbox:focus-visible { translate: -8px 0; background: #353433; }
button.dv-tipbox:hover .t, button.dv-tipbox:hover .s, button.dv-tipbox:focus-visible .t, button.dv-tipbox:focus-visible .s { color: var(--paper); }
.dv-tipbox .t { font: 400 16px/1.09 var(--sans); color: var(--ink); overflow-wrap: anywhere; }
.dv-tipbox .s { font: italic 400 14px/1.09 var(--sans); color: var(--ink-2); }
.dv-savedlist .dv-tipbox { width: 100%; margin-left: 0; }

/* ───── one entry's card ───── */
.dv-eventing .dv-stage { visibility: hidden; }
.dv-eventing .dv-tags, .dv-eventing .dv-icons { visibility: hidden; }
.dv-event { position: absolute; inset: 0; z-index: 4; animation: dv-in .25s ease both; }
.dv-event[hidden] { display: none; }
@keyframes dv-in { from { opacity: 0; } }
.dv-band { position: absolute; left: 0; right: 0; top: 20%; height: 60%; }
.dv-band i { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #fff5e882; }
.dv-card {
  --h: min(28vw, 500px, 54vh);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; gap: 33px; height: var(--h); width: min(calc(100vw - 2 * clamp(25px, 3vw, 55px) - 128px), 1000px);
  border-radius: 800px; background: var(--card); overflow: hidden;
  animation: dv-card .5s ease both;
}
@keyframes dv-card { from { opacity: 0; } }
.dv-disc {
  flex: 0 0 var(--h); height: var(--h); padding: 10px; display: grid; place-items: center;
}
.dv-disc > * { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.dv-disc-icon { display: grid !important; place-items: center; font-size: calc(var(--h) * .26); }
.dv-disc-pic { display: block; cursor: zoom-in !important; }
.dv-disc-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dv-text {
  flex: 1; min-width: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(28px, 24%, 100px) clamp(56px, 12%, 120px) 40px 0;
}
.dv-text h2 { font: italic 700 clamp(22px, 2.2vw, 32px)/1.06 var(--sans); color: var(--ink); }
.dv-when { margin-top: 8px; font: italic 400 clamp(17px, 1.8vw, 26px)/1.25 var(--sans); color: var(--ink-3); }
.dv-words { margin-top: 20px; font-size: 16px; line-height: 1.6; }
.dv-words:focus-visible { outline-offset: 4px; border-radius: 6px; }
.dv-main { display: grid; gap: 10px; }
.dv-main[hidden], .dv-details[hidden] { display: none; }
.dv-body { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.dv-facts { font-style: italic; color: var(--ink-2); font-size: 14px; }
.dv-read { padding-left: 12px; border-left: 3px solid #f0d9c9; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.dv-read b { font-weight: 500; color: var(--ink); }
.dv-media audio { width: 100%; max-width: 380px; height: 40px; }
.dv-media video { width: 100%; max-height: calc(var(--h) * .5); border-radius: 12px; background: #000; }
.dv-details { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.dv-details dt { font-style: italic; color: var(--ink-2); }
.dv-details dd { color: var(--ink); overflow-wrap: anywhere; }
.dv-code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; }
.dv-decode { padding: 14px 16px; border-radius: 18px; background: linear-gradient(90deg, rgba(254, 198, 80, .16), rgba(247, 120, 100, .12)); }
.dv-decode[data-sev="3"] { background: linear-gradient(90deg, rgba(247, 120, 100, .2), rgba(148, 91, 150, .12)); }
.dv-decode-h { font: italic 600 16px/1.3 var(--sans); color: var(--ink); }
.dv-pats { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.dv-pats li { display: grid; gap: 2px; padding: 7px 12px; border-radius: 14px; background: rgba(255, 248, 245, .85); border-left: 3px solid #7d6fa8; font-size: 13.5px; line-height: 1.2; }
.dv-pats li[data-sev="2"] { border-color: #fe963b; }
.dv-pats li[data-sev="3"] { border-color: #b8321d; }
.dv-pats b { font-weight: 500; }
.dv-pats span { font-style: italic; font-size: 12.5px; color: var(--ink-2); }
.dv-decode-none { font-style: italic; color: var(--ink-2); font-size: 14px; }
.dv-body mark { background: rgba(254, 150, 59, .22); color: inherit; border-bottom: 2px solid #fe963b; padding: 0 2px; border-radius: 3px; }
.dv-body mark[data-sev="1"] { background: rgba(125, 111, 168, .14); border-color: #7d6fa8; }
.dv-body mark[data-sev="3"] { background: rgba(247, 120, 100, .24); border-color: #b8321d; }
.dv-acts .dv-chip-dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.dv-acts .dv-chip-dark:hover { background: #000; border-color: #000; }
.dv-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.dv-acts .dv-chip { background: transparent; border-color: #e6d5cc; color: var(--ink); }
.dv-acts .dv-chip:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.dv-save { position: absolute; top: 16px; right: 16px; }
.dv-info { position: absolute; bottom: 15px; right: 16px; }
.dv-save[aria-pressed="true"] .ic path { fill: currentColor; }
.dv-info[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.dv-step { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; background: transparent; border-color: var(--ink); color: var(--ink); }
.dv-step svg { width: 22px; height: 22px; }
.dv-prev { left: clamp(25px, 3vw, 55px); }
.dv-next { right: clamp(25px, 3vw, 55px); }
.dv-x { position: absolute; left: 50%; bottom: 60px; width: 56px; height: 56px; margin-left: -28px; border-color: var(--ink); background: var(--paper); }
.dv-x svg { width: 24px; height: 24px; }

.dv-photo { position: absolute; inset: 0; z-index: 9; display: grid; place-items: center; padding: 50px 20px; background: rgba(30, 26, 24, .88); cursor: zoom-out; }
.dv-photo[hidden] { display: none; }
.dv-photo img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.dv-photo button { position: absolute; top: 14px; right: 14px; }

/* ───── middling screens: the tags wrap onto a second row, as the reference does ───── */
@media (max-width: 1180px) {
  .dv-home .dv-icons { margin-right: 0; }
  .dv-top { grid-template-columns: 1fr auto; }
  .dv-tags { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .dv-home .dv-top { right: 136px; }
}
/* ───── narrow screens: the tags scroll under the top bar; the card turns into a rounded box ───── */
@media (max-width: 860px) {
  .dv-top { left: 12px; right: 12px; top: 10px; row-gap: 8px; }
  .dv-home .dv-top { right: 12px; top: 58px; }
  .dv-tags { justify-self: stretch; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; gap: 8px; }
  .dv-tags::-webkit-scrollbar { display: none; }
  .dv-searching .dv-tags .dv-chip:not(.dv-round) { display: none; }
  .dv-search input { width: min(240px, 60vw); }
  .dv-round.dv-big { width: 36px; height: 36px; }
  .dv-icons { gap: 6px; }
}
@media (max-width: 720px) {
  .dv-mark-text small { display: none; }
  .dv-lane { right: 8px; font-size: 12.5px; line-height: 15px; max-width: 70px; }
  .dv-end { left: 12px; font-size: 32px; line-height: 40px; }
  .dv-to { right: 12px; }
  .dv-end small { margin-top: -4px; font-size: 12px; }
  .dv-strip { border-radius: 32px 0 0 32px; }
  .dv-strip-line { left: 24px; right: 80px; }
  .dv-strip-label { right: 10px; font-size: 12.5px; }
  .dv-zoom { left: 12px; }
  .dv-hint { font-size: 12.5px; }
  .dv-pill { height: 48px; padding-right: 18px; }
  .dv-pill-face i { width: 36px; height: 36px; }
  .dv-band { top: 11%; height: 76%; }
  .dv-card {
    --h: 96px;
    width: calc(100vw - 28px); height: auto; max-height: 72%; border-radius: 26px;
    flex-direction: column; gap: 0;
  }
  .dv-disc { flex: 0 0 auto; width: var(--h); margin: 8px 0 0 8px; padding: 4px; }
  .dv-text { padding: 12px 18px 18px; }
  .dv-text h2 { font-size: 21px; }
  .dv-when { font-size: 16px; }
  .dv-words { font-size: 15px; }
  .dv-save { top: 14px; right: 14px; }
  .dv-info { top: 52px; bottom: auto; right: 14px; }
  .dv-save, .dv-info { background: #fbe9dc; border-color: #fbe9dc; }
  .dv-step { top: auto; bottom: calc(11% - 50px); margin: 0; }
  .dv-prev { left: 14px; }
  .dv-next { right: auto; left: 66px; }
  .dv-x { bottom: calc(11% - 56px); width: 48px; height: 48px; margin-left: -24px; }
}
