/* =====================================================================
   Volley+ Individuals — site styles
   Brand: blue #00167B, sky #2EB8F6, orange #F0A028
   Lifted from the original template and tweaked for the PHP build.
   ===================================================================== */

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

:root {
  --blue:      #00167B;
  --blue-mid:  #0A1F9A;
  --sky:       #2EB8F6;
  --orange:    #F0A028;
  --orange-hi: #FFB340;
  --off-white: #F4F6FB;
  --gray-light:#E8EDF5;
  --border:    #D0D8EC;
  --text:      #12205E;
  --muted:     #5A6A99;
  --green:     #0D8A3E;
  --red:       #BA1A1A;
}

html { scroll-behavior: smooth; }
body { background: var(--off-white); color: var(--text); font-family: 'Open Sans', sans-serif; font-size: 15px; line-height: 1.65; }
a { color: var(--blue); }

/* ── NAV ── */
.site-nav {
  background: var(--blue); border-bottom: 3px solid var(--sky);
  position: sticky; top: 0; z-index: 100;
  padding: 0 32px; display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.nav-logo img { height: 46px; display: block; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-tag { background: var(--sky); color: var(--blue); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border-radius: 4px; padding: 4px 10px; }
.nav-link { color: rgba(255,255,255,.75); text-decoration: none; font-size: 13px; font-weight: 500; transition: color .2s; }
.nav-link:hover { color: #fff; }
.nav-user { color: rgba(255,255,255,.85); font-size: 13px; font-weight: 600; }
.btn-nav { background: var(--orange); color: #fff; border: none; border-radius: 6px; padding: 8px 20px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: none; transition: background .2s, transform .15s; display: inline-block; }
.btn-nav:hover { background: var(--orange-hi); transform: translateY(-1px); color:#fff; }

/* ── HERO ── */
.hero { background: var(--blue); padding: 60px 32px 56px; text-align: center; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--sky), var(--orange)); }
.hero-eyebrow { display: inline-block; background: rgba(46,184,246,.12); border: 1px solid rgba(46,184,246,.35); color: var(--sky); font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; border-radius: 20px; padding: 5px 16px; margin-bottom: 20px; }
.hero h1 { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(30px,5vw,54px); color: #fff; line-height: 1.1; margin-bottom: 14px; }
.hero h1 span { color: var(--sky); }
.hero-sub { color: rgba(255,255,255,.72); font-size: 16px; max-width: 500px; margin: 0 auto 40px; }
.hero-stats { display: flex; justify-content: center; max-width: 420px; margin: 0 auto; }
.hero-stat { flex: 1; padding: 14px 20px; border-right: 1px solid rgba(255,255,255,.15); text-align: center; }
.hero-stat:last-child { border-right: none; }
.hero-stat-num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 34px; color: var(--orange); line-height: 1; }
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,.55); letter-spacing: .07em; text-transform: uppercase; margin-top: 4px; }

/* ── "YOUR TEAMS" bar (logged-in members) ── */
.mine-bar { background:#EEF6FF; border-bottom:1px solid #D6E5F8; padding:10px 0; }
.mine-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mine-label { font-size:12px; font-weight:700; color: var(--blue); text-transform:uppercase; letter-spacing:.07em; margin-right:4px; }
.mine-chip {
  display:inline-flex; align-items:center; gap:8px;
  background:#fff; border:1.5px solid var(--border); border-radius: 999px;
  padding: 5px 14px 5px 12px;
  font-size: 13px; font-weight: 600; color: var(--blue);
  text-decoration:none; transition: all .18s;
}
.mine-chip:hover { border-color: var(--sky); background:#fff; color:var(--blue); transform: translateY(-1px); box-shadow: 0 2px 6px rgba(0,22,123,.08); }
.mine-chip .role-pill {
  font-size: 10px; font-weight: 700; letter-spacing:.05em; text-transform:uppercase;
  background: var(--orange); color:#fff; border-radius: 4px; padding: 1px 7px;
}
.mine-chip .role-pill.r-player { background: var(--sky); color: var(--blue); }
.mine-chip .meta { color: var(--muted); font-weight: 500; font-size: 12px; }
.mine-chip .arrow { color: var(--muted); }

/* ── FILTER BAR ── */
.filter-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 12px 0; }
.filter-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-right: 4px; }
.chip { background: #fff; border: 1.5px solid var(--border); border-radius: 20px; padding: 5px 16px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .18s; user-select:none; }
.chip:hover { border-color: var(--sky); color: var(--blue); }
.chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ── SECTION ── */
.section { max-width: 1080px; margin: 0 auto; padding: 36px 24px 48px; }
.section-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; gap: 12px; flex-wrap: wrap; }
.section-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 20px; color: var(--blue); }
.section-title span { color: var(--sky); }
.count-label { font-size: 13px; color: var(--muted); }

/* ── GRID ── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(316px, 1fr)); gap: 18px; }

/* ── CARD ── */
.card {
  background: #fff; border: 1.5px solid var(--border); border-radius: 12px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  animation: fadeUp .35s ease both;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,22,123,.12); border-color: var(--sky); }
@keyframes fadeUp { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }

.card-stripe { height: 5px; }
.bar-blue   { background: var(--blue); }
.bar-inter  { background: linear-gradient(90deg, var(--blue), var(--orange)); }
.bar-adv    { background: linear-gradient(90deg, #8B0000, #CC1A2E); }
.bar-social { background: linear-gradient(90deg, var(--sky), var(--orange)); }

.card-body { padding: 18px 20px 14px; flex: 1; display: flex; flex-direction: column; gap: 12px; }

.badge-block { display: flex; flex-direction: column; gap: 6px; }
.badge-row-1 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.badge-row-2 { display: flex; align-items: center; gap: 5px; flex-wrap: nowrap; }

.badge { border-radius: 4px; padding: 3px 10px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.b-night  { background: var(--blue); color: #fff; }
.b-type   { background: var(--gray-light); color: var(--text); }
.b-level  { background: #D6EFFC; color: #004F7A; }
.b-inter  { background: #FFF0D4; color: #8A5000; }
.b-adv    { background: #FFE8E8; color: #7A0000; }
.b-soc    { background: #E6F7FF; color: #005F8A; }

.vpill { display: flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 12px; font-weight: 700; border-radius: 20px; padding: 4px 11px; flex-shrink: 0; }
.v-many { background: #EAFFF3; color: #0A7A35; border: 1px solid #A3DDB8; }
.v-few  { background: #FFF8E0; color: #9A6200; border: 1px solid #F0D080; }
.v-one  { background: #FFE8E8; color: #8B0000; border: 1px solid #F0A0A0; }
.v-full { background: #F1F3F5; color: #878a99; border: 1px solid #D0D8EC; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.35} }

.card-name  { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px; color: var(--blue); line-height: 1.25; }
.card-venue { font-size: 13px; color: var(--muted); }

.card-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: var(--off-white); border-radius: 8px; padding: 12px 14px; }
.meta-label { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.meta-val   { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; color: var(--text); }
.meta-cost  { color: var(--blue); font-size: 20px; font-weight: 800; }
.meta-weeks { color: var(--blue); font-weight: 700; }
.meta-prorata { font-size: 10px; color: var(--muted); font-family: 'Open Sans', sans-serif; font-weight: 400; margin-top: 1px; }

.card-footer { display: flex; gap: 8px; padding: 0 20px 18px; }
.btn-primary { flex: 1; background: var(--orange); color: #fff; border: none; border-radius: 8px; padding: 11px 16px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px; cursor: pointer; text-align: center; text-decoration: none; display: flex; align-items: center; justify-content: center; transition: background .18s, transform .15s; }
.btn-primary:hover { background: var(--orange-hi); transform: translateY(-1px); color:#fff; }
.btn-primary[disabled], .btn-primary.disabled { background:#bdbdbd; cursor:not-allowed; transform:none; }
.btn-ghost   { background: #fff; color: var(--blue); border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 14px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .18s; text-decoration:none; display:inline-flex; align-items:center; }
.btn-ghost:hover  { border-color: var(--blue); background: var(--off-white); color:var(--blue); }

/* ── EMPTY ── */
.empty-state { background:#fff; border:1.5px solid var(--border); border-radius:12px; padding:40px 24px; text-align:center; color:var(--muted); }
.empty-state h3 { font-family:'Poppins'; font-weight:700; color:var(--blue); margin-bottom:8px; }

/* ── MODAL ── */
.overlay { position: fixed; inset: 0; background: rgba(0,22,123,.55); backdrop-filter: blur(5px); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .22s; }
.overlay.open { opacity: 1; pointer-events: all; }
.modal { background: #fff; border-radius: 16px; padding: 28px; width: 100%; max-width: 450px; transform: translateY(16px) scale(.97); transition: transform .22s; position: relative; max-height: 90vh; overflow-y: auto; }
.overlay.open .modal { transform: translateY(0) scale(1); }
.modal-bar { height: 5px; background: var(--blue); border-radius: 16px 16px 0 0; margin: -28px -28px 22px; }
.modal-close { position: absolute; top: 16px; right: 16px; background: var(--gray-light); border: none; border-radius: 50%; width: 28px; height: 28px; font-size: 14px; cursor: pointer; color: var(--muted); }
.modal-close:hover { background: var(--border); }
.modal-title { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 19px; color: var(--blue); margin-bottom: 4px; padding-right: 34px; }
.modal-venue-label { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.modal-details { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.modal-detail { background: var(--off-white); border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
.acc-section-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.acc-opts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.acc-opt { display: flex; align-items: center; gap: 12px; background: var(--off-white); border: 1.5px solid var(--border); border-radius: 10px; padding: 13px; text-decoration:none; color:inherit; transition: all .18s; }
.acc-opt:hover { border-color: var(--sky); background: #EEF6FF; }
.acc-opt-icon { font-size: 20px; flex-shrink: 0; }
.acc-opt-text strong { display: block; font-size: 13px; color: var(--blue); margin-bottom: 2px; }
.acc-opt-text span  { font-size: 12px; color: var(--muted); }
.modal-total { display: flex; align-items: center; justify-content: space-between; background: var(--off-white); border: 1.5px solid var(--border); border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; }
.modal-total-label  { font-size: 14px; color: var(--muted); }
.modal-total-amount { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 24px; color: var(--blue); }
.btn-modal { width: 100%; background: var(--orange); color: #fff; border: none; border-radius: 8px; padding: 13px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; cursor: pointer; text-align:center; text-decoration:none; display:block; }
.btn-modal:hover { background: var(--orange-hi); color:#fff; }
.modal-note { text-align: center; font-size: 11px; color: var(--muted); margin-top: 10px; }
.modal-error { background:#FFE8E8; color:#7A0000; border:1px solid #F0A0A0; border-radius:8px; padding:10px 12px; font-size:13px; margin-bottom:14px; display:none; }
.modal-error.show { display:block; }

/* ── FOOTER ── */
.site-footer { background: var(--blue); border-top: 3px solid rgba(46,184,246,.3); padding: 32px 24px; text-align: center; }
.site-footer img { height: 38px; margin-bottom: 14px; }
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,.5); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.3); }

/* ── LOGIN / REGISTER PAGE ── */
.auth-wrap { max-width: 460px; margin: 32px auto; padding: 0 16px; }
.auth-card { background:#fff; border:1.5px solid var(--border); border-radius:14px; padding:28px; }
.auth-card h1 { font-family:'Poppins'; font-weight:800; color:var(--blue); font-size:22px; margin-bottom:6px; }
.auth-card p.muted { color:var(--muted); font-size:13px; margin-bottom:18px; }
.auth-tabs { display:flex; gap:4px; background:var(--off-white); border-radius:10px; padding:4px; margin-bottom:18px; }
.auth-tab { flex:1; text-align:center; padding:10px 14px; font-weight:600; border-radius:8px; cursor:pointer; color:var(--muted); user-select:none; font-size:13px; }
.auth-tab.active { background:#fff; color:var(--blue); box-shadow:0 1px 3px rgba(0,0,0,.05); }
.auth-form { display:flex; flex-direction:column; gap:12px; }
.auth-form label { display:block; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:4px; }
.auth-form input { width:100%; background:var(--off-white); border:1.5px solid var(--border); border-radius:8px; padding:10px 13px; font-size:14px; font-family:'Open Sans',sans-serif; outline:none; transition: border-color .18s; }
.auth-form input:focus { border-color:var(--sky); background:#fff; }
.auth-form .row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.auth-form .err { background:#FFE8E8; color:#7A0000; border:1px solid #F0A0A0; border-radius:8px; padding:10px 12px; font-size:13px; display:none; }
.auth-form .err.show { display:block; }
.auth-form button.btn-submit { width:100%; background:var(--blue); color:#fff; border:none; border-radius:8px; padding:12px; font-family:'Poppins'; font-weight:700; font-size:14px; cursor:pointer; margin-top:4px; }
.auth-form button.btn-submit:hover { background:var(--blue-mid); }

/* ── PAYMENT PAGE ── */
.pay-wrap { max-width: 560px; margin: 32px auto; padding: 0 16px; }
.pay-card { background:#fff; border:1.5px solid var(--border); border-radius:14px; padding:24px 26px; }
.pay-card h1 { font-family:'Poppins'; font-weight:800; color:var(--blue); font-size:22px; margin-bottom:6px; }
.pay-card p.muted { color:var(--muted); font-size:13px; margin-bottom:18px; }
.pay-summary { background:var(--off-white); border:1px solid var(--border); border-radius:10px; padding:14px 16px; display:flex; flex-direction:column; gap:6px; margin-bottom:18px; font-size:14px; }
.pay-summary .row { display:flex; justify-content:space-between; }
.pay-summary .k { color:var(--muted); }
.pay-summary .v { font-weight:600; color:var(--text); }
.pay-summary .row.total .v { color:var(--blue); font-family:'Poppins'; font-weight:800; font-size:18px; }
.square-card { background:var(--off-white); border:1.5px solid var(--border); border-radius:8px; padding:12px; min-height:60px; }
.btn-pay { width:100%; background:var(--orange); color:#fff; border:none; border-radius:8px; padding:14px; font-family:'Poppins'; font-weight:700; font-size:15px; cursor:pointer; margin-top:14px; }
.btn-pay:hover { background:var(--orange-hi); }
.btn-pay[disabled] { background:#bdbdbd; cursor:not-allowed; }

/* ── TEAM PAGE ── */
.team-header { background: var(--blue); padding: 28px 32px 24px; border-bottom: 4px solid; border-image: linear-gradient(90deg, var(--orange), var(--sky)) 1; }
.team-header-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.team-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.team-name { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(20px, 3.5vw, 34px); color: #fff; line-height: 1.15; margin-bottom: 8px; }
.team-meta { display: flex; gap: 18px; flex-wrap: wrap; }
.team-meta-item { font-size: 13px; color: rgba(255,255,255,.7); }
.team-meta-item strong { color:#fff; font-weight:600; }
.season-tag { background: rgba(46,184,246,.15); border: 1px solid rgba(46,184,246,.4); border-radius: 8px; padding: 8px 16px; text-align: center; flex-shrink: 0; }
.season-tag-label { font-size: 10px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; }
.season-tag-val { font-family: 'Poppins'; font-weight: 800; font-size: 18px; color: var(--sky); line-height: 1.2; }

.tabs-bar { background:#fff; border-bottom:1px solid var(--border); }
.tabs-inner { max-width:900px; margin:0 auto; display:flex; }
.tab { padding:14px 22px; font-size:14px; font-weight:600; color:var(--muted); cursor:pointer; border-bottom:3px solid transparent; margin-bottom:-1px; user-select:none; display:flex; align-items:center; gap:6px; }
.tab:hover { color:var(--blue); }
.tab.active { color:var(--blue); border-color:var(--orange); }
.chat-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff;
  border-radius: 999px; min-width: 18px; height: 18px; padding: 0 6px;
  font-size: 11px; font-weight: 800; line-height: 1;
  margin-left: 4px;
}

/* ── Mention chip rendered inside a chat bubble ── */
.mention-chip {
  display: inline-block; background: #E6F0FF; color: #00167B;
  border-radius: 4px; padding: 0 4px; font-weight: 700;
}
.chat-msg.mine .mention-chip { background: rgba(46,184,246,.18); color: var(--blue); }

/* ── @mention autocomplete dropdown ── */
.mention-menu {
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,22,123,.10);
  margin-bottom: 8px; padding: 4px 0;
  max-height: 220px; overflow-y: auto;
}
.mention-menu-row { padding: 8px 14px; cursor: pointer; font-size: 14px; color: var(--text); }
.mention-menu-row.active, .mention-menu-row:hover { background: var(--off-white); }
.mention-menu-row strong { color: var(--blue); }

#page-fixture, #page-chat { max-width:900px; margin:0 auto; padding: 24px; display: none; }
#page-fixture.active { display: block; }

.fixture-list { display:flex; flex-direction:column; gap:10px; }
.game { background:#fff; border:1.5px solid var(--border); border-radius:10px; padding:14px 18px; display:flex; align-items:center; gap:14px; position:relative; }
.game.next { border-color: var(--orange); background:#FFFAF4; }
.game.past { opacity:.7; }
.fixture-note { background:#EEF6FF; border:1px solid #B4CFFF; border-radius:8px; padding:10px 14px; margin-bottom:14px; color:var(--blue); font-size:13px; line-height:1.5; }
.fixture-note strong { color: var(--blue); }
.game.placeholder { background: #F4F6FB; border-style: dashed; }
.game.placeholder .game-day-n { color: var(--muted); }
.game.nogame { background: #FFF8E0; border-color: #F0D080; }
.game.nogame .game-day-n { color: #7A5500; }
.next-label { position:absolute; top:-10px; left:14px; background:var(--orange); color:#fff; border-radius:4px; padding:2px 10px; font-size:11px; font-weight:700; text-transform:uppercase; }
.game-date { text-align:center; min-width:52px; flex-shrink:0; }
.game-day-n { font-family:'Poppins'; font-weight:800; font-size:26px; color:var(--blue); line-height:1; }
.game-month { font-size:11px; text-transform:uppercase; letter-spacing:.07em; color:var(--muted); }
.game-vsep { width:1px; height:40px; background:var(--border); flex-shrink:0; }
.game-info { flex:1; }
.game-round { font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; margin-bottom:2px; }
.game-vs { font-family:'Poppins'; font-weight:700; font-size:15px; color:var(--blue); margin-bottom:3px; }
.game-result { text-align:center; min-width:72px; flex-shrink:0; }
.result-score { font-family:'Poppins'; font-weight:800; font-size:20px; line-height:1; }
.score-win  { color:var(--green); }
.score-loss { color:var(--red); }
.result-label { font-size:10px; text-transform:uppercase; letter-spacing:.07em; color:var(--muted); }
.att-wrap { display:flex; flex-direction:column; gap:4px; }
.att-label { font-size:10px; text-transform:uppercase; letter-spacing:.07em; color:var(--muted); }
.att-btn { display:flex; align-items:center; gap:6px; border-radius:20px; padding:6px 14px; font-size:13px; font-weight:700; cursor:pointer; border:1.5px solid; transition: all .2s; font-family:'Open Sans'; white-space:nowrap; background:#fff; color:var(--muted); border-color:var(--border); }
.att-btn.going { background:#E6FFF0; border-color:var(--green); color:var(--green); }
.att-btn.out   { background:#FFECEC; border-color:var(--red);   color:var(--red); }

.date-sep { display:flex; align-items:center; gap:12px; color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.07em; margin:14px 0 4px; }
.date-sep::before, .date-sep::after { content:''; flex:1; height:1px; background:var(--border); }

.roster-wrap { margin-top:30px; }
.roster-title { font-family:'Poppins'; font-weight:700; font-size:18px; color:var(--blue); margin-bottom:14px; }
.roster-chips { display:flex; flex-wrap:wrap; gap:10px; }
.player-chip { display:flex; align-items:center; gap:9px; background:#fff; border:1.5px solid var(--border); border-radius:8px; padding:8px 13px; }
.player-av { width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; color:#fff; flex-shrink:0; background:var(--blue); }
.player-name { font-size:13px; font-weight:600; color:var(--blue); }
.player-role { font-size:11px; color:var(--muted); }
.player-you  { font-size:10px; color:var(--orange); font-weight:700; }

/* CHAT */
#page-chat { display:none; padding:0; }
#page-chat.active { display:flex; flex-direction:column; }
.chat-msgs { padding:20px 24px; display:flex; flex-direction:column; gap:14px; min-height: 50vh; max-height: 65vh; overflow-y:auto; }
.chat-msg { display:flex; align-items:flex-start; gap:10px; }
.chat-msg.mine { flex-direction:row-reverse; }
.chat-av { width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; color:#fff; flex-shrink:0; background:var(--blue); }
.bubble-wrap { max-width:68%; }
.chat-sender { font-size:11px; color:var(--muted); font-weight:600; margin-bottom:4px; }
.chat-msg.mine .chat-sender { text-align:right; }
.bubble { background:#fff; border:1.5px solid var(--border); border-radius:14px 14px 14px 4px; padding:10px 14px; font-size:14px; line-height:1.5; color:var(--text); }
.chat-msg.mine .bubble { background: rgba(0,22,123,.06); border-color: rgba(0,22,123,.15); border-radius:14px 14px 4px 14px; }
.chat-time { font-size:10px; color:var(--muted); margin-top:4px; }
.chat-msg.mine .chat-time { text-align:left; }
.chat-input-bar { border-top:1px solid var(--border); padding:12px 24px; background:#fff; }
.chat-input-wrap { display:flex; align-items:center; gap:10px; background:var(--off-white); border:1.5px solid var(--border); border-radius:12px; padding:8px 8px 8px 16px; }
.chat-input-wrap:focus-within { border-color:var(--sky); }
.chat-input { flex:1; background:none; border:none; outline:none; font-size:14px; color:var(--text); font-family:'Open Sans'; }
.chat-input::placeholder { color:var(--muted); }
.chat-send { width:34px; height:34px; background:var(--blue); border:none; border-radius:8px; display:flex; align-items:center; justify-content:center; cursor:pointer; flex-shrink:0; transition: background .2s, transform .15s; }
.chat-send:hover { background:var(--blue-mid); transform: scale(1.05); }
.chat-send svg { width:15px; height:15px; fill:#fff; transform: rotate(45deg); }

/* ── SUCCESS PAGE ── */
.success-wrap { max-width: 560px; margin: 48px auto; padding: 0 16px; text-align:center; }
.success-card { background:#fff; border:1.5px solid var(--border); border-radius:14px; padding:32px 24px; }
.success-icon { display:flex; justify-content:center; margin-bottom:12px; color:var(--green); }
.success-card h1 { font-family:'Poppins'; font-weight:800; color:var(--blue); margin-bottom:8px; font-size:24px; }
.success-card p { color:var(--muted); margin-bottom:18px; }

@media (max-width: 700px) {
  .site-nav { padding: 0 16px; }
  .hero-stat { padding: 12px 14px; }
  .team-header-inner { flex-direction: column; align-items: flex-start; }
  .game { flex-wrap: wrap; }
}
