/*
 * The web app's own look. Colours, seals, buttons and fields come from theme.css,
 * which the build writes from packages/core/src/design.ts.
 *
 * The idea: a fact-check desk. The verdict is the biggest thing on the screen, set
 * like a news banner, and it lands once on the video's picture as a stamp. Claims
 * are moments of the video, so each row starts with its time, in a timecode face.
 * Everything else is quiet and opens on request.
 *
 * Type is Atkinson Hyperlegible, made by the Braille Institute so letters cannot be
 * mistaken for each other: good for older eyes and young readers alike. Sizes are
 * in rem, so the text-size button (and the browser's own setting) scales it all.
 */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(fonts/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(fonts/atkinson-hyperlegible-mono-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(fonts/atkinson-hyperlegible-mono-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+1E00-1E9F;
}

:root {
  --sans: "Atkinson Hyperlegible Next", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --panel: color-mix(in srgb, var(--solid) 74%, var(--page));
  --raised: var(--solid);
  --line: var(--hairline);
  --media-bg: #101013;
  --stamp-bg: rgba(8, 8, 10, 0.66);
  --wide: 74rem;
  --narrow: 46rem;
  --gutter: clamp(1rem, 3.2vw, 1.75rem);
  --bar: 3.75rem;
  --time-col: 4.5rem;
}
@media (prefers-color-scheme: light) {
  :root { --page: #f0f1f3; --media-bg: #dfe0e4; --stamp-bg: rgba(255, 255, 255, 0.92); }
}
html { font-size: 100%; scroll-padding-top: calc(var(--bar) + 0.75rem); }
html[data-size="large"] { font-size: 118.75%; }

body {
  min-height: 100vh; min-height: 100dvh;
  padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.5; letter-spacing: 0;
  background: var(--page);
}
h1, h2, h3 { font-family: var(--sans); }
.btn { font-size: 0.9375rem; }
.btn-small { min-height: 2.25rem; font-size: 0.875rem; }
.chip { font-size: 0.75rem; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
button { font-family: inherit; }

/* ----- the bar on top ----- */
.top {
  position: sticky; top: 0; z-index: 10;
  padding-top: env(safe-area-inset-top);
  background: color-mix(in srgb, var(--page) 82%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex; align-items: center; gap: 0.625rem;
  max-width: calc(var(--wide) + 2 * var(--gutter)); height: var(--bar); margin: 0 auto; padding: 0 var(--gutter);
}
.top img { flex: none; border-radius: 8px; }
.brand { margin-right: auto; font-size: 1.0625rem; font-weight: 750; letter-spacing: -0.01em; }
.size {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.125rem; padding: 0;
  border: 0; border-radius: 999px; background: var(--fill); color: var(--ink);
  font-weight: 750; line-height: 1; cursor: pointer;
}
.size-glyph { display: inline-flex; align-items: baseline; gap: 1px; line-height: 1; }
.size-big { font-size: 1.125rem; }
.size-small { font-size: 0.8125rem; }
.size[aria-pressed="true"] { background: var(--ink); color: var(--page); }

main { padding: 0 var(--gutter) 3rem; }

/* ----- the question, and the one box that asks it ----- */
.hero { max-width: var(--narrow); margin: 0 auto; padding-top: clamp(2.25rem, 8vh, 5rem); text-align: center; }
.hero h1 {
  margin: 0 auto; max-width: 13em;
  font-size: clamp(2.35rem, 1.4rem + 4.6vw, 4.25rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em;
}
.lead { max-width: 32rem; margin: 1rem auto 0; color: var(--soft); font-size: 1.1875rem; line-height: 1.45; text-wrap: balance; }

.ask {
  margin: clamp(1.75rem, 4.5vh, 2.5rem) auto 0; padding: 0.5rem;
  border-radius: 1.625rem; background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line), 0 1.5rem 3.5rem -1.75rem color-mix(in srgb, #000 70%, transparent);
  text-align: left;
}
.ask:focus-within { box-shadow: inset 0 0 0 2px var(--focus), 0 1.5rem 3.5rem -1.75rem color-mix(in srgb, #000 70%, transparent); }
.ask-field {
  display: block; width: 100%; min-height: 4.25rem; margin: 0; padding: 0.875rem 1rem 0.5rem;
  border: 0; border-radius: 1.125rem; background: transparent; color: var(--ink);
  font: inherit; font-size: 1.25rem; line-height: 1.4; resize: none; overflow-wrap: anywhere;
}
.ask-field::placeholder { color: var(--mute); }
.ask-field:focus-visible { outline: none; }
.ask-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding: 0.25rem 0 0; }
.tool {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 2.875rem; padding: 0 1rem;
  border: 0; border-radius: 999px; background: var(--fill); color: var(--ink);
  font-size: 0.9375rem; font-weight: 650; white-space: nowrap; cursor: pointer;
  transition: background-color 120ms ease, transform 120ms ease;
}
.tool:hover { background: var(--fill-strong); }
.tool:active { transform: scale(0.97); }
.tool svg { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tool svg .solid { fill: currentColor; stroke: none; }
.go {
  margin-left: auto; min-width: 9rem; height: 3.25rem; padding: 0 1.75rem;
  border: 0; border-radius: 999px; background: var(--primary); color: var(--on-primary);
  font-size: 1.0625rem; font-weight: 750; cursor: pointer;
  transition: opacity 120ms ease, transform 120ms ease;
}
.go:hover { opacity: 0.88; }
.go:active { transform: scale(0.97); }

/* listening: the button turns red and shows the sound */
.listen-icon { position: relative; display: grid; place-items: center; width: 1.25rem; height: 1.25rem; }
.listen .bars { display: none; align-items: center; gap: 2px; height: 1.125rem; }
.listen .bars i {
  width: 3px; height: 100%; border-radius: 2px; background: currentColor;
  transform: scaleY(calc(0.2 + var(--level, 0) * var(--reach, 0.8)));
  transition: transform 120ms linear;
}
.listen .bars i:nth-child(1), .listen .bars i:nth-child(4) { --reach: 0.45; }
.listen .bars i:nth-child(2) { --reach: 0.8; }
.listen .bars i:nth-child(3) { --reach: 0.65; }
.listen[data-state="on"] { background: var(--false); color: #fff; }
.listen[data-state="on"] .mic { display: none; }
.listen[data-state="on"] .bars { display: flex; }
.listen[data-state="starting"] { opacity: 0.6; }
.listen-hint { font-weight: 500; opacity: 0.85; }
.listen-hint:empty { display: none; }

.ask-hint { max-width: 36rem; margin: 0.875rem auto 0; color: var(--mute); font-size: 0.875rem; line-height: 1.45; text-wrap: balance; }
.heard:empty { display: none; }
.heard {
  max-width: 36rem; margin: 0.875rem auto 0; color: var(--soft); font-size: 0.9375rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.notice {
  display: inline-flex; gap: 0.5625rem; align-items: flex-start;
  max-width: 36rem; margin: 1rem auto 0; padding: 0.625rem 1rem;
  border-radius: 1rem; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--soft); font-size: 0.875rem; text-align: left;
}
.notice::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; margin-top: 0.375rem; border-radius: 50%; background: var(--misleading); }
.notice[data-kind="error"]::before { background: var(--false); }
.access { max-width: 24rem; margin: 1rem auto 0; text-align: left; }
.access label { display: block; margin: 0 2px 7px; font-size: 0.875rem; font-weight: 650; }
.access-row { display: flex; gap: 8px; }

.promises {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.625rem 1.5rem;
  margin: 1.5rem auto 0; padding: 0; list-style: none;
  color: var(--soft); font-size: 0.9375rem;
}
.promises li { display: inline-flex; align-items: center; gap: 0.5rem; }
.promises .icon { color: var(--true); }

/* with results, the question steps aside and the box becomes one slim line */
body[data-results="yes"] .hero { max-width: var(--wide); padding-top: 1.25rem; }
body[data-results="yes"] .hero h1,
body[data-results="yes"] .lead,
body[data-results="yes"] .ask-hint,
body[data-results="yes"] .promises { display: none; }
body[data-results="yes"] .ask { display: flex; align-items: center; gap: 0.5rem; margin-top: 0; padding: 0.375rem; border-radius: 999px; }
body[data-results="yes"] .ask-field { flex: 1; min-width: 0; height: 2.875rem; min-height: 0; padding: 0.6875rem 1rem; font-size: 1.0625rem; white-space: nowrap; overflow: hidden; }
body[data-results="yes"] .ask-bar { flex: none; flex-wrap: nowrap; padding: 0; }
body[data-results="yes"] .go { height: 2.875rem; min-width: 7rem; }

/* ----- results ----- */
.results { max-width: var(--wide); margin: 1.5rem auto 0; scroll-margin-top: calc(var(--bar) + 0.75rem); }
.results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.75rem; margin-top: 1rem; }
.tally { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.count {
  display: inline-flex; align-items: center; gap: 0.5rem;
  height: 2.375rem; padding: 0 0.875rem 0 0.625rem;
  border: 0; border-radius: 999px; background: var(--raised); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--mono); font-size: 0.9375rem; font-weight: 700; cursor: pointer;
}
.count:hover { box-shadow: inset 0 0 0 1px var(--signal); }
.count[aria-pressed="true"] { background: color-mix(in srgb, var(--signal) 20%, var(--raised)); box-shadow: inset 0 0 0 2px var(--signal); }
.results-actions { display: flex; gap: 0.5rem; margin-left: auto; }

.reports {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); gap: 0.875rem;
  margin: 0; padding: 0; list-style: none;
}
.earlier-head { grid-column: 1 / -1; order: -1; margin-top: 1.75rem; }
.earlier-head h2 { margin: 0; font-size: 1.125rem; font-weight: 750; color: var(--soft); }

/* ----- one report, shown in full ----- */
.report { position: relative; min-width: 0; }
.report[data-active="true"] {
  grid-column: 1 / -1; order: -2;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem;
  animation: arrive 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.report-open { display: none; }
.report-summary { min-width: 0; }

.report-media {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: 1.125rem;
  background: var(--media-bg);
}
.report-media .thumb { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; background: #000; }
.media-fallback {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 0.5rem; padding: 1rem;
  color: var(--mute); text-align: center;
}
.media-fallback .icon { width: 2.75rem; height: 2.75rem; stroke-width: 1.3; }
.media-name { max-width: 100%; color: var(--soft); font-size: 0.9375rem; font-weight: 650; overflow-wrap: anywhere; }
.play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center;
  width: 4rem; height: 4rem; padding: 0;
  border: 0; border-radius: 50%; color: #fff;
  background: rgba(10, 10, 12, 0.58);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
  cursor: pointer; transition: transform 140ms ease, background-color 140ms ease;
}
.play:hover { transform: scale(1.06); background: rgba(10, 10, 12, 0.72); }
.play .icon { width: 1.75rem; height: 1.75rem; fill: currentColor; stroke: none; margin-left: 0.2rem; }
.excerpt {
  position: absolute; inset: 0; margin: 0; padding: 1.25rem 1.375rem;
  color: var(--soft); font-size: 1.0625rem; line-height: 1.45; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.report[data-kind="text"] .report-media { aspect-ratio: auto; min-height: 7.5rem; }
.report[data-kind="text"] .excerpt { position: static; }
.report[data-kind="listen"] .report-media { aspect-ratio: auto; min-height: 7.5rem; }

/* the stamp: lands once on the picture when the answer is in */
.report-stamp {
  position: absolute; left: 0.875rem; bottom: 0.875rem; z-index: 1;
  padding: 0.3125rem 0.75rem 0.375rem;
  border: 3px solid var(--signal); border-radius: 0.4rem;
  background: var(--stamp-bg); color: var(--signal);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 1.25rem; font-weight: 800; line-height: 1.1; letter-spacing: 0.04em; text-transform: uppercase;
  rotate: -3deg; pointer-events: none;
}
.report-stamp.lands { animation: stamp 560ms cubic-bezier(0.2, 0.9, 0.25, 1.2) both; }
.report-media[data-playing] .report-stamp { display: none; }

/* the verdict, set like a news banner */
.video-head { margin-top: 1rem; }
.verdict {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.875rem 1rem 0.875rem 0.875rem;
  border-left: 0.375rem solid var(--signal); border-radius: 0.375rem 0.875rem 0.875rem 0.375rem;
  background: color-mix(in srgb, var(--signal) 16%, var(--raised));
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.625rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
}
.verdict[data-label="checking"] { --signal: var(--mute); font-weight: 700; }
.verdict .seal { width: 2rem; height: 2rem; }
.verdict .seal svg { width: 1.0625rem; height: 1.0625rem; }
.verdict[data-label="checking"] .seal {
  background: none; border: 2px solid var(--fill-strong); border-top-color: var(--ink);
  animation: ii-spin 0.9s linear infinite;
}
.video-about { margin-top: 0.875rem; }
.video-title { margin: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.video-channel { margin: 0.125rem 0 0; color: var(--mute); font-size: 0.9375rem; }
.report-extra { display: grid; gap: 0.75rem; margin-top: 0.875rem; }
.report-extra:empty { display: none; }
.video-note { margin: 0; color: var(--soft); font-size: 0.9375rem; line-height: 1.45; }
.report[data-state="satire"] .video-note { color: var(--ink); font-size: 1rem; }
.ai-note { padding: 0.75rem 0.875rem 0.8125rem; border-radius: 0.875rem; background: color-mix(in srgb, var(--misleading) 12%, var(--raised)); }
.ai-tag { display: inline-flex; align-items: center; gap: 0.4375rem; font-size: 0.9375rem; font-weight: 750; }
.ai-mark { display: inline-grid; place-items: center; width: 1.375rem; height: 1.375rem; border-radius: 50%; background: var(--misleading); color: #fff; }
.ai-mark svg { width: 0.8125rem; height: 0.8125rem; fill: currentColor; stroke: none; }
.ai-why { margin: 0.3125rem 0 0; color: var(--soft); font-size: 0.875rem; line-height: 1.4; }
.report-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0; font-size: 0.9375rem; }
.report-actions a { color: var(--ink); text-underline-offset: 3px; }
.report-tools { display: inline-flex; flex-wrap: wrap; gap: 0.5rem; margin-left: auto; }
.video-scope { margin: 0; color: var(--mute); font-size: 0.8125rem; line-height: 1.4; }

/* ----- the claims: one row each, in the order they are said ----- */
.report-claims { min-width: 0; border-radius: 1.375rem; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.report[data-claims="0"] .report-claims { display: none; }
.claims-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.625rem 0.75rem;
  padding: 0.75rem 1rem 0.75rem 1.25rem; border-bottom: 1px solid var(--line);
}
.claims-title { display: flex; align-items: baseline; gap: 0.625rem; margin: 0; font-size: 1rem; font-weight: 750; color: var(--soft); letter-spacing: 0; }
.claims-count { font-family: var(--mono); font-weight: 500; color: var(--mute); }
.claims-head .tally { margin-left: auto; }
.video-claims { margin: 0; padding: 0; list-style: none; }

.card {
  display: grid; grid-template-columns: var(--time-col) minmax(0, 1fr); column-gap: 0.875rem;
  padding: 0.8125rem 1.25rem 0.875rem; border-bottom: 1px solid var(--line);
  transition: background-color 120ms ease;
}
.card:last-child { border-bottom: 0; }
.card:hover { background: color-mix(in srgb, var(--ink) 3%, transparent); }
.card[data-open="true"] { background: color-mix(in srgb, var(--ink) 4.5%, transparent); }
.report[data-kind="text"] .card, .report[data-kind="listen"] .card { --time-col: 0px; column-gap: 0; }
.card > .card-toggle, .card > .why, .card > .card-body { grid-column: 2; }
.at {
  grid-column: 1; grid-row: 1; justify-self: start; align-self: start;
  margin-top: 0.0625rem; padding: 0.1875rem 0.5625rem;
  border: 0; border-radius: 999px; background: var(--fill-strong); color: var(--ink);
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 600; line-height: 1.4; text-decoration: none; white-space: nowrap;
}
a.at, button.at { cursor: pointer; }
a.at:hover, button.at:hover { background: var(--ink); color: var(--page); }
.at:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.card-toggle {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "stamp more" "claim claim";
  gap: 0.3125rem 0.75rem; width: 100%; margin: 0; padding: 0;
  border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.card-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 0.5rem; }
.card-toggle .stamp { grid-area: stamp; font-size: 0.9375rem; }
.card-toggle .claim { grid-area: claim; margin: 0; font-size: 1.0625rem; font-weight: 650; line-height: 1.38; letter-spacing: -0.005em; overflow-wrap: anywhere; }
.card-more { grid-area: more; display: inline-flex; align-items: center; gap: 0.25rem; color: var(--mute); font-size: 0.8125rem; font-weight: 600; }
.card-more .chevron { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: rotate 160ms ease; }
.card-toggle[aria-expanded="true"] .chevron { rotate: 180deg; }
.card-toggle[aria-expanded="true"] .card-more-label { display: none; }
.card > .why { margin: 0.375rem 0 0; color: var(--soft); font-size: 0.9375rem; line-height: 1.45; }
/* not confirmed: quieter, so what is false stands out */
.card[data-label="unverified"] .claim, .card[data-label="checking"] .claim { color: var(--soft); font-weight: 550; }
.card[data-label="unverified"]:not([data-open="true"]) > .why { display: none; }
.card-body { display: grid; gap: 0.625rem; margin-top: 0.75rem; }
.card-body .tip { margin: 0; padding: 0.6875rem 0.875rem 0.75rem; border-radius: 0.75rem; background: color-mix(in srgb, var(--true) 11%, var(--raised)); font-size: 0.9375rem; }
.card-body .sources { margin: 0; padding: 0.625rem 0 0; font-size: 0.9375rem; }
.card-body .method { margin: 0; font-size: 0.8125rem; }

/* the count above a report also filters its claims */
.report[data-filter="true"] .card:not([data-label="true"]),
.report[data-filter="misleading"] .card:not([data-label="misleading"]),
.report[data-filter="false"] .card:not([data-label="false"]),
.report[data-filter="unverified"] .card:not([data-label="unverified"]) { display: none; }

/* ----- earlier checks: small tiles that bring a check back ----- */
.report[data-active="false"] {
  display: block; padding: 0.625rem 0.625rem 0.875rem;
  border-radius: 1.125rem; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.report[data-active="false"]:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--fill-strong); }
.report[data-active="false"] .report-open {
  display: block; position: absolute; inset: 0; z-index: 3;
  border: 0; border-radius: inherit; background: transparent; cursor: pointer;
}
.report[data-active="false"] .report-open:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.report[data-active="false"] .report-media { border-radius: 0.75rem; }
.report[data-kind="text"][data-active="false"] .report-media,
.report[data-kind="listen"][data-active="false"] .report-media { min-height: 0; aspect-ratio: 16 / 9; }
.report[data-active="false"] .play { display: none; }
.report[data-active="false"] .report-stamp { left: 0.5rem; bottom: 0.5rem; padding: 0.1875rem 0.5rem; border-width: 2px; font-size: 0.8125rem; }
.report[data-active="false"] .report-stamp.lands { animation: none; }
.report[data-active="false"] .video-head { margin-top: 0.625rem; }
.report[data-active="false"] .verdict { padding: 0.4375rem 0.625rem; border-left-width: 0.25rem; gap: 0.5rem; font-size: 0.9375rem; font-weight: 750; }
.report[data-active="false"] .verdict .seal { width: 1.25rem; height: 1.25rem; }
.report[data-active="false"] .verdict .seal svg { width: 0.75rem; height: 0.75rem; }
.report[data-active="false"] .video-about { margin: 0.5rem 0.125rem 0; }
.report[data-active="false"] .video-title { font-size: 0.875rem; font-weight: 650; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.report[data-active="false"] .video-channel,
.report[data-active="false"] .report-extra,
.report[data-active="false"] .report-claims { display: none; }

/* ----- how to spot a fake video ----- */
.learn { max-width: var(--wide); margin: clamp(3rem, 8vh, 4.5rem) auto 0; }
.learn h2 { margin: 0; font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; }
.learn-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: 0.75rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.learn-list li {
  padding: 1.125rem 1.125rem 1.25rem;
  border-radius: 1.125rem; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--soft); font-size: 0.9375rem; line-height: 1.45;
}
.learn-list .icon { display: block; width: 2.5rem; height: 2.5rem; padding: 0.5625rem; border-radius: 0.75rem; background: var(--fill); color: var(--ink); stroke-width: 1.6; }
.learn-list strong { display: block; margin: 0.75rem 0 0.25rem; color: var(--ink); font-size: 1rem; font-weight: 750; line-height: 1.3; }

/* ----- getting the browser extension ----- */
.get { max-width: var(--wide); margin: clamp(3rem, 8vh, 4.5rem) auto 0; }
.get-head { display: flex; align-items: center; gap: 1rem; }
.get-head img { flex: none; border-radius: 0.875rem; }
.get h2 { margin: 0; font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; }
.get-lead { margin: 0.25rem 0 0; color: var(--soft); }
.get-main {
  margin-top: 1rem; padding: 1.25rem 1.25rem 1.375rem;
  border-radius: 1.125rem; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--soft); font-size: 0.9375rem; line-height: 1.5;
}
.get-main > :first-child { margin-top: 0; }
.get-main p { margin: 0.75rem 0 0; }
.get-download { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.get-download .icon { width: 1.25rem; height: 1.25rem; }
.get-version { color: var(--mute); font-size: 0.875rem; }
.get-steps-title { color: var(--ink); font-weight: 700; }
.get-steps { margin: 0.5rem 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 0.625rem; }
.get-steps li { counter-increment: step; display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: 0.625rem; align-items: start; }
.get-steps li::before {
  content: counter(step); display: grid; place-items: center; width: 1.75rem; height: 1.75rem;
  border-radius: 50%; background: var(--fill); color: var(--ink); font-weight: 750; font-size: 0.875rem;
}
.get-steps code {
  padding: 0.125rem 0.4rem; border-radius: 0.375rem; background: var(--fill-strong); color: var(--ink);
  font: 600 0.9em ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere;
}
.get-steps .btn-small { margin-left: 0.375rem; vertical-align: middle; }
.get-others { margin: 0.75rem 0 0; color: var(--mute); font-size: 0.875rem; }
.get-others a { color: var(--soft); font-weight: 650; }

/* ----- the foot of the page ----- */
.foot { max-width: var(--wide); margin: 0 auto; padding: 1.5rem var(--gutter) 2.75rem; color: var(--mute); font-size: 0.8125rem; text-align: center; }
.foot p + p { margin-top: 0.25rem; }
.foot a { color: var(--soft); font-weight: 650; text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ----- wide screens: the summary stays beside its claims ----- */
@media (min-width: 60rem) {
  .report[data-active="true"] { grid-template-columns: minmax(20rem, 25rem) minmax(0, 1fr); gap: 1.75rem; align-items: start; }
  .report[data-active="true"] .report-claims { grid-column: 2; grid-row: 1; }
}
@media (min-width: 60rem) and (min-height: 46rem) {
  .report[data-active="true"] .report-summary { position: sticky; top: calc(var(--bar) + 1rem); }
}

/* ----- narrow screens ----- */
@media (max-width: 40rem) {
  .ask-bar .tool { flex: 1 1 auto; padding: 0 0.75rem; }
  .ask-bar .go { flex: 1 1 100%; margin-left: 0; }
  body[data-results="yes"] .ask { flex-wrap: wrap; border-radius: 1.375rem; }
  body[data-results="yes"] .ask-field { flex-basis: 100%; }
  body[data-results="yes"] .ask-bar { flex: 1 1 100%; }
  body[data-results="yes"] .ask-bar .tool { flex: none; width: 2.875rem; padding: 0; }
  body[data-results="yes"] .ask-bar .tool > span:not(.listen-icon) { display: none; }
  body[data-results="yes"] .ask-bar .go { flex: 1 1 auto; margin-left: auto; min-width: 0; }
  /* the moment sits beside the verdict word, so the claim has the whole width */
  .card { grid-template-columns: minmax(0, 1fr); padding: 0.8125rem 1rem 0.875rem; }
  .card > .at { grid-column: 1; grid-row: 1; justify-self: end; position: relative; z-index: 1; margin-right: 1.625rem; }
  .card > .card-toggle { grid-column: 1; grid-row: 1; }
  .card > .why, .card > .card-body { grid-column: 1; }
  .card-more-label { display: none; }
  .claims-head { padding: 0.625rem 0.75rem 0.625rem 1rem; }
  .verdict { padding: 0.75rem 0.875rem 0.75rem 0.75rem; }
  /* earlier checks: two small tiles a row */
  .reports { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem; }
  .report[data-active="false"] { padding: 0.5rem 0.5rem 0.75rem; }
  .report[data-active="false"] .verdict { font-size: 0.8125rem; padding: 0.375rem 0.5rem; }
  /* habits: the picture beside the words */
  .learn-list li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 0.875rem; align-items: start; }
  .learn-list .icon { grid-row: span 2; }
  .learn-list strong { margin: 0.375rem 0 0.25rem; }
}

@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes stamp {
  0% { opacity: 0; scale: 1.7; }
  55% { opacity: 1; scale: 0.94; }
  100% { opacity: 1; scale: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .report[data-active="true"], .report-stamp.lands { animation: none; }
  .tool, .go, .play, .card, .report, .card-more .chevron { transition: none; }
  .verdict[data-label="checking"] .seal { animation: none; }
}
