
/* ===============================
   BASE / GLOBAL
================================ */

body {
  margin: 0;
  min-height: 100%;
  font-family: 'Istok Web', sans-serif;
  background: #27282d;
  color: #111;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ===============================
   HERO
================================ */

.hero {
  position: relative;
  background: rgba(255,255,255,0.015);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 20px 22px; /* condensed */
  text-align: center;
}

/* SMALL TOP LABEL */
.hero-intro {
  display: block;
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  color: #d1d5db;
  opacity: 0.75;
  margin-bottom: 8px;
}

/* MAIN TITLE */
.hero-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: clamp(22px, 4vw, 34px);
  margin: 0;
  color: #ffffff;
}

/* ACCENT WORD */
.hero-title span {
  color: #faf355;
}

/* META LINE */
.hero-meta {
  display: block;
  margin-top: 6px;
  font-family: 'Istok Web', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: #9ca3af;
}

/* Subtle divider */
.hero-divider {
  width: 60px;
  height: 2px;
  background: #faf355;
  margin: 14px auto 0;
  opacity: 0.6;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 560px) {

  .hero-wrap {
    padding: 20px 16px 18px;
  }

  .hero-title {
    font-size: 20px;
  }

  .hero-meta {
    font-size: 12px;
  }

}


/* ================================
   PSC MICRO CARD SYSTEM
================================ */
:root{
  --psc-row: 64px;
  --psc-top-gap: 28px; /* controls header spacing */
}

.psc-matchup {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  margin: 0;
  justify-content: center;
}

/* PLAYER TAG */
.psc-player {
  display: grid;
  grid-template-columns:
    36px     /* seed */
    22px     /* logo */
    1fr      /* name */
    28px     /* score 1 */
    28px     /* score 2 */
    36px;    /* final */
  align-items: center;

  padding: 6px 8px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 999px; /* pill / tag feel */
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 12px;

  position: relative;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;

  width: 100%;
  min-width: 0;
  width: min(100%, var(--psc-card-width));
  min-width: 0;
}

.psc-player:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.18);
  z-index: 3;
}

.psc-player::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.18s ease;
}

.psc-player:hover::after {
  border-color: rgba(40, 96, 246, 0.45);
}

/* SEED */
.psc-seed {
  text-align: left;
  font-size: 11px;
  opacity: 0.7;
}

/* LOGO */
.psc-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* NAME */
.psc-name {
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* SCORES */
.psc-score {
  text-align: center;
  font-size: 11px;
  color: #374151;
}

/* FINAL SCORE (STANDS OUT) */
.psc-final {
  font-weight: 700;
  color: #000;
  background: #eef2ff;
  border-radius: 999px;
  padding: 2px 0;
  width: 32px;
  justify-self: center;
}

/* ================================
   PSC MATCHUP NOTE
================================ */

.psc-note {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-family: 'Roboto Condensed', sans-serif;
  letter-spacing: 0.4px;
  color: #9ca3af;
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.12);
  line-height: 1.2;
  width: min(100%, var(--psc-card-width));
}

/* Optional icon cue */
.psc-note::before {
  content: "↯";
  font-size: 11px;
  opacity: 0.6;
}

.psc-matchup:has(.psc-player.psc-winner) .psc-note {
  color: #c7d2fe;
  background: rgba(40,96,246,0.12);
  border-color: rgba(40,96,246,0.35);
}



/* ================================
   PSC PLAYER STATES
================================ */

/* WINNER */
.psc-player.psc-winner {
  background: #fff;
  border-color: #2860F6;
}

.psc-player.psc-winner .psc-name {
  color: #111827;
}

.psc-player.psc-winner .psc-final {
  background: #2860F6;
  color: #ffffff;
}

/* LOSER */
.psc-player.psc-loser {
  opacity: 0.65;
  filter: grayscale(0.3);
}

.psc-player.psc-loser .psc-name {
  text-decoration: line-through;
}

.psc-player.psc-loser .psc-final {
  background: #e5e7eb;
  color: #6b7280;
}
/* ================================
   PSC BRACKET LAYOUT
================================ */

.psc-bracket {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;

  align-items: start; /* KEY: stop vertical stretching */
}

.psc-round {
  display: flex;
  flex-direction: column;
  min-height: 0;
  align-self: start; /* extra safety */
}

.psc-round-body {
  display: grid;
  grid-template-rows: var(--psc-top-gap) repeat(16, var(--psc-row));
  align-content: start;
}

.psc-round-header {
  flex-shrink: 0;
}

/* ROUND 1 (8 games, every 2 rows) */
.psc-round-1 .psc-matchup:nth-of-type(1) { grid-row: 2; }
.psc-round-1 .psc-matchup:nth-of-type(2) { grid-row: 4; }
.psc-round-1 .psc-matchup:nth-of-type(3) { grid-row: 6; }
.psc-round-1 .psc-matchup:nth-of-type(4) { grid-row: 8; }
.psc-round-1 .psc-matchup:nth-of-type(5) { grid-row: 10; }
.psc-round-1 .psc-matchup:nth-of-type(6) { grid-row: 12; }
.psc-round-1 .psc-matchup:nth-of-type(7) { grid-row: 14; }
.psc-round-1 .psc-matchup:nth-of-type(8) { grid-row: 16; }

/* ROUND 2 (midpoints of R1 pairs) */
.psc-round-2 .psc-matchup:nth-of-type(1) { grid-row: 3; }
.psc-round-2 .psc-matchup:nth-of-type(2) { grid-row: 7; }
.psc-round-2 .psc-matchup:nth-of-type(3) { grid-row: 11; }
.psc-round-2 .psc-matchup:nth-of-type(4) { grid-row: 15; }




/* ROUND 3 (matchup, logo, matchup) */
.psc-round-3 .psc-round-body > .psc-matchup:nth-child(1){
  grid-row: 5;
}

.psc-round-3 .psc-round-body > .psc-round-logo{
  grid-row: 9;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* nudge up slightly: 12 -> 11 */
.psc-round-3 .psc-round-body > .psc-matchup:nth-child(3){
  grid-row: 13;
}
/* ROUND 4 (midpoint of R3 pair) */
.psc-round-4 .psc-matchup {
  grid-row: 9;
}


/* =====================================
   ACTIVE / INACTIVE ROUND INDICATOR
===================================== */

/* Default: slightly muted */
.psc-round {
  transition: 
    opacity 0.35s ease,
    transform 0.35s ease,
    filter 0.35s ease;
}

/* If ANY round is active inside a bracket,
   fade the others slightly */
.psc-bracket:has(.psc-round.is-active) .psc-round:not(.is-active) {
  opacity: 0.45;
  filter: grayscale(0.2);
  transform: scale(0.98);
}

/* Active round emphasis */
.psc-round.is-active {
  opacity: 1;
  transform: scale(1);
}


.psc-round.is-active .psc-round-title {
  color: #faf355;
  text-shadow: 0 0 8px rgba(250,243,85,0.4);
}




/* ================================
   RESPONSIVE BEHAVIOR
================================ */

/* TABLET */
@media (max-width: 980px) {
    .psc-bracket {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    padding: 0 24px; 
  }
}

/* MOBILE */
@media (max-width: 560px) {
.psc-bracket {
    grid-template-columns: 1fr;
    padding: 0 20px;   
  }

  .psc-round {
    gap: 14px;
  }

  .psc-round .psc-matchup {
    margin: 0;
  }

    .psc-player,
  .psc-note {
    width: 100%;       
  }
}

/* ================================
   PSC BRACKET JUMP BAR
================================ */

.psc-jumpbar {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 14px 12px;
  margin: 24px auto;
  max-width: 1100px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  backdrop-filter: blur(6px);

  position: sticky;
  top: 8px;
  z-index: 50;
}

.psc-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;

  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;

  color: #e5e7eb;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);

  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.psc-jump:hover {
  transform: translateY(-1px);
  background: rgba(40,96,246,0.18);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.psc-jump.active {
  background: #2860F6;
  color: #ffffff;
  border-color: #2860F6;
}

/* LABEL + NUMBER */
.psc-jump-label {
  text-transform: uppercase;
}

.psc-jump-num {
  background: rgba(0,0,0,0.25);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
}


.psc-bracket {
  scroll-margin-top: 135px; /* vertical increase when jumpbar clicked */
}

/* ================================
   RESPONSIVE (NO STACKING)
================================ */

@media (max-width: 600px) {
  .psc-jump-label {
    display: none; /* hides "Bracket" */
  }

  .psc-jump {
    padding: 8px 12px;
  }

  .psc-jump-num {
    padding: 2px 10px;
    font-size: 13px;
  }
}

/* ================================
   PSC BRACKET HEADER
================================ */

.psc-bracket-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 14px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #faf355;
  border-bottom: 1px solid rgba(250, 243, 85, 0.25);
}

/* TEXT */
.psc-bracket-label {
  opacity: 0.85;
  font-size: 13px;
}

/* NUMBER PILL */
.psc-bracket-number {
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 999px;

  background: rgba(250, 243, 85, 0.15);
  border: 1px solid rgba(250, 243, 85, 0.35);
  color: #faf355;
}

/* ================================
   PSC ROUND HEADER
================================ */

.psc-round-header {
  text-align: center;
  margin-bottom: 12px;
  padding-bottom: 8px;

  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;

  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

/* ROUND TITLE */
.psc-round-title {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: #faf355;
}

/* DAY RANGE */
.psc-round-days {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 2px;
  color: #d1d5db;
  opacity: 0.85;
}

.psc-round > .psc-round-header {
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .psc-round-header {
    margin-bottom: 8px;
  }

  .psc-round-title {
    font-size: 12px;
  }

  .psc-round-days {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
}

/* ROUND 3 CENTER LOGO */

.psc-round-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.psc-round-logo img {
  width: 180px;       
  max-width: 80%;      /* prevents overflow on smaller screens */
  opacity: 0.25;
  pointer-events: none;
}
/* Round 3 logo sits dead center */
.psc-round-3 .psc-round-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Force every matchup to fit exactly one grid row */
.psc-round-body > .psc-matchup {
  align-self: stretch;
}

/* ===============================
   PSC FINAL FOUR LAYOUT
================================ */

.psc-finals {
  max-width: 1100px;
  margin: 60px auto 40px;
}

.psc-finals-bracket {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Body spacing (no grid math like earlier rounds) */
.psc-finals-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 18px;
}

/* Keep exact same card width behavior */
.psc-finals .psc-player,
.psc-finals .psc-note {
  width: 100%;
}

/* ===============================
   CHAMPION SPECIAL STYLING
================================ */

.psc-champion {
  border: 2px solid #faf355;
  box-shadow:
    0 0 18px rgba(250,243,85,0.35);
}

.psc-champion .psc-final {
  background: #faf355;
  color: #111;
}

/* ===============================
   ACTIVE BEHAVIOR (same logic)
================================ */

/* Base state (offline feel) */
.psc-finals .psc-round {
  opacity: 0.55;
  filter: grayscale(0.25);
  transform: scale(0.98);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    filter 0.35s ease;
}

/* If ANY final four round is active,
   fade only the inactive ones */
.psc-finals:has(.psc-round.is-active)
  .psc-round:not(.is-active) {
  opacity: 0.45;
  filter: grayscale(0.3);
  transform: scale(0.97);
}

/* Active final four round */
.psc-finals .psc-round.is-active {
  opacity: 1;
  filter: none;
  transform: scale(1);
}

/* Active round title glow */
.psc-finals .psc-round.is-active .psc-round-title {
  color: #faf355;
  text-shadow: 0 0 8px rgba(250,243,85,0.4);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 980px) {
  .psc-finals-bracket {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.psc-player.psc-bye {
  opacity: 0.4;
  border-style: dashed;
}


/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 980px) {
  .psc-finals-bracket {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 560px) {

  /* Remove fixed tournament grid spacing */
  .psc-round-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    grid-template-rows: none;
  }

  /* Remove manual row placement */
  .psc-round-1 .psc-matchup,
  .psc-round-2 .psc-matchup,
  .psc-round-3 .psc-matchup,
  .psc-round-4 .psc-matchup {
    grid-row: auto !important;
  }

  /* Tighten vertical rhythm */
  .psc-round {
    gap: 18px;
  }

}

/* ===============================
   PSC RESULTS SECTION 
================================ */

.psc-results {
  max-width: 1100px;
  margin: 80px auto 70px;
  padding: 0 20px;
}

/* CONSTRAIN WIDTH */
.psc-results-wrap {
  max-width: 620px;             
  margin: 0 auto;
  padding: 24px 28px;
}

/* TABLE STACK */
.psc-results-table {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* HEADER ROW */
.psc-results-head {
  display: grid;
  grid-template-columns:
    50px
    1.8fr
    1fr
    90px
    100px;

  font-family: 'Roboto Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #faf355;
  opacity: 0.75;

  padding: 0 10px 6px;
}

/* RIGHT ALIGN HEADER NUMBERS */
.psc-results-head span:nth-child(4),
.psc-results-head span:nth-child(5) {
  justify-self: end;
}

/* ROW */
.psc-results-row {
  display: grid;
  grid-template-columns:
    50px
    1.8fr
    1fr
    90px
    100px;

  align-items: center;
  padding: 10px 18px;

  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;

  color: #faf355;

  background: rgba(255,255,255,0.04); /* dark grey */
  border: 1px solid rgba(250,243,85,0.18);
  border-radius: 999px;

  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.psc-results-row:hover {
  transform: translateY(-2px);
  background: rgba(250,243,85,0.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* PLAYER CELL */
.psc-results-player {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* LARGER LOGOS (section only) */
.psc-results-player img {
  width: 24px;      /* 👈 larger */
  height: 24px;
  object-fit: contain;
}

/* RIGHT ALIGN NUMBERS */
.psc-results-row span:nth-child(4),
.psc-results-row span:nth-child(5) {
  justify-self: end;
}

/* ROUNDS BADGE (grey base, yellow text) */
.psc-results-rounds {
  display: inline-block;
  min-width: 44px;
  text-align: center;
  font-weight: 700;
  background: rgba(255,255,255,0.08);
  color: #faf355;
  border-radius: 999px;
  padding: 5px 12px;
}

/* POINTS BADGE (yellow backer, dark text) */
.psc-results-points {
  display: inline-block;
  min-width: 52px;
  text-align: center;
  font-weight: 700;
  background: #faf355;
  color: #111;
  border-radius: 999px;
  padding: 5px 14px;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 720px) {

  .psc-results-wrap {
    max-width: 100%;
  }

  .psc-results-row,
  .psc-results-head {
    grid-template-columns:
      40px
      1fr
      80px
      80px;
  }

  /* Hide team name */
  .psc-results-row span:nth-child(3),
  .psc-results-head span:nth-child(3) {
    display: none;
  }

}

@media (max-width: 560px) {

  .psc-results-row,
  .psc-results-head {
    grid-template-columns:
      36px
      1fr
      80px;
  }

  .psc-results-row span:nth-child(3),
  .psc-results-row span:nth-child(4),
  .psc-results-head span:nth-child(3),
  .psc-results-head span:nth-child(4) {
    display: none;
  }

  .psc-results-row span:last-child {
    justify-self: end;
  }

}
.psc-results-player {
  color: #f3f4f6; 
}
.psc-results-row:not(.psc-results-head) span:nth-child(3) {
  color: #f3f4f6; 
}
.psc-results-row span:first-child {
  opacity: 0.75;
}

/* ===============================
   PSC COMBINED STATS TABLE
   Scoped to #psc-combined-stats ONLY
================================ */

#psc-combined-stats .psc-results-row {
  grid-template-columns:
    1.8fr   /* player */
    110px   /* rounds */
    130px   /* rounds won */
    120px;  /* points */
}

/* HEADER ALIGNMENT */
#psc-combined-stats .psc-results-head span:nth-child(2),
#psc-combined-stats .psc-results-head span:nth-child(3),
#psc-combined-stats .psc-results-head span:nth-child(4) {
  text-align: right;
}

/* RIGHT ALIGN NUMBERS */
#psc-combined-stats .psc-results-row span:nth-child(2),
#psc-combined-stats .psc-results-row span:nth-child(3),
#psc-combined-stats .psc-results-row span:nth-child(4) {
  justify-self: end;
}

/* PLAYER CELL (preserve existing style but align properly) */
#psc-combined-stats .psc-results-player {
  justify-content: flex-start;
}

/* ROUNDS + ROUNDS WON share same badge styling */
#psc-combined-stats .psc-results-rounds {
  min-width: 48px;
  text-align: center;
}

/* POINTS keeps existing look */
#psc-combined-stats .psc-results-points {
  min-width: 56px;
}
/* ===============================
   PSC DIRECTORY NAV
================================ */

.psc-directory {
  max-width: 1100px;
  margin: 26px auto 10px;
  padding: 0 20px;
}

.psc-directory-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;

  padding: 14px 18px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  backdrop-filter: blur(6px);
}

/* LINK STYLE */
.psc-directory-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 16px;
  border-radius: 999px;

  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;

  text-decoration: none;

  color: #faf355;
  background: rgba(250,243,85,0.08);
  border: 1px solid rgba(250,243,85,0.25);

  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.psc-directory-link:hover {
  transform: translateY(-2px);
  background: rgba(250,243,85,0.18);
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

/* ===============================
   PSC BACK TO TOP
================================ */

.psc-backtotop {
  position: fixed;
  right: 24px;
  bottom: 28px;

  width: 46px;
  height: 46px;
  border-radius: 50%;

  border: 1px solid rgba(250,243,85,0.35);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);

  color: #faf355;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

/* Visible state */
.psc-backtotop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover */
.psc-backtotop:hover {
  background: rgba(250,243,85,0.18);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  transform: translateY(-3px);
}

/* Mobile adjustment */
@media (max-width: 560px) {
  .psc-backtotop {
    right: 16px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}

/* ===============================
   PHASE 1 — SUB-NAV / SPOTLIGHT / GLANCE / CHAMPIONS WALL
================================ */

.psc-subnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 1100px;
  margin: 18px auto 6px;
  padding: 0 16px;
}
.psc-subnav-link {
  padding: 7px 16px;
  border-radius: 999px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: #d1d5db;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  transition: background 0.18s ease, color 0.18s ease;
}
.psc-subnav-link:hover { background: rgba(250,243,85,0.10); color: #faf355; }
.psc-subnav-link.is-active {
  color: #faf355;
  background: rgba(250,243,85,0.12);
  border-color: rgba(250,243,85,0.35);
}

.psc-spot {
  max-width: 1100px;
  margin: 22px auto 0;
  padding: 0 16px;
}
.psc-spot-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 22px 26px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(250,243,85,0.30);
  border-radius: 16px;
}
.psc-spot-media { flex-shrink: 0; }
.psc-champdisc {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.psc-champdisc img { width: 62px; height: 62px; object-fit: contain; }
.psc-spot-disc { width: 140px; height: 140px; }
.psc-spot-disc img { width: 94px; height: 94px; }
.psc-spot-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.psc-spot-kicker {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #faf355;
  opacity: 0.85;
}
.psc-spot-name, .psc-spot-name a {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.1;
}
.psc-spot-name a:hover { color: #faf355; }
.psc-spot-meta { font-size: 13px; color: #9ca3af; letter-spacing: 0.4px; }
.psc-spot-cta {
  align-self: flex-start;
  margin-top: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a1a1a;
  background: #faf355;
  border: 1px solid #faf355;
  transition: background 0.18s ease;
}
.psc-spot-cta:hover { background: #fff9a8; }
@media (max-width: 560px) {
  .psc-spot-inner { flex-direction: column; text-align: center; padding: 18px; }
  .psc-spot-body { align-items: center; }
  .psc-spot-cta { align-self: center; }
}

.psc-glance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  max-width: 1100px;
  margin: 14px auto 0;
  padding: 0 16px;
}
.psc-glance-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  text-align: center;
}
.psc-glance-label {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #9ca3af;
}
.psc-glance-value {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #faf355;
  line-height: 1.1;
}
.psc-glance-name { font-size: 12px; color: #d1d5db; letter-spacing: 0.4px; }

.psc-champwall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.psc-champcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.psc-champcard:hover {
  transform: translateY(-3px);
  border-color: rgba(250,243,85,0.40);
  background: rgba(250,243,85,0.06);
}
.psc-champcard-media {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 10px;
}
.psc-champcard-year {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #faf355;
  opacity: 0.85;
}
.psc-champcard-name {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;
  text-align: center;
  line-height: 1.15;
}
.psc-champcard-team { font-size: 11px; color: #9ca3af; letter-spacing: 0.4px; }
@media (max-width: 560px) {
  .psc-champwall { grid-template-columns: repeat(2, 1fr); }
}

/* ===============================
   PHASE 3 — RECORD BOOK
================================ */

.psc-oddgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.psc-oddcard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(250,243,85,0.25);
  border-radius: 12px;
  text-align: center;
}
.psc-oddcard a { text-decoration: none; }
.psc-oddcard-more {
  font-size: 11px;
  color: #6b7280;
  letter-spacing: 0.3px;
  margin-top: 2px;
}
.psc-rb-subhead {
  max-width: 1100px;
  margin: 0 auto 10px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #d1d5db;
  text-align: center;
}
.psc-rb-row3 { grid-template-columns: 64px 1.4fr 1.6fr !important; }
.psc-rb-row3 span:last-child {
  font-weight: 400;
  color: #c9cbd1;
  letter-spacing: 0.4px;
}
/* CAREER TABLE — 6 fixed columns, centred pills, no inherited right-align */
#rb-career .psc-results-wrap { max-width: 900px; }
.psc-career-table .psc-results-player {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  width: 100%;
}

.psc-career-table .psc-results-row,
.psc-career-table .psc-results-head {
  grid-template-columns: 48px 1.8fr 86px 110px 96px 76px;
  column-gap: 10px;
}
.psc-career-table .psc-results-row span { justify-self: center; }
.psc-career-table .psc-results-row span:nth-child(1) { justify-self: start; }
.psc-career-table .psc-results-row span:nth-child(2) { justify-self: start; }
.psc-career-table .psc-results-head span { text-align: center; }
.psc-career-table .psc-results-head span:nth-child(2) { text-align: left; }
.psc-career-table .psc-results-rounds { min-width: 44px; padding: 5px 10px; }
.psc-career-table .psc-results-points { min-width: 48px; padding: 5px 12px; }
.psc-career-table .psc-results-rounds:empty { background: none; padding: 5px 10px; }

@media (max-width: 720px) {
  .psc-career-table .psc-results-row,
  .psc-career-table .psc-results-head {
    grid-template-columns: 40px 1fr 90px 80px;
    column-gap: 8px;
  }
  /* hide Entries (3) and Titles (6); base rule already hides nth-child(3) */
  .psc-career-table .psc-results-row span:nth-child(6),
  .psc-career-table .psc-results-head span:nth-child(6) {
    display: none;
  }
  .psc-career-table .psc-results-row span:nth-child(4),
  .psc-career-table .psc-results-head span:nth-child(4) {
    display: block;
    justify-self: center;
  }
}
@media (max-width: 560px) {
  .psc-rb-row3 { grid-template-columns: 46px 1.2fr 1.4fr !important; }
  .psc-career-table .psc-results-row,
  .psc-career-table .psc-results-head {
    grid-template-columns: 36px 1fr 80px;
    column-gap: 8px;
  }
  .psc-career-table .psc-results-row span:nth-child(4),
  .psc-career-table .psc-results-head span:nth-child(4) {
    display: none;
  }
  .psc-career-table .psc-results-row span:nth-child(5) {
    display: block;
    justify-self: center;
  }
}
