/* Ithreth. One column, one serif, two lights: paper by day, lamp by night.
   Every screen keeps one thing unfinished (the frame's open corner): the tide's share, §4.15.1. */

:root {
  --bg: #f1eadc;
  --bg2: #e8dfcd;
  --panel: #f7f2e8;
  --ink: #26211b;
  --ink2: #4f463b;
  --faint: #8a7f6f;
  --rule: #cdc1ac;
  --madder: #9b3a25;
  --tallow: #9a6714;
  --tide: #4d6470;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 30px -18px rgba(38, 33, 27, 0.35);
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Noto Serif", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --col: 36rem;
  --gutter: 16px;
  --t-fast: 160ms;
  --t-slow: 520ms;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #13110f;
    --bg2: #1a1714;
    --panel: #1d1a16;
    --ink: #e7dbc4;
    --ink2: #c2b6a0;
    --faint: #7c725f;
    --rule: #39332b;
    --madder: #d4664b;
    --tallow: #e3ad4d;
    --tide: #8aa0ab;
    --shadow: 0 0 0 1px rgba(255, 240, 210, 0.03), 0 18px 40px -20px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #13110f;
  --bg2: #1a1714;
  --panel: #1d1a16;
  --ink: #e7dbc4;
  --ink2: #c2b6a0;
  --faint: #7c725f;
  --rule: #39332b;
  --madder: #d4664b;
  --tallow: #e3ad4d;
  --tide: #8aa0ab;
  --shadow: 0 0 0 1px rgba(255, 240, 210, 0.03), 0 18px 40px -20px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(17px, 0.6vw + 14.5px, 19.5px);
  line-height: 1.62;
  font-kerning: normal;
  font-variant-numeric: oldstyle-nums proportional-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color var(--t-slow) ease, color var(--t-slow) ease;
}

button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--tallow); outline-offset: 3px; border-radius: 2px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- the frame, with its open corner ---------------------------------------------------------- */

.frame {
  position: fixed;
  inset: 10px;
  pointer-events: none;
  z-index: 0;
}
.frame svg { width: 100%; height: 100%; display: block; overflow: visible; }
.frame path { fill: none; stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }

/* ---- the bar --------------------------------------------------------------------------------- */

.bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(var(--col) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 18px var(--gutter) 10px;
  background: linear-gradient(var(--bg) 70%, transparent);
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.bar .when { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
.bar .dial { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.bar .dial b { font-weight: 600; color: var(--ink2); letter-spacing: 0.06em; }
.pips { display: inline-flex; gap: 3px; }
.pips i { width: 5px; height: 5px; border-radius: 50%; border: 1px solid var(--faint); opacity: 0.7; }
.pips i.on { background: var(--tide); border-color: var(--tide); opacity: 1; }
.pips i.floor { background: var(--ink2); border-color: var(--ink2); opacity: 0.8; }
.lamp i { width: 3px; height: 10px; border-radius: 1px; border: none; background: var(--rule); opacity: 1; }
.lamp i.on { background: var(--tallow); box-shadow: 0 0 6px -1px var(--tallow); }
.bar .menu {
  border: 0; background: none; padding: 4px 6px; margin-right: -6px;
  color: var(--faint); font-size: 18px; line-height: 1; letter-spacing: 0.1em;
}
.bar .menu:hover { color: var(--ink); }

/* ---- the page -------------------------------------------------------------------------------- */

main {
  position: relative;
  z-index: 1;
  max-width: calc(var(--col) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 8px var(--gutter) 150px;
}

.log { padding-top: 10px; }

.ln {
  position: relative;
  margin: 0 0 0.78em;
  padding-right: 3.2em;
  transition: opacity 900ms ease, filter 900ms ease, margin 400ms ease, max-height 400ms ease;
}
.ln .mk {
  position: absolute;
  right: 0;
  top: 0.32em;
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.1em;
  color: var(--faint);
  text-align: right;
  width: 3.4em;
  white-space: nowrap;
  user-select: none;
}
.ln .mk em { display: block; font-style: normal; font-size: 9px; letter-spacing: 0.04em; opacity: 0.8; white-space: nowrap; }
.ln .c.g { color: transparent; }
.ln .c.g.d { color: transparent; text-decoration-color: transparent; }

.ln.new { animation: arrive var(--t-slow) cubic-bezier(.2,.7,.2,1) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.ln.gone { opacity: 0 !important; margin: 0; max-height: 0; overflow: hidden; }
.ln.thread .tx { color: transparent; }
.ln.thread::after {
  content: ""; position: absolute; left: 0; top: 0.8em; width: 2.2em; height: 1px;
  background: var(--rule);
}
.ln.thread .mk { opacity: 0; }

.ln.you { color: var(--faint); font-style: italic; padding-left: 1.1em; }
.ln.you::before { content: "›"; position: absolute; left: 0; font-style: normal; color: var(--rule); }
.ln.head {
  margin-top: 1.6em;
  font-variant: small-caps;
  letter-spacing: 0.09em;
  color: var(--ink2);
  font-size: 0.92em;
}
.ln.gap { height: 0.4em; margin: 0; }
.ln.doc {
  margin-left: 0.9em;
  padding-left: 0.95em;
  border-left: 1px solid var(--rule);
  font-style: italic;
  color: var(--ink2);
}
.ln.doc.sig { font-style: normal; font-variant: small-caps; letter-spacing: 0.08em; }
.ln.mem { margin-left: 0.9em; font-style: italic; color: var(--ink2); }
.ln.mem::before { content: "◦"; position: absolute; left: -0.9em; color: var(--madder); font-style: normal; }
.ln.frag { font-style: italic; color: var(--ink2); padding-left: 0.95em; margin-left: 0.9em; border-left: 1px solid var(--madder); }
.ln.tip {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.55;
  color: var(--tallow);
  padding: 0.5em 3.2em 0.5em 1.4em;
  letter-spacing: 0.01em;
}
.ln.tip::before { content: "✳"; position: absolute; left: 0; top: 0.5em; font-size: 11px; }
/* a counter, not a sentence: no mark, interface voice */
.ln.status {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.9em;
}

/* a detail that can be tied */
.dt {
  cursor: pointer;
  text-decoration: underline dotted;
  text-decoration-color: var(--tallow);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
  border-radius: 2px;
  transition: background-color var(--t-fast) ease, text-decoration-color var(--t-fast) ease;
}
.dt:hover:not([aria-disabled="true"]) { background: color-mix(in srgb, var(--tallow) 14%, transparent); }
.dt[aria-disabled="true"] { cursor: default; text-decoration-color: transparent; }
.dt.tied {
  text-decoration: underline solid;
  text-decoration-color: var(--madder);
  text-decoration-thickness: 1.5px;
}
.dt.tied .c.g { color: inherit; }
.dt.tied { cursor: default; }
.dt.pulse { animation: pulse 700ms ease; }
@keyframes pulse { 0% { background: color-mix(in srgb, var(--madder) 30%, transparent); } 100% { background: transparent; } }

/* ---- choices ----------------------------------------------------------------------------------- */

.act { margin-top: 1.3em; min-height: 3em; }
.act.wait { opacity: 0; }
.act.show { animation: arrive 420ms ease both; }

.choices { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.choices li { border-bottom: 1px solid var(--rule); }
.choice {
  display: grid;
  grid-template-columns: 1.6em 1fr;
  width: 100%;
  padding: 0.62em 0.2em 0.66em 0;
  border: 0;
  background: none;
  text-align: left;
  color: var(--ink);
  transition: color var(--t-fast) ease, background-color var(--t-fast) ease, padding var(--t-fast) ease;
}
.choice .n {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--faint);
  padding-top: 0.45em;
  font-variant-numeric: lining-nums;
}
.choice .l { display: block; }
.choice .s { display: block; font-size: 0.8em; color: var(--faint); margin-top: 0.12em; line-height: 1.45; }
.choice .s .eth { font-style: italic; }
.choice .s .held { color: var(--madder); font-family: var(--sans); font-size: 11px; letter-spacing: 0.06em; }
.choice:hover:not([disabled]) { background: color-mix(in srgb, var(--ink) 4%, transparent); padding-left: 0.35em; }
.choice:hover:not([disabled]) .n { color: var(--madder); }
.choice[disabled] { color: var(--faint); cursor: default; }
.choice.held .l::before { content: "⁂ "; color: var(--madder); font-size: 0.75em; }
.choice.up .l { color: var(--ink2); }
.choice .match { color: var(--madder); font-family: var(--sans); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; margin-left: 0.5em; }

.ask { display: flex; gap: 10px; align-items: stretch; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 0.7em 0; }
.ask input {
  flex: 1; min-width: 0;
  border: 0; border-bottom: 1px solid var(--faint);
  background: transparent; padding: 0.2em 0; outline: none;
  font-size: 1.15em; font-style: italic;
}
.ask input:focus { border-bottom-color: var(--madder); }
.ask button, .btn {
  border: 1px solid var(--rule);
  background: var(--panel);
  border-radius: 999px;
  padding: 0.35em 1.1em;
  font-size: 0.86em;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: border-color var(--t-fast) ease, transform var(--t-fast) ease;
}
.ask button:hover, .btn:hover { border-color: var(--madder); }
.ask button:active, .btn:active { transform: translateY(1px); }

/* ---- settling ------------------------------------------------------------------------------------ */

.settle {
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 1.1em 1.1em 0.9em;
}
.settle .poles {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  font-variant: small-caps;
  letter-spacing: 0.05em;
  color: var(--ink2);
  font-size: 0.95em;
}
.settle .poles svg { width: 100%; height: 14px; overflow: visible; }
.settle .poles path { fill: none; stroke: var(--faint); stroke-width: 1.25; stroke-linecap: round; }
.settle .meta {
  display: flex; justify-content: space-between; align-items: center;
  margin: 0.55em 0 0.75em;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint);
}
.strength { display: inline-flex; gap: 4px; }
.strength i { width: 8px; height: 8px; border-radius: 50%; border: 1.25px solid var(--madder); }
.strength i.on { background: var(--madder); }
.strength.hit { animation: shake 360ms ease; }
@keyframes shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }

.tied { list-style: none; margin: 0 0 0.7em; padding: 0; counter-reset: k; }
.tied li {
  counter-increment: k;
  position: relative;
  padding: 0.18em 0 0.18em 1.7em;
  font-style: italic;
  color: var(--ink2);
  animation: arrive 360ms ease both;
}
.tied li::before {
  content: "";
  position: absolute; left: 0.25em; top: 0.62em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink2) 16%, transparent);
}
.tied li::after {
  content: "";
  position: absolute; left: calc(0.25em + 4px); top: 1.25em; bottom: -0.55em;
  width: 1px; background: var(--rule);
}
.tied li:last-child::after { display: none; }
.tied li.open { color: var(--faint); font-style: normal; }
.tied li.open::before { background: transparent; border: 1.25px dashed var(--faint); box-shadow: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative;
  border: 1px solid var(--rule);
  background: var(--bg);
  border-radius: 4px;
  padding: 0.42em 0.75em 0.46em 1.75em;
  text-align: left;
  font-size: 0.92em;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color var(--t-fast) ease, transform var(--t-fast) ease, background-color var(--t-fast) ease;
  animation: arrive 360ms ease both;
}
.chip .n { position: absolute; left: 0.6em; top: 0.62em; font-family: var(--sans); font-size: 10px; color: var(--faint); }
.chip:hover { border-color: var(--madder); transform: translateY(-1px); }
.chip.no { animation: nope 380ms ease; border-color: var(--madder); }
@keyframes nope { 20% { transform: translateX(-4px); } 60% { transform: translateX(4px); } }
.settle .row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 1em; padding-top: 0.8em; border-top: 1px solid var(--rule); }
.settle .row .btn.leave { border-color: var(--madder); color: var(--madder); }
.settle .row .btn.release { background: none; box-shadow: none; color: var(--faint); border-color: transparent; }

/* ---- the cord ------------------------------------------------------------------------------------ */

.cord {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 6;
  padding: 0 var(--gutter) max(12px, env(safe-area-inset-bottom));
  background: linear-gradient(transparent, var(--bg) 42%);
  pointer-events: none;
}
.cord .wrap {
  max-width: var(--col);
  margin: 0 auto;
  pointer-events: auto;
}
.cord button.open {
  display: block; width: 100%;
  border: 0; background: none; padding: 26px 0 0;
  text-align: left;
}
.cord svg { width: 100%; height: 34px; display: block; overflow: visible; }
.cord .line { fill: none; stroke: var(--ink2); stroke-width: 1.4; stroke-linecap: round; }
.cord .fray { fill: none; stroke: var(--ink2); stroke-width: 1; stroke-linecap: round; opacity: 0.7; }
.cord .slot { stroke: var(--faint); stroke-width: 1; opacity: 0.6; }
.cord .k { stroke: var(--ink2); stroke-width: 1.4; fill: var(--bg); transition: transform 300ms ease; transform-box: fill-box; transform-origin: center; }
.cord .k.fragment { fill: var(--ink2); }
.cord .k.fast { fill: var(--madder); stroke: var(--madder); }
.cord .k.first { fill: var(--bg); stroke: var(--madder); stroke-width: 1.6; }
.cord .k.firstin { fill: var(--madder); stroke: none; }
.cord .k.contract { fill: var(--tallow); stroke: var(--tallow); }
.cord .k.fresh { animation: tie 600ms cubic-bezier(.3,1.6,.5,1) both; }
@keyframes tie { from { transform: scale(0.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.cord .caption {
  display: flex; justify-content: space-between;
  font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint); margin-top: 4px;
}
.cord button.open:hover .caption { color: var(--ink2); }

/* ---- sheets (the cord in full, settings) ---------------------------------------------------------- */

.sheet {
  position: fixed; inset: 0; z-index: 20;
  display: flex; align-items: flex-end; justify-content: center;
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: fadein 200ms ease both;
}
.sheet[hidden] { display: none; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.sheet .card {
  width: 100%;
  max-width: calc(var(--col) + 2 * var(--gutter));
  max-height: 86vh;
  max-height: 86dvh;
  overflow: auto;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  box-shadow: var(--shadow);
  padding: 1.2em var(--gutter) max(1.4em, env(safe-area-inset-bottom));
  animation: rise 280ms cubic-bezier(.2,.8,.2,1) both;
}
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet h2 {
  margin: 0 0 0.2em;
  font-weight: normal;
  font-variant: small-caps;
  letter-spacing: 0.09em;
  font-size: 1.05em;
  display: flex; justify-content: space-between; align-items: baseline;
}
.sheet h2 button { border: 0; background: none; color: var(--faint); font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.sheet .lede { color: var(--faint); font-size: 0.85em; margin: 0 0 1em; }
.sheet h3 { font-weight: normal; font-family: var(--sans); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin: 1.4em 0 0.5em; }
.holding { padding: 0.7em 0; border-top: 1px solid var(--rule); }
.holding .top { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; }
.holding .name { flex: 1; }
.holding .name::before { content: "●"; font-size: 0.6em; margin-right: 0.6em; vertical-align: 0.25em; color: var(--ink2); }
.holding.fast .name::before { color: var(--madder); }
.holding.fact .name::before { content: "○"; }
.holding.first .name::before { content: "◎"; color: var(--madder); font-size: 0.75em; vertical-align: 0.12em; }
.holding .meta { font-family: var(--sans); font-size: 11px; letter-spacing: 0.04em; color: var(--faint); margin-top: 0.25em; }
.holding .line { font-style: italic; color: var(--ink2); font-size: 0.9em; margin-top: 0.35em; }
.holding .bled { color: var(--tide); font-size: 0.85em; margin-top: 0.3em; }
.holding .loose { border: 0; background: none; color: var(--faint); font-family: var(--sans); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 0; }
.holding .loose:hover { color: var(--madder); }
.holding .loose.confirm { color: var(--madder); }
.setting { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0.75em 0; border-top: 1px solid var(--rule); }
.setting small { display: block; color: var(--faint); font-size: 0.78em; }
.toggle { position: relative; width: 40px; height: 22px; border-radius: 22px; border: 1px solid var(--rule); background: var(--bg); flex: none; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--faint); transition: transform 200ms ease, background-color 200ms ease; }
.toggle[aria-checked="true"] { border-color: var(--madder); }
.toggle[aria-checked="true"]::after { transform: translateX(18px); background: var(--madder); }
.seg { display: inline-flex; border: 1px solid var(--rule); border-radius: 999px; overflow: hidden; flex: none; }
.seg button { border: 0; background: none; padding: 0.25em 0.8em; font-size: 0.82em; color: var(--faint); }
.seg button[aria-pressed="true"] { background: var(--bg2); color: var(--ink); }
.danger { color: var(--madder) !important; }

/* ---- the title page ------------------------------------------------------------------------------ */

.title {
  min-height: calc(100vh - 160px);
  min-height: calc(100dvh - 160px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 40px 0 20px;
}
.title h1 {
  margin: 0;
  font-weight: normal;
  font-size: clamp(2.6rem, 9vw, 4.4rem);
  letter-spacing: 0.32em;
  margin-right: -0.32em;
  font-variant: small-caps;
  line-height: 1;
}
.title h1 .last { opacity: 0.55; }
.title .sub { margin-top: 0.9em; font-style: italic; color: var(--ink2); }
.title svg { width: min(340px, 82%); height: 46px; margin: 2.2em 0 2em; overflow: visible; }
.title svg .line { fill: none; stroke: var(--ink2); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 2.4s cubic-bezier(.4,0,.2,1) 0.2s forwards; }
.title svg .k { fill: var(--ink2); opacity: 0; animation: knot 500ms ease forwards; }
.title svg .k.m { fill: var(--madder); }
.title svg .open { fill: none; stroke: var(--faint); stroke-width: 1.1; stroke-dasharray: 2 3; opacity: 0; animation: knot 600ms ease 2.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes knot { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }
.title svg .k { transform-box: fill-box; transform-origin: center; }
.title svg .k.d1 { animation-delay: 0.5s; }
.title svg .k.d2 { animation-delay: 0.8s; }
.title svg .k.d3 { animation-delay: 1.1s; }
.title svg .k.d4 { animation-delay: 1.4s; }
.title svg .k.d5 { animation-delay: 1.7s; }
.title .papers { margin-top: 1.6em; font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; color: var(--faint); text-decoration: underline dotted; text-underline-offset: 0.25em; }
.title .papers:hover { color: var(--ink2); }
.noscript { max-width: 30em; margin: 30vh auto; padding: 0 16px; text-align: center; }
.title .proverb { color: var(--faint); font-size: 0.92em; max-width: 26em; margin: 0 auto 2em; }
.title .buttons { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.title .buttons .btn { min-width: 13em; padding: 0.55em 1.4em; font-size: 0.95em; }
.title .buttons .btn.primary { border-color: var(--madder); }
.title .small { margin-top: 2.6em; font-family: var(--sans); font-size: 11px; letter-spacing: 0.06em; color: var(--faint); max-width: 30em; line-height: 1.6; }

body.on-title .cord, body.on-title .log, body.on-title .act { display: none; }
body.on-title .bar { position: absolute; left: 0; right: 0; background: none; }
body.on-title .bar .when, body.on-title .bar .dial { visibility: hidden; }
body:not(.on-title) .title { display: none; }

/* ---- small screens --------------------------------------------------------------------------------- */

@media (max-width: 520px) {
  .ln { padding-right: 0; }
  .ln .mk { position: static; display: inline; width: auto; margin-left: 0.45em; font-size: 9px; vertical-align: 0.15em; }
  .ln .mk em { display: inline; margin-left: 0.3em; }
  .ln.tip { padding-right: 0; }
  .bar { gap: 10px; padding-top: 14px; }
  .bar .marks { display: none; }
  .settle { padding: 0.9em 0.85em 0.8em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
}
:root.calm *, :root.calm *::before, :root.calm *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
