/* ==========================================================================
   AgeStrata / I Know Your Age — Tactile Stationery Stylesheet
   Rule A: ALL base desktop/component styles MUST appear BEFORE @media queries.
   ========================================================================== */

:root {
  --bg-cream: #eee7da;
  --bg-dark: #282624;
  --card-white: #ffffff;
  --ink: #22201e;
  --ink-muted: #5d574f;
  --ink-soft: #7e776d;
  --yellow: #ffd84d;
  --yellow-deep: #f4c328;
  --red-stamp: #d94336;
  --tape: rgba(232, 221, 187, 0.92);
  --border: #22201e;
  --radius-card: 20px;
  --font-display: 'Dela Gothic One', 'M PLUS Rounded 1c', system-ui, -apple-system, 'PingFang SC', 'Noto Sans JP', sans-serif;
  --font-ui: 'M PLUS Rounded 1c', system-ui, -apple-system, 'PingFang SC', 'Microsoft JhengHei', 'Apple SD Gothic Neo', sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background-color: var(--bg-cream);
  color: var(--ink);
  font-family: var(--font-ui);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  background-image: radial-gradient(rgba(34, 32, 30, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  transition: background-color 0.35s ease, color 0.35s ease;
}

body.is-reveal-dark {
  background-color: var(--bg-dark);
  background-image: none;
  color: #f8f5ef;
}

a {
  color: inherit;
}

/* Collapsible ad slots (Rule B) */
.ad-slot[data-active='false'] {
  display: none;
  height: 0;
  margin: 0;
  padding: 0;
}

.ad-slot {
  max-width: 100%;
  overflow-x: clip;
  margin: 18px auto;
  text-align: center;
}

/* Top Site Nav & Unofficial Ribbon */
.site-shell {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}

.game-stage {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

/* Floating Pill Header */
.pill-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--card-white);
  color: var(--ink);
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 7px 10px;
  box-shadow: 0 3px 0 var(--border);
  margin-bottom: 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--card-white);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.pill-btn:hover {
  background: #f8f4ec;
}

.header-title {
  font-weight: 900;
  font-size: 0.96rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--card-white);
  color: var(--ink);
  font-weight: 900;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0;
}

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

/* Highlighter stroke */
.marker-highlight {
  display: inline;
  background: linear-gradient(180deg, transparent 42%, var(--yellow) 42%, var(--yellow) 92%, transparent 92%);
  padding: 0 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Start Screen */
.stage-start {
  text-align: center;
  padding: 6px 6px 18px;
}

.challenge-pill {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #22201e;
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.88rem;
}

.hero-graphic {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.hero-strata-svg {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 0 rgba(34, 32, 30, 0.1));
}

.start-title {
  margin: 4px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.start-tagline {
  margin: 0 auto 6px;
  max-width: 480px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}

.start-rules {
  margin: 0 auto 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.mode-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.mode-chip {
  padding: 6px 14px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--card-white);
  color: var(--ink);
  font-family: inherit;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
}

.mode-chip.active {
  background: var(--ink);
  color: var(--yellow);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  min-height: 54px;
  padding: 12px 24px;
  border: 2.5px solid var(--border);
  border-radius: 16px;
  background: var(--yellow);
  color: var(--ink);
  font-family: inherit;
  font-weight: 900;
  font-size: 1.12rem;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--border);
  transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.12s ease;
}

.btn-primary:hover {
  background: var(--yellow-deep);
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--border);
}

.honesty-tip {
  margin: 14px auto 12px;
  max-width: 440px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.start-stats {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.just-for-fun {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* Question HUD & Card */
.hud-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.hud-row.hud-wobble {
  animation: hudShake 0.35s ease;
}

@keyframes hudShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.q-counter {
  font-weight: 900;
  font-size: 1.05rem;
  white-space: nowrap;
}

.conf-label {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--ink-muted);
  white-space: nowrap;
}

.conf-track {
  flex: 1;
  min-width: 60px;
  height: 12px;
  background: rgba(34, 32, 30, 0.08);
  border: 2px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.conf-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.32s ease;
}

.conf-fill.low { background: #5ba8a0; }
.conf-fill.mid { background: #f29f3d; }
.conf-fill.high { background: #e05245; }

.conf-pct {
  font-weight: 900;
  font-size: 0.96rem;
  min-width: 42px;
  text-align: right;
}

.conf-pct.high { color: #d94336; }

/* Taped Card */
.taped-card {
  position: relative;
  margin-top: 8px;
  background: var(--card-white);
  color: var(--ink);
  border: 2.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 22px 24px;
  box-shadow: 0 6px 0 rgba(34, 32, 30, 0.12);
}

.masking-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 92px;
  height: 22px;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--tape);
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.question-card {
  text-align: center;
  margin-bottom: 16px;
}

.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 0.84rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.cat-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--ink);
  border: 2px solid var(--border);
  background: #dcebfa;
}

.cat-tech .cat-dot { background: #dcf5e7; }
.cat-media .cat-dot { background: #fde7df; }
.cat-fads .cat-dot { background: #fef3c7; }
.cat-slang .cat-dot { background: #ede5fb; }
.cat-milestone .cat-dot { background: #ffe4c4; }
.cat-quiz .cat-dot { background: #ffd84d; }

.q-item-title {
  margin: 0 0 8px;
  font-size: clamp(1.32rem, 3.6vw, 1.78rem);
  font-weight: 900;
  line-height: 1.28;
  overflow-wrap: break-word;
}

.q-item-title.q-prompt-question {
  font-size: clamp(1.12rem, 3.2vw, 1.4rem);
}

.q-item-sub {
  margin: 0 0 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.q-prompt-wrap {
  margin-top: 6px;
}

.q-prompt {
  font-weight: 900;
  font-size: 1.05rem;
}

/* Choices Stack */
.choices-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.choice-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: var(--card-white);
  color: var(--ink);
  font-family: inherit;
  font-weight: 800;
  font-size: 0.98rem;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--border);
  transition: transform 0.08s ease, background-color 0.1s ease;
}

.choice-btn:hover {
  background: #fff9df;
}

.choice-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--border);
}

.choice-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dots-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.dots-group .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.8px solid var(--ink);
  background: transparent;
}

.dots-group .dot.filled {
  background: var(--ink);
}

.choice-label {
  overflow-wrap: break-word;
}

.choice-key {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink-soft);
  flex-shrink: 0;
}

.question-foot-tip {
  text-align: center;
  margin: 14px 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
}

/* Reveal & Calibrate Dark Stage */
.stage-reveal {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
}

.reveal-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 12px;
}

.reveal-lead {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #b8b0a4;
}

.reveal-sub {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 900;
  color: #f8f5ef;
}

.reveal-age-wrap {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.45s ease, transform 0.45s ease;
  margin-bottom: 24px;
}

.reveal-age-wrap.visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-age {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 4.2rem);
  line-height: 1.1;
  color: #f8f5ef;
}

.reveal-underline {
  height: 6px;
  margin: 8px auto 0;
  width: 85%;
  border-radius: 999px;
  background: var(--red-stamp);
}

.reveal-ask {
  margin: 0 0 16px;
  font-size: 1.15rem;
  font-weight: 800;
}

.reveal-btn-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  width: 100%;
  max-width: 380px;
}

.reveal-yes {
  flex: 1;
}

.btn-dark-outline {
  flex: 1;
  min-height: 54px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 2.5px solid #f8f5ef;
  background: transparent;
  color: #f8f5ef;
  font-family: inherit;
  font-weight: 900;
  font-size: 1.05rem;
  cursor: pointer;
}

.btn-dark-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.reveal-skip-btn {
  margin-top: 24px;
  background: none;
  border: none;
  color: #a39b90;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: underline;
  cursor: pointer;
}

.calibrate-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 24px;
  flex-wrap: wrap;
}

.cal-step {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 2px solid #f8f5ef;
  background: rgba(255, 255, 255, 0.08);
  color: #f8f5ef;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.cal-input {
  width: 88px;
  height: 54px;
  border-radius: 14px;
  border: 2.5px solid var(--yellow);
  background: #1a1816;
  color: #f8f5ef;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

/* Verdict Card */
.verdict-card {
  text-align: center;
}

.verdict-kicker {
  margin: 0 0 4px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink-muted);
}

.verdict-you {
  margin: 0 0 2px;
  font-size: 1.05rem;
  font-weight: 800;
}

.verdict-age {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 7vw, 3rem);
  line-height: 1.15;
  margin-bottom: 10px;
}

.stamp {
  display: inline-block;
  margin: 4px auto 10px;
  padding: 6px 22px;
  border: 3.5px solid var(--red-stamp);
  border-radius: 10px;
  color: var(--red-stamp);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  transform: rotate(-3deg);
}

.stamp.close {
  border-color: #d97706;
  color: #d97706;
}

.stamp.miss {
  border-color: #6c665e;
  color: #4b4742;
}

.verdict-sub {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 0.94rem;
  color: var(--ink-muted);
}

.dashed-rule {
  border: none;
  border-top: 2px dashed #d7d0c4;
  margin: 20px 0;
}

.strata-block,
.clincher-block {
  text-align: left;
}

.section-heading {
  margin: 0 0 12px;
  font-size: 1.12rem;
  font-weight: 900;
}

.strata-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.strata-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
  padding: 5px 10px;
  border-radius: 10px;
  overflow: hidden;
}

.strata-row.not-dug {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(34, 32, 30, 0.045) 8px,
    rgba(34, 32, 30, 0.045) 14px
  );
}

.strata-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 10px;
  z-index: 0;
}

.strata-decade {
  position: relative;
  z-index: 1;
  font-weight: 900;
  font-size: 0.84rem;
  color: var(--ink);
  white-space: nowrap;
}

.strata-empty {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.strata-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
}

.strata-tag {
  background: #ffffff;
  border: 1.5px solid rgba(34, 32, 30, 0.16);
  border-radius: 7px;
  padding: 2px 7px;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--ink);
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.richest-line {
  margin: 10px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.clincher-main {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
}

.clincher-arrow {
  color: var(--red-stamp);
  font-weight: 900;
}

.clincher-sub {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.verdict-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn-share {
  max-width: 100%;
}

.verdict-secondary-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.btn-outline {
  flex: 1;
  min-height: 44px;
  padding: 9px 14px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--card-white);
  color: var(--ink);
  font-family: inherit;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
}

.btn-outline:hover {
  background: #faf6ed;
}

.text-link-btn {
  background: none;
  border: none;
  color: var(--ink-muted);
  font-family: inherit;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px 8px;
}

.answers-list {
  width: 100%;
  margin-top: 8px;
  text-align: left;
  border-top: 1.5px solid #ebe4d8;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.answer-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  padding: 6px 8px;
  background: #faf6ee;
  border-radius: 8px;
}

.answer-q {
  font-weight: 700;
  color: var(--ink);
}

.answer-r {
  font-weight: 800;
  color: #b45309;
  flex-shrink: 0;
}

.cross-modes {
  margin-top: 20px;
  text-align: center;
}

.cross-title {
  margin: 0 0 10px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink-muted);
}

.cross-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cross-card {
  display: block;
  padding: 12px 14px;
  background: var(--card-white);
  border: 2px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 3px 0 var(--border);
}

.cross-card:hover {
  background: var(--yellow);
}

/* Modals & Toasts */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(34, 32, 30, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--card-white);
  color: var(--ink);
  border: 2.5px solid var(--border);
  border-radius: 22px;
  padding: 24px 20px;
  text-align: center;
}

.modal-x {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--ink-muted);
  cursor: pointer;
}

.modal-title {
  margin: 0 0 10px;
  font-size: 1.24rem;
  font-weight: 900;
}

.modal-sub {
  margin: 0 0 16px;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.howto-list {
  text-align: left;
  padding-left: 20px;
  margin: 0 0 18px;
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-cta {
  max-width: 100%;
}

.lang-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--card-white);
  color: var(--ink);
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
}

.lang-option.active {
  background: var(--yellow);
}

.lang-code {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.share-preview-wrap {
  margin: 10px 0 14px;
  border: 2px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-cream);
}

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

.btn-x-post {
  width: 100%;
  max-width: 220px;
  min-height: 46px;
  border: none;
  border-radius: 12px;
  background: #171615;
  color: #ffffff;
  font-family: inherit;
  font-weight: 900;
  font-size: 0.96rem;
  cursor: pointer;
}

.share-note {
  margin: 8px 0 12px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.share-btn-grid {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.toast-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  background: #166534;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Below-the-fold SEO Content & Articles */
.seo-section {
  margin-top: 40px;
  background: var(--card-white);
  color: var(--ink);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 26px 24px;
}

.seo-section h1,
.seo-section h2,
.seo-section h3 {
  margin-top: 0;
  line-height: 1.3;
}

.seo-section h2 {
  font-size: 1.32rem;
  margin-top: 24px;
}

.seo-section h2:first-child {
  margin-top: 0;
}

.seo-nav-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 2px dashed #e2dacd;
}

.seo-brand {
  font-weight: 900;
  font-size: 1.05rem;
  text-decoration: none;
}

.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-weight: 800;
  font-size: 0.88rem;
}

.seo-links a {
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1.5px solid transparent;
}

.seo-links a:hover {
  border-color: var(--border);
  background: var(--yellow);
}

.edition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.edition-card {
  display: block;
  padding: 10px 12px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: #faf6ee;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
}

.edition-card:hover {
  background: var(--yellow);
}

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

.faq-item {
  border: 1.5px solid #e4dccf;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fcfaf6;
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

/* Site Footer */
.site-footer {
  margin-top: 28px;
  padding: 18px 16px 10px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

body.is-reveal-dark .site-footer {
  color: #a9a094;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
  font-weight: 800;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-notice {
  margin: 0 auto;
  max-width: 600px;
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ==========================================================================
   Responsive Media Queries (Strictly AFTER all base rules)
   ========================================================================== */

@media (max-width: 600px) {
  .site-shell {
    padding: 10px 12px 36px;
  }

  .pill-header {
    padding: 6px 8px;
    margin-bottom: 18px;
  }

  .header-title {
    font-size: 0.88rem;
  }

  .pill-btn {
    padding: 5px 10px;
    font-size: 0.78rem;
  }

  .icon-btn {
    width: 31px;
    height: 31px;
  }

  .taped-card {
    padding: 24px 14px 20px;
  }

  .verdict-secondary-row,
  .cross-links,
  .edition-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .strata-tag {
    max-width: 120px;
    font-size: 0.7rem;
  }

  .seo-section {
    padding: 18px 16px;
  }
}
