/* PokerTells research pages, layered over article.css.
   Direction A "Broadcast HUD" (docs/ui-redesign-plan.md): charcoal ground, teal #5eead4 as the one
   data hue, garage red #de2a2a only for the one primary action, Barlow Semi Condensed for display
   and Fira Sans Condensed for text (self-hosted under /fonts), no gradients, glows or resting shadows.
   The token values match src/app.css so these pages read as the same product as the app.
   Scoped to <html class="tells"> so no other static page changes. */

@font-face { font-family: "Barlow Semi Condensed"; src: url("/fonts/BarlowSemiCondensed-Medium.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("/fonts/BarlowSemiCondensed-Bold.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Fira Sans Condensed"; src: url("/fonts/FiraSansCondensed-Medium.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Fira Sans Condensed"; src: url("/fonts/FiraSansCondensed-Bold.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }

:root.tells {
  --ground: #0b0b0c;
  --surface: #151516;
  --raised: #222224;
  --line: #2e2e31;
  --line-strong: #444448;
  --ink: #f2f2f0;
  --muted: #a3a3a0;
  --faint: #8c8c88;
  --action: #de2a2a;
  --action-hover: #c21f1f;
  --data: #5eead4;
  --data-dim: #133f3c;
  --font-display: "Barlow Semi Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --font-text: "Fira Sans Condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-text);
  font-weight: 400;
}

.tells body { background: var(--ground); }
.tells body::before { display: none; }

.tells .page { max-width: 980px; padding: 20px 16px 64px; }

.tells .skip {
  background: var(--ink);
  border-radius: var(--radius);
  color: var(--ground);
  font-weight: 600;
  left: 12px;
  padding: 10px 14px;
  position: absolute;
  top: -60px;
  z-index: 30;
}
.tells .skip:focus { top: 12px; }

.tells .page nav {
  backdrop-filter: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: none;
  margin-bottom: 40px;
  width: 100%;
}
.tells .page nav::before { display: none; }
.tells .page nav a {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.tells .page nav a[href="/"] { font-size: 0; }
.tells .page nav a[href="/"]::after { font-size: 1rem; }
.tells .page nav a:hover,
.tells .page nav a:focus-visible { background: var(--raised); color: var(--ink); }

.tells a { color: var(--data); text-decoration-color: rgba(94, 234, 212, 0.45); }
.tells a:hover { color: var(--ink); }
.tells :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--radius-sm); }

.tells h1,
.tells h2,
.tells h3 { color: var(--ink); font-family: var(--font-display); font-weight: 700; letter-spacing: 0; }
.tells h1 { font-size: clamp(2.4rem, 9vw, 4.2rem); line-height: 1; margin-bottom: 18px; }
.tells h2 { font-size: clamp(1.6rem, 4.6vw, 2.1rem); line-height: 1.1; margin: 56px 0 14px; }
.tells h3 { font-size: 1.25rem; }

.tells p,
.tells li { color: #d6d6d2; font-size: 1.06rem; line-height: 1.7; max-width: 70ch; }
.tells .dek { color: var(--ink); font-size: clamp(1.15rem, 3.4vw, 1.35rem); max-width: 62ch; }
.tells .meta { border-color: var(--line); color: var(--faint); font-size: 0.92rem; }
.tells strong { color: var(--ink); }

.tells .finding {
  border-left: 4px solid var(--data);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 1.65rem);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 28px;
  max-width: 34em;
  padding: 4px 0 4px 16px;
}
.tells .finding strong { color: var(--data); }

.tells .covered { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; }
.tells .covered li { color: var(--faint); font-size: 0.92rem; margin: 0; max-width: none; }
.tells .covered .chip {
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 10px;
}
.tells .covered .chip small { color: var(--muted); font-family: var(--font-text); font-weight: 400; letter-spacing: 0; margin-left: 4px; }

.tells .scope { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin: 8px 0 12px; }
.tells .scope > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px 6px; }
.tells .scope h2 { font-size: 1.3rem; margin: 0 0 6px; }
.tells .scope ul { margin: 0 0 12px; padding-left: 20px; }
.tells .scope li { font-size: 1rem; line-height: 1.6; margin: 6px 0; }
.tells .scope li::marker { color: var(--data); }
.tells .scope .not li::marker { color: var(--faint); }

.tells .topics span { background: transparent; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--muted); }

.tells .signals { margin: 22px 0 8px; }
.tells .signals > div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px 24px;
  grid-template-columns: minmax(0, 1fr);
  padding: 14px 0;
}
.tells .signals > div:last-child { border-bottom: 1px solid var(--line); }
.tells .signals dt { color: var(--ink); font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.tells .signals dd { color: #cfcfcb; font-size: 1rem; line-height: 1.6; margin: 0; }
.tells .signals dd.result {
  align-self: start;
  background: var(--raised);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
  justify-self: start;
  letter-spacing: 0.03em;
  padding: 2px 8px;
}
.tells .signals dd.result.carries { background: var(--data-dim); color: var(--data); }

.tells .callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--data); border-radius: var(--radius-lg); box-shadow: none; }
.tells .callout p { color: #e4e4e0; }

/* Videos: a poster button that loads the youtube-nocookie player only after a click. */
.tells .video-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin: 20px 0 8px; }
.tells .video { margin: 0; min-width: 0; }
.tells .video-frame {
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.tells .video-frame iframe,
.tells .video-frame img { border: 0; display: block; height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.tells .video-play {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  height: 100%;
  inset: 0;
  justify-content: center;
  padding: 0;
  position: absolute;
  width: 100%;
}
.tells .video-play span {
  background: rgba(11, 11, 12, 0.86);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 18px;
}
.tells .video-play:hover span,
.tells .video-play:focus-visible span { background: var(--ink); color: var(--ground); }
.tells .video figcaption { color: var(--muted); font-size: 0.95rem; line-height: 1.5; margin-top: 8px; }

.tells .showcase-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin: 20px 0 8px; }
.tells .showcase-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); min-width: 0; padding: 18px 20px; }
.tells .showcase-card h3 { margin: 0 0 8px; }
.tells .showcase-card p { font-size: 0.98rem; line-height: 1.6; margin: 0 0 8px; }
.tells .showcase-card .note { color: var(--faint); font-size: 0.9rem; }
.tells .showcase-card a { display: inline-flex; align-items: center; font-weight: 600; min-height: 44px; }

/* The one primary action on the page. */
.tells .cta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin: 48px 0 8px;
  padding: 22px 20px;
}
.tells .cta h2 { margin-top: 0; }
.tells .button {
  align-items: center;
  background: var(--action);
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  min-height: 44px;
  padding: 10px 18px;
  text-decoration: none;
}
.tells .button:hover { background: var(--action-hover); color: #fff; }
.tells .button[disabled] { background: var(--raised); color: var(--faint); cursor: not-allowed; }

/* Upload form */
.tells .upload-form { margin-top: 18px; }
.tells .field { margin: 0 0 16px; }
.tells .field label { color: var(--ink); display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.tells .field input[type="email"],
.tells .field input[type="file"],
.tells .field select {
  background: var(--raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  width: 100%;
}
.tells .field.check { align-items: flex-start; display: flex; gap: 10px; }
.tells .field.check input { accent-color: var(--data); flex: 0 0 auto; height: 22px; margin-top: 3px; width: 22px; }
.tells .field.check label { font-family: var(--font-text); font-size: 1rem; font-weight: 400; line-height: 1.5; }
.tells .honeypot { height: 1px; left: -9999px; overflow: hidden; position: absolute; width: 1px; }
.tells .help { color: var(--muted); font-size: 0.95rem; line-height: 1.5; margin: 6px 0 0; }
.tells .status { color: var(--ink); font-weight: 600; min-height: 1.5em; }
.tells .status.error { color: #ff8b84; }
.tells .button.secondary { background: transparent; border: 1px solid var(--line-strong); color: var(--ink); }
.tells .button.secondary:hover { background: var(--raised); }

/* Result view */
.tells .result-view { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); margin: 8px 0 32px; padding: 20px; }
.tells .result-view h2 { margin-top: 0; }
.tells .hand { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; }
.tells .hand h3 { margin: 0 0 4px; }
.tells .hand .when { color: var(--faint); font-size: 0.92rem; margin: 0 0 8px; }
.tells .cards { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; margin: 6px 0 10px; padding: 0; }
.tells .cards li { color: #e4e4e0; font-size: 0.98rem; margin: 0; }
.tells .card { background: var(--ink); border-radius: var(--radius-sm); color: var(--ground); display: inline-block; font-family: var(--font-display); font-weight: 700; margin-left: 3px; padding: 0 5px; }
.tells .card.red { color: #b31b1b; }
.tells .lanes { display: block; height: auto; margin: 8px 0; max-width: 100%; width: 100%; }
.tells .lanes .lane-label { fill: var(--muted); font-family: var(--font-text); font-size: 13px; }
.tells .lanes .bar { fill: var(--data); }
.tells .lanes .oncam { fill: var(--raised); }
.tells .lanes .cut { stroke: var(--line-strong); stroke-width: 1; }
.tells .lanes .act { stroke: var(--ink); stroke-dasharray: 3 3; stroke-width: 1; }
.tells .lanes .act-label { fill: var(--ink); font-family: var(--font-display); font-size: 12px; }
.tells .lanes .axis { fill: var(--faint); font-family: var(--font-text); font-size: 12px; }
.tells .actions { border-collapse: collapse; font-size: 0.95rem; margin: 8px 0; width: 100%; }
.tells .actions th,
.tells .actions td { border-bottom: 1px solid var(--line); padding: 6px 6px; text-align: left; }
.tells .actions th { color: var(--muted); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.04em; }
.tells .actions td.num { font-variant-numeric: tabular-nums; }
.tells .result-note { margin: 20px 0 10px; }

.tells .coverage-group { border-top: 1px solid var(--line); display: grid; gap: 0 32px; grid-template-columns: minmax(0, 1fr); margin-top: 18px; padding-top: 18px; }
.tells .coverage-group h3 { font-size: 1.2rem; margin: 0 0 8px; }
.tells .coverage-group h3 small { color: var(--faint); display: block; font-family: var(--font-text); font-size: 0.9rem; font-weight: 400; line-height: 1.5; margin-top: 4px; }
.tells .coverage-list { list-style: none; margin: 0 0 8px; padding: 0; }
.tells .coverage-list li { border-bottom: 1px solid var(--line); line-height: 1.55; padding: 10px 0 12px; }
.tells .coverage-list li:last-child { border-bottom: 0; }
.tells .coverage-list .outlet { color: var(--data); display: block; font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 2px; text-transform: uppercase; }

.tells .author-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: none; }
.tells .related,
.tells .contact-footer { border-color: var(--line); }
.tells .related a { align-items: center; display: flex; min-height: 44px; margin: 0; }
.tells .contact-footer { color: var(--faint); }

.tells ::selection { background: rgba(94, 234, 212, 0.3); color: var(--ink); }

@media (min-width: 720px) {
  .tells .page { padding: 28px 24px 72px; }
  .tells .page nav { width: fit-content; }
  .tells .scope { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tells .signals > div { grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) minmax(0, 10rem); }
  .tells .showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tells .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tells .coverage-group { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); }
  .tells .cta { padding: 28px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .tells,
  .tells * { scroll-behavior: auto !important; transition: none !important; }
}
