/* ============================================================================
   RESEARCH WRAPPED — SCIENTIFIC MAGAZINE EDITORIAL DESIGN SYSTEM (V5)
   Inspired by Quanta Magazine × The New Yorker × Nature Special Issue × The Pudding
   ============================================================================ */

:root {
  --paper-cream: #f6f2e8;
  --paper-bright: #fbfaf5;
  --paper-buff: #f2e9d8;
  --paper-linen: #faf6ee;
  --desk-bg: #171614;
  --desk-panel: #22201d;
  --ink: #141413;
  --ink-soft: #43413d;
  --ink-muted: #6c6860;
  --rule: rgba(20, 20, 19, 0.16);
  --rule-strong: rgba(20, 20, 19, 0.78);
  --vermilion: #d9381e;
  --vermilion-dark: #b32812;
  --emerald-deep: #0b3a2c;
  --emerald-bright: #2ea87f;
  --oxblood: #5e1324;
  --brass: #a97822;
  --prussian: #0d213a;
  --prussian-grid: rgba(160, 202, 240, 0.11);
  --swiss-black: #0e0f12;
  --swiss-acid: #d9ff40;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-editorial: 'Newsreader', Georgia, serif;
  --font-grotesk: 'Space Grotesk', system-ui, sans-serif;
  --font-ui: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--paper-cream);
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[hidden] {
  display: none !important;
}

.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;
}

button,
input,
select {
  font-family: inherit;
}

/* ============================================================================
   SHARED EDITORIAL BUTTONS & TYPOGRAPHY
   ============================================================================ */
.editorial-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: var(--font-grotesk);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 3px;
  cursor: pointer;
  border: 1.5px solid var(--ink);
  transition: transform 0.14s ease, background 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
  white-space: nowrap;
}

.editorial-btn:hover {
  transform: translateY(-1px);
}

.editorial-btn:active {
  transform: translateY(0);
}

.editorial-btn-vermilion {
  background: var(--vermilion);
  border-color: var(--vermilion);
  color: #fffcf7;
}

.editorial-btn-vermilion:hover {
  background: var(--vermilion-dark);
  border-color: var(--vermilion-dark);
  box-shadow: 0 6px 18px rgba(217, 56, 30, 0.25);
}

.editorial-btn-ink {
  background: var(--ink);
  color: var(--paper-bright);
  border-color: var(--ink);
}

.editorial-btn-ink:hover {
  background: #2b2926;
}

.editorial-btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(20, 20, 19, 0.35);
}

.editorial-btn-outline:hover {
  border-color: var(--ink);
  background: rgba(20, 20, 19, 0.04);
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid rgba(20, 20, 19, 0.28);
  border-radius: 2px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
}

.editorial-error {
  margin-top: 12px;
  padding: 12px 14px;
  background: #fef2f0;
  border: 1px solid rgba(217, 56, 30, 0.45);
  border-left: 4px solid var(--vermilion);
  color: #8f1d0b;
  font-size: 0.86rem;
  line-height: 1.45;
  border-radius: 2px;
}

/* ============================================================================
   SCREEN 1: EDITORIAL NEWSSTAND (LANDING)
   ============================================================================ */
.newsstand-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 14% 12%, rgba(217, 56, 30, 0.045), transparent 42%),
    radial-gradient(circle at 86% 24%, rgba(11, 58, 44, 0.045), transparent 40%),
    var(--paper-cream);
  color: var(--ink);
  padding-bottom: 32px;
}

.newsstand-shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

body:not(.is-debug-newsstand) .newsstand-shell {
  justify-content: center;
  padding-top: 32px;
  padding-bottom: 18px;
}

body:not(.is-debug-newsstand) .newsstand-hero {
  margin: auto;
  max-width: 620px;
}

.landing-credit {
  margin-top: 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(110, 105, 96, 0.72);
}

.landing-credit-link {
  color: rgba(84, 80, 73, 0.85);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.14s ease, border-color 0.14s ease;
}

.landing-credit-link:hover {
  color: var(--ink);
  border-bottom-color: rgba(20, 20, 19, 0.45);
}

body:not(.is-debug-newsstand) .editorial-kicker {
  margin-bottom: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
}

body:not(.is-debug-newsstand) .newsstand-headline {
  font-size: clamp(3.15rem, 7vw, 4.9rem);
  margin-bottom: 12px;
}

body:not(.is-debug-newsstand) .newsstand-deck {
  font-size: 1.18rem;
  margin-bottom: 30px;
  color: var(--ink-muted);
}

body:not(.is-debug-newsstand) .issue-composer {
  max-width: 580px;
  padding: 12px;
}

.debug-mode-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 780px;
  width: 100%;
  margin: 0 auto 22px;
  padding: 9px 14px;
  background: #fff9ec;
  border: 1px dashed rgba(217, 56, 30, 0.55);
  border-radius: 3px;
}

.debug-mode-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--vermilion);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.debug-mode-link:hover {
  text-decoration: underline;
}

.masthead-bar {
  border-bottom: 3px double var(--ink);
  background: var(--paper-bright);
}

.masthead-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.masthead-brand {
  font-family: var(--font-grotesk);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
}

.masthead-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.newsstand-hero {
  width: 100%;
  max-width: 780px;
  margin: 0 auto 52px;
  text-align: center;
}

.editorial-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--vermilion);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.newsstand-headline {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 6vw, 4.45rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.newsstand-headline em {
  font-style: italic;
  color: #2c2824;
}

.newsstand-headline .brand-asterisk {
  display: inline-block;
  width: 0.34em;
  height: 0.34em;
  margin-left: 0.08em;
  vertical-align: baseline;
  position: relative;
  top: -0.5em;
  color: var(--vermilion);
  flex-shrink: 0;
}

.newsstand-deck {
  max-width: 600px;
  margin: 0 auto 28px;
  font-family: var(--font-editorial);
  font-size: 1.12rem;
  line-height: 1.52;
  color: var(--ink-soft);
  text-wrap: balance;
}

.resume-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 680px;
  margin: 0 auto 22px;
  padding: 10px 14px;
  background: var(--paper-bright);
  border: 1px solid rgba(20, 20, 19, 0.22);
  border-left: 3px solid var(--vermilion);
  text-align: left;
  font-size: 0.88rem;
}

.resume-ribbon-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.resume-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vermilion);
  flex-shrink: 0;
}

.issue-composer {
  max-width: 740px;
  margin: 0 auto;
  text-align: left;
  background: var(--paper-bright);
  padding: 18px;
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(20, 20, 19, 0.08);
  border-radius: 3px;
}

.composer-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}

.composer-input-wrap {
  position: relative;
  min-width: 0;
}

.composer-input {
  width: 100%;
  min-height: 50px;
  height: 100%;
  padding: 0 14px;
  font-size: 0.98rem;
  color: var(--ink);
  background: #ffffff;
  border: 1.5px solid rgba(20, 20, 19, 0.28);
  border-radius: 3px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.composer-input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(217, 56, 30, 0.12);
}

.composer-input-wrap.has-selection .composer-input {
  opacity: 0;
  pointer-events: none;
}

.selected-researcher-pill {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 12px;
  background: #f6faf6;
  border: 1.5px solid #164e3b;
  border-radius: 3px;
  box-shadow: 0 0 0 2px rgba(22, 78, 59, 0.08);
  min-width: 0;
}

.selected-pill-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #164e3b;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.selected-pill-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}

.selected-pill-name {
  display: block;
  max-width: 100%;
  font-family: var(--font-ui);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.selected-pill-meta {
  display: block;
  max-width: 100%;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 500;
  line-height: 1.2;
  color: #3d4a44;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.selected-pill-clear {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border: 1px solid rgba(20, 20, 19, 0.18);
  border-radius: 3px;
  background: #ffffff;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.selected-pill-clear:hover {
  background: #fee2e2;
  border-color: #b91c1c;
  color: #991b1b;
}

.editorial-btn.is-busy {
  opacity: 0.85;
  cursor: progress;
}

.author-search-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.author-search-refining {
  font-size: 0.62rem;
  color: var(--vermilion);
  font-weight: 700;
  animation: pressPulseOpacity 1.2s ease-in-out infinite;
}

.author-search-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.author-search-dot-loader {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(217, 56, 30, 0.25);
  border-top-color: var(--vermilion);
  animation: pressSpin 0.75s linear infinite;
  flex-shrink: 0;
}

.composer-subrow {
  margin-top: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

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

.inline-author-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--paper-bright);
  border: 1.5px solid var(--ink);
  box-shadow: 0 18px 40px rgba(20, 20, 19, 0.22);
  border-radius: 3px;
  overflow: hidden;
  max-height: 440px;
  overflow-y: auto;
}

.author-search-banner {
  padding: 7px 14px;
  background: #ede6d7;
  border-bottom: 1px solid rgba(20, 20, 19, 0.14);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.author-search-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(20, 20, 19, 0.12);
  cursor: pointer;
  color: var(--ink);
  transition: background 0.12s ease;
}

.author-search-item:last-child {
  border-bottom: 0;
}

.author-search-item:hover,
.author-search-item:focus-visible {
  background: #f0e9da;
  outline: none;
}

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

.author-search-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.author-search-title-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.author-search-name {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink);
}

.author-s2-ext {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 1px 5px;
  border: 1px solid rgba(20, 20, 19, 0.22);
  border-radius: 2px;
  transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.author-s2-ext:hover {
  color: var(--vermilion);
  border-color: var(--vermilion);
  background: #fff;
}

.author-search-stats {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
}

.author-search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.author-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  line-height: 1.3;
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(20, 20, 19, 0.06);
  color: #3d3a35;
}

.author-chip.is-affil {
  background: #141413;
  color: #faf6ed;
  font-weight: 600;
}

.author-chip.is-field {
  background: rgba(217, 56, 30, 0.11);
  color: #9e220d;
  font-weight: 600;
}

.author-chip.is-venue {
  background: rgba(15, 76, 129, 0.1);
  color: #0f3f69;
  font-weight: 600;
}

.author-chip.is-merged {
  background: rgba(19, 107, 78, 0.12);
  color: #0d5940;
  font-weight: 700;
}

.author-search-papers {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.author-search-paper {
  font-size: 0.74rem;
  line-height: 1.32;
  color: #46423c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.author-paper-title {
  font-style: italic;
}

.author-paper-meta {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--ink-muted);
  margin-left: 4px;
}

.author-search-select {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--vermilion);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Newsstand Rack: Miniature Magazine Issue Covers */
.newsstand-rack-section,
.sample-editions-section {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--rule-strong);
}

.rack-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.rack-kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--vermilion);
  margin-bottom: 4px;
}

.rack-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.05;
}

.rack-note {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.magazine-rack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 24px;
}

.mini-cover-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 3 / 4;
  padding: 16px 16px 14px 20px;
  text-align: left;
  border: 1.5px solid var(--ink);
  border-radius: 2px 5px 5px 2px;
  background: var(--paper-bright);
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    3px 0 0 #e6dfd1,
    4px 0 0 rgba(20, 20, 19, 0.25),
    0 10px 24px rgba(20, 20, 19, 0.1);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}

.mini-cover-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent);
  pointer-events: none;
}

.mini-cover-card:hover {
  transform: translateY(-6px) rotate(-0.8deg);
  box-shadow:
    4px 0 0 #e6dfd1,
    5px 0 0 rgba(20, 20, 19, 0.28),
    0 22px 38px rgba(20, 20, 19, 0.16);
}

.mini-cover-card[data-cover-theme='emerald'] {
  background: #0c3326;
  color: #f6f2e8;
  border-color: #09251c;
}

.mini-cover-card[data-cover-theme='prussian'] {
  background: #0d213a;
  color: #f4efe3;
  border-color: #081526;
}

.mini-cover-card[data-cover-theme='oxblood'] {
  background: #5c1324;
  color: #f8f1e5;
  border-color: #410b17;
}

.mini-cover-masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-family: var(--font-grotesk);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.85;
}

.mini-cover-body {
  margin: auto 0;
  padding: 10px 0;
}

.mini-cover-edition {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--vermilion);
  margin-bottom: 6px;
}

.mini-cover-card[data-cover-theme='emerald'] .mini-cover-edition,
.mini-cover-card[data-cover-theme='prussian'] .mini-cover-edition,
.mini-cover-card[data-cover-theme='oxblood'] .mini-cover-edition {
  color: #f5cb6e;
}

.mini-cover-name {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 0.98;
  margin-bottom: 8px;
}

.mini-cover-affil {
  font-family: var(--font-editorial);
  font-size: 0.8rem;
  line-height: 1.3;
  opacity: 0.8;
}

.mini-cover-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  opacity: 0.8;
}

/* Sample Editions Row */
.sample-editions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.sample-edition-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  text-align: left;
  background: var(--paper-bright);
  border: 1px solid rgba(20, 20, 19, 0.24);
  border-radius: 3px;
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.sample-edition-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 rgba(20, 20, 19, 0.08);
}

.sample-edition-kicker {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--vermilion);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sample-edition-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.05;
}

.sample-edition-desc {
  font-family: var(--font-editorial);
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.newsstand-footer {
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
}

/* ============================================================================
   SCREEN 2: MINIMAL LOADING PRESS (CENTERPIECE BAR + QUIET STATUS LINE)
   ============================================================================ */
.press-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 240, 210, 0.06), transparent 60%),
    var(--desk-bg);
}

.press-sheet {
  width: min(520px, 100%);
  background: var(--paper-bright);
  color: var(--ink);
  padding: 28px 30px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  box-shadow:
    5px 0 0 #e6dfd1,
    6px 0 0 rgba(0, 0, 0, 0.35),
    0 26px 56px rgba(0, 0, 0, 0.52);
}

@keyframes pressSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pressPulseOpacity {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* CENTERPIECE LOADING METER */
.press-meter-hero {
  margin: 0;
  padding: 0;
}

.press-meter-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.press-phase-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.press-percent {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--vermilion);
}

.press-bar-track {
  position: relative;
  width: 100%;
  height: 22px;
  background: #ffffff;
  border: 2px solid var(--ink);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 2px 5px rgba(20, 20, 19, 0.08);
}

.press-bar-fill {
  position: relative;
  height: 100%;
  min-width: 12px;
  width: 4%;
  background:
    repeating-linear-gradient(
      -55deg,
      rgba(255, 255, 255, 0.22) 0px,
      rgba(255, 255, 255, 0.22) 12px,
      transparent 12px,
      transparent 24px
    ),
    linear-gradient(90deg, #b82913 0%, #d9381e 60%, #ec5b2b 100%);
  background-size: 34px 34px, 100% 100%;
  animation: pressBarStripe 0.95s linear infinite;
  transition: width 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  border-right: 2px solid rgba(20, 20, 19, 0.45);
}

.press-bar-fill.is-complete {
  background: linear-gradient(90deg, #164e3b 0%, #1e6b50 100%);
  animation: none;
  border-right: 0;
}

.press-bar-fill.is-halted {
  animation: none;
  opacity: 0.55;
}

@keyframes pressBarStripe {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 34px 0, 0 0;
  }
}

.press-live-footnote {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

.press-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

.press-cancel-link {
  background: transparent;
  border: 0;
  padding: 4px 2px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
  cursor: pointer;
  letter-spacing: 0.04em;
}

.press-cancel-link:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ============================================================================
   SCREEN 3: FULL-SCREEN SCIENTIFIC MAGAZINE READER DESK
   ============================================================================ */
.reader-desk {
  min-height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 75% 58% at 50% 42%, rgba(255, 240, 210, 0.095), transparent 68%),
    linear-gradient(180deg, #1a1816 0%, #121110 100%);
  color: #f4efe4;
  overflow: hidden;
}

.reader-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 22px;
  border-bottom: 1px solid rgba(244, 239, 228, 0.1);
  background: rgba(18, 17, 16, 0.82);
  z-index: 20;
}

.reader-topbar-left,
.reader-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.reader-issue-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 0.84rem;
}

.reader-issue-author {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #faf6ed;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reader-meta-sep {
  opacity: 0.4;
}

.reader-issue-vol {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #c5bdb0;
  white-space: nowrap;
}

.reader-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(217, 56, 30, 0.22);
  border: 1px solid rgba(217, 56, 30, 0.55);
  color: #ff9d8c;
}

.desk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 3px;
  font-family: var(--font-grotesk);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f4efe4;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(244, 239, 228, 0.2);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
  white-space: nowrap;
}

.desk-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(244, 239, 228, 0.42);
}

.desk-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.desk-btn-figures {
  background: var(--vermilion);
  border-color: var(--vermilion);
  color: #fffdf8;
}

.desk-btn-figures:hover:not(:disabled) {
  background: var(--vermilion-dark);
  border-color: var(--vermilion-dark);
}

.desk-btn-figures.is-active {
  background: #f6f2e8;
  border-color: #f6f2e8;
  color: var(--ink);
}

/* Center Magazine Stage — Full-Viewport Book + Left/Right Nav Only */
.reader-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 16px 24px;
  min-height: 0;
  position: relative;
}

.page-turn-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 58px;
  height: 92px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(244, 239, 228, 0.18);
  color: #f4efe4;
  cursor: pointer;
  transition: all 0.16s ease;
  flex-shrink: 0;
}

.page-turn-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(244, 239, 228, 0.45);
  transform: scale(1.04);
}

.page-turn-btn:disabled {
  opacity: 0.22;
  cursor: not-allowed;
}

.turn-arrow {
  font-family: var(--font-display);
  font-size: 2.3rem;
  line-height: 0.8;
}

.turn-caption {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  opacity: 0.72;
}

/* Physical Magazine Sheet Container */
.magazine-book-wrap {
  perspective: 2200px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-height: 100%;
}

.magazine-sheet {
  position: relative;
  height: min(860px, calc(100dvh - 34px));
  width: auto;
  aspect-ratio: 560 / 760;
  max-width: calc(100vw - 184px);
  max-height: 100%;
  border-radius: 2px 7px 7px 2px;
  transform-style: preserve-3d;
  /* Realistic multi-page stacked edge + soft ambient studio drop shadow */
  box-shadow:
    3px 0 0 #ebe5d8,
    4px 0 0 rgba(0, 0, 0, 0.24),
    7px 0 0 #ddd5c5,
    8px 0 0 rgba(0, 0, 0, 0.26),
    11px 0 0 #cfc6b4,
    12px 0 0 rgba(0, 0, 0, 0.28),
    0 28px 65px rgba(0, 0, 0, 0.62);
}

/* Unintrusive Corner Page Counter (X / Y) */
.page-corner-folio {
  position: absolute;
  bottom: 14px;
  right: 62px;
  z-index: 14;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(124, 120, 112, 0.68);
  font-variant-numeric: tabular-nums;
  user-select: none;
  transition: opacity 0.18s ease;
}

.magazine-sheet[data-page-kind="year_overview"] .page-corner-folio {
  bottom: 18px;
  right: 96px;
}

.magazine-sheet.is-last-page .page-corner-folio {
  right: 20px;
}

.magazine-sheet.is-dark-folio .page-corner-folio {
  color: rgba(215, 211, 202, 0.52);
}

.magazine-sheet.is-peeling .page-corner-folio,
.magazine-sheet.is-flipped-sheet .page-corner-folio {
  opacity: 0;
}

/* 60fps Clip-Bounded Diagonal Corner-Peel Overlay Stage */
.page-turn-stage {
  position: absolute;
  inset: 0;
  border-radius: 2px 7px 7px 2px;
  overflow: hidden;
  pointer-events: none;
  z-index: 25;
  display: none;
}

.page-turn-stage.is-active {
  display: block;
}

.page-turn-leaf {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: 2px 7px 7px 2px;
  background: var(--paper-cream);
  will-change: clip-path;
}

.leaf-front-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.page-peel-fx-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}

.magazine-sheet.is-dragging-leaf {
  user-select: none;
  cursor: grabbing;
}

.magazine-sheet.is-peeling .page-corner-peek-host {
  opacity: 0;
  pointer-events: none;
}

.reader-desk .magazine-book-wrap {
  perspective: 1900px;
}

/* Binding Spine Crease on Left Edge */
.sheet-spine-crease {
  position: absolute;
  inset: 0 auto 0 0;
  width: 16px;
  z-index: 15;
  pointer-events: none;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.26) 0%,
    rgba(255, 255, 255, 0.08) 28%,
    rgba(0, 0, 0, 0.08) 54%,
    transparent 100%
  );
}

/* 3D Flipper — ZERO backdrop-filter anywhere inside! */
.sheet-flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.52s cubic-bezier(0.25, 0.85, 0.3, 1);
}

.sheet-flipper.no-transition {
  transition: none !important;
}

.sheet-flipper.is-flipped {
  transform: rotateY(180deg);
}

.sheet-face {
  position: absolute;
  inset: 0;
  border-radius: 2px 7px 7px 2px;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.sheet-front {
  background: var(--paper-cream);
  color: var(--ink);
  z-index: 2;
}

.sheet-flipper.is-flipped .sheet-front {
  pointer-events: none;
}

.sheet-front-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.sheet-back {
  transform: rotateY(180deg);
  background: var(--paper-bright);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.sheet-flipper:not(.is-flipped) .sheet-back {
  pointer-events: none;
}

/* Bottom Editorial Table of Contents Bar */
.reader-bottombar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 22px 12px;
  border-top: 1px solid rgba(244, 239, 228, 0.1);
  background: rgba(18, 17, 16, 0.86);
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.mobile-turn-controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
}

.mono-folio {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #d6cec0;
  letter-spacing: 0.08em;
}

.magazine-toc {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 auto;
}

.magazine-toc::-webkit-scrollbar {
  display: none;
}

.toc-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 2px;
  border: 1px solid transparent;
  background: transparent;
  color: #a9a194;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.14s ease;
}

.toc-tab:hover {
  color: #faf6ed;
  background: rgba(255, 255, 255, 0.06);
}

.toc-tab[aria-selected='true'] {
  color: #141413;
  background: #f6f2e8;
  border-color: #f6f2e8;
  font-weight: 700;
}

.reader-kbd-hint {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: #8f887c;
  white-space: nowrap;
}

.reader-kbd-hint kbd {
  display: inline-block;
  padding: 1px 5px;
  border: 1px solid rgba(244, 239, 228, 0.25);
  border-radius: 2px;
  color: #d8d0c2;
  font-family: inherit;
  font-size: 0.62rem;
}

/* ============================================================================
   SHARED FOLIO STRIP INSIDE EVERY FRONT MAGAZINE PAGE
   ============================================================================ */
.page-folio-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 26px 10px 30px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.page-folio-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 76px 14px 76px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.inline-flip-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 2px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.88;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.inline-flip-trigger:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Snapshot wrapper when peeling directly from a flipped Details / Back face */
.sheet-back-peel-snapshot {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper-bright);
  color: var(--ink);
  overflow: hidden;
}

/* ============================================================================
   PAGE 1: MAGAZINE FRONT COVER (`year_overview`)
   Bold Saturated Collector Cover Stock · Centered Name · Non-Clickable Cover-Lines
   ============================================================================ */
.page-cover {
  height: 100%;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 78% 14%, rgba(255, 228, 178, 0.18) 0%, transparent 48%),
    linear-gradient(158deg, #d12e18 0%, #ad1f0e 56%, #821308 100%);
  color: #fcf7ec;
  padding: 34px 34px 52px 38px;
  position: relative;
  overflow: hidden;
}

.page-cover.cover-theme-cobalt {
  background:
    radial-gradient(circle at 78% 14%, rgba(155, 198, 255, 0.22) 0%, transparent 50%),
    linear-gradient(158deg, #1b43cc 0%, #122e9c 56%, #0b1c66 100%);
}

.page-cover.cover-theme-emerald {
  background:
    radial-gradient(circle at 78% 14%, rgba(167, 243, 208, 0.18) 0%, transparent 50%),
    linear-gradient(158deg, #0f6b4e 0%, #0a4f39 56%, #063526 100%);
}

.page-cover.cover-theme-plum {
  background:
    radial-gradient(circle at 78% 14%, rgba(251, 207, 232, 0.18) 0%, transparent 50%),
    linear-gradient(158deg, #7e1c52 0%, #5c123c 56%, #3d0a27 100%);
}

.page-cover::after {
  content: '';
  position: absolute;
  inset: 12px 12px 12px 18px;
  border: 1px solid rgba(252, 247, 236, 0.24);
  pointer-events: none;
}

.cover-masthead-title {
  margin: 0 0 6px;
  font-family: var(--font-grotesk);
  font-size: clamp(2.15rem, 4.3vw, 2.95rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 0.96;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
}

.cover-masthead-year {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.36em;
  color: #ffe3a8;
  margin-bottom: 12px;
}

.cover-masthead-hairline {
  height: 4px;
  border-top: 1px solid rgba(252, 247, 236, 0.5);
  border-bottom: 2px solid #fcf7ec;
  margin-bottom: 42px;
}

.page-cover-teaser .cover-hero-zone {
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cover-subject-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(3.3rem, 6.2vw, 4.55rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

/* Static editorial Cover-Lines (user navigates to discover content) */
.cover-hooks-section {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 12px;
}

.cover-hooks-list {
  display: flex;
  flex-direction: column;
}

.cover-hook-row {
  display: block;
  width: 100%;
  padding: 15px 4px;
  border-top: 1px solid rgba(252, 247, 236, 0.24);
  text-align: center;
  color: #fcf7ec;
}

.cover-hook-row:last-child {
  border-bottom: 1px solid rgba(252, 247, 236, 0.24);
}

.cover-hook-q {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.44rem;
  line-height: 1.18;
  color: rgba(255, 252, 244, 0.95);
}

.cover-hook-row.is-lead .cover-hook-q {
  color: #ffe3a8;
}

/* ============================================================================
   SYMMETRIC DUAL-CORNER PEELING (BOTTOM-LEFT PREV + BOTTOM-RIGHT NEXT)
   Visible & interactive on BOTH front pages AND flipped details backs
   ============================================================================ */
.page-corner-peek-host {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  z-index: 16;
  pointer-events: none;
  transition: opacity 0.14s ease;
}

@keyframes coverPeekBreathe {
  0%, 100% {
    width: 78px;
    height: 78px;
  }
  50% {
    width: 86px;
    height: 86px;
  }
}

.page-corner-peek {
  position: absolute;
  bottom: 0;
  display: block;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: grab;
  pointer-events: auto;
  transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1), height 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-corner-peek.is-next-corner {
  right: 0;
}

.page-corner-peek.is-prev-corner {
  left: 0;
}

.page-corner-peek:hover,
.page-corner-peek:focus-visible {
  width: 82px;
  height: 82px;
  outline: none;
}

.page-corner-peek.is-cover-peek {
  width: 78px;
  height: 78px;
  animation: coverPeekBreathe 4.4s ease-in-out infinite;
}

.page-corner-peek.is-cover-peek:hover,
.page-corner-peek.is-cover-peek:focus-visible {
  animation: none;
  width: 118px;
  height: 118px;
}

.page-corner-peek:active {
  cursor: grabbing;
}

.cover-peek-under {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 6px 8px;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.12) 52%, transparent 66%),
    #f6f2e8;
}

.page-corner-peek.is-next-corner .cover-peek-under {
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  justify-content: flex-end;
}

.page-corner-peek.is-prev-corner .cover-peek-under {
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  justify-content: flex-start;
}

.page-corner-peek.is-cover-peek .cover-peek-under {
  padding: 10px 12px;
}

/* Authentic next/prev page stock previews inside the exposed corner triangle */
.page-corner-peek.is-next-cover .cover-peek-under {
  background: linear-gradient(225deg, rgba(0, 0, 0, 0.36) 0%, transparent 62%), #b82311;
}
.page-corner-peek.is-next-cover.cover-theme-cobalt .cover-peek-under {
  background: linear-gradient(225deg, rgba(0, 0, 0, 0.36) 0%, transparent 62%), #1637b0;
}
.page-corner-peek.is-next-cover.cover-theme-emerald .cover-peek-under {
  background: linear-gradient(225deg, rgba(0, 0, 0, 0.36) 0%, transparent 62%), #0d5d43;
}
.page-corner-peek.is-next-cover.cover-theme-plum .cover-peek-under {
  background: linear-gradient(225deg, rgba(0, 0, 0, 0.36) 0%, transparent 62%), #6d1646;
}
.page-corner-peek.is-next-cover .cover-peek-arrow { color: #ffe3a8; }

.page-corner-peek.is-next-globe .cover-peek-under {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.24) 48%, transparent 65%),
    repeating-linear-gradient(0deg, transparent, transparent 13px, rgba(147, 180, 212, 0.16) 13px, rgba(147, 180, 212, 0.16) 14px),
    repeating-linear-gradient(90deg, transparent, transparent 13px, rgba(147, 180, 212, 0.16) 13px, rgba(147, 180, 212, 0.16) 14px),
    radial-gradient(circle at 76% 74%, #132840 0%, #0a1420 72%);
}
.page-corner-peek.is-next-globe .cover-peek-arrow { color: #f3c87a; }

.page-corner-peek.is-next-dialogue .cover-peek-under {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.08) 50%, transparent 65%), #faf6ee;
}
.page-corner-peek.is-next-dialogue .cover-peek-arrow { color: #c6361c; }

.page-corner-peek.is-next-lexicon .cover-peek-under {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 66%),
    repeating-linear-gradient(0deg, transparent, transparent 11px, rgba(255, 255, 255, 0.06) 11px, rgba(255, 255, 255, 0.06) 12px),
    #0e0f12;
}
.page-corner-peek.is-next-lexicon .cover-peek-arrow { color: #d9ff40; }

.page-corner-peek.is-next-timeline .cover-peek-under {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.08) 50%, transparent 65%), #f2e9d8;
}
.page-corner-peek.is-next-timeline .cover-peek-arrow { color: #5e1324; }

.page-corner-peek.is-next-sighting .cover-peek-under {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.08) 50%, transparent 65%), #edf1f5;
}
.page-corner-peek.is-next-sighting .cover-peek-arrow { color: #102235; }

.page-corner-peek.is-next-deepcut .cover-peek-under {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.08) 50%, transparent 65%), #f3ecdc;
}
.page-corner-peek.is-next-deepcut .cover-peek-arrow { color: #132a1e; }

.page-corner-peek.is-next-mini .cover-peek-under {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.08) 50%, transparent 65%),
    repeating-linear-gradient(0deg, transparent, transparent 10px, rgba(20, 20, 19, 0.12) 10px, rgba(20, 20, 19, 0.12) 11px),
    repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(20, 20, 19, 0.12) 10px, rgba(20, 20, 19, 0.12) 11px),
    #f6f2e8;
}
.page-corner-peek.is-next-mini .cover-peek-arrow { color: #141413; }

.page-corner-peek.is-next-back .cover-peek-under {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.54) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 66%), #141517;
}
.page-corner-peek.is-next-back .cover-peek-arrow { color: #e4bf74; }

.cover-peek-arrow {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  color: #141413;
  opacity: 0.92;
}

.page-corner-peek.is-cover-peek .cover-peek-arrow {
  font-size: 0.86rem;
}

/* Folded-back curved cream paper underside of both lifted corners */
.cover-peek-flap-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-corner-peek.is-next-corner .cover-peek-flap-wrap {
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.34));
}

.page-corner-peek.is-prev-corner .cover-peek-flap-wrap {
  filter: drop-shadow(-2px 4px 6px rgba(0, 0, 0, 0.34));
}

.cover-peek-flap {
  position: absolute;
  inset: 0;
}

.page-corner-peek.is-next-corner .cover-peek-flap {
  clip-path: polygon(0 0, 100% 0, 0 100%);
  border-top-left-radius: 5px;
  background: linear-gradient(135deg, #efe7d6 0%, #fffdf7 30%, #ece2ce 45%, #c9bba2 53%);
}

.page-corner-peek.is-prev-corner .cover-peek-flap {
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  border-top-right-radius: 5px;
  background: linear-gradient(225deg, #efe7d6 0%, #fffdf7 30%, #ece2ce 45%, #c9bba2 53%);
}

@media (prefers-reduced-motion: reduce) {
  .page-corner-peek.is-cover-peek {
    animation: none;
  }
}

/* ============================================================================
   PAGE 2: CARTOGRAPHY / MAPLIBRE 3D GLOBE (`research_passport`)
   National Geographic × NYT Interactive Cartography
   ============================================================================ */
.page-globe {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #0a1420;
  color: #f4efe4;
}

.page-globe .page-folio-top {
  color: #93b4d4;
  border-bottom: 1px solid rgba(147, 180, 212, 0.2);
}

.globe-header-zone {
  padding: 10px 20px 6px 24px;
  flex-shrink: 0;
}

.globe-headline {
  margin: 0 0 3px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.36rem, 2.5vw, 1.74rem);
  line-height: 1.06;
  color: #faf6ed;
}

.globe-deck {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 0.78rem;
  line-height: 1.3;
  color: #b7c8da;
}

.globe-canvas-stage {
  position: relative;
  flex: 1;
  min-height: 440px;
  margin: 4px 0 0 0;
  border-top: 1px solid rgba(147, 180, 212, 0.28);
  border-bottom: 1px solid rgba(147, 180, 212, 0.24);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #10253d 0%, #070e17 100%);
}

.maplibre-globe-container {
  width: 100%;
  height: 100%;
}

.globe-overlay-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  padding: 4px 9px;
  background: rgba(10, 20, 32, 0.82);
  border: 1px solid rgba(245, 203, 110, 0.45);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: #f5cb6e;
  pointer-events: none;
}

.globe-zoom-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.globe-zoom-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 20, 32, 0.86);
  border: 1px solid rgba(147, 180, 212, 0.42);
  border-radius: 2px;
  color: #f4efe4;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.globe-zoom-btn:hover {
  background: #f5cb6e;
  border-color: #f5cb6e;
  color: #0a1420;
}

.globe-popup-region {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.globe-popup-inst-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 6px;
  padding: 5px 7px;
  background: #f4efe4;
  border-left: 2.5px solid var(--vermilion);
}

.globe-popup-inst-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--ink);
}

.globe-popup-inst-row strong {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--vermilion);
}

.globe-popup-zoom-btn {
  margin-top: 7px;
  width: 100%;
  padding: 5px 8px;
  background: var(--ink);
  color: #fbfaf5;
  border: 0;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.globe-popup-zoom-btn:hover {
  background: var(--vermilion);
}

.globe-fly-farthest-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 5;
  padding: 6px 11px;
  background: rgba(217, 56, 30, 0.92);
  border: 1px solid #ff9d8c;
  border-radius: 2px;
  color: #fffcf7;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease;
}

.globe-fly-farthest-btn:hover {
  background: var(--vermilion-dark);
  transform: translateY(-1px);
}

.globe-controls-strip {
  padding: 4px 22px 6px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-shrink: 0;
}

.globe-country-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(147, 180, 212, 0.28);
  color: #e6eef7;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  cursor: pointer;
  transition: all 0.14s ease;
}

.globe-country-pill:hover,
.globe-country-pill.active {
  background: #f5cb6e;
  border-color: #f5cb6e;
  color: #0a1420;
  font-weight: 700;
}

.page-globe .page-folio-bottom {
  border-top: 1px solid rgba(147, 180, 212, 0.18);
  color: #93b4d4;
  padding: 7px 76px 9px 76px;
}

/* MapLibre Custom Editorial Popup */
.maplibregl-popup-content {
  background: #fbfaf5 !important;
  color: #141413 !important;
  border: 1.5px solid #141413 !important;
  border-radius: 3px !important;
  padding: 10px 12px !important;
  font-family: var(--font-ui) !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45) !important;
  max-width: 240px !important;
}

.maplibregl-popup-tip {
  border-top-color: #141413 !important;
}

.globe-popup-country {
  font-family: var(--font-grotesk);
  font-weight: 700;
  font-size: 0.84rem;
  margin-bottom: 3px;
}

.globe-popup-inst {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--vermilion);
  margin-bottom: 5px;
}

.globe-popup-paper {
  font-family: var(--font-editorial);
  font-size: 0.78rem;
  line-height: 1.3;
  color: #2b2926;
}

.globe-popup-paper a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================================
   PAGE 3: WILD CROSSOVER DIPTYCH (`unexpected_connection`)
   Diagonal Two-Tone Split-Screen Magazine Feature
   ============================================================================ */
.page-crossover {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--paper-cream);
  color: var(--ink);
}

.crossover-top-half {
  flex: 1.02;
  display: flex;
  flex-direction: column;
  background: var(--paper-cream);
  color: var(--ink);
  padding: 0 26px 34px 30px;
  position: relative;
  z-index: 1;
}

.crossover-top-half .page-folio-top {
  padding-left: 0;
  padding-right: 0;
  border-bottom: 1px solid rgba(20, 20, 19, 0.16);
  margin-bottom: 16px;
}

.crossover-badge-home {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--vermilion);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.crossover-headline {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.95rem, 3.8vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.crossover-work-card {
  margin-top: auto;
  padding: 12px 14px;
  border-left: 3px solid var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.crossover-work-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 3px;
}

.crossover-work-title {
  font-family: var(--font-editorial);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}

.crossover-divider-bridge {
  position: relative;
  height: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.crossover-bridge-pill {
  padding: 6px 14px;
  background: var(--vermilion);
  color: #fffdf8;
  border: 2px solid var(--paper-cream);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.crossover-bottom-half {
  flex: 1.04;
  display: flex;
  flex-direction: column;
  background: var(--emerald-deep);
  color: #f4efe4;
  padding: 42px 26px 0 30px;
  clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%);
  margin-top: -28px;
}

.crossover-bottom-half.variant-vermilion {
  background: #8f1f14;
}

.crossover-distant-kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: #a7f3d0;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.crossover-bottom-half.variant-vermilion .crossover-distant-kicker {
  color: #fde68a;
}

.crossover-distant-field {
  font-family: var(--font-grotesk);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 12px;
  color: #ffffff;
}

.crossover-deck {
  margin: 0 0 12px;
  font-family: var(--font-editorial);
  font-size: 0.92rem;
  line-height: 1.4;
  color: rgba(244, 239, 228, 0.9);
}

.crossover-citing-card {
  padding: 10px 12px;
  border-left: 3px solid #a7f3d0;
  background: rgba(0, 0, 0, 0.22);
}

.crossover-citing-card .crossover-work-label {
  color: #a7f3d0;
}

.crossover-citing-card .crossover-work-title {
  color: #faf6ed;
}

.crossover-bottom-half .page-folio-bottom {
  padding-left: 0;
  padding-right: 0;
  border-top: 1px solid rgba(244, 239, 228, 0.18);
  color: rgba(244, 239, 228, 0.78);
}

/* ============================================================================
   PAGE 4: SECRET SUPERFAN PROFILE (`secret_superfan`)
   The New Yorker × Nature Editorial Profile
   ============================================================================ */
.page-superfan {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper-linen);
  color: var(--ink);
}

.page-superfan .page-folio-top {
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
}

.superfan-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 28px 14px 32px;
  min-height: 0;
}

.dialogue-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dialogue-kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--vermilion);
  text-transform: uppercase;
}

.dialogue-tag {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  padding: 3px 7px;
  border: 1px solid rgba(20, 20, 19, 0.22);
  border-radius: 2px;
}

.page-dialogue .superfan-portrait-block {
  margin: 8px 0;
  padding: 12px 0;
}

.page-dialogue .superfan-name {
  font-size: clamp(2.35rem, 4.6vw, 3.15rem);
}

.page-dialogue .superfan-deck::first-letter {
  font-size: inherit;
  float: none;
  line-height: inherit;
  padding: 0;
  color: inherit;
}

.dialogue-papers-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(20, 20, 19, 0.16);
}

.dialogue-papers-head {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.dialogue-paper-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 10px;
  background: var(--paper-bright);
  border: 1px solid rgba(20, 20, 19, 0.15);
  border-left: 3px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.14s ease, background 0.14s ease;
}

.dialogue-paper-row:hover {
  border-left-color: var(--vermilion);
  background: #ffffff;
}

.dialogue-paper-title {
  font-family: var(--font-editorial);
  font-size: 0.81rem;
  font-weight: 600;
  line-height: 1.28;
}

.dialogue-paper-ref {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--ink-muted);
}

.superfan-dossier-grid.is-two-col {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 10px;
}

.superfan-portrait-block {
  margin: 12px 0;
  padding: 16px 0;
  border-top: 1px solid rgba(20, 20, 19, 0.18);
  border-bottom: 1px solid rgba(20, 20, 19, 0.18);
}

.superfan-name {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.55rem, 5vw, 3.6rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.superfan-inst {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vermilion);
  font-weight: 600;
}

.superfan-headline {
  margin: 0 0 10px;
  font-family: var(--font-editorial);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.32;
  color: var(--ink);
}

.superfan-deck {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 0.92rem;
  line-height: 1.48;
  color: var(--ink-soft);
}

.superfan-deck::first-letter {
  font-family: var(--font-display);
  font-size: 2.3rem;
  float: left;
  line-height: 0.85;
  padding-right: 7px;
  padding-top: 2px;
  color: var(--vermilion);
}

.superfan-dossier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid var(--ink);
  background: var(--paper-bright);
  margin-top: 12px;
}

.dossier-cell {
  padding: 11px 10px;
  text-align: center;
  border-right: 1px solid rgba(20, 20, 19, 0.18);
}

.dossier-cell:last-child {
  border-right: 0;
}

.dossier-val {
  display: block;
  font-family: var(--font-display);
  font-size: 2.05rem;
  line-height: 1;
  color: var(--ink);
}

.dossier-lbl {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.page-superfan .page-folio-bottom {
  border-top: 1px solid rgba(20, 20, 19, 0.18);
  color: var(--ink-muted);
}

/* ============================================================================
   PAGE 5: WORDS USED OFTEN (`linguistic_dna`)
   Bold Swiss / Bauhaus Kinetic Typography Poster
   ============================================================================ */
.page-lexicon {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--swiss-black);
  color: #f4f4ef;
  position: relative;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
}

.page-lexicon .page-folio-top {
  color: var(--swiss-acid);
  border-bottom: 1px solid rgba(217, 255, 64, 0.28);
}

.lexicon-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 26px 12px 30px;
  min-height: 0;
}

.lexicon-headline {
  margin: 0 0 6px;
  font-family: var(--font-grotesk);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.lexicon-deck {
  margin: 0 0 14px;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  line-height: 1.4;
  color: #b8bcc4;
}

.swiss-poster-canvas {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.swiss-register-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.swiss-register-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a6aab4;
}

.swiss-register-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e4e6eb;
}

.swiss-new-badge {
  display: inline-block;
  padding: 2px 6px;
  background: var(--swiss-acid);
  color: #0e0f12;
  border-radius: 2px;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.swiss-register-sub {
  color: #848994;
}

.swiss-neologism-hero {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(217, 255, 64, 0.08);
  border: 1.5px solid var(--swiss-acid);
  border-left: 4px solid var(--swiss-acid);
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.swiss-neologism-hero:hover {
  background: rgba(217, 255, 64, 0.15);
  transform: translateY(-1px);
}

.swiss-neo-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.swiss-neo-word {
  font-family: var(--font-grotesk);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.6vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--swiss-acid);
}

.swiss-neo-pos {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 0.8rem;
  color: #c5c9d2;
}

.swiss-neo-arrow {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--swiss-acid);
}

.swiss-neo-def {
  font-family: var(--font-editorial);
  font-size: 0.84rem;
  line-height: 1.36;
  color: #ebedf2;
}

.swiss-neologism-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.swiss-neologism-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px;
  background: rgba(217, 255, 64, 0.07);
  border: 1px solid rgba(217, 255, 64, 0.48);
  border-left: 3px solid var(--swiss-acid);
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.14s ease;
}

.swiss-neologism-tile:hover {
  background: rgba(217, 255, 64, 0.15);
}

.swiss-neo-tile-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}

.swiss-neo-word-sm {
  font-family: var(--font-grotesk);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.05;
  color: var(--swiss-acid);
}

.swiss-neo-paper {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  line-height: 1.28;
  color: #cfd3db;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.swiss-register-words {
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
}

.swiss-scale-axis {
  display: grid;
  grid-template-columns: var(--lex-term-col, 146px) minmax(60px, 1fr) 46px;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #7d828f;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.swiss-scale-axis-mid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.swiss-word-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.swiss-word-line {
  display: grid;
  grid-template-columns: var(--lex-term-col, 146px) minmax(60px, 1fr) 46px;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.swiss-word-line:last-child {
  border-bottom: 0;
}

.swiss-word-big {
  font-family: var(--font-grotesk);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

.swiss-word-big.is-long {
  font-size: 1.04rem;
  letter-spacing: -0.025em;
}

.swiss-word-big.is-xlong {
  font-size: 0.9rem;
  letter-spacing: -0.03em;
}

.swiss-word-line:first-child .swiss-word-big {
  color: var(--swiss-acid);
  font-size: 1.32rem;
}

.swiss-word-line:first-child .swiss-word-big.is-long {
  font-size: 1.12rem;
}

.swiss-word-line:first-child .swiss-word-big.is-xlong {
  font-size: 0.96rem;
}

.swiss-word-meter {
  position: relative;
  display: block;
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 1.5px solid rgba(255, 255, 255, 0.42);
  border-radius: 0 2px 2px 0;
  overflow: hidden;
}

.swiss-word-meter::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.swiss-word-meter-fill {
  display: block;
  height: 100%;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 0 2px 2px 0;
}

.swiss-word-line:first-child .swiss-word-meter-fill {
  background: var(--swiss-acid);
}

.swiss-word-mult {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--swiss-acid);
  white-space: nowrap;
  width: 48px;
  text-align: right;
}

.page-lexicon .page-folio-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #a6aab2;
}

/* ── PAGE 5 INTEGRATED LEXICON WORDLE REVEAL (SWISS BLACK × ACID LIME) ── */
.lexicon-body-wordle {
  justify-content: center;
  padding: 12px 24px 10px 28px;
}

.lex-wordle-gate {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.lex-w-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lex-w-skip-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #cfd3db;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.14s ease, color 0.14s ease, background 0.14s ease;
}

.lex-w-skip-btn:hover {
  border-color: var(--swiss-acid);
  color: var(--swiss-acid);
  background: rgba(217, 255, 64, 0.08);
}

.lex-w-intro {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lex-w-title {
  margin: 0;
  font-family: var(--font-grotesk);
  font-weight: 700;
  font-size: 1.46rem;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.lex-w-clue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lex-w-clue {
  font-family: var(--font-editorial);
  font-size: 0.86rem;
  line-height: 1.32;
  color: #d2d6df;
}

.lex-w-hint-btn {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
  border: 1px solid rgba(217, 255, 64, 0.5);
  background: rgba(217, 255, 64, 0.09);
  color: var(--swiss-acid);
  cursor: pointer;
}

.lex-w-hint-btn:hover {
  background: var(--swiss-acid);
  color: #0e0f12;
}

.lex-w-hint-box {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 0.78rem;
  line-height: 1.3;
  color: #e9ecf2;
  padding: 5px 10px;
  background: rgba(217, 255, 64, 0.1);
  border-left: 2.5px solid var(--swiss-acid);
  border-radius: 2px;
}

.lex-w-toast-wrap {
  text-align: center;
  min-height: 20px;
}

.lex-w-toast {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 2px;
  background: var(--swiss-acid);
  color: #0e0f12;
}

.lex-w-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
}

.lex-w-row {
  display: grid;
  grid-template-columns: repeat(var(--w-cols, 5), var(--w-tile, 44px));
  gap: 6px;
}

.lex-w-row.is-shaking {
  animation: gameShake 0.34s ease;
}

.lex-w-cell {
  width: var(--w-tile, 44px);
  height: var(--w-tile, 44px);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.035);
  color: #ffffff;
  font-family: var(--font-grotesk);
  font-size: 1.28rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  user-select: none;
  transition: transform 0.14s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.lex-w-cell.is-filled {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  transform: scale(1.03);
}

.lex-w-cell.is-correct {
  background: var(--swiss-acid);
  border-color: var(--swiss-acid);
  color: #0e0f12;
}

.lex-w-cell.is-present {
  background: #eab308;
  border-color: #eab308;
  color: #0e0f12;
}

.lex-w-cell.is-absent {
  background: #303440;
  border-color: #303440;
  color: #8f95a3;
}

.lex-w-row.is-just-submitted .lex-w-cell {
  animation: wordleFlip 0.34s ease both;
  animation-delay: calc(var(--col-i) * 55ms);
}

.lex-w-unlock-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 2px;
  border: 1.5px solid var(--swiss-acid);
  background: rgba(217, 255, 64, 0.14);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lex-w-unlock-btn {
  flex-shrink: 0;
  padding: 5px 10px;
  border-radius: 2px;
  border: none;
  background: var(--swiss-acid);
  color: #0e0f12;
  font-family: var(--font-grotesk);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.lex-w-keyboard {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.lex-w-kb-row {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.lex-w-key {
  min-width: 33px;
  height: 36px;
  padding: 0 5px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #22252f;
  color: #f4f4ef;
  font-family: var(--font-grotesk);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.lex-w-key:hover {
  background: #303443;
  border-color: rgba(255, 255, 255, 0.35);
}

.lex-w-key.is-wide {
  min-width: 54px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

.lex-w-key.is-correct {
  background: var(--swiss-acid);
  border-color: var(--swiss-acid);
  color: #0e0f12;
}

.lex-w-key.is-present {
  background: #eab308;
  border-color: #eab308;
  color: #0e0f12;
}

.lex-w-key.is-absent {
  background: #171920;
  border-color: rgba(255, 255, 255, 0.08);
  color: #5c6170;
}

/* Celebratory Wordle Strip on Revealed Lexicon Poster */
.lex-w-revealed-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  margin-bottom: 8px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
  flex-shrink: 0;
}

.lex-w-revealed-bar.is-won {
  border-color: rgba(217, 255, 64, 0.55);
  border-left: 3.5px solid var(--swiss-acid);
  background: rgba(217, 255, 64, 0.08);
}

.lex-w-rev-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.lex-w-rev-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--swiss-acid);
  white-space: nowrap;
}

.lex-w-rev-muted {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #a6aab4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lex-w-mini-strip {
  display: inline-flex;
  gap: 3px;
}

.lex-w-mini-sq {
  width: 9px;
  height: 9px;
  border-radius: 1px;
  background: #303440;
}

.lex-w-mini-sq.is-correct {
  background: var(--swiss-acid);
}

.lex-w-mini-sq.is-present {
  background: #eab308;
}

.lex-w-rev-actions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.lex-w-rev-btn {
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #e4e6eb;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  cursor: pointer;
}

.lex-w-rev-btn:hover {
  border-color: var(--swiss-acid);
  color: var(--swiss-acid);
}

.lex-w-rev-btn.is-accent {
  background: var(--swiss-acid);
  border-color: var(--swiss-acid);
  color: #0e0f12;
}

.lex-w-rev-btn.is-accent:hover {
  background: #e6ff75;
  color: #0e0f12;
}

.lex-w-inline-star {
  color: var(--swiss-acid);
  font-size: 0.85em;
  vertical-align: top;
}

/* ============================================================================
   PAGE 6: ARCHIVAL REUNION (`reunion`)
   Archival Buff Stock × Oxblood Ink × Brass Timeline
   ============================================================================ */
.page-reunion {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper-buff);
  color: var(--oxblood);
}

.page-reunion .page-folio-top {
  color: var(--oxblood);
  border-bottom: 1.5px solid var(--oxblood);
}

.reunion-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 26px 12px 30px;
  min-height: 0;
}

.reunion-arc-panel {
  padding: 14px 16px;
  background: #faf5ea;
  border: 1.5px solid var(--oxblood);
  border-radius: 3px;
}

.reunion-arc-svg {
  width: 100%;
  height: 92px;
  display: block;
}

.reunion-coauthor-name {
  margin: 12px 0 4px;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.35rem, 4.6vw, 3.25rem);
  line-height: 0.96;
  color: var(--oxblood);
}

.reunion-headline {
  margin: 0 0 8px;
  font-family: var(--font-editorial);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.3;
  color: #2b161b;
}

.reunion-deck {
  margin: 0 0 12px;
  font-family: var(--font-editorial);
  font-size: 0.88rem;
  line-height: 1.42;
  color: #54333a;
}

.reunion-cards-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.reunion-paper-tile {
  padding: 10px 11px;
  background: #fbf7ee;
  border: 1px solid rgba(94, 19, 36, 0.25);
  border-top: 3px solid var(--brass);
}

.reunion-paper-tile.is-now {
  border-top-color: var(--oxblood);
}

.reunion-tile-yr {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brass);
  margin-bottom: 4px;
}

.reunion-paper-tile.is-now .reunion-tile-yr {
  color: var(--oxblood);
}

.reunion-tile-title {
  font-family: var(--font-editorial);
  font-size: 0.78rem;
  line-height: 1.3;
  color: #241216;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-reunion .page-folio-bottom {
  border-top: 1px solid rgba(94, 19, 36, 0.22);
  color: #6b3642;
}

/* Front-Page Year-Anchored Interactive Collaboration Timeline */
.collab-timeline-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 14px 24px 10px 28px;
  min-height: 0;
}

.collab-header-block {
  flex-shrink: 0;
}

.collab-headline {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.58rem, 3.1vw, 2.04rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--oxblood);
}

.collab-deck {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 0.86rem;
  line-height: 1.4;
  color: #54333a;
}

.timeline-hero-panel {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: #faf5ea;
  border: 1.5px solid var(--oxblood);
  border-radius: 3px;
  box-shadow: 0 4px 14px rgba(94, 19, 36, 0.06);
}

.timeline-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(94, 19, 36, 0.16);
  flex-shrink: 0;
}

.tl-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(94, 19, 36, 0.24);
  background: #f3ead9;
  color: #4a242c;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.14s ease;
}

.tl-filter-btn:hover {
  border-color: var(--oxblood);
  background: #ece0cb;
}

.tl-filter-btn.is-active {
  background: var(--oxblood);
  border-color: var(--oxblood);
  color: #faf5ea;
}

.tl-swatch {
  display: inline-block;
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
}

.tl-swatch-comeback {
  background: #d9381e;
}

.tl-swatch-streak {
  background: #5e1324;
}

.tl-filter-btn.is-active .tl-swatch-streak {
  background: #f4d6a8;
}

.tl-swatch-new {
  background: #0b5d44;
}

.tl-filter-btn.is-active .tl-swatch-new {
  background: #6ee7b7;
}

.timeline-scroll-viewport {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transform: translateZ(0);
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(94, 19, 36, 0.35) transparent;
}

.timeline-scroll-viewport::-webkit-scrollbar {
  width: 5px;
}

.timeline-scroll-viewport::-webkit-scrollbar-thumb {
  background: rgba(94, 19, 36, 0.32);
  border-radius: 3px;
}

.timeline-rows-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
}

.timeline-axis-sticky {
  flex-shrink: 0;
  padding-top: 2px;
}

.timeline-axis-svg {
  width: 100%;
  height: auto;
  display: block;
}

.timeline-scroll-cue {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8b5c66;
  margin-top: 1px;
}

.timeline-front-inspector {
  padding: 8px 10px;
  background: #f3ead9;
  border-left: 3px solid var(--vermilion);
  border-radius: 1px;
  font-size: 0.76rem;
  line-height: 1.35;
  color: #241216;
  max-height: 108px;
  overflow-y: auto;
  flex-shrink: 0;
}

.timeline-front-inspector .inspector-paper-heading {
  color: var(--oxblood);
}

.timeline-front-inspector .inspector-paper-link {
  color: #a62512 !important;
}

/* Back-Side First-Time Collaborator Chips Grid */
.newcomer-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-height: 86px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-width: thin;
}

.newcomer-chip {
  padding: 5px 9px;
  border-radius: 2px;
  border: 1px solid rgba(11, 93, 68, 0.35);
  background: #f4faf7;
  color: #0b4a36;
  font-family: var(--font-ui);
  font-size: 0.73rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.14s ease;
}

.newcomer-chip:hover {
  border-color: #0b5d44;
  background: #e3f3ec;
}

.newcomer-chip.is-selected {
  background: #0b5d44;
  border-color: #0b5d44;
  color: #ffffff;
}

/* ============================================================================
   PAGE 7: FIELD SIGHTINGS ARCHIVAL DISPATCH (`unexpected_room`)
   Crisp Slate-Mist Stock × Maritime Ink × Signal Terracotta Provenance Dossier
   ============================================================================ */
.page-sighting {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #edf1f5;
  color: #102235;
}

.page-sighting .page-folio-top {
  color: #102235;
  border-bottom: 2px solid #102235;
}

.sighting-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 24px 10px 28px;
}

.sighting-header-block {
  flex-shrink: 0;
}

.sighting-stamp-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 7px;
}

.sighting-lead-stamp {
  display: inline-block;
  padding: 3px 8px;
  border: 1.5px solid #c6431d;
  background: rgba(198, 67, 29, 0.08);
  color: #b13613;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sighting-loc-pill {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #3f556d;
}

.sighting-headline {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.55rem, 3vw, 2.02rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #102235;
}

.sighting-deck {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 0.84rem;
  line-height: 1.38;
  color: #3c5064;
}

.sighting-dossier-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(16, 34, 53, 0.22);
  border-left: 4px solid #c6431d;
  border-radius: 2px;
  box-shadow: 0 4px 14px rgba(16, 34, 53, 0.07);
  overflow: hidden;
  flex-shrink: 0;
}

.dossier-route-slot {
  padding: 9px 12px;
}

.dossier-route-slot.is-citing {
  background: #f8fafc;
}

.dossier-slot-kicker {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5b7085;
  margin-bottom: 3px;
}

.dossier-route-slot.is-citing .dossier-slot-kicker {
  color: #c6431d;
}

.dossier-paper-link {
  display: block;
  font-family: var(--font-editorial);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  color: #102235;
  text-decoration: none;
}

.dossier-paper-link:hover {
  color: #c6431d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dossier-link-arrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #c6431d;
}

.dossier-route-bridge {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: #102235;
  color: #f4f7fa;
  font-family: var(--font-mono);
  font-size: 0.61rem;
  line-height: 1.25;
}

.dossier-bridge-arrow {
  color: #f5b96e;
  font-weight: 700;
  flex-shrink: 0;
}

.dossier-bridge-label {
  color: #9bb5cf;
  letter-spacing: 0.07em;
  font-weight: 600;
  flex-shrink: 0;
}

.dossier-bridge-room {
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sighting-log-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sighting-log-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #4b6177;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(16, 34, 53, 0.18);
  flex-shrink: 0;
}

.sighting-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  flex-shrink: 0;
}

.sighting-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(16, 34, 53, 0.24);
  background: #ffffff;
  color: #294158;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.14s ease;
}

.sighting-filter-btn:hover {
  border-color: #102235;
}

.sighting-filter-btn.is-active {
  background: #102235;
  border-color: #102235;
  color: #ffffff;
}

.sighting-dot {
  display: inline-block;
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sighting-dot.is-med {
  background: #c6431d;
}

.sighting-dot.is-journal {
  background: #1c4d7a;
}

.sighting-dot.is-agency {
  background: #1f6f54;
}

.sighting-dot.is-other {
  background: #64748b;
}

.sighting-log-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  min-height: 0;
  overscroll-behavior: contain;
  transform: translateZ(0);
  padding-right: 2px;
}

.sighting-group-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sighting-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 3px;
  border-bottom: 1px solid rgba(16, 34, 53, 0.16);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #36506a;
}

.sighting-group-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sighting-group-count {
  color: #6b7f93;
}

.sighting-log-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 6px 8px;
  background: #ffffff;
  border: 1px solid rgba(16, 34, 53, 0.14);
  border-left: 3px solid transparent;
  border-radius: 2px;
  text-align: left;
  cursor: pointer;
  color: #102235;
  transition: all 0.13s ease;
}

.sighting-log-row.is-grouped {
  grid-template-columns: 1fr auto;
  padding: 5px 9px;
}

/* Back-Side Sighting Domain Mix Bar */
.sighting-mix-bar {
  display: flex;
  height: 14px;
  border-radius: 2px;
  overflow: hidden;
  gap: 2px;
  margin-bottom: 10px;
}

.sighting-mix-seg {
  display: block;
  height: 100%;
}

.sighting-mix-legend {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
}

.sighting-mix-chip {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 6px 9px;
  border: 1px solid rgba(20, 20, 19, 0.16);
  background: #faf8f2;
  border-radius: 2px;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.13s ease, border-color 0.13s ease;
}

.sighting-mix-chip:hover,
.sighting-mix-chip.is-selected {
  background: #f1ece0;
  border-color: var(--ink);
}

.sighting-mix-swatch {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.sighting-mix-lbl {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
}

.sighting-mix-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.sighting-log-row:hover {
  background: #f6f9fc;
  border-color: rgba(16, 34, 53, 0.34);
}

.sighting-log-row.is-active {
  background: #fff7f4;
  border-color: rgba(198, 67, 29, 0.45);
  border-left-color: #c6431d;
}

.sighting-cat-pill {
  display: inline-block;
  text-align: center;
  padding: 2px 5px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sighting-cat-pill.is-med {
  background: rgba(198, 67, 29, 0.13);
  color: #b13613;
}

.sighting-cat-pill.is-journal {
  background: #102235;
  color: #f4f7fa;
}

.sighting-cat-pill.is-agency {
  background: rgba(11, 93, 68, 0.14);
  color: #0b5d44;
}

.sighting-cat-pill.is-other {
  background: rgba(75, 97, 119, 0.14);
  color: #364b60;
}

.sighting-log-name {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sighting-log-meta {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: #5b7085;
  white-space: nowrap;
}

.page-sighting .page-folio-bottom {
  border-top: 1px solid rgba(16, 34, 53, 0.2);
  color: #4b6177;
}

/* Back-Side Unexpected Rooms Appendix Directory */
.appendix-sightings-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 152px;
  overflow-y: auto;
}

.appendix-sighting-row {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 6px 8px;
  background: #faf9f5;
  border: 1px solid rgba(20, 20, 19, 0.14);
  border-radius: 2px;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.13s ease;
}

.appendix-sighting-row:hover {
  background: #f2efe7;
  border-color: rgba(20, 20, 19, 0.34);
}

.appendix-sighting-row.is-selected {
  background: #102235;
  border-color: #102235;
  color: #ffffff;
}

.appendix-sighting-cat {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--vermilion);
}

.appendix-sighting-row.is-selected .appendix-sighting-cat {
  color: #f5b96e;
}

.appendix-sighting-name {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.appendix-sighting-loc {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--ink-muted);
  white-space: nowrap;
}

.appendix-sighting-row.is-selected .appendix-sighting-loc {
  color: #b7cadc;
}

/* ============================================================================
   PAGE 7: MONOGRAPH BLUEPRINT PLATE (`unexpected_room` / `deep_cut` / `era_shift` / fallback)
   Prussian Blueprint × Brass Drafting Lines
   ============================================================================ */
.page-blueprint {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--prussian);
  color: #f3eee2;
  background-image:
    linear-gradient(var(--prussian-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--prussian-grid) 1px, transparent 1px);
  background-size: 28px 28px;
}

.page-blueprint .page-folio-top {
  color: #e4bf74;
  border-bottom: 1px solid rgba(228, 191, 116, 0.28);
}

.blueprint-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 26px 14px 30px;
  min-height: 0;
}

.blueprint-plate-badge {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid #e4bf74;
  color: #e4bf74;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  align-self: flex-start;
  margin-bottom: 10px;
}

.blueprint-headline {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.95rem, 3.8vw, 2.75rem);
  line-height: 1.03;
  color: #ffffff;
}

.blueprint-deck {
  margin: 0 0 14px;
  font-family: var(--font-editorial);
  font-size: 0.94rem;
  line-height: 1.45;
  color: #cdd9e8;
}

.blueprint-schematic-wrap {
  margin: auto 0;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blueprint-schematic-svg {
  width: 100%;
  max-height: 158px;
  display: block;
}

.blueprint-callout-box {
  padding: 15px 16px;
  border: 1px solid rgba(228, 191, 116, 0.5);
  background: rgba(6, 17, 32, 0.55);
  border-radius: 2px;
}

.blueprint-callout-kicker {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: #e4bf74;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.blueprint-callout-big {
  font-family: var(--font-grotesk);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 6px;
}

.blueprint-callout-sub {
  font-family: var(--font-editorial);
  font-size: 0.84rem;
  color: #b7c8dd;
  line-height: 1.38;
}

.page-blueprint .page-folio-bottom {
  border-top: 1px solid rgba(228, 191, 116, 0.24);
  color: #b7c8dd;
}

/* ============================================================================
   FINAL PAGE: FIELD RESEARCH PASSPORT BACK COVER (`recap`)
   ============================================================================ */
.page-backcover {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 16px 10px 22px;
  background: #dfd5bc;
  color: #1d2d44;
  overflow: hidden;
}

.bc-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Prominent Back Cover Share & Nav Dock (centered cleanly clear of peel corner & folio) */
.backcover-actions.bc-bottom-bar {
  margin-top: 2px;
  padding: 6px 54px 4px;
  border-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.bc-secondary-row {
  width: 100%;
  max-width: 420px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.bc-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 3px;
  border: 1.5px solid rgba(29, 45, 68, 0.58);
  background: #fffdf8;
  color: #1d2d44;
  font-family: var(--font-grotesk);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 0 rgba(29, 45, 68, 0.14);
  transition: transform 0.12s ease, background 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease, color 0.14s ease;
}

.bc-action-btn:hover {
  background: #1d2d44;
  border-color: #1d2d44;
  color: #faf6ed;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(29, 45, 68, 0.22);
}

.bc-action-btn.is-primary {
  background: #c8331c;
  border-color: #9e210e;
  color: #fffdf8;
  box-shadow: 0 3px 0 rgba(120, 24, 10, 0.34), 0 8px 18px rgba(200, 51, 28, 0.24);
}

.bc-action-btn.is-share-hero {
  width: 100%;
  max-width: 420px;
  padding: 12px 20px;
  font-size: 0.9rem;
  letter-spacing: 0.07em;
}

.bc-share-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transform: translateY(-1px);
}

.bc-action-btn.is-primary:hover {
  background: #ad2713;
  border-color: #821b0b;
  color: #ffffff;
  box-shadow: 0 4px 0 rgba(120, 24, 10, 0.38), 0 10px 22px rgba(200, 51, 28, 0.3);
}

.bc-action-btn.is-copied {
  background: #0b5d44 !important;
  border-color: #074230 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 0 rgba(7, 66, 48, 0.3) !important;
}

/* ── FIELD RESEARCH PASSPORT SHEET ── */
.bc-passport-sheet {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background:
    repeating-radial-gradient(
      circle at 50% 48%,
      rgba(29, 45, 68, 0.028) 0 1px,
      transparent 1px 15px
    ),
    repeating-linear-gradient(
      -35deg,
      rgba(125, 84, 16, 0.018) 0 1px,
      transparent 1px 11px
    ),
    linear-gradient(180deg, #f8f2e2 0%, #f3ebd5 100%);
  border: 1.5px solid rgba(29, 45, 68, 0.46);
  box-shadow:
    inset 0 0 0 3px #f6f0df,
    inset 0 0 0 4px rgba(29, 45, 68, 0.15),
    0 5px 16px rgba(29, 45, 68, 0.12);
  border-radius: 3px;
  color: #1d2d44;
  overflow: hidden;
}

.bc-pass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 14px 5px;
  border-bottom: 1px solid rgba(29, 45, 68, 0.22);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: #465a75;
  flex-shrink: 0;
}

.bc-pass-bearer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 14px 7px;
  background: rgba(29, 45, 68, 0.032);
  border-bottom: 2.5px double rgba(29, 45, 68, 0.26);
  flex-shrink: 0;
}

.bc-pass-bearer-id {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bc-pass-bearer-lbl {
  font-family: var(--font-mono);
  font-size: 0.44rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #5b6e85;
}

.bc-pass-bearer-name {
  margin: 1px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.46rem;
  line-height: 0.98;
  color: #141c27;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bc-pass-bearer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  font-family: var(--font-mono);
}

.bc-pass-stamp-count {
  padding: 2px 7px;
  border: 1px solid rgba(29, 45, 68, 0.4);
  border-radius: 2px;
  font-size: 0.49rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #1d2d44;
  background: rgba(255, 255, 255, 0.45);
}

.bc-pass-edition {
  font-size: 0.44rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5b6e85;
}

/* ── FULL-PAGE STAMPS CANVAS ── */
.bc-pass-stamps-page {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  align-content: space-evenly;
  overflow: hidden;
  padding: 10px 14px;
  gap: 10px 12px;
}

.bc-pass-stamps-page.is-dense {
  padding: 6px 12px 7px;
  gap: 5px 10px;
}

.bc-pass-stamps-page.is-airy {
  padding: 14px 16px;
  gap: 14px 14px;
}

/* Base Ink Stamp */
.bc-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-mono);
  user-select: none;
  opacity: 0.94;
  max-width: 100%;
  box-sizing: border-box;
}

.bc-stamp.is-wide {
  grid-column: 1 / -1;
  width: 86% !important;
  max-width: 420px !important;
}

/* Archival Stamp Ink Palette */
.bc-stamp.is-cobalt { color: #1a4789; }
.bc-stamp.is-vermilion { color: #be331e; }
.bc-stamp.is-teal { color: #0d5c63; }
.bc-stamp.is-forest { color: #1d5a32; }
.bc-stamp.is-oxblood { color: #6e192d; }
.bc-stamp.is-plum { color: #5c246e; }
.bc-stamp.is-emerald { color: #0b5d44; }
.bc-stamp.is-brass { color: #7d5410; }
.bc-stamp.is-terracotta { color: #9d3219; }
.bc-stamp.is-slate { color: #283b56; }

/* Stamp Typography */
.bc-stamp-mini {
  font-size: 0.45rem;
  font-weight: 800;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  line-height: 1.15;
}

.bc-stamp-main {
  font-family: var(--font-grotesk);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
}

.bc-stamp-sub {
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  line-height: 1.18;
  opacity: 0.88;
}

.bc-pass-stamps-page.is-dense .bc-stamp-mini {
  font-size: 0.42rem;
  letter-spacing: 0.07em;
}

.bc-pass-stamps-page.is-dense .bc-stamp-main {
  font-size: 0.72rem;
  line-height: 1.1;
}

.bc-pass-stamps-page.is-dense .bc-stamp-sub {
  font-size: 0.43rem;
}

.bc-pass-stamps-page.is-airy .bc-stamp-mini {
  font-size: 0.5rem;
}

.bc-pass-stamps-page.is-airy .bc-stamp-main {
  font-size: 0.92rem;
}

.bc-pass-stamps-page.is-airy .bc-stamp-sub {
  font-size: 0.51rem;
}

/* 1. Circular Global Reach Seal (Cobalt) */
.bc-stamp-circle {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 2.4px solid currentColor;
  padding: 3.5px;
  background: rgba(26, 71, 137, 0.035);
}

.bc-pass-stamps-page.is-dense .bc-stamp-circle {
  width: 104px;
  height: 104px;
  padding: 3px;
}

.bc-pass-stamps-page.is-airy .bc-stamp-circle {
  width: 132px;
  height: 132px;
  padding: 4px;
}

.bc-stamp-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.2px dashed currentColor;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 4px;
}

.bc-stamp-big {
  font-family: var(--font-grotesk);
  font-size: 1.88rem;
  line-height: 0.94;
  font-weight: 700;
}

.bc-pass-stamps-page.is-dense .bc-stamp-big {
  font-size: 1.62rem;
}

.bc-pass-stamps-page.is-airy .bc-stamp-big {
  font-size: 2.2rem;
}

.bc-stamp-lbl {
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.bc-pass-stamps-page.is-dense .bc-stamp-lbl {
  font-size: 0.44rem;
}

/* 2. External Domains Customs Visa (Vermilion) */
.bc-stamp-visa {
  width: 100%;
  max-width: 224px;
  padding: 8px 10px 7px;
  border: 2.2px solid currentColor;
  box-shadow:
    inset 0 0 0 2.5px #f5eedc,
    inset 0 0 0 3.5px currentColor;
  background: rgba(190, 51, 30, 0.042);
  gap: 3px;
}

.bc-pass-stamps-page.is-dense .bc-stamp-visa {
  padding: 6px 9px 6px;
  gap: 2px;
}

.bc-stamp-visa-head {
  font-size: 0.46rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  border-bottom: 1.2px solid currentColor;
  padding-bottom: 2px;
  margin-bottom: 1px;
  width: 100%;
}

.bc-pass-stamps-page.is-dense .bc-stamp-visa-head {
  font-size: 0.42rem;
}

/* 3. Breakout Express Airmail Stamp (Teal) */
.bc-stamp-airmail {
  width: 100%;
  max-width: 222px;
  padding: 0 9px 7px;
  border: 2px solid currentColor;
  border-radius: 2px;
  background: rgba(13, 92, 99, 0.045);
  gap: 3px;
  overflow: hidden;
}

.bc-pass-stamps-page.is-dense .bc-stamp-airmail {
  padding: 0 8px 6px;
  gap: 2px;
}

.bc-stamp-airmail-bar {
  width: calc(100% + 18px);
  height: 5px;
  margin-bottom: 3px;
  background: repeating-linear-gradient(
    -50deg,
    currentColor 0 6px,
    transparent 6px 11px
  );
  opacity: 0.72;
  flex-shrink: 0;
}

.bc-pass-stamps-page.is-dense .bc-stamp-airmail-bar {
  height: 4px;
  margin-bottom: 2px;
}

/* 4. Evergreen Archival Crest (Forest Green) */
.bc-stamp-crest {
  width: 100%;
  max-width: 218px;
  padding: 8px 11px 9px;
  border: 2.2px solid currentColor;
  border-radius: 5px 5px 22px 22px;
  box-shadow: inset 0 0 0 2.5px #f5eedc, inset 0 0 0 3.4px rgba(29, 90, 50, 0.5);
  background: rgba(29, 90, 50, 0.042);
  gap: 3px;
}

.bc-pass-stamps-page.is-dense .bc-stamp-crest {
  padding: 6px 10px 7px;
  border-radius: 4px 4px 18px 18px;
  gap: 2px;
}

/* 5. Deep Cut Oval Customs Seal (Oxblood) */
.bc-stamp-oval {
  width: 100%;
  max-width: 224px;
  padding: 3px;
  border: 2.2px solid currentColor;
  border-radius: 50%;
  background: rgba(110, 25, 45, 0.04);
}

.bc-stamp-oval-inner {
  width: 100%;
  padding: 9px 14px;
  border: 1.1px dashed currentColor;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.bc-pass-stamps-page.is-dense .bc-stamp-oval-inner {
  padding: 7px 12px;
  gap: 1.5px;
}

/* 6. Sleeper Hit Resurgence Postmark (Plum) */
.bc-stamp-postmark {
  width: 100%;
  max-width: 222px;
  padding: 8px 10px;
  border: 2px dashed currentColor;
  border-radius: 4px;
  box-shadow: inset 4px 0 0 currentColor, inset -4px 0 0 currentColor;
  background: rgba(92, 36, 110, 0.045);
  gap: 3px;
}

.bc-pass-stamps-page.is-dense .bc-stamp-postmark {
  padding: 6px 10px;
  gap: 2px;
}

/* 7. Coinage / Signature Word Octagonal Approval Seal (Emerald) */
.bc-stamp-oct {
  width: 100%;
  max-width: 218px;
  padding: 8px 11px;
  border: 3px double currentColor;
  border-radius: 12px;
  background: rgba(11, 93, 68, 0.05);
  gap: 3px;
}

.bc-pass-stamps-page.is-dense .bc-stamp-oct {
  padding: 6px 10px;
  gap: 2px;
}

.bc-stamp-term {
  font-family: var(--font-grotesk);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.bc-pass-stamps-page.is-dense .bc-stamp-term {
  font-size: 0.92rem;
}

.bc-pass-stamps-page.is-airy .bc-stamp-term {
  font-size: 1.18rem;
}

/* 8. Co-Authors Boarding Ticket Stamp (Brass) */
.bc-stamp-boarding {
  width: 100%;
  max-width: 222px;
  padding: 7px 10px;
  border: 2px solid currentColor;
  border-left-width: 5px;
  border-right-width: 5px;
  border-radius: 3px;
  background: rgba(125, 84, 16, 0.05);
  gap: 3px;
}

.bc-pass-stamps-page.is-dense .bc-stamp-boarding {
  padding: 5.5px 9px;
  gap: 2px;
}

.bc-stamp-boarding .bc-stamp-mini {
  width: 100%;
  padding-bottom: 2px;
  border-bottom: 1px dashed currentColor;
}

/* 9. Reunion Endorsement Stamp (Terracotta) */
.bc-stamp-endorsement {
  width: 100%;
  max-width: 222px;
  padding: 7px 14px;
  border: 2px solid currentColor;
  border-radius: 999px;
  box-shadow: inset 0 0 0 2.5px #f5eedc, inset 0 0 0 3.5px currentColor;
  background: rgba(157, 50, 25, 0.045);
  gap: 2px;
}

.bc-pass-stamps-page.is-dense .bc-stamp-endorsement {
  padding: 6px 12px;
  gap: 1.5px;
}

/* 10. Archive Reach Official Ledger Postmark (Slate) */
.bc-stamp-ledger {
  width: 100%;
  max-width: 224px;
  padding: 7px 11px;
  border-top: 3px double currentColor;
  border-bottom: 3px double currentColor;
  border-left: 1.8px solid currentColor;
  border-right: 1.8px solid currentColor;
  background: rgba(40, 59, 86, 0.045);
  gap: 3px;
}

.bc-pass-stamps-page.is-dense .bc-stamp-ledger {
  padding: 5.5px 10px;
  gap: 2px;
}

.bc-stamp-ledger.is-wide {
  padding: 6.5px 18px;
}

/* Back-Side Flipped Issue Index Plate */
.appendix-issue-index {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.appendix-index-btn {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 9px;
  background: #faf9f5;
  border: 1px solid rgba(20, 20, 19, 0.16);
  border-left: 3px solid var(--vermilion);
  border-radius: 2px;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.13s ease;
}

.appendix-index-btn:hover {
  background: #f0ebe0;
}

.appendix-idx-num {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--vermilion);
}

.appendix-idx-title {
  font-family: var(--font-editorial);
  font-size: 0.78rem;
  line-height: 1.28;
}

.appendix-idx-go {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
}

/* ============================================================================
   INTERACTIVE EDITORIAL QUIZ GATE (Styled like a Printed Magazine Reader Poll)
   ============================================================================ */
.page-quiz-gate {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper-cream);
  color: var(--ink);
  overflow: hidden;
}

.editorial-quiz-overlay {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 28px 16px 32px;
  background: var(--paper-cream);
  color: var(--ink);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.editorial-quiz-kicker {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--vermilion);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.editorial-quiz-q {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1.1;
  color: var(--ink);
}

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

.quiz-option-btn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  text-align: left;
  background: var(--paper-bright);
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: 0.92rem;
  line-height: 1.34;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.14s ease;
}

.quiz-option-btn:hover {
  background: #f0e8d8;
  transform: translateX(3px);
}

.quiz-option-letter {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quiz-option-btn.is-correct {
  background: #e6f6ee;
  border-color: var(--emerald-deep);
  color: var(--emerald-deep);
}

.quiz-option-btn.is-wrong {
  background: #fdeceb;
  border-color: var(--vermilion);
  color: var(--vermilion-dark);
}

.quiz-skip-link {
  margin-top: 14px;
  align-self: flex-start;
  background: transparent;
  border: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: underline;
  cursor: pointer;
}

/* ============================================================================
   BACK FACE: SCIENTIFIC JOURNAL FIGURES & DATA APPENDIX
   Nature × Economist Light Academic Data Sheet — ZERO TEXT WALLS!
   ============================================================================ */
.appendix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 22px 12px 28px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-cream);
  flex-shrink: 0;
}

.appendix-header-meta {
  min-width: 0;
}

.appendix-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--vermilion);
  margin-bottom: 2px;
}

.appendix-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.24rem;
  line-height: 1.08;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.appendix-close-btn {
  padding: 6px 12px;
  border: 1.5px solid var(--ink);
  background: var(--paper-bright);
  color: var(--ink);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
}

.appendix-close-btn:hover {
  background: var(--ink);
  color: var(--paper-bright);
}

.appendix-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 13px 20px 54px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.appendix-scroll.is-centered {
  justify-content: center;
}

.figure-plate {
  background: #ffffff;
  border: 1px solid rgba(20, 20, 19, 0.18);
  border-top: 2.5px solid var(--ink);
  padding: 11px 13px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.figure-plate-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.figure-id {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--vermilion);
  letter-spacing: 0.1em;
}

.figure-caption {
  font-family: var(--font-grotesk);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}

.figure-hint {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--ink-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.figure-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.svg-interactive-bar,
.svg-interactive-node,
.svg-interactive-dot,
.svg-interactive-lollipop {
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.svg-interactive-bar:hover,
.svg-interactive-node:hover,
.svg-interactive-dot:hover,
.svg-interactive-lollipop:hover {
  opacity: 0.82;
}

.svg-interactive-dot.is-selected .dot-halo {
  opacity: 1 !important;
}

.svg-interactive-dot.is-selected .dot-core {
  fill: var(--vermilion) !important;
}

.svg-interactive-bar.is-selected .bar-rect:not(.is-semantic-bar) {
  fill: var(--vermilion) !important;
}

.svg-interactive-bar.is-selected .stacked-bar-frame {
  opacity: 1 !important;
}

.crew-roster-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1.5px solid var(--oxblood);
  padding-top: 12px;
}

.crew-roster-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 12px;
  padding: 7px 10px;
  background: #fbf7ee;
  border: 1px solid rgba(94, 19, 36, 0.22);
  border-left: 3px solid var(--brass);
}

.crew-roster-row:first-child {
  border-left-color: var(--oxblood);
}

.crew-roster-name {
  font-family: var(--font-editorial);
  font-size: 0.94rem;
  font-weight: 600;
  color: #241216;
}

.crew-roster-span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #6b3642;
}

.crew-roster-count {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--oxblood);
}

.inspector-paper-heading {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 6px;
}

.inspector-paper-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.inspector-paper-link {
  display: block;
  font-family: var(--font-editorial);
  font-size: 0.8rem;
  line-height: 1.32;
  color: var(--vermilion-dark) !important;
  text-decoration: none !important;
}

.inspector-paper-link:hover {
  text-decoration: underline !important;
}

.figure-inspector-bar {
  margin-top: 8px;
  padding: 8px 10px;
  background: var(--paper-cream);
  border-left: 3px solid var(--vermilion);
  font-size: 0.77rem;
  line-height: 1.35;
  color: var(--ink);
  max-height: 104px;
  overflow-y: auto;
  overscroll-behavior: contain;
  word-break: break-word;
  scrollbar-width: thin;
}

.figure-inspector-bar.is-newcomer-inspector {
  max-height: 98px;
}

/* Superfan Details Back: Complete Scrollable Citing Studies Ledger */
.superfan-all-studies-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 176px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-width: thin;
}

.superfan-study-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px;
  background: #faf9f5;
  border: 1px solid rgba(20, 20, 19, 0.14);
  border-left: 3px solid #141413;
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.13s ease, background 0.13s ease;
}

.superfan-study-row:hover {
  background: var(--paper-cream);
  border-left-color: var(--vermilion);
}

.superfan-study-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.superfan-study-row-title {
  font-family: var(--font-editorial);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.28;
  color: var(--ink);
}

.superfan-study-row-cnt {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--vermilion);
  white-space: nowrap;
  flex-shrink: 0;
}

.superfan-study-row-refs {
  font-family: var(--font-ui);
  font-size: 0.67rem;
  line-height: 1.3;
  color: var(--ink-muted);
}

.figure-inspector-bar a {
  color: var(--vermilion-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Compact Interactive Horizontal Bar Chart in Appendix */
.data-bars-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}

.data-bar-row {
  display: grid;
  grid-template-columns: 122px 1fr 38px;
  align-items: center;
  gap: 9px;
  padding: 3px 4px;
  border-radius: 2px;
  background: transparent;
  border: 0;
  text-align: left;
  width: 100%;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.12s ease;
}

.data-bar-row:hover {
  background: var(--paper-cream);
}

.data-bar-row.is-wide-label {
  grid-template-columns: 196px 1fr 28px;
  padding: 4px 6px;
}

.data-bar-row.is-selected {
  background: var(--paper-cream);
}

.data-bar-row.is-selected .data-bar-fill {
  background: var(--vermilion);
}

.data-bar-row.is-selected .data-bar-label,
.data-bar-row.is-selected .data-bar-val {
  color: var(--vermilion-dark);
}

.data-bar-label {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.data-bar-track {
  display: block;
  width: 100%;
  height: 11px;
  background: #ece7dc;
  border-radius: 1.5px;
  overflow: hidden;
}

.data-bar-fill {
  display: block;
  min-width: 6px;
  height: 100%;
  background: var(--ink);
  border-radius: 1.5px;
}

.data-bar-row:first-child .data-bar-fill {
  background: var(--vermilion);
}

.data-bar-val {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-align: right;
  color: var(--ink-soft);
}

/* Compact Clickable Reference Chips */
.appendix-refs-block {
  border-top: 1px solid rgba(20, 20, 19, 0.18);
  padding-top: 12px;
}

.appendix-refs-heading {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.appendix-ref-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.appendix-ref-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 19, 0.16);
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.76rem;
  line-height: 1.32;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.appendix-ref-link:hover {
  border-color: var(--vermilion);
  background: #fff9f7;
}

.appendix-ref-role {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vermilion);
  flex-shrink: 0;
}

.appendix-ref-title {
  flex: 1;
  font-family: var(--font-editorial);
}

.appendix-ref-arrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.appendix-footnote {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  line-height: 1.45;
  color: var(--ink-muted);
  border-top: 1px dotted rgba(20, 20, 19, 0.2);
  padding: 10px 44px 0;
  text-align: center;
}

/* ============================================================================
   PAGE 8: THE SUNDAY MINI CROSSWORD (`research_games`)
   NYT Sunday Mini × The New Yorker Broadsheet Print Aesthetic
   ============================================================================ */
.page-games {
  height: 100%;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 86% 10%, rgba(217, 56, 30, 0.035), transparent 42%),
    var(--paper-cream);
  color: var(--ink);
  overflow: hidden;
}

.page-games .page-folio-top {
  color: var(--ink);
  border-bottom: 1px solid rgba(20, 20, 19, 0.25);
  padding-top: 12px;
  padding-bottom: 7px;
}

.page-games .page-folio-bottom {
  color: var(--ink);
  border-top: 1px solid rgba(20, 20, 19, 0.22);
  padding-top: 7px;
  padding-bottom: 10px;
}

.games-masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 24px 8px 28px;
  border-bottom: 3px double var(--ink);
  flex-shrink: 0;
}

.games-masthead-left {
  min-width: 0;
}

.games-masthead-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.78rem;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.games-masthead-deck {
  margin: 3px 0 0;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.games-progress-stamp {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: var(--paper-bright);
  color: var(--ink);
  min-width: 58px;
  text-align: center;
}

.games-progress-stamp.is-complete {
  background: var(--emerald-deep);
  border-color: var(--emerald-deep);
  color: #f6f2e8;
}

.games-stage {
  flex: 1;
  min-height: 0;
  padding: 10px 24px 8px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.games-empty-note {
  padding: 36px 28px;
  font-family: var(--font-editorial);
  font-style: italic;
  color: var(--ink-soft);
}

.game-panel-mini-dedicated {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.game-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 2px;
  font-family: var(--font-grotesk);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1.5px solid var(--ink);
  transition: background 0.13s ease, color 0.13s ease, transform 0.1s ease, opacity 0.13s ease;
}

.game-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.game-btn-ghost {
  background: var(--paper-bright);
  color: var(--ink);
}

.game-btn-ghost:hover:not(:disabled) {
  background: #ebe4d4;
}

.game-btn-ink {
  background: var(--ink);
  color: var(--paper-bright);
}

.game-btn-ink:hover:not(:disabled) {
  background: #2f2d29;
}

.mini-active-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 11px;
  background: var(--ink);
  color: var(--paper-bright);
  border-radius: 2px;
  flex-shrink: 0;
}

.mini-active-clue {
  font-family: var(--font-editorial);
  font-size: 0.84rem;
  line-height: 1.24;
  min-width: 0;
}

.mini-dir-pill {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  border: 1px solid rgba(251, 250, 245, 0.35);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  color: #ebd56e;
  cursor: pointer;
}

.mini-dir-pill:hover {
  background: rgba(235, 213, 110, 0.22);
  border-color: #ebd56e;
}

.mini-top-stage {
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  flex-shrink: 0;
}

.mini-grid-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-grid {
  width: 220px;
  height: 220px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  border: 2px solid var(--ink);
  background: var(--ink);
  gap: 1px;
  box-shadow: 3px 3px 0 rgba(20, 20, 19, 0.14);
}

.mini-cell {
  position: relative;
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-cell.is-block {
  background: var(--ink);
}

.mini-cell.is-letter {
  background: var(--paper-bright);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.1s ease;
}

.mini-cell.is-word {
  background: #f6e8b5;
}

.mini-cell.is-active {
  background: #efc652;
}

.mini-cell.is-solved {
  background: #e4f3e9;
}

.mini-cell.is-solved.is-active {
  background: #c5e6d1;
}

.mini-cell.is-wrong::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: linear-gradient(
    to top right,
    transparent calc(50% - 1px),
    rgba(217, 56, 30, 0.85) calc(50% - 1px),
    rgba(217, 56, 30, 0.85) calc(50% + 1px),
    transparent calc(50% + 1px)
  );
  pointer-events: none;
}

.mini-cell.is-revealed::before {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3b6ea5;
}

.mini-cell-num {
  position: absolute;
  top: 2px;
  left: 3px;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink-soft);
  pointer-events: none;
}

.mini-cell-char {
  font-family: var(--font-grotesk);
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 4px;
  pointer-events: none;
}

.mini-hidden-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.mini-side-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.mini-theme-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px;
  background: var(--paper-bright);
  border: 1px solid rgba(20, 20, 19, 0.22);
  border-left: 3.5px solid var(--vermilion);
  border-radius: 2px;
}

.mini-theme-kicker {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.mini-theme-domain {
  font-family: var(--font-grotesk);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}

.mini-theme-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.mini-progress-pill {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  background: rgba(20, 20, 19, 0.06);
  padding: 2px 6px;
  border-radius: 99px;
}

.mini-progress-pill.is-done {
  background: rgba(11, 93, 68, 0.14);
  color: #0b5d44;
}

.mini-theme-legend {
  margin-top: 3px;
  font-family: var(--font-editorial);
  font-size: 0.76rem;
  line-height: 1.28;
  color: var(--ink-soft);
}

/* Lexicon Back: 2026 Concordance & Title Craft Appendix */
.lex-conc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.lex-conc-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--paper-cream);
  border: 1px solid rgba(20, 20, 19, 0.24);
  border-radius: 2px;
  font-family: var(--font-grotesk);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.14s ease;
}

.lex-conc-tab:hover {
  border-color: var(--ink);
  background: #ede6d6;
}

.lex-conc-tab.is-active {
  background: #141413;
  border-color: #141413;
  color: #d9ff40;
}

.lex-conc-tab-cnt {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  opacity: 0.75;
}

.lex-conc-panel {
  padding: 10px 12px;
  background: var(--paper-cream);
  border-left: 3px solid var(--vermilion);
  border-radius: 0 2px 2px 0;
}

.lex-conc-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(20, 20, 19, 0.12);
}

.lex-conc-word-chip {
  font-family: var(--font-grotesk);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}

.lex-conc-stat {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--vermilion-dark);
}

.lex-conc-papers {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 158px;
  overflow-y: auto;
  padding-right: 2px;
}

.lex-conc-paper {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  background: var(--paper-bright);
  border: 1px solid rgba(20, 20, 19, 0.12);
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: 0.81rem;
  line-height: 1.32;
  transition: border-color 0.13s ease, background 0.13s ease;
}

.lex-conc-paper:hover {
  border-color: var(--vermilion);
  background: #fffcf6;
}

.lex-conc-paper-arrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--vermilion);
  flex-shrink: 0;
}

.lex-conc-hl {
  background: rgba(217, 56, 30, 0.16);
  color: #9e210e;
  font-weight: 700;
  padding: 0 2px;
  border-radius: 2px;
}

.lex-title-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.lex-tstat {
  padding: 8px 10px;
  background: var(--paper-cream);
  border: 1px solid rgba(20, 20, 19, 0.18);
  border-radius: 2px;
  text-align: center;
}

.lex-tstat.is-clickable {
  cursor: pointer;
  transition: all 0.14s ease;
}

.lex-tstat.is-clickable:hover {
  border-color: var(--ink);
  background: #ede6d6;
}

.lex-tstat.is-clickable.is-active {
  background: #141413;
  border-color: #141413;
  color: #faf6ed;
}

.lex-tstat.is-clickable.is-active .lex-tstat-val {
  color: #d9ff40;
}

.lex-tstat.is-clickable.is-active .lex-tstat-lbl {
  color: rgba(250, 246, 237, 0.78);
}

.lex-pattern-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 176px;
  overflow-y: auto;
  padding-right: 3px;
}

.lex-pattern-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 9px;
  background: #faf9f5;
  border: 1px solid rgba(20, 20, 19, 0.12);
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: 0.79rem;
  line-height: 1.3;
  transition: border-color 0.13s ease, background 0.13s ease;
}

.lex-pattern-row:hover {
  background: var(--paper-cream);
  border-color: var(--vermilion);
}

.lex-pattern-wc {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--vermilion);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================================
   REDESIGNED DIALOGUE, SIGHTINGS SPOTLIGHT & DEEP CUT ARCHIVAL REPRINT
   ============================================================================ */
.globe-header-zone {
  padding: 22px 28px 10px 32px;
}

.lexicon-body,
.collab-timeline-body {
  padding-top: 22px;
}

.games-masthead {
  padding-top: 20px;
}

/* Visual Citation Exchange Dialogue Page */
.dialogue-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 30px 10px 34px;
}

.dialogue-header {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid rgba(20, 20, 19, 0.22);
}

.dialogue-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--vermilion);
}

.dialogue-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 4.6vw, 3.25rem);
  line-height: 0.96;
  color: var(--ink);
}

.dialogue-inst {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.dialogue-exchange-banner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--paper-bright);
  border: 1.5px solid var(--ink);
  border-radius: 3px;
}

.dialogue-ex-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

.dialogue-ex-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 0.92;
  color: var(--ink);
}

.dialogue-ex-stat.is-accent .dialogue-ex-num {
  color: var(--vermilion);
}

.dialogue-ex-lbl {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.dialogue-ex-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--vermilion);
}

.dialogue-ex-verb {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.dialogue-ex-arrow {
  font-size: 1.3rem;
  line-height: 0.85;
  font-weight: 700;
}

.dialogue-feed-section {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dialogue-feed-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.dialogue-feed-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
  overscroll-behavior: contain;
  transform: translateZ(0);
}

.dialogue-study-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: var(--paper-bright);
  border: 1px solid rgba(20, 20, 19, 0.16);
  border-left: 3px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.14s ease, background 0.14s ease;
}

.dialogue-study-card:hover {
  border-left-color: var(--vermilion);
  background: #fffcf6;
}

.dialogue-study-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.dialogue-study-title {
  font-family: var(--font-editorial);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.dialogue-study-arrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--vermilion);
  flex-shrink: 0;
}

.dialogue-cited-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.dialogue-cited-pill {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  padding: 2px 6px;
  background: rgba(20, 20, 19, 0.06);
  color: var(--ink-soft);
  border-radius: 2px;
}

/* Airy Field Sightings Redesign */
.page-sighting .sighting-body {
  padding: 24px 26px 8px 32px;
  gap: 12px;
}

.sighting-spotlight {
  background: #ffffff;
  border: 1px solid rgba(16, 34, 53, 0.22);
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(16, 34, 53, 0.06);
}

.spotlight-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: #102235;
  color: #f4f7fa;
}

.spotlight-room {
  font-family: var(--font-grotesk);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotlight-loc {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a9c1d9;
  white-space: nowrap;
  flex-shrink: 0;
}

.spotlight-links {
  display: flex;
  flex-direction: column;
}

.spotlight-link-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  text-decoration: none;
  color: #102235;
  border-top: 1px solid rgba(16, 34, 53, 0.1);
  transition: background 0.13s ease;
}

.spotlight-link-row:first-child {
  border-top: 0;
}

.spotlight-link-row:hover {
  background: #f5f8fb;
}

.spotlight-role {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #5b7085;
  white-space: nowrap;
}

.spotlight-link-row.is-citing .spotlight-role {
  color: #c6431d;
}

.spotlight-title {
  font-family: var(--font-editorial);
  font-size: 0.81rem;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spotlight-arrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #c6431d;
}

.page-sighting .sighting-log-row.is-grouped {
  padding: 7px 10px;
}

/* Bespoke Deep Cut Archival Reprint Page */
.page-deepcut {
  height: 100%;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 86% 14%, rgba(169, 120, 34, 0.12) 0%, transparent 48%),
    linear-gradient(170deg, #f6f0e1 0%, #ede4cf 100%);
  color: #132a1e;
}

.deepcut-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 26px 30px 10px 34px;
}

.deepcut-era-band {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #132a1e;
}

.deepcut-year-giant {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6.2vw, 4.4rem);
  line-height: 0.84;
  letter-spacing: -0.03em;
  color: #132a1e;
}

.deepcut-age-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 4px 9px;
  border: 1.5px solid #9a6f28;
  color: #7c5618;
  background: rgba(169, 120, 34, 0.1);
  border-radius: 2px;
}

.deepcut-headline {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  line-height: 1.04;
  color: #132a1e;
}

.deepcut-deck {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 0.9rem;
  line-height: 1.44;
  color: #31493c;
}

.deepcut-bridge-cards {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.deepcut-record {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 14px;
  background: rgba(255, 253, 247, 0.85);
  border: 1px solid rgba(19, 42, 30, 0.2);
  border-left: 3.5px solid #132a1e;
  border-radius: 2px;
  text-decoration: none;
  color: #132a1e;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.deepcut-record.is-recent {
  border-left-color: #c9361c;
}

.deepcut-record:hover {
  background: #ffffff;
}

.deepcut-rec-kicker {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #6b6355;
}

.deepcut-record.is-recent .deepcut-rec-kicker {
  color: #c9361c;
}

.deepcut-rec-title {
  font-family: var(--font-editorial);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.32;
}

.deepcut-rec-arrow {
  color: #c9361c;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.deepcut-pulse-wrap {
  padding: 10px 12px 6px;
  background: rgba(255, 253, 247, 0.65);
  border: 1px solid rgba(19, 42, 30, 0.15);
  border-radius: 2px;
}

.deepcut-pulse-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5b695f;
  margin-bottom: 2px;
}

.deepcut-pulse-svg {
  width: 100%;
  height: 62px;
  display: block;
}

.page-deepcut .page-folio-bottom {
  border-top: 1px solid rgba(19, 42, 30, 0.18);
  color: #132a1e;
}

.page-backcover .backcover-actions {
  justify-content: center;
  padding: 6px 52px 4px;
}

.lex-tstat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.48rem;
  line-height: 1;
  color: var(--ink);
}

.lex-tstat-lbl {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.lex-extremes-grid {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.lex-extreme-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  background: #faf9f5;
  border: 1px solid rgba(20, 20, 19, 0.14);
  border-left: 3px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.14s ease, background 0.14s ease;
}

.lex-extreme-card:hover {
  background: var(--paper-cream);
  border-left-color: var(--vermilion);
}

.lex-extreme-kicker {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--vermilion);
}

.lex-extreme-title {
  font-family: var(--font-editorial);
  font-size: 0.81rem;
  line-height: 1.32;
  color: var(--ink);
}

.mini-theme-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 3px;
}

.mini-stat-chip {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(20, 20, 19, 0.07);
  color: var(--ink-soft);
}

.mini-stat-chip.is-personal {
  background: rgba(217, 56, 30, 0.1);
  color: var(--vermilion-dark);
}

.mini-side-toast {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 2px;
  background: var(--ink);
  color: #ebd56e;
  line-height: 1.25;
}

.mini-toolbar-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-toolbar-grid .game-btn {
  flex: 1 1 auto;
  padding: 6px 8px;
}

.mini-kbd-tip {
  font-family: var(--font-mono);
  font-size: 0.59rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

.mini-star {
  color: var(--vermilion);
  font-style: normal;
  font-weight: 700;
}

/* Side-by-side 2-column classic newspaper clue layout */
.mini-clues-two-col {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 8px;
  border-top: 1.5px solid var(--ink);
  overflow-y: auto;
}

.mini-clue-section {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mini-clue-section:first-child {
  padding-right: 10px;
  border-right: 1px solid rgba(20, 20, 19, 0.16);
}

.mini-clue-heading {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
  border-bottom: 1px solid rgba(20, 20, 19, 0.35);
  padding-bottom: 3px;
  margin-bottom: 5px;
}

.mini-clue-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-clue-row {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 5px;
  align-items: baseline;
  text-align: left;
  width: 100%;
  padding: 4px 5px;
  border: none;
  border-left: 2.5px solid transparent;
  background: transparent;
  color: var(--ink);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.1s ease, border-color 0.1s ease;
}

.mini-clue-row:hover {
  background: rgba(20, 20, 19, 0.05);
}

.mini-clue-row.is-active {
  background: #f6e8b5;
  border-left-color: var(--vermilion);
}

.mini-clue-row.is-filled .mini-clue-txt {
  opacity: 0.56;
  text-decoration: line-through;
  text-decoration-color: rgba(20, 20, 19, 0.35);
}

.mini-clue-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.mini-clue-txt {
  font-family: var(--font-editorial);
  font-size: 0.76rem;
  line-height: 1.26;
}

/* ── CARD BACK: OFFICIAL ANSWER KEY & PROVENANCE ── */
.ak-mini-layout {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.mini-answer-svg {
  display: block;
  border: 1px solid rgba(20, 20, 19, 0.25);
  border-radius: 2px;
  background: var(--paper-bright);
}

.ak-mini-provenance {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ak-mini-subhead {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--vermilion-dark);
}

.ak-mini-row {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 0.76rem;
  line-height: 1.3;
}

.ak-mini-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink);
}

.ak-mini-prov {
  font-family: var(--font-editorial);
  color: var(--ink-soft);
}

.ak-mini-prov a {
  color: inherit;
  font-family: var(--font-mono);
  font-weight: 700;
  text-decoration: none;
}

.ak-research-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

@keyframes gameShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

@keyframes gamePopIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes wordleFlip {
  0% { transform: rotateX(0deg); }
  50% { transform: rotateX(85deg); }
  100% { transform: rotateX(0deg); }
}

/* ============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================ */
@media (max-width: 720px) {
  .composer-row {
    grid-template-columns: 1fr;
  }

  .masthead-meta {
    display: none;
  }

  .masthead-inner {
    justify-content: center;
  }

  .press-stepper {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-turn-btn {
    width: 34px;
    height: 60px;
    border-radius: 3px;
  }

  .turn-arrow {
    font-size: 1.65rem;
  }

  .turn-caption {
    display: none;
  }

  .reader-stage {
    gap: 8px;
    padding: 8px 6px;
  }

  .magazine-sheet {
    width: min(520px, calc(100vw - 92px));
    height: calc(100dvh - 20px);
    max-width: calc(100vw - 92px);
    aspect-ratio: auto;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
  }

  .reader-bottombar {
    flex-direction: column;
    padding: 8px 12px 10px;
    gap: 6px;
  }

  .mobile-turn-controls {
    display: flex;
  }

  .reader-kbd-hint {
    display: none;
  }

  .cover-centerpiece {
    grid-template-columns: 1fr;
  }

  .cover-art-frame {
    max-height: 140px;
    min-height: 110px;
  }

  .reader-issue-vol {
    display: none;
  }

  .games-masthead {
    padding: 8px 14px 8px 18px;
  }

  .games-masthead-title {
    font-size: 1.42rem;
  }

  .games-stage {
    padding: 8px 14px 8px 18px;
    overflow-y: auto;
  }

  .lex-w-key {
    min-width: 26px;
    height: 32px;
    font-size: 0.7rem;
  }

  .lex-w-key.is-wide {
    min-width: 44px;
  }

  .mini-top-stage {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mini-clues-two-col {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mini-clue-section:first-child {
    padding-right: 0;
    border-right: none;
  }

  .ak-mini-layout,
  .ak-research-grid {
    grid-template-columns: 1fr;
  }
}

/* Scrollable Full Bipartite Graph (Dialogue Back — Zero "Top X of Y" truncation!) */
.bipartite-sticky-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  border-bottom: 1px solid rgba(20, 20, 19, 0.14);
  background: #f8f5ee;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #43413d;
}

.bipartite-sticky-head .is-right {
  color: var(--vermilion);
}

.bipartite-scroll-wrap {
  width: 100%;
  background: #ffffff;
}

.bipartite-scroll-wrap.is-scrollable {
  max-height: 256px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-right: 2px;
}

.sighting-dot.is-culture { background: #8c2d6e; }
.sighting-dot.is-aerospace { background: #1b4b8a; }
.sighting-dot.is-biotech { background: #156650; }
.sighting-dot.is-climate { background: #2e6b3e; }

.superfan-study-row.is-cited-paper {
  border-left-color: var(--vermilion);
}

/* Deep Cut Details Back: Archival Dossier, All 2026 Citing Studies, & Vintage Archive */
.deepcut-dossier-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.dc-stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  background: #f6f2e8;
  border: 1px solid rgba(20, 20, 19, 0.14);
  border-radius: 2px;
  text-align: center;
}

.dc-stat-cell.is-accent {
  background: #132a1e;
  border-color: #132a1e;
  color: #f6f1e4;
}

.dc-stat-val {
  font-family: var(--font-display);
  font-size: 1.38rem;
  line-height: 1;
  color: var(--ink);
}

.dc-stat-cell.is-accent .dc-stat-val {
  color: #f3c87a;
}

.dc-stat-lbl {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  line-height: 1.2;
}

.dc-stat-cell.is-accent .dc-stat-lbl {
  color: rgba(246, 241, 228, 0.78);
}

.deepcut-origin-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  margin-bottom: 10px;
  background: #faf7f0;
  border-left: 2.5px solid #132a1e;
  font-size: 0.74rem;
  line-height: 1.38;
  color: #32302c;
}

.dc-meta-k {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6b655a;
  margin-right: 6px;
}

.deepcut-citing-list,
.deepcut-archive-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 205px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-width: thin;
}

.deepcut-citing-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  background: #faf9f5;
  border: 1px solid rgba(20, 20, 19, 0.14);
  border-left: 3px solid var(--vermilion);
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.12s ease;
}

.deepcut-citing-row:hover {
  background: #f2ecde;
}

.deepcut-citing-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.deepcut-citing-title {
  font-family: var(--font-editorial);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.deepcut-citing-arrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--vermilion);
  flex-shrink: 0;
}

.deepcut-citing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.dc-tag {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  padding: 1px 5px;
  border-radius: 2px;
  background: rgba(20, 20, 19, 0.06);
  color: #4f4b44;
}

.deepcut-archive-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  background: #faf9f5;
  border: 1px solid rgba(20, 20, 19, 0.14);
  border-left: 3px solid #132a1e;
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.12s ease;
}

.deepcut-archive-row:hover {
  background: #f2ecde;
}

.dc-arch-yr {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #132a1e;
}

.dc-arch-main {
  min-width: 0;
}

.dc-arch-title {
  font-family: var(--font-editorial);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.26;
  color: var(--ink);
}

.dc-arch-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

.dc-arch-cites {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--vermilion);
  white-space: nowrap;
}

/* ============================================================================
   TOUCHSTONE / PAPER SPOTLIGHT (`biggest_hit`, `sleeper_hit`, `new_release`, etc.)
   TWO-PANEL BRIDGE (`era_shift`, `double_feature`, `research_shift`)
   & VERBATIM QUOTE FEATURE (`helped_build`)
   ============================================================================ */
.page-touchstone,
.page-bridge,
.page-quote-feature {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #f8f4ea;
  color: #161513;
  position: relative;
}

.touchstone-body,
.bridge-body,
.quote-feature-body {
  flex: 1;
  min-height: 0;
  padding: 22px 24px 12px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.touchstone-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 15px;
  background: #1b2a22;
  color: #f7f3e8;
  border-radius: 3px;
  border-bottom: 3px solid var(--vermilion);
}

.page-touchstone.is-sleeper .touchstone-banner {
  background: #221c33;
  border-bottom-color: #d9a441;
}

.page-touchstone.is-release .touchstone-banner {
  background: #14263a;
  border-bottom-color: #4aa3df;
}

.touchstone-banner-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.touchstone-banner-divider {
  width: 1px;
  height: 34px;
  background: rgba(247, 243, 232, 0.2);
  flex-shrink: 0;
}

.ts-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 0.96;
  color: #f3c87a;
  letter-spacing: -0.02em;
}

.ts-stat-num.is-sub {
  font-size: 1.42rem;
  color: #f7f3e8;
}

.ts-stat-lbl {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: rgba(247, 243, 232, 0.72);
  text-transform: uppercase;
}

.touchstone-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border: 1px solid rgba(243, 200, 122, 0.45);
  border-radius: 2px;
  color: #f3c87a;
  white-space: nowrap;
  align-self: flex-start;
}

.touchstone-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid #161513;
}

.touchstone-kicker {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--vermilion);
}

.touchstone-venue-pill {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  color: #4f4b44;
  background: rgba(20, 20, 19, 0.06);
  padding: 2px 7px;
  border-radius: 2px;
}

.touchstone-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.touchstone-headline {
  font-family: var(--font-display);
  font-size: 1.52rem;
  line-height: 1.12;
  font-weight: 400;
  color: #141413;
  margin: 0;
}

.touchstone-deck {
  font-family: var(--font-editorial);
  font-size: 0.87rem;
  line-height: 1.44;
  color: #4b4740;
  margin: 0;
}

.touchstone-paper-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px;
  background: #fffdf8;
  border: 1px solid rgba(20, 20, 19, 0.16);
  border-left: 4px solid var(--vermilion);
  border-radius: 3px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 6px rgba(20, 20, 19, 0.04);
  transition: background 0.14s ease, border-color 0.14s ease;
}

.touchstone-paper-card:hover {
  background: #f3ede0;
}

.ts-paper-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ts-paper-kicker {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #5b554c;
  text-transform: uppercase;
}

.ts-paper-arrow {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--vermilion);
  white-space: nowrap;
}

.ts-paper-title {
  font-family: var(--font-editorial);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.3;
  color: #141413;
}

.ts-paper-authors {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: #5e5a52;
  line-height: 1.3;
}

.touchstone-citing-section {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.touchstone-citing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #5b554c;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(20, 20, 19, 0.14);
}

.touchstone-citing-list {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 4px;
  scrollbar-width: thin;
}

.ts-citing-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  background: rgba(255, 253, 248, 0.85);
  border: 1px solid rgba(20, 20, 19, 0.12);
  border-left: 2.5px solid #1b2a22;
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s ease;
}

.ts-citing-row:hover {
  background: #efe8d8;
}

.ts-citing-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.ts-citing-title {
  font-family: var(--font-editorial);
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.28;
  color: #181715;
}

.ts-citing-arrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--vermilion);
  flex-shrink: 0;
}

.ts-citing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ts-citing-pill {
  font-family: var(--font-mono);
  font-size: 0.57rem;
  color: #4f4b44;
  background: rgba(20, 20, 19, 0.06);
  padding: 1px 6px;
  border-radius: 2px;
}

.touchstone-abstract-note {
  padding: 12px 14px;
  background: #fffdf8;
  border: 1px solid rgba(20, 20, 19, 0.12);
  border-radius: 3px;
  font-family: var(--font-editorial);
  font-size: 0.84rem;
  line-height: 1.48;
  color: #36332e;
}

.bridge-panels {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.bridge-panel {
  flex: 0 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 13px 15px;
  background: #fffdf8;
  border: 1px solid rgba(20, 20, 19, 0.14);
  border-left: 3.5px solid #1b2a22;
  border-radius: 3px;
}

.bridge-panel.is-recent {
  border-left-color: var(--vermilion);
}

.bridge-panel-kicker {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #5b554c;
}

.bridge-paper-list {
  flex: 0 1 auto;
  max-height: 175px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bridge-paper-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  background: #f8f4ea;
  border-radius: 2px;
  text-decoration: none;
  color: #161513;
  font-family: var(--font-editorial);
  font-size: 0.8rem;
  line-height: 1.28;
}

.bridge-paper-row:hover {
  background: #efe7d5;
}

.bridge-paper-meta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--vermilion);
  white-space: nowrap;
}

.bridge-arrow-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--vermilion);
  line-height: 1;
}

.quote-feature-body {
  justify-content: center;
  gap: 18px;
}

.quote-feature-pull {
  margin: 2px 0;
  padding: 14px 16px 14px 20px;
  background: #fffdf8;
  border: 1px solid rgba(20, 20, 19, 0.14);
  border-left: 4px solid var(--vermilion);
  border-radius: 3px;
  position: relative;
}

.quote-feature-mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 0.65;
  color: var(--vermilion);
  display: block;
  margin-bottom: 6px;
}

.quote-feature-text {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.48;
  color: #1f1d1a;
  margin: 0;
}

.appendix-quote-box {
  margin: 6px 0 0;
  padding: 10px 12px;
  background: #faf7f0;
  border-left: 3px solid var(--vermilion);
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 0.82rem;
  line-height: 1.48;
  color: #262420;
}

/* ============================================================================
   DISTRIBUTION-FIRST FIELD SIGHTINGS (`unexpected_room`)
   ============================================================================ */
.page-sighting.is-dist-first .sighting-body {
  padding: 20px 24px 10px;
  gap: 11px;
}

.sighting-compact-head {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sighting-kicker-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sighting-kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--vermilion);
}

.sighting-count-pill {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 2px;
  background: #102235;
  color: #f7f4ec;
}

.page-sighting.is-dist-first .sighting-headline {
  font-family: var(--font-display);
  font-size: 1.82rem;
  line-height: 1.06;
  margin: 0;
  color: #102235;
}

.sighting-dist-hero {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px 13px;
  background: #ffffff;
  border: 1px solid rgba(16, 34, 53, 0.14);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(16, 34, 53, 0.04);
}

.sighting-dist-bar {
  display: flex;
  width: 100%;
  height: 16px;
  border-radius: 3px;
  overflow: hidden;
  gap: 2px;
  background: rgba(16, 34, 53, 0.06);
}

.sighting-dist-seg {
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.sighting-dist-seg:hover {
  filter: brightness(1.12);
}

.sighting-dist-seg.is-dimmed {
  opacity: 0.24;
}

.sighting-dist-seg.is-selected {
  box-shadow: inset 0 0 0 2px #ffffff;
}

.page-sighting.is-dist-first .sighting-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
}

.page-sighting.is-dist-first .sighting-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  font-size: 0.64rem;
}

.page-sighting.is-dist-first .sighting-filter-btn b {
  font-family: var(--font-mono);
  font-weight: 700;
  opacity: 0.78;
}

.sighting-log-panel.is-primary-directory {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sighting-dir-hint {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: #6b7280;
  text-transform: uppercase;
}

.sighting-accordion-item {
  display: flex;
  flex-direction: column;
  border-radius: 3px;
  overflow: hidden;
}

.sighting-log-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.sighting-log-chev {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--vermilion);
  width: 14px;
  text-align: center;
}

.sighting-inline-receipt {
  background: #ffffff;
  border: 1px solid rgba(198, 67, 29, 0.35);
  border-top: 0;
  border-radius: 0 0 3px 3px;
  padding: 4px 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sighting-inline-receipt .spotlight-link-row {
  padding: 5px 4px;
}

/* ============================================================================
   TOUCHSTONE REACH & VELOCITY LENS (`biggest_hit`)
   ============================================================================ */
.ts-reach-hero {
  display: grid;
  grid-template-columns: 1.15fr 1px 0.85fr;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  background: #132a1e;
  color: #f7f3e8;
  border-radius: 3px;
  border-bottom: 3px solid var(--vermilion);
}

.ts-reach-metric {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.ts-reach-divider {
  width: 1px;
  height: 44px;
  background: rgba(247, 243, 232, 0.22);
}

.ts-reach-val {
  font-family: var(--font-display);
  font-size: 2.15rem;
  line-height: 0.95;
  color: #f3c87a;
}

.ts-reach-val.is-sub {
  font-size: 1.5rem;
  color: #f7f3e8;
}

.ts-reach-lbl {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(247, 243, 232, 0.78);
}

.ts-reach-gauge {
  margin-top: 4px;
  width: 100%;
  height: 5px;
  border-radius: 99px;
  background: rgba(247, 243, 232, 0.16);
  overflow: hidden;
}

.ts-reach-gauge > span {
  display: block;
  height: 100%;
  background: #f3c87a;
  border-radius: 99px;
}

.ts-reach-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ts-reach-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  color: #36332e;
  background: #fffdf8;
  border: 1px solid rgba(20, 20, 19, 0.16);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.12s ease;
}

.ts-reach-chip b {
  opacity: 0.72;
}

.ts-reach-chip:hover {
  background: #f0e8d8;
}

.ts-reach-chip.is-active {
  background: #132a1e;
  border-color: #132a1e;
  color: #f7f3e8;
}

/* ============================================================================
   ARCHIVE / BACK CATALOG SPREAD (`back_catalog`)
   ============================================================================ */
.page-archive {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #f8f4ea;
  color: #161513;
  position: relative;
}

.archive-hero-panel {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 13px 15px;
  background: #1a241f;
  color: #f7f3e8;
  border-radius: 3px;
  border-bottom: 3px solid #d9a441;
}

.archive-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.archive-hero-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.archive-hero-pct {
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: 0.92;
  color: #f3c87a;
}

.archive-hero-sub {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(247, 243, 232, 0.78);
}

.archive-age-pill {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border: 1px solid rgba(243, 200, 122, 0.45);
  border-radius: 2px;
  color: #f3c87a;
  white-space: nowrap;
}

.archive-split-bar {
  display: flex;
  width: 100%;
  height: 10px;
  border-radius: 2px;
  overflow: hidden;
  gap: 2px;
}

.archive-split-old {
  background: #52b788;
}

.archive-split-new {
  background: #e05232;
}

.archive-split-legend {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: rgba(247, 243, 232, 0.78);
}

.arch-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}

.arch-dot.is-old { background: #52b788; }
.arch-dot.is-new { background: #e05232; }

.arch-anchor-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #fffdf8;
  border: 1px solid rgba(20, 20, 19, 0.13);
  border-left: 3px solid #132a1e;
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s ease;
}

.arch-anchor-row.is-recent {
  border-left-color: #d9381e;
}

.arch-anchor-row:hover {
  background: #f0e8d8;
}

.arch-anchor-yr {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #132a1e;
}

.arch-anchor-main {
  min-width: 0;
}

.arch-anchor-title {
  font-family: var(--font-editorial);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.28;
  color: #161513;
}

.arch-anchor-meta {
  display: flex;
  gap: 6px;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: #6b655a;
}

.arch-anchor-share {
  color: #132a1e;
  font-weight: 700;
}

.arch-anchor-cnt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--vermilion);
  white-space: nowrap;
}

/* ============================================================================
   FIELD SIGHTINGS — WARM ARCHIVAL PIE STAGE + ON-CLICK DOMAIN PAPER DRAWER
   ============================================================================ */
.page-sighting.is-pie-stage {
  background:
    radial-gradient(circle at 86% 10%, rgba(198, 67, 29, 0.085) 0%, transparent 48%),
    linear-gradient(170deg, #faf6ee 0%, #f1e9da 100%);
  color: #171614;
  --pg-accent-bg: #1c211e;
  --pg-rule: rgba(23, 22, 20, 0.18);
}

.page-sighting.is-pie-stage .sighting-pie-body {
  padding: 20px 22px 10px 26px;
  gap: 9px;
  justify-content: flex-start;
  align-items: stretch;
}

.page-sighting.is-pie-stage.is-drawer-open .sighting-pie-body {
  padding: 16px 22px 8px 26px;
  justify-content: flex-start;
  gap: 8px;
}

.sighting-pie-head {
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 0 0 8px;
  border-bottom: 1.5px solid var(--pg-rule);
}

.page-sighting.is-pie-stage .sighting-kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #b53a1e;
}

.page-sighting.is-pie-stage .sighting-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.56rem, 3vw, 1.98rem);
  line-height: 1.04;
  margin: 0;
  color: #171614;
}

.page-sighting.is-pie-stage.is-drawer-open .sighting-headline {
  font-size: 1.48rem;
}

.sighting-subhead {
  font-family: var(--font-mono);
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #5e5a52;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.sighting-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  flex-shrink: 0;
}

.sighting-kpi-strip .dc-stat-cell {
  padding: 7px 6px;
  background: rgba(255, 254, 250, 0.84);
  border: 1px solid var(--pg-rule);
}

.sighting-kpi-strip .dc-stat-cell.is-accent {
  background: #1c211e;
  border-color: #1c211e;
}

.sighting-kpi-strip .dc-stat-cell.is-accent .dc-stat-val {
  color: #f3c87a;
}

.sighting-chart-plate {
  flex: 1 1 auto;
  min-height: 0;
  padding: 8px 10px 8px;
  gap: 6px;
}

.sighting-pie-stage-wrap {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: max-height 0.22s ease;
}

.page-sighting.is-pie-stage.is-drawer-open .sighting-pie-stage-wrap {
  flex: 0 0 auto;
}

.sighting-pie-svg {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 365px;
  display: block;
  overflow: visible;
  transition: max-height 0.22s ease;
}

.page-sighting.is-pie-stage.is-drawer-open .sighting-pie-svg {
  max-height: 205px;
}

.sighting-pie-slice {
  cursor: pointer;
  outline: none;
  transition: opacity 0.16s ease;
}

.sighting-pie-slice .pie-wedge {
  transition: filter 0.14s ease;
}

.sighting-pie-slice:hover .pie-wedge,
.sighting-pie-slice:focus-visible .pie-wedge {
  filter: brightness(1.12);
}

.sighting-pie-slice.is-dimmed {
  opacity: 0.42;
}

.sighting-pie-hint {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5c6b7a;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(16, 34, 53, 0.055);
}

.sighting-sector-drawer {
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(16, 34, 53, 0.15);
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(16, 34, 53, 0.08);
  overflow: hidden;
  animation: sightingDrawerIn 0.18s ease-out;
}

.sighting-sector-drawer[hidden] {
  display: none;
}

@keyframes sightingDrawerIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sighting-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 11px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(16, 34, 53, 0.1);
  border-left: 4px solid #102235;
}

.sighting-drawer-title-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.sighting-drawer-swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sighting-drawer-title {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #102235;
}

.sighting-drawer-count {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: #5c6b7a;
  background: rgba(16, 34, 53, 0.07);
  padding: 1px 6px;
  border-radius: 99px;
}

.sighting-drawer-close {
  border: 0;
  background: transparent;
  color: #5c6b7a;
  font-size: 1.15rem;
  line-height: 1;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  cursor: pointer;
}

.sighting-drawer-close:hover {
  background: rgba(16, 34, 53, 0.08);
  color: #102235;
}

.sighting-drawer-list {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  scrollbar-width: thin;
}

.sighting-drawer-card {
  padding: 8px 10px;
  background: #fafbfd;
  border: 1px solid rgba(16, 34, 53, 0.11);
  border-left: 3px solid #102235;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sighting-drawer-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.sighting-drawer-room {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: #102235;
}

.sighting-drawer-loc {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: #6b7280;
  white-space: nowrap;
}

.sighting-drawer-link {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  color: #1f2937;
  padding: 2px 3px;
  border-radius: 2px;
  transition: background 0.12s ease;
}

.sighting-drawer-link:hover {
  background: rgba(16, 34, 53, 0.06);
}

.sd-role {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--vermilion);
}

.sighting-drawer-link.is-yours .sd-role {
  color: #5c6b7a;
}

.sd-text {
  font-family: var(--font-editorial);
  font-size: 0.75rem;
  line-height: 1.28;
  color: #18222f;
}

.sighting-drawer-link.is-yours .sd-text {
  color: #4b5563;
}

.sd-arrow {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--vermilion);
}

/* Field Sightings Rethought Details Back: Crossover Ambassadors + Complete Ledger */
.sighting-ambassador-list,
.sighting-full-index-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 225px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-width: thin;
}

.sighting-amb-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 11px;
  background: #faf9f5;
  border: 1px solid rgba(20, 20, 19, 0.14);
  border-left: 3px solid #102235;
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s ease;
}

.sighting-amb-card:hover {
  background: #f1ece0;
}

.sighting-amb-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.sighting-amb-title {
  font-family: var(--font-editorial);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.28;
  color: #141413;
}

.sighting-amb-yr {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  color: #6b655a;
}

.sighting-amb-cnt {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--vermilion);
  white-space: nowrap;
}

.sighting-amb-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.sighting-amb-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 600;
  color: #36332e;
  background: rgba(20, 20, 19, 0.055);
  padding: 2px 6px;
  border-radius: 99px;
}

.sighting-amb-pill > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.sighting-amb-rooms {
  font-family: var(--font-sans);
  font-size: 0.69rem;
  color: #5e5a52;
  line-height: 1.3;
}

.sighting-idx-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 10px;
  background: #faf9f5;
  border: 1px solid rgba(20, 20, 19, 0.12);
  border-left: 3px solid #4f5d75;
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s ease;
}

.sighting-idx-row:hover {
  background: #f1ece0;
}

.sighting-idx-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.sighting-idx-room {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  color: #141413;
}

.sighting-idx-sector {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  white-space: nowrap;
}

.sighting-idx-citing {
  font-family: var(--font-editorial);
  font-size: 0.73rem;
  color: #4f4b44;
  line-height: 1.28;
}

/* ============================================================================
   UNIFIED GRAPH-FIRST SPREADS (DEEP CUT / SLEEPER / BREAKOUT / EVERGREEN)
   ============================================================================ */
.page-paper-graph {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #132a1e;
  --pg-accent-bg: #132a1e;
  --pg-accent-fg: #f3c87a;
  --pg-rule: rgba(19, 42, 30, 0.22);
}

.page-paper-graph.is-kind-deepcut {
  background:
    radial-gradient(circle at 86% 12%, rgba(169, 120, 34, 0.13) 0%, transparent 48%),
    linear-gradient(170deg, #f6f0e1 0%, #ede4cf 100%);
  color: #132a1e;
  --pg-accent-bg: #132a1e;
  --pg-accent-fg: #f3c87a;
  --pg-rule: rgba(19, 42, 30, 0.2);
}

.page-paper-graph.is-kind-sleeper {
  background:
    radial-gradient(circle at 86% 12%, rgba(84, 52, 138, 0.1) 0%, transparent 48%),
    linear-gradient(170deg, #f5f2fa 0%, #ebe6f4 100%);
  color: #261a42;
  --pg-accent-bg: #2e1d52;
  --pg-accent-fg: #f3c87a;
  --pg-rule: rgba(46, 29, 82, 0.2);
}

.page-paper-graph.is-kind-breakout {
  background:
    radial-gradient(circle at 86% 12%, rgba(14, 116, 86, 0.1) 0%, transparent 48%),
    linear-gradient(170deg, #f1f7f4 0%, #e5f0eb 100%);
  color: #0e382b;
  --pg-accent-bg: #0e3b2d;
  --pg-accent-fg: #9ce6c5;
  --pg-rule: rgba(14, 59, 45, 0.2);
}

.page-paper-graph.is-kind-evergreen {
  background:
    radial-gradient(circle at 86% 12%, rgba(27, 77, 48, 0.1) 0%, transparent 48%),
    linear-gradient(170deg, #f3f6f0 0%, #e8efe4 100%);
  color: #163322;
  --pg-accent-bg: #183a27;
  --pg-accent-fg: #d6edb8;
  --pg-rule: rgba(24, 58, 39, 0.2);
}

.paper-graph-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 28px 12px 32px;
}

.paper-graph-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--pg-rule);
}

.paper-graph-kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #b53a1e;
  text-transform: uppercase;
}

.paper-graph-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.55rem, 2.9vw, 2.02rem);
  line-height: 1.08;
  color: currentColor;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity 0.14s ease;
}

.paper-graph-title:hover {
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.paper-graph-arrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #c9361c;
  vertical-align: middle;
}

.paper-graph-meta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(25, 25, 24, 0.64);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.paper-graph-stats {
  margin-bottom: 0;
  gap: 7px;
}

.page-paper-graph .paper-graph-stats .dc-stat-cell {
  padding: 9px 6px;
  background: rgba(255, 254, 250, 0.82);
  border: 1px solid var(--pg-rule);
}

.page-paper-graph .paper-graph-stats .dc-stat-cell.is-accent {
  background: var(--pg-accent-bg);
  border-color: var(--pg-accent-bg);
}

.page-paper-graph .paper-graph-stats .dc-stat-cell.is-accent .dc-stat-val {
  color: var(--pg-accent-fg);
}

.paper-graph-stage {
  flex: 1;
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 12px 12px 10px;
  background: rgba(255, 254, 250, 0.84);
  border: 1px solid var(--pg-rule);
  border-top: 2.5px solid var(--pg-accent-bg);
  border-radius: 3px;
}

.figure-svg.is-hero-chart {
  width: 100%;
  height: auto;
  flex: 1;
  min-height: 0;
  max-height: 365px;
  display: block;
}

.svg-interactive-point {
  cursor: pointer;
}

.svg-interactive-point:hover .svg-pt-halo,
.svg-interactive-point.is-selected .svg-pt-halo {
  opacity: 0.9;
}

.svg-interactive-bar.is-selected .bar-rect.is-semantic-bar {
  stroke: #d9a441;
  stroke-width: 2.4;
}

.paper-graph-readout {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: #403d37;
  padding: 6px 10px;
  background: rgba(20, 20, 19, 0.045);
  border-left: 2.5px solid #c9361c;
  border-radius: 2px;
  line-height: 1.35;
}

.page-paper-graph .page-folio-bottom {
  border-top: 1px solid var(--pg-rule);
  color: currentColor;
}

/* Editorial Definition Reveal Curtain for Dialogue / Deep Cut / Evergreen / Breakout / Sleeper Hit */
.page-paper-graph.is-curtain-mode .trajectory-curtain,
.page-dialogue.is-curtain-mode .trajectory-curtain {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 34px 54px 38px;
  cursor: pointer;
  outline: none;
  animation: trajFadeIn 0.24s ease-out;
}

.page-dialogue.is-curtain-mode {
  --pg-ink: #171614;
  --pg-accent-bg: #1c211e;
  --pg-rule: rgba(23, 22, 20, 0.18);
}

.page-dialogue:not(.is-curtain-mode) .dialogue-body {
  animation: trajFadeIn 0.28s ease-out;
}

.trajectory-curtain-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trajectory-curtain-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--pg-accent-bg, #132a1e);
  color: #fffdf8;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  white-space: nowrap;
}

.trajectory-curtain-rule {
  flex: 1;
  height: 1.5px;
  background: var(--pg-rule);
}

.trajectory-curtain-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: auto 0;
  padding: 16px 0;
}

.trajectory-curtain-headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.45rem, 4.9vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--pg-ink, #132a1e);
  text-wrap: balance;
}

.trajectory-curtain-divider {
  width: 52px;
  height: 2px;
  background: var(--pg-accent-bg, #132a1e);
  opacity: 0.34;
}

.trajectory-curtain-def {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.06rem;
  line-height: 1.56;
  color: rgba(23, 22, 20, 0.78);
  max-width: 38ch;
}

.trajectory-curtain-def strong {
  color: var(--pg-ink, #132a1e);
  font-weight: 700;
}

.trajectory-curtain-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 6px;
}

.trajectory-reveal-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--pg-accent-bg, #132a1e);
  color: #fffdf8;
  border: 0;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(19, 42, 30, 0.18);
  transition: transform 0.14s ease, filter 0.14s ease;
}

.trajectory-curtain:hover .trajectory-reveal-btn,
.trajectory-curtain:focus-visible .trajectory-reveal-btn {
  transform: translateY(-1px);
  filter: brightness(1.12);
}

.page-paper-graph:not(.is-curtain-mode) .paper-graph-body {
  animation: trajFadeIn 0.28s ease-out;
}

@keyframes trajFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Full-Height Solo Citing List on Details Back (`deep_cut`, `sleeper_hit`, `breakout`, `evergreen`) */
.appendix-scroll.is-full-list-mode {
  justify-content: flex-start;
  overflow: hidden;
  padding-bottom: 44px;
}

.figure-plate.is-full-list {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.deepcut-citing-list.is-solo {
  flex: 1;
  min-height: 0;
  max-height: none;
  gap: 7px;
}

.deepcut-empty-citing {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 4px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: #5e5a52;
}

.deepcut-empty-citing p {
  margin: 0;
}

/* ============================================================================
   ARCHIVE / BACK CATALOG — PURE INFOGRAPHIC FRONT + PAPERS BACK
   ============================================================================ */
.page-archive.is-infographic-stage {
  background:
    radial-gradient(circle at 86% 12%, rgba(169, 120, 34, 0.11) 0%, transparent 48%),
    linear-gradient(170deg, #f8f4ea 0%, #eee6d6 100%);
  color: #132a1e;
  --pg-accent-bg: #132a1e;
  --pg-rule: rgba(19, 42, 30, 0.18);
}

.archive-info-body {
  flex: 1;
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 10px 26px;
}

.archive-info-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 7px;
  border-bottom: 1.5px solid var(--pg-rule);
}

.archive-info-kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #b53a1e;
}

.archive-info-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.42rem, 2.7vw, 1.82rem);
  line-height: 1.05;
  color: #132a1e;
}

.archive-info-deck {
  margin: 2px 0 0;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.32;
  color: #48544d;
}

.archive-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.archive-kpi-strip .dc-stat-cell {
  padding: 7px 6px;
  background: rgba(255, 254, 250, 0.84);
  border: 1px solid var(--pg-rule);
}

.archive-kpi-strip .dc-stat-cell.is-accent {
  background: #132a1e;
  border-color: #132a1e;
}

.archive-split-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 12px;
  background: #1a241f;
  color: #f7f3e8;
  border-radius: 3px;
  border-bottom: 2px solid #d9a441;
}

.archive-split-card .archive-split-bar {
  height: 10px;
}

.archive-split-card .archive-split-legend {
  font-size: 0.59rem;
}

.archive-split-card .archive-split-legend strong {
  color: #f3c87a;
}

.archive-chart-stage {
  flex: 1;
  min-height: 0;
  padding: 10px 10px 8px;
  gap: 6px;
}

.archive-svg-host {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.archive-bar-svg {
  width: 100%;
  height: auto;
  max-height: 330px;
}

.page-archive.is-drawer-open .archive-svg-host {
  flex: 0 0 auto;
}

.page-archive.is-drawer-open .archive-bar-svg {
  max-height: 224px;
}

.chart-scroll-shell {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.chart-legend-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 0 2px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.chart-legend-items {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.chart-legend-swatch {
  width: 8px;
  height: 8px;
  border-radius: 1.5px;
  display: inline-block;
  flex-shrink: 0;
}

.chart-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.chart-scroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 18px;
  padding: 0;
  border: 1px solid rgba(20, 20, 19, 0.22);
  border-radius: 3px;
  background: rgba(255, 254, 250, 0.9);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.chart-scroll-btn:hover {
  background: #ece5d5;
  border-color: rgba(20, 20, 19, 0.45);
}

.chart-scroll-viewport {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 20, 19, 0.34) rgba(20, 20, 19, 0.06);
  padding-bottom: 4px;
}

.chart-scroll-viewport::-webkit-scrollbar {
  height: 6px;
}

.chart-scroll-viewport::-webkit-scrollbar-track {
  background: rgba(20, 20, 19, 0.07);
  border-radius: 99px;
}

.chart-scroll-viewport::-webkit-scrollbar-thumb {
  background: rgba(20, 20, 19, 0.32);
  border-radius: 99px;
}

.chart-scroll-viewport .figure-svg.is-scrollable-chart,
.chart-scroll-viewport .figure-svg.is-hero-chart.is-scrollable-chart,
.chart-scroll-viewport .archive-bar-svg.is-scrollable-chart {
  display: block;
  width: var(--chart-w) !important;
  min-width: var(--chart-w) !important;
  max-width: none !important;
  height: var(--chart-h) !important;
  max-height: none !important;
  flex-shrink: 0;
}

.page-archive.is-drawer-open .chart-scroll-viewport .figure-svg.is-scrollable-chart,
.page-archive.is-drawer-open .chart-scroll-viewport .figure-svg.is-hero-chart.is-scrollable-chart,
.page-archive.is-drawer-open .chart-scroll-viewport .archive-bar-svg.is-scrollable-chart {
  height: 174px !important;
  width: calc(174px * var(--chart-ratio)) !important;
  min-width: calc(174px * var(--chart-ratio)) !important;
  max-height: 174px !important;
}

.chart-axis-footer {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #5e5a52;
  line-height: 1.2;
}

.archive-year-drawer {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fffdf8;
  border: 1px solid rgba(19, 42, 30, 0.16);
  border-radius: 3px;
  overflow: hidden;
  animation: sightingDrawerIn 0.16s ease-out;
}

.archive-year-drawer[hidden] {
  display: none;
}

.archive-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px 6px 10px;
  border-left: 3.5px solid #132a1e;
  border-bottom: 1px solid rgba(19, 42, 30, 0.12);
  background: rgba(19, 42, 30, 0.035);
}

.archive-drawer-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.archive-drawer-yr {
  padding: 2px 7px;
  border-radius: 2px;
  color: #fffdf8;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
}

.archive-drawer-meta {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  color: #4b473f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.archive-drawer-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  padding: 4px 6px;
  gap: 3px;
  scrollbar-width: thin;
}

.archive-drawer-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 6px;
  border-radius: 2px;
  text-decoration: none;
  color: #171614;
  border-bottom: 1px dashed rgba(23, 22, 20, 0.1);
  transition: background 0.12s ease;
}

.archive-drawer-row:last-child {
  border-bottom: 0;
}

.archive-drawer-row:hover {
  background: rgba(19, 42, 30, 0.055);
}

.archive-drawer-ptitle {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.28;
  color: #171614;
}

.archive-drawer-pcnt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.archive-drawer-empty {
  padding: 10px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: #6b665d;
}

.archive-back-anchors-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 215px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-width: thin;
}

.archive-vintage-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 9px;
}

.archive-vintage-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid rgba(20, 20, 19, 0.22);
  background: #f8f5ec;
  color: #2c2a26;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.archive-vintage-tab.is-old {
  border-left: 3px solid #132a1e;
}

.archive-vintage-tab.is-recent {
  border-left: 3px solid #d9381e;
}

.archive-vintage-tab.is-active {
  background: #132a1e;
  border-color: #132a1e;
  color: #f7f3e8;
}

.archive-vintage-tab.is-recent.is-active {
  background: #d9381e;
  border-color: #d9381e;
  color: #fffdf8;
}

.arch-vtab-cnt {
  opacity: 0.72;
  font-weight: 600;
}

.archive-vintage-papers-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 165px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-width: thin;
}

/* ============================================================================
   IN DIALOGUE (`secret_superfan`) — AIRY ALLUVIAL FLOW FRONT + PAPERS BACK
   ============================================================================ */
.page-dialogue.is-infographic-stage {
  background:
    radial-gradient(circle at 86% 10%, rgba(201, 54, 28, 0.085) 0%, transparent 48%),
    linear-gradient(170deg, #faf6ee 0%, #f1e9da 100%);
  color: #171614;
  --pg-accent-bg: #1c211e;
  --pg-rule: rgba(23, 22, 20, 0.18);
}

.page-dialogue.is-infographic-stage .dialogue-body {
  gap: 10px;
  padding: 20px 20px 10px 24px;
}

.page-dialogue.is-infographic-stage .dialogue-header {
  gap: 4px;
  padding-bottom: 9px;
  border-bottom: 1.5px solid var(--pg-rule);
}

.page-dialogue.is-infographic-stage .dialogue-name {
  font-size: clamp(2.05rem, 3.9vw, 2.55rem);
  line-height: 0.98;
}

.page-dialogue.is-infographic-stage .dialogue-inst {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.dialogue-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.dialogue-kpi-strip .dc-stat-cell {
  padding: 7px 6px;
  background: rgba(255, 254, 250, 0.84);
  border: 1px solid var(--pg-rule);
}

.dialogue-kpi-strip .dc-stat-cell.is-accent {
  background: #1c211e;
  border-color: #1c211e;
}

.dialogue-kpi-strip .dc-stat-cell.is-accent .dc-stat-val {
  color: #f3c87a;
}

.dialogue-flow-stage {
  flex: 1;
  min-height: 0;
  padding: 10px 8px 8px;
}

.dialogue-flow-svg {
  user-select: none;
  width: 100%;
  max-height: 390px;
}

.dlg-ribbon {
  opacity: 0.3;
  cursor: pointer;
  transition: opacity 0.18s ease;
}

.dlg-ribbon:hover {
  opacity: 0.78;
}

.dialogue-flow-svg.has-focus .dlg-ribbon {
  opacity: 0.06;
}

.dialogue-flow-svg.has-focus .dlg-ribbon.is-lit {
  opacity: 0.86;
}

.dlg-node {
  cursor: pointer;
  outline: none;
  transition: opacity 0.18s ease;
}

.dlg-node:hover .dlg-node-bar,
.dlg-node:focus-visible .dlg-node-bar {
  stroke: #d9a441;
  stroke-width: 1.8;
}

.dialogue-flow-svg.has-focus .dlg-node {
  opacity: 0.24;
}

.dialogue-flow-svg.has-focus .dlg-node.is-lit {
  opacity: 1;
}

.dialogue-flow-svg.has-focus .dlg-node.is-primary .dlg-node-bar {
  stroke: #d9a441;
  stroke-width: 2;
}

.dialogue-back-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

.figure-inspector-bar:empty,
.paper-graph-readout:empty,
.timeline-front-inspector:empty {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .magazine-sheet.is-turning-next,
  .magazine-sheet.is-turning-prev {
    animation: none;
  }
  .sheet-flipper {
    transition: none;
  }
}

/* ============================================================================
   LEXICON WORDLE CENTERPIECE HERO + ALL-PAGES EDITORIAL TYPOGRAPHY SCALE PASS
   ============================================================================ */
.page-lexicon.is-wordle-gate .lexicon-body-wordle {
  padding: 16px 24px 44px 28px;
}

.lex-wordle-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  padding: 14px 16px 15px;
  border-radius: 3px;
  border: 1.5px solid rgba(217, 255, 64, 0.52);
  border-left: 4px solid var(--swiss-acid);
  background: linear-gradient(180deg, rgba(217, 255, 64, 0.11) 0%, rgba(217, 255, 64, 0.04) 100%);
  text-align: center;
}

.lex-wordle-hero.is-won {
  border-color: rgba(217, 255, 64, 0.78);
  background: linear-gradient(180deg, rgba(217, 255, 64, 0.16) 0%, rgba(217, 255, 64, 0.05) 100%);
}

.lex-w-hero-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lex-w-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--swiss-acid);
}

.lex-w-hero-tiles {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 2px 0;
}

.lex-w-hero-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 3px;
  background: var(--swiss-acid);
  color: #0e0f12;
  font-family: var(--font-grotesk);
  font-size: 1.68rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 10px rgba(217, 255, 64, 0.22);
}

.lex-w-hero-fact {
  font-family: var(--font-editorial);
  font-size: 0.94rem;
  line-height: 1.32;
  color: #f0f2f6;
}

/* Global Chrome & Folio */
.page-folio-top {
  font-size: 0.68rem;
}

.inline-flip-trigger {
  font-size: 0.74rem;
}

.toc-tab {
  font-size: 0.7rem;
}

/* Cover */
.cover-masthead-title {
  font-size: clamp(2.3rem, 4.5vw, 3.1rem);
}

.cover-masthead-year {
  font-size: 0.98rem;
}

.cover-subject-name {
  font-size: clamp(3.55rem, 6.5vw, 4.85rem);
}

.cover-hook-row {
  padding: 13px 4px;
}

.cover-hook-q {
  font-size: 1.54rem;
  line-height: 1.16;
}

.cover-hook-row.is-lead .cover-hook-q {
  font-size: 1.72rem;
  line-height: 1.12;
}

/* Globe */
.globe-headline {
  font-size: clamp(1.56rem, 2.9vw, 1.98rem);
  line-height: 1.08;
}

.globe-deck {
  font-size: 0.92rem;
  line-height: 1.36;
}

.globe-overlay-badge {
  font-size: 0.72rem;
}

/* Dialogue */
.dialogue-eyebrow {
  font-size: 0.72rem;
}

.page-dialogue.is-infographic-stage .dialogue-name {
  font-size: clamp(2.2rem, 4.1vw, 2.7rem);
}

.page-dialogue.is-infographic-stage .dialogue-inst {
  font-size: 0.74rem;
}

/* Lexicon */
.lex-w-title {
  font-size: 1.66rem;
}

.lex-w-clue {
  font-size: 0.96rem;
  line-height: 1.34;
}

.lex-w-skip-btn,
.lex-w-hint-btn,
.lex-w-rev-btn {
  font-size: 0.7rem;
}

.lex-w-hint-box {
  font-size: 0.86rem;
}

.lexicon-headline {
  font-size: clamp(1.75rem, 3.4vw, 2.25rem);
}

.lexicon-deck {
  font-size: 0.94rem;
}

.swiss-register-title,
.swiss-register-sub {
  font-size: 0.68rem;
}

.swiss-scale-axis {
  font-size: 0.64rem;
}

.swiss-word-big {
  font-size: 1.34rem;
}

.swiss-word-big.is-long {
  font-size: 1.14rem;
}

.swiss-word-big.is-xlong {
  font-size: 1rem;
}

.swiss-word-line:first-child .swiss-word-big {
  font-size: 1.48rem;
}

.swiss-word-line:first-child .swiss-word-big.is-long {
  font-size: 1.24rem;
}

.swiss-word-line:first-child .swiss-word-big.is-xlong {
  font-size: 1.06rem;
}

.swiss-word-mult {
  font-size: 0.88rem;
  width: 54px;
}

/* Collaboration Timeline */
.collab-headline {
  font-size: clamp(1.7rem, 3.3vw, 2.18rem);
}

.collab-deck {
  font-size: 0.94rem;
}

.tl-filter-btn {
  font-size: 0.7rem;
}

.inspector-paper-heading {
  font-size: 0.76rem;
}

.inspector-paper-link {
  font-size: 0.84rem;
}

/* Field Sightings */
.sighting-info-kicker {
  font-size: 0.72rem;
}

.sighting-info-title {
  font-size: clamp(1.68rem, 3.1vw, 2.12rem);
}

.sighting-info-sub {
  font-size: 0.9rem;
}

.sighting-drawer-title {
  font-size: 0.74rem;
}

.sighting-drawer-room {
  font-size: 0.88rem;
}

.sighting-drawer-loc {
  font-size: 0.68rem;
}

.sd-role {
  font-size: 0.62rem;
}

.sd-text {
  font-size: 0.84rem;
}

/* Shared KPI Strip & Graph Readouts */
.dc-stat-val {
  font-size: 1.56rem;
}

.dc-stat-lbl {
  font-size: 0.6rem;
}

.paper-graph-readout {
  font-size: 0.74rem;
}

/* Trajectory Spreads, Curtains & Pop Quiz */
.paper-graph-kicker {
  font-size: 0.72rem;
}

.paper-graph-title {
  font-size: clamp(1.66rem, 3.1vw, 2.14rem);
}

.paper-graph-meta {
  font-size: 0.74rem;
}

.trajectory-curtain-badge {
  font-size: 0.74rem;
}

.trajectory-curtain-headline {
  font-size: clamp(2.55rem, 5vw, 3.35rem);
}

.trajectory-curtain-def {
  font-size: 1.14rem;
}

.trajectory-reveal-btn {
  font-size: 0.84rem;
}

.editorial-quiz-kicker {
  font-size: 0.74rem;
}

.editorial-quiz-q {
  font-size: clamp(1.52rem, 3vw, 2.02rem);
}

.quiz-option-btn {
  font-size: 0.94rem;
}

.quiz-skip-link {
  font-size: 0.8rem;
}

/* The Archive */
.archive-info-kicker {
  font-size: 0.72rem;
}

.archive-info-title {
  font-size: clamp(1.6rem, 3vw, 2.04rem);
}

.archive-split-card .archive-split-legend {
  font-size: 0.7rem;
}

.archive-drawer-yr {
  font-size: 0.72rem;
}

.archive-drawer-meta {
  font-size: 0.68rem;
}

.archive-drawer-ptitle {
  font-size: 0.82rem;
}

.archive-drawer-pcnt {
  font-size: 0.74rem;
}

/* Sunday Mini Crossword (full untruncated clues with crisp wrapping & larger text) */
.mini-active-clue {
  font-size: 0.92rem;
  line-height: 1.28;
}

.mini-dir-pill {
  font-size: 0.68rem;
}

.mini-theme-domain {
  font-size: 1.04rem;
}

.mini-theme-legend {
  font-size: 0.72rem;
}

.mini-clue-heading {
  font-size: 0.72rem;
}

.mini-clue-num {
  font-size: 0.72rem;
}

.mini-clue-txt {
  font-size: 0.84rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* Passport Back Cover — Full Untruncated Titles + Density-Adaptive Large Stamps */
.bc-pass-header {
  font-size: 0.56rem;
}

.bc-pass-bearer-lbl {
  font-size: 0.5rem;
}

.bc-pass-bearer-name {
  font-size: 1.62rem;
  line-height: 1.12;
  padding-bottom: 2px;
}

.bc-pass-stamp-count {
  font-size: 0.55rem;
}

.bc-pass-edition {
  font-size: 0.5rem;
}

.bc-stamp-mini {
  font-size: 0.52rem;
}

.bc-stamp-main {
  font-size: 0.9rem;
}

.bc-stamp-main.is-title-med {
  font-size: 0.8rem;
  line-height: 1.12;
}

.bc-stamp-main.is-title-long {
  font-size: 0.69rem;
  line-height: 1.12;
}

.bc-stamp-main.is-title-xlong {
  font-size: 0.62rem;
  line-height: 1.12;
}

.bc-stamp-sub {
  font-size: 0.52rem;
}

.bc-stamp-term {
  font-size: 1.14rem;
}

/* Dense (9-10 stamps — 5 rows) */
.bc-pass-stamps-page.is-dense .bc-stamp:not(.bc-stamp-circle):not(.is-wide) {
  max-width: 236px;
}

.bc-pass-stamps-page.is-dense .bc-stamp-oval {
  max-width: 242px;
}

.bc-pass-stamps-page.is-dense .bc-stamp-oval-inner {
  padding: 8px 18px;
}

.bc-pass-stamps-page.is-dense .bc-stamp-mini,
.bc-pass-stamps-page.is-dense .bc-stamp-visa-head {
  font-size: 0.46rem;
}

.bc-pass-stamps-page.is-dense .bc-stamp-oval .bc-stamp-mini {
  font-size: 0.41rem;
}

.bc-pass-stamps-page.is-dense .bc-stamp-main {
  font-size: 0.77rem;
}

.bc-pass-stamps-page.is-dense .bc-stamp-main.is-title-med {
  font-size: 0.69rem;
}

.bc-pass-stamps-page.is-dense .bc-stamp-main.is-title-long {
  font-size: 0.6rem;
  line-height: 1.1;
}

.bc-pass-stamps-page.is-dense .bc-stamp-main.is-title-xlong {
  font-size: 0.54rem;
  line-height: 1.08;
}

.bc-pass-stamps-page.is-dense .bc-stamp-sub {
  font-size: 0.46rem;
}

.bc-pass-stamps-page.is-dense .bc-stamp-term {
  font-size: 0.98rem;
}

/* Standard (7-8 stamps — 4 rows) */
.bc-pass-stamps-page.is-standard {
  padding: 10px 14px;
  gap: 10px 12px;
}

.bc-pass-stamps-page.is-standard .bc-stamp:not(.bc-stamp-circle):not(.is-wide) {
  max-width: 240px;
}

.bc-pass-stamps-page.is-standard .bc-stamp-circle {
  width: 120px;
  height: 120px;
}

.bc-pass-stamps-page.is-standard .bc-stamp-big {
  font-size: 2.05rem;
}

.bc-pass-stamps-page.is-standard .bc-stamp-mini,
.bc-pass-stamps-page.is-standard .bc-stamp-visa-head {
  font-size: 0.52rem;
}

.bc-pass-stamps-page.is-standard .bc-stamp-main {
  font-size: 0.9rem;
}

.bc-pass-stamps-page.is-standard .bc-stamp-main.is-title-long {
  font-size: 0.72rem;
}

.bc-pass-stamps-page.is-standard .bc-stamp-sub {
  font-size: 0.52rem;
}

/* Airy (5-6 stamps — 3 rows: larger stamps & fonts filling sheet) */
.bc-pass-stamps-page.is-airy {
  padding: 14px 16px;
  gap: 16px 14px;
}

.bc-pass-stamps-page.is-airy .bc-stamp:not(.bc-stamp-circle):not(.is-wide) {
  max-width: 246px;
  min-height: 126px;
  padding: 13px 13px;
  gap: 5px;
}

.bc-pass-stamps-page.is-airy .bc-stamp-airmail {
  padding-top: 0;
}

.bc-pass-stamps-page.is-airy .bc-stamp-oval {
  padding: 4px;
}

.bc-pass-stamps-page.is-airy .bc-stamp-oval-inner {
  padding: 14px 18px;
}

.bc-pass-stamps-page.is-airy .bc-stamp-circle {
  width: 148px;
  height: 148px;
  padding: 4.5px;
}

.bc-pass-stamps-page.is-airy .bc-stamp-big {
  font-size: 2.6rem;
}

.bc-pass-stamps-page.is-airy .bc-stamp-lbl {
  font-size: 0.62rem;
}

.bc-pass-stamps-page.is-airy .bc-stamp-mini,
.bc-pass-stamps-page.is-airy .bc-stamp-visa-head {
  font-size: 0.58rem;
}

.bc-pass-stamps-page.is-airy .bc-stamp-main {
  font-size: 1.08rem;
  line-height: 1.14;
}

.bc-pass-stamps-page.is-airy .bc-stamp-main.is-title-med {
  font-size: 0.94rem;
}

.bc-pass-stamps-page.is-airy .bc-stamp-main.is-title-long {
  font-size: 0.82rem;
}

.bc-pass-stamps-page.is-airy .bc-stamp-main.is-title-xlong {
  font-size: 0.72rem;
}

.bc-pass-stamps-page.is-airy .bc-stamp-sub {
  font-size: 0.58rem;
}

.bc-pass-stamps-page.is-airy .bc-stamp-term {
  font-size: 1.38rem;
}

/* Sparse (<= 4 stamps — bold enlarged stamps & fonts filling entire passport page!) */
.bc-pass-stamps-page.is-sparse {
  padding: 18px 16px;
  gap: 22px 16px;
  align-content: space-evenly;
}

.bc-pass-stamps-page.is-sparse.is-solo-col {
  grid-template-columns: 1fr;
  padding: 20px 26px;
}

.bc-pass-stamps-page.is-sparse .bc-stamp:not(.bc-stamp-circle) {
  width: 100%;
  max-width: none;
  min-height: 196px;
  padding: 16px 15px;
  gap: 8px;
}

.bc-pass-stamps-page.is-sparse.is-solo-col .bc-stamp:not(.bc-stamp-circle) {
  max-width: 440px;
  min-height: 158px;
}

.bc-pass-stamps-page.is-sparse .bc-stamp-airmail {
  padding-top: 0;
}

.bc-pass-stamps-page.is-sparse .bc-stamp-airmail-bar {
  height: 7px;
  margin-bottom: 6px;
}

.bc-pass-stamps-page.is-sparse .bc-stamp-circle {
  width: 194px;
  height: 194px;
  padding: 5px;
  border-width: 3px;
}

.bc-pass-stamps-page.is-sparse .bc-stamp-big {
  font-size: 3.5rem;
}

.bc-pass-stamps-page.is-sparse .bc-stamp-lbl {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}

.bc-pass-stamps-page.is-sparse .bc-stamp-mini,
.bc-pass-stamps-page.is-sparse .bc-stamp-visa-head {
  font-size: 0.66rem;
  letter-spacing: 0.09em;
}

.bc-pass-stamps-page.is-sparse .bc-stamp-main {
  font-size: 1.32rem;
  line-height: 1.14;
}

.bc-pass-stamps-page.is-sparse .bc-stamp-main.is-title-med {
  font-size: 1.12rem;
}

.bc-pass-stamps-page.is-sparse .bc-stamp-main.is-title-long {
  font-size: 0.96rem;
  line-height: 1.16;
}

.bc-pass-stamps-page.is-sparse .bc-stamp-main.is-title-xlong {
  font-size: 0.84rem;
  line-height: 1.16;
}

.bc-pass-stamps-page.is-sparse .bc-stamp-sub {
  font-size: 0.66rem;
  line-height: 1.24;
}

.bc-pass-stamps-page.is-sparse .bc-stamp-term {
  font-size: 1.65rem;
}

/* Card Back / Details Appendix */
.figure-id {
  font-size: 0.7rem;
}

.figure-caption {
  font-size: 0.92rem;
}

.figure-inspector-bar {
  font-size: 0.76rem;
}

.deepcut-citing-title {
  font-size: 0.88rem;
}

.lex-conc-paper-title,
.lex-pattern-title {
  font-size: 0.84rem;
}

/* ============================================================================
   OUTGOING CITATIONS — ON YOUR DESK (`on_your_desk`) & STANDING ON SHOULDERS (`standing_on_shoulders`)
   ============================================================================ */
.page-desk.is-curtain-mode .trajectory-curtain,
.page-shoulders.is-curtain-mode .trajectory-curtain {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 34px 54px 38px;
  cursor: pointer;
  outline: none;
  animation: trajFadeIn 0.24s ease-out;
}

.page-desk.is-infographic-stage {
  background:
    radial-gradient(circle at 86% 10%, rgba(22, 36, 61, 0.08) 0%, transparent 48%),
    linear-gradient(170deg, #f6f7fa 0%, #eaedf4 100%);
  color: #16243d;
  --pg-ink: #16243d;
  --pg-accent-bg: #16243d;
  --pg-rule: rgba(22, 36, 61, 0.18);
}

.page-desk .dialogue-kpi-strip .dc-stat-cell.is-accent {
  background: #16243d;
  border-color: #16243d;
}

.desk-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.desk-mutual-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 2px;
  background: #c9361c;
  color: #fffdf8;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.desk-mutual-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  background: rgba(255, 254, 250, 0.86);
  border: 1px solid rgba(22, 36, 61, 0.16);
  border-left: 3px solid #c9361c;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: #16243d;
  cursor: pointer;
  text-align: left;
  transition: background 0.14s ease;
}

.desk-mutual-strip:hover {
  background: #fffdf8;
}

.desk-mutual-strip-tag {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #c9361c;
  white-space: nowrap;
}

.desk-mutual-strip-names {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.page-shoulders.is-infographic-stage {
  background:
    radial-gradient(circle at 86% 12%, rgba(21, 50, 56, 0.08) 0%, transparent 48%),
    linear-gradient(170deg, #f7f5ee 0%, #eaece4 100%);
  color: #153238;
  --pg-ink: #153238;
  --pg-accent-bg: #153238;
  --pg-rule: rgba(21, 50, 56, 0.18);
}

.page-shoulders .archive-kpi-strip .dc-stat-cell.is-accent {
  background: #153238;
  border-color: #153238;
}

.page-shoulders:not(.is-curtain-mode) .archive-info-body {
  animation: trajFadeIn 0.28s ease-out;
}

.shoulders-spotlight-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shoulders-spot-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  background: rgba(255, 254, 250, 0.88);
  border: 1px solid rgba(21, 50, 56, 0.16);
  border-left: 3px solid #153238;
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.shoulders-spot-card.is-rare {
  border-left-color: #c9361c;
}

.shoulders-spot-card:hover {
  background: #fffdf8;
}

.shoulders-spot-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #153238;
}

.shoulders-spot-card.is-rare .shoulders-spot-kicker {
  color: #c9361c;
}

.shoulders-spot-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  color: #161513;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shoulders-spot-meta {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: #5a5750;
}

/* Details Back: Taste Spectrum, Reading Diet Bars & Mutual Admiration */
.taste-spectrum-bar {
  display: flex;
  width: 100%;
  height: 11px;
  border-radius: 2px;
  overflow: hidden;
  gap: 2px;
  margin-bottom: 7px;
}

.taste-seg-gem { background: #c9361c; }
.taste-seg-mid { background: #d48c28; }
.taste-seg-est { background: #2d6a6e; }
.taste-seg-hit { background: #153238; }

.taste-spectrum-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #3e3b35;
  margin-bottom: 10px;
}

.taste-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}

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

.diet-bar-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.diet-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: #161513;
}

.diet-bar-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-weight: 600;
}

.diet-borrowed-tag {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 1px 5px;
  border-radius: 2px;
  background: rgba(201, 54, 28, 0.12);
  color: #b42e16;
  white-space: nowrap;
}

.diet-bar-val {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: #5e5a52;
  white-space: nowrap;
}

.diet-bar-track {
  height: 6px;
  background: rgba(21, 50, 56, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.diet-bar-fill {
  height: 100%;
  background: #153238;
  border-radius: 2px;
}

.diet-bar-fill.is-borrowed {
  background: #c9361c;
}

.mutual-author-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  background: #fffdf8;
  border: 1px solid rgba(22, 36, 61, 0.14);
  border-left: 3px solid #c9361c;
  border-radius: 2px;
}

.mutual-author-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.mutual-author-name {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  color: #16243d;
}

.mutual-author-counts {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: #c9361c;
  white-space: nowrap;
}

.mutual-author-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #5c5851;
}

.desk-runners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.desk-runner-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 9px;
  background: #fffdf8;
  border: 1px solid rgba(22, 36, 61, 0.13);
  border-radius: 2px;
}

.desk-runner-name {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: #16243d;
}

.desk-runner-meta {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: #5c5851;
}

.desk-self-note {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px dashed rgba(22, 36, 61, 0.18);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #5c5851;
}
