/* SpeedBoatCharlie — exact dark UI pattern from the 27 Nov 2026 screenshots.
   Pure black page, dark cards, white text, green #00d26a / #14805e, yellow #ffdf1b.
   Static demo. Mobile-first, centred max-width 1020px. */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #000;
  --card: #1a1a1a;
  --card2: #222;
  --tile: #1e1e1e;
  --line: #2a2a2a;
  --text: #fff;
  --muted: #999;
  --green: #00d26a;
  --green-dark: #14805e;
  --yellow: #ffdf1b;
}
html { -webkit-text-size-adjust: 100%; }
body { font-family: Arial, Helvetica, sans-serif; background: var(--black); color: var(--text); font-size: 14px; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
svg { display: block; flex: none; }
input { font-family: inherit; }

/* Header — black */
.topbar { background: var(--black); border-bottom: 1px solid #111; }
.topbar-inner { max-width: 1020px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 10px; }
.logo { font-size: 22px; font-weight: 900; letter-spacing: -0.5px; color: #fff; white-space: nowrap; }
.logo-yellow { color: var(--yellow); }
.top-actions { display: flex; gap: 8px; align-items: center; }
.btn { border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 700; background: #111; color: #fff; border: 1px solid var(--green-dark); }
.btn-rewards { border-color: #2e7d5b; }
.btn-join { color: var(--yellow); border-color: var(--yellow); background: #000; }
.btn-login { border-color: #2e7d5b; }
.btn:active { transform: scale(.97); }

/* Centred column */
.wrap { max-width: 1020px; margin: 0 auto; padding: 6px 16px 120px; }

/* Search — dark pill */
.search-row { display: flex; align-items: center; gap: 10px; background: var(--card2); border-radius: 999px; padding: 12px 16px; margin: 8px 0 14px; }
.search-ic { width: 18px; height: 18px; }
.main-search { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: #fff; font-size: 15px; }
.main-search::placeholder { color: var(--muted); }

/* Sport tiles — horizontal scroll, dark cards, coloured icons */
.tiles { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: none; }
.tiles::-webkit-scrollbar { display: none; }
.tile { flex: 0 0 96px; background: var(--tile); border: 1px solid #262626; border-radius: 8px; padding: 14px 6px 12px; text-align: center; font-weight: 700; font-size: 13px; line-height: 1.2; display: flex; flex-direction: column; gap: 9px; align-items: center; justify-content: center; min-height: 88px; color: #fff; }
.tile:hover { border-color: #444; }
.tile-icon { width: 32px; height: 32px; }
.tile-label-small { font-size: 9px; line-height: 1.25; letter-spacing: .4px; }

/* Tabs — active = white pill */
.tabs { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 18px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; background: transparent; border: none; border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 14px; color: #fff; }
.tab.active { background: #fff; color: #000; }
.tab:hover { color: var(--green); }
.tab.active:hover { color: #000; }

/* Featured Matches */
.featured-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.featured-head h2 { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 800; color: #fff; }
.ball-ic { width: 24px; height: 24px; }
.view-all { background: var(--card); color: #ddd; border: 1px solid #333; border-radius: 6px; padding: 7px 14px; font-weight: 700; font-size: 13px; }
.acca-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.acca-card { background: var(--card); border: 1px solid #222; border-radius: 8px; padding: 18px 16px 16px; display: flex; flex-direction: column; }
.acca-card h3 { font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif; font-size: 21px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; color: #fff; }
.acca-sub { font-size: 14px; font-weight: 700; color: #fff; margin: 4px 0 12px; }
.acca-teams { list-style: none; margin-bottom: 14px; }
.acca-teams li { display: flex; align-items: center; gap: 9px; padding: 4px 0; font-size: 13px; color: #ddd; }
.team-ic { width: 17px; height: 17px; }
.boost { font-size: 13px; font-weight: 800; color: var(--green); letter-spacing: .2px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.flame { display: inline-flex; align-items: center; gap: 3px; color: #ff7a00; margin-left: auto; font-weight: 800; }
.flame svg { width: 15px; height: 15px; }
.acca-odds-btn { background: #111; border: 1px solid #262626; border-radius: 6px; padding: 12px 10px 10px; display: flex; flex-direction: column; align-items: center; gap: 3px; margin-top: auto; width: 100%; }
.acca-odds-btn:hover { border-color: var(--green-dark); }
.acca-odds { font-size: 26px; font-weight: 800; color: #fff; line-height: 1.1; }
.acca-returns { font-size: 12px; color: var(--muted); }
.odds-btn.selected { border-color: var(--yellow); }
.odds-btn.selected .acca-odds, .odds-btn.selected.fx-odd { color: var(--yellow); }

/* Fixtures */
.fixtures { background: var(--card); border: 1px solid #222; border-radius: 8px; padding: 14px 16px 16px; margin-bottom: 24px; }
.fixture-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 14px; color: #fff; border-bottom: 1px solid #2a2a2a; padding-bottom: 10px; margin-bottom: 6px; }
.fx-cols { display: grid; grid-template-columns: repeat(3, 64px); text-align: center; }
.fixture { display: flex; align-items: center; gap: 14px; padding: 8px 0 4px; }
.fx-left { flex: 1; min-width: 0; }
.fx-team { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.fx-name { flex: 1; font-size: 15px; font-weight: 700; color: #fff; }
.fx-score { font-size: 15px; font-weight: 800; color: #fff; width: 18px; text-align: right; }
.fx-meta { color: var(--muted); font-size: 13px; margin: 2px 0 8px; }
.fx-live { display: inline-block; color: var(--green); border: 1px solid var(--green-dark); border-radius: 4px; padding: 2px 7px; font-size: 12px; font-weight: 800; }
.fx-odds { display: grid; grid-template-columns: repeat(3, 64px); gap: 0; }
.fx-odd { background: #111; border: 1px solid #262626; border-radius: 4px; color: var(--yellow); font-weight: 700; font-size: 14px; padding: 12px 0; margin: 0 2px; }
.fx-odd:hover { border-color: var(--yellow); }
.fixtures-note { color: var(--muted); font-size: 12px; margin-top: 12px; }

/* A–Z Sports — below fixtures */
.az { margin-bottom: 10px; }
.az h2 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.az-search-wrap { display: flex; align-items: center; gap: 8px; background: var(--card2); border-radius: 999px; padding: 10px 16px; margin-bottom: 12px; }
.az-search { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: #fff; font-size: 14px; }
.az-search::placeholder { color: var(--muted); }
.az-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.az-list a { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 1px solid #1c1c1c; color: #ddd; font-size: 14px; }
.az-list a:hover, .az-list a.active { color: #fff; font-weight: 700; }
.az-icon { width: 18px; height: 18px; color: var(--green); }
.az-list a.active .az-icon, .az-list a:hover .az-icon { color: var(--green); }

/* Footer */
.footer { padding: 20px 4px 8px; color: var(--muted); font-size: 12px; text-align: center; }

/* Bottom nav — fixed */
.bottomnav { position: fixed; left: 0; right: 0; bottom: 0; background: #000; border-top: 1px solid #1c1c1c; display: flex; justify-content: center; z-index: 50; }
.bn-item { flex: 1; max-width: 160px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0 12px; color: #fff; font-size: 12px; font-weight: 700; }
.bn-item svg { width: 24px; height: 24px; }
.bn-item.active { color: var(--green); }
.bn-item:hover { color: var(--green); }

@media (max-width: 700px) {
  .logo { font-size: 19px; }
  .btn { padding: 8px 13px; font-size: 13px; }
  .topbar-inner { padding: 12px 14px 8px; }
  .wrap { padding: 4px 12px 120px; }
  .acca-grid { grid-template-columns: 1fr; }
  .az-list { grid-template-columns: 1fr; }
  .fx-cols, .fx-odds { grid-template-columns: repeat(3, 52px); }
  .fx-odd { font-size: 13px; padding: 11px 0; }
  .fixture { gap: 8px; }
  .tile { flex-basis: 88px; }
}
