/* GeeKPress Aurelian — author.css
   Ported from the marquee/movie-theme author profile. The block below
   uses the short token names (--bg/--surface/--gold/--cream/--display…)
   those themes bridge globally; Aurelian maps them HERE, scoped to the
   profile, onto its own --aur-* palette (token-bridge pattern). */

.gpg-author {
	--bg: var(--aur-bg);
	--surface: var(--aur-surface);
	--elev: var(--aur-surface-2);
	--gold: var(--aur-gold);
	--gold-soft: var(--aur-gold-bright);
	--cream: var(--aur-text);
	--muted: var(--aur-text-mute);
	--border: var(--aur-line);
	--border-soft: var(--aur-line-soft);
	--cyan: var(--aur-blue);
	--violet: var(--aur-violet);
	--display: var(--aur-font-display);
	--sans: var(--aur-font-text);
	--mono: var(--aur-font-mono);
}

/* ─────────────────────────────────────────────────────────────────────
   Author page — custom IGDB-style profile.
   Hero with marquee + avatar + tabs, 6-stat row, 2-col main/side
   layout with recently rated grid + recent reviews list, sidebar
   rating breakdown bar chart + member info card.
   ───────────────────────────────────────────────────────────────── */
.gpg-author {
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0 16px;
}
.gpg-author-hero {
  position: relative;
  margin: 0 -16px 22px;
  padding: 22px 26px 18px;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.85) 0%, rgba(58, 31, 110, 0.92) 70%, var(--surface) 100%);
  overflow: hidden;
}
/* Top-rated game cover variant — show the chosen artwork with a
   subtle dark vignette for legibility. Marquee is suppressed since
   the cover art already does the visual storytelling. */
.gpg-author-hero.has-bg {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.gpg-author-hero.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.55) 60%, var(--surface) 100%);
  z-index: 1;
}
.gpg-author-hero.has-bg .gpg-author-marquee { display: none; }
.gpg-author-hero.has-bg .gpg-author-hero-row {
  position: relative;
  z-index: 2;
  margin-top: 0;          /* no marquee = no extra top spacing */
}
.gpg-author-marquee {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 28px;
  padding: 18px 26px 0;
  font-family: var(--display);
  font-size: 56px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.18);
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
}
.gpg-author-hero-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.gpg-author-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid var(--cyan);
  background: var(--surface);
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
}
.gpg-author-username {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}
.gpg-author-tabs {
  display: flex;
  gap: 6px;
  margin-left: auto;
  flex-wrap: wrap;
}
.gpg-author-tabs a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none !important;
  transition: background 0.18s ease, color 0.18s ease;
}
.gpg-author-tabs a:hover { background: rgba(255, 255, 255, 0.10); color: #fff; }
.gpg-author-tabs a.is-active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-bottom: 2px solid var(--cyan);
  border-radius: 6px 6px 0 0;
}

/* Stats row */
.gpg-author-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.gpg-author-stat {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 16px 14px;
  text-align: center;
}
.gpg-author-stat-num {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}
.gpg-author-stat-label {
  margin-top: 6px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 2-col layout */
.gpg-author-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
.gpg-author-block { margin-bottom: 28px; }
.gpg-author-h2 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cream);
  margin: 0 0 14px;
  text-transform: none;
}
.gpg-author-empty {
  padding: 30px;
  text-align: center;
  border: 1px dashed var(--border-soft);
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
}

/* Recently rated grid */
.gpg-author-rated-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.gpg-author-rated-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none !important;
  color: var(--cream) !important;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.gpg-author-rated-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(212, 162, 74, 0.20);
}
.gpg-author-rated-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  background: var(--surface) center / cover no-repeat;
}
.gpg-author-rated-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px 10px;
}
.gpg-author-rated-name {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.gpg-author-rated-score {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  font-weight: 800;
}
.gpg-author-rated-score--exceptional { color: #e8bf6f; }
.gpg-author-rated-score--great       { color: #d4a24a; }
.gpg-author-rated-score--good        { color: #b9893a; }
.gpg-author-rated-score--mixed       { color: #c9941f; }
.gpg-author-rated-score--poor        { color: #c2253a; }
.gpg-author-rated-score--muted       { color: var(--muted); }

/* Recent reviews */
.gpg-author-reviews { display: flex; flex-direction: column; gap: 12px; }
.gpg-author-review-card {
  display: flex;
  gap: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 12px;
}
.gpg-author-review-poster {
  flex: 0 0 92px;
  width: 92px;
  height: 138px;
  background: var(--surface) center / cover no-repeat;
  border-radius: 6px;
}
.gpg-author-review-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gpg-author-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.gpg-author-review-game {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--magenta, #e8bf6f);
  text-decoration: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.gpg-author-review-game:hover { color: var(--cyan); }
.gpg-author-review-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(231, 238, 247, 0.85);
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gpg-author-review-card:hover .gpg-author-review-text { color: var(--cream); }
.gpg-author-review-foot {
  margin-top: auto;
  font-size: 11px;
  color: var(--muted);
}

/* Sidebar cards */
.gpg-author-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.gpg-author-card-title {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 12px;
}

/* Rating breakdown */
.gpg-author-breakdown { display: flex; flex-direction: column; gap: 5px; }
.gpg-author-bd-row {
  display: grid;
  grid-template-columns: 22px 1fr 28px;
  align-items: center;
  gap: 8px;
}
.gpg-author-bd-key {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-align: right;
}
.gpg-author-bd-track {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.gpg-author-bd-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}
.gpg-author-bd-fill--exceptional { background: #e8bf6f; }
.gpg-author-bd-fill--great       { background: #d4a24a; }
.gpg-author-bd-fill--good        { background: #b9893a; }
.gpg-author-bd-fill--mixed       { background: #c9941f; }
.gpg-author-bd-fill--poor        { background: #c2253a; }
.gpg-author-bd-fill--muted       { background: var(--muted); }
.gpg-author-bd-cnt {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.gpg-author-bd-total {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

/* Badges grid — earned circles glow with tier ring colour, locked
   ones grey out + soft blur. Tiers come from admin registry:
     normal=green, rare=blue, epic=purple, legendary=orange. */
/* Each criteria gets its own row with a small label on the left */
.gpg-author-badge-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.gpg-author-badge-row:first-of-type { border-top: 0; padding-top: 4px; }
.gpg-author-badge-row-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 10px;
  border-left: 3px solid var(--accent, #d4a24a);
}
@media (max-width: 720px) {
  .gpg-author-badge-row { grid-template-columns: 1fr; gap: 8px; }
}

.gpg-author-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 0;
}
.gpg-author-badge {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 5px solid #9aa1ab;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  cursor: help;
}
.gpg-author-badge img { width: 100%; height: 100%; object-fit: cover; }
.gpg-author-badge-icon { font-size: 42px; line-height: 1; color: #fff; }
.gpg-author-badge.is-earned[data-tier="normal"]    { border-color: #22c55e; box-shadow: 0 0 26px rgba(34, 197, 94, 0.40); }
.gpg-author-badge.is-earned[data-tier="rare"]      { border-color: #3b82f6; box-shadow: 0 0 26px rgba(59, 130, 246, 0.45); }
.gpg-author-badge.is-earned[data-tier="epic"]      { border-color: #a855f7; box-shadow: 0 0 26px rgba(168, 85, 247, 0.50); }
.gpg-author-badge.is-earned[data-tier="legendary"] { border-color: #f97316; box-shadow: 0 0 32px rgba(249, 115, 22, 0.55); }
.gpg-author-badge.is-earned:hover {
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1.10) saturate(1.10);
}
.gpg-author-badge.is-locked {
  border-color: rgba(255, 255, 255, 0.18);
  filter: grayscale(1) brightness(0.55) blur(0.5px);
  opacity: 0.7;
}
.gpg-author-badge.is-locked:hover { opacity: 0.95; filter: grayscale(1) brightness(0.7); }
.gpg-author-badges-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

/* Tab panes — only one visible at a time (JS toggles `hidden`) */
.gpg-author-pane { display: block; }
.gpg-author-pane[hidden] { display: none; }

/* Lists pane — author's own published lists, 4-poster collage card */
.gpg-author-lists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.gpg-author-list-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none !important;
  color: var(--cream) !important;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.gpg-author-list-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(212, 162, 74, 0.20);
}
.gpg-author-list-cover {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(0, 0, 0, 0.35);
}
.gpg-author-list-pane {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-right: 1px solid rgba(0, 0, 0, 0.4);
}
.gpg-author-list-pane:last-child { border-right: 0; }
.gpg-author-list-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gpg-author-list-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gpg-author-list-name {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gpg-author-list-sum {
  font-size: 12px;
  color: rgba(231, 238, 247, 0.78);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Contributions tab — Score card + Leaderboard + Rules ── */
.gpg-author-score-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px;
  background: linear-gradient(135deg, rgba(212, 162, 74, 0.10) 0%, rgba(232, 191, 111, 0.10) 100%);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}
.gpg-author-score-total {
  text-align: center;
  padding: 14px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
}
.gpg-author-score-num {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  text-shadow: 0 4px 12px rgba(212, 162, 74, 0.30);
}
.gpg-author-score-label {
  margin-top: 8px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.gpg-author-score-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gpg-author-score-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  font-size: 13px;
}
.gpg-author-score-key {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.gpg-author-score-val {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--muted);
}
.gpg-author-score-val small { font-size: 11px; opacity: 0.7; }
.gpg-author-score-val strong { color: var(--cream); font-size: 14px; font-weight: 700; }

/* Leaderboard window */
.gpg-author-lb {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.20);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  overflow: hidden;
}
.gpg-author-lb-row {
  display: grid;
  grid-template-columns: 90px 40px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border-soft);
  text-decoration: none !important;
  color: var(--cream) !important;
  transition: background 0.15s ease;
}
.gpg-author-lb-row:last-child { border-bottom: 0; }
.gpg-author-lb-row:hover { background: rgba(255, 255, 255, 0.04); }
.gpg-author-lb-row.is-self {
  background: rgba(212, 162, 74, 0.10);
  border-left: 3px solid var(--cyan);
  padding-left: 15px;
}
.gpg-author-lb-row.is-self:hover { background: rgba(212, 162, 74, 0.16); }
.gpg-author-lb-rank {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.gpg-author-lb-row.is-self .gpg-author-lb-rank { color: var(--cyan); }
.gpg-author-lb-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  display: inline-flex;
}
.gpg-author-lb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.gpg-author-lb-name {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  color: var(--magenta, #e8bf6f);
  text-decoration: underline;
  text-decoration-color: rgba(232, 191, 111, 0.35);
  text-underline-offset: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gpg-author-lb-row:hover .gpg-author-lb-name { color: var(--cyan); }
.gpg-author-lb-row.is-self .gpg-author-lb-name { color: var(--cyan); }
.gpg-author-lb-score {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  color: var(--cream);
}
.gpg-author-lb-total {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* Scoring rules cards */
.gpg-author-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gpg-author-rule {
  padding: 16px 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.gpg-author-rule strong {
  display: block;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 4px;
}
@media (max-width: 700px) {
  .gpg-author-score-card { grid-template-columns: 1fr; }
  .gpg-author-lb-row { grid-template-columns: 80px 32px 1fr auto; gap: 10px; padding: 10px 12px; }
  .gpg-author-rules { grid-template-columns: 1fr; }
}

/* Member info card */
.gpg-author-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  font-size: 12px;
}
.gpg-author-meta-key { color: var(--muted); }
.gpg-author-meta-val { color: var(--cream); font-weight: 600; }

/* =====================================================================
 * IMDb-style Hero Banner (.gpg-hero--imdb)
 * ---------------------------------------------------------------------
 * Movie-theme reskin: replaces the full-width slider with a split
 * layout — left stage (active backdrop/trailer + meta + prev/next),
 * right "Up next" rail (vertical list of remaining picks).
 * Active slide markup (.gpg-hero-slide) is unchanged from the base
 * file so the existing JS activator keeps working untouched.
 * ===================================================================== */
.gpg-hero--imdb {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  /* Override the base hero's clamp() height — the stage owns sizing
     via its own aspect-ratio, so this wrapper just stretches to fit. */
  height: auto;
  min-height: 0;
}
.gpg-hero--imdb.has-upnext {
  grid-template-columns: minmax(0, 1fr) 340px;
}

/* Stage — left column. The base .gpg-hero-slide rules already give us
   absolute layering inside .gpg-hero-track; we just reset the wrapper
   chrome so the stage looks like its own card. */
.gpg-hero--imdb .gpg-hero-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  min-height: 320px;
}
.gpg-hero--imdb .gpg-hero-track {
  position: absolute;
  inset: 0;
}
/* Override base hero slide overlays so this layout's foot block can
   sit directly on the artwork without the centred dark veil + the
   blurred ::before backdrop (we want crisp artwork edge-to-edge). */
.gpg-hero--imdb .gpg-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: none;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
  background-size: cover;
  background-position: center;
  display: block;
  padding: 0;
  gap: 0;
}
.gpg-hero--imdb .gpg-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease;
  z-index: 1;
}
/* Nuke the base blurred ::before — its `background:inherit` was
   re-painting the slide's backdrop softly behind the trailer iframe,
   producing the dimmed fringe on either side of the centred video. */
.gpg-hero--imdb .gpg-hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(14, 12, 9, 0.20) 0%,
    rgba(14, 12, 9, 0.55) 55%,
    rgba(14, 12, 9, 0.95) 100%);
  filter: none;
  transform: none;
  z-index: 1;
}
/* Also drop the base side-vignette so the foot block isn't darkened
   on both edges — our bottom gradient already does the legibility job. */
.gpg-hero--imdb .gpg-hero-slide::after {
  display: none;
}

/* Trailer iframe — fill the stage; click overlay anchor sits above.
   Base CSS gives .gpg-hero-trailer a max-width:640px flex item with
   a cyan glow border. Reset every one of those properties so the
   iframe genuinely spans the full stage. */
.gpg-hero--imdb .gpg-hero-trailer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  min-width: 0;
  flex: none;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  background: #000;
  z-index: 0;
  align-self: stretch;
}
.gpg-hero--imdb .gpg-hero-trailer iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
}
.gpg-hero--imdb .gpg-hero-trailer-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}
.gpg-hero--imdb .gpg-hero-trailer-play,
.gpg-hero--imdb .gpg-hero-trailer-cap {
  display: none; /* foot block has its own play button */
}

/* Foot row — poster + play CTA + title/meta laid out as a flex row
   anchored to the slide's bottom. Single row prevents the column
   pile-up where a long title would overflow upward into the poster. */
.gpg-hero--imdb .gpg-hero-foot {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  z-index: 2;
}
.gpg-hero--imdb .gpg-hero-poster,
.gpg-hero--imdb .gpg-hero-slide.has-trailer .gpg-hero-poster {
  flex: 0 0 auto;
  width: 100px;
  height: 150px;
  aspect-ratio: auto;
  background-size: cover;
  background-position: top center;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  /* Strip the base's cyan rim — pure cinematic shadow only. */
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}
/* Big circular play button — sits between the poster and the meta.
   The triangle is an inline SVG (rendered in PHP) — `fill:currentColor`
   means the hover colour swap is just a `color:` change. SVG sizing is
   explicit (20×20 viewBox) so flex + line-height never interfere. */
/* Big circular play button. Base `.gpg-hero-cta` (line ~1108) ships
   a pill style with `color:#0e0c09 !important` and a cyan background
   — both need !important to override here, otherwise SVG fill (which
   tracks currentColor) renders as dark ink invisible on the backdrop. */
.gpg-hero--imdb .gpg-hero-cta {
  flex: 0 0 auto !important;
  width: 60px !important;
  height: 60px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.55) !important;
  border: 2px solid #d4a24a !important;
  color: #d4a24a !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 28px;
  font-size: 0 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45) !important;
  transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease, border-color 0.18s ease !important;
  line-height: 1 !important;
}
.gpg-hero--imdb .gpg-hero-cta:hover {
  background: #d4a24a !important;
  color: #0e0c09 !important;
  transform: scale(1.06) !important;
  box-shadow: 0 10px 22px rgba(212, 162, 74, 0.45) !important;
}
.gpg-hero--imdb .gpg-hero-cta svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  margin-left: 3px; /* optical centring — triangle's visual mass sits left of geometric centre */
  fill: currentColor !important;
  flex-shrink: 0;
}
.gpg-hero--imdb .gpg-hero-content,
.gpg-hero--imdb .gpg-hero-slide.has-trailer .gpg-hero-content {
  flex: 1 1 auto;
  max-width: none;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
}
/* Stage foot text — ALWAYS light on the dark backdrop gradient,
   regardless of the page's dark/light theme. The slide overlay is
   always dark (`linear-gradient(... rgba(14,12,9,*))`), so binding to
   --cream would flip the title to dark ink under light theme and
   make it disappear into the gradient. Literal cream colour fixes it. */
.gpg-hero--imdb .gpg-hero-title,
.gpg-hero--imdb .gpg-hero-slide.has-trailer .gpg-hero-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
  color: #f0e6d2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 4px rgba(0, 0, 0, 0.85);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gpg-hero--imdb .gpg-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #f0e6d2;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}
.gpg-hero--imdb .gpg-hero-tag,
.gpg-hero--imdb .gpg-hero-year {
  color: rgba(240, 230, 210, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 12px;
}
.gpg-hero--imdb .gpg-hero-rate {
  color: #d4a24a;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.gpg-hero--imdb .gpg-hero-rate > span {
  font-size: 14px;
}

/* Stage prev / next arrows — vertically centred on the stage edges. */
.gpg-hero--imdb .gpg-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 60px;
  border: 0;
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 4;
  transition: background 0.15s ease, color 0.15s ease;
}
.gpg-hero--imdb .gpg-hero-nav--prev { left: 0; border-radius: 0 6px 6px 0; }
.gpg-hero--imdb .gpg-hero-nav--next { right: 0; border-radius: 6px 0 0 6px; }
.gpg-hero--imdb .gpg-hero-nav:hover {
  background: rgba(0, 0, 0, 0.7);
  color: var(--gold);
}

/* Up next rail — right column. */
.gpg-hero-upnext {
  background: var(--surface, rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 16px;
  max-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gpg-hero-upnext-head {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 2px;
}
.gpg-hero-upnext-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  flex: 1 1 auto;
}
.gpg-hero-upnext-list::-webkit-scrollbar { width: 6px; }
.gpg-hero-upnext-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.gpg-hero-upnext-item {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* Active item — hidden, since it's already on the stage. */
.gpg-hero-upnext-item.is-active { display: none; }

.gpg-hero-upnext-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 10px;
  align-items: center;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  color: var(--cream);
  transition: color 0.15s ease;
}
.gpg-hero-upnext-btn:hover { color: var(--gold); }
.gpg-hero-upnext-thumb {
  position: relative;
  width: 116px;
  height: 66px;
  border-radius: 6px;
  background-color: var(--elev);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  /* Subtle gold rim + soft shadow so the thumbnails read as
     distinct surfaces against the dark rail bg. Hover bumps the
     rim to a stronger gold + adds a glow so the active target is
     obvious without changing the thumb's footprint. */
  border: 1px solid rgba(212, 162, 74, 0.30);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(0, 0, 0, 0.20);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.gpg-hero-upnext-btn:hover .gpg-hero-upnext-thumb {
  border-color: #d4a24a;
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(212, 162, 74, 0.45),
    0 0 16px rgba(212, 162, 74, 0.28);
  transform: translateY(-1px);
}
/* Soft dark veil so the play icon stays legible over any backdrop. */
.gpg-hero-upnext-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.40));
  pointer-events: none;
}
.gpg-hero-upnext-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1; /* sit above the gradient veil */
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.7));
}
.gpg-hero-upnext-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.gpg-hero-upnext-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gpg-hero-upnext-sub {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Mobile — stack stage above the rail; shrink foot row items. */
@media (max-width: 880px) {
  .gpg-hero--imdb.has-upnext { grid-template-columns: 1fr; }
  .gpg-hero-upnext { max-height: 360px; }
  .gpg-hero--imdb .gpg-hero-foot {
    left: 14px;
    right: 14px;
    bottom: 14px;
    gap: 12px;
  }
  .gpg-hero--imdb .gpg-hero-poster { width: 70px; height: 105px; }
  .gpg-hero--imdb .gpg-hero-cta {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 16px;
  }
  .gpg-hero--imdb .gpg-hero-cta svg {
    width: 16px !important;
    height: 16px !important;
  }
  .gpg-hero--imdb .gpg-hero-title { font-size: 17px; }
  .gpg-hero--imdb .gpg-hero-meta { font-size: 10px; gap: 8px; }
}

/* Recently Visited — person/char favourite chip (replaces the rating
   chip for non-title items; they can't be rated 1-10 but they can be
   favourited). Same alignment + sizing as the rating chip. */
.gpg-rr-fav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #d4a24a;
  white-space: nowrap;
}
.gpg-rr-fav svg {
  flex-shrink: 0;
  display: block;
}
.gpg-rr-fav-val { line-height: 1; }

/* =====================================================================
 * Born Today widget — round-avatar grid of people whose birthday is
 * today (any year), ranked by popularity (meter ASC).
 * ===================================================================== */
.gpg-born-today {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 14px;
}
.gpg-bt-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.18s ease, transform 0.18s ease;
}
.gpg-bt-card:hover {
  background: rgba(212, 162, 74, 0.06);
  transform: translateY(-2px);
}
.gpg-bt-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background-color: var(--surface, rgba(255, 255, 255, 0.04));
  background-size: cover;
  background-position: center top;
  border: 2px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.gpg-bt-card:hover .gpg-bt-avatar {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 6px 16px rgba(0, 0, 0, 0.35);
}
.gpg-bt-initial {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--muted);
}
.gpg-bt-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  min-width: 0;
  width: 100%;
}
.gpg-bt-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--cream);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gpg-bt-card:hover .gpg-bt-name { color: var(--gold); }
.gpg-bt-age {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════════════
   AURELIAN PLATE PASS (2026-06-11) — the ported profile rendered
   flat; pull every card into the machined-plate language. Posters
   carry INLINE background-images → edges ride ::after mask-rings.
   ════════════════════════════════════════════════════════════════ */

/* section/stat/sidebar cards → chamfered plates */
.gpg-author-stat,
.gpg-author-card,
.gpg-author-score-card,
.gpg-author-review-card,
.gpg-author-list-card,
.gpg-author-rule,
.gpg-author-lb-row {
	background:
		linear-gradient(180deg, var(--aur-plate-hi) 0%, var(--aur-plate-mid) 36%, var(--aur-plate-lo) 100%) padding-box,
		linear-gradient(150deg,
			rgba(var(--aur-gold-bright-rgb), 0.85) 0%,
			rgba(var(--aur-gold-rgb), 0.36) 22%,
			rgba(var(--aur-gold-dim-rgb), 0.18) 50%,
			rgba(var(--aur-violet-rgb), 0.26) 82%,
			rgba(var(--aur-violet-2-rgb), 0.55) 100%) border-box !important;
	border: 1px solid transparent !important;
	border-radius: 0 !important;
	clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px);
	box-shadow:
		inset 0 1px 0 rgba(var(--aur-gold-bright-rgb), 0.10),
		inset 0 -1px 0 rgba(0, 0, 0, 0.46) !important;
}
.gpg-author-lb-row { clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px); }
.gpg-author-lb-row.is-self { border: 0 !important; box-shadow: inset 0 0 0 1px var(--aur-gold), inset 0 1px 0 rgba(var(--aur-gold-bright-rgb), 0.18) !important; }

/* stat numbers → gilt Cinzel */
.gpg-author-stat-num {
	font-family: var(--aur-font-display) !important;
	color: var(--aur-gold-bright) !important;
}
.gpg-author-stat-label {
	font-family: var(--aur-font-mono) !important;
	letter-spacing: 0.14em;
	color: var(--aur-text-mute) !important;
}

/* section headings → diamond + trailing gilt rule */
.gpg-author-h2,
.gpg-author-card-title {
	display: flex !important;
	align-items: center;
	gap: 12px;
	font-family: var(--aur-font-display) !important;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--aur-gold-bright) !important;
}
.gpg-author-h2::before,
.gpg-author-card-title::before {
	content: "";
	width: 8px; height: 8px; flex: none;
	background: linear-gradient(135deg, var(--aur-gold-bright), var(--aur-gold-dim));
	transform: rotate(45deg);
}
.gpg-author-h2::after {
	content: "";
	flex: 1; height: 1px; min-width: 36px;
	background: linear-gradient(90deg, rgba(var(--aur-gold-rgb), 0.34), transparent);
}

/* hero: gold-edged avatar + gilt hand-off line under the band */
.gpg-author-hero { border-bottom: 1px solid rgba(var(--aur-gold-rgb), 0.28) !important; }
.gpg-author-avatar { border-color: var(--aur-gold) !important; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55), 0 0 14px rgba(var(--aur-gold-rgb), 0.25) !important; }
.gpg-author-username { font-family: var(--aur-font-display) !important; letter-spacing: 0.08em; }

/* tabs → Cinzel, transparent, gilt underline for the active one
   (replaces the violet boxed pill) */
.gpg-author-tabs a {
	font-family: var(--aur-font-display) !important;
	font-size: 12px !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	border-bottom: 2px solid transparent !important;
	color: var(--aur-text-dim) !important;
	box-shadow: none !important;
}
.gpg-author-tabs a:hover { color: var(--aur-gold-bright) !important; }
.gpg-author-tabs a.is-active {
	color: var(--aur-gold-bright) !important;
	border-bottom: 2px solid var(--aur-gold) !important;
	background: transparent !important;
}

/* rated cards: plate body + ::after ring on the inline-bg poster */
.gpg-author-rated-card {
	background: linear-gradient(180deg, var(--aur-plate-hi), var(--aur-plate-lo)) !important;
	border: 1px solid var(--aur-line-soft) !important;
	border-radius: 0 !important;
	clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
	overflow: hidden;
}
.gpg-author-rated-card:hover { border-color: var(--aur-gold) !important; }
.gpg-author-rated-poster { border-radius: 0 !important; }
.gpg-author-rated-foot { background: linear-gradient(180deg, var(--aur-plate-mid), var(--aur-plate-lo)) !important; border-top: 1px solid rgba(var(--aur-gold-rgb), 0.16) !important; }
.gpg-author-rated-name { font-family: var(--aur-font-display) !important; color: var(--aur-text) !important; }

/* review poster thumbs (inline bg) — square corners */
.gpg-author-review-poster { border-radius: 0 !important; border: 1px solid rgba(var(--aur-gold-rgb), 0.2) !important; }

/* breakdown: mono keys, gilt counters */
.gpg-author-bd-key, .gpg-author-bd-cnt { font-family: var(--aur-font-mono) !important; color: var(--aur-text-mute) !important; }
.gpg-author-bd-total, .gpg-author-meta-key { font-family: var(--aur-font-mono) !important; color: var(--aur-text-mute) !important; }
.gpg-author-meta-val { color: var(--aur-gold-bright) !important; }
