/* ============================================================
   BUILD A FORWARD — lab styles. Leans on /styles.css vars
   (--bg-*, --text*, --surface, --line, --gold, --accent).
   ============================================================ */
/* gradient is FIXED to the viewport: the site sets html,body height:100%, so a
   scrolling gradient tiles every 100vh and paints a hard seam mid-page */
.bap-body { background: linear-gradient(180deg, var(--bg-2), var(--bg-3) 60%) fixed; min-height: 100vh; overflow-y: scroll; } /* scrollbar always on → no sideways jump */
/* Ads are ON: the site-wide mobile ad reserves (72px top sticky + bottom anchor
   padding on body, from styles.css) apply as-is. body is border-box, so the
   fullscreen 100dvh game mode absorbs the reserves — no overlap, no shift. */
.bap-wrap { max-width: 660px; margin: 0 auto; padding: 18px 16px 80px; color: var(--text); font-family: "Inter", system-ui, sans-serif; }

/* ---------- FULLSCREEN GAME MODE (build + season screens) ----------
   The whole experience locks to the viewport: no page scroll, so the
   layout can never shift as states swap. The rig scales to fill. */
body.bap-full { display: flex; flex-direction: column; height: 100dvh; overflow: hidden; }
body.bap-full .topbar { flex: none; }
body.bap-full .bap-wrap { flex: 1; min-height: 0; width: 100%; max-width: none; margin: 0; padding: 8px 14px 10px; display: flex; flex-direction: column;
  overflow-y: auto; scrollbar-gutter: stable; } /* fallback scroll for very short windows — width stays fixed */
body.bap-full .bap-foot { display: none; }

body.bap-full #scrBuild.on {
  flex: 1; min-height: 0; width: 100%; max-width: 560px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr);
  /* rig floor is 250px: 5 chip rows per side need ~50px each — any shorter and
     filled photos land on the label above them (the wrap scrolls instead) */
  grid-template-rows: auto minmax(250px, 32dvh) minmax(340px, 1fr); gap: 6px;
  animation: bapfade .25s ease;
}
/* phones: every pixel counts — drop the flavor line, tighten the card */
@media (max-width: 899px) {
  body.bap-full .bap-buildhead { margin: 0 0 2px; }
  body.bap-full .bap-buildhead .t { font-size: 18px; }
  body.bap-full .bap-buildhead .s { display: none; }
  body.bap-full .bap-reelcard { padding: 10px 12px 14px; }
}
@media (min-width: 900px) {
  body.bap-full #scrBuild.on {
    max-width: 1240px;
    grid-template-columns: minmax(0, 1fr) minmax(400px, 540px);
    grid-template-rows: auto minmax(0, 1fr); gap: 4px 30px;
  }
  body.bap-full #scrBuild.on .bap-buildhead { grid-column: 1 / -1; }
}
body.bap-full #scrSeason.on {
  width: 100%; max-width: 660px; margin: 0 auto;
  animation: bapfade .25s ease;
}   /* the full-width .bap-wrap scrolls — wheel works anywhere, not just over the column */
.bap-gold { color: var(--gold, #ffd166); }

.bap-screen { display: none; }
.bap-screen.on { display: block; animation: bapfade .25s ease; }
@keyframes bapfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- landing ---------- */
.bap-badge { font-size: 44px; text-align: center; margin: 26px 0 6px; }
.bap-h { font-family: "Oswald", sans-serif; font-weight: 700; font-size: clamp(30px, 7vw, 44px); text-align: center; line-height: 1.08; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .5px; }
.bap-sub { text-align: center; color: var(--text-dim); font-size: 14.5px; line-height: 1.6; max-width: 470px; margin: 0 auto 22px; }
.bap-steps { display: flex; justify-content: center; gap: 18px; margin: 0 0 26px; flex-wrap: wrap; }
.bap-step { text-align: center; color: var(--text-faint); font-size: 11.5px; text-transform: uppercase; letter-spacing: .8px; }
.bap-step b { display: block; font-size: 21px; margin-bottom: 3px; }
.bap-best { text-align: center; color: var(--text-faint); font-size: 12.5px; margin-top: 14px; }
.bap-best b { color: var(--gold, #ffd166); }

/* ---------- big gold button ---------- */
.bap-cta { display: block; margin: 0 auto; min-width: 230px; padding: 15px 34px; border: none; border-radius: 14px; cursor: pointer;
  font-family: "Oswald", sans-serif; font-weight: 700; font-size: 19px; letter-spacing: 1.5px; text-transform: uppercase;
  color: #1a1206; background: linear-gradient(180deg, #ffd166, #e0a93a); box-shadow: 0 6px 22px rgba(224, 169, 58, .35); transition: transform .12s, filter .12s; }
.bap-cta:hover { transform: translateY(-1px); filter: brightness(1.05); }
.bap-cta:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }
.bap-cta.bap-blue { color: #06121f; background: linear-gradient(180deg, #58c4ff, #2fa8ef); box-shadow: 0 6px 22px rgba(47, 168, 239, .3); }

/* ---------- build screen ---------- */
.bap-buildhead { position: relative; text-align: center; margin: 4px 0 12px; }
.bap-back { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--text-dim); font-size: 17px; line-height: 1; cursor: pointer; }
.bap-back:hover { color: var(--text); border-color: var(--accent); }
.bap-buildhead .t { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .6px; }
.bap-buildhead .s { color: var(--text-dim); font-size: 13px; margin-top: 3px; }

/* ---------- THE RIG: player figure + part chips ---------- */
.bap-rig { position: relative; height: 100%; min-height: 0; width: 100%; margin: 0 auto;
  background: radial-gradient(ellipse 60% 70% at 50% 46%, var(--glow, rgba(47, 184, 255, .07)), transparent 70%),
              var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  transition: background .5s ease; }
/* (the decorative red "goal line" is gone — players kept asking what it was) */

/* the silhouette art: ghost copy underneath, lit copy on top revealed bottom-up.
   Sized by the rig's height so it scales with the viewport. The fill is the
   silhouette used as an alpha MASK over a color gradient, so it wears the
   dominant donor team's colors (defaults to gold). */
.bap-silwrap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 87%; aspect-ratio: 674 / 877; max-width: 58%; }
.bap-silwrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.bap-sil-ghost { opacity: .3; filter: invert(.86); }                      /* dark mode: light-gray ghost */
:root[data-theme="light"] .bap-sil-ghost { filter: none; opacity: .13; }    /* light mode: soft black ghost */
.bap-sil-fill { position: absolute; inset: 0;
  -webkit-mask: url("/build-a-player/nhl/fwd-sil-mask.png?v=1") center / contain no-repeat;
  mask: url("/build-a-player/nhl/fwd-sil-mask.png?v=1") center / contain no-repeat;
  background: linear-gradient(180deg, var(--fillc1, #ffd166), var(--fillc2, #b8860b));
  clip-path: inset(100% 0 0 0); transition: clip-path .7s cubic-bezier(.3, .8, .3, 1), background .6s ease; }
.bap-silwrap.has-fill .bap-sil-fill { filter: drop-shadow(0 0 12px var(--silglow, rgba(255, 209, 102, .4))); }
.bap-silwrap.complete { animation: bapdone .6s ease; }
.bap-silwrap.complete .bap-sil-fill { filter: drop-shadow(0 0 18px var(--silglow, rgba(255, 209, 102, .65))); }
@keyframes bapdone { 0% { transform: translate(-50%, -50%) scale(.96); } 55% { transform: translate(-50%, -50%) scale(1.03); } 100% { transform: translate(-50%, -50%) scale(1); } }

/* part chips (photo + trait + rating) pinned around the figure — 10 chips
   means 5 rows per side, so they're compact by default */
.bap-chip { position: absolute; width: 88px; padding: 0; background: none; border: none; cursor: default; text-align: center; font-family: "Inter", sans-serif; }
.bap-chip .ph { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto; border-radius: 50%;
  background: rgba(0, 0, 0, .3); border: 2px dashed var(--line); color: var(--text-faint); font-size: 17px; overflow: hidden; transition: border-color .25s; }
.bap-chip .ph img { width: 100%; height: 100%; object-fit: cover; display: block; background: #dfe9f4; }
.bap-chip .tag { display: block; font-size: 9px; letter-spacing: .4px; text-transform: uppercase; color: var(--text-faint); margin-top: 3px; }
.bap-chip .nm { display: block; font-size: 10px; font-weight: 600; color: var(--text-dim); line-height: 1.1; margin-top: 1px; min-height: 11px; }
/* rating badge sits ON the photo's top-right (anchored off center + stacked above
   it — edge-anchoring or auto stacking let it drift off the image or get covered) */
.bap-chip .rt { position: absolute; top: -3px; left: 50%; margin-left: 1px; z-index: 2; min-width: 24px; padding: 2px 4px; border-radius: 8px; font-family: "Oswald", sans-serif; font-weight: 700; font-size: 12px;
  background: linear-gradient(180deg, #ffd166, #e0a93a); color: #1a1206; display: none; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.bap-chip.done .ph { border: 2px solid var(--gold, #ffd166); }
.bap-chip.done .rt { display: block; }
.bap-chip.done .tag { color: var(--gold, #ffd166); }
.bap-chip.next .ph { border: 2px solid var(--gold, #ffd166); animation: bapring 1.1s ease-in-out infinite; }
@keyframes bapring { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 209, 102, .55); } 50% { box-shadow: 0 0 0 7px rgba(255, 209, 102, 0); } }
.bap-chip.can-redo { cursor: pointer; }
.bap-chip.can-redo .ph::after { content: "↻"; position: absolute; }
.bap-chip.can-redo:hover .ph { border-color: var(--accent); }
.bap-chip.can-redo .ph { position: relative; }
.bap-chip.can-redo .ph::after { inset: 0; display: grid; place-items: center; background: rgba(7, 13, 21, .55); color: #fff; font-size: 19px; border-radius: 50%; }
/* chip positions: 5 left, 5 right — percentage anchors so they track the rig
   at any height (the rig scales with the viewport) */
.bap-chip[data-chip="vision"]      { left: 8px;  top: 6px; }
.bap-chip[data-chip="hands"]       { left: 8px;  top: 26%; transform: translateY(-30%); }
.bap-chip[data-chip="pass"]        { left: 8px;  top: 26%; transform: translateY(-30%); }      /* defense: replaces hands */
.bap-chip[data-chip="iq"]          { left: 8px;  top: 50%; transform: translateY(-52%); }
.bap-chip[data-chip="agility"]     { left: 8px;  bottom: 26%; transform: translateY(30%); }
.bap-chip[data-chip="speed"]       { left: 8px;  bottom: 6px; }
.bap-chip[data-chip="toughness"]   { right: 8px; top: 6px; }
.bap-chip[data-chip="shot"]        { right: 8px; top: 26%; transform: translateY(-30%); }
.bap-chip[data-chip="strength"]    { right: 8px; top: 50%; transform: translateY(-52%); }
.bap-chip[data-chip="physicality"] { right: 8px; bottom: 26%; transform: translateY(30%); }
.bap-chip[data-chip="motor"]       { right: 8px; bottom: 6px; }
.bap-chip[data-chip="blocking"]    { right: 8px; bottom: 6px; }                                 /* defense: replaces motor */
/* goalie chip anchors (10 fresh keys) */
.bap-chip[data-chip="glove"]        { left: 8px;  top: 6px; }
.bap-chip[data-chip="positioning"]  { left: 8px;  top: 26%; transform: translateY(-30%); }
.bap-chip[data-chip="rebound"]      { left: 8px;  top: 50%; transform: translateY(-52%); }
.bap-chip[data-chip="lateral"]      { left: 8px;  bottom: 26%; transform: translateY(30%); }
.bap-chip[data-chip="flexibility"]  { left: 8px;  bottom: 6px; }
.bap-chip[data-chip="reflexes"]     { right: 8px; top: 6px; }
.bap-chip[data-chip="blocker"]      { right: 8px; top: 26%; transform: translateY(-30%); }
.bap-chip[data-chip="puckhandling"] { right: 8px; top: 50%; transform: translateY(-52%); }
.bap-chip[data-chip="composure"]    { right: 8px; bottom: 26%; transform: translateY(30%); }
.bap-chip[data-chip="battle"]       { right: 8px; bottom: 6px; }
/* goalie pages swap the silhouette art (different pose + squarer ratio) */
body.bap-goalie .bap-sil-fill {
  -webkit-mask: url("/build-a-player/nhl/gol-sil-mask.png?v=1") center / contain no-repeat;
  mask: url("/build-a-player/nhl/gol-sil-mask.png?v=1") center / contain no-repeat; }
body.bap-goalie .bap-silwrap { aspect-ratio: 795 / 911; max-width: 66%; }

/* legend monogram (no modern headshot = gold-monogram legend chip) */
.bap-mono { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #24476e, #0b1c30 78%); color: var(--gold, #ffd166);
  font-family: "Oswald", sans-serif; font-weight: 700; letter-spacing: .5px; }
.bap-mono small { position: absolute; bottom: 5px; font-size: 6px; letter-spacing: 1.6px; color: rgba(255, 209, 102, .75); font-family: "Inter", sans-serif; }
.bap-mono { position: relative; font-size: 18px; }

/* ---------- salary cap tracker ---------- */
.bap-cap { max-width: 480px; margin: 0 auto 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px 11px; }
.bap-caprow { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--text-dim); }
.bap-capl b { font-family: "Oswald", sans-serif; font-size: 17px; color: var(--accent-2, #57e0a0); letter-spacing: .3px; }
.bap-capl b.low { color: #e58a8a; }
.bap-capbar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 7px; }
.bap-capbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ffd166, #e0a93a); border-radius: 3px; transition: width .5s ease; }

/* ---------- draft options (3 cards per spin) ---------- */
.bap-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 440px; margin: 0 auto 14px; }
.bap-opt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px 10px;
  background: rgba(0, 0, 0, .28); border: 2px solid var(--line); border-radius: 14px; cursor: pointer; color: var(--text);
  font-family: "Inter", sans-serif; transition: border-color .15s, transform .15s; animation: bapfade .3s ease; }
.bap-opt:hover { border-color: var(--gold, #ffd166); transform: translateY(-2px); }
.bap-opt .oph { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px solid var(--line); background: #dfe9f4; display: grid; place-items: center; }
.bap-opt .oph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.bap-opt .oph .bap-mono { font-size: 15px; }
.bap-opt .onm { font-weight: 600; font-size: 12px; line-height: 1.2; min-height: 28px; display: flex; align-items: center; }
.bap-opt .ort { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 22px; color: var(--gold, #ffd166); line-height: 1; }
.bap-opt .ocost { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 13px; color: var(--accent-2, #57e0a0);
  background: rgba(87, 224, 160, .1); border: 1px solid rgba(87, 224, 160, .35); border-radius: 999px; padding: 2px 10px; }
.bap-opt .ocost.no { color: #e58a8a; background: rgba(216, 107, 107, .1); border-color: rgba(216, 107, 107, .35); }
.bap-opt .onote { font-size: 10px; color: var(--text-faint); font-style: italic; line-height: 1.3; min-height: 26px; }
.bap-opt.locked { opacity: .5; cursor: not-allowed; }
.bap-opt.locked:hover { border-color: var(--line); transform: none; }

/* team logo reel cells — padding zeroed so the logo is dead-center in the window */
.bap-cell--logo { justify-content: center; padding: 0; }
.bap-cell--logo img { height: 112px; width: 112px; object-fit: contain; margin: 0 auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }

/* ---------- the dealt-player card (keep ONE stat) ---------- */
.bap-playercard { max-width: 500px; width: 100%; align-self: center; margin: 10px auto 14px; background: rgba(0, 0, 0, .28); border: 2px solid var(--gold, #ffd166); border-radius: 16px; padding: 14px 14px 12px; animation: bapfade .3s ease; }
.bap-pc-head { display: flex; align-items: center; gap: 12px; text-align: left; }
.bap-pc-logo img { width: 40px; height: 40px; object-fit: contain; }
.bap-pc-face { width: 62px; height: 62px; border-radius: 50%; overflow: hidden; border: 2px solid var(--line); background: #dfe9f4; display: grid; place-items: center; flex: none; }
.bap-pc-face img { width: 100%; height: 100%; object-fit: cover; }
.bap-pc-face .bap-mono { font-size: 16px; }
.bap-pc-id { min-width: 0; }
.bap-pc-name { display: block; font-family: "Oswald", sans-serif; font-weight: 700; font-size: 21px; line-height: 1.1; }
.bap-pc-note { display: block; font-size: 12px; color: var(--text-faint); font-style: italic; margin-top: 2px; }
.bap-pc-hint { font-size: 12px; color: var(--text-dim); margin: 12px 0 8px; }
.bap-pc-hint b { color: var(--gold, #ffd166); }
.bap-pc-stats { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 1fr; gap: 6px; }   /* both rows identical height, whatever wraps */
@media (max-width: 430px) {
  .bap-pc-stats { gap: 4px; }
  .bap-stat-chip .scv { font-size: 19px; }
  .bap-stat-chip .sck { font-size: 7.5px; letter-spacing: .2px; min-height: 26px; }   /* two emoji-height lines — keeps BOTH rows identical */
}
/* uniform boxes: the label block reserves two lines whether it wraps or not, so
   "HOCKEY IQ" chips are the exact same size as "SHOT" chips */
.bap-stat-chip { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 1px; padding: 9px 4px 7px;
  background: var(--surface); border: 2px solid var(--line); border-radius: 12px; cursor: pointer; color: var(--text); font-family: "Inter", sans-serif; transition: border-color .15s, transform .15s; }
.bap-stat-chip:hover { border-color: var(--gold, #ffd166); transform: translateY(-2px); }
.bap-stat-chip .scv { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 24px; line-height: 1; }
.bap-stat-chip .sck { font-size: 10px; letter-spacing: .4px; text-transform: uppercase; color: var(--text-dim);
  min-height: 28px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; text-align: center; line-height: 1.15; }
.bap-stat-chip .sck i { font-style: normal; font-size: 12px; line-height: 1; }   /* emoji on its own fixed line — labels fit one line, chips stay identical */
.bap-stat-chip.best { border-color: rgba(255, 209, 102, .65); background: rgba(255, 209, 102, .08); }
.bap-stat-chip.best .scv { color: var(--gold, #ffd166); }
.bap-stat-chip.taken { opacity: .38; cursor: not-allowed; }
.bap-stat-chip.taken:hover { border-color: var(--line); transform: none; }
.bap-stat-chip .scl { position: absolute; top: 4px; right: 6px; font-size: 8px; letter-spacing: .8px; text-transform: uppercase; color: var(--text-faint); }
.bap-pass { margin-top: 10px; width: 100%; padding: 9px; border-radius: 10px; border: 1px solid var(--line); background: none; color: var(--text-dim); font: inherit; font-size: 13px; cursor: pointer; }
.bap-pass:hover { border-color: #e58a8a; color: var(--text); }

/* reel */
.bap-reelcard { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 20px; text-align: center;
  min-height: 0; height: 100%; overflow-y: auto; scrollbar-gutter: stable;
  display: flex; flex-direction: column; justify-content: flex-start; }
.bap-reelcard > * { flex: none; }
.bap-reellabel { font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-dim); margin-bottom: 3px; }
.bap-reellabel b { color: var(--gold, #ffd166); }
.bap-reelblurb { font-size: 12px; color: var(--text-faint); margin-bottom: 12px; }
.bap-reelrow { display: flex; gap: 12px; max-width: 500px; width: 100%; margin: 10px auto 14px; align-self: center; }
.bap-teamwin { position: relative; width: 150px; flex: none; height: 150px; overflow: hidden; border: 2px solid var(--line); border-radius: 14px; background: rgba(0, 0, 0, .28); }
.bap-teamwin.land { border-color: var(--gold, #ffd166); animation: bapland .45s ease; }
.bap-teamwin .placeholder { color: var(--text-faint); font-size: 30px; }
.bap-reelwindow { position: relative; flex: 1; height: 150px; overflow: hidden; border: 2px solid var(--gold, #ffd166); border-radius: 14px; background: rgba(0, 0, 0, .28); }
.bap-reelwindow::before, .bap-reelwindow::after { content: ""; position: absolute; left: 0; right: 0; height: 32px; z-index: 2; pointer-events: none; }
.bap-reelwindow::before { top: 0; background: linear-gradient(180deg, rgba(7, 13, 21, .85), transparent); }
.bap-reelwindow::after { bottom: 0; background: linear-gradient(0deg, rgba(7, 13, 21, .85), transparent); }
.bap-reel { will-change: transform; }
/* slot-machine fast phase: the reel loops a 12-cell cycle at speed, motion-blurred;
   the JS then swaps to a short strip that decelerates and clunks onto the land */
.bap-reel-loop { animation: bapreelloop .45s linear infinite; }
.bap-reel-idle { animation: bapreelloop 22s linear infinite; }   /* attract-mode drift before the pull */
@keyframes bapreelloop { to { transform: translateY(-1800px); } }   /* 12 cells × 150px */
.bap-teamwin.fast .bap-reel, .bap-reelwindow.fast .bap-reel { filter: blur(2px); }
/* CENTERED and ALIGNED: the photo + a fixed-width name box form a constant-width
   group, so centering puts every cell's photo at the identical x — no jiggle from
   name length during the spin, no off-center look when it lands */
.bap-cell { height: 150px; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 0 12px; text-align: left; }
.bap-cell .cbody { flex: 0 1 210px; min-width: 0; }
.bap-cell .cph { flex: none; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 2px solid var(--line); background: #dfe9f4; position: relative; }
.bap-cell .cph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.bap-cell .cbody { min-width: 0; }
.bap-cell .nm { font-family: "Oswald", sans-serif; font-weight: 700; font-size: clamp(16px, 4.4vw, 24px); line-height: 1.08; }   /* wraps — full names always visible */
.bap-cell .rt { font-size: 12.5px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bap-cell .rt b { color: var(--gold, #ffd166); font-size: 15px; }
.bap-cell .placeholder { color: var(--text-faint); font-size: 26px; letter-spacing: 6px; width: 100%; text-align: center; }
.bap-reelwindow.land { animation: bapland .45s ease; }
@keyframes bapland { 0% { box-shadow: 0 0 0 rgba(255, 209, 102, 0); } 40% { box-shadow: 0 0 34px rgba(255, 209, 102, .55); } 100% { box-shadow: 0 0 0 rgba(255, 209, 102, 0); } }
.bap-note { min-height: 18px; font-size: 13px; color: var(--text-dim); font-style: italic; margin-bottom: 12px; }
.bap-mulligan { margin-top: 10px; font-size: 12px; color: var(--text-faint); }

/* ---------- player card / results ---------- */
.bap-card { background: linear-gradient(160deg, rgba(255, 209, 102, .10), var(--surface) 45%); border: 1px solid rgba(255, 209, 102, .4); border-radius: 18px; padding: 18px 18px 16px; text-align: center; margin-bottom: 14px; }
.bap-name { font-family: "Oswald", sans-serif; font-weight: 700; font-size: clamp(26px, 6.4vw, 36px); text-transform: uppercase; letter-spacing: .5px; line-height: 1.05; }
.bap-rename { background: none; border: none; color: var(--text-faint); font-size: 13px; cursor: pointer; margin-top: 2px; }
.bap-rename:hover { color: var(--text); }
.bap-ovr { display: inline-flex; align-items: baseline; gap: 7px; margin: 8px 0 4px; font-family: "Oswald", sans-serif; }
.bap-ovr .n { font-size: 44px; font-weight: 700; color: var(--gold, #ffd166); }
.bap-ovr .l { font-size: 12px; letter-spacing: 2px; color: var(--text-dim); }

/* avatar DNA strip (season + card) */
.bap-dna { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-top: 10px; }
.bap-dnachip { display: block; width: 58px; text-align: center; }
.bap-dnachip .ph { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin: 0 auto; overflow: hidden; border: 1.5px solid rgba(255, 209, 102, .55); background: #dfe9f4; position: relative; }
.bap-dnachip .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bap-dnachip .ph .bap-mono { font-size: 13px; }
.bap-dnachip .ph .bap-mono small { display: none; }
.bap-dnachip .k { font-size: 9px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .4px; margin-top: 3px; display: block; line-height: 1.2; }
.bap-dnachip .k b { color: var(--gold, #ffd166); font-size: 10.5px; }

/* season ticker */
.bap-tick { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; }
.bap-tickrow { display: flex; justify-content: space-between; align-items: baseline; font-family: "Oswald", sans-serif; }
.bap-tickrow .gm { font-size: 13px; color: var(--text-dim); letter-spacing: 1px; }
.bap-tickrow .ln { font-size: 22px; font-weight: 700; }
.bap-tickbar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 10px; }
.bap-tickbar i { display: block; height: 100%; width: 0; background: var(--gold, #ffd166); border-radius: 3px; }

/* highlights feed */
.bap-feed { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.bap-ev { display: flex; gap: 10px; align-items: baseline; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 13px; animation: bapfade .3s ease; }
.bap-ev .g { flex: none; font-family: "Oswald", sans-serif; font-weight: 600; font-size: 11px; color: var(--text-faint); min-width: 44px; }
.bap-ev.big { border-color: rgba(255, 209, 102, .5); background: rgba(255, 209, 102, .07); }
.bap-ev.bad { border-color: rgba(216, 107, 107, .4); }

/* final results */
.bap-line { display: flex; justify-content: center; gap: 10px; margin: 12px 0 4px; }
.bap-stat { background: rgba(0, 0, 0, .25); border: 1px solid var(--line); border-radius: 12px; padding: 10px 0; text-align: center; flex: 1; max-width: 108px; }
.bap-stat .v { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 30px; line-height: 1.05; }
.bap-stat .k { font-size: 10px; letter-spacing: 1.4px; color: var(--text-faint); text-transform: uppercase; margin-top: 2px; }
.bap-grade { margin: 14px 0 2px; }
.bap-grade .t { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 24px; color: var(--gold, #ffd166); text-transform: uppercase; letter-spacing: .5px; }
.bap-grade .s { color: var(--text-dim); font-size: 13px; margin-top: 3px; }
.bap-awards { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 12px 0 4px; }
.bap-award { background: rgba(255, 209, 102, .12); border: 1px solid rgba(255, 209, 102, .45); color: var(--gold, #ffd166); border-radius: 999px; font-size: 12.5px; font-weight: 600; padding: 5px 12px; }
.bap-award.dud { background: var(--surface); border-color: var(--line); color: var(--text-dim); }
.bap-recbanner { margin: 10px auto 2px; max-width: 430px; background: linear-gradient(90deg, rgba(255, 209, 102, .18), rgba(255, 209, 102, .06)); border: 1px solid rgba(255, 209, 102, .5); border-radius: 12px; padding: 9px 14px; font-size: 13px; font-weight: 600; }

.bap-actions { display: flex; justify-content: center; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.bap-ghost { padding: 13px 22px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.bap-ghost:hover { border-color: var(--accent); }

.bap-foot { text-align: center; color: var(--text-faint); font-size: 11.5px; margin-top: 40px; }
.bap-foot a { color: var(--text-dim); }

/* phones: 5 chip rows per side must fit a short rig — photo + trait only,
   sized so a full chip (badge overhang + photo + label) stays under ~46px */
@media (max-width: 899px) {
  .bap-chip { width: 64px; }
  .bap-chip .ph { width: 32px; height: 32px; font-size: 12px; border-width: 1.5px; }
  .bap-chip .tag { font-size: 7px; letter-spacing: .2px; margin-top: 2px; }
  .bap-chip .nm { display: none; }
  /* badge rides the photo's top-right shoulder: on the bubble's corner (background,
     never the face) with no upward overhang (which collided with the label above) */
  .bap-chip .rt { margin-left: 8px; top: 2px; font-size: 9px; min-width: 18px; padding: 1px 3px; border-radius: 6px; }
  .bap-mono small { display: none; }
}
/* belt-and-braces: where container queries exist, the photo scales WITH the rig's
   real height (12.5% of it), so no viewport/browser-chrome combo can make five
   chip rows overlap — overlap becomes geometrically impossible */
@supports (width: 1cqh) {
  @media (max-width: 899px) {
    .bap-rig { container-type: size; }
    .bap-chip .ph { width: clamp(22px, 12.5cqh, 36px); height: clamp(22px, 12.5cqh, 36px); }
  }
}

/* landing mode buttons — side by side */
.bap-modes { display: flex; flex-direction: row; gap: 12px; justify-content: center; flex-wrap: wrap; }
.bap-modes .bap-cta { min-width: 0; flex: 1 1 auto; padding: 15px 22px; font-size: 16px; white-space: nowrap; }


/* desktop: the player dominates the screen, build-a-player style */
@media (min-width: 900px) {
  .bap-wrap { max-width: 760px; }
  .bap-chip { width: 100px; }
  .bap-chip .ph { width: 58px; height: 58px; }
  .bap-chip .tag { font-size: 10px; }
  .bap-chip .nm { font-size: 10.5px; }
  .bap-chip .rt { margin-left: 12px; font-size: 13px; min-width: 26px; }   /* top-right shoulder, off the face */
}

/* ---------- landing hero ---------- */
.bap-hero { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bap-kicker { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px; }
.bap-hero-copy { text-align: center; }
.bap-hero-copy .bap-h, .bap-hero-copy .bap-sub { text-align: center; }
.bap-hero-copy .bap-sub b { color: var(--gold, #ffd166); }

.bap-hero-art { position: relative; width: min(64vw, 250px); aspect-ratio: 674 / 877; margin: 10px auto 4px; }
.bap-hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.bap-hero-ghost { opacity: .28; filter: invert(.86); }
:root[data-theme="light"] .bap-hero-ghost { filter: none; opacity: .12; }
.bap-hero-gold { animation: bapherofill 7s ease-in-out infinite; filter: drop-shadow(0 0 14px rgba(255, 209, 102, .35)); }
@keyframes bapherofill {
  0%   { clip-path: inset(100% 0 0 0); }
  42%  { clip-path: inset(0% 0 0 0); }
  58%  { clip-path: inset(0% 0 0 0); }
  100% { clip-path: inset(100% 0 0 0); }
}
.bap-hero-glow { position: absolute; inset: 8% -14% -4% -14%; background: radial-gradient(ellipse 52% 46% at 50% 58%, rgba(255, 209, 102, .16), transparent 70%); }
/* hero "ice line" removed — same confusing red streak as the rig goal line */
.bap-hero-chip { position: absolute; padding: 5px 11px; border-radius: 999px; background: rgba(10, 16, 26, .78); border: 1px solid rgba(255, 209, 102, .55);
  font-family: "Inter", sans-serif; font-size: 10px; letter-spacing: 1.2px; color: var(--text-dim); white-space: nowrap;
  animation: bapbob 4.2s ease-in-out infinite; backdrop-filter: blur(3px); }
:root[data-theme="light"] .bap-hero-chip { background: rgba(255, 255, 255, .82); }
.bap-hero-chip b { color: var(--gold, #ffd166); font-family: "Oswald", sans-serif; font-size: 14px; margin-left: 3px; }
:root[data-theme="light"] .bap-hero-chip b { color: #b07d1a; }
.bap-hero-chip.c1 { top: 6%; right: -16%; animation-delay: 0s; }
.bap-hero-chip.c2 { top: 38%; left: -22%; animation-delay: 1.1s; }
.bap-hero-chip.c3 { bottom: 20%; right: -20%; animation-delay: 2.2s; }
.bap-hero-chip.c4 { bottom: 42%; left: -14%; animation-delay: 3.1s; display: none; }
@keyframes bapbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

@media (min-width: 700px) {
  .bap-hero { flex-direction: row-reverse; align-items: center; gap: 44px; margin-top: 26px; }
  .bap-hero-copy { flex: 1; text-align: left; }
  .bap-hero-copy .bap-h, .bap-hero-copy .bap-sub { text-align: left; margin-left: 0; }
  .bap-hero-copy .bap-steps { justify-content: flex-start; }
  .bap-hero-copy .bap-modes { justify-content: flex-start; }
  .bap-hero-copy .bap-best { text-align: left; }
  .bap-hero-art { width: 320px; margin: 0; flex: none; }
  .bap-hero-chip.c4 { display: block; }
}

/* ---------- THE LAB (post-build suspense overlay) ---------- */
.bap-lab { position: fixed; inset: 0; z-index: 9500; display: grid; place-items: center; text-align: center;
  background: radial-gradient(ellipse 70% 55% at 50% 42%, rgba(47, 184, 255, .10), transparent 70%), rgba(5, 9, 15, .96);
  opacity: 0; transition: opacity .3s ease; font-family: "Inter", system-ui, sans-serif; color: var(--text, #eaf3fb); }
.bap-lab.on { opacity: 1; }
.bap-lab-inner { max-width: 420px; width: 92%; padding: 20px; }
.bap-lab-art { width: 130px; margin: 0 auto 30px; aspect-ratio: 674 / 877; animation: baplabpulse 1.4s ease-in-out infinite; }
.bap-lab-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 22px rgba(255, 209, 102, .5)); }
@keyframes baplabpulse { 0%, 100% { transform: scale(1); opacity: .82; } 50% { transform: scale(1.05); opacity: 1; } }
.bap-lab-kicker { font-size: 11px; letter-spacing: 3px; color: var(--text-faint, #7288a0); margin-bottom: 16px; }
.bap-lab-status { min-height: 44px; font-size: 16.5px; font-weight: 600; color: var(--text-dim, #b9cbdd); animation: bapfade .3s ease; }
.bap-lab-bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; margin: 18px auto 0; max-width: 300px; }
.bap-lab-bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, #ffd166, #e0a93a); transition: width .45s ease; }
.bap-lab-reveal { animation: baplabreveal .55s cubic-bezier(.2, .9, .3, 1.25); margin-top: 30px; }
.bap-lab-reveal .k { font-size: 13px; letter-spacing: 2.5px; color: var(--text-faint, #7288a0); margin-bottom: 12px; }
.bap-lab-reveal .n { font-family: "Oswald", sans-serif; font-weight: 700; font-size: clamp(34px, 9vw, 52px); text-transform: uppercase; line-height: 1.08;
  color: var(--gold, #ffd166); text-shadow: 0 0 28px rgba(255, 209, 102, .45); }
.bap-lab-reveal .o { margin-top: 14px; font-size: 14px; font-weight: 600; letter-spacing: 1px; color: var(--text-dim, #b9cbdd); }
@keyframes baplabreveal { 0% { transform: scale(.7); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.bap-lab-btns { display: flex; flex-direction: column; gap: 14px; align-items: center; margin-top: 32px; }
.bap-lab-reroll { background: none; border: 1px solid var(--line, #2a3a4f); border-radius: 999px; color: var(--text-dim, #b9cbdd);
  font: inherit; font-size: 14px; font-weight: 600; padding: 9px 20px; cursor: pointer; }
.bap-lab-reroll:hover { border-color: var(--gold, #ffd166); color: var(--text, #eaf3fb); }
.bap-lab-keep { min-width: 200px; }

/* every face renders on a monogram backdrop: initials show until (or if) the
   photo loads — slow connections were showing blank circles mid-spin */
.bap-face { position: relative; display: block; width: 100%; height: 100%; }
.bap-face > .bap-mono { position: absolute; inset: 0; width: 100%; height: 100%; }
.bap-face > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bap-face > img.ld { background: #dfe9f4; }   /* opaque backing only AFTER load (mugs are transparent) — before load it painted WHITE BOXES over the monograms */

/* ESPN headshots carry white headroom inside the image — zoom past it. NHL mugs (.fn) are square and centered. */
img.fe { object-position: 50% 24%; transform: scale(1.32); transform-origin: 50% 30%; }
.bap-cell .cph img.fe { transform: scale(1.28); }

/* ---------- landing leaderboards ---------- */
.bap-boards { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 620px; margin: 34px auto 0; }
@media (min-width: 700px) { .bap-boards { grid-template-columns: 3fr 2fr; max-width: 760px; } }
.bap-board { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.bap-board-h { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold, #ffd166); margin-bottom: 10px; }
.bap-board-empty { color: var(--text-faint); font-size: 12.5px; padding: 8px 0 4px; }
/* Top Builds pool tabs */
.bap-board-h-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.bap-tabs { display: inline-flex; gap: 4px; background: rgba(0,0,0,.25); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.bap-tab { border: 0; background: none; color: var(--text-dim); font-family: "Oswald", sans-serif; font-weight: 600; font-size: 11.5px;
  letter-spacing: .6px; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; cursor: pointer; transition: background .12s, color .12s; }
.bap-tab.on { background: linear-gradient(180deg, #ffd166, #e0a93a); color: #1a1206; }
.bap-board-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid rgba(255,255,255,.05); font-size: 13px; }
.bap-board-row:first-child { border-top: none; }
.bap-board-row .rk { flex: none; width: 22px; font-family: "Oswald", sans-serif; font-weight: 700; color: var(--text-faint); }
.bap-board-row .nm { flex: 1; min-width: 0; line-height: 1.25; }
.bap-board-row .nm b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bap-board-row .nm small { color: var(--text-faint); font-size: 11px; }
.bap-board-row .pts { flex: none; font-family: "Oswald", sans-serif; font-weight: 700; font-size: 19px; color: var(--gold, #ffd166); }
.bap-board-row .pts small { font-size: 9px; color: var(--text-faint); margin-left: 3px; }
/* clickable board rows — tap any build to meet the player */
.bap-board-btn { width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid rgba(255,255,255,.05); color: inherit; font: inherit; cursor: pointer; padding: 6px 4px; border-radius: 8px; transition: background .12s; }
.bap-board-btn:first-child { border-top: none; }
.bap-board-btn:hover, .bap-board-btn:focus-visible { background: rgba(255, 209, 102, .07); }
.bap-board-btn .th { flex: none; width: 30px; height: 42px; border-radius: 5px; overflow: hidden; background: rgba(255,255,255,.05); display: flex; align-items: center; justify-content: center; }
.bap-board-btn .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bap-board-btn .th img.gh { width: 70%; height: auto; opacity: .45; object-fit: contain; }
.bap-me-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; }
.bap-me-grid > div { background: rgba(0,0,0,.22); border: 1px solid var(--line); border-radius: 10px; padding: 9px 2px; }
.bap-me-grid b { display: block; font-family: "Oswald", sans-serif; font-weight: 700; font-size: 21px; }
.bap-me-grid small { font-size: 9.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-faint); }
.bap-me-best { margin-top: 9px; font-size: 12px; color: var(--text-dim); }
.bap-saved { margin-top: 10px; font-size: 12.5px; color: var(--accent-2, #57e0a0); min-height: 18px; }

/* ---------- "Your Builds" gallery ---------- */
.bap-mine-board { max-width: 760px; margin: 12px auto 0; }
.bap-mine { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.bap-mine-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 0 0 8px; background: rgba(0, 0, 0, .25);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; color: var(--text);
  font-family: "Inter", sans-serif; text-align: center; transition: border-color .15s, transform .15s; }
.bap-mine-card:hover { border-color: var(--gold, #ffd166); transform: translateY(-2px); }
.bap-mine-card > img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block; background: #0b1626; }
/* ghost thumb: the silhouette is absolutely positioned so its intrinsic size can
   never inflate the card (it was blowing cards up to the image's natural height) */
.bap-mine-ghost { position: relative; width: 100%; aspect-ratio: 2 / 3; background: rgba(255, 255, 255, .03); overflow: hidden; }
.bap-mine-ghost img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; opacity: .3; }
.bap-mine-ghost small { position: absolute; top: 8px; right: 8px; font-size: 9px; letter-spacing: .5px; text-transform: uppercase;
  color: var(--text-faint); background: rgba(7, 13, 21, .7); border-radius: 999px; padding: 3px 8px; }
.bap-mine-nm { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 13px; padding: 2px 6px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bap-mine-ln { font-size: 10.5px; color: var(--text-faint); }

/* ---------- poster viewer overlay ---------- */
.bap-view { position: fixed; inset: 0; z-index: 9400; display: grid; place-items: center; padding: 18px;
  background: rgba(5, 9, 15, .9); opacity: 0; transition: opacity .25s ease; overflow-y: auto; }
.bap-view.on { opacity: 1; }
.bap-view-card { position: relative; width: min(400px, 94vw); max-height: 94dvh; overflow-y: auto; background: var(--surface);
  border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px 16px; text-align: center; font-family: "Inter", sans-serif; color: var(--text); }
.bap-view-x { position: absolute; top: 8px; right: 10px; background: none; border: none; color: var(--text-faint); font-size: 26px; cursor: pointer; line-height: 1; }
.bap-view-x:hover { color: var(--text); }
.bap-view-title { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 24px; text-transform: uppercase; }
.bap-view-sub { font-size: 12px; color: var(--text-dim); margin: 4px 0 12px; }
.bap-view-card img { width: 100%; border-radius: 14px; border: 1px solid rgba(255, 209, 102, .4); display: block; margin-bottom: 12px; }
.bap-view-card .bap-actions { margin-top: 4px; }

/* ---------- AI poster ---------- */
.bap-poster { margin: 26px auto 6px; max-width: 400px; text-align: center; }
.bap-poster .bap-cta { margin: 0 auto; }
.bap-poster-h { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold, #ffd166); margin-bottom: 10px; }
.bap-poster-h::before, .bap-poster-h::after { content: "—"; color: var(--line, #2a3a4f); margin: 0 10px; }
.bap-poster-status { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--text-dim, #b9cbdd); animation: bapfade .3s ease; min-height: 20px; }

/* poster-shaped skeleton while the AI renders — reserves the exact frame the
   image will fill, shimmering, so it's obvious something big is coming */
.bap-poster-skel { position: relative; width: 100%; max-width: 300px; aspect-ratio: 2 / 3; margin: 14px auto 6px;
  border-radius: 16px; border: 1px dashed rgba(255, 209, 102, .45); overflow: hidden;
  display: grid; place-content: center; gap: 6px; text-align: center; padding: 18px;
  background: linear-gradient(110deg, #0c1727 32%, #1a2c44 48%, #0c1727 64%); background-size: 240% 100%;
  animation: bapshimmer 1.7s linear infinite; }
@keyframes bapshimmer { to { background-position: -240% 0; } }
.bap-poster-skel .sil { width: 84px; margin: 0 auto; opacity: .3; animation: baplabpulse 1.4s ease-in-out infinite; }
.bap-poster-skel .cam { font-size: 24px; animation: baplabpulse 1.4s ease-in-out infinite; }
.bap-poster-skel .bap-poster-status { margin-top: 4px; font-size: 13px; }
.bap-poster-skel .skel-hint { font-size: 10.5px; letter-spacing: .6px; text-transform: uppercase; color: var(--text-faint, #7288a0); }
.bap-poster-out { margin-top: 14px; animation: baplabreveal .5s cubic-bezier(.2, .9, .3, 1.2); }
.bap-poster-out img { width: 100%; max-width: 360px; border-radius: 16px; border: 1px solid rgba(255, 209, 102, .45);
  box-shadow: 0 10px 44px rgba(0, 0, 0, .55), 0 0 30px rgba(255, 209, 102, .12); display: block; margin: 0 auto 14px; }

/* results screen: the poster is the hero; the season-card row is quiet below it */
.bap-final-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 22px;
  padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .07); }
.bap-savelink { background: none; border: none; color: var(--accent, #2fb8ff); font: inherit; font-size: 12.5px; cursor: pointer; text-decoration: underline; }

/* ---------- sibling-game cross-link on the landing hero ---------- */
.bap-xlink { text-align: center; margin: 14px 0 0; }
.bap-xlink a { display: inline-block; color: var(--gold, #ffd166); text-decoration: none; font-family: "Oswald", sans-serif;
  font-weight: 600; font-size: 13px; letter-spacing: .8px; text-transform: uppercase;
  border: 1px solid rgba(255, 209, 102, .4); border-radius: 999px; padding: 7px 16px; transition: background .12s, border-color .12s; }
.bap-xlink a:hover { background: rgba(255, 209, 102, .1); border-color: rgba(255, 209, 102, .8); }
