:root {
  --bg: #070708;
  --ink: #fafafa;
  --muted: #999;
  --muted-2: #757170;
  --line: rgba(222,222,222,0.12);
  --card: rgba(187,187,187,0.08);
  --accent: #4e03ff;
  --accent-2: #834ede;
  --green: #2fbf71;
  --gold: #d4a843;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* ───── Nav ───── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 32px;
  background: linear-gradient(to bottom, rgba(7,7,8,0.85), transparent);
}
.nav-brand {
  font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.18em;
  color: var(--ink); text-transform: uppercase; text-decoration: none;
}
.nav-links { display: flex; gap: 10px; }
.nav-pill {
  font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.1em;
  color: var(--ink); background: rgba(250,250,250,0.06);
  border: 1px solid var(--line); border-radius: 99px;
  padding: 8px 18px; cursor: pointer; text-transform: uppercase;
  text-decoration: none; transition: border-color .15s;
}
.nav-pill:hover { border-color: rgba(250,250,250,0.45); }
.nav-pill.live { border-color: rgba(250,250,250,0.35); }

/* Hamburger toggle — hidden on desktop, shown on phones (pages with .has-menu) */
.nav-toggle {
  display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 40px; height: 36px; padding: 0;
  background: rgba(250,250,250,0.06); border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block; width: 17px; height: 1.5px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
nav.open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ───── Nav — phones ───── */
@media (max-width: 640px) {
  nav { padding: 13px 18px; gap: 12px; }
  .nav-brand {
    font-size: 10px; letter-spacing: 0.1em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
  }

  /* Pages with a full menu (home, game-day): tap hamburger → dropdown */
  nav.has-menu .nav-toggle { display: flex; flex-shrink: 0; }
  nav.has-menu .nav-links {
    position: absolute; top: calc(100% + 8px); right: 18px;
    flex-direction: column; align-items: stretch; gap: 6px;
    min-width: 210px; padding: 8px;
    background: rgba(12,12,14,0.97);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.5);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  nav.has-menu.open .nav-links { opacity: 1; visibility: visible; transform: translateY(0); }
  nav.has-menu .nav-links .nav-pill {
    display: block; width: 100%; text-align: center;
    padding: 12px 14px; font-size: 11px; white-space: nowrap;
    background: rgba(250,250,250,0.05);
  }

  /* Pages with a single link (rsvp): keep it inline, no hamburger */
  nav:not(.has-menu) .nav-links { gap: 8px; flex-shrink: 0; }
  nav:not(.has-menu) .nav-pill { padding: 7px 13px; font-size: 10px; white-space: nowrap; }
}

/* ───── Hero ───── */
.hero {
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 32px 64px;
  position: relative; overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  background-position: center 35%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(35%) brightness(0.55) contrast(1.05);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(7,7,8,0.25) 0%, rgba(7,7,8,0.45) 55%, rgba(7,7,8,0.92) 100%);
}
.hero-meta, .hero h1, .hero .hero-cta { position: relative; z-index: 2; }
.hero-meta { display: flex; flex-direction: column; gap: 6px; margin-bottom: 28px; }
.hero-meta span {
  font-family: 'Geist Mono', monospace; font-size: 12.5px; letter-spacing: 0.06em;
  color: var(--ink); display: flex; align-items: center; gap: 10px;
}
.hero-meta .ic { opacity: 0.7; font-size: 13px; }
h1 {
  font-size: clamp(52px, 9vw, 116px);
  font-weight: 700; text-transform: uppercase;
  line-height: 0.98; letter-spacing: -0.02em;
}
h1 .thin { color: rgba(250,250,250,0.55); }
.hero-cta { margin-top: 34px; display: flex; gap: 12px; }

/* ───── Sections ───── */
section { padding: 110px 32px; max-width: 1080px; margin: 0 auto; }
.eyebrow {
  font-family: 'Geist Mono', monospace; font-size: 12.5px;
  letter-spacing: 0.04em; color: var(--ink);
  text-align: center; margin-bottom: 22px;
}
.eyebrow::before { content: "["; color: var(--muted); margin-right: 2px; }
.eyebrow::after  { content: "]"; color: var(--muted); margin-left: 2px; }
h2 {
  font-size: clamp(36px, 5.4vw, 58px);
  font-weight: 600; text-align: center;
  letter-spacing: -0.025em; line-height: 1.06;
  margin-bottom: 18px;
}
.section-sub {
  font-family: 'Geist Mono', monospace; font-size: 14.5px;
  color: var(--muted); text-align: center;
  max-width: 58ch; margin: 0 auto 56px; line-height: 1.75;
}

/* ───── Buttons ───── */
.btn {
  text-align: center; text-decoration: none; display: inline-block;
  font-family: 'Geist Mono', monospace; font-size: 12.5px; letter-spacing: 0.05em;
  padding: 13px 26px; border-radius: 99px; cursor: pointer;
  border: 1px solid var(--line); color: var(--ink); background: transparent;
  transition: all .15s;
}
.btn:hover { border-color: rgba(250,250,250,0.4); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: #5d1aff; }
.btn.block { display: block; width: 100%; margin-top: 10px; }

/* ───── Stats strip ───── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 24px; text-align: center;
}
.stat .big { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; }
.stat .lbl { font-family: 'Geist Mono', monospace; font-size: 11.5px; color: var(--muted); margin-top: 6px; letter-spacing: 0.05em; }

/* ───── Hall of fame rows ───── */
.champs { border-top: 1px solid var(--line); margin-top: 42px; }
.champ-row {
  display: grid; grid-template-columns: 110px 1fr 200px;
  gap: 24px; align-items: baseline;
  padding: 22px 8px; border-bottom: 1px solid var(--line);
}
.champ-row .yr { font-family: 'Geist Mono', monospace; font-size: 14px; color: var(--muted); }
.champ-row .who { font-size: 17px; font-weight: 600; }
.champ-row .who .crown { margin-right: 8px; }
.champ-row .note { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--muted-2); text-align: right; }

/* ───── Players directory ───── */
.players {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 30px 14px;
}
.player {
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.player .pphoto-wrap {
  display: flex; justify-content: center; width: 100%;
  border-radius: 50%; text-decoration: none;
}
.player .pphoto {
  position: relative; width: 100%; max-width: 118px; aspect-ratio: 1 / 1;
  border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Geist Mono', monospace; font-size: 30px; letter-spacing: 0.04em;
  color: var(--muted);
  background: rgba(250,250,250,0.05);
  background-size: cover; background-position: center 22%;
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.player .pphoto.has-photo { font-size: 0; filter: grayscale(18%) contrast(1.02); }
.player .pphoto.mono {
  background: radial-gradient(circle at 50% 32%, #262230 0%, #16161c 66%, #0f0f13 100%);
  color: #b6b1c2;
}
.player .pphoto-wrap:hover .pphoto { border-color: var(--accent-2); transform: translateY(-3px); }
.player .phover {
  position: absolute; inset: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 12px; box-sizing: border-box;
  background: rgba(7, 7, 8, 0.74); color: var(--ink);
  font-family: 'Geist Mono', monospace; font-size: 11px; line-height: 1.45; letter-spacing: 0.02em;
  opacity: 0; transition: opacity .2s;
}
.player .pphoto-wrap:hover .phover { opacity: 1; }
.player .pname {
  margin-top: 13px; font-size: 14.5px; font-weight: 600; line-height: 1.25;
  color: var(--ink); text-decoration: none;
}
.player .pname:hover { color: var(--accent-2); }
.player .badge {
  display: inline-block; margin-top: 6px;
  font-family: 'Geist Mono', monospace; font-size: 9px; letter-spacing: 0.08em;
  color: var(--muted); border: 1px solid var(--line);
  border-radius: 99px; padding: 2px 8px; text-transform: uppercase;
}

/* ───── Photo wall ───── */
.wall {
  position: relative; max-width: 1080px; margin: 0 auto;
  border-radius: 18px; overflow: hidden;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--line);
}
.wall img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity 1.4s ease;
  filter: grayscale(25%) contrast(1.02);
}
.wall img.show { opacity: 1; }
.wall-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: 40px 28px 22px;
  background: linear-gradient(to top, rgba(7,7,8,0.85), transparent);
  font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--ink);
  display: flex; justify-content: space-between;
}
.wall-cap .dim { color: rgba(250,250,250,0.6); }

/* ───── Day groups + activity cards (game day) ───── */
.day-label {
  font-family: 'Geist Mono', monospace; font-size: 11.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  margin: 36px 0 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.day-label:first-of-type { margin-top: 0; }
.activities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.activity {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
  position: relative;
}
.activity .aphoto {
  aspect-ratio: 16 / 7; width: 100%;
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--line);
  filter: grayscale(30%) brightness(0.85) contrast(1.02);
}
.activity .abody { padding: 20px 22px 20px; }
.activity:hover { border-color: rgba(250,250,250,0.3); transform: translateY(-2px); }
.activity.selected { border-color: var(--accent-2); background: rgba(131,78,222,0.10); }
.activity .check {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid rgba(250,250,250,0.7);
  background: rgba(7,7,8,0.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: transparent;
  transition: all .15s;
}
.activity.selected .check { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.activity .suit { font-size: 20px; margin-bottom: 12px; display: block; }
.activity h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 5px; padding-right: 30px; }
.activity p { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.activity .price { font-family: 'Geist Mono', monospace; font-size: 14.5px; color: var(--ink); }
.activity .price .free { color: var(--green); }

/* ───── Invoice ───── */
.invoice-wrap { max-width: 560px; margin: 0 auto; }
.who-row { display: flex; gap: 10px; margin-bottom: 18px; }
.who-row select {
  flex: 1; appearance: none;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 99px;
  font-family: 'Geist Mono', monospace; font-size: 13px;
  padding: 12px 20px; cursor: pointer; outline: none;
}
.who-row select:focus { border-color: var(--accent-2); }
.invoice {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 34px 28px;
}
.invoice-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 8px;
}
.invoice-head .title { font-weight: 600; font-size: 17px; }
.invoice-head .num { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--muted); }
.inv-line {
  display: flex; justify-content: space-between;
  font-family: 'Geist Mono', monospace; font-size: 13.5px;
  color: var(--muted); padding: 9px 0;
}
.inv-line .nm { color: var(--ink); }
.inv-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--line); margin-top: 10px; padding-top: 18px;
}
.inv-total .lbl { font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.inv-total .amt { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; }
.inv-due { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--muted); margin-top: 6px; text-align: right; }
.pay-row { display: flex; gap: 10px; margin-top: 24px; }
.pay-row .btn { flex: 1; }
.paid-stamp {
  display: none; text-align: center;
  font-family: 'Geist Mono', monospace; font-size: 13px; letter-spacing: 0.2em;
  color: var(--green); border: 1px solid rgba(47,191,113,0.4);
  border-radius: 99px; padding: 13px; margin-top: 24px;
}

/* ───── Payment modal ───── */
.modal-bg {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(7,7,8,0.85); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-bg.open { display: flex; }
.modal {
  width: 100%; max-width: 440px;
  background: #0d0d0f;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px 36px 32px;
  position: relative;
}
.modal .x {
  position: absolute; top: 18px; right: 22px;
  background: none; border: none; color: var(--muted);
  font-size: 18px; cursor: pointer;
}
.modal .step-lbl {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 10px;
}
.modal h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 24px; }
.pay-methods { display: flex; flex-direction: column; gap: 10px; }
.pay-method {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 17px 20px;
  cursor: pointer; transition: border-color .15s;
  font-size: 15px; font-weight: 500; color: var(--ink);
  width: 100%; text-align: left;
  font-family: 'Geist', sans-serif;
}
.pay-method:hover { border-color: var(--accent-2); }
.pay-method .arrow { color: var(--muted); font-family: 'Geist Mono', monospace; }
.modal input[type=text] {
  width: 100%; background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px;
  font-family: 'Geist Mono', monospace; font-size: 14px;
  padding: 14px 18px; outline: none; margin-bottom: 16px;
}
.modal input[type=text]:focus { border-color: var(--accent-2); }
.modal .hint { font-family: 'Geist Mono', monospace; font-size: 11.5px; color: var(--muted-2); line-height: 1.6; margin-bottom: 20px; }
.qr-box {
  background: #fff; border-radius: 14px;
  width: 216px; height: 216px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
}
.qr-box img, .qr-box canvas { width: 100%; height: 100%; }
.qr-cap { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--muted); text-align: center; margin-bottom: 22px; line-height: 1.7; }
.qr-cap strong { color: var(--ink); font-weight: 500; }
.confirm-big { text-align: center; font-size: 54px; margin: 12px 0 18px; }
.confirm-msg { font-family: 'Geist Mono', monospace; font-size: 13px; color: var(--muted); text-align: center; line-height: 1.8; margin-bottom: 24px; }
.confirm-msg strong { color: var(--green); font-weight: 500; }
.mstep { display: none; }
.mstep.on { display: block; }

/* ───── Who owes board ───── */
.board { border-top: 1px solid var(--line); }
.board-row {
  display: grid; grid-template-columns: 180px 1fr 120px 110px;
  gap: 20px; align-items: center;
  padding: 20px 8px;
  border-bottom: 1px solid var(--line);
}
.board-row .name { font-size: 17px; font-weight: 600; }
.board-row .items { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--muted); line-height: 1.6; }
.board-row .owed { font-family: 'Geist Mono', monospace; font-size: 15px; text-align: right; }
.status {
  font-family: 'Geist Mono', monospace; font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; text-align: center;
  padding: 6px 0; border-radius: 99px;
}
.status.paid { color: var(--green); border: 1px solid rgba(47,191,113,0.35); }
.status.due  { color: var(--muted);  border: 1px solid var(--line); }
.board-foot {
  display: flex; justify-content: space-between;
  font-family: 'Geist Mono', monospace; font-size: 12.5px; color: var(--muted);
  padding: 20px 8px 0;
}
.board-foot strong { color: var(--ink); font-weight: 500; }
.reminder-note {
  font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--muted-2);
  text-align: center; margin-top: 36px; line-height: 1.8;
}
.reminder-note strong { color: var(--gold); font-weight: 400; }

/* ───── Footer ───── */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 32px; text-align: center;
}
footer .f1 { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
footer .f2 { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--muted-2); }
footer a { color: var(--muted); text-decoration: none; }
footer .reset { cursor: pointer; text-decoration: underline; }

@media (max-width: 820px) {
  .activities { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .players { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 22px 10px; }
  .board-row { grid-template-columns: 1fr 100px; }
  .board-row .items, .board-row .owed { display: none; }
  section { padding: 80px 20px; }
  .wall { aspect-ratio: 4 / 3; }
  .champ-row { grid-template-columns: 80px 1fr; }
  .champ-row .note { display: none; }
}

/* ───── Hero video ───── */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(30%) brightness(0.5) contrast(1.05);
}

/* ───── Story section ───── */
.story-grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px;
  align-items: start; margin-top: 8px;
}
.story-pull {
  font-size: clamp(24px, 3vw, 32px); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.25;
}
.story-pull .accent { color: var(--accent-2); }
.story-photos { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.story-photos img {
  width: 100%; border-radius: 14px;
  border: 1px solid var(--line);
  filter: grayscale(25%) contrast(1.02);
  display: block;
}
.story-photos .sp-cap {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--muted-2); letter-spacing: 0.06em;
  margin-top: -6px;
}
.story-body p {
  font-size: 15.5px; color: var(--muted); line-height: 1.8;
  margin-bottom: 18px;
}
.story-body p strong { color: var(--ink); font-weight: 500; }
.placeholder-tag {
  display: inline-block;
  font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted-2);
  margin-top: 6px;
}

/* ───── Upcoming games ───── */
.upcoming { display: flex; flex-direction: column; gap: 14px; }
.game-card {
  display: grid; grid-template-columns: 150px 1fr auto;
  gap: 28px; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 30px 32px;
  transition: border-color .15s;
}
.game-card:hover { border-color: rgba(250,250,250,0.3); }
.game-card.live { border-color: rgba(131,78,222,0.5); background: rgba(131,78,222,0.07); }
.game-card .gdate { font-family: 'Geist Mono', monospace; font-size: 13px; color: var(--ink); line-height: 1.6; }
.game-card .gdate .gyr { font-size: 26px; font-weight: 600; font-family: 'Geist', sans-serif; display: block; letter-spacing: -0.02em; }
.game-card .gname { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.game-card .gmeta { font-family: 'Geist Mono', monospace; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.game-card .gstatus {
  font-family: 'Geist Mono', monospace; font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green);
  border: 1px solid rgba(47,191,113,0.35); border-radius: 99px;
  padding: 4px 12px; display: inline-block; margin-bottom: 10px;
}
.game-card .gstatus.tbd { color: var(--muted-2); border-color: var(--line); }

/* ───── Trophies ───── */
.trophies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 42px; }
.trophy {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 26px; text-align: center;
}
.trophy .ticon { font-size: 26px; margin-bottom: 14px; color: var(--ink); }
.trophy h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.trophy p { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--muted); line-height: 1.65; }
.trophy.has-bg {
  position: relative; overflow: hidden;
  background-size: cover; background-position: center 20%;
  background-clip: padding-box; border-color: var(--line);
  min-height: 370px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.trophy.has-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg,
    rgba(7,7,8,0) 0%, rgba(7,7,8,0) 30%,
    rgba(7,7,8,0.48) 54%, rgba(7,7,8,0.88) 100%);
}
.trophy.has-bg > * { position: relative; z-index: 1; }
.trophy.has-bg .ticon, .trophy.has-bg h3 { text-shadow: 0 1px 10px rgba(0,0,0,0.72); }
.trophy.has-bg p { color: rgba(250,250,250,0.9); text-shadow: 0 1px 8px rgba(0,0,0,0.66); }
.trophy.has-bg .holder { color: rgba(250,250,250,0.95); border-top-color: rgba(250,250,250,0.22); text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.trophy .holder {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: 'Geist Mono', monospace; font-size: 11.5px; color: var(--muted);
}

/* ───── Prior games table ───── */
.games-history { border-top: 1px solid var(--line); }
.gh-row {
  display: grid; grid-template-columns: 110px 1fr 1fr 160px;
  gap: 20px; align-items: baseline;
  padding: 20px 8px; border-bottom: 1px solid var(--line);
}
.gh-row.head { padding: 12px 8px; }
.gh-row.head span {
  font-family: 'Geist Mono', monospace; font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2);
}
.gh-row .yr { font-family: 'Geist Mono', monospace; font-size: 14px; color: var(--muted); }
.gh-row .loc { font-size: 16px; font-weight: 600; }
.gh-row .host { font-family: 'Geist Mono', monospace; font-size: 12.5px; color: var(--muted); }
.gh-row .champ { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--muted); text-align: right; }

/* ───── Player directory: circular portraits; name links to email, photo hover reveals record ───── */
.sample-banner {
  font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--muted-2);
  text-align: center; max-width: 640px; margin: -28px auto 48px; line-height: 1.7;
}

@media (max-width: 820px) {
  .story-grid { grid-template-columns: 1fr; gap: 24px; }
  .trophies { grid-template-columns: 1fr; }
  .game-card { grid-template-columns: 1fr; gap: 14px; }
  .gh-row { grid-template-columns: 70px 1fr; }
  .gh-row .host, .gh-row .champ { display: none; }
}
