/* ============================================================
   Curated — editorial, calm, typography-first.
   ============================================================ */

:root {
  --serif: 'Newsreader', ui-serif, 'New York', 'Iowan Old Style', Georgia, serif;
  --display: 'Fraunces', 'Newsreader', ui-serif, Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, ui-sans-serif, system-ui, 'Helvetica Neue', sans-serif;

  --bg: #f6f4ef;
  --surface: #fffdf9;
  --surface-2: #efece5;
  --ink: #1c1b19;
  --ink-2: #5a574f;
  --ink-3: #8d8980;
  --line: rgba(28, 27, 25, 0.10);
  --line-strong: rgba(28, 27, 25, 0.18);
  --accent: #8a3b2c;
  --accent-ink: #fff;
  --accent-soft: rgba(138, 59, 44, 0.10);
  --success: #3d6b4f;
  --shadow: 0 1px 2px rgba(28,27,25,.04), 0 12px 32px -12px rgba(28,27,25,.18);

  --radius: 14px;
  --radius-sm: 8px;
  --gutter: 20px;
  --tabbar-h: 58px;
  --reading-scale: 1;
  --ease: cubic-bezier(.2,.7,.2,1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121110;
    --surface: #1a1918;
    --surface-2: #232120;
    --ink: #ece8e0;
    --ink-2: #aca69c;
    --ink-3: #726d65;
    --line: rgba(236, 232, 224, 0.10);
    --line-strong: rgba(236, 232, 224, 0.20);
    --accent: #d6907a;
    --accent-ink: #1a1918;
    --accent-soft: rgba(214, 144, 122, 0.14);
    --success: #8cbf9d;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
  }
}
:root[data-theme="dark"] {
  --bg: #121110;
  --surface: #1a1918;
  --surface-2: #232120;
  --ink: #ece8e0;
  --ink-2: #aca69c;
  --ink-3: #726d65;
  --line: rgba(236, 232, 224, 0.10);
  --line-strong: rgba(236, 232, 224, 0.20);
  --accent: #d6907a;
  --accent-ink: #1a1918;
  --accent-soft: rgba(214, 144, 122, 0.14);
  --success: #8cbf9d;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
  min-height: 100dvh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, textarea:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.app { min-height: 100dvh; }
.main {
  padding: 0 var(--gutter);
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 24px);
  max-width: 680px;
  margin: 0 auto;
  animation: fade .32s var(--ease);
}
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.sidebar { display: none; }

/* Tab bar (mobile) */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; justify-content: space-around; align-items: stretch;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-top: 1px solid var(--line);
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 10.5px; font-weight: 500; letter-spacing: .02em; color: var(--ink-3);
  transition: color .2s;
}
.tabbar a svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a[aria-current="page"] { color: var(--ink); }
.tabbar a[aria-current="page"] svg { stroke-width: 2; }
.reading .tabbar { transform: translateY(110%); transition: transform .3s var(--ease); }
.tabbar { transition: transform .3s var(--ease); }

/* ---------- Page header ---------- */
.page-head { padding: calc(18px + env(safe-area-inset-top)) 0 10px; }
.head-row .spacer { flex: 1; }
.wordmark, .sidebar-brand { font-family: var(--display); font-weight: 900; font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 0; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.wordmark { font-size: 30px; }
.mark { font-family: var(--display); font-weight: 900; font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 0; font-size: 26px; line-height: 1; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 40px; padding-bottom: 5px; }
.mark::after { content: ''; display: inline-block; width: .18em; height: .18em; border-radius: 50%; background: var(--accent); margin-left: .06em; margin-top: .55em; }
.head-row { display: flex; align-items: center; gap: 6px; min-height: 40px; margin-bottom: 18px; }
.head-row .icon-btn { margin-left: -10px; }
.head-row .wordmark { padding-bottom: 4px; }
.wordmark::after, .sidebar-brand::after { content: ''; display: inline-block; width: .18em; height: .18em; border-radius: 50%; background: var(--accent); margin-left: .08em; }
.dateline { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink-2); margin-top: -4px; font-weight: 400; }
.page-title { font-family: var(--serif); font-size: 34px; line-height: 1.1; letter-spacing: -.01em; font-weight: 500; }
.page-sub { color: var(--ink-2); margin-top: 8px; font-size: 15px; max-width: 46ch; }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.section { margin-top: 30px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.section-link { font-size: 13.5px; color: var(--ink-3); font-weight: 500; }
.section-link:hover { color: var(--ink); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

/* Meta rows: separators belong to the following span so wrapping stays clean */
.meta > span + span:not(.badge)::before { content: '·'; margin-right: 8px; color: var(--ink-3); }
.meta .badge { margin-left: 2px; }

/* ---------- Imagery ---------- */
.img { position: relative; overflow: hidden; background: var(--tone, #7a6f5c); border-radius: var(--radius); }
.img::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); border-radius: inherit; pointer-events: none; }
.img img { position: relative; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); }
.img .ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: rgba(255,255,255,.82); text-align: center; padding: 8px; }
.img .ph b { font-family: var(--display); font-weight: 900; font-size: clamp(22px, 26%, 54px); line-height: 1; }
.img .ph i { font-style: normal; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .img .ph i, .row-mini .img .ph i, .pick-split .img .ph i { display: none; }
.img img.loaded { opacity: 1; }
.img.r-3x2 { aspect-ratio: 3 / 2; }
.img.r-16x9 { aspect-ratio: 16 / 9; }
.img.r-1x1 { aspect-ratio: 1 / 1; }
.img .dur { position: absolute; right: 8px; bottom: 8px; font-size: 11.5px; font-weight: 600; color: #fff; background: rgba(0,0,0,.55); padding: 3px 7px; border-radius: 6px; letter-spacing: .02em; }
.img .play { position: absolute; inset: 0; display: grid; place-items: center; }
.img .play span { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.img .play svg { width: 20px; height: 20px; fill: #1c1b19; margin-left: 3px; }

/* ---------- Continue reading (hero) ---------- */
.continue {
  display: block; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow);
  transition: transform .25s var(--ease);
}
.continue:active { transform: scale(.985); }
.continue .img { border-radius: 0; }
.continue-body { padding: 16px 18px 18px; }
.continue .meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.continue .meta .src { color: var(--ink); }
.continue h3 { font-family: var(--serif); font-size: 24px; line-height: 1.18; letter-spacing: -.01em; margin-top: 8px; font-weight: 500; }
.continue .progress-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.bar { flex: 1; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--accent); border-radius: 2px; width: 0; transition: width .6s var(--ease); }
.continue .cta { color: var(--accent); font-weight: 600; white-space: nowrap; }

.continue-more { margin-top: 10px; display: flex; flex-direction: column; }
.row-mini { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.row-mini:last-child { border-bottom: 0; }
.row-mini .img { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 10px; }
.row-mini .t { flex: 1; min-width: 0; }
.row-mini h4 { font-family: var(--serif); font-size: 16.5px; line-height: 1.25; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-mini .meta { font-size: 12px; color: var(--ink-3); margin-top: 3px; }

/* ---------- Three worth your time ---------- */
.picks { display: flex; flex-direction: column; }
.pick { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pick:first-child { padding-top: 0; }
.pick:last-child { border-bottom: 0; }
.pick .n { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-3); }
.pick .meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); font-weight: 500; margin-top: 4px; }
.pick .meta .src { color: var(--ink); }
.pick h3 { font-family: var(--serif); font-size: 23px; line-height: 1.18; letter-spacing: -.01em; margin-top: 8px; font-weight: 500; }
.pick .dek { font-family: var(--serif); font-size: 16.5px; line-height: 1.4; color: var(--ink-2); margin-top: 8px; }
.pick .reason { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
.pick .reason::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.pick-lead .img { margin-bottom: 14px; }
.pick-text { display: block; }
.pick-split { display: grid; grid-template-columns: 1fr 104px; gap: 16px; align-items: start; }
.pick-split .img { width: 104px; aspect-ratio: 1; border-radius: 10px; margin-top: 22px; }
.pick-split h3 { font-size: 20px; }

.see-all {
  display: flex; justify-content: center; margin-top: 26px;
}
.see-all a {
  font-size: 14px; color: var(--ink-2); font-weight: 500; padding: 12px 16px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.see-all a:hover { background: var(--surface-2); color: var(--ink); }

.empty { text-align: center; padding: 36px 20px; color: var(--ink-2); font-family: var(--serif); font-size: 18px; line-height: 1.4; }
.empty small { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.calm { font-family: var(--serif); font-style: italic; color: var(--ink-3); font-size: 15px; text-align: center; margin-top: 30px; }

/* ---------- Lists (All New, Topic, Saved, Archive) ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; font-size: 13px; font-weight: 500; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2); background: transparent; white-space: nowrap; transition: all .2s; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.select { position: relative; padding-right: 28px; }
.chip.select::after { content: ''; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); }
select.native { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; }

.list { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 1fr 92px; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row .img { width: 92px; aspect-ratio: 1; border-radius: 10px; }
.row .meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); font-weight: 500; flex-wrap: wrap; }
.row .meta .src { color: var(--ink-2); }
.row h3 { font-family: var(--serif); font-size: 19px; line-height: 1.22; font-weight: 500; margin-top: 5px; letter-spacing: -.005em; }
.row .dek { font-family: var(--serif); font-size: 15px; line-height: 1.38; color: var(--ink-2); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row .state { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.row .state .bar { width: 60px; flex: 0 0 60px; }
.row.done h3 { color: var(--ink-3); }
.badge { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; background: var(--surface-2); color: var(--ink-2); }
.badge.new { background: var(--accent-soft); color: var(--accent); }
.day-head { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink-2); padding: 22px 0 4px; }
.day-head:first-child { padding-top: 6px; }

/* ---------- Topics ---------- */
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.topic-card { display: block; background: var(--surface); border-radius: var(--radius); padding: 18px 16px; box-shadow: var(--shadow); min-height: 118px; transition: transform .2s var(--ease); }
.topic-card:active { transform: scale(.98); }
.topic-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.topic-card p { font-size: 13px; color: var(--ink-2); margin-top: 6px; line-height: 1.35; }
.topic-card .count { font-size: 12px; color: var(--ink-3); margin-top: 10px; }

/* ---------- Sources ---------- */
.search { position: relative; margin-top: 8px; }
.search input { width: 100%; font: inherit; font-size: 16px; padding: 13px 16px 13px 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.search input::placeholder { color: var(--ink-3); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--ink-3); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.source-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.source-row:last-child { border-bottom: 0; }
.avatar { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; display: grid; place-items: center; font-family: var(--serif); font-size: 20px; line-height: 1; font-weight: 600; color: #fff; background: var(--tone); padding-top: .2em; /* optical: capitals have no descender, so nudge the ink to the true centre */ }
.avatar.yt { border-radius: 50%; }
.source-row .t { flex: 1; min-width: 0; }
.source-row h3 { font-size: 16px; font-weight: 600; }
.source-row p { font-size: 13px; color: var(--ink-2); margin-top: 2px; line-height: 1.35; }
.source-row .type { font-size: 11px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; margin-top: 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; transition: all .2s; white-space: nowrap; min-height: 38px; }
.btn.primary { background: var(--ink); color: var(--bg); }
.btn.primary:hover { opacity: .9; }
.btn.ghost { border: 1px solid var(--line-strong); color: var(--ink-2); }
.btn.ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn.accent { background: var(--accent); color: var(--accent-ink); }
.btn.sm { font-size: 13px; padding: 7px 13px; min-height: 34px; }
.hint { font-size: 13px; color: var(--ink-3); margin-top: 14px; line-height: 1.45; }

/* ---------- Settings ---------- */
.group { margin-top: 26px; }
.group h2 { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.group p.desc { font-size: 13.5px; color: var(--ink-2); margin-bottom: 12px; line-height: 1.45; }
.options { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.opt { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 16px; min-height: 52px; }
.opt:last-child { border-bottom: 0; }
.opt small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.opt .check { width: 22px; height: 22px; color: var(--accent); opacity: 0; transition: opacity .2s; }
.opt[aria-checked="true"] .check { opacity: 1; }
.opt .check svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.opt.link { color: var(--ink); }
.opt.link .chev { width: 8px; height: 8px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(-45deg); }
.opt.danger { color: var(--accent); }
.about { font-family: var(--serif); color: var(--ink-2); font-size: 16px; line-height: 1.5; margin-top: 34px; text-align: center; padding: 0 16px; }
.about strong { display: block; color: var(--ink); font-style: italic; font-weight: 500; font-size: 20px; margin-bottom: 8px; }

/* ---------- Reader ---------- */
.reading .main { max-width: 640px; padding-bottom: 120px; }
.reader-top {
  position: sticky; top: 0; z-index: 15; display: flex; align-items: center; justify-content: space-between;
  margin: 0 calc(-1 * var(--gutter)); padding: calc(6px + env(safe-area-inset-top)) 8px 6px;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
}
.reader-top .progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.reader-top .progress > i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .15s linear; }
.reader-top .src-label { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.reader-top .rt-left { display: flex; align-items: center; gap: 2px; flex: 1; }
.reader-top .rt-right { flex: 1; }
.reader-top .src-label { flex: 0 1 auto; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 8px; }

.article { padding-top: 18px; }
.article .hero { margin: 0 calc(-1 * var(--gutter)) 22px; border-radius: 0; }
.article .kicker-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.article .kicker-row .topic { color: var(--ink-3); font-weight: 500; letter-spacing: .04em; text-transform: none; }
.article h1 { font-family: var(--serif); font-size: 34px; line-height: 1.12; letter-spacing: -.015em; font-weight: 500; margin-top: 12px; }
.article .dek { font-family: var(--serif); font-size: 19px; line-height: 1.4; color: var(--ink-2); margin-top: 14px; }
.article .byline { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
.article .byline b { font-weight: 600; color: var(--ink); }
.article .byline .dot { color: var(--ink-3); }
.article .byline .hint-cont { color: var(--accent); font-weight: 500; }

.body { margin-top: 30px; font-family: var(--serif); font-size: calc(19px * var(--reading-scale)); line-height: 1.58; color: var(--ink); }
.body p { margin: 0 0 1.35em; hyphens: auto; -webkit-hyphens: auto; }
.body p.lead::first-letter { float: left; font-size: 3.35em; line-height: .8; padding: .1em .12em 0 0; font-weight: 500; }
.body h2 { font-family: var(--serif); font-size: calc(23px * var(--reading-scale)); line-height: 1.25; font-weight: 600; margin: 2em 0 .8em; letter-spacing: -.01em; }
.body blockquote { margin: 1.8em 0; padding: .2em 0 .2em 1.1em; border-left: 2px solid var(--accent); font-size: calc(22px * var(--reading-scale)); line-height: 1.35; font-style: italic; color: var(--ink-2); }
.body-end { display: flex; align-items: center; gap: 10px; margin: 8px 0 34px; color: var(--ink-3); }
.body-end::before, .body-end::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.body-end span { font-family: var(--serif); font-style: italic; font-size: 15px; }

.finish { text-align: center; padding: 8px 0 20px; }
.finish .btn { min-width: 200px; padding: 13px 22px; font-size: 15px; }
.finish .done { display: inline-flex; align-items: center; gap: 8px; color: var(--success); font-weight: 600; font-size: 15px; }
.finish .done svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.finish .undo { display: block; margin: 10px auto 0; font-size: 13px; color: var(--ink-3); }
.finish .ttf { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }

.publisher { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 14px; }
.publisher .t { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.publisher .t b { color: var(--ink); font-weight: 600; }

/* Notes — end-of-piece preview */
.notes { margin-top: 30px; }
.notes .kicker { display: flex; align-items: center; justify-content: space-between; }
.notes .kicker .priv { font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 12px; color: var(--ink-3); }
.note-preview, .note-empty { margin-top: 12px; padding: 16px 18px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.note-preview p { font-family: var(--serif); font-size: 17px; line-height: 1.5; white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.note-empty p { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink-2); line-height: 1.45; }
.note-preview .btn, .note-empty .btn { margin-top: 12px; }

/* Notes — floating drawer that travels with the reader */
.notes-drawer {
  position: fixed; left: 0; right: 0; bottom: var(--kb, 0px); z-index: 30;
  display: flex; flex-direction: column; max-height: 58dvh; overflow: hidden;
  background: var(--surface); border-radius: 18px 18px 0 0;
  box-shadow: 0 -12px 40px -14px rgba(0,0,0,.35), 0 0 0 1px var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(105%); transition: transform .38s var(--ease);
}
.notes-drawer.open { transform: none; }
.notes-drawer.min { transform: translateY(calc(100% - 50px - env(safe-area-inset-bottom))); }
.nd-head { display: flex; align-items: center; gap: 2px; padding: 6px 8px 0 16px; flex: 0 0 auto; min-height: 44px; }
.nd-head::before { content: ''; position: absolute; top: 6px; left: 50%; width: 36px; height: 4px; border-radius: 2px; background: var(--line-strong); transform: translateX(-50%); }
.nd-title { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 12px; text-align: left; padding: 10px 0 6px; }
.nd-peek { font-family: var(--serif); font-size: 15px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; opacity: 0; transition: opacity .2s; }
.notes-drawer.min .nd-peek { opacity: 1; }
.notes-drawer.min .nd-head::before { display: none; }
.notes-drawer.min #nd-min { display: none; }
.nd-body { padding: 0 16px 12px; overflow: auto; display: flex; flex-direction: column; }
.nd-body textarea {
  width: 100%; min-height: 120px; flex: 1; resize: none; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink);
  font-family: var(--serif); font-size: 17px; line-height: 1.5;
}
.nd-body textarea::placeholder { color: var(--ink-3); font-style: italic; }
.nd-body textarea:focus, .nd-body textarea:focus-visible { outline: none; border-color: var(--ink-3); }
.share-url { width: 100%; margin-top: 14px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: inherit; font-size: 14px; }
.prompts { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; padding-bottom: 4px; scrollbar-width: none; flex: 0 0 auto; }
.prompts::-webkit-scrollbar { display: none; }
.prompts button { flex: 0 0 auto; font-size: 12.5px; color: var(--ink-2); padding: 6px 11px; border-radius: 999px; border: 1px dashed var(--line-strong); white-space: nowrap; }
.prompts button:hover { border-style: solid; color: var(--ink); }
.nd-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--ink-3); margin-top: 8px; min-height: 16px; }
.nd-tip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reading.notes-open .actionbar { transform: translate(-50%, 140%); opacity: 0; pointer-events: none; }
.reading.notes-min .actionbar { bottom: calc(62px + env(safe-area-inset-bottom)); }
.reading.notes-open .main { padding-bottom: 62dvh; }
.reading.notes-min .main { padding-bottom: 170px; }
.reading.notes-open .toast, .reading.notes-min .toast { bottom: auto; top: calc(60px + env(safe-area-inset-top)); }
.quote-btn {
  position: fixed; z-index: 45; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; box-shadow: 0 6px 20px -4px rgba(0,0,0,.35); animation: fade .15s var(--ease);
}
.quote-btn::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: var(--ink); transform: translateX(-50%) rotate(45deg); border-radius: 2px; }

/* Reader action bar */
.actionbar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 20;
  display: flex; align-items: center; gap: 2px; padding: 6px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-radius: 999px; box-shadow: 0 10px 30px -8px rgba(0,0,0,.28), 0 0 0 1px var(--line);
  animation: rise .35s var(--ease);
}
@keyframes rise { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
.actionbar { transition: transform .3s var(--ease), opacity .3s var(--ease), bottom .3s var(--ease); }
.actionbar button { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: background .2s, color .2s, transform .15s; position: relative; }
.actionbar button:hover { background: var(--surface-2); color: var(--ink); }
.actionbar button:active { transform: scale(.9); }
.actionbar button svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.actionbar button[aria-pressed="true"] { color: var(--accent); }
.actionbar button[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent); }
.actionbar button .has-note { position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.actionbar .sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }

/* Video */
.player { margin: 16px calc(-1 * var(--gutter)) 0; background: #000; position: relative; }
.player .img { border-radius: 0; }
.player .img img { opacity: 1; }
.player.playing .img img { opacity: .55; }
.player .playbtn { position: absolute; inset: 0; display: grid; place-items: center; }
.player .playbtn span { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .15s; }
.player .playbtn:active span { transform: scale(.92); }
.player .playbtn svg { width: 24px; height: 24px; fill: #1c1b19; }
.player .playbtn .ic-play { margin-left: 4px; }
.scrub { display: flex; align-items: center; gap: 12px; padding: 12px 0 0; font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.scrub input[type=range] { flex: 1; -webkit-appearance: none; appearance: none; height: 3px; background: linear-gradient(to right, var(--accent) var(--pct, 0%), var(--line) var(--pct, 0%)); border-radius: 2px; }
.scrub input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.scrub input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--accent); }
.video-meta { margin-top: 18px; }
.video-meta h1 { font-family: var(--serif); font-size: 27px; line-height: 1.16; letter-spacing: -.01em; font-weight: 500; }
.video-meta .byline { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 10px; }
.video-meta .byline b { color: var(--ink); font-weight: 600; }
.desc { font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--ink-2); margin-top: 18px; }
.chapters { margin-top: 24px; }
.chapters button { display: flex; width: 100%; text-align: left; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.chapters button:last-child { border-bottom: 0; }
.chapters button .ts { font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 600; font-size: 13px; min-width: 44px; }
.chapters button.active { color: var(--ink); font-weight: 600; }
.chapters button:not(.active) { color: var(--ink-2); }
.mock-note { font-size: 12px; color: var(--ink-3); margin-top: 8px; }

/* ---------- Toast & sheet ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 18px); transform: translate(-50%, 12px);
  background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 10px; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); z-index: 60;
  max-width: calc(100% - 40px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; stroke: var(--success); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.reading .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }

.sheet-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: fadein .2s; }
.sheet-backdrop[hidden] { display: none; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.sheet { width: 100%; max-width: 480px; background: var(--surface); border-radius: 20px 20px 0 0; padding: 22px 22px calc(22px + env(safe-area-inset-bottom)); animation: up .3s var(--ease); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet h2 { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.sheet p { color: var(--ink-2); margin-top: 8px; font-size: 15px; }
.sheet .row-btns { display: flex; gap: 10px; margin-top: 20px; }
.sheet .row-btns .btn { flex: 1; padding: 13px; font-size: 15px; }

/* Completion celebration */
.celebrate { position: fixed; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 55; }
.celebrate .ring { width: 96px; height: 96px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; animation: pop .7s var(--ease) forwards; }
.celebrate svg { width: 44px; height: 44px; stroke: var(--success); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .15s var(--ease) forwards; }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 25% { transform: scale(1.05); opacity: 1; } 75% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.1); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Larger screens ---------- */
@media (min-width: 740px) {
  :root { --gutter: 32px; }
  .main { max-width: 760px; }
  .page-title { font-size: 40px; }
  .article h1 { font-size: 42px; }
  .topic-grid { grid-template-columns: repeat(3, 1fr); }
  .continue { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; }
  .continue .img { aspect-ratio: auto; height: 100%; min-height: 260px; }
  .continue-body { padding: 28px 30px; display: flex; flex-direction: column; justify-content: center; }
  .continue h3 { font-size: 28px; }
  .continue .progress-row { margin-top: 22px; }
  .continue-more { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .list.grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .list.grid .row:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .pick-split .img { width: 140px; }
  .pick-split { grid-template-columns: 1fr 140px; }
  .pick-lead .img { aspect-ratio: 2 / 1; }
}

@media (min-width: 1024px) {
  .app { display: grid; grid-template-columns: 220px 1fr; min-height: 100dvh; }
  .sidebar {
    display: flex; flex-direction: column; gap: 34px; position: sticky; top: 0; height: 100dvh; padding: 32px 22px;
    border-right: 1px solid var(--line);
  }
  .sidebar-brand { font-size: 28px; }
  .sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
  .sidebar-nav a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
  .sidebar-nav a:hover { background: var(--surface-2); color: var(--ink); }
  .sidebar-nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
  .sidebar-nav a svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .sidebar-nav .sep { height: 1px; background: var(--line); margin: 10px 4px; }
  .tabbar { display: none; }
  .main { max-width: 1080px; padding: 0 56px 80px; width: 100%; }
  .reading .main { max-width: 720px; padding-bottom: 140px; }
  .page-head { padding-top: 40px; }
  .mark { display: none; }
  .head-row .wordmark { display: none; }
  .head-row { min-height: 0; margin-bottom: 8px; }
  .head-row:empty { display: none; }
  .head-row .icon-btn { margin-left: -10px; }
  .dateline { font-size: 26px; margin-top: 0; }

  /* Home: full-width continue band, then three across */
  .page-head { position: relative; }
  .head-row .icon-btn[href="#/settings"] { display: none; }
  .home-grid { display: block; }
  /* Lead across the top, the rest in two readable columns. */
  .picks { display: grid; grid-template-columns: 1fr 1fr; column-gap: 44px; }
  .pick { padding: 18px 0; }
  .pick-lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; padding-top: 0; }
  .picks .pick-lead .img { width: 100%; aspect-ratio: 16/9; margin: 0; border-radius: var(--radius); }
  .pick-lead h3 { font-size: 30px; }
  .pick-lead .dek { font-size: 18px; }
  .pick-split .img { width: 120px; }
  .pick-split { grid-template-columns: 1fr 120px; }
  .pick .dek { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .see-all { margin-top: 30px; }

  .list.grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .list.grid .row:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .topic-grid { grid-template-columns: repeat(4, 1fr); }
  .reader-top { margin: 0; padding: 14px 0 10px; border-bottom: 1px solid var(--line); background: var(--bg); }
  .reader-top .progress { bottom: -1px; }
  .article .hero { margin-left: 0; margin-right: 0; border-radius: var(--radius); }
  .player { margin-left: 0; margin-right: 0; border-radius: var(--radius); overflow: hidden; }
  .toast { bottom: 28px; }
  .notes-drawer { left: auto; right: 28px; bottom: 28px; width: 340px; max-height: calc(100dvh - 56px); border-radius: 16px; padding-bottom: 0; box-shadow: var(--shadow), 0 0 0 1px var(--line); transform: translateX(120%); }
  .notes-drawer.open { transform: none; }
  .notes-drawer.min { transform: translateY(calc(100% - 50px)); }
  .nd-body textarea { min-height: 220px; }
  .reading.notes-open .actionbar { transform: translateX(-50%); opacity: 1; pointer-events: auto; }
  .reading.notes-min .actionbar { bottom: calc(14px + env(safe-area-inset-bottom)); }
  .reading.notes-open .main, .reading.notes-min .main { padding-bottom: 140px; }
  .reading.notes-open .main { max-width: 1100px; padding-right: 420px; }
  .reading.notes-open .toast, .reading.notes-min .toast { top: auto; bottom: 28px; }
  .sheet { border-radius: 20px; margin-bottom: 40px; }
  .sheet-backdrop { align-items: center; }
}

/* ---------- Live content states ---------- */
.boot { min-height: 70dvh; display: grid; place-items: center; animation: fade .4s var(--ease); }
.loading h1 { font-family: var(--serif); font-size: 34px; line-height: 1.12; letter-spacing: -.015em; font-weight: 500; margin-top: 18px; }
.loading .hero { margin: 18px calc(-1 * var(--gutter)) 0; border-radius: 0; background: var(--tone); opacity: .5; }
.handoff-mode h1 { font-size: 30px; }
.handoff { margin-top: 22px; padding: 22px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.handoff p { font-family: var(--serif); font-size: 17px; line-height: 1.45; color: var(--ink-2); margin-bottom: 16px; }
.handoff .btn { padding: 13px 22px; font-size: 15px; }
.player.embed { aspect-ratio: 16 / 9; background: #000; }
.player.embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.source-row.unavailable { opacity: .6; }
.source-row .warn { color: var(--accent); text-transform: none; letter-spacing: 0; font-weight: 500; }
@media (min-width: 1024px) { .loading .hero { margin-left: 0; margin-right: 0; border-radius: var(--radius); } }

/* ---------- Reading type ---------- */
.body { font-family: var(--reading-font, var(--serif)); }
.body h2 { font-family: var(--reading-font, var(--serif)); }
.sheet .seg { display: flex; gap: 6px; margin-top: 8px; }
.sheet .seg button { flex: 1; padding: 11px 8px; border-radius: 10px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.sheet .seg button[aria-checked="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sheet p { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 18px; }

/* ---------- Notebook ---------- */
.notebook-actions { display: flex; gap: 8px; margin-bottom: 18px; }
.notebook { display: flex; flex-direction: column; gap: 14px; }
.note-card { background: var(--surface); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.note-body { font-family: var(--serif); font-size: 17px; line-height: 1.5; white-space: pre-wrap; }
.note-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.note-src { font-size: 13px; color: var(--accent); font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.note-src.gone { color: var(--ink-3); font-style: italic; font-weight: 400; }
.note-when { font-size: 12px; color: var(--ink-3); white-space: nowrap; }

/* ---------- Pull to refresh ---------- */
.ptr {
  position: fixed; top: calc(-46px + env(safe-area-inset-top)); left: 50%; z-index: 25;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transform: translateX(-50%);
}
.ptr svg { width: 19px; height: 19px; stroke: var(--ink-3); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ptr.ready svg { stroke: var(--accent); }
.ptr.spinning svg { animation: ptr-spin .8s linear infinite; }
@keyframes ptr-spin { to { transform: rotate(360deg); } }

@media (min-width: 1024px) {
  .notebook { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
}

/* ---------- Source page ---------- */
.source-hero { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.source-hero .avatar { width: 54px; height: 54px; flex: 0 0 54px; font-size: 24px; }
.source-hero .t { flex: 1; min-width: 0; }
.source-hero .t p { font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.source-hero .t .type { font-size: 11px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; margin-top: 5px; }
.source-row .source-open { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.source-row .source-open:hover h3 { color: var(--accent); }

/* Links in the reader's kicker row and byline */
.article .kicker-row a { color: var(--accent); }
.article .kicker-row a.topic { color: var(--ink-3); font-weight: 500; letter-spacing: .04em; text-transform: none; }
.article .kicker-row a:hover { text-decoration: underline; }
.article .kicker-row .topic-sep { color: var(--ink-3); margin: 0 6px; }
.reader-top a.src-label:hover { color: var(--ink); }
.video-meta .byline a:hover b, .publisher a:hover b { color: var(--accent); }

/* ---------- Sign in ---------- */
.signin { max-width: 420px; }
.signin-lead { font-family: var(--serif); font-size: 18px; line-height: 1.45; color: var(--ink-2); margin-bottom: 20px; }
.signin form { display: flex; flex-direction: column; gap: 10px; }
.signin input { width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.signin input::placeholder { color: var(--ink-3); }
.signin .btn { padding: 14px; font-size: 15px; }
.signin-msg { margin-top: 14px; font-size: 14.5px; line-height: 1.45; min-height: 20px; }
.signin-msg.good { color: var(--success); }
.signin-msg.bad { color: var(--accent); }
.signin .hint { margin-top: 26px; }
.opt small { font-weight: 400; }
.section-note { font-size: 12.5px; color: var(--ink-3); }

/* ---------- In the Know ---------- */
/* A timeline: dense, chronological, quick to scan — but set in the same
   type as everything else, so it reads as part of the same publication. */
.know { display: flex; flex-direction: column; }
.know-row { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.know-row:last-child { border-bottom: 0; }
.know-mark { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--serif); font-size: 17px; font-weight: 600; color: #fff; background: var(--tone);
  line-height: 1; padding-top: .18em; }
.know-mark.yt { border-radius: 50%; }
.know-body { min-width: 0; display: block; }
.know-head { display: flex; align-items: baseline; gap: 8px; }
.know-head b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.know-when { font-size: 12px; color: var(--ink-3); }
.know-title { display: block; font-family: var(--serif); font-size: 17px; line-height: 1.32; margin-top: 2px; }
.know-dek { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 14px; line-height: 1.4; color: var(--ink-2); margin-top: 4px; }
.know-row:hover .know-title { color: var(--accent); }
@media (min-width: 1024px) {
  .know { max-width: 640px; }
  .know-row { grid-template-columns: 44px 1fr; gap: 14px; }
  .know-mark { width: 44px; height: 44px; font-size: 19px; }
}
