:root {
    --bg: #F4F1EA;
    --dark: #141414;
    --text: #141414;
    --text-inv: #F4F1EA;
    --muted: #6B6660;
    --muted-inv: #9B968A;
    --accent: #E8532E;
    --accent2: #F2C230;
    --pine: #2F6F62;
    --brick: #B23A2E;
    --plum: #6B5B95;
    --line: #141414;
    --line-soft: #D8D3C6;
  }

  * { box-sizing: border-box; }

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

  html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Public Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
  }

  a { color: inherit; }

  .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* ---------- Header ---------- */

  header.site-header {
    background: var(--dark);
    padding: 14px 0;
  }

  header.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
  }

  .brand .mark {
    display: block;
    border-radius: 6px;
  }

  .brand .word {
    font-family: 'Archivo Black', sans-serif;
    font-size: 13px;
    color: var(--text-inv);
    line-height: 1.15;
  }

  nav.main-nav {
    display: flex;
    gap: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted-inv);
  }

  nav.main-nav a {
    text-decoration: none;
    color: inherit;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
  }

  nav.main-nav a.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
  }

  nav.main-nav a:hover { color: var(--text-inv); }

  .menu-toggle { display: none; }

  @media (max-width: 800px) {
    header.site-header { position: relative; }

    nav.main-nav {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--dark);
      flex-direction: column;
      gap: 0;
      padding: 4px 20px 16px;
      z-index: 50;
      border-top: 1px solid rgba(255,255,255,0.1);
    }

    nav.main-nav.open { display: flex; }

    nav.main-nav a {
      padding: 12px 0;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    nav.main-nav a:last-child { border-bottom: none; }

    .menu-toggle { display: flex; }
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .icon-btn {
    background: none;
    border: none;
    color: var(--text-inv);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
  }

  .signin-pill {
    background: none;
    color: var(--text-inv);
    font-family: 'Public Sans', sans-serif;
    font-weight: 500;
    font-size: 12px;
    padding: 7px 14px;
    border: 1px solid var(--muted-inv);
    cursor: pointer;
    opacity: 0.85;
  }
  .signin-pill:hover {
    opacity: 1;
    border-color: var(--text-inv);
  }

  .header-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-inv);
    cursor: default;
  }

  .header-signed-in {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .header-signed-in button.link {
    background: none;
    border: none;
    color: var(--muted-inv);
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    font-family: 'Public Sans', sans-serif;
  }

  .verdict-accuracy-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-inv);
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 4px 10px;
    white-space: nowrap;
    cursor: default;
  }

  .streak-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--dark);
    background: var(--accent2);
    border-radius: 999px;
    padding: 4px 10px;
    white-space: nowrap;
    cursor: default;
  }

  .search-panel {
    background: var(--dark);
    padding: 0 0 14px;
    display: none;
  }

  .search-panel.open { display: block; }

  .search-panel input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--muted-inv);
    color: var(--text-inv);
    font-family: 'Public Sans', sans-serif;
    font-size: 15px;
    padding: 8px 2px;
  }

  .search-panel input::placeholder { color: var(--muted-inv); }

  .search-panel input:focus { outline: none; border-bottom-color: var(--accent); }

  .signin-panel {
    background: var(--dark);
    padding: 0 0 16px;
    display: none;
  }

  .signin-panel.open { display: block; }

  .signin-panel .auth-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
  }

  .signin-panel input[type="email"] {
    background: transparent;
    border: 2px solid var(--muted-inv);
    color: var(--text-inv);
    padding: 9px 12px;
    font-size: 0.9rem;
    font-family: 'Public Sans', sans-serif;
    min-width: 220px;
  }

  .signin-panel button.submit {
    background: var(--accent);
    color: #fff;
    border: none;
    font-weight: 700;
    padding: 10px 16px;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: 'Public Sans', sans-serif;
  }

  .signin-panel .auth-note {
    font-size: 0.82rem;
    color: var(--muted-inv);
    margin-top: 8px;
  }

  /* ---------- Sub-header / ticker ---------- */

  .sub-header {
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
    padding: 10px 0;
  }

  .sub-header .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text);
  }

  .rotating-banner {
    background: var(--accent2);
    color: var(--dark);
    font-weight: 700;
    font-size: 11px;
    padding: 7px 14px;
    max-width: 360px;
    text-align: right;
    transition: opacity 0.4s ease;
  }

  /* ---------- Main / hero + grid ---------- */

  main { padding: 22px 0 80px; }

  .hero-row {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }

  .hero-side-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Homepage/Always Open hero: the live poll sits as one bordered block,
     matching the visual weight of the story card beside it, rather than
     floating as loose unbordered buttons. */
  .hero-poll-block {
    border: 2px solid var(--line);
    background: var(--bg);
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-poll-block .poll { margin-top: 0; }
  .hero-poll-block .poll-heading {
    font-weight: 700;
    margin: 0 0 12px;
  }

  /* The hero story and its own poll share one outer frame -- they're
     directly connected (this poll IS for this story) -- while the extra
     story card alongside stays a separate, unconnected box. */
  .hero-poll-linked {
    display: grid;
    grid-template-columns: 3.4fr 1fr;
    gap: 16px;
    border: 2px solid var(--dark);
    padding: 8px;
  }
  .hero-poll-linked .hero-poll-block { border: none; padding: 18px 8px; }

  .hero-row--linked {
    grid-template-columns: 4.4fr 1fr;
  }

  /* Always Open hero mirrors the main homepage hero: reading left to
     right it's story-card, then poll+banner-photo connected together
     on the right, instead of hero+poll on the left with the card on
     the right. */
  .always-open-hero.hero-row--linked {
    grid-template-columns: 1fr 4.4fr;
  }
  .always-open-hero .hero-poll-linked {
    grid-template-columns: 1fr 3.4fr;
  }

  @media (max-width: 900px) {
    .hero-row,
    .hero-row--linked,
    .always-open-hero.hero-row--linked { grid-template-columns: 1fr; }
    .hero-side-grid { grid-template-columns: 1fr 1fr; }
    .hero-poll-linked,
    .always-open-hero .hero-poll-linked { grid-template-columns: 1fr; }
  }

  @media (max-width: 560px) {
    .hero-side-grid { grid-template-columns: 1fr; }
  }

  a.card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    color: var(--text-inv);
    background: var(--dark);
    border: none;
    position: relative;
    min-height: 150px;
    overflow: hidden;
  }

  a.card.hero { min-height: 340px; }

  a.card img.card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  a.card .scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.15) 60%, rgba(0,0,0,0) 100%);
    z-index: 1;
  }

  a.card .card-body {
    position: relative;
    z-index: 2;
    padding: 16px;
  }

  a.card .category {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 6px;
  }

  a.card h3 {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.2;
    margin: 0;
    color: #fff;
  }

  a.card.hero h3 { font-size: 26px; }

  a.card .card-stats {
    margin-top: 8px;
    display: flex;
    gap: 12px;
    font-size: 10px;
    color: var(--muted-inv);
  }

  a.card:hover .scrim { background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,0) 100%); }

  .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0 0 24px;
  }

  @media (max-width: 900px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 560px) {
    .grid { grid-template-columns: 1fr; }
  }

  .card-skeleton {
    min-height: 150px;
    background: linear-gradient(100deg, var(--dark) 40%, #333 50%, var(--dark) 60%);
    background-size: 250% 100%;
    animation: skeleton-shimmer 1.4s ease-in-out infinite;
  }

  .card-skeleton.hero { min-height: 340px; }

  @media (prefers-reduced-motion: reduce) {
    .card-skeleton { animation: none; }
  }

  @keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -50% 0; }
  }

  .how-it-works {
    background: var(--dark);
    margin: 8px 0 32px;
    padding: 36px 28px;
  }

  .how-it-works h2 {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-inv);
    margin: 0 0 28px;
    text-align: center;
  }

  .hiw-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
  }

  .hiw-step {
    flex: 1;
    max-width: 220px;
    text-align: center;
  }

  .hiw-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--accent2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
  }

  .hiw-step h3 {
    font-family: 'Public Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-inv);
    margin: 0 0 8px;
  }

  .hiw-step p {
    font-family: 'Public Sans', sans-serif;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--muted-inv);
    margin: 0;
  }

  .hiw-arrow {
    color: var(--accent);
    font-size: 1.4rem;
    margin-top: 15px;
    flex-shrink: 0;
  }

  @media (max-width: 700px) {
    .hiw-steps { flex-direction: column; align-items: center; gap: 24px; }
    .hiw-arrow { display: none; }
    .hiw-step { max-width: 280px; }
  }

  .pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 4px 0 40px;
    flex-wrap: wrap;
  }

  .pagination a.page-btn,
  .pagination span.page-btn,
  .pagination button.page-btn {
    border: 2px solid var(--line);
    padding: 8px 14px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text);
    font-family: 'Public Sans', sans-serif;
    font-size: 0.85rem;
    background: none;
    cursor: pointer;
  }

  .pagination a.page-btn:hover,
  .pagination button.page-btn:hover { background: var(--dark); color: var(--text-inv); border-color: var(--dark); }
  .pagination .page-btn.active { background: var(--dark); color: var(--text-inv); border-color: var(--dark); }
  .pagination .page-btn.disabled { opacity: 0.3; pointer-events: none; }

  .loading, .empty {
    padding: 60px 0;
    color: var(--muted);
    font-size: 1.05rem;
  }

  .search-results-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.95rem;
  }

  .search-results-heading a {
    text-decoration: underline;
    color: var(--muted);
    font-size: 0.85rem;
  }

  .beta-banner {
    background: var(--accent2);
    color: var(--dark);
  }

  .beta-banner .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 20px;
    flex-wrap: wrap;
  }

  .beta-banner .tag { font-weight: 700; }
  .beta-banner .msg { font-size: 0.85rem; font-weight: 500; }

  /* ---------- Topic detail (standalone page + modal share content) ---------- */

  .topic {
    padding: 32px 0;
    max-width: 680px;
  }

  .topic .category {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
  }

  .topic h2, .topic .topic-h1 {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    line-height: 1.2;
    margin: 0 0 16px;
    color: var(--text);
    max-width: 46ch;
  }

  .topic .context {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--muted);
    margin: 0 0 24px;
    max-width: 58ch;
  }

  .topic-image {
    display: block;
    width: 100%;
    max-width: 680px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin: 0 0 22px;
  }

  .analysis {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line-soft);
    max-width: 680px;
  }

  .analysis h3 {
    font-family: 'Public Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin: 20px 0 8px;
  }

  .analysis h3:first-child { margin-top: 0; }

  .analysis p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
  }

  .sources {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
    max-width: 680px;
  }

  .sources h3 {
    font-family: 'Public Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin: 0 0 8px;
  }

  .sources ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .sources a {
    font-size: 0.9rem;
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .sources a:hover { color: var(--muted); }

  .share-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
    max-width: 680px;
  }

  .share-row .label { font-size: 0.82rem; font-weight: 600; color: var(--muted); }

  .share-row button, .share-row a {
    background: none;
    border: 2px solid var(--line);
    color: var(--text);
    font-family: 'Public Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 12px;
    cursor: pointer;
    text-decoration: none;
  }

  .share-row button:hover, .share-row a:hover { background: var(--dark); color: var(--text-inv); border-color: var(--dark); }

  .poll { margin-top: 6px; }

  .poll-options { display: flex; flex-direction: column; gap: 10px; }

  button.option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    background: var(--bg);
    border: 2px solid var(--line);
    color: var(--text);
    font-family: 'Public Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 13px 16px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }

  button.option:hover { background: var(--dark); color: var(--text-inv); }
  button.option:focus-visible { outline: 3px solid var(--accent2); outline-offset: 2px; }
  button.option .opt-icon { flex-shrink: 0; display: flex; }

  .results { display: flex; flex-direction: column; gap: 12px; }

  .result-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 6px;
  }

  .result-track { height: 12px; background: var(--line-soft); width: 100%; overflow: hidden; }
  .result-fill { height: 100%; width: 0%; transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
  .result-fill.c0 { background: var(--accent); }
  .result-fill.c1 { background: var(--pine); }
  .result-fill.c2 { background: var(--plum); }

  .vote-note { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }
  .your-pick { font-weight: 800; }

  @media (prefers-reduced-motion: reduce) { .result-fill { transition: none; } }

  .back-link {
    display: inline-block;
    margin: 24px 0 4px;
    font-size: 0.9rem;
    color: var(--muted);
    text-decoration: underline;
  }

  .draft-preview-notice {
    background: var(--accent2);
    color: var(--dark);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 14px;
    margin: 16px 0 0;
    display: inline-block;
  }

  .detail-topic { padding-top: 6px; }

  .topic-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 4px 0 0;
    max-width: 680px;
  }

  .topic-nav a {
    flex: 1;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    border: 2px solid var(--line);
    padding: 12px 16px;
  }

  .topic-nav a:hover { background: var(--dark); color: var(--text-inv); border-color: var(--dark); }
  .topic-nav a.next { text-align: right; }
  .topic-nav .spacer { flex: 1; }

  /* ---------- Modal pop-out ---------- */

  .modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20,20,20,0.72);
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 40px 16px;
  }

  .modal-box {
    background: var(--bg);
    max-width: 720px;
    width: 100%;
    padding: 32px 28px 40px;
    position: relative;
  }

  .modal-close {
    /* Fixed to the viewport, not the box — the backdrop is the scroll
       container, so a button positioned relative to the box scrolls out
       of reach as soon as you scroll down inside a long modal (very easy
       to hit on a single-column mobile layout). Pinning it to the screen
       keeps it reachable no matter how far you've scrolled. */
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 1001;
    background: var(--dark);
    color: var(--text-inv);
    border: none;
    width: 36px;
    height: 36px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  }

  .modal-box .topic { padding: 0; max-width: none; }
  .modal-box .topic-image { max-width: none; }
  .modal-box .share-row, .modal-box .topic-nav { max-width: none; }

  /* ---------- Comments ---------- */

  .comments { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-soft); }

  .comments h3 {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0 0 16px;
    color: var(--text);
  }

  .comment-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
  .comment { display: flex; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
  .comment:last-child { border-bottom: none; padding-bottom: 0; }

  .comment-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
  }

  .comment-main { flex: 1; min-width: 0; }

  .comment .who {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .comment.is-flagged .body { opacity: 0.5; font-style: italic; }

  .comment .flagged-tag {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--brick);
    border: 1px solid var(--brick);
    padding: 1px 6px;
  }

  .comment .mod-btn {
    background: none; border: none; color: var(--muted);
    text-decoration: underline; font-size: 0.75rem; cursor: pointer;
    padding: 0; font-family: 'Public Sans', sans-serif; margin-left: auto;
  }

  .comment .body { font-size: 0.92rem; line-height: 1.5; color: var(--text); }

  .no-comments { font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; }

  .comment-form textarea {
    width: 100%;
    background: var(--bg);
    border: 2px solid var(--line);
    color: var(--text);
    padding: 12px;
    font-size: 0.92rem;
    font-family: 'Public Sans', sans-serif;
    resize: vertical;
    min-height: 66px;
  }

  .comment-form textarea:focus-visible { outline: 3px solid var(--accent2); outline-offset: 2px; }
  .comment-form .row { display: flex; justify-content: flex-end; margin-top: 10px; }

  .comment-form button.submit {
    background: var(--dark); color: var(--text-inv); border: none;
    font-weight: 700; padding: 10px 18px; font-size: 0.88rem;
    cursor: pointer; font-family: 'Public Sans', sans-serif;
  }

  .comment-signin-prompt { font-size: 0.9rem; color: var(--muted); }
  .comment-signin-prompt button.link {
    background: none; border: none; color: var(--accent);
    text-decoration: underline; font-size: 0.9rem; cursor: pointer;
    padding: 0; font-family: 'Public Sans', sans-serif; font-weight: 700;
  }

  /* ---------- Comment reactions ---------- */

  .comment-reactions { display: flex; gap: 8px; margin-top: 8px; }

  .react-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--bg);
    border: 2px solid var(--line-soft);
    color: var(--text);
    font-family: 'Public Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    cursor: pointer;
  }

  .react-btn:hover { border-color: var(--line); }
  .react-btn.active { border-color: var(--accent); background: rgba(232, 83, 46, 0.08); }
  .react-btn span { color: var(--muted); }
  .react-btn.active span { color: var(--text); }

  /* ---------- Best arguments ---------- */

  .best-args { margin-bottom: 24px; }

  .best-args h4 {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 0.92rem;
    margin: 0 0 12px;
    color: var(--text);
  }

  .best-args-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  @media (max-width: 640px) { .best-args-grid { grid-template-columns: 1fr; } }

  .best-arg-card { border: 2px solid var(--line-soft); padding: 14px 16px; background: var(--bg); }

  .best-arg-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--accent);
    margin-bottom: 6px;
  }

  .best-arg-body { font-size: 0.88rem; line-height: 1.5; color: var(--text); margin-bottom: 10px; }
  .best-arg-score { font-size: 0.78rem; color: var(--muted); }

  /* ---------- Guess the verdict ---------- */

  .guess-step { margin-top: 6px; }

  .guess-prompt {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px;
  }

  .guess-signin-note {
    font-size: 0.82rem;
    color: var(--muted);
    margin: -6px 0 12px;
  }

  button.option.selected {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
  }

  .guess-skip {
    display: block;
    background: none;
    border: none;
    color: var(--muted);
    text-decoration: underline;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 10px 0 0;
    font-family: 'Public Sans', sans-serif;
  }

  .your-guess-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--plum);
    border: 1px solid var(--plum);
    padding: 1px 6px;
    margin-left: 6px;
    vertical-align: middle;
  }

  .guess-verdict-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--muted);
    padding-top: 10px;
    border-top: 1px solid var(--line-soft);
  }

  .guess-verdict-note.correct { color: var(--pine); font-weight: 700; }

  .vote-share-row { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }

  .vote-share-btn {
    background: var(--dark);
    color: var(--text-inv);
    border: none;
    font-family: 'Public Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 20px;
    cursor: pointer;
  }

  .vote-share-btn:hover { background: var(--accent); }
  .vote-share-btn:disabled { opacity: 0.6; cursor: default; }

  .share-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    padding: 24px;
  }

  .share-modal {
    position: relative;
    background: var(--dark);
    padding: 20px;
    max-width: 420px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .share-modal img { width: 100%; height: auto; display: block; }

  .share-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.12);
    color: var(--text-inv);
    border: none;
    width: 32px;
    height: 32px;
    font-size: 16px;
    cursor: pointer;
  }

  .share-modal-actions { display: flex; gap: 10px; width: 100%; }

  .share-modal-actions button {
    flex: 1;
    background: var(--accent);
    color: var(--text-inv);
    border: none;
    font-family: 'Public Sans', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 14px;
    cursor: pointer;
  }

  .share-modal-actions button:hover { background: var(--accent2); color: var(--dark); }

  .share-modal-hint { color: var(--muted-inv); font-size: 0.75rem; text-align: center; margin: 0; }

  @media (max-width: 480px) {
    .share-modal-actions { flex-direction: column; }
  }

  /* ---------- Admin ---------- */

  .admin-page h2 { font-family: 'Fraunces', serif; font-size: 1.5rem; margin: 8px 0 22px; }
  .admin-denied { padding: 40px 0; color: var(--muted); }

  .admin-form { display: flex; flex-direction: column; gap: 16px; max-width: 620px; margin-bottom: 20px; }

  .admin-form label { font-size: 0.85rem; font-weight: 700; color: var(--text); display: block; margin-bottom: 6px; }

  .admin-form input[type="text"], .admin-form input[type="url"], .admin-form input[type="date"],
  .admin-form select, .admin-form textarea {
    width: 100%; background: #fff; border: 2px solid var(--line);
    color: var(--text); padding: 10px 12px; font-size: 0.95rem; font-family: 'Public Sans', sans-serif;
  }

  .admin-form textarea { min-height: 70px; resize: vertical; }

  .admin-form input:focus-visible, .admin-form select:focus-visible, .admin-form textarea:focus-visible {
    outline: 3px solid var(--accent2); outline-offset: 2px;
  }

  .admin-form .options-row { display: flex; gap: 10px; }
  .admin-form .checkbox-row { display: flex; align-items: center; gap: 8px; }
  .admin-form .checkbox-row label { margin: 0; }

  .admin-section-divider { border-top: 1px solid var(--line-soft); margin: 4px 0 -4px; padding-top: 20px; }
  .admin-section-divider h3 {
    font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 700; margin: 0 0 4px;
  }
  .admin-section-divider .admin-hint { font-size: 0.82rem; color: var(--muted); margin: 0; }

  .admin-form .source-row { display: flex; gap: 10px; }
  .admin-form .source-row input[type="text"] { flex: 1 1 40%; }
  .admin-form .source-row input[type="url"] { flex: 1 1 60%; }
  @media (max-width: 560px) {
    .admin-form .source-row { flex-direction: column; }
  }

  .admin-submit {
    background: var(--accent); color: #fff; border: none; font-weight: 700;
    padding: 12px 20px; font-size: 0.95rem; cursor: pointer;
    font-family: 'Public Sans', sans-serif; align-self: flex-start;
  }

  .admin-status { font-size: 0.9rem; margin-top: -6px; }
  .admin-status.ok { color: var(--pine); }
  .admin-status.err { color: var(--brick); }

  .admin-list { margin-top: 40px; border-top: 1px solid var(--line-soft); padding-top: 20px; overflow-x: auto; }
  .admin-list table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.88rem; }
  .admin-list th, .admin-list td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-soft); }
  .admin-list th { color: var(--muted); font-weight: 700; }

  .status-badge { font-size: 0.72rem; font-weight: 700; padding: 1px 7px; }
  .status-badge.published { color: var(--pine); border: 1px solid var(--pine); }
  .status-badge.draft { color: var(--accent); border: 1px solid var(--accent); }

  /* ---------- Footer ---------- */

  footer { background: var(--dark); padding: 34px 0; }

  .footer-top {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px; margin-bottom: 16px;
  }

  .footer-wordmark {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.1rem;
    color: var(--text-inv);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .footer-wordmark img { border-radius: 4px; }

  .socials { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 0; }

  .socials a {
    text-decoration: none; font-size: 0.85rem; font-weight: 700; color: var(--muted-inv);
    border-bottom: 2px solid transparent; padding-bottom: 2px; transition: color 0.15s ease, border-color 0.15s ease;
  }

  .socials a:hover { color: var(--text-inv); border-color: var(--accent); }

  .footer-bottom {
    font-size: 0.85rem;
    color: var(--muted-inv);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-legal-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
  }

  .footer-copyright {
    font-size: 0.75rem;
    opacity: 0.75;
  }

  .legal-links { display: flex; flex-wrap: wrap; gap: 10px 16px; }

  .legal-links a {
    color: var(--muted-inv);
    text-decoration: underline;
    font-size: 0.85rem;
  }

  .legal-links a:hover { color: var(--text-inv); }

  .legal-page {
    max-width: 680px;
    padding: 8px 0 60px;
  }

  .legal-page h1 {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.9rem;
    margin: 0 0 6px;
  }

  .legal-updated {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0 0 28px;
  }

  .legal-page h3 {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.15rem;
    margin: 28px 0 10px;
  }

  .legal-page p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
    margin: 0 0 4px;
  }

  .legal-page a { color: var(--accent); text-decoration: underline; }
