/* ============================================================
   Ty i Ja (1960s Polish magazine) look.
   Four inks only — everything else is a screened tint of these
   on the paper stock, as on a 4-colour press run:
     paper  #F4EBD3   ink  #17120C   magenta  #DB2E63   cobalt  #2E4E9E
   Flat throughout: no gradients, no blurred shadows — offsets
   are solid ink, like misregistered print / stacked cut paper.
   ============================================================ */
:root {
  --bg: #f4ebd3;      /* paper */
  --card: #f4ebd3;
  --ink: #17120c;
  --pop: #db2e63;     /* magenta ink */
  --blue: #2e4e9e;    /* cobalt ink */

  /* screened tints (same inks, halftoned on paper) */
  --muted: #6e6250;
  --line: #dccfaf;    /* faint gridlines */
  --band: #e6dabc;
  --band-eu: #cbd3ea;
  --median: #9c8f73;
  --soft-ink: #a5987f; /* mild ink for secondary borders, between line and muted */
  --comm-bg: #ede2c6;
  --cur-bg: #e8e0cf;   /* hand-curated EU catalog cards */
  --world-bg: #dde3f1; /* world-context cards, screened cobalt */

  /* semantic mapping */
  --eu: #17120c;      /* EU line = heavy black ink, like the logo */
  --best: #2e4e9e;
  --worst: #db2e63;
  --mixed: #17120c;
  --accent: #17120c;

  --serif: "Lora", Georgia, serif;
  --display: "Shrikhand", "Cooper Black", serif;
  --caps: "Anton", "Arial Narrow", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  font-family: var(--serif);
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* paper grain over everything — texture, not shading */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.09 0 0 0 0 0.07 0 0 0 0 0.05 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- masthead: the boxed cover table + fat logo ---------- */
.masthead {
  position: relative;
  display: grid;
  grid-template-columns: 30px 195px 1fr;
  align-items: stretch;
  margin: 12px 28px 0;
  border: 2.5px solid var(--ink);
  background: var(--bg);
}
/* vertical month-tab, cream type knocked out of magenta */
.mast-tab {
  background: var(--pop);
  border-right: 2px solid var(--ink);
  display: grid;
  place-items: center;
}
.mast-tab span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--caps);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
}
/* hairline-ruled listing rows, italic serif — the cover's little table */
.mast-list {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  border-right: 2px solid var(--ink);
}
.key {
  flex: 1;
  font-size: 11px;
  font-style: italic;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 1px 10px;
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
}
.mast-issue {
  flex: 1;
  display: inline-flex;
  align-items: center;
  padding: 1px 10px;
  font-family: var(--caps);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--pop);
  white-space: nowrap;
}
.mast-nr { margin-left: auto; color: var(--ink); font-weight: 400; }
/* the share stamp: a slightly crooked cobalt rubber stamp in the cover's top
   corner. Copies the current URL, which always encodes the visible view. */
.share-stamp {
  position: absolute;
  right: 12px;
  top: 8px;
  transform: rotate(-3deg);
  border: 2px solid var(--blue);
  background: none;
  color: var(--blue);
  font-family: var(--caps);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px 2px;
  cursor: pointer;
}
.share-stamp:hover {
  border-color: var(--pop);
  color: var(--pop);
  transform: rotate(-1deg);
}
/* the moment after copying: pressed in solid ink */
.share-stamp.did,
.share-stamp.did:hover {
  border-color: var(--pop);
  background: var(--pop);
  color: var(--bg);
  transform: rotate(-3deg);
}

/* the cover's little price line, tucked in the far corner */
.mast-price {
  position: absolute;
  right: 14px;
  bottom: 8px;
  font-size: 12px;
  font-style: italic;
  color: var(--ink);
}

.sw { display: inline-block; width: 16px; height: 3px; flex: none; }
.sw-eu { background: var(--eu); height: 5px; }
.sw-best { background: var(--best); }
.sw-worst { background: var(--worst); }
.sw-median { background: none; height: 0; border-top: 2px dashed var(--median); }

/* the logo — fat, lowercase, hand-inked feel */
.logo {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0.005em;
  align-self: center;
  padding: 4px 20px 10px;
  white-space: nowrap;
}
.logo em {
  /* the small word between the big ones, like "czy" in "ty czy ja" */
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 0.4em;
  vertical-align: 0.5em;
  letter-spacing: 0;
  margin: 0 0.2em;
}

/* ---------- control strip: ruled cells under the masthead ---------- */
.ctl-strip {
  display: flex;
  align-items: stretch;
  margin: 0 28px;
  border: 2.5px solid var(--ink);
  border-top: none;
  background: var(--bg);
}
.cfg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 6px 14px;
  border-right: 1.5px solid var(--ink);
}
.cfg:empty { display: none; }
.ctl-label {
  font-family: var(--caps);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* segmented slider: one thumb, mutually-exclusive options */
.seg {
  position: relative;
  display: inline-flex;
  padding: 0;
  background: var(--bg);
  border: 1.5px solid var(--ink);
}
.seg-thumb {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background: var(--ink);
  transition: left 0.18s ease, width 0.18s ease;
}
.seg-opt {
  position: relative;
  border: none;
  background: none;
  font-family: var(--serif);
  font-size: 11px;
  padding: 3px 10px;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s;
}
.seg-opt:hover { color: var(--ink); }
.seg-opt.active { color: var(--bg); }

/* checklist: independent on/off layers — either, both, or neither */
.checks { display: inline-flex; gap: 5px; }
.check-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--ink);
  background: var(--bg);
  padding: 2px 10px 2px 6px;
  font-family: var(--serif);
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}
.check-opt:hover { color: var(--ink); }
.check-box {
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 9px;
  line-height: 1;
  color: var(--bg);
}
.check-opt.on { color: var(--bg); background: var(--ink); }
.check-opt.on .check-box { background: var(--pop); border-color: var(--pop); }
.check-opt.on .check-box::before { content: "✓"; }

.play-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 4px 14px;
  border-left: 1.5px solid var(--ink);
}
.play-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--bg);
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
  display: grid; place-items: center;
  padding-left: 2px;
}
.play-btn:hover { background: var(--ink); color: var(--bg); }
.play-btn.playing { background: var(--pop); color: var(--bg); padding-left: 0; }
/* the year, big and pink like the cover date "1967 ● NR 6" */
.year-readout {
  font-family: var(--caps);
  font-size: 21px;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  min-width: 56px;
  color: var(--pop);
}
.year-readout:empty::before { content: ""; color: var(--line); }

/* ---------- group bar: folder tabs on the content's top edge ----------
   Only the active tab gets full ink: it pops taller, joins the baseline,
   and carries a magenta inner stripe. Everything else stays soft so the
   bar reads as one quiet shelf instead of eleven boxes. */
.group-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 5px;
  padding: 10px 28px 0;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 2px;
}
.group-chip {
  font-family: var(--caps);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px 8px;
  border: 1.5px solid var(--soft-ink);
  border-bottom: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
.group-chip:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--band);
}
.group-bar .group-chip.active {
  border: 2px solid var(--ink);
  border-bottom: none;
  background: var(--bg);
  color: var(--ink);
  padding: 9px 14px 10px;
  margin-bottom: -2px;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 4px 0 var(--pop);
}
/* backdrop conditions: half height tabs pushed to the right edge */
.group-chip.backdrop-tab {
  font-size: 10px;
  padding: 4px 9px 6px;
  letter-spacing: 0.06em;
}
.group-chip.backdrop-first { margin-left: auto; }
.group-bar .backdrop-tab.active {
  font-size: 10.5px;
  padding: 6px 11px 8px;
  box-shadow: inset 0 4px 0 var(--blue);
}

/* ---------- split layout: chart left, annotations right ---------- */
.split {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  padding: 6px 34px 12px 28px;
  align-items: stretch;
  min-height: 0;
}

/* panels as stacked cut paper: square corners, solid ink offsets */
.col {
  background: var(--bg);
  border: 2px solid var(--ink);
  padding: 12px 14px 6px;
}
.col.focus { box-shadow: 6px 6px 0 var(--blue); }

/* fixed-height header zones so chart tops align across columns */
.col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  margin-bottom: 8px;
}
.col-head h2 {
  font-family: var(--caps);
  font-size: 17px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav, .col-play {
  border: 1.5px solid var(--ink);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
  padding: 1px 8px;
  line-height: 1.3;
}
.nav:hover, .col-play:hover { background: var(--ink); color: var(--bg); }
.col-play { font-size: 10px; padding: 3px 7px; }
.col-play.playing { background: var(--pop); border-color: var(--ink); color: var(--bg); }

/* metric index: bare text items, no boxes — the group tab above carries the
   title, so the active metric only needs ink weight and a magenta underline */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 14px;
  justify-content: center;
  align-content: flex-start;
  margin-bottom: 6px;
  min-height: 20px;
  max-height: 62px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.chip {
  font-family: var(--serif);
  font-size: 11.5px;
  padding: 1px 1px 0;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}
.chip:hover { color: var(--ink); border-bottom-color: var(--soft-ink); }
.chip.active {
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--pop);
}

.meta {
  font-size: 11.5px;
  font-style: italic;
  color: var(--muted);
  text-align: center;
  height: 16px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 6px;
}
/* comparability footnote under the chart, paired with * on best/worst labels */
.caveat {
  font-size: 11px;
  font-style: italic;
  color: var(--muted);
  text-align: center;
  min-height: 28px;
  margin-top: 2px;
  padding: 0 12px;
  line-height: 1.25;
}
.dir-tag {
  display: inline-block;
  font-family: var(--caps);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pop);
  border: 1.5px solid currentColor;
  padding: 0 5px;
  margin-left: 6px;
  vertical-align: 1px;
}

.chart-wrap svg {
  width: 100%; max-width: 100%; height: auto;
  display: block; margin: 0 auto;
  cursor: crosshair;
  font-family: var(--serif);
}

/* svg text */
.tick-label { font-size: 11px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.end-label { font-size: 11px; font-weight: 700; }
.end-label-sm { font-size: 9.5px; font-weight: 700; }
.cursor-label { font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cursor-year { font-size: 11px; fill: var(--muted); font-variant-numeric: tabular-nums; }
/* numbered event markers on the chart, matched to annotation cards */
.anno-mark { cursor: help; }
.anno-mark circle { fill: var(--ink); stroke: var(--bg); stroke-width: 1.5; }
.anno-mark.neg circle { fill: var(--worst); }
.anno-mark.pos circle { fill: var(--best); }
.anno-mark.mix circle { fill: var(--mixed); }
/* commentary-layer markers: dashed ring signals "opinion, not data" */
/* hand-written layers (ledger, curated catalog, world context) get dashed rings */
.anno-mark.comm circle,
.anno-mark.cur circle,
.anno-mark.wrld circle { stroke-dasharray: 2.4 1.8; }
.anno-mark.hot circle { stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: none; }
.anno-mark-num {
  fill: var(--bg);
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

/* ---------- annotation panel (right half) ---------- */
.anno-panel {
  background: var(--bg);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--pop);
  padding: 14px 16px 10px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.anno-head h2 {
  font-family: var(--caps);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
/* zigzag rule under the ledger title — the cover's lightning motif */
.anno-head {
  padding-bottom: 9px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='7'%3E%3Cpath d='M0 6 L4 1 L8 6 L12 1 L16 6' fill='none' stroke='%232e4e9e' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left bottom;
}
/* "opinion" pill next to the ledger heading — the layer's honesty label */
.anno-badge {
  font-family: var(--caps);
  font-size: 9px;
  font-weight: 400;
  font-style: normal;
  color: var(--pop);
  border: 1.5px dashed var(--pop);
  padding: 1px 8px 0;
  margin-left: 8px;
  vertical-align: 3px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.anno-sub { font-size: 12px; font-style: italic; color: var(--muted); margin-top: 2px; }

.anno-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--median) transparent;
}
.anno-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 10px;
  border: 1.5px solid var(--ink);
  border-left-width: 5px;
  border-left-color: var(--median);
  background: var(--bg);
  cursor: default;
  transition: box-shadow 0.12s, background 0.12s;
}
.anno-card.neg { border-left-color: var(--worst); }
.anno-card.pos { border-left-color: var(--best); }
.anno-card.neu { border-left-color: var(--median); }
.anno-card.mix { border-left-color: var(--mixed); }
/* commentary-layer cards: darker paper + dashed accent — visibly a different voice */
.anno-card.comm { background: var(--comm-bg); border-left-style: dashed; }
.anno-card.cur { background: var(--cur-bg); border-left-style: dashed; }
.anno-card.wrld { background: var(--world-bg); border-left-style: dashed; }
.anno-card.comm .anno-card-note,
.anno-card.cur .anno-card-note,
.anno-card.wrld .anno-card-note { -webkit-line-clamp: 3; }
.anno-card.hot,
.anno-card:hover {
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--bg);
}
/* number pasted on at an angle, like a cut-out scrap */
.anno-num {
  flex: none;
  width: 20px;
  height: 20px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 1px;
  transform: rotate(-5deg);
}
.anno-card.neg .anno-num { background: var(--worst); }
.anno-card.pos .anno-num { background: var(--best); }
.anno-card.mix .anno-num { background: var(--mixed); }
.anno-body { min-width: 0; flex: 1; }
.anno-card-head {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 12px;
}
.anno-when { font-family: var(--caps); font-weight: 400; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.anno-when.neg { color: var(--worst); }
.anno-when.pos { color: var(--best); }
.anno-when.neu { color: var(--ink); }
.anno-when.mix { color: var(--mixed); }
.anno-country { font-weight: 700; }
.anno-flag {
  font-family: var(--caps);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--worst);
  border: 1.5px solid currentColor;
  padding: 0 4px;
}
.anno-source {
  margin-left: auto;
  font-size: 10px;
  font-style: italic;
  color: var(--muted);
  white-space: nowrap;
}
.anno-card-label { font-size: 12.5px; font-weight: 700; margin-top: 2px; }
.anno-card-note {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 1px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* hovering (or chart-hover sync) unclamps the note in place, no clicks */
.anno-card:hover .anno-card-note,
.anno-card.hot .anno-card-note {
  -webkit-line-clamp: unset;
  color: var(--ink);
}
.anno-empty { font-size: 12.5px; font-style: italic; color: var(--muted); padding: 12px 4px; }

/* ---------- footer: dashed cut-line with scissors ---------- */
.hints {
  position: relative;
  margin: 0 28px;
  border-top: 2px dashed var(--ink);
  padding: 8px 0 12px;
  font-size: 11.5px;
  font-style: italic;
  color: var(--muted);
  display: flex;
  gap: 4px;
  align-items: baseline;
  flex-wrap: wrap;
}
.hints::before {
  content: "✂";
  position: absolute;
  top: -12px;
  left: 36px;
  font-size: 15px;
  font-style: normal;
  color: var(--ink);
  background: var(--bg);
  padding: 0 5px;
  line-height: 1;
}
.hints b { color: var(--ink); font-weight: 700; font-style: normal; }
.hints .src { margin-left: auto; }
.hints a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hints a:hover { color: var(--pop); }

/* ---------- explain layer: pointing hand + claude cards ---------- */
/* the hand: a pasted paper scrap with the classic printer's fist */
.ask-hand {
  position: fixed;
  left: 30px;
  bottom: 58px;
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 5px 12px 4px;
  background: var(--bg);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--blue);
  transform: rotate(-5deg);
  cursor: grab;
  user-select: none;
  touch-action: none;
  transition: transform 0.25s ease;
}
.ask-hand .glyph { font-size: 30px; line-height: 1.1; color: var(--ink); }
.ask-hand .lbl {
  font-family: var(--caps);
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--pop);
  white-space: nowrap;
}
.ask-hand.dragging {
  cursor: grabbing;
  transition: none;
  box-shadow: 5px 5px 0 var(--pop);
}

/* what the hand is currently touching */
.explain-hot { outline: 2.5px dashed var(--pop); outline-offset: 3px; }
g.explain-hot circle { stroke: var(--pop); stroke-width: 3; }

/* curiosity mode (?): everything explainable shows its dashed halo */
body.curious .key,
body.curious .mast-price,
body.curious .play-box,
body.curious .cfg,
body.curious .chart-wrap,
body.curious .group-chip,
body.curious .chips .chip,
body.curious .caveat,
body.curious .hints .src,
body.curious .anno-card {
  outline: 1.5px dashed var(--pop);
  outline-offset: 2px;
  cursor: help;
}

/* the claude-explains card takes over the annotation panel in place */
.anno-panel { position: relative; }
.explain-panel {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: var(--bg);
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.explain-modes { display: flex; gap: 5px; margin-top: 10px; flex-wrap: wrap; }
.explain-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--median) transparent;
  margin-top: 8px;
  padding-right: 6px;
}
.explain-sec { margin-bottom: 11px; }
.explain-k {
  font-family: var(--caps);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--pop);
  margin-bottom: 2px;
}
.explain-t { font-size: 13px; line-height: 1.45; }
.explain-p { font-size: 13.5px; line-height: 1.5; margin-bottom: 10px; }
.explain-body.ten .explain-p { font-size: 15px; line-height: 1.55; }
.explain-body.jargon .explain-p { font-size: 12.5px; }
.explain-foot {
  border-top: 1.5px dashed var(--ink);
  margin-top: 8px;
  padding-top: 8px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.ask-line { width: 100%; display: flex; margin-top: 4px; }
.ask-line input {
  flex: 1;
  border: none;
  border-bottom: 1.5px solid var(--ink);
  background: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: 12.5px;
  color: var(--ink);
  padding: 2px;
  outline: none;
}
.ask-line input::placeholder { color: var(--muted); }
.ask-reply { width: 100%; font-size: 12px; font-style: italic; color: var(--muted); margin-top: 6px; }

@media (max-width: 1100px) {
  .split { grid-template-columns: 1fr; }
  .masthead { grid-template-columns: 26px 160px 1fr; }
  .logo { white-space: normal; }
}

/* while the hand is in flight, an open explain card steps aside: it fades
   and lets the pointer through, so the event cards underneath stay visible
   and the hand can land on one specific comment */
.explain-panel { transition: opacity 0.15s ease; }
body.hand-dragging .explain-panel {
  opacity: 0.12;
  pointer-events: none;
}
