/* fakenews2026 — a white newsroom with a red stamp. Red means "falso", nothing else. */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --paper: #f5f5f4;
  --ink: #111111;
  --grey: #5c5c5c;
  --line: #e2e2e2;
  --red: #d7141a;
  --amber: #8a4b00;
  --amber-bg: #fff1d6;
  --green: #0b7a3e;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;

  --top: 44px;
  /* top bar + slide padding + controls (dots, hint, share bar, "próxima") */
  --chrome: 204px;
  --side: 0px;
  --fw: min(100vw - var(--side) - 24px, (100vh - var(--chrome)) * 0.8, 600px);
}

@supports (height: 100dvh) {
  :root {
    --fw: min(100vw - var(--side) - 24px, (100dvh - var(--chrome)) * 0.8, 600px);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow: hidden;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 8px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 8px;
}

/* ---------- Top bar ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: var(--top);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 0 12px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.topbar-logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.topbar-logo img {
  display: block;
  height: 17px;
  width: auto;
}

.topbar-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--grey);
  font-variant-numeric: tabular-nums;
  margin-left: 4px;
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.icon-btn:hover {
  background: var(--paper);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.no-js .js-only {
  display: none !important;
}

/* ---------- The feed: vertical scroll-snap between screens ---------- */

.feed {
  position: fixed;
  inset: 0 0 0 var(--side);
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
}

.feed::-webkit-scrollbar {
  display: none;
}

.screen {
  position: relative;
  height: 100vh;
  height: 100dvh;
  padding-top: var(--top);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- Cover ---------- */

.cover {
  background: var(--white);
  align-items: center;
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
}

.cover-inner {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cover-logo {
  width: min(78vw, 340px);
  height: auto;
}

.cover h1 {
  margin: 6px 0 0;
  font-size: clamp(28px, 8.4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.cover-stats {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  font-size: 15px;
  font-weight: 600;
}

.cover-stats strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.01em;
  margin-right: 4px;
}

.cover-flag {
  display: block;
  width: 56px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--line);
}

/* "22" badge: flag colours, only on the end screen, never inside a debunk frame */
.badge22 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 6px 6px 6px 10px;
  border-radius: 999px;
  background: #002776;
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.badge22 img {
  display: block;
  width: 30px;
  height: auto;
  border-radius: 3px;
}

.badge22 b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  background: #ffdf00;
  color: #002776;
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
}

.badge22--big {
  gap: 14px;
  padding: 8px 8px 8px 14px;
  font-size: 19px;
}

.badge22--big img {
  width: 40px;
}

.badge22--big b {
  min-width: 64px;
  height: 46px;
  font-size: 36px;
}

.end-date {
  margin: 10px 0 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--grey);
}

.cover-updated {
  margin: 0;
  font-size: 13px;
  color: var(--grey);
}

.swipe-up {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.swipe-up svg {
  width: 18px;
  height: 18px;
  animation: nudge-up 1.6s ease-in-out infinite;
}

@keyframes nudge-up {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.cover-independent {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--grey);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 22px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--outline {
  background: var(--white);
  color: var(--ink);
}

.btn--sm {
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  font-size: 14px;
  border-radius: 19px;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: progress;
}

/* ---------- A lie: horizontal carousel ---------- */

.lie {
  align-items: stretch;
}

.stage {
  position: relative;
  flex: none;
}

.track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.track::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  padding: 6px 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.track.peek .slide {
  animation: peek 1s ease-in-out 0.4s 1;
}

@keyframes peek {
  0%, 100% { transform: translateX(0); }
  35%, 60% { transform: translateX(-40px); }
}

/* ---------- The frame: 4:5, sized in container units, identical to the exported image ---------- */

.frame {
  position: relative;
  width: var(--fw);
  aspect-ratio: 4 / 5;
  container-type: inline-size;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
  box-shadow: 0 1px 2px rgb(17 17 17 / 0.08), 0 6px 24px rgb(17 17 17 / 0.08);
}

.frame a {
  color: inherit;
  text-decoration-thickness: 0.25cqw;
  text-underline-offset: 0.5cqw;
}

.frame-top {
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  padding: 5.6cqw 7cqw 0;
  font-size: 3.2cqw;
  font-weight: 700;
  color: var(--grey);
  font-variant-numeric: tabular-nums;
}

.frame-top .count {
  margin-left: auto;
}

.logo {
  font-family: var(--display);
  font-weight: 400;
  font-size: 4.6cqw;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--red);
  white-space: nowrap;
}

.logo b {
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-left: 0.1em;
}

.frame-body {
  min-height: 0;
  overflow: hidden;
  padding: 0 7cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.frame-foot {
  margin: 0 7cqw;
  padding: 2.8cqw 0 5cqw;
  border-top: 0.3cqw solid var(--line);
  font-size: 3cqw;
  font-weight: 500;
  color: var(--grey);
}

/* Verdict chips */

.chip {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.frame .chip {
  padding: 1.2cqw 2cqw;
  border-radius: 1cqw;
  font-size: 2.9cqw;
}

.chip--falso,
.chip--montagem {
  background: var(--red);
  color: var(--white);
}

.chip--sem-provas,
.chip--distorcido {
  background: var(--amber-bg);
  color: var(--amber);
}

/* Slide 1: the fake news in one plain sentence, verdict first */

.kicker {
  margin: 0;
  font-size: 3.4cqw;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.lie[data-verdict="sem-provas"] .kicker,
.lie[data-verdict="distorcido"] .kicker {
  color: var(--amber);
}

.lie .kicker--muted {
  margin-bottom: 1cqw;
  color: var(--grey);
}

.headline {
  margin: 2.4cqw 0 0;
  font-size: 8.4cqw;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.015em;
}

.headline em {
  font-style: normal;
  color: var(--red);
}

.lie[data-verdict="sem-provas"] .headline em,
.lie[data-verdict="distorcido"] .headline em {
  color: var(--amber);
}

.swipe-cue {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  margin: 6cqw 0 0;
  font-size: 3.8cqw;
  font-weight: 700;
  color: var(--grey);
}

.swipe-cue svg {
  width: 4.4cqw;
  height: 4.4cqw;
  flex: none;
}

.slide--cover .stamp {
  align-self: flex-start;
  margin: 0 0 7cqw 1cqw;
}

.slide--cover .stamp span {
  font-size: 17cqw;
}

.slide--cover .stamp--sem-provas span,
.slide--cover .stamp--distorcido span {
  font-size: 11.5cqw;
}

/* Slide 2: what was said, struck through and always stamped */

.stamp {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  margin: 0 -1.5cqw -6cqw 0;
  transform: rotate(-8deg);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.stamp span {
  display: inline-block;
  padding: 1.6cqw 3.6cqw 1cqw;
  border: 1.4cqw double var(--red);
  border-radius: 1.2cqw;
  font-family: var(--display);
  font-size: 15cqw;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  -webkit-mask-image: url("../img/stamp-mask.svg");
  mask-image: url("../img/stamp-mask.svg");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.stamp--sem-provas span,
.stamp--distorcido span {
  font-size: 10cqw;
  color: var(--amber);
  border-color: var(--amber);
  background: var(--amber-bg);
}

.stamp.thunk {
  animation: thunk 200ms cubic-bezier(0.2, 0.9, 0.3, 1.3) 1;
}

@keyframes thunk {
  from { transform: rotate(-8deg) scale(1.3); opacity: 0.4; }
  to { transform: rotate(-8deg) scale(1); opacity: 1; }
}

.claim {
  margin: 0;
  font-size: 8cqw;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--grey);
}

.claim p {
  margin: 0;
}

.claim s {
  text-decoration-line: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 0.6cqw;
}

.lie[data-verdict="sem-provas"] .claim s,
.lie[data-verdict="distorcido"] .claim s {
  text-decoration-color: var(--amber);
}

.who {
  margin: 5cqw 0 0;
  font-size: 3.6cqw;
  font-weight: 500;
  line-height: 1.38;
  color: var(--ink);
}

.party {
  display: inline-block;
  width: auto;
  height: 3.6cqw;
  margin-right: 1.4cqw;
  vertical-align: -0.6cqw;
  border-radius: 0.4cqw;
}

.watch {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 1.6cqw;
  margin: 3cqw 0 0;
  padding: 1.6cqw 3.2cqw;
  border: 0.4cqw solid var(--ink);
  border-radius: 6cqw;
  font-size: 3.6cqw;
  font-weight: 800;
  text-decoration: none !important;
}

.watch svg {
  width: 4.6cqw;
  height: 4.6cqw;
  flex: none;
}

/* Slide 2: A VERDADE */

.label {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  font-size: 3.5cqw;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.label svg {
  width: 4.6cqw;
  height: 4.6cqw;
  flex: none;
}

.bignum {
  margin: 3cqw 0 0;
  font-family: var(--display);
  font-size: 24cqw;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.bignum small {
  display: block;
  margin-top: 1.6cqw;
  font-family: var(--font);
  font-size: 3.3cqw;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--grey);
}

.truth-text {
  margin: 3.6cqw 0 0;
  font-size: 6.4cqw;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.open-case {
  align-self: flex-start;
  margin: 4.4cqw 0 0;
  padding: 1.4cqw 2.4cqw;
  border-radius: 1cqw;
  background: var(--amber-bg);
  color: var(--amber);
  font-size: 3.3cqw;
  font-weight: 800;
}

.src {
  margin: 4.4cqw 0 0;
  font-size: 3.3cqw;
  font-weight: 500;
  line-height: 1.38;
  color: var(--grey);
}

/* Slide 3+: A PROVA */

.proof-type {
  margin: 0;
  font-size: 3.1cqw;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

.proof-src {
  margin: 2cqw 0 0;
  font-size: 5cqw;
  font-weight: 800;
  line-height: 1.2;
}

.proof-lead {
  margin: 3.4cqw 0 0;
  font-size: 4.6cqw;
  font-weight: 600;
  line-height: 1.32;
}

.excerpt {
  margin: 4cqw 0 0;
  padding: 0.4cqw 0 0.4cqw 4cqw;
  border-left: 0.9cqw solid var(--ink);
  font-size: 4.9cqw;
  font-weight: 500;
  line-height: 1.36;
}

.excerpt p {
  margin: 0;
}

.note {
  margin: 4cqw 0 0;
  font-size: 4cqw;
  font-weight: 800;
  line-height: 1.3;
}

.figures {
  margin: 3.6cqw 0 0;
  padding: 0;
  list-style: none;
  font-size: 4.6cqw;
  font-weight: 600;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.figures b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 6cqw;
  letter-spacing: 0.01em;
  display: inline-block;
  min-width: 9cqw;
}

/* Last slide: FECHAMENTO */

.opinion {
  margin: 2cqw 0 0;
  font-size: 5.4cqw;
  font-weight: 600;
  line-height: 1.3;
}

.slogan {
  margin: 8cqw 0 0;
  font-family: var(--display);
  font-size: 13.4cqw;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.slogan em {
  font-style: normal;
  color: var(--red);
}

.slogan--quiet {
  font-size: 10.6cqw;
}

.close-link {
  align-self: flex-start;
  margin: 6cqw 0 0;
  font-size: 3.8cqw;
  font-weight: 700;
}

/* ---------- Controls under the frame (page chrome, never in the images) ---------- */

.lie-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 8px;
}

.dots-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--white);
  cursor: pointer;
}

.arrow svg {
  width: 18px;
  height: 18px;
}

.arrow[disabled] {
  opacity: 0.25;
  cursor: default;
}

.dots {
  display: flex;
  align-items: center;
}

.dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.dot::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #b9b9b9;
  transition: width 0.2s, background 0.2s;
}

.dot[aria-current="true"]::before {
  width: 18px;
  background: var(--ink);
}

.hint {
  margin: 0;
  min-height: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
  text-align: center;
}

.sharebar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.next-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--grey);
  text-decoration: none;
  padding: 2px 8px;
}

.next-link svg {
  width: 14px;
  height: 14px;
}

.stage-arrow {
  display: none;
}

.vnav {
  display: none;
}

/* ---------- End screen (the only screen that scrolls inside) ---------- */

.end {
  justify-content: flex-start;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  background: var(--white);
}

.end-inner {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 28px 20px 40px;
  text-align: center;
}

.end-seen {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--grey);
}

.end-slogan {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(40px, 13vw, 64px);
  font-weight: 400;
  line-height: 1.02;
  text-transform: uppercase;
}

.end-slogan em {
  font-style: normal;
  color: var(--red);
}

.end-cta {
  margin: 18px 0 14px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.end-links {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
  text-align: left;
  border-top: 1px solid var(--line);
}

.end-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  text-decoration: none;
}

.end-links a::after {
  content: "›";
  font-size: 22px;
  line-height: 1;
  color: var(--grey);
}

.disclaimers {
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--grey);
  text-align: left;
}

.disclaimers p {
  margin: 0 0 8px;
}

.disclaimers strong {
  color: var(--ink);
}

/* ---------- Bottom sheets ---------- */

.sheet {
  position: fixed;
  inset: auto 0 0 0;
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  max-height: 88dvh;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 16px 16px 0 0;
  background: var(--white);
  color: var(--ink);
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 -8px 40px rgb(17 17 17 / 0.2);
}

.sheet[open] {
  animation: sheet-up 220ms ease-out;
}

@keyframes sheet-up {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.sheet::backdrop {
  background: rgb(17 17 17 / 0.5);
}

.sheet:target {
  display: block;
  z-index: 50;
}

.sheet-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 8px 10px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.sheet-head h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}

.sheet-close {
  margin-left: auto;
  font-size: 22px;
  line-height: 1;
}

.sheet-body {
  padding: 16px 20px 32px;
  font-size: 16px;
  line-height: 1.55;
}

.sheet-body h3 {
  margin: 22px 0 6px;
  font-size: 16px;
}

.sheet-body p,
.sheet-body ul,
.sheet-body ol,
.sheet-body dl {
  margin: 0 0 12px;
}

.sheet-body ul,
.sheet-body ol {
  padding-left: 20px;
}

.sheet-body li {
  margin-bottom: 6px;
}

.sheet-body .muted {
  color: var(--grey);
  font-size: 14px;
}

.scale {
  display: grid;
  gap: 12px;
}

.scale div {
  display: grid;
  gap: 4px;
}

.scale dt {
  margin: 0;
}

.scale dd {
  margin: 0;
}

/* Index: "Todas as mentiras" */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}

.filter {
  min-height: 34px;
  padding: 0 12px;
  border: 1.5px solid var(--line);
  border-radius: 17px;
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.filter[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.sheet-body .index-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.index-list li {
  margin: 0;
}

.index-list a {
  display: grid;
  gap: 4px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.index-list a[aria-current="true"] {
  background: var(--paper);
}

.index-title {
  font-weight: 700;
  line-height: 1.3;
}

.index-date {
  font-size: 13px;
  color: var(--grey);
}

/* Images sheet */

.img-options {
  display: grid;
  gap: 8px;
}

.img-options .btn {
  justify-content: flex-start;
  white-space: normal;
  text-align: left;
}

.img-status {
  min-height: 22px;
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--grey);
}

.img-notice {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--amber-bg);
  color: var(--amber);
  font-weight: 700;
  font-size: 14px;
}

.img-grid {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.img-grid img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.img-grid a {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
}

/* Toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  transform: translate(-50%, 20px);
  padding: 10px 16px;
  border-radius: 20px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Desktop: same column, arrows beside the frame, index as a sidebar ---------- */

@media (min-width: 900px) {
  html.has-sidebar {
    --side: 300px;
  }

  :root {
    --fw: min(100vw - var(--side) - 180px, (100vh - var(--chrome)) * 0.8, 600px);
  }

  @supports (height: 100dvh) {
    :root {
      --fw: min(100vw - var(--side) - 180px, (100dvh - var(--chrome)) * 0.8, 600px);
    }
  }

  .dots-row .arrow {
    display: none;
  }

  .stage-arrow {
    display: inline-flex;
    position: absolute;
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
  }

  .stage-arrow--prev {
    left: calc(50% - var(--fw) / 2 - 68px);
  }

  .stage-arrow--next {
    right: calc(50% - var(--fw) / 2 - 68px);
  }

  .vnav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    right: 20px;
    top: 50%;
    z-index: 15;
    transform: translateY(-50%);
  }

  .sheet.is-sidebar {
    position: fixed;
    inset: var(--top) auto 0 0;
    width: 300px;
    max-width: none;
    max-height: none;
    height: auto;
    margin: 0;
    border-radius: 0;
    border-right: 1px solid var(--line);
    box-shadow: none;
    animation: none;
    z-index: 15;
  }

  .sheet.is-sidebar .sheet-close {
    display: none;
  }
}

/* ---------- "Ler em lista": same DOM, stacked, larger type ---------- */

html.is-list body {
  overflow: auto;
  height: auto;
}

html.is-list .feed {
  position: static;
  overflow: visible;
  scroll-snap-type: none;
  padding-left: var(--side);
}

html.is-list .screen {
  height: auto;
  min-height: 0;
  padding-top: calc(var(--top) + 28px);
  padding-bottom: 28px;
  scroll-snap-align: none;
  border-bottom: 1px solid var(--line);
}

html.is-list .cover {
  min-height: 80vh;
}

html.is-list .track {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  overflow: visible;
  scroll-snap-type: none;
}

html.is-list .slide {
  flex: none;
  width: 100%;
  padding: 0 12px;
}

html.is-list .track.peek .slide {
  animation: none;
}

html.is-list .frame {
  width: min(100%, 680px);
  aspect-ratio: auto;
  overflow: visible;
}

html.is-list .frame-body {
  overflow: visible;
  padding-top: 24px;
  padding-bottom: 24px;
}

html.is-list .frame-top { font-size: max(14px, 3.2cqw); }
html.is-list .logo { font-size: max(18px, 4.6cqw); }
html.is-list .frame .chip { font-size: max(13px, 2.9cqw); }
html.is-list .frame-foot { font-size: max(14px, 3cqw); }
html.is-list .claim { font-size: max(26px, 7.4cqw); }
html.is-list .headline { font-size: max(28px, 8.4cqw); }
html.is-list .kicker,
html.is-list .swipe-cue { font-size: max(15px, 3.6cqw); }
html.is-list .swipe-cue { display: none; }
html.is-list .slide--cover .stamp span { font-size: max(56px, 17cqw); }
html.is-list .stamp span { font-size: max(52px, 15cqw); }
html.is-list .stamp--sem-provas span,
html.is-list .stamp--distorcido span { font-size: max(36px, 10cqw); }
html.is-list .party { height: max(17px, 3.6cqw); }
html.is-list .watch { font-size: max(17px, 3.6cqw); }
html.is-list .who,
html.is-list .src,
html.is-list .bignum small { font-size: max(17px, 3.6cqw); }
html.is-list .label,
html.is-list .proof-type,
html.is-list .open-case { font-size: max(15px, 3.4cqw); }
html.is-list .truth-text { font-size: max(24px, 6.4cqw); }
html.is-list .proof-src { font-size: max(21px, 5cqw); }
html.is-list .proof-lead,
html.is-list .excerpt,
html.is-list .opinion,
html.is-list .figures,
html.is-list .note,
html.is-list .close-link { font-size: max(20px, 4.9cqw); }
html.is-list .slogan { font-size: max(40px, 13.4cqw); }
html.is-list .slogan--quiet { font-size: max(32px, 10.6cqw); }

html.is-list .dots-row,
html.is-list .hint,
html.is-list .next-link,
html.is-list .stage-arrow,
html.is-list .vnav {
  display: none;
}

html.is-list .end {
  overflow: visible;
}

/* ---------- Export: the renderer screenshots one bare frame at 360 px ---------- */

html.is-export .frame {
  width: 360px;
  border-radius: 0;
  box-shadow: none;
}

html.is-export .screen-only {
  display: none !important;
}

html.is-export *,
html.is-export *::before,
html.is-export *::after {
  animation: none !important;
  transition: none !important;
}

/* ---------- Motion preferences ---------- */

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