/* ================================
   WORLDCUP26 — MAIN STYLESHEET
   ================================ */

:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-dim: rgba(201,168,76,0.15);
  --dark: #0A0A0F;
  --dark2: #111118;
  --dark3: #18181F;
  --card: #1C1C26;
  --card2: #212130;
  --border: rgba(201,168,76,0.18);
  --border2: rgba(255,255,255,0.06);
  --text: #F0EDE8;
  --text2: #B0ADAA;
  --muted: #6A6A7A;
  --green: #27AE60;
  --green-dim: rgba(39,174,96,0.15);
  --red: #E74C3C;
  --red-dim: rgba(231,76,60,0.15);
  --blue: #2980B9;
  --blue-dim: rgba(41,128,185,0.15);
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 58px;
  --tab-h: 58px;
}

* { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 40% at 50% 0%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 100% 100%, rgba(41,128,185,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hidden { display: none !important; }
.screen { position: fixed; inset: 0; z-index: 50; }

/* ---- SPLASH ---- */
#splash {
  position: fixed; inset: 0; z-index: 999;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s;
}
.splash-content { text-align: center; }
.splash-logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 56px;
  letter-spacing: 4px;
  color: var(--text);
  line-height: 1;
}
.splash-logo span { color: var(--gold); }
.splash-sub { font-size: 14px; color: var(--muted); letter-spacing: 3px; margin-top: 4px; }
.splash-spinner {
  width: 28px; height: 28px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  margin: 24px auto 0;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- LOGIN ---- */
#loginScreen {
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
}
.login-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 60% at 50% 0%, rgba(201,168,76,0.1) 0%, transparent 60%);
}
.login-content { position: relative; z-index: 1; text-align: center; padding: 24px; width: 100%; max-width: 400px; }
.login-logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 64px;
  letter-spacing: 6px;
  color: var(--text);
  line-height: 1;
}
.login-logo span { color: var(--gold); }
.login-tagline { font-size: 16px; color: var(--text2); margin: 8px 0 32px; letter-spacing: 1px; }
.login-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
}
.login-desc { font-size: 14px; color: var(--text2); margin-bottom: 20px; line-height: 1.6; }
.btn-google {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: white;
  color: #333;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px;
  font-family: 'Heebo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-google:hover { background: #f5f5f5; transform: translateY(-1px); }
.login-terms { font-size: 11px; color: var(--muted); margin-top: 14px; }

/* ---- HEADER ---- */
header {
  position: fixed; top: 0; right: 0; left: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
}
.header-inner {
  max-width: 680px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}
.logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 28px;
  letter-spacing: 3px;
  color: var(--text);
}
.logo span { color: var(--gold); }

.header-user { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  background: var(--card2);
}
.points-badge {
  background: var(--gold-dim);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
}

.user-menu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  padding: 16px;
  text-align: center;
  z-index: 99;
}
.um-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.um-stats { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.um-logout {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(231,76,60,0.3);
  border-radius: var(--radius-sm);
  padding: 8px 20px;
  font-family: 'Heebo', sans-serif;
  font-size: 13px;
  cursor: pointer;
}

/* ---- TABS ---- */
.tabs {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--tab-h);
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border2);
  display: flex;
  padding-bottom: env(safe-area-inset-bottom);
}
.tab {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  background: none; border: none;
  color: var(--muted);
  font-family: 'Heebo', sans-serif;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1.2;
  padding: 6px 0;
}
.tab span { font-size: 9px; }
.tab.active { color: var(--gold); }

/* ---- MAIN ---- */
main {
  max-width: 680px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 12px) 14px calc(var(--tab-h) + 16px);
  position: relative; z-index: 1;
}

.tab-section { display: none; }
.tab-section.active { display: block; }

/* ---- COUNTDOWN ---- */
.countdown-bar {
  background: linear-gradient(135deg, var(--card), rgba(201,168,76,0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  text-align: center;
}
.cd-label-top {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.countdown-nums { display: flex; justify-content: center; align-items: center; gap: 6px; }
.cd-unit { text-align: center; }
.cd-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 38px;
  color: var(--text);
  line-height: 1;
  min-width: 44px;
}
.cd-unit-label { font-size: 9px; color: var(--muted); letter-spacing: 1px; margin-top: 2px; }
.cd-sep { font-family: 'Bebas Neue', cursive; font-size: 30px; color: var(--border); margin-bottom: 10px; }

/* ---- NOTIF STRIP ---- */
.notif-strip {
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 16px;
}
.notif-strip button {
  background: var(--gold);
  color: var(--dark);
  border: none;
  border-radius: 6px;
  padding: 5px 14px;
  font-family: 'Heebo', sans-serif;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

/* ---- DAY LABEL ---- */
.day-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin: 20px 0 8px;
  display: flex; align-items: center; gap: 8px;
}
.day-label::after { content: ''; flex: 1; height: 1px; background: var(--border2); }

/* ---- MATCH CARD ---- */
.match-card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  position: relative;
  overflow: hidden;
}
.match-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 3px; height: 100%;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.2s;
}
.match-card:hover { border-color: var(--border); transform: translateY(-1px); }
.match-card:hover::after { opacity: 1; }
.match-card.live { border-color: rgba(39,174,96,0.35); }
.match-card.live::after { background: var(--green); opacity: 1; }
.match-card.predicted { border-color: rgba(201,168,76,0.3); }

.match-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.match-group { font-size: 10px; color: var(--muted); font-weight: 700; letter-spacing: 1px; }
.match-time { font-size: 12px; color: var(--gold); font-weight: 700; }
.live-dot {
  display: flex; align-items: center; gap: 5px;
  font-size: 10px; color: var(--green); font-weight: 900; letter-spacing: 1px;
}
.live-dot::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 1.2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.match-teams {
  display: flex;
  align-items: center;
  gap: 8px;
}
.team { flex: 1; display: flex; align-items: center; gap: 8px; }
.team.away { flex-direction: row-reverse; }
.team-flag { font-size: 26px; flex-shrink: 0; }
.team-info { flex: 1; }
.team-name { font-size: 14px; font-weight: 700; line-height: 1.2; }
.team-rank { font-size: 10px; color: var(--muted); }
.score-area { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.score-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 30px;
  color: var(--text);
  min-width: 20px;
  text-align: center;
  line-height: 1;
}
.score-sep { font-family: 'Bebas Neue', cursive; font-size: 20px; color: var(--muted); }
.score-dash { font-size: 16px; color: var(--muted); padding: 0 4px; }

.match-bottom {
  margin-top: 10px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.match-venue { font-size: 10px; color: var(--muted); }
.predict-quick {
  display: flex; align-items: center; gap: 6px;
}
.pq-votes { font-size: 10px; color: var(--muted); }
.pq-ai { font-size: 10px; color: var(--gold); font-weight: 700; }
.btn-predict-mini {
  background: var(--gold);
  color: var(--dark);
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  font-family: 'Heebo', sans-serif;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}
.btn-predict-mini.done {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(39,174,96,0.3);
}

/* ---- PREDICT TAB ---- */
.section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin: 20px 0 10px;
  display: flex; align-items: center; gap: 8px;
}
.section-title::after { content: ''; flex: 1; height: 1px; background: var(--border2); }
.section-sub { font-size: 12px; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }

.ai-card {
  background: var(--card);
  border: 1px solid rgba(41,128,185,0.2);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}
.ai-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ai-badge {
  background: var(--blue);
  color: white;
  font-size: 9px; font-weight: 900;
  padding: 2px 7px; border-radius: 20px; letter-spacing: 1px;
}
.ai-subtitle { font-size: 11px; color: var(--muted); }
.ai-match { font-size: 15px; font-weight: 700; margin-bottom: 12px; }

.prob-bars { display: flex; height: 6px; border-radius: 3px; overflow: hidden; gap: 2px; margin-bottom: 6px; }
.pb-home { background: var(--gold); border-radius: 3px 0 0 3px; transition: width 0.8s ease; }
.pb-draw { background: var(--muted); }
.pb-away { background: var(--blue); border-radius: 0 3px 3px 0; transition: width 0.8s ease; }

.prob-labels { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); }
.prob-pcts { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; margin-top: 2px; }
.prob-pcts .p-home { color: var(--gold); }
.prob-pcts .p-draw { color: var(--muted); text-align: center; }
.prob-pcts .p-away { color: var(--blue); }

.ai-insight {
  margin-top: 12px;
  font-size: 12px; color: var(--text2); line-height: 1.6;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  border-right: 2px solid var(--blue);
}

.vote-row { display: flex; gap: 6px; margin-top: 12px; }
.vote-pill {
  flex: 1; padding: 9px 6px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 12px; font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
}
.vote-pill .vp-team { font-size: 11px; }
.vote-pill .vp-count { font-size: 9px; font-weight: 400; opacity: 0.7; margin-top: 2px; }
.vote-pill.home { background: rgba(201,168,76,0.08); border-color: rgba(201,168,76,0.25); color: var(--gold); }
.vote-pill.draw { background: rgba(106,106,122,0.1); border-color: rgba(106,106,122,0.25); color: var(--muted); }
.vote-pill.away { background: rgba(41,128,185,0.08); border-color: rgba(41,128,185,0.25); color: var(--blue); }
.vote-pill.selected.home { background: rgba(201,168,76,0.2); border-color: var(--gold); }
.vote-pill.selected.draw { background: rgba(106,106,122,0.2); border-color: var(--muted); }
.vote-pill.selected.away { background: rgba(41,128,185,0.2); border-color: var(--blue); }

/* ---- COMMUNITY ---- */
.leaderboard {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  overflow: hidden;
}
.lb-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border2);
  font-size: 12px; font-weight: 700; color: var(--gold);
}
.lb-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border2);
  transition: background 0.15s;
}
.lb-row:last-child { border-bottom: none; }
.lb-row:hover { background: rgba(255,255,255,0.02); }
.lb-rank { width: 24px; font-family: 'Bebas Neue'; font-size: 18px; color: var(--muted); text-align: center; }
.lb-rank.r1 { color: #FFD700; }
.lb-rank.r2 { color: #C0C0C0; }
.lb-rank.r3 { color: #CD7F32; }
.lb-name { flex: 1; font-size: 14px; font-weight: 700; }
.lb-sub { font-size: 10px; color: var(--muted); }
.lb-pts { font-family: 'Bebas Neue'; font-size: 22px; color: var(--gold); }
.lb-pts-label { font-family: 'Heebo'; font-size: 9px; color: var(--muted); }
.lb-loading { padding: 20px; text-align: center; color: var(--muted); font-size: 13px; }

.pred-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border2);
}
.pred-row:last-child { border-bottom: none; }
.pred-match { flex: 1; font-size: 13px; }
.pred-pick {
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}
.pred-pick.correct { background: var(--green-dim); color: var(--green); }
.pred-pick.wrong { background: var(--red-dim); color: var(--red); }
.pred-pick.pending { background: var(--gold-dim); color: var(--gold); }

/* ---- LEAGUES ---- */
.leagues-actions { display: flex; gap: 10px; margin-bottom: 16px; }
.my-leagues { margin-bottom: 16px; }
.league-card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
}
.league-name { font-size: 15px; font-weight: 700; }
.league-meta { font-size: 11px; color: var(--muted); margin-top: 3px; }
.league-rank { font-family: 'Bebas Neue'; font-size: 22px; color: var(--gold); }

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 12px;
}
.form-title { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.form-input {
  width: 100%;
  background: var(--dark3);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'Heebo', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s;
  text-align: right;
}
.form-input:focus { border-color: var(--gold); }

/* ---- INFO ---- */
.info-hero {
  background: linear-gradient(135deg, var(--card), rgba(201,168,76,0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-bottom: 16px;
}
.info-hero-title { font-family: 'Bebas Neue'; font-size: 40px; letter-spacing: 4px; color: var(--gold); }
.info-hero-sub { font-size: 13px; color: var(--text2); margin-top: 4px; letter-spacing: 2px; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.info-tile {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}
.info-num { font-family: 'Bebas Neue'; font-size: 36px; color: var(--gold); line-height: 1; }
.info-label { font-size: 11px; color: var(--muted); margin-top: 2px; }

.info-card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}
.info-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border2);
  font-size: 13px;
}
.info-row:last-child { border-bottom: none; }
.ir-label { color: var(--muted); font-size: 12px; }

.stadiums-list, .favorites-list {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}
.stadium-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border2);
}
.stadium-row:last-child { border-bottom: none; }
.st-flag { font-size: 22px; }
.st-name { font-size: 13px; font-weight: 700; }
.st-city { font-size: 11px; color: var(--muted); }

.fav-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border2);
  font-size: 22px;
}
.fav-row:last-child { border-bottom: none; }
.fav-name { flex: 1; font-size: 14px; font-weight: 700; }
.fav-odds { font-family: 'Bebas Neue'; font-size: 20px; }
.gold { color: var(--gold); }

/* ---- BUTTONS ---- */
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 20px;
  font-family: 'Heebo', sans-serif;
  font-size: 15px; font-weight: 900;
  cursor: pointer;
  transition: all 0.15s;
  flex: 1;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-primary.full { width: 100%; margin-bottom: 8px; }

.btn-secondary {
  background: var(--card2);
  color: var(--text2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 13px 20px;
  font-family: 'Heebo', sans-serif;
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  flex: 1;
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-family: 'Heebo', sans-serif;
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  width: 100%;
  margin-bottom: 8px;
}

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transition: opacity 0.25s;
  pointer-events: none;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-sheet {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 20px 20px 0 0;
  padding: 12px 20px 32px;
  width: 100%; max-width: 680px;
  transform: translateY(40px);
  transition: transform 0.25s;
}
.modal-overlay.open .modal-sheet { transform: translateY(0); }
.modal-handle { width: 40px; height: 4px; background: var(--border); border-radius: 2px; margin: 0 auto 18px; }
.modal-title { font-size: 18px; font-weight: 900; margin-bottom: 16px; text-align: center; }

.modal-match-header { margin-bottom: 8px; }
.modal-teams { font-size: 17px; font-weight: 900; margin-bottom: 4px; }
.modal-time { font-size: 12px; color: var(--muted); }
.modal-lock-notice { font-size: 12px; color: var(--gold); margin-bottom: 14px; }

.modal-opts { display: flex; gap: 8px; margin-bottom: 16px; }
.modal-opt {
  flex: 1; padding: 14px 6px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 13px; font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
}
.modal-opt .opt-flag { font-size: 26px; margin-bottom: 4px; }
.modal-opt .opt-name { font-size: 11px; }
.modal-opt.home { background: rgba(201,168,76,0.08); border-color: rgba(201,168,76,0.25); color: var(--gold); }
.modal-opt.draw { background: rgba(106,106,122,0.1); border-color: rgba(106,106,122,0.25); color: var(--muted); }
.modal-opt.away { background: rgba(41,128,185,0.08); border-color: rgba(41,128,185,0.25); color: var(--blue); }
.modal-opt.selected.home { border-color: var(--gold); background: rgba(201,168,76,0.2); }
.modal-opt.selected.draw { border-color: var(--muted); background: rgba(106,106,122,0.2); }
.modal-opt.selected.away { border-color: var(--blue); background: rgba(41,128,185,0.2); }

.share-code-label { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.share-code {
  text-align: center;
  font-family: 'Bebas Neue'; font-size: 48px; letter-spacing: 8px;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
}

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: calc(var(--tab-h) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--card2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 13px; font-weight: 700;
  opacity: 0;
  transition: all 0.25s;
  z-index: 500;
  white-space: nowrap;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 380px) {
  .team-name { font-size: 12px; }
  .score-num { font-size: 24px; }
  .cd-num { font-size: 30px; }
}
