@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* === RESET === */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* === ERA FOIL COLORS === */
:root {
  --copper: #B87333;
  --gold: #E8B931;
  --red: #C44040;
  --silver: #C0C0C0;
  --antique-gold: #C9A84C;
  --chrome-blue: #7EB8DA;
  --emerald: #50C878;
  --holographic: #D4A0D0;
  --bg: #0a0a0f;
  --card-bg: rgba(255,255,255,0.03);
  --card-border: rgba(255,255,255,0.08);

  /* Card back era variables */
  --revolution: #B87333;
  --new-nation: #E8B931;
  --expansion: #C44040;
  --gilded-age: #C0C0C0;
  --world-wars: #C9A84C;
  --space-age: #7EB8DA;
  --digital-age: #50C878;
  --new-century: #D4A0D0;
  --legendary: #E8B931;
  --notable: #C0C0C0;
  --hidden-gem: #50C878;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0b0;
  --text-dim: #6a6a7a;
}

/* === BASE === */
body {
  background: var(--bg);
  color: #e0e0e0;
  font-family: 'Inter', sans-serif;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* === HEADER === */
.site-header {
  text-align: center;
  padding: 48px 20px 16px;
}

.site-header h1 {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  letter-spacing: 6px;
  color: #C9A84C;
  text-transform: uppercase;
}

.site-header .tagline {
  font-size: 13px;
  color: #666;
  margin-top: 8px;
  letter-spacing: 1px;
}

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  padding: 48px 20px 8px;
}

.section-header h2 {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  color: #fff;
  margin-bottom: 6px;
}

.section-header .subtitle {
  color: #999;
  font-size: 14px;
  margin-bottom: 6px;
}

.section-header .description {
  max-width: 720px;
  margin: 0 auto;
  font-size: 13px;
  color: #888;
  line-height: 1.6;
}

/* === CONCEPT BOX === */
.concept {
  max-width: 720px;
  margin: 20px auto 32px;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: #aaa;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px 28px;
  background: rgba(255,255,255,0.02);
}

.concept strong { color: #ddd; }

/* === FOIL PROGRESSION BAR === */
.arrow-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto 8px;
  padding: 0 40px;
  max-width: 800px;
}

.arrow-bar .segment {
  flex: 1;
  height: 4px;
  position: relative;
}

.arrow-bar .segment::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 2px;
}

.arrow-bar .segment:nth-child(1)::after { background: var(--copper); }
.arrow-bar .segment:nth-child(2)::after { background: var(--gold); }
.arrow-bar .segment:nth-child(3)::after { background: var(--red); }
.arrow-bar .segment:nth-child(4)::after { background: var(--silver); }
.arrow-bar .segment:nth-child(5)::after { background: var(--antique-gold); }
.arrow-bar .segment:nth-child(6)::after { background: var(--chrome-blue); }
.arrow-bar .segment:nth-child(7)::after { background: var(--emerald); }
.arrow-bar .segment:nth-child(8)::after { background: var(--holographic); }

.arrow-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  max-width: 800px;
  margin: 0 auto 36px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.arrow-labels span:first-child { color: var(--copper); }
.arrow-labels span:last-child { color: var(--holographic); }

/* === ROW LABELS === */
.row-label {
  max-width: 1200px;
  margin: 0 auto 16px;
  padding: 0 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #555;
}

/* === ART STYLE GRID === */
.art-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 0 20px;
}

/* === ART STYLE CARDS === */
.art-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.art-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.15);
}

.art-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.art-card .card-info {
  padding: 16px;
}

.era-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.era-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.era-name {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.character-name {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  color: #fff;
  margin-bottom: 4px;
}

.period {
  font-size: 11px;
  color: #777;
  margin-bottom: 10px;
}

.style-name {
  font-size: 12px;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 6px;
}

.style-desc {
  font-size: 11px;
  line-height: 1.6;
  color: #999;
  margin-bottom: 10px;
}

.evolution {
  font-size: 10px;
  line-height: 1.5;
  color: #666;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 10px;
  font-style: italic;
}

.evolution strong {
  color: #999;
  font-style: normal;
}

/* === DIVIDER === */
.section-divider {
  max-width: 200px;
  height: 1px;
  margin: 48px auto;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

/* === FRAMED CARD GRID === */
.framed-grid {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: 0 auto 56px;
  max-width: 1180px;
  padding: 0 20px;
}

.framed-row-label {
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  letter-spacing: 3px;
  color: #666;
  margin-bottom: 24px;
  text-transform: uppercase;
}

/* === FRAMED CARD WRAPPER === */
.card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.era-info {
  text-align: center;
}

.era-info .badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 4px;
}

.era-info .period-label {
  font-size: 10px;
  color: #555;
}

.era-info .style-label {
  font-size: 9px;
  color: #666;
  margin-top: 2px;
  font-style: italic;
}

/* === FRAME D3 CARD === */
.frame-card {
  width: 252px;
  height: 353px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.frame-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0,0,0,0.7), 0 4px 12px rgba(0,0,0,0.5);
}

.frame-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* D3 Deep Gradient Overlay */
.frame-card .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 16px 14px;
  background: linear-gradient(to top,
    rgba(6,6,14,0.95) 0%,
    rgba(6,6,14,0.88) 40%,
    rgba(6,6,14,0.5) 70%,
    transparent 100%
  );
}

.d-name {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.d-title {
  font-family: 'Inter', sans-serif;
  font-size: 7.5px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.d-rule-top {
  width: 100%;
  height: 1px;
  margin-bottom: 8px;
}

.d-rule-bottom {
  width: 60%;
  height: 1px;
  margin: 6px auto 0;
}

.d-era-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 6.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}

.d-logo {
  position: absolute;
  top: 10px;
  left: 12px;
  font-family: 'Cinzel', serif;
  font-size: 6.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.d-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-style: solid;
}

.d-corner.tl { top: 8px; left: 8px; border-width: 1px 0 0 1px; }
.d-corner.tr { top: 8px; right: 8px; border-width: 1px 1px 0 0; }
.d-corner.bl { bottom: 8px; left: 8px; border-width: 0 0 1px 1px; }
.d-corner.br { bottom: 8px; right: 8px; border-width: 0 1px 1px 0; }

/* === ERA FOIL CLASSES === */
.era-revolution { --foil: #B87333; --foil-dim: rgba(184,115,51,0.4); --foil-faint: rgba(184,115,51,0.25); }
.era-newnation { --foil: #E8B931; --foil-dim: rgba(232,185,49,0.4); --foil-faint: rgba(232,185,49,0.25); }
.era-expansion { --foil: #C44040; --foil-dim: rgba(196,64,64,0.4); --foil-faint: rgba(196,64,64,0.25); }
.era-gilded { --foil: #C0C0C0; --foil-dim: rgba(192,192,192,0.4); --foil-faint: rgba(192,192,192,0.25); }
.era-worldwars { --foil: #C9A84C; --foil-dim: rgba(201,168,76,0.4); --foil-faint: rgba(201,168,76,0.25); }
.era-space { --foil: #7EB8DA; --foil-dim: rgba(126,184,218,0.4); --foil-faint: rgba(126,184,218,0.25); }
.era-digital { --foil: #50C878; --foil-dim: rgba(80,200,120,0.4); --foil-faint: rgba(80,200,120,0.25); }
.era-newcentury { --foil: #D4A0D0; --foil-dim: rgba(212,160,208,0.4); --foil-faint: rgba(212,160,208,0.25); }

/* Shared foil application on frame cards */
.frame-card[class*="era-"] { border-color: var(--foil-dim); }
.frame-card[class*="era-"] .d-era-badge { background: rgba(0,0,0,0.5); border: 1px solid var(--foil-dim); color: var(--foil); }
.frame-card[class*="era-"] .d-logo { color: var(--foil-dim); }
.frame-card[class*="era-"] .d-corner { border-color: var(--foil-faint); }
.frame-card[class*="era-"] .d-rule-top { background: linear-gradient(90deg, transparent 0%, var(--foil) 20%, var(--foil) 80%, transparent 100%); }
.frame-card[class*="era-"] .d-rule-bottom { background: linear-gradient(90deg, transparent 0%, var(--foil-dim) 20%, var(--foil-dim) 80%, transparent 100%); }

/* Holographic shimmer for New Century */
.era-newcentury .d-rule-top {
  background: linear-gradient(90deg,
    transparent 0%,
    #C44040 10%,
    #E8B931 25%,
    #50C878 40%,
    #7EB8DA 55%,
    #D4A0D0 70%,
    #C9A84C 85%,
    transparent 100%
  );
}

/* Badge colors below framed cards */
.era-revolution .badge { background: rgba(184,115,51,0.15); color: #B87333; border: 1px solid rgba(184,115,51,0.3); }
.era-newnation .badge { background: rgba(232,185,49,0.15); color: #E8B931; border: 1px solid rgba(232,185,49,0.3); }
.era-expansion .badge { background: rgba(196,64,64,0.15); color: #C44040; border: 1px solid rgba(196,64,64,0.3); }
.era-gilded .badge { background: rgba(192,192,192,0.15); color: #C0C0C0; border: 1px solid rgba(192,192,192,0.3); }
.era-worldwars .badge { background: rgba(201,168,76,0.15); color: #C9A84C; border: 1px solid rgba(201,168,76,0.3); }
.era-space .badge { background: rgba(126,184,218,0.15); color: #7EB8DA; border: 1px solid rgba(126,184,218,0.3); }
.era-digital .badge { background: rgba(80,200,120,0.15); color: #50C878; border: 1px solid rgba(80,200,120,0.3); }
.era-newcentury .badge { background: rgba(212,160,208,0.15); color: #D4A0D0; border: 1px solid rgba(212,160,208,0.3); }

/* === ERA SUMMARY TABLE === */
.era-table-wrapper {
  max-width: 640px;
  margin: 0 auto 48px;
  padding: 0 20px;
}

.era-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.era-table thead th {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.era-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--foil);
}

.era-table tbody td:first-child {
  color: #555;
  font-size: 12px;
  width: 32px;
}

.era-table tbody td:nth-child(3) {
  color: #777;
  font-size: 12px;
}

.era-table tbody td:nth-child(4) {
  font-size: 12px;
}

.table-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

/* === CARD BACK GRID === */
.back-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 auto 48px;
  max-width: 1180px;
  padding: 0 20px;
}

.back-label {
  text-align: center;
  font-size: 0.75rem;
  color: #C9A84C;
  margin-top: 12px;
  margin-bottom: 4px;
  font-style: italic;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* === CARD BACK — HYBRID LAYOUT === */
.card-back {
  width: 252px;
  height: 352px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0a0a14;
  font-family: 'Inter', sans-serif;
  padding: 8px;
}

.card-back-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.card-back-info {
  font-size: 0.7rem;
  color: #6a6a7a;
  text-align: center;
}

.lh-frame {
  border: 1px solid;
  border-radius: 4px;
  padding: 8px 10px 8px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.lh-corner {
  position: absolute;
  width: 8px;
  height: 8px;
}

.lh-corner--tl { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.lh-corner--tr { top: -1px; right: -1px; border-top: 2px solid; border-right: 2px solid; }
.lh-corner--bl { bottom: -1px; left: -1px; border-bottom: 2px solid; border-left: 2px solid; }
.lh-corner--br { bottom: -1px; right: -1px; border-bottom: 2px solid; border-right: 2px solid; }

.lh-logo {
  font-family: 'Cinzel', serif;
  font-size: 5.5px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.4;
  text-align: center;
  margin-bottom: 3px;
  color: var(--text-primary);
}

.lh-name {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.15;
  text-align: center;
}

.lh-title {
  font-size: 6.5px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 1px;
}

.lh-era-divider {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0;
}

.lh-era-divider::before,
.lh-era-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  opacity: 0.25;
  background: currentColor;
}

.lh-era-text {
  font-size: 5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}

.lh-summary {
  font-size: 7px;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
  margin-bottom: 6px;
}

.lh-facts-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}

.lh-facts-header::before,
.lh-facts-header::after {
  content: '';
  flex: 1;
  height: 1px;
  opacity: 0.12;
  background: white;
}

.lh-facts-title {
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  white-space: nowrap;
}

.lh-fact {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
  align-items: flex-start;
}

.lh-fact-num {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6.5px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.lh-fact-text {
  font-size: 6.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.lh-fact-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.lh-story-section {
  margin-top: auto;
  padding-top: 5px;
}

.lh-story-divider {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.lh-story-divider::before,
.lh-story-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: white;
  opacity: 0.08;
}

.lh-story-divider-label {
  font-size: 5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.4;
  color: var(--text-primary);
}

.lh-story-name {
  font-size: 7px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3px;
}

.lh-story-counter {
  font-size: 5px;
  text-align: center;
  margin-bottom: 3px;
  opacity: 0.5;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.lh-connected-row {
  display: flex;
  justify-content: center;
  gap: 3px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.lh-char-pill {
  font-size: 5px;
  padding: 1.5px 5px;
  border-radius: 8px;
  border: 1px solid;
  color: var(--text-secondary);
}

.lh-char-pill.active { opacity: 1; font-weight: 600; }
.lh-char-pill.inactive { opacity: 0.35; }

.lh-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.lh-tier {
  font-size: 5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lh-card-counter {
  font-size: 5px;
  color: var(--text-dim);
  text-align: center;
}

.lh-qr-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.lh-qr {
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5px;
  color: #333;
  font-weight: 700;
}

.lh-qr-label {
  font-size: 4.5px;
  color: var(--text-dim);
  text-align: center;
}

.lh-timeline {
  display: flex;
  gap: 1px;
  justify-content: center;
  margin: 3px 0;
}

.lh-timeline-era {
  height: 2px;
  flex: 1;
  max-width: 20px;
  border-radius: 1px;
  opacity: 0.2;
}

.lh-timeline-era.current {
  opacity: 0.8;
  height: 3px;
}

/* === FOOTER === */
.site-footer {
  text-align: center;
  padding: 40px 20px 60px;
  font-size: 11px;
  color: #444;
  letter-spacing: 1px;
}

.site-footer .logo {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  color: #555;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* === RESPONSIVE === */

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .art-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .framed-grid {
    gap: 24px;
  }

  .frame-card {
    width: 220px;
    height: 308px;
  }

  .d-name { font-size: 12px; }
  .d-title { font-size: 7px; }
}

@media (max-width: 640px) {
  .site-header {
    padding: 32px 16px 12px;
  }

  .site-header h1 {
    font-size: 22px;
    letter-spacing: 4px;
  }

  .section-header h2 {
    font-size: 18px;
  }

  .art-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }

  .art-card img {
    aspect-ratio: 3/4;
  }

  .concept {
    margin: 16px 16px 24px;
    padding: 16px 20px;
    font-size: 12px;
  }

  .arrow-bar {
    padding: 0 16px;
  }

  .arrow-labels {
    padding: 0 16px;
    font-size: 9px;
  }

  .row-label {
    padding: 0 16px;
    font-size: 10px;
  }

  .framed-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 16px;
  }

  .card-wrapper {
    width: 100%;
  }

  .frame-card {
    width: 100%;
    aspect-ratio: 5/7;
    height: auto;
  }

  .back-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 16px;
  }

  .card-back-wrapper {
    width: 100%;
  }

  .card-back {
    width: 100%;
    aspect-ratio: 252/352;
    height: auto;
    overflow: hidden;
    container-type: inline-size;
  }

  /* Scale frame card text for full-width cards */
  .d-name { font-size: 5vw; letter-spacing: 3px; }
  .d-title { font-size: 2.5vw; }
  .d-era-badge { font-size: 2.2vw; padding: 4px 10px; }
  .d-logo { font-size: 2.2vw; }
  .d-corner { width: 5vw; height: 5vw; }
  .frame-card .overlay { padding: 6vw 4vw 4vw; }
  .d-rule-top { margin-bottom: 2.5vw; }
  .d-rule-bottom { margin-top: 2vw; }

  /* Scale card back text relative to card width (cqw = container query width) */
  .lh-logo { font-size: 2.2cqw; letter-spacing: 4px; margin-bottom: 1cqw; }
  .lh-name { font-size: 5.5cqw; }
  .lh-title { font-size: 2.5cqw; margin-top: 0.5cqw; }
  .lh-era-text { font-size: 2cqw; }
  .lh-era-divider { margin: 2cqw 0; }
  .lh-summary { font-size: 2.8cqw; margin-bottom: 2cqw; }
  .lh-facts-title { font-size: 2.8cqw; }
  .lh-facts-header { margin-bottom: 1.5cqw; }
  .lh-fact { gap: 2cqw; margin-bottom: 1.5cqw; }
  .lh-fact-num { width: 5cqw; height: 5cqw; font-size: 2.5cqw; }
  .lh-fact-text { font-size: 2.5cqw; }
  .lh-story-divider-label { font-size: 2cqw; }
  .lh-story-name { font-size: 2.8cqw; margin-bottom: 1cqw; }
  .lh-story-counter { font-size: 2cqw; margin-bottom: 1cqw; }
  .lh-char-pill { font-size: 2cqw; padding: 0.5cqw 2cqw; }
  .lh-connected-row { gap: 1.2cqw; margin-bottom: 1.5cqw; }
  .lh-tier { font-size: 2cqw; }
  .lh-card-counter { font-size: 2cqw; }
  .lh-qr { width: 8cqw; height: 8cqw; font-size: 2cqw; }
  .lh-qr-label { font-size: 1.8cqw; }
  .lh-timeline-era { height: 1cqw; }
  .lh-timeline-era.current { height: 1.3cqw; }
  .lh-corner { width: 3cqw; height: 3cqw; }
  .card-back { padding: 3cqw; }
  .lh-frame { padding: 3cqw; }

  .era-info .badge { font-size: 10px; }
  .era-info .period-label { font-size: 11px; }
  .era-info .style-label { font-size: 10px; }
}
