:root {
  --font-sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font-sans);
  --bg: #05060a;
  --bg-soft: #0a0c14;
  --bg-card: rgba(16, 18, 28, 0.82);
  --text: #f7f6f4;
  --muted: #8f94a8;
  --accent: #e8c992;
  --accent-2: #c4b5fd;
  --accent-cool: #7dd3fc;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --glow: 0 28px 64px rgba(0, 0, 0, 0.55);
  --radius-lg: 1.125rem;
  --radius-md: 0.625rem;
  --hot: #fb923c;
  --lime: #4ade80;
  --pink: #f472b6;
  --violet: #a78bfa;
  --flare-cyan: #22d3ee;
  --flare-magenta: #e879f9;
  --flare-amber: #fbbf24;
  --flare-rose: #fb7185;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  /* Editorial column width (was 74rem; +5%) */
  --layout-max: 77.7rem;
  /* Inline / text links */
  --cq-link: var(--accent-cool);
  --cq-link-hover: #a5ecff;
  --cq-link-visited: #d8cafc;
  --cq-link-active: var(--flare-rose);
  --cq-link-underline: rgba(125, 211, 252, 0.42);
  --cq-link-underline-hover: rgba(125, 211, 252, 0.78);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body.site-body a[href] {
  text-decoration: none;
}

body.site-body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.01em;
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  touch-action: pan-y;
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

::selection {
  background: rgba(34, 211, 238, 0.28);
  color: var(--text);
}

.ambient-bg {
  position: fixed;
  inset: -18%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(50rem 28rem at 5% 0%, rgba(34, 211, 238, 0.22), transparent 72%),
    radial-gradient(46rem 26rem at 98% 4%, rgba(232, 121, 249, 0.2), transparent 70%),
    radial-gradient(54rem 34rem at 48% 108%, rgba(251, 191, 36, 0.14), transparent 76%),
    radial-gradient(40rem 24rem at 78% 42%, rgba(167, 139, 250, 0.18), transparent 72%),
    radial-gradient(36rem 22rem at 22% 58%, rgba(251, 113, 133, 0.12), transparent 70%);
  animation: ambientDrift 20s ease-in-out infinite alternate;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.055;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.55) 0.35px, transparent 0.4px),
    radial-gradient(circle at 78% 62%, rgba(255, 255, 255, 0.4) 0.35px, transparent 0.4px);
  background-size: 3px 3px, 4px 4px;
}

@keyframes ambientDrift {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(2%, -2.5%) scale(1.03) rotate(0.4deg);
  }
  100% {
    transform: translate(-1.5%, -1.2%) scale(1.02) rotate(-0.25deg);
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 30;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%),
    linear-gradient(125deg, rgba(34, 211, 238, 0.04), transparent 38%, rgba(232, 121, 249, 0.04)),
    rgba(5, 6, 10, 0.78);
  backdrop-filter: blur(18px) saturate(1.35);
  overflow: visible;
  animation: headerAura 8s ease-in-out infinite alternate;
}

@keyframes headerAura {
  0% {
    box-shadow:
      0 0 0 rgba(34, 211, 238, 0),
      0 12px 48px rgba(0, 0, 0, 0.45);
  }
  100% {
    box-shadow:
      0 0 80px rgba(167, 139, 250, 0.12),
      0 0 120px rgba(34, 211, 238, 0.08),
      0 16px 56px rgba(0, 0, 0, 0.5);
  }
}

.header-beam {
  position: absolute;
  left: 8%;
  top: 0;
  bottom: 0;
  width: min(42vw, 420px);
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(34, 211, 238, 0.07) 35%,
    rgba(232, 121, 249, 0.06) 55%,
    transparent 100%
  );
  filter: blur(28px);
  opacity: 0.9;
  animation: beamSweep 11s ease-in-out infinite alternate;
}

@keyframes beamSweep {
  0% {
    transform: translateX(-12%) skewX(-6deg);
    opacity: 0.65;
  }
  100% {
    transform: translateX(28%) skewX(4deg);
    opacity: 1;
  }
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--flare-cyan),
    var(--flare-magenta),
    var(--flare-amber),
    var(--violet),
    transparent
  );
  background-size: 200% 100%;
  opacity: 0.75;
  animation: headerEdgeFlow 10s linear infinite;
}

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

.top-ribbon {
  position: relative;
  z-index: 1;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    105deg,
    rgba(34, 211, 238, 0.14) 0%,
    rgba(232, 121, 249, 0.12) 22%,
    rgba(251, 191, 36, 0.12) 48%,
    rgba(167, 139, 250, 0.14) 72%,
    rgba(34, 211, 238, 0.12) 100%
  );
  background-size: 280% 100%;
  animation: ribbonFlow 16s linear infinite;
}

@keyframes ribbonFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.top-ribbon__inner {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 0.38rem 1.15rem 0.48rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  justify-content: space-between;
}

.top-ribbon__tagline {
  margin: 0;
  flex: 1 1 14rem;
  min-width: 0;
  text-align: left;
  padding: 0.12rem 0;
  color: rgba(240, 248, 255, 0.92);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow:
    0 0 24px rgba(34, 211, 238, 0.45),
    0 0 40px rgba(232, 121, 249, 0.25);
}

.top-ribbon .ribbon-search.nav-search {
  flex: 0 1 min(18rem, 42vw);
  max-width: min(18rem, 100%);
  min-width: 10rem;
  margin-left: 0;
  margin-right: 0;
}

.nav-search--mobile {
  display: none;
}

.nav-sticky {
  position: relative;
  z-index: 1;
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 0.62rem 1.15rem 0.72rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.nav-sticky .nav-brand-wrap {
  order: 1;
}

.nav-sticky .nav-menu {
  order: 2;
}

.nav-sticky .nav-trailing {
  order: 3;
}

.nav-brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.brand:hover {
  color: var(--accent);
}

.brand span {
  position: relative;
}

.brand-badge {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.1rem 0.44rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--accent);
  background: rgba(201, 168, 124, 0.08);
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  gap: 0.06rem 0.04rem;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
  align-items: center;
}

.nav-menu li {
  animation: navItemIn 0.55s var(--ease-out-expo) backwards;
}

.nav-menu li:nth-child(1) {
  animation-delay: 0.04s;
}

.nav-menu li:nth-child(2) {
  animation-delay: 0.08s;
}

.nav-menu li:nth-child(3) {
  animation-delay: 0.12s;
}

.nav-menu li:nth-child(4) {
  animation-delay: 0.16s;
}

.nav-menu li:nth-child(5) {
  animation-delay: 0.2s;
}

.nav-menu li:nth-child(6) {
  animation-delay: 0.24s;
}

@keyframes navItemIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.42rem 0.48rem;
  color: rgba(247, 246, 244, 0.78);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  transition:
    color 0.25s var(--ease-out-expo),
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.3s ease,
    transform 0.25s var(--ease-out-expo);
}

.nav-menu a:hover,
.nav-menu a.is-active {
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.12),
    rgba(232, 121, 249, 0.1) 50%,
    rgba(251, 191, 36, 0.08)
  );
  color: var(--text);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.15) inset,
    0 4px 24px rgba(34, 211, 238, 0.12),
    0 8px 32px rgba(232, 121, 249, 0.08);
}

.nav-menu a:hover {
  transform: translateY(-2px) scale(1.03);
}

.nav-menu a.is-active {
  border-color: rgba(34, 211, 238, 0.45);
  color: var(--flare-cyan);
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.45);
}

.nav-menu a:focus-visible {
  outline: 2px solid var(--flare-cyan);
  outline-offset: 3px;
}

.nav-menu iconify-icon {
  font-size: 1.12rem;
  vertical-align: middle;
  transform: translateY(-1px);
  opacity: 0.88;
}

.nav-trailing {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

@media (min-width: 961px) {
  .nav-sticky .nav-trailing {
    margin-left: 0.75rem;
  }
}

.nav-search-toggle {
  display: none;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  touch-action: manipulation;
}

.nav-search-toggle iconify-icon {
  font-size: 1.08rem;
}

.mobile-menu-toggle {
  display: none;
  margin-left: 0;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  touch-action: manipulation;
}

.mobile-menu-toggle:hover {
  border-color: rgba(34, 211, 238, 0.45);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(232, 121, 249, 0.12));
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.2);
}

.mobile-menu-toggle iconify-icon {
  font-size: 1.12rem;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 39;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -1px;
  width: min(84vw, 360px);
  height: 100vh;
  z-index: 40;
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  background:
    linear-gradient(165deg, rgba(34, 211, 238, 0.12), transparent 32%),
    linear-gradient(200deg, rgba(232, 121, 249, 0.08), transparent 45%),
    rgba(8, 9, 14, 0.98);
  border-left: 1px solid rgba(34, 211, 238, 0.22);
  box-shadow:
    -20px 0 56px rgba(0, 0, 0, 0.6),
    -4px 0 48px rgba(34, 211, 238, 0.08);
  padding: 0.9rem 0.9rem 1.1rem;
  visibility: hidden;
}

.mobile-drawer-open .mobile-drawer {
  transform: translateX(0);
  visibility: visible;
}

.mobile-drawer-open .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.mobile-drawer-head p {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}

.mobile-menu-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.mobile-menu-close iconify-icon {
  font-size: 1.15rem;
}

.mobile-drawer-nav {
  display: grid;
  gap: 0.4rem;
}

.mobile-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.52rem 0.62rem;
  text-decoration: none;
  color: rgba(244, 243, 240, 0.9);
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(0);
  transition: transform 0.25s ease, border-color 0.2s ease, background 0.2s ease;
}

.mobile-drawer-nav a:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: linear-gradient(120deg, rgba(34, 211, 238, 0.14), rgba(232, 121, 249, 0.12));
  transform: translateX(-3px);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.12);
}

.site-main {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 7.1rem 1.2rem 2.6rem;
  animation: mainStageIn 0.75s var(--ease-out-expo) both;
}

/* --- Editorial text links (.cq-content on FAQ, Terms, About, etc.) --- */
.cq-content a[href]:not(.quote-source):not(.quote-source--cta) {
  color: var(--cq-link);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease-out-expo);
}

.cq-content a[href]:not(.quote-source):not(.quote-source--cta):visited {
  color: var(--cq-link-visited);
}

.cq-content a[href]:not(.quote-source):not(.quote-source--cta):hover {
  color: var(--cq-link-hover);
}

.cq-content a[href]:not(.quote-source):not(.quote-source--cta):active {
  color: var(--cq-link-active);
}

.cq-content a[href]:not(.quote-source):not(.quote-source--cta):focus-visible {
  outline: 2px solid var(--flare-cyan);
  outline-offset: 3px;
  border-radius: 0.2rem;
}

@keyframes mainStageIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  margin-bottom: 1.15rem;
  padding: 0.85rem 0.15rem 1.1rem;
  border: none;
  border-radius: 0;
  background: none;
  background-size: auto;
  animation: none;
  box-shadow: none;
  position: relative;
  overflow: visible;
}

.hero::before,
.hero::after {
  display: none;
  content: none;
}

.hero h1,
.hero h2 {
  position: relative;
  z-index: 1;
  margin: 0.15rem 0 0.4rem;
  line-height: 1.08;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  letter-spacing: -0.02em;
  color: var(--text);
  background: linear-gradient(
    105deg,
    #fff 0%,
    rgba(186, 230, 253, 0.95) 32%,
    rgba(253, 230, 138, 0.9) 58%,
    rgba(251, 207, 232, 0.95) 85%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: none;
}

.hero-home {
  margin-top: 0.35rem;
}

.hero-home .lead {
  max-width: 58ch;
  font-size: 0.94rem;
  line-height: 1.65;
  font-weight: 400;
  color: var(--muted);
}

.hero .eyebrow,
.hero .lead,
.hero .hero-chips,
.hero .quote-day-spotlight {
  position: relative;
  z-index: 1;
}

.hero h2:not(.spotlight-label):not(.home-qotd__title):not(.home-feed-quotes__title) {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.8vw, 2.05rem);
  letter-spacing: -0.015em;
  color: rgba(240, 249, 255, 0.98);
  text-shadow: none;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.66rem;
  font-weight: 600;
}

.lead {
  margin: 0;
  font-size: 1.03rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.65;
}

/* Wikipedia / external names in influencers lead: use editorial link tokens (not browser default blue on dark). */
.lead--inline-wiki a[href] {
  color: var(--cq-link);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--cq-link-underline);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition:
    color 0.2s var(--ease-out-expo),
    text-decoration-color 0.2s ease;
}

.lead--inline-wiki a[href]:visited {
  color: var(--cq-link-visited);
  text-decoration-color: rgba(167, 139, 250, 0.5);
}

.lead--inline-wiki a[href]:hover {
  color: var(--cq-link-hover);
  text-decoration-color: var(--cq-link-underline-hover);
}

.lead--inline-wiki a[href]:active {
  color: var(--cq-link-active);
}

.lead--inline-wiki a[href]:focus-visible {
  outline: 2px solid var(--flare-cyan);
  outline-offset: 3px;
  border-radius: 0.2rem;
  text-decoration-color: var(--cq-link-underline-hover);
}

html[data-theme="light"] .lead--inline-wiki a[href]:visited {
  text-decoration-color: rgba(91, 33, 182, 0.35);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.95rem;
}

.hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.22rem 0.62rem;
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(247, 246, 244, 0.88);
  background: rgba(255, 255, 255, 0.04);
  transition:
    transform 0.28s var(--ease-out-expo),
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.3s ease;
}

.hero-chips span:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(34, 211, 238, 0.45);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(232, 121, 249, 0.1));
  box-shadow: 0 6px 24px rgba(34, 211, 238, 0.15);
}

.quote-day-spotlight {
  margin-top: 1.05rem;
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem;
  background:
    linear-gradient(135deg, rgba(74, 222, 128, 0.12), rgba(34, 211, 238, 0.1) 40%, rgba(232, 121, 249, 0.08) 70%, transparent),
    rgba(8, 10, 16, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 40px rgba(34, 211, 238, 0.08);
  position: relative;
  z-index: 2;
  animation: spotlightPulse 5s ease-in-out infinite alternate;
}

@keyframes spotlightPulse {
  from {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 0 32px rgba(34, 211, 238, 0.06);
  }
  to {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 0 48px rgba(232, 121, 249, 0.1);
  }
}

.spotlight-label {
  margin: 0 0 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: calc(0.68rem + 2px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(167, 243, 208, 0.98);
  text-shadow: 0 0 16px rgba(74, 222, 128, 0.35);
}

/* h2 QOTD / home feed kicker: reset heading chrome, keep .spotlight-label look */
h2.spotlight-label,
h2.home-qotd__title,
h2.home-feed-quotes__title {
  font-family: inherit;
  line-height: 1.2;
  text-shadow: 0 0 16px rgba(74, 222, 128, 0.35);
}

.quote-day-spotlight blockquote {
  margin: 0;
  font-size: 1.02rem;
  font-family: var(--font-display);
  font-style: italic;
  line-height: 1.45;
  color: rgba(244, 243, 240, 0.95);
}

.quote-day-spotlight p {
  margin: 0.55rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.quote-day-spotlight a {
  margin-top: 0.52rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--cq-link);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  margin-left: -0.45rem;
  border-radius: 0.45rem;
  border: 1px solid transparent;
  transition:
    color 0.2s var(--ease-out-expo),
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.quote-day-spotlight a:hover {
  color: var(--cq-link-hover);
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.22);
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.1);
}

.quote-day-spotlight a:focus-visible {
  outline: 2px solid var(--flare-cyan);
  outline-offset: 3px;
}

.quote-day-spotlight a iconify-icon {
  transition: transform 0.25s var(--ease-out-expo);
}

.quote-day-spotlight a:hover iconify-icon {
  transform: translate(2px, -1px);
}

.muted {
  color: var(--muted);
  font-size: 0.86rem;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.05rem 1.15rem;
  margin-top: 1rem;
  background:
    linear-gradient(180deg, rgba(34, 211, 238, 0.05), transparent 42%),
    linear-gradient(200deg, rgba(232, 121, 249, 0.04), transparent 50%),
    var(--bg-card);
  box-shadow: var(--glow);
  backdrop-filter: blur(10px);
  transition: border-color 0.28s ease, box-shadow 0.32s ease, transform 0.28s var(--ease-out-expo);
}

.card:hover {
  border-color: rgba(167, 139, 250, 0.28);
  box-shadow:
    var(--glow),
    0 0 40px rgba(34, 211, 238, 0.06);
  transform: translateY(-2px);
}

/* Quote article page: main <article> should align to top of layout (no .card offset) */
.quote-main.card {
  margin-top: 0;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr));
  gap: 1.05rem;
}

/* Heading sits above the grid (not inside the grid) so layout stays one full-width title row + cards */
.quotes-feed-section {
  width: 100%;
  margin-top: 1.35rem;
}

.quotes-feed-section--spotlight {
  margin-top: 1.15rem;
}

.quotes-feed-section--spotlight .spotlight-label {
  margin-bottom: 0.45rem;
}

.quotes-feed-section__intro {
  margin: 0 0 0.95rem;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  font-size: 0.94rem;
  line-height: 1.65;
  font-weight: 400;
  color: var(--muted);
}

.quotes-feed-section__heading {
  display: block;
  width: 100%;
  margin: 0 0 0.85rem;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(240, 249, 255, 0.96);
  line-height: 1.3;
}

.quotes-grid > .quote-card {
  min-width: 0;
}

.quote-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.05rem 1.08rem;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%),
    rgba(12, 14, 22, 0.88);
  box-shadow: var(--glow);
  transition:
    transform 0.32s var(--ease-out-expo),
    border-color 0.28s ease,
    box-shadow 0.32s ease;
}

.quote-card::after {
  content: "";
  position: absolute;
  inset: auto -35% -60% auto;
  width: 240px;
  height: 240px;
  background:
    radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent 65%),
    radial-gradient(circle, rgba(232, 121, 249, 0.15), transparent 70%);
  pointer-events: none;
  transition: transform 0.5s var(--ease-out-expo), opacity 0.4s ease;
}

.quote-card:hover {
  transform: translateY(-7px) scale(1.01);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow:
    0 36px 72px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 48px rgba(34, 211, 238, 0.12),
    0 12px 40px rgba(232, 121, 249, 0.08);
}

.quote-card:hover::after {
  transform: scale(1.12) translate(-4%, -4%);
  opacity: 1;
}

/* Use nth-of-type(article) so an optional section h2 does not break the stripe pattern */
.quotes-grid > article.quote-card:nth-of-type(3n + 1) {
  background:
    linear-gradient(168deg, rgba(34, 211, 238, 0.14) 0%, transparent 50%),
    rgba(12, 14, 22, 0.9);
}

.quotes-grid > article.quote-card:nth-of-type(3n + 2) {
  background:
    linear-gradient(168deg, rgba(251, 191, 36, 0.12) 0%, rgba(251, 113, 133, 0.08) 35%, transparent 52%),
    rgba(12, 14, 22, 0.9);
}

.quotes-grid > article.quote-card:nth-of-type(3n + 3) {
  background:
    linear-gradient(168deg, rgba(232, 121, 249, 0.14) 0%, rgba(167, 139, 250, 0.1) 45%, transparent 52%),
    rgba(12, 14, 22, 0.9);
}

.quote-card blockquote {
  margin: 0;
  font-size: 1.03rem;
  font-family: var(--font-display);
  font-style: italic;
  line-height: 1.42;
  position: relative;
  z-index: 1;
  color: rgba(244, 243, 240, 0.96);
}

.quote-card__bodylink {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 0.35rem;
  margin: 0;
  outline-offset: 3px;
}

.quote-card__bodylink:hover blockquote,
.quote-card__bodylink:focus-visible blockquote {
  color: rgba(34, 211, 238, 0.95);
}

.quote-card__bodylink:focus-visible {
  outline: 2px solid var(--flare-cyan);
}

a.author-thumb-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  text-decoration: none;
  color: inherit;
  border-radius: 999px;
  flex-shrink: 0;
  outline-offset: 2px;
}

a.author-thumb-link:focus-visible {
  outline: 2px solid var(--flare-cyan);
}

.meta-author-inline .author-thumb-link {
  display: inline-flex;
  vertical-align: middle;
}

.quote-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.55rem;
  position: relative;
  z-index: 1;
}

.quote-card-top--category {
  justify-content: flex-start;
}

.quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: rgba(254, 243, 199, 0.98);
  border-radius: 999px;
  padding: 0.12rem 0.46rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(120deg, rgba(251, 191, 36, 0.18), rgba(251, 113, 133, 0.12));
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.15);
}

.quote-badge--category {
  max-width: 100%;
  min-width: 0;
  border-color: rgba(167, 139, 250, 0.5);
  color: rgba(237, 233, 254, 0.98);
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.22), rgba(34, 211, 238, 0.12));
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.14);
  text-transform: none;
  letter-spacing: 0.04em;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-badge--category iconify-icon {
  flex-shrink: 0;
  color: rgba(196, 181, 253, 0.95);
}

.quote-card-top--with-hot {
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: nowrap;
  align-items: center;
}

.quote-badge--hot {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  border-color: rgba(251, 113, 133, 0.7);
  color: rgba(255, 250, 250, 0.98);
  background: linear-gradient(120deg, rgba(251, 113, 133, 0.4), rgba(251, 191, 36, 0.3));
  box-shadow: 0 0 14px rgba(251, 113, 133, 0.45), 0 0 28px rgba(251, 191, 36, 0.2);
  animation: cqHotBadgePulse 1.8s ease-in-out infinite;
  text-transform: uppercase;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  margin-left: auto;
  flex-shrink: 0;
}

.quote-badge--hot iconify-icon {
  font-size: 1.05rem;
  animation: cqHotArrowNudge 1.15s ease-in-out infinite;
}

.quote-badge--hot-label {
  font-weight: 800;
}

@keyframes cqHotBadgePulse {
  0%,
  100% {
    box-shadow: 0 0 14px rgba(251, 113, 133, 0.45), 0 0 24px rgba(251, 191, 36, 0.18);
  }
  50% {
    box-shadow: 0 0 24px rgba(251, 113, 133, 0.7), 0 0 40px rgba(251, 191, 36, 0.38);
  }
}

@keyframes cqHotArrowNudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.home-top-shared-quote {
  max-width: 42rem;
  margin-top: 0.35rem;
}

.quote-signal {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: rgba(207, 250, 254, 0.98);
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.22), rgba(167, 139, 250, 0.18));
  animation: signalPulse 3.2s ease-in-out infinite;
}

@keyframes signalPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.25); }
  50% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0.01); }
}

.quote-author {
  margin: 0.72rem 0 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.quote-author--with-thumb {
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.45rem;
}

.quote-author--feature {
  font-size: 0.95rem;
}

.quote-author .author-thumb,
.quote-author .author-thumb-link {
  align-self: center;
  flex-shrink: 0;
}

.quote-author__text {
  min-width: 0;
  flex: 1 1 0%;
  overflow: hidden;
  align-self: center;
  line-height: 1.25;
}

.quote-author__text:not(:has(.quote-author__link)) {
  white-space: nowrap;
  text-overflow: ellipsis;
}

.quote-author__link {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--cq-link);
  text-decoration: none;
  font-weight: 600;
  border-bottom: none;
  padding-bottom: 0;
  transition: color 0.2s var(--ease-out-expo);
}

.quote-author__link:hover {
  color: var(--cq-link-hover);
}

.quote-author__link:focus-visible {
  outline: 2px solid var(--flare-cyan);
  outline-offset: 3px;
  border-radius: 0.2rem;
}

.author-thumb {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
}

.author-thumb--xs {
  width: 28px;
  height: 28px;
}

.author-thumb--sm {
  width: 32px;
  height: 32px;
}

.author-thumb--md {
  width: 40px;
  height: 40px;
}

.author-thumb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-thumb--placeholder {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(167, 139, 250, 0.2));
}

.author-thumb__initials {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(247, 246, 244, 0.92);
}

.author-thumb--md .author-thumb__initials {
  font-size: 0.72rem;
}

.author-thumb--xs .author-thumb__initials {
  font-size: 0.58rem;
}

.meta-author-inline {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  font-weight: 600;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 0%;
}

.meta-author-inline__name {
  min-width: 0;
  flex: 1 1 0%;
  overflow: hidden;
  text-align: right;
}

.meta-author-inline__name:not(:has(a)) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meta-author-inline__name a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  color: var(--cq-link);
  text-decoration: none;
  font-weight: 600;
  border-bottom: none;
  padding-bottom: 0;
  transition: color 0.2s var(--ease-out-expo);
}

.meta-author-inline__name a:hover {
  color: var(--cq-link-hover);
}

.meta-author-inline__name a:focus-visible {
  outline: 2px solid var(--flare-cyan);
  outline-offset: 3px;
  border-radius: 0.2rem;
}

.qotd-archive-row__head {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.qotd-archive-row__head .author-thumb-link,
.qotd-archive-row__head .author-thumb {
  align-self: center;
  flex-shrink: 0;
}

.qotd-archive-row__meta {
  flex: 1;
  min-width: 0;
}

.qotd-archive-row__link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0.15rem 0.35rem;
  margin: -0.15rem -0.35rem;
  border-radius: 0.4rem;
  transition:
    color 0.2s var(--ease-out-expo),
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.qotd-archive-row__link:hover {
  color: var(--cq-link);
  background: rgba(34, 211, 238, 0.08);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.12);
}

.qotd-archive-row__link:hover .muted {
  color: var(--muted);
}

.qotd-archive-row__link:focus-visible {
  outline: 2px solid var(--flare-cyan);
  outline-offset: 2px;
}

.qotd-archive-row__snippet {
  color: inherit;
  text-decoration: none;
  border-bottom: none;
  transition: color 0.2s ease;
}

.qotd-archive-row__snippet:hover {
  color: var(--cq-link);
}

.qotd-archive-row__snippet:focus-visible {
  outline: 2px solid var(--flare-cyan);
  outline-offset: 2px;
  border-radius: 0.2rem;
}

.quote-day-spotlight__byline {
  margin-top: 0.65rem;
}

.reel-slide__author__name {
  font-weight: 500;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: start;
}

.quote-source {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-top: 0.62rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--cq-link);
  position: relative;
  z-index: 1;
  padding: 0.2rem 0.42rem 0.22rem;
  margin-left: -0.42rem;
  border-radius: 0.45rem;
  border: 1px solid transparent;
  transition:
    color 0.2s var(--ease-out-expo),
    background 0.22s ease,
    border-color 0.2s ease,
    box-shadow 0.22s ease,
    transform 0.2s var(--ease-out-expo);
}

.quote-source:hover {
  color: var(--cq-link-hover);
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.22);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.12);
  transform: translateY(-1px);
}

.quote-source:focus-visible {
  outline: 2px solid var(--flare-cyan);
  outline-offset: 3px;
}

.quote-source iconify-icon {
  opacity: 0.92;
  transition: transform 0.25s var(--ease-out-expo), color 0.2s ease;
}

.quote-source:hover iconify-icon {
  transform: translate(2px, -1px);
  color: var(--flare-cyan);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: 1.15rem;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.34rem 0.68rem;
  color: rgba(247, 246, 244, 0.82);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  transition:
    border-color 0.25s ease,
    color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s var(--ease-out-expo);
}

.page-link:hover,
.page-link.is-active {
  border-color: rgba(34, 211, 238, 0.45);
  color: var(--text);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(232, 121, 249, 0.1));
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.12);
  transform: translateY(-1px);
}

.page-link:focus-visible {
  outline: 2px solid var(--flare-cyan);
  outline-offset: 3px;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 1.15rem;
  align-items: start;
}

.quote-full {
  margin: 0.9rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-style: italic;
  line-height: 1.62;
  color: rgba(244, 243, 240, 0.97);
}

.quote-sidebar {
  display: grid;
  gap: 1rem;
}

.widget h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.meta-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.48rem;
}

.meta-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 0.38rem;
}

.meta-list span {
  color: var(--muted);
  font-size: 0.86rem;
}

.meta-list strong {
  text-align: right;
  font-weight: 600;
  color: rgba(244, 243, 240, 0.9);
}

.meta-list li.meta-list__author-row strong.meta-author-inline {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  flex: 1 1 0%;
  text-align: unset;
}

.share-actions {
  display: grid;
  gap: 0.42rem;
}

.share-actions--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.share-actions a,
.share-actions button {
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  padding: 0.48rem 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(244, 243, 240, 0.92);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.share-actions a:hover,
.share-actions button:hover {
  border-color: rgba(34, 211, 238, 0.35);
  color: var(--text);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(232, 121, 249, 0.06));
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.08);
}

.share-actions a:focus-visible,
.share-actions button:focus-visible {
  outline: 2px solid var(--flare-cyan);
  outline-offset: 2px;
}

.ai-insight-panel {
  margin-top: 1.25rem;
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
}

.ai-insight-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
}

.ai-insight-head__kicker {
  display: block;
}

.ai-insight-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.quote-main__kicker {
  display: block;
  margin-bottom: 0.35rem;
}

.quote-related-block {
  margin-top: 1.5rem;
}

.quote-related-block__head {
  margin-bottom: 0.85rem;
}

.quote-related-block__sub {
  margin: 0.35rem 0 0;
}

.qotd-page__section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: -0.02em;
  color: rgba(240, 249, 255, 0.96);
}

.authors-directory__title {
  margin: 0.85rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(240, 249, 255, 0.96);
}

.about-corrections__title {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.faq-main__title,
.terms-main__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(240, 249, 255, 0.96);
}

.qotd-archive__list-heading {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.9vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(240, 249, 255, 0.96);
}

.ai-insight-list {
  display: grid;
  gap: 0.68rem;
}

.ai-insight-list-main {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-insight-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.88rem 0.92rem;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04), transparent 50%),
    rgba(12, 14, 18, 0.75);
}

.ai-insight-item h3 {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.ai-insight-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(244, 243, 240, 0.9);
}

.ai-empty-state {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.personalities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.05rem;
}

.personality-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  background:
    linear-gradient(160deg, rgba(201, 168, 124, 0.08), transparent 45%),
    rgba(14, 16, 20, 0.88);
  box-shadow: var(--glow);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.personality-card:hover {
  border-color: rgba(201, 168, 124, 0.22);
  transform: translateY(-2px);
}

.personality-card__profile-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-md);
  outline: none;
}

.personality-card__profile-link:hover .personality-head h2 {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.personality-card__profile-link:focus-visible {
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.5);
}

.authors-sort-toggle {
  display: inline-block;
  margin-left: 0.5rem;
}

.authors-sort-toggle a {
  white-space: nowrap;
}

.personality-head {
  display: flex;
  gap: 0.72rem;
  align-items: center;
  margin-bottom: 0.52rem;
}

.personality-head h2 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.personality-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
}

.personality-avatar-fallback {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(140deg, rgba(201, 168, 124, 0.75), rgba(155, 140, 206, 0.65));
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.social-links a {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.18rem 0.52rem;
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(244, 243, 240, 0.78);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s var(--ease-out-expo);
}

.social-links a:hover {
  border-color: rgba(34, 211, 238, 0.35);
  color: var(--text);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(232, 121, 249, 0.06));
  box-shadow: 0 2px 16px rgba(34, 211, 238, 0.08);
  transform: translateY(-1px);
}

.social-links a:focus-visible {
  outline: 2px solid var(--flare-cyan);
  outline-offset: 2px;
}

.site-footer {
  position: relative;
  margin-top: 2.25rem;
  padding: 1.5rem 1.2rem 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(34, 211, 238, 0.06), transparent 38%),
    linear-gradient(15deg, rgba(232, 121, 249, 0.05), transparent 42%),
    rgba(4, 5, 10, 0.94);
  backdrop-filter: blur(16px) saturate(1.25);
  overflow: hidden;
  animation: footerGlow 12s ease-in-out infinite alternate;
}

@keyframes footerGlow {
  from {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }
  to {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 -24px 80px rgba(167, 139, 250, 0.08);
  }
}

.footer-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.footer-aurora__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.55;
  animation: footerOrbFloat 14s ease-in-out infinite;
}

.footer-aurora__orb--1 {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  left: -8%;
  bottom: -35%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.45), transparent 70%);
  animation-delay: 0s;
}

.footer-aurora__orb--2 {
  width: min(50vw, 380px);
  height: min(50vw, 380px);
  right: -5%;
  top: -40%;
  background: radial-gradient(circle, rgba(232, 121, 249, 0.4), transparent 68%);
  animation-delay: -7s;
}

@keyframes footerOrbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(6%, -4%) scale(1.08);
  }
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--flare-cyan),
    var(--flare-magenta),
    var(--flare-amber),
    transparent
  );
  background-size: 200% 100%;
  opacity: 0.85;
  animation: headerEdgeFlow 12s linear infinite;
  z-index: 1;
}

.footer-grid {
  position: relative;
  z-index: 1;
  max-width: var(--layout-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1.25rem;
}

.footer-title {
  margin: 0 0 0.48rem;
  color: rgba(247, 246, 244, 0.95);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.25);
}

.site-footer nav {
  display: grid;
  gap: 0.36rem;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.28rem 0.4rem;
  margin: -0.28rem -0.4rem;
  border-radius: 0.4rem;
  border: 1px solid transparent;
  transition:
    color 0.25s var(--ease-out-expo),
    transform 0.25s var(--ease-out-expo),
    background 0.22s ease,
    border-color 0.22s ease,
    text-shadow 0.25s ease;
}

.site-footer a:hover {
  color: var(--cq-link-hover);
  transform: translateX(4px);
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(34, 211, 238, 0.18);
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.35);
}

.site-footer a:focus-visible {
  outline: 2px solid var(--flare-cyan);
  outline-offset: 2px;
}

.site-footer nav.footer-community {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.site-footer nav.footer-community a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  line-height: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  margin: 0;
  border-radius: 9999px;
  color: rgba(247, 246, 244, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer nav.footer-community a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
  transform: none;
  text-shadow: none;
}

.site-footer nav.footer-community .footer-community__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  margin: 0;
}

/* Simple Icons / MDI glyphs sit off optical center inside the viewBox. */
.site-footer nav.footer-community .footer-community__icon[icon="simple-icons:tiktok"] {
  transform: translate(-0.1rem, -0.08rem);
}

.site-footer nav.footer-community .footer-community__icon[icon="mdi:instagram"] {
  transform: translate(0, 0.06rem);
}

.site-footer nav.footer-community .footer-community__icon[icon="simple-icons:x"] {
  transform: translate(0.08rem, 0.06rem);
}

.site-footer .muted a[href] {
  color: var(--cq-link);
  font-weight: 500;
  text-decoration: none;
  padding: 0;
  margin: 0;
  border: none;
  display: inline;
  transition: color 0.2s ease;
}

.site-footer .muted a[href]:hover {
  color: var(--cq-link-hover);
  background: none;
  transform: none;
  text-shadow: none;
}

.site-footer a iconify-icon {
  transition: transform 0.3s var(--ease-out-expo), color 0.25s ease;
}

.site-footer a:hover iconify-icon {
  transform: scale(1.12);
  color: var(--flare-magenta);
}

.site-footer nav.footer-community a:hover .footer-community__icon {
  color: var(--flare-magenta);
}

.site-footer nav.footer-community a:hover .footer-community__icon[icon="simple-icons:tiktok"] {
  transform: translate(-0.1rem, -0.08rem) scale(1.08);
}

.site-footer nav.footer-community a:hover .footer-community__icon[icon="mdi:instagram"] {
  transform: translate(0, 0.06rem) scale(1.08);
}

.site-footer nav.footer-community a:hover .footer-community__icon[icon="simple-icons:x"] {
  transform: translate(0.08rem, 0.06rem) scale(1.08);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  max-width: var(--layout-max);
  margin: 1.05rem auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.85rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-heart {
  display: inline-block;
  vertical-align: -0.18em;
  margin: 0 0.06em;
  line-height: 0;
}

.footer-heart svg {
  display: block;
  width: 0.95em;
  height: 0.95em;
  fill: #a855f7;
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.35));
}

/* Default visible - no CLS from empty space / late paint. Motion uses transform only (compositor). */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  animation: none;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(201, 168, 124, 0.45), rgba(155, 140, 206, 0.4));
  border: 2px solid rgba(6, 7, 8, 0.95);
}

::-webkit-scrollbar-track {
  background: rgba(10, 11, 14, 0.95);
}

@media (prefers-reduced-motion: reduce) {
  .ambient-bg,
  .site-header,
  .site-header::after,
  .header-beam,
  .top-ribbon,
  .nav-menu li,
  .site-main,
  .hero,
  .quote-day-spotlight,
  .site-footer,
  .site-footer::before,
  .footer-aurora__orb,
  .quote-signal {
    animation: none;
  }

  .hero {
    background: none;
    box-shadow: none;
    border: none;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}

@media (max-width: 960px) {
  .header-beam {
    display: none;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-main {
    padding-top: 5.8rem;
  }

  .quote-layout {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .ai-insight-list-main {
    grid-template-columns: 1fr;
  }

  .quote-main.card,
  .quote-sidebar .card,
  .quote-sidebar .widget-surface {
    padding: 0.9rem 0.92rem;
  }

  .quote-full {
    font-size: 1.06rem;
    line-height: 1.58;
  }

  .quote-sidebar {
    gap: 0.8rem;
  }

  .widget h2 {
    margin-bottom: 0.56rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  /*
   * Chrome/Android: backdrop-filter plus animated box-shadow on the footer and
   * header often triggers compositor bugs (wrong backdrop sampling), so a frosted
   * layer appears to sit over the main column. Use solid backgrounds and no blur.
   */
  .site-footer {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    animation: none;
    background:
      linear-gradient(180deg, rgba(34, 211, 238, 0.08), transparent 38%),
      linear-gradient(15deg, rgba(232, 121, 249, 0.06), transparent 42%),
      rgba(4, 5, 10, 0.97);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    animation: none;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%),
      linear-gradient(125deg, rgba(34, 211, 238, 0.05), transparent 38%, rgba(232, 121, 249, 0.05)),
      rgba(5, 6, 10, 0.94);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.48);
  }

  .footer-aurora__orb {
    filter: blur(28px);
    opacity: 0.42;
  }

  .mobile-drawer-backdrop {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .share-actions a,
  .share-actions button {
    width: 100%;
  }
}

/* Touch UIs: :hover can stick after tap on Android; drop fake hover chrome. */
@media (hover: none) {
  .site-footer a:hover {
    color: var(--muted);
    background: transparent;
    border-color: transparent;
    transform: none;
    text-shadow: none;
  }

  .site-footer nav.footer-community a:hover {
    color: rgba(247, 246, 244, 0.88);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .site-footer a:hover iconify-icon:not(.footer-community__icon) {
    transform: none;
    color: inherit;
  }

  .site-footer nav.footer-community a:hover .footer-community__icon[icon="simple-icons:tiktok"] {
    transform: translate(-0.1rem, -0.08rem);
  }

  .site-footer nav.footer-community a:hover .footer-community__icon[icon="mdi:instagram"] {
    transform: translate(0, 0.06rem);
  }

  .site-footer nav.footer-community a:hover .footer-community__icon[icon="simple-icons:x"] {
    transform: translate(0.08rem, 0.06rem);
  }
}

/* --- /reels - full-viewport vertical feed (header overlay + bottom bar) --- */
:root {
  --cq-reels-below-header: clamp(5.65rem, 16vw, 7.15rem);
  --reels-bar-height: 3.35rem;
  --reels-header-pad: clamp(4.75rem, 14vh, 6.85rem);
}

body.page--reels {
  overscroll-behavior-y: none;
  min-height: 100dvh;
  height: 100dvh;
  overflow: hidden;
}

body.page--reels .site-header {
  background: rgba(5, 6, 10, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px) saturate(1.2);
  animation: none;
  box-shadow: none;
}

body.page--reels .site-header::after {
  opacity: 0.35;
  animation: none;
}

body.page--reels .header-beam {
  opacity: 0.35;
  animation: none;
}

html[data-theme="light"] body.page--reels .site-header {
  background: rgba(242, 240, 234, 0.45);
  border-bottom-color: rgba(20, 18, 26, 0.08);
}

body.page--reels .site-main.site-main--reels {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  flex: 1;
  min-height: 0;
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  animation: none;
  overflow: hidden;
}

.reels-shell {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.reels-swipe-hint {
  position: fixed;
  left: 50%;
  bottom: calc(var(--reels-bar-height) + env(safe-area-inset-bottom, 0px) + 1.35rem);
  z-index: 36;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  pointer-events: none;
  text-align: center;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.reels-swipe-hint.is-dismissed {
  opacity: 0;
  visibility: hidden;
}

.reels-swipe-hint__arrow {
  display: flex;
  font-size: 1.85rem;
  color: rgba(255, 255, 255, 0.75);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  animation: reelsHintBounce 1.35s ease-in-out infinite;
}

html[data-theme="light"] .reels-swipe-hint__arrow {
  color: rgba(20, 18, 26, 0.55);
}

.reels-swipe-hint__text {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  max-width: 12rem;
  line-height: 1.35;
}

html[data-theme="light"] .reels-swipe-hint__text {
  color: rgba(20, 18, 26, 0.5);
}

@keyframes reelsHintBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

.reels-feed {
  flex: 1;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  max-height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  outline: none;
}

.reels-feed:focus-visible {
  outline: 2px solid var(--flare-cyan);
  outline-offset: -2px;
}

/* Quote of the Day — minimal scratch (no extra chrome after reveal) */
.qotd-scratch {
  max-width: min(100%, 40rem);
  width: 100%;
  margin: 0.35rem 0 0.75rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-home .qotd-scratch {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0.35rem;
}

.hero-home .spotlight-label {
  margin-top: 0.35rem;
}

.qotd-scratch__panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.qotd-scratch:not(.is-revealed) .qotd-scratch__panel {
  box-shadow: var(--glow);
}

.qotd-scratch__panel .quote-card {
  position: relative;
  z-index: 1;
  margin: 0;
}

.qotd-scratch__canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  touch-action: none;
  cursor: crosshair;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.qotd-scratch.is-revealed .qotd-scratch__canvas {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.qotd-scratch__access {
  margin: 0.5rem 0 0;
  text-align: center;
}

.qotd-scratch__reveal-btn {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cq-link);
  text-decoration: none;
  cursor: pointer;
}

.qotd-scratch__reveal-btn:hover {
  color: var(--cq-link-hover);
}

.qotd-scratch__reveal-btn:focus-visible {
  outline: 2px solid var(--flare-cyan);
  outline-offset: 3px;
  border-radius: 0.2rem;
}

.qotd-scratch.is-revealed .qotd-scratch__access {
  display: none;
}

.qotd-scratch.is-revealed {
  margin-bottom: 0.25rem;
}

.reel-slide {
  height: 100dvh;
  min-height: 100dvh;
  max-height: 100dvh;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: none;
  background:
    radial-gradient(ellipse 90% 50% at 50% 35%, rgba(34, 211, 238, 0.1), transparent 68%),
    radial-gradient(ellipse 55% 40% at 85% 75%, rgba(232, 121, 249, 0.07), transparent 62%),
    var(--bg);
}

.reel-slide__body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--reels-header-pad) + env(safe-area-inset-top, 0px) * 0.25) 1.35rem 0.75rem;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.reel-slide__eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.reel-slide__quote {
  margin: 0 0 1.15rem;
  font-size: clamp(1.12rem, 4.2vw, 1.55rem);
  line-height: 1.48;
  font-style: italic;
  font-family: var(--font-serif, "DM Serif Display", Georgia, serif);
  color: rgba(244, 243, 240, 0.97);
}

.reel-slide__quote-link {
  color: inherit;
  text-decoration: none;
  border-radius: 0.35rem;
  outline-offset: 4px;
}

.reel-slide__quote-link:focus-visible {
  outline: 2px solid var(--flare-cyan);
}

.reel-slide__quote-link:active {
  opacity: 0.92;
}

.reel-slide__author-link {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  gap: 0.45rem;
  color: inherit;
  text-decoration: none;
  border-radius: 0.5rem;
  outline-offset: 3px;
}

.reel-slide__author-link:focus-visible {
  outline: 2px solid var(--flare-cyan);
}

.reel-slide__author {
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  max-width: 100%;
  min-width: 0;
  padding: 0 0.5rem;
  box-sizing: border-box;
  font-size: 0.9rem;
  color: var(--muted);
}

.reel-slide__bar {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.65rem;
  min-height: var(--reels-bar-height);
  padding: 0.5rem 1rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reel-bar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(244, 243, 240, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.reel-bar-btn:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.1);
  color: #fff;
}

.reel-bar-btn:focus-visible {
  outline: 2px solid var(--flare-cyan);
  outline-offset: 3px;
}

.reel-bar-btn--primary {
  border-color: rgba(196, 165, 116, 0.45);
  background: rgba(196, 165, 116, 0.12);
}

.reel-bar-btn iconify-icon {
  font-size: 1.05rem;
}

html[data-theme="light"] .reel-slide {
  background:
    radial-gradient(ellipse 90% 50% at 50% 35%, rgba(13, 148, 136, 0.08), transparent 68%),
    var(--bg);
}

html[data-theme="light"] .reel-slide__quote {
  color: var(--text);
}

html[data-theme="light"] .reel-slide__bar {
  background: rgba(255, 255, 255, 0.82);
  border-top-color: rgba(20, 18, 26, 0.08);
}

html[data-theme="light"] .reel-bar-btn {
  border-color: rgba(20, 18, 26, 0.12);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .reels-feed {
    scroll-behavior: auto;
  }

  .reels-swipe-hint__arrow {
    animation: none;
  }

  .reels-swipe-hint {
    transition: none;
  }
}
