/* ============================================================
   The Decider — Shared Design System
   styles.css  v4.0
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design Tokens ── */
:root {
  --bg: #0c0e14;
  --surface: #111420;
  --surface2: #171b27;
  --surface3: #1e2334;
  --border: #252b3d;
  --border2: #2e3550;
  --accent: #00acac;
  --accent2: #26bdbd;
  --accent-dim: rgba(0,172,172,0.10);
  --accent-border: rgba(0,172,172,0.28);
  --gold: #e8b84b;
  --gold2: #f5d47a;
  --gold-dim: rgba(232,184,75,0.10);
  --gold-border: rgba(232,184,75,0.22);
  --earth: #c4845a;
  --earth-dim: rgba(196,132,90,0.10);
  --earth-border: rgba(196,132,90,0.25);
  --food: #d4603a;
  --food-dim: rgba(212,96,58,0.10);
  --food-border: rgba(212,96,58,0.25);
  --cream: #ede8e0;
  --muted: #5a6080;
  --muted2: #8891b0;
  --win: #3db87a;
  --win-dim: rgba(61,184,122,0.13);
  --red: #e05050;
  --red-dim: rgba(224,80,80,0.09);
  --r: 14px;
}

/* ── Light Mode ── */
html.light-mode, body.light-mode {
  --bg: #eee8dc;
  --surface: #e4f0ef;
  --surface2: #d6e8e6;
  --surface3: #c6dedd;
  --border: #a2c8c6;
  --border2: #88b8b6;
  --cream: #192626;
  --muted: #486060;
  --muted2: #324e4e;
  background-image:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(0,172,172,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(232,184,75,0.07) 0%, transparent 60%);
}

/* Light mode card surface overrides */
html.light-mode .tool-card-featured,
body.light-mode .tool-card-featured {
  background: linear-gradient(145deg, var(--surface2), var(--surface));
  box-shadow: 0 3px 16px rgba(0,80,80,0.12), 0 1px 3px rgba(0,80,80,0.07), inset 0 1px 0 rgba(255,255,255,0.35);
}
html.light-mode .tool-card-featured:hover,
body.light-mode .tool-card-featured:hover {
  background: linear-gradient(145deg, var(--surface3), var(--surface2));
  box-shadow: 0 10px 36px rgba(0,80,80,0.16), 0 2px 8px rgba(0,80,80,0.09), inset 0 1px 0 rgba(255,255,255,0.3);
}
html.light-mode .tool-card,
body.light-mode .tool-card {
  background: linear-gradient(145deg, var(--surface2), var(--surface));
  box-shadow: 0 2px 8px rgba(0,80,80,0.10), 0 1px 3px rgba(0,80,80,0.06), inset 0 1px 0 rgba(255,255,255,0.35);
}
html.light-mode .tool-card:hover,
body.light-mode .tool-card:hover {
  background: linear-gradient(145deg, var(--surface3), var(--surface2));
  box-shadow: 0 8px 28px rgba(0,80,80,0.15), 0 2px 6px rgba(0,80,80,0.08), inset 0 1px 0 rgba(0,172,172,0.12);
}
html.light-mode .article-card,
body.light-mode .article-card {
  background: linear-gradient(145deg, var(--surface2), var(--surface));
  box-shadow: 0 2px 8px rgba(0,80,80,0.09), inset 0 1px 0 rgba(255,255,255,0.3);
}
html.light-mode .article-card:hover,
body.light-mode .article-card:hover {
  background: linear-gradient(145deg, var(--surface3), var(--surface2));
  box-shadow: 0 6px 20px rgba(0,80,80,0.13);
}
html.light-mode .tool-card-wrap,
body.light-mode .tool-card-wrap {
  background: linear-gradient(145deg, var(--surface2), var(--surface));
  box-shadow: 0 3px 16px rgba(0,80,80,0.10), 0 1px 3px rgba(0,80,80,0.06);
}
html.light-mode .other-tool-link,
body.light-mode .other-tool-link {
  background: linear-gradient(145deg, var(--surface2), var(--surface));
  box-shadow: 0 2px 8px rgba(0,80,80,0.10), inset 0 1px 0 rgba(255,255,255,0.25);
}
html.light-mode .other-tool-link:hover,
body.light-mode .other-tool-link:hover {
  background: linear-gradient(145deg, var(--surface3), var(--surface2));
  box-shadow: 0 6px 20px rgba(0,80,80,0.14);
}
html.light-mode .item-card,
body.light-mode .item-card {
  background: linear-gradient(145deg, var(--surface2), var(--surface));
  box-shadow: 0 2px 8px rgba(0,80,80,0.09);
}
html.light-mode .cta-box,
body.light-mode .cta-box {
  background: linear-gradient(145deg, var(--surface2), var(--surface));
}
html.light-mode .related-card,
body.light-mode .related-card {
  background: linear-gradient(145deg, var(--surface2), var(--surface));
  box-shadow: 0 2px 8px rgba(0,80,80,0.08);
}
html.light-mode .hub-card,
body.light-mode .hub-card {
  background: linear-gradient(145deg, var(--surface2), var(--surface));
  box-shadow: 0 2px 10px rgba(0,80,80,0.10);
}
html.light-mode .hub-card:hover,
body.light-mode .hub-card:hover {
  background: linear-gradient(145deg, var(--surface3), var(--surface2));
  box-shadow: 0 6px 22px rgba(0,80,80,0.14);
}
html.light-mode .hub-featured-card,
body.light-mode .hub-featured-card {
  background: linear-gradient(145deg, var(--surface2), var(--surface));
  box-shadow: 0 4px 20px rgba(0,80,80,0.12);
}
html.light-mode .hub-featured-card:hover,
body.light-mode .hub-featured-card:hover {
  background: linear-gradient(145deg, var(--surface3), var(--surface2));
  box-shadow: 0 8px 32px rgba(0,80,80,0.16);
}
html.light-mode .hub-featured-badge,
body.light-mode .hub-featured-badge { opacity: .55; }

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 70% 45% at 10% 0%, rgba(0,172,172,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 100%, rgba(232,184,75,0.04) 0%, transparent 60%);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: calc(var(--r) - 2px);
}

/* ── Navigation ── */
.site-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -.01em;
}
.nav-brand em { font-style: italic; color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 8px; }

.nav-back {
  font-size: 0.72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 6px 12px;
  transition: color .15s, border-color .15s;
  font-family: 'Manrope', sans-serif;
}
.nav-back:hover { color: var(--accent); border-color: var(--accent); }

.btn-share {
  background: none;
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 7px 18px;
  color: var(--muted);
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .15s, color .15s;
  display: none;
}
.btn-share:hover { border-color: var(--accent); color: var(--accent); }
.btn-share.copied { border-color: var(--win); color: var(--win); }

.theme-toggle {
  background: none;
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 0;
  width: 31px;
  height: 31px;
  cursor: pointer;
  color: var(--muted);
  transition: border-color .15s, color .15s, background .15s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
/* Sun shown in dark mode, moon shown in light mode */
.theme-toggle .icon-moon { display: none; }
html.light-mode .theme-toggle .icon-sun,
body.light-mode .theme-toggle .icon-sun { display: none; }
html.light-mode .theme-toggle .icon-moon,
body.light-mode .theme-toggle .icon-moon { display: block; }

/* ── Tool pages: shell + header ── */
.shell {
  max-width: 680px;
  margin: 0 auto;
  padding: 52px 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.tool-header, .header { text-align: center; animation: riseIn .6s ease both; }
.tool-eyebrow, .header-eyebrow, .hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold) !important;
  margin-bottom: 10px;
  opacity: .9;
}
.tool-header h1, .header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 9vw, 4.6rem);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: .95;
  color: var(--cream);
}
.tool-header h1 em, .header h1 em { font-style: italic; color: var(--accent); }
.tool-header-sub, .header-sub {
  margin-top: 10px;
  font-size: 0.72rem;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
}

/* Tool card wrapper */
.tool-card-wrap {
  width: 100%;
  background: linear-gradient(145deg, #141828, var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  animation: riseIn .6s .1s ease both;
  box-shadow: 0 6px 32px rgba(0,0,0,0.40), 0 2px 6px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}
.tool-card-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% -5%, rgba(232,184,75,.04), transparent 60%);
  pointer-events: none;
}

/* Mode tabs */
.mode-row {
  display: flex;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  width: 100%;
}
.mode-btn {
  flex: 1;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 8px 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--muted2);
  cursor: pointer;
  transition: background .2s, color .2s;
  text-transform: uppercase;
}
.mode-btn.active { background: var(--surface3); color: var(--gold); }

/* ── Gold pills / toggles — shared pattern ── */
.pill-gold,
.pill-gold:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}
/* FAQ chevron — teal to match index */
.faq-q::after { color: var(--accent) !important; }

/* Common result display */
.result-label {
  font-size: 0.72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

/* Common action button */
.action-btn {
  background: var(--accent);
  border: none;
  border-radius: 12px;
  padding: 14px 36px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #001a1a;
  cursor: pointer;
  transition: background .15s, transform .1s, box-shadow .15s;
  box-shadow: 0 2px 12px rgba(0,172,172,0.3);
}
.action-btn:hover { background: var(--accent2); transform: translateY(-1px); box-shadow: 0 4px 18px rgba(0,172,172,0.4); }
.action-btn:active { transform: translateY(0); }

/* Load-to-wheel button */
.load-btn {
  background: var(--gold);
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  color: #1a1000;
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s, transform .1s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.load-btn:hover { background: var(--gold2); transform: scale(1.02); }
.load-btn:active { transform: scale(.97); }
.load-btn.loaded { background: var(--win); color: #fff; }

/* Reset button — gold */
.btn-reset {
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  padding: 10px 20px;
  color: var(--gold);
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s;
  white-space: nowrap;
}
.btn-reset:hover { background: rgba(232,184,75,0.18); border-color: var(--gold); transform: translateY(-1px); }
.btn-reset:active { transform: translateY(0); }

/* Clear button — red */
.btn-clear, .btn-clear-all, .btn-clear-custom, .btn-clear-history {
  background: var(--red-dim);
  border: 1px solid rgba(224,80,80,0.28);
  color: var(--red);
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 5px 12px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn-clear:hover, .btn-clear-all:hover, .btn-clear-custom:hover, .btn-clear-history:hover {
  background: rgba(224,80,80,0.16);
  border-color: var(--red);
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface2);
  border: 1px solid var(--win);
  border-radius: 10px;
  padding: 10px 20px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--win);
  letter-spacing: .06em;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  z-index: 9999;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── "More Tools" section — shared across all tool pages ── */
.other-tools { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.other-tools-label {
  font-size: 0.72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: .9;
}
.other-tools-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.other-tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Drawer: hidden extra tools that expand on "Show more" */
.other-tools-drawer { display: none; }
.other-tools-drawer.open { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 0; }
/* "Show more" button */
.other-tools-more-btn {
  background: none;
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 10px 22px;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted2);
  transition: border-color .15s, color .15s, background .15s;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 auto;
}
.other-tools-more-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.other-tools-more-chevron { display: inline-block; transition: transform .25s; font-style: normal; line-height: 1; }
.other-tools-more-btn.open .other-tools-more-chevron { transform: rotate(180deg); }

/* Card: other-tool-link */
.other-tool-link {
  background: linear-gradient(145deg, #141828, var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 11px 16px 13px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .2s, background .2s, transform .15s, box-shadow .2s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,0.32), 0 1px 3px rgba(0,0,0,0.20), inset 0 1px 0 rgba(255,255,255,0.03);
}
.other-tool-link:hover {
  border-color: var(--accent);
  background: linear-gradient(145deg, #152026, #121c22);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.42), 0 2px 6px rgba(0,0,0,0.26), inset 0 1px 0 rgba(0,172,172,0.06);
}
.other-tool-link:active { transform: translateY(0); }

/* Ghost icon */
.other-tool-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
  width: 56px;
  height: 56px;
  color: var(--accent);
  opacity: 0.08;
  pointer-events: none;
  transition: opacity .25s;
}
.other-tool-link:hover .other-tool-icon { opacity: 0.15; }
.other-tool-icon svg { width: 100%; height: 100%; }

.other-tool-text strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 600;
  color: var(--cream);
  display: block;
  line-height: 1.2;
}
.other-tool-text {
  font-size: 0.88rem;
  color: var(--muted2);
  line-height: 1.62;
  flex: 1;
}
.other-tool-arrow {
  font-size: 0.76rem;
  color: var(--gold);
  margin-top: auto;
  padding-top: 4px;
  font-weight: 500;
  letter-spacing: .03em;
}

/* ── Article pages ── */
.article-shell {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 100px;
}

/* Category accent stripes — applied to .article-shell */
.article-shell.accent-gold .article-header  { border-top: 3px solid var(--gold); padding-top: 20px; }
.article-shell.accent-teal .article-header  { border-top: 3px solid var(--accent); padding-top: 20px; }
.article-shell.accent-earth .article-header { border-top: 3px solid var(--earth); padding-top: 20px; }
.article-shell.accent-food .article-header  { border-top: 3px solid var(--food); padding-top: 20px; }

/* Category-tinted eyebrows */
.article-shell.accent-earth .article-eyebrow { color: var(--earth) !important; }
.article-shell.accent-food  .article-eyebrow { color: var(--food) !important; }

.article-header { margin-bottom: 40px; animation: riseIn .7s ease both; }
.article-eyebrow {
  font-size: 0.72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
  opacity: .9;
}
.article-shell.accent-teal .article-eyebrow { color: var(--accent); }

.article-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--cream);
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.article-header h1 em { font-style: italic; color: var(--accent); }
.article-meta {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Hero decorative elements */
.article-hero-element {
  margin-bottom: 18px;
  opacity: .55;
  user-select: none;
  pointer-events: none;
}
/* Dice dots */
.hero-dice {
  display: grid;
  grid-template-columns: repeat(3, 8px);
  gap: 5px;
  width: fit-content;
}
.hero-dice span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}
/* Film reel */
.hero-reel svg { width: 52px; height: 52px; color: var(--gold); }
/* Teal-accented pages (anime) use a film reel — override to teal */
.accent-teal .hero-reel svg { color: var(--accent); }
/* Compass rose (SVG) */
.hero-compass svg { width: 48px; height: 48px; }
/* Book */
.hero-book svg { width: 52px; height: 44px; color: var(--gold); }
/* Headphones — gold on gold-accented pages (podcasts), teal otherwise */
.hero-headphone svg { width: 48px; height: 48px; color: var(--accent); }
.accent-gold .hero-headphone svg { color: var(--gold); }
/* Game controller */
.hero-controller svg { width: 54px; height: 40px; color: var(--accent); }
/* Plate with utensils */
.hero-plate svg { width: 56px; height: 52px; color: var(--food); }
/* Activity / calendar */
.hero-activity svg { width: 48px; height: 48px; color: var(--earth); }

/* Article body */
.article-body { display: flex; flex-direction: column; gap: 28px; }
.article-body p { font-size: 1rem; color: var(--muted2); line-height: 1.95; }
.article-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--cream);
  margin-top: 8px;
  line-height: 1.2;
}
.article-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.3;
}
.article-body strong { color: var(--cream); font-weight: 600; }
.article-body a:not(.inline-cta-link):not(.cta-btn):not(.item-link):not(.btn-reset):not(.related-card):not(.related-card-viewall) { color: var(--accent); text-decoration: none; }
.article-body a:not(.inline-cta-link):not(.cta-btn):not(.item-link):not(.btn-reset):not(.related-card):not(.related-card-viewall):hover { text-decoration: underline; }

/* Prose container — limits line length inside wide shell */
.article-prose {
  max-width: 660px;
}

.article-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ── Inline contextual CTA ── */
.inline-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--accent-dim);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
}
.inline-cta-text {
  flex: 1;
  font-size: 0.88rem;
  color: var(--cream);
  font-style: italic;
  line-height: 1.55;
}
a.inline-cta-link,
.inline-cta-link {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .15s;
}
a.inline-cta-link:hover,
.inline-cta-link:hover { background: var(--accent2); }

/* ── Item grids (article list cards) ── */
.item-section { display: flex; flex-direction: column; gap: 10px; }
.item-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.item-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.item-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
}
.item-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 3px;
}
.item-meta { font-size: .72rem; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 5px; }
.item-desc { font-size: .72rem; color: var(--muted2); line-height: 1.6; flex: 1; }
.item-links { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
a.item-link,
.item-link {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold) !important;
  text-decoration: none !important;
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  padding: 3px 8px;
  transition: color .15s, border-color .15s;
}
a.item-link:hover,
.item-link:hover { color: var(--gold2) !important; border-color: var(--gold); }
/* extra specificity override in article context */
.article-body a.item-link,
.sidebar-grid a.item-link { color: var(--gold) !important; text-decoration: none !important; }

/* ── Sidebar layout (books & podcasts) ── */
.sidebar-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-grid .item-card {
  display: grid;
  grid-template-columns: 128px 1fr;
  grid-template-rows: auto 1fr auto;
  padding: 0;
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: none;
  background: var(--surface);
  transition: background .15s;
  overflow: hidden;
}
.sidebar-grid .item-card:hover { background: var(--surface2); }
.sidebar-grid .item-meta {
  grid-column: 1;
  grid-row: 1 / 4;
  margin-bottom: 0;
  padding: 14px 12px;
  border-right: 1px solid var(--border);
  background: rgba(255,255,255,.018);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.55;
}
.sidebar-grid .item-title {
  grid-column: 2;
  grid-row: 1;
  padding: 14px 16px 5px;
  margin-bottom: 0;
}
.sidebar-grid .item-desc {
  grid-column: 2;
  grid-row: 2;
  padding: 0 16px;
  font-size: .80rem;
}
.sidebar-grid .item-links {
  grid-column: 2;
  grid-row: 3;
  padding: 8px 16px 14px;
  margin-top: 0;
}
.item-season {
  font-size: .72rem;
  color: var(--muted);
  font-family: 'Manrope', sans-serif;
  letter-spacing: .06em;
}

/* ── Ranked cards (numbered best-of lists) ── */
.rank-card {
  position: relative;
  overflow: hidden;
}
.rank-num {
  position: absolute;
  top: 6px;
  right: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-style: italic;
  font-weight: 700;
  color: var(--gold);
  opacity: .18;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ── Stage / timeline layout (how-to articles) ── */
.stage-list { display: flex; flex-direction: column; gap: 14px; }
.stage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stage-header { display: flex; align-items: center; gap: 12px; }
.stage-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-style: italic;
  color: var(--accent);
  opacity: .5;
  flex-shrink: 0;
  line-height: 1;
}
.stage-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
}
.stage p { font-size: .82rem; color: var(--muted2); line-height: 1.75; margin: 0; }
.stage-examples { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.stage-tag {
  background: var(--accent-dim);
  border: 1px solid rgba(0,172,172,.2);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: .72rem;
  color: var(--accent);
  letter-spacing: .06em;
  white-space: nowrap;
}

/* Rule list (also used in how-to articles) */
.rules-list { display: flex; flex-direction: column; gap: 12px; }
.rule { display: flex; gap: 14px; align-items: flex-start; }
.rule-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.rule-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
}
.rule-body p { font-size: .82rem; color: var(--muted2); line-height: 1.7; margin: 0; }

/* Callout box */
.callout {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
}
.callout p { font-size: .82rem; color: var(--cream); line-height: 1.7; font-style: italic; }

/* ── CTA box ── */
.cta-box {
  background: linear-gradient(145deg, #141828, var(--surface));
  border: 1px solid var(--accent-border);
  border-radius: var(--r);
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.cta-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--accent);
}
.cta-box p { font-size: 0.9rem; color: var(--muted2); line-height: 1.7; }
a.cta-btn,
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: background .15s, transform .1s;
}
a.cta-btn:hover,
.cta-btn:hover { background: var(--accent2); transform: translateY(-1px); }

/* ── Related articles ── */
.related-section { margin-top: 8px; }
.related-cards { display: flex; flex-direction: column; gap: 12px; }
.related-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.related-card {
  background: linear-gradient(145deg, #141828, var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color .15s, background .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
}
.related-card:hover { border-color: var(--accent); box-shadow: 0 6px 20px rgba(0,0,0,0.32); text-decoration: none; }
.related-card-eyebrow {
  font-size: 0.72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  opacity: .8;
}
.related-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.3;
}
.related-card-desc { font-size: 0.78rem; color: var(--muted2); line-height: 1.55; margin-top: 2px; }
.related-card-arrow { font-size: 0.72rem; color: var(--gold); font-weight: 600; margin-top: auto; padding-top: 6px; }
/* "View all guides" card */
.related-card-viewall {
  background: transparent;
  border: 1px dashed var(--border2);
  border-radius: var(--r);
  padding: 16px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  transition: border-color .15s, background .15s;
  box-shadow: none;
}
.related-card-viewall:hover { border-color: var(--accent); background: var(--accent-dim); }
.related-card-viewall .related-card-eyebrow { opacity: .6; }
.related-card-viewall .related-card-title { color: var(--gold); }

/* ── Related grid (alternate container class) ── */
.related-grid { display: flex; flex-direction: column; gap: 12px; }

/* ── Article cards (tool-page guide lists) ── */
.article-card {
  background: linear-gradient(145deg, #131726, var(--surface));
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent-border);
  border-radius: var(--r);
  padding: 17px 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color .2s, background .2s, border-left-color .2s, box-shadow .2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.26), inset 0 1px 0 rgba(255,255,255,0.02);
}
.article-card:hover {
  border-color: var(--border2);
  border-left-color: var(--accent);
  background: linear-gradient(145deg, #152026, #121c22);
  box-shadow: 0 6px 24px rgba(0,0,0,0.34);
}
.article-card-eyebrow { font-size: 0.72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--accent); opacity: .8; }
.article-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-style: italic; font-weight: 600; color: var(--cream); line-height: 1.3; }
.article-card-desc { font-size: 0.85rem; color: var(--muted2); line-height: 1.6; }
.article-card-arrow { font-size: 0.72rem; color: var(--gold); letter-spacing: .03em; margin-top: 4px; font-weight: 600; opacity: .9; }

/* ── Article footer ── */
.article-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .1em;
}
.article-footer a { color: var(--muted); text-decoration: none; }
.article-footer a:hover { color: var(--accent); }

/* ── FAQ ── */
.faq-section { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--surface); }
.faq-q {
  font-size: 0.88rem;
  color: var(--cream);
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background .15s;
}
.faq-q:hover { background: var(--surface2); }
.faq-q::after { content: '▾'; font-size: 0.72rem; color: var(--accent) !important; transition: transform .25s; flex-shrink: 0; margin-left: 10px; }
.faq-q.open::after { transform: rotate(180deg); }
.faq-a {
  font-size: 0.85rem;
  color: var(--muted2);
  line-height: 1.85;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .25s ease;
  padding: 0 18px;
}
.faq-a.open { padding: 0 18px 14px; }
.faq-item.open .faq-q::after { transform: rotate(180deg); }
.faq-item.open .faq-a { max-height: 500px; padding: 0 18px 14px; }
/* Article FAQ uses <button> for .faq-q — reset browser defaults */
button.faq-q { -webkit-appearance: none; appearance: none; font-family: 'Manrope', sans-serif; font-size: 0.88rem; width: 100%; background: none; border: none; text-align: left; color: var(--cream); }
/* Hide the inline + icon (superseded by ::after chevron) */
.faq-icon { display: none; }

/* ── SEO blocks ── */
.seo-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
}
.seo-block p { font-size: 0.88rem; color: var(--muted2); line-height: 1.85; }
.seo-block ul { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.seo-block ul li { font-size: 0.88rem; color: var(--muted2); line-height: 1.7; padding-left: 16px; position: relative; }
.seo-block ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }

/* Ensure full-width sections inside centered shell */
.other-tools, .articles-section, .seo-section, .wheels-more-section, .related-grid { width: 100%; }

/* ── SEO footer / page footer ── */
.seo-footer, .footer {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: .06em;
  padding-bottom: 10px;
}
.seo-footer a, .footer a { color: var(--muted); text-decoration: none; transition: color .15s; }
.seo-footer a:hover, .footer a:hover { color: var(--accent); }

.seo-notice {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.7;
  border-left: 2px solid var(--border2);
  padding-left: 12px;
}

/* ── Articles Hub page ── */
.hub-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.hub-filter-pill {
  background: none;
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 6px 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted2);
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.hub-filter-pill:hover,
.hub-filter-pill.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.hub-articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hub-featured-card {
  grid-column: 1 / -1;
  background-color: var(--surface);
  background-image: linear-gradient(145deg, rgba(0,172,172,0.09) 0%, transparent 50%);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  padding: 28px 32px 26px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: 0 4px 34px rgba(0,0,0,0.36), 0 1px 4px rgba(0,0,0,0.20);
  position: relative;
  overflow: hidden;
}
/* Dual radial glow: teal top-right, gold bottom-left */
.hub-featured-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 96% -8%, rgba(0,172,172,0.15), transparent 52%),
    radial-gradient(ellipse 35% 45% at 4% 108%, rgba(232,184,75,0.10), transparent 60%);
  pointer-events: none;
}
/* Gradient top stripe: accent → gold */
.hub-featured-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%);
  border-radius: var(--r) var(--r) 0 0;
}
/* Light mode: solid teal fading to amber so both stripe ends read against light teal surface */
html.light-mode .hub-featured-card::after,
body.light-mode .hub-featured-card::after {
  background: linear-gradient(90deg, #00acac 0%, rgba(0,172,172,.5) 42%, #C8A800 72%, rgba(200,168,0,.65) 100%);
}
.hub-featured-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 50px rgba(0,0,0,0.46), 0 2px 8px rgba(0,0,0,0.24), 0 0 48px rgba(0,172,172,0.12);
}
.hub-featured-badge {
  position: absolute;
  top: 13px; right: 16px;
  font-family: 'Manrope', sans-serif;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .55;
  z-index: 1;
}
.hub-featured-eyebrow {
  font-size: 0.72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  opacity: .9;
}
.hub-featured-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.2;
  letter-spacing: -.01em;
}
.hub-featured-title em { font-style: italic; color: var(--accent); }
.hub-featured-desc { font-size: 0.9rem; color: var(--muted2); line-height: 1.7; max-width: 600px; }
.hub-featured-meta { font-size: 0.72rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: 2px; }
.hub-featured-cta {
  font-size: .72rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 8px;
  transition: color .15s;
}
.hub-featured-card:hover .hub-featured-cta { color: var(--accent2); }
.hub-card {
  background-color: var(--surface);
  background-image: linear-gradient(145deg, rgba(0,172,172,0.06) 0%, transparent 55%);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .15s, box-shadow .2s, background-color .2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.24);
}
.hub-card:hover { border-color: var(--accent); box-shadow: 0 6px 22px rgba(0,0,0,0.32); background-image: linear-gradient(145deg, rgba(0,172,172,0.10) 0%, transparent 55%); }
.hub-card[style*="display: none"] { display: none !important; }
.hub-card-eyebrow {
  font-size: 0.72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: .85;
}
.hub-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.3;
}
.hub-card-desc { font-size: 0.82rem; color: var(--muted2); line-height: 1.6; }
.hub-card-meta { font-size: 0.72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }

/* ── Wheel template pages ── */
.wheel-embed-wrap {
  width: 100%;
  background: linear-gradient(145deg, #141828, var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(0,0,0,0.40);
}
.wheel-embed-wrap iframe {
  width: 100%;
  border: none;
  display: block;
}
.wheels-more-table {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.wheels-more-link {
  background: linear-gradient(145deg, #131726, var(--surface));
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color .15s, background .2s;
}
.wheels-more-link:hover { border-color: var(--accent); background: linear-gradient(145deg, #152026, #121c22); }
.wheels-more-icon { font-size: 1.2rem; flex-shrink: 0; }
.wheels-more-text strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  color: var(--cream);
  display: block;
  line-height: 1.2;
}
.wheels-more-text span { font-size: 0.72rem; color: var(--muted2); }

/* ── Yes/No fortune card ── */
.fortune-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}
.fortune-card-scene {
  perspective: 900px;
  -webkit-perspective: 900px;
  width: 220px;
  height: 320px;
}
.fortune-card {
  width: 100%;
  height: 100%;
  position: relative;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  will-change: transform;
  -webkit-transition: -webkit-transform .65s cubic-bezier(.4,0,.2,1);
  transition: transform .65s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
}
.fortune-card.flipped {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.fortune-face {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.fortune-front {
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
  background: linear-gradient(160deg, #053a3a 0%, #085555 40%, #032828 100%);
  border: 1px solid rgba(0,172,172,0.45);
  box-shadow: 0 8px 40px rgba(0,0,0,0.55), inset 0 1px 0 rgba(0,172,172,0.12), 0 0 40px rgba(0,172,172,0.07);
  overflow: hidden;
}
.fortune-front::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(232,184,75,0.3);
  border-radius: 10px;
  background: radial-gradient(ellipse at center, rgba(232,184,75,0.08) 0%, rgba(0,172,172,0.04) 50%, transparent 75%);
}
.fortune-front-icon {
  font-size: 2.8rem;
  color: var(--gold);
  opacity: .85;
  position: relative;
  z-index: 1;
}
.fortune-front-label {
  font-size: 0.72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  opacity: .65;
  position: relative;
  z-index: 1;
}
.fortune-back {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  border: 1px solid var(--border2);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.fortune-back.yes-back {
  background: linear-gradient(145deg, #1a2818, #0f1f10);
  border-color: var(--win);
}
.fortune-back.no-back {
  background: linear-gradient(145deg, #2a1414, #1a0c0c);
  border-color: var(--red);
}
.fortune-answer {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -.02em;
  line-height: 1;
}
.fortune-back.yes-back .fortune-answer { color: var(--win); }
.fortune-back.no-back  .fortune-answer { color: var(--red); }
.fortune-verdict {
  font-size: 0.72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
}
.fortune-back.yes-back .fortune-verdict { color: var(--win); opacity: .7; }
.fortune-back.no-back  .fortune-verdict { color: var(--red); opacity: .7; }
.fortune-tap-hint {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
}

/* ── Show-* aliases (TV article — same as item-* system) ── */
.show-section { display: flex; flex-direction: column; gap: 10px; }
.show-section-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.show-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.show-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .15s, background .15s;
}
.show-card:hover { border-color: var(--accent); background: var(--accent-dim); }
.show-title  { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-style: italic; font-weight: 600; color: var(--cream); margin-bottom: 2px; }
.show-meta   { font-size: .72rem; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.show-desc   { font-size: .72rem; color: var(--muted2); line-height: 1.6; }
.show-links  { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.show-link   { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold) !important; text-decoration: none !important; border: 1px solid rgba(232,184,75,.3); border-radius: 6px; padding: 3px 8px; transition: color .15s, border-color .15s; }
.show-link:hover { color: var(--gold) !important; border-color: var(--gold); }
@media (min-width: 900px) {
  .show-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) { .show-grid { grid-template-columns: 1fr; } .show-section-header { flex-direction: column; align-items: flex-start; } }

/* ── Step-* aliases (how-to-use article — horizontal step layout) ── */
.step-list { display: flex; flex-direction: column; gap: 16px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--accent);
  opacity: .6;
  flex-shrink: 0;
  line-height: 1;
  width: 28px;
  text-align: right;
}
.step-content h3 { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 600; color: var(--cream); margin-bottom: 4px; }
.step-content p  { font-size: .82rem; color: var(--muted2); line-height: 1.7; margin: 0; }
.use-list { display: flex; flex-direction: column; gap: 10px; }
.use-item { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.use-item strong { font-size: .82rem; color: var(--cream); display: block; margin-bottom: 4px; }
.use-item p { font-size: .72rem; color: var(--muted2); line-height: 1.6; margin: 0; }

/* ── Movie-* aliases (must-watch-movies article) ── */
.movie-section { display: flex; flex-direction: column; gap: 10px; }
.movie-section-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.movie-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.movie-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 0; }
.movie-title { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-style: italic; font-weight: 600; color: var(--cream); margin-bottom: 3px; }
.movie-meta  { font-size: .72rem; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 5px; }
.movie-desc  { font-size: .72rem; color: var(--muted2); line-height: 1.6; flex: 1; }
.movie-links { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.movie-link  { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold) !important; text-decoration: none !important; border: 1px solid rgba(232,184,75,.3); border-radius: 6px; padding: 3px 8px; transition: color .15s, border-color .15s; }
.movie-link:hover { color: var(--gold) !important; border-color: var(--gold); }
@media (min-width: 900px) { .movie-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .movie-grid { grid-template-columns: 1fr; } .movie-section-header { flex-direction: column; align-items: flex-start; } }

/* ── Wheel Template Pages (/wheels/) ── */
.wheel-launch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}
.wheel-launch-eyebrow { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.wheel-launch-desc { font-size: .88rem; color: var(--muted2); line-height: 1.7; max-width: 540px; }
.wheel-items-preview { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 600px; }
.wheel-items-chip { background: var(--surface2); border: 1px solid var(--border2); border-radius: 20px; padding: 5px 12px; font-family: 'Cormorant Garamond', serif; font-size: .9rem; font-style: italic; color: var(--cream); }
.wheel-launch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #160f00;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(232,184,75,.22);
  transition: background .15s, transform .1s, box-shadow .2s;
}
.wheel-launch-btn:hover { background: var(--accent2); box-shadow: 0 4px 32px rgba(232,184,75,.42); transform: translateY(-1px); }
.wheels-more-section { border-top: 1px solid var(--border); padding-top: 32px; display: flex; flex-direction: column; gap: 16px; width: 100%; }
.wheels-more-heading { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--cream); }
.wheels-more-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; width: 100%; }
.wheel-table-link { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; transition: border-color .15s, background .15s; position: relative; overflow: hidden; }
.wheel-table-link:hover { border-color: var(--accent); background: var(--accent-dim); }
.wheel-table-name { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-style: italic; color: var(--cream); }
.wheel-table-desc { font-size: .72rem; color: var(--muted); }
.wheel-table-icon { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); width: 56px; height: 56px; color: var(--accent); opacity: 0.08; pointer-events: none; user-select: none; transition: opacity .25s; }
.wheel-table-icon svg { width: 100%; height: 100%; }
.wheel-table-link:hover .wheel-table-icon { opacity: 0.16; }

/* ── Animations ── */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes wheelSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .sidebar-grid .item-card { display: flex; flex-direction: column; }
  .sidebar-grid .item-meta { border-right: none; border-bottom: 1px solid var(--border); justify-content: flex-start; text-align: left; padding: 4px 14px 8px; }
  .sidebar-grid .item-title { padding: 12px 14px 4px; }
  .sidebar-grid .item-desc { padding: 6px 14px 0; }
  .sidebar-grid .item-links { padding: 6px 14px 12px; }
}

@media (max-width: 480px) {
  .shell { padding: 36px 16px 60px; gap: 18px; }
  .article-shell { padding: 36px 16px 60px; }
  .other-tools-grid { grid-template-columns: 1fr; }
  .other-tools-drawer.open { grid-template-columns: 1fr; }
  .item-grid { grid-template-columns: 1fr; }
  .hub-articles-grid { grid-template-columns: 1fr; }
  .wheels-more-table { grid-template-columns: 1fr; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .fortune-card-scene { width: 180px; height: 260px; }
  .fortune-answer { font-size: 3.5rem; }
}

@media (min-width: 900px) {
  body { padding: 0 40px; }
  .site-nav { max-width: 1100px; }
  .shell { max-width: 1100px; padding: 56px 48px 100px; gap: 28px; }
  .article-shell { max-width: 1100px; padding: 56px 48px 100px; }
  .tool-header h1, .header h1 { font-size: 4.8rem; }
  .article-header h1 { font-size: 3.6rem; }
  .article-body p { font-size: 1rem; }
  .article-body h2 { font-size: 1.9rem; }
  .item-grid { grid-template-columns: repeat(3, 1fr); }
  .mag-grid { grid-template-columns: 1fr 1fr 1fr; }
  .mag-grid .item-card:first-child { grid-column: 1; grid-row: 1 / 4; }
}

@media (min-width: 1300px) {
  .site-nav { max-width: 1200px; }
}
