/* FBTL member dashboard — scoped so WP header/sticky stay intact.
   Original class names preserved. Brand tokens live on .fbtl-dash-root. */

.fbtl-dash-root,
.fbtl-dash-root *,
.fbtl-dash-root *::before,
.fbtl-dash-root *::after {
  box-sizing: border-box;
}

.fbtl-dash-root {
  /* Brand palette */
  --navy: #092242;
  --green: #00AB3B;
  --court-yellow: #C9DB00;
  --alert-red: #991B1B;
  --charcoal: #1E293B;
  --muted-gray: #64748B;
  --border-light: #E2E8F0;
  --bg-canvas: #F8FAFC;
  --white: #FFFFFF;

  --green-deep: var(--navy);
  --green-mid: var(--green);
  --green-bright: #00C247;
  --green-light: #4DC97A;
  --green-pale: #E6F7EC;
  --gold: var(--court-yellow);
  --gold-light: #DCE85C;
  --gold-pale: #F7FAE0;
  --gold-mid: #7A8300;
  --off-white: var(--bg-canvas);
  --cream: var(--bg-canvas);
  --text-dark: var(--charcoal);
  --text-mid: var(--muted-gray);
  --text-light: var(--muted-gray);
  --border: var(--border-light);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(9,34,66,0.06);
  --shadow-md: 0 4px 20px rgba(9,34,66,0.1);
  --shadow-lg: 0 8px 40px rgba(9,34,66,0.14);
}

body.page-id-31768,
body.page-player-dashboard {
  background: #F8FAFC;
}

.fbtl-dash-root {
  font-family: Inter, sans-serif;
  color: #1E293B;
  background: var(--cream);
  min-height: 40vh;
  overflow-x: hidden;
}

.fbtl-dash-root h1,
.fbtl-dash-root h2,
.fbtl-dash-root h3,
.fbtl-dash-root p,
.fbtl-dash-root ul {
  margin: 0;
}

.fbtl-dash-root a {
  color: inherit;
}

.fbtl-dash-root button {
  font-family: inherit;
}

.page-wrap { max-width: 1100px; margin: 0 auto; padding: 40px 24px 80px; }

/* ── HERO ── */
.hero {
  background: var(--green-pale);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 44px 44px 40px;
  color: var(--charcoal);
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--green) 55%, var(--court-yellow) 100%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; top: -90px; right: -90px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(0,171,59,0.04);
  pointer-events: none;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 4px 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 22px;
}
.hero-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; position: relative; z-index: 1; }
.hero-top .hero-tag { margin-bottom: 0; }
.profile-tag a {
  display: inline-flex; align-items: center;
  background: var(--navy); color: var(--court-yellow);
  border: 1px solid var(--court-yellow);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; transition: all 0.2s;
}
.profile-tag a:hover { background: var(--green); color: #fff; border-color: var(--green); }
.hero-welcome {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.05; color: var(--navy); margin-bottom: 8px;
}
.hero-tagline {
  font-size: 14px; font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}
.hero-sub {
  font-size: 12px; font-weight: 600;
  color: var(--muted-gray);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 34px;
}
.identity-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 22px 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px 0;
  margin-bottom: 30px;
}
.id-field { padding: 0 24px; border-left: 1px solid var(--border-light); }
.id-field:first-child { border-left: none; padding-left: 0; }
.id-field label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-gray); display: block; margin-bottom: 5px; font-weight: 600; }
.id-field span { font-size: 15px; font-weight: 700; color: var(--charcoal); }
.badge-pill { display: inline-block; background: rgba(201,219,0,0.12); border: 1px solid rgba(201,219,0,0.5); color: var(--gold-mid); border-radius: var(--radius-sm); padding: 2px 10px; font-size: 13px; font-weight: 600; }
.badge-krypto { background: rgba(153,27,27,0.08); border-color: rgba(153,27,27,0.35); color: var(--alert-red); }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: var(--white);
  border: none; border-radius: 100px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; text-decoration: none; letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--green); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,171,59,0.3); }

/* ── LAYOUT ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.three-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 20px; }
@media (max-width: 900px) {
  .two-col, .three-col { grid-template-columns: 1fr; }
  .page-wrap { padding: 24px 16px 64px; }
  .hero { padding: 32px 24px 28px; }
  .identity-card { grid-template-columns: 1fr 1fr; }
  .next-body { grid-template-columns: 1fr; }
  .next-item { border-right: none; border-bottom: 1px solid var(--border); }
  .next-item:last-child { border-bottom: none; }
  .bingo-table { min-width: 460px; }
  .badges-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .two-col, .three-col { grid-template-columns: 1fr; }
  .hero { padding: 24px 20px 28px; border-radius: 12px; }
  .hero-welcome { font-size: 32px; }
  .hero-tagline { font-size: 12px; }
  .hero-sub { font-size: 13px; margin-bottom: 20px; }
  .identity-card { grid-template-columns: 1fr 1fr; padding: 16px 18px; gap: 14px 20px; margin-bottom: 20px; }
  .id-field { border-left: none; padding: 0; }
  .id-field span { font-size: 13px; }
  .btn-primary { padding: 12px 22px; font-size: 14px; }

  .focus-card { padding: 24px 20px; border-radius: 12px; }
  .focus-topic { font-size: 36px; }
  .focus-desc { font-size: 13px; }

  .card { padding: 20px 18px; border-radius: 12px; }
  .card-title { font-size: 20px; }

  .match-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .match-btn { padding: 16px 14px; }
  .match-btn .match-icon { font-size: 20px; margin-bottom: 8px; }
  .match-btn .match-name { font-size: 13px; }
  .match-btn .match-hint { font-size: 11px; }

  .page-wrap { padding: 16px 14px 60px; }

  .earn-loop { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
  .earn-step { font-size: 10px; padding: 6px 10px; white-space: nowrap; }
  .earn-arrow { font-size: 10px; padding: 6px 1px 6px 0; }

  .bingo-section-header h2 { font-size: 22px; }
  .bingo-card-header { padding: 18px 16px; flex-direction: column; gap: 12px; }
  .bingo-card-title { font-size: 18px; }
  .bingo-legend { gap: 10px; }
  .bingo-legend span { font-size: 10px; }
  .bingo-table-wrap { padding: 12px 10px 10px; }
  .bingo-table { border-spacing: 4px; min-width: 320px; }
  .bingo-table thead th { font-size: 22px; padding: 8px 0; border-radius: 6px; }
  .bingo-cell { font-size: 10px; padding: 7px 5px; min-height: 52px; border-radius: 8px; }
  .bingo-cell.bc-flow { font-size: 11px; }
  .free-silhouette { font-size: 17px; margin: 5px 0 1px; }
  .free-player-name { font-size: 10px; }
  .free-nation { font-size: 8px; }
  .bingo-progress { padding: 4px 12px 12px; }
  .bingo-actions { padding: 0 12px 14px; }

  .next-header { padding: 16px 18px; flex-direction: column; gap: 12px; align-items: flex-start; }
  .next-body { grid-template-columns: 1fr; }
  .next-item { border-right: none; border-bottom: 1px solid var(--border); padding: 18px; }
  .next-item:last-child { border-bottom: none; }
  .next-header .btn-green { width: 100%; }

  .badges-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .badge-card { padding: 16px 12px; }

  .modal-overlay { padding: 12px; align-items: flex-end; }
  .modal-box { padding: 24px 20px; border-radius: 16px 16px 0 0; max-height: 90vh; overflow-y: auto; }
  .match-modal-box { padding: 24px 20px; border-radius: 16px 16px 0 0; max-height: 90vh; overflow-y: auto; }
  .modal-cycle-btns { flex-wrap: wrap; }
  .btn-cycle { flex: 1 1 calc(50% - 4px); min-width: 0; font-size: 11px; padding: 9px 6px; }
  .match-modal-title { font-size: 28px; }
  .timer-count { font-size: 34px; }

  .score-grid { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .score-num { font-size: 36px; }
  .score-denom { font-size: 16px; }
}

@media (max-width: 400px) {
  .identity-card { grid-template-columns: 1fr; }
  .match-grid { grid-template-columns: 1fr; }
  .bingo-table { min-width: 280px; }
  .bingo-cell { font-size: 9px; padding: 5px 3px; min-height: 46px; }
  .bingo-table thead th { font-size: 18px; }
  .free-player-name { font-size: 9px; }
}

/* ── CARD ── */
.card { background: white; border-radius: var(--radius); border: 1px solid var(--border); padding: 28px; box-shadow: var(--shadow-sm); }
.section-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); font-weight: 500; margin-bottom: 6px; }
.card-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 22px; color: var(--text-dark); margin-bottom: 4px; }
.card-sub { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }

/* ── FOCUS CARD ── */
.focus-card {
  background: var(--green-deep); color: white;
  border-radius: var(--radius); padding: 32px;
  position: relative; overflow: hidden; margin-bottom: 20px;
}
.focus-card::before { content: '◎'; position: absolute; right: 24px; top: 24px; font-size: 80px; color: rgba(255,255,255,0.05); line-height: 1; }
.focus-label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 8px; }
.focus-topic { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 48px; letter-spacing: 0.04em; color: white; line-height: 1; margin-bottom: 12px; }
.focus-desc { font-size: 14px; color: rgba(255,255,255,0.6); max-width: 360px; line-height: 1.6; margin-bottom: 24px; }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: white;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-sm); padding: 11px 22px;
  font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

/* ── MATCH MODE ── */
.match-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.match-btn { border-radius: var(--radius-sm); padding: 22px 20px; cursor: pointer; transition: all 0.2s; border: none; text-align: left; font-family: 'Inter', sans-serif; }
.match-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.match-btn .match-icon { font-size: 24px; margin-bottom: 10px; display: block; }
.match-btn .match-name { font-size: 15px; font-weight: 600; display: block; }
.match-btn .match-hint { font-size: 12px; opacity: 0.75; margin-top: 3px; display: block; }
.mb-prenerves { background: var(--navy); color: white; }
.mb-spiral { background: var(--alert-red); color: white; }
.mb-crash { background: var(--charcoal); color: white; }
.mb-car { background: var(--green); color: white; }

/* ── CHECK-IN FORM ── */
.checkin-form-group { display: flex; flex-direction: column; gap: 14px; margin: 16px 0 24px; }
.checkin-field { display: flex; flex-direction: column; gap: 6px; }
.checkin-field label { font-size: 12px; font-weight: 600; color: var(--text-dark); }
.checkin-select { padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; font-family: 'Inter', sans-serif; background: var(--off-white); cursor: pointer; }
.checkin-select:focus { outline: none; border-color: var(--green-bright); }
.checkin-feedback { margin-top: 10px; font-size: 13px; color: var(--green-bright); text-align: center; display: none; padding: 8px; background: var(--green-pale); border-radius: var(--radius-sm); }
.btn-green { display: inline-flex; align-items: center; gap: 8px; background: var(--green-mid); color: white; border: none; border-radius: var(--radius-sm); padding: 13px 26px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; width: 100%; justify-content: center; }
.btn-green:hover { background: var(--green-bright); }

/* ── PROGRESS BAR ── */
.progress-bar-wrap { background: var(--off-white); border-radius: var(--radius-sm); height: 10px; margin: 16px 0 8px; overflow: hidden; }
.progress-bar-fill { height: 100%; border-radius: var(--radius-sm); background: linear-gradient(90deg, var(--green-mid), var(--green-light)); transition: width 0.6s ease; }
.progress-nums { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-light); }
.badge-reward { display: flex; align-items: center; gap: 12px; background: var(--gold-pale); border: 1px solid rgba(201,219,0,0.3); border-radius: var(--radius-sm); padding: 14px 16px; margin-top: 18px; }
.badge-icon { width: 44px; height: 44px; border-radius: 10%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.badge-text { font-size: 13px; }
.badge-text strong { display: block; font-weight: 600; font-size: 14px; color: var(--text-dark); margin-bottom: 2px; }

/* ── SCOREBOARD ── */
.score-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
/* score grid is 2-col by default */
.score-cell { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-sm); padding: 20px 16px; text-align: center; }
.score-num { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 44px; line-height: 1; color: var(--gold-light); letter-spacing: 0.03em; }
.score-denom { font-size: 20px; color: rgba(255,255,255,0.4); }
.score-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 6px; }

/* ── RECENTLY EARNED ── */
.badges-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
@media (max-width: 600px) { .badges-row { grid-template-columns: 1fr 1fr; } }
.badge-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 16px; text-align: center; box-shadow: var(--shadow-sm); transition: all 0.2s; }
.badge-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.badge-circle { width: 56px; height: 56px; border-radius: 10%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.bc-gold { background: linear-gradient(135deg, var(--court-yellow), var(--gold-light)); }
.bc-green { background: linear-gradient(135deg, var(--green-mid), var(--green-light)); }
.bc-blue { background: linear-gradient(135deg, var(--navy), #1E4976); }
.bc-purple { background: linear-gradient(135deg, var(--charcoal), var(--muted-gray)); }
.badge-name { font-size: 12px; font-weight: 600; color: var(--text-dark); line-height: 1.3; }

/* ── COMING NEXT ── */
.next-card { background: white; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 20px; }
.next-header { background: var(--off-white); border-bottom: 1px solid var(--border); padding: 20px 28px; display: flex; align-items: center; justify-content: space-between; }
.next-body { display: grid; grid-template-columns: repeat(3, 1fr); }
.next-item { padding: 24px 28px; border-right: 1px solid var(--border); }
.next-item:last-child { border-right: none; }
.next-tag { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-mid); font-weight: 600; margin-bottom: 8px; }
.next-title { font-size: 16px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.next-desc { font-size: 13px; color: var(--text-light); }
@media (max-width: 700px) { .next-body { grid-template-columns: 1fr; } .next-item { border-right: none; border-bottom: 1px solid var(--border); } }

/* ── BINGO SECTION HEADER ── */
.bingo-section-header { padding: 0 4px; margin-bottom: 20px; }
.bingo-section-header h2 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 26px; margin-bottom: 6px; }
.bingo-section-header .bingo-tagline { font-size: 13px; color: var(--text-light); margin-bottom: 10px; }
.earn-loop {
  display: inline-flex; align-items: center; gap: 0;
  background: var(--green-pale); border: 1px solid rgba(45,138,80,0.2);
  border-radius: 100px; overflow: hidden;
  margin-top: 8px;
}
.earn-step {
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--green-mid); padding: 7px 14px;
}
.earn-arrow {
  font-size: 11px; color: rgba(45,138,80,0.5);
  padding: 7px 2px 7px 0;
  font-weight: 700;
}
.earn-step.active { background: var(--green-mid); color: white; }

/* ── BINGO CARD ── */
.bingo-card-outer { background: white; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 20px; position: relative; }
.bingo-card-header { background: var(--green-deep); color: white; padding: 24px 28px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bingo-year-tag { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 4px; }
.bingo-card-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 22px; color: white; }
.bingo-card-subtitle { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 4px; }
.bingo-legend { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.bingo-legend span { font-size: 11px; display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,0.6); }
.bingo-legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.bingo-table-wrap { padding: 20px 20px 16px; overflow-x: auto; }
.bingo-table { width: 100%; border-collapse: separate; border-spacing: 6px; min-width: 500px; }
.bingo-table thead th { background: var(--green-mid); color: white; font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 28px; letter-spacing: 0.08em; text-align: center; padding: 10px 0; border-radius: 8px; width: 20%; }

/* ── BINGO CELLS ── */
.bingo-cell { border-radius: var(--radius-sm); padding: 10px 8px; text-align: center; vertical-align: middle; font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--text-dark); cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; border: 1.5px solid var(--border); background: var(--off-white); min-height: 64px; position: relative; user-select: none; }
.bingo-cell:hover { transform: scale(1.05); box-shadow: var(--shadow-md); z-index: 1; }

/* EARNED */
.bingo-cell.bc-earned { background: var(--green-deep); color: white; border-color: var(--green-deep); }
.bingo-cell.bc-earned::after { content: '✓'; position: absolute; top: 4px; right: 6px; font-size: 10px; color: var(--gold-light); font-weight: 700; }

/* IN PROGRESS */
.bingo-cell.bc-inprogress { background: var(--green-pale); color: var(--green-mid); border: 1.5px solid var(--green-bright); box-shadow: 0 0 0 3px rgba(45,138,80,0.15); animation: bingo-pulse 2.5s ease-in-out infinite; }
@keyframes bingo-pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(45,138,80,0.15); } 50% { box-shadow: 0 0 0 6px rgba(45,138,80,0.25); } }
.bingo-cell.bc-inprogress::after { content: '▶'; position: absolute; top: 4px; right: 6px; font-size: 8px; color: var(--green-bright); }

/* RETEST */
.bingo-cell.bc-retest { background: var(--gold-pale); color: var(--gold-mid); border: 1.5px solid rgba(201,219,0,0.6); }
.bingo-cell.bc-retest::after { content: '↺'; position: absolute; top: 4px; right: 6px; font-size: 11px; color: var(--gold); font-weight: 700; }

/* START */
.bingo-cell.bc-start { background: var(--off-white); color: var(--text-dark); border-color: var(--border); }

/* LOCKED */
.bingo-cell.bc-locked { background: #f0f0f0; color: #aaa; border-color: #e0e0e0; cursor: default; font-weight: 500; }
.bingo-cell.bc-locked:hover { transform: none; box-shadow: none; }
.bingo-cell.bc-locked::before { content: '🔒'; display: block; font-size: 14px; margin-bottom: 4px; }

/* FLOW center */
.bingo-cell.bc-flow { background: linear-gradient(135deg, var(--green-mid), var(--green-light)); color: white; border-color: var(--green-bright); font-size: 13px; font-weight: 700; cursor: default; }
.bingo-cell.bc-flow:hover { transform: none; box-shadow: none; }

/* ── FREE / PLAYER CARD ── */
.bingo-cell.bc-free {
  background: linear-gradient(160deg, #A3AF00 0%, #DCE85C 40%, #C9DB00 70%, #7A8300 100%);
  border: 2px solid #A3AF00;
  cursor: default;
  padding: 5px 4px;
  overflow: hidden;
  position: relative;
}
.bingo-cell.bc-free:hover { transform: scale(1.06); box-shadow: 0 6px 20px rgba(201,219,0,0.5); }
/* Subtle diagonal texture lines */
.bingo-cell.bc-free::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 3px, rgba(255,255,255,0.07) 3px, rgba(255,255,255,0.07) 4px);
  pointer-events: none;
  border-radius: var(--radius-sm);
}
/* Small "FREE" stamp top-left */
.free-stamp {
  position: absolute; top: 4px; left: 5px;
  font-size: 8px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(30,41,59,0.6);
  line-height: 1;
}
/* Month indicator top-right */
.free-month {
  position: absolute; top: 4px; right: 5px;
  font-size: 7px; font-weight: 700; letter-spacing: 0.06em;
  color: rgba(30,41,59,0.5);
}
.free-silhouette { font-size: 22px; display: block; line-height: 1; margin: 8px 0 2px; }
.free-player-name { font-size: 12px; font-weight: 700; display: block; color: var(--charcoal); letter-spacing: 0.01em; }
.free-nation { font-size: 9px; color: rgba(30,41,59,0.55); display: block; letter-spacing: 0.06em; margin-top: 1px; }
/* Signature line */
.free-sig {
  display: block; margin: 3px auto 0;
  width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30,41,59,0.3), transparent);
}

/* ── Y2 LOCKED OVERLAY ── */
.y2-locked-overlay { position: absolute; inset: 0; background: rgba(248,250,252,0.9); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; z-index: 10; border-radius: var(--radius); backdrop-filter: blur(2px); }
.y2-locked-overlay .lock-icon { font-size: 36px; }
.y2-locked-overlay .lock-msg { font-size: 15px; font-weight: 600; color: var(--text-dark); text-align: center; max-width: 260px; line-height: 1.4; }
.y2-locked-overlay .lock-sub { font-size: 13px; color: var(--text-light); text-align: center; max-width: 280px; }
.y2-progress-pill { background: var(--green-pale); border: 1px solid var(--green-bright); border-radius: 100px; padding: 6px 18px; font-size: 13px; font-weight: 600; color: var(--green-mid); }

/* ── BINGO PROGRESS ── */
.bingo-progress { display: flex; align-items: center; gap: 12px; padding: 4px 20px 16px; }
.bp-bar-wrap { flex: 1; background: var(--off-white); border-radius: var(--radius-sm); height: 8px; overflow: hidden; }
.bp-bar-fill { height: 100%; border-radius: var(--radius-sm); background: linear-gradient(90deg, var(--green-mid), var(--green-light)); transition: width 0.4s ease; }
.bp-label { font-size: 12px; color: var(--text-light); white-space: nowrap; }

/* ── BINGO ACTIONS ── */
.bingo-actions { display: flex; gap: 10px; padding: 0 20px 20px; }
.btn-bingo-reset { padding: 10px 22px; border-radius: 100px; border: none; cursor: pointer; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; background: var(--off-white); color: var(--text-mid); transition: all 0.2s; }
.btn-bingo-reset:hover { background: var(--green-pale); color: var(--green-mid); }
.bingo-hint { font-size: 11px; color: var(--text-light); padding: 0 20px 8px; font-style: italic; }

/* ── STATUS CYCLE TOOLTIP ── */
.status-cycle-hint { display: none; }

/* ── TRAIT MODAL ── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 20000; align-items: center; justify-content: center; padding: 20px; -webkit-tap-highlight-color: transparent; }
.modal-overlay.open { display: flex; }
.modal-box { background: white; border-radius: var(--radius); padding: 36px; max-width: 480px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.25); animation: slideUp 0.25s ease; -webkit-overflow-scrolling: touch; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.modal-close { background: none; border: none; cursor: pointer; font-size: 22px; color: var(--text-light); line-height: 1; padding: 4px; }
.modal-status-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: var(--radius-sm); padding: 4px 12px; font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.ms-start { background: var(--off-white); color: var(--text-mid); }
.ms-inprogress { background: var(--green-pale); color: var(--green-mid); }
.ms-retest { background: var(--gold-pale); color: var(--gold-mid); }
.ms-earned { background: var(--green-deep); color: white; }
.ms-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.checklist { list-style: none; margin: 16px 0; padding: 0; }
.cl-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.cl-item:last-child { border-bottom: none; }
.cl-check { width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px; font-weight: 700; }
.cl-done { background: var(--green-bright); color: white; }
.cl-todo { border: 1.5px solid var(--border); background: white; }
.modal-quote { font-size: 13px; color: var(--text-light); font-style: italic; margin-bottom: 20px; line-height: 1.6; padding: 12px 16px; background: var(--off-white); border-left: 3px solid var(--green-light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.modal-status-cycle { font-size: 11px; color: var(--text-light); text-align: center; margin-top: 10px; }
.modal-cycle-btns { display: flex; gap: 8px; margin-top: 12px; }
.btn-cycle { flex: 1; padding: 10px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: white; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.15s; color: var(--text-mid); }
.btn-cycle:hover { border-color: var(--green-bright); color: var(--green-mid); background: var(--green-pale); }
.btn-cycle.active { border-color: var(--green-mid); background: var(--green-mid); color: white; }

/* ── MATCH MODAL ── */
.match-modal-box { background: var(--green-deep); border-radius: var(--radius); padding: 36px; max-width: 480px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.4); animation: slideUp 0.25s ease; color: white; }
.match-modal-icon { font-size: 48px; margin-bottom: 16px; display: block; }
.match-modal-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 36px; letter-spacing: 0.04em; color: white; margin-bottom: 8px; }
.match-modal-sub { font-size: 13px; color: rgba(255,255,255,0.55); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.match-steps { list-style: none; margin: 0 0 24px; padding: 0; }
.match-step { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 14px; color: rgba(255,255,255,0.85); align-items: flex-start; }
.match-step:last-child { border-bottom: none; }
.step-num { width: 24px; height: 24px; border-radius: 50%; background: rgba(201,219,0,0.3); color: var(--gold-mid); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.match-timer { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.08); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 20px; }
.timer-label { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; }
.timer-count { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 42px; color: var(--gold-light); line-height: 1; min-width: 50px; }
.btn-timer { padding: 10px 20px; border-radius: var(--radius-sm); border: none; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn-start-timer { background: var(--gold); color: var(--green-deep); }
.btn-start-timer:hover { background: var(--gold-light); }
.btn-close-match { background: rgba(255,255,255,0.12); color: white; border: 1px solid rgba(255,255,255,0.25); }
.btn-close-match:hover { background: rgba(255,255,255,0.2); }

/* touch & interaction */
.match-btn, .btn-primary, .btn-green, .btn-outline-white, .btn-bingo-reset,
.btn-cycle, .btn-timer, .btn-close-match, .bingo-cell, .checkin-select,
.match-modal-box button, .modal-close {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* misc */
.section-gap { margin-bottom: 20px; }
.two-sets-line {
  font-size: 12px; font-style: italic; color: var(--text-light);
  margin-top: 6px; letter-spacing: 0.02em;
}
