:root {
  color-scheme: light;
  --ink: #142440;
  --muted: #61718b;
  --muted-dark: #536481;
  --navy: #081631;
  --blue: #2057da;
  --blue-hover: #1543b6;
  --pale: #eef4ff;
  --line: #e1e8f2;
  --live: #e0435e;
  --surface: #fff;
  --radius: 15px;
  font-family: "Inter", "Segoe UI", "Myanmar Text", sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100dvh; padding-bottom: calc(88px + env(safe-area-inset-bottom)); color: var(--ink); background: #fff url("watermark.svg") top center / 244px 244px repeat; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid #3980ff; outline-offset: 3px; }
svg { display: inline-block; width: 20px; height: 20px; flex: none; vertical-align: middle; }
h1, h2, p { margin: 0; }
.shell { width: min(100% - 64px, 1248px); margin-inline: auto; }
.topbar { position: sticky; top: 0; z-index: 5; background: var(--navy); color: #fff; border-bottom: 1px solid #263759; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 70px; }
.wordmark { display: flex; align-items: center; gap: 10px; font-weight: 850; font-size: 21px; letter-spacing: -.065em; flex: none; }
.wordmark img { display: block; }
.brand-accent { color: #71a4ff; }
.top-nav { display: flex; gap: 28px; align-self: stretch; margin-left: 24px; }
.top-nav button { display: inline-flex; gap: 8px; align-items: center; border: 0; border-bottom: 2px solid transparent; background: none; color: #aebdd9; font-size: 13px; font-weight: 650; padding: 0 2px; }
.top-nav button:hover, .top-nav button[aria-current] { color: #fff; }
.top-nav button[aria-current] { border-color: #578aff; }
.account { display: flex; justify-content: end; align-items: center; gap: 8px; min-width: 275px; }
.account > button { display: inline-flex; gap: 7px; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; height: 37px; border: 1px solid transparent; border-radius: 8px; color: #fff; padding: 0 12px; white-space: nowrap; }
.account .balance { color: #dae6ff; border-color: #263c63; background: #142643; font-variant-numeric: tabular-nums; }
.balance svg { width: 17px; height: 17px; color: #8fb9ff; }
.account .sign-in, .account .identity { background: transparent; }
.account .sign-in:hover, .account .identity:hover { background: #142643; }
.account .identity { max-width: 145px; }
.account .identity span:last-child { overflow: hidden; text-overflow: ellipsis; }
.account .avatar { width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; background: #284471; flex: none; }
.account .register { background: #275ee2; border-color: #3e71ed; }
.account .register:hover { background: #356ff4; }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 244px; margin: 28px 0 30px; display: flex; align-items: center; padding: 32px 40px; color: #fff; border-radius: 20px; background: linear-gradient(107deg, #091a3a 7%, #0b2454 60%, #0c1d44); }
.hero-art { position: absolute; z-index: -2; inset: 0 0 0 auto; width: min(85%, 950px); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #091a3a 5%, #091a3a 22%, #091a3a00 63%); pointer-events: none; }
.hero-kicker, .section-kicker { font-size: 10px; letter-spacing: .12em; font-weight: 800; display: flex; align-items: center; gap: 7px; }
.hero-kicker { color: #a6c8ff; }
.hero-kicker svg, .section-kicker svg { width: 15px; height: 15px; }
.hero h1 { margin: 7px 0 9px; font-weight: 820; font-size: clamp(36px, 5.2vw, 68px); line-height: 1.03; letter-spacing: -.073em; }
.hero h1 em { color: #80b5ff; font-style: normal; }
.hero p { color: #d1def6; font-size: 14px; }
.hero-button { margin-top: 19px; border: 1px solid #395989; background: #203a674f; color: #fff; border-radius: 8px; padding: 8px 11px; height: 34px; font-size: 12px; font-weight: 650; display: inline-flex; align-items: center; gap: 8px; }
.hero-button:hover { background: #35578992; }
.hero-button svg { width: 15px; height: 15px; color: #b4cfff; }
.live-dot { display: inline-block; width: 7px; height: 7px; flex: none; border-radius: 50%; background: #f46a82; box-shadow: 0 0 0 3px #f46a8222; }
.main-grid { display: grid; grid-template-columns: minmax(0, 1fr) 322px; align-items: start; gap: 24px; }
.inner-page { padding-top: 26px; }
.page-column { min-width: 0; }
.page-heading { display: flex; gap: 14px; justify-content: space-between; align-items: end; min-height: 53px; margin: 0 0 16px; }
.section-kicker { color: var(--blue); }
.page-heading h2 { margin-top: 3px; font-size: 30px; letter-spacing: -.045em; font-weight: 780; }
.feed-tag { display: flex; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: 40px; color: var(--muted-dark); font-size: 11px; font-weight: 650; padding: 5px 9px; background: #fff; white-space: nowrap; }
.feed-tag svg { width: 14px; height: 14px; color: var(--blue); }
.fixture-controls { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin: 0 0 12px; }
.filters { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--line); background: #f1f5fb; border-radius: 10px; white-space: nowrap; }
.filters button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; background: transparent; border-radius: 7px; padding: 7px 12px; color: var(--muted-dark); font-size: 12px; font-weight: 660; }
.filters button:hover { color: var(--blue); }
.filters button[aria-pressed="true"] { background: white; border-color: var(--line); box-shadow: 0 1px 3px #0f346615; color: #193f92; }
.filter-count { border-radius: 5px; padding: 0 4px; background: #fdebf0; color: #ac2a44; font-size: 10px; }
.search { display: flex; width: min(100%, 230px); height: 39px; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding-inline: 10px; color: var(--muted); }
.search:focus-within { border-color: #5185f8; }
.search svg { width: 17px; height: 17px; }
.search input { min-width: 0; width: 100%; color: var(--ink); border: 0; outline: 0; background: transparent; font-size: 12px; }
.search input:focus-visible { outline: 0; }
.league { background: #fff; border: 1px solid #e1e6e3; border-radius: var(--radius); margin-bottom: 12px; padding: 0 9px 9px; box-shadow: 0 2px 5px #1e4c8310; }
.league-header { display: flex; align-items: baseline; gap: 8px; padding: 9px 4px 7px; }
.league-star { color: #248659; font-size: 15px; line-height: 1; flex: none; }
.league-header h3 { color: #253530; margin: 0; font-size: 13px; font-weight: 800; }
.league-header > span:last-child { color: var(--muted-dark); font-size: 11px; font-weight: 550; }
.match-row { display: grid; gap: 4px; padding: 7px; background: #e4e8e6; border: 1px solid #d8dedb; border-radius: 10px; }
.match-row + .match-row { margin-top: 7px; }
.match-meta, .match-time, .match-status { display: flex; align-items: center; min-width: 0; gap: 6px; }
.match-meta { padding: 1px 2px 3px; min-height: 24px; flex-wrap: wrap; }
.match-time, .match-status { font-weight: 650; font-size: 11px; color: #485750; font-variant-numeric: tabular-nums; }
.match-time svg { width: 14px; height: 14px; }
.match-status { margin-left: auto; }
.match-score { color: #28372f; font-size: 12px; }
.is-live .match-status, .is-live .match-score { color: #9a2742; }
.demo-match { color: #2753a6; background: #eef4ff; border-radius: 4px; padding: 1px 4px; font-size: 9px; }
.market-rows { display: grid; gap: 4px; }
.body-row, .total-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.body-row.with-shared-line, .total-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.body-side, .total-side { min-width: 0; border: 1px solid #45504b; border-radius: 7px; background: #3d4743; color: #fff; }
.body-side { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; text-align: left; min-height: 51px; padding: 5px 9px; }
.team-logo { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 5px; position: relative; color: #294638; background: #f3f6f4; font-size: 9px; font-weight: 800; }
.team-logo img { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); object-fit: contain; background: #f3f6f4; }
.team-detail { display: grid; gap: 2px; min-width: 0; }
.team-caption { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; color: #cedbd4; font-size: 9px; font-weight: 650; }
.team-name { font-size: 13px; font-weight: 750; line-height: 1.22; overflow-wrap: anywhere; }
.decimal-price { color: #e0eee6; font-size: 11px; font-weight: 760; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line-pill { display: flex; align-items: center; justify-content: center; align-self: center; min-width: 36px; padding: 5px 7px; background: #057344; color: #fff; border-radius: 5px; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.giving-odds { flex-direction: column; gap: 2px; padding-block: 4px; line-height: 1; }
.line-price { font-size: 9px; font-weight: 650; color: #e0fff1; }
.shared-line { align-self: stretch; min-width: 44px; }
.total-side { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 36px; padding: 5px 6px; font-size: 12px; font-weight: 700; }
.odd:hover { border-color: #85b49d; background: #4a5b52; }
.odd[aria-pressed="true"] { border-color: #64e7a9; background: #234d39; box-shadow: inset 0 0 0 1px #64e7a9; }
.odd:focus-visible { outline-color: #156744; outline-offset: 1px; }
.market-closed { padding: 6px; color: #3e5348; text-align: center; font-size: 11px; background: #eef1ef; border-radius: 6px; }
.slip { position: sticky; top: 90px; min-width: 0; scroll-margin-top: 86px; }
.slip-card, .market-guide { border: 1px solid #dce6f4; border-radius: var(--radius); background: white; box-shadow: 0 4px 12px #1d487610; }
.slip-card { overflow: hidden; }
.slip-heading { display: flex; gap: 10px; align-items: center; padding: 16px 15px 12px; }
.slip-heading h2 { font-size: 17px; font-weight: 780; letter-spacing: -.025em; }
.ticket-icon { display: grid; place-items: center; width: 34px; height: 34px; background: #edf3ff; color: #2057da; border-radius: 9px; }
.ticket-icon svg { width: 19px; height: 19px; }
.slip-count { margin-left: auto; color: #2457c4; background: #edf3ff; border-radius: 6px; font-size: 11px; font-weight: 750; padding: 2px 7px; }
.slip-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 0 15px; border-radius: 10px; border: 1px solid #e3eaf5; background: #f4f7fc; padding: 3px; }
.slip-tabs button { border: 1px solid transparent; border-radius: 7px; color: #5f6f89; font-size: 12px; font-weight: 700; background: transparent; padding: 7px 3px; white-space: nowrap; }
.slip-tabs button span { font-size: 9px; padding-left: 3px; }
.slip-tabs button[aria-pressed="true"] { color: var(--blue); border-color: #e0e8f4; background: #fff; box-shadow: 0 1px 3px #254d7012; }
#bet-form { padding: 12px 15px 15px; }
.empty-slip { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 25px 12px; border-radius: 10px; border: 1px dashed #dbe5f4; background: #f8faff; }
.empty-slip-icon { display: grid; place-items: center; background: #eaf1ff; color: #3970e4; width: 45px; height: 45px; border-radius: 13px; margin-bottom: 2px; transform: rotate(-10deg); }
.empty-slip-icon svg { width: 23px; height: 23px; }
.empty-slip strong { font-size: 13px; }
.empty-slip p { color: var(--muted); font-size: 11px; line-height: 1.5; }
.slip-footer { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px; border-top: 1px solid var(--line); background: #f8faff; color: #5b6e8c; font-size: 11px; font-weight: 650; }
.slip-footer svg { width: 15px; height: 15px; color: #4777ca; }
.market-guide { margin-top: 12px; }
.market-guide summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 12px 15px; font-size: 12px; font-weight: 700; }
.market-guide summary::-webkit-details-marker { display: none; }
.market-guide svg { color: #4871bd; width: 17px; height: 17px; }
.market-guide svg:last-child { margin-left: auto; }
.market-guide[open] svg:last-child { transform: rotate(180deg); }
.market-guide p { padding: 0 15px 10px; font-size: 12px; color: var(--muted-dark); line-height: 1.45; }
.selection { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: start; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; margin: 0 0 7px; background: #f9fbff; font-size: 12px; }
.selection small { display: block; color: var(--muted); margin-top: 3px; }
.selection > strong { color: #1d4eac; }
.icon-button { padding: 0; color: var(--muted); background: transparent; border: 0; border-radius: 5px; display: grid; place-items: center; }
.icon-button:hover { color: var(--blue); background: #e9f1ff; }
.selection .icon-button svg { width: 16px; height: 16px; }
.stake-label { display: flex; justify-content: space-between; margin: 12px 0 6px; font-size: 12px; font-weight: 750; }
.stake-label span { color: var(--muted); font-weight: 500; }
#stake, #auth-form input { width: 100%; padding: 9px 10px; background: #fff; border: 1px solid #cfdaeb; color: var(--ink); border-radius: 8px; font-size: 14px; }
.stake-shortcuts { display: flex; gap: 5px; margin-top: 6px; }
.stake-shortcuts button { flex: 1; border: 1px solid #dfe8f7; border-radius: 6px; background: #f4f7fe; color: #315ea7; font-size: 11px; font-weight: 650; padding: 5px 3px; }
.stake-shortcuts button:hover { background: #e8f0ff; }
.payout { display: flex; justify-content: space-between; gap: 8px; margin: 14px 0 9px; font-size: 12px; align-items: center; }
.payout strong { color: #1e4fb7; font-size: 14px; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 8px; padding: 9px 14px; min-height: 38px; line-height: 1.2; font-size: 13px; font-weight: 700; border: 1px solid transparent; }
.primary { background: var(--blue); color: white; }
.primary:hover { background: var(--blue-hover); }
.primary:disabled { opacity: .62; }
.secondary { background: #f2f6ff; border-color: #e0e9fa; color: #2354b8; }
.secondary:hover { background: #e8f0ff; }
.place-order, #auth-submit { width: 100%; }
.slip-message, .form-error { font-size: 12px; background: #fff1f4; color: #a1213b; border-radius: 7px; padding: 8px 10px; margin-top: 9px; }
.empty-state, .profile-card, .history-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.empty-state { text-align: center; color: var(--muted); font-size: 14px; line-height: 1.6; }
.empty-state strong, .profile-card h3 { display: block; margin: 0 0 6px; color: var(--ink); font-size: 16px; }
.empty-state button { margin-top: 12px; }
.profile-card { display: grid; gap: 14px; }
.profile-card p { color: var(--muted); font-size: 14px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-balance { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 750; color: #2155bc; }
.history-card { padding: 16px; margin-bottom: 12px; font-size: 13px; }
.history-heading, .history-line, .history-totals { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.history-heading { margin-bottom: 12px; }
.history-heading time { color: var(--muted); margin-left: 5px; font-size: 11px; }
.history-line { padding: 7px 0; border-top: 1px solid #ebeff6; }
.history-line small { color: var(--muted); display: block; margin-top: 2px; }
.history-totals { margin-top: 9px; color: var(--muted-dark); }
.status-pill { text-transform: capitalize; border-radius: 5px; padding: 3px 6px; background: #edf2fb; color: #3f5680; font-weight: 700; font-size: 10px; white-space: nowrap; }
.status-pill.won, .status-pill.partial { background: #e7f8ee; color: #09633b; }
.status-pill.lost { background: #feebef; color: #9f2440; }
.bottom-nav { position: fixed; z-index: 6; bottom: 0; left: 0; width: 100%; padding-bottom: env(safe-area-inset-bottom); background: #fff; box-shadow: 0 -5px 24px #193c7310; border-top: 1px solid #e3ebf7; }
.bottom-inner { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: min(100%, 610px); margin: 0 auto; }
.bottom-nav button { position: relative; min-width: 0; background: none; border: 0; color: #596d8b; display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; font-size: 11px; font-weight: 680; min-height: 58px; white-space: nowrap; padding: 4px 2px; }
.bottom-nav button:hover, .bottom-nav button[aria-current] { color: var(--blue); background: #f4f8ff; }
.bottom-nav button[aria-current]::before { content: ""; position: absolute; top: 0; width: 35px; height: 2px; background: var(--blue); border-radius: 0 0 4px 4px; }
.bottom-nav svg { width: 21px; height: 21px; }
.mobile-slip { display: none; }
dialog { border: 1px solid #dce6f3; border-radius: 17px; box-shadow: 0 24px 90px #040f27a6; width: min(calc(100% - 24px), 420px); padding: 0; color: var(--ink); }
dialog::backdrop { background: #07132ccc; }
.dialog-inner { position: relative; padding: 23px; }
.dialog-close { position: absolute; top: 13px; right: 13px; width: 30px; height: 30px; }
.dialog-inner h2 { margin: 8px 0 4px; font-size: 26px; letter-spacing: -.04em; }
.dialog-inner p { font-size: 13px; color: var(--muted); }
#auth-form { display: grid; gap: 6px; margin: 15px 0 12px; }
#auth-form label { font-size: 12px; font-weight: 700; }
#auth-form input { margin-bottom: 7px; }
.auth-switch button { color: var(--blue); border: 0; background: none; font-weight: 700; padding: 2px; }
.toast { position: fixed; z-index: 8; bottom: calc(75px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 24px); color: #fff; background: #102743; border-radius: 9px; box-shadow: 0 8px 20px #132d5750; padding: 10px 15px; font-size: 13px; }
@media (max-width: 640px), (hover: none) and (pointer: coarse) {
  html { scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; }
}
@media (max-width: 1080px) {
  .shell { width: calc(100% - 40px); }
  .main-grid { grid-template-columns: minmax(0, 1fr) 286px; gap: 16px; }
  .top-nav { gap: 19px; margin: 0; }
}
@media (max-width: 850px) {
  .main-grid { grid-template-columns: minmax(0, 1fr); }
  .slip { position: static; }
  .mobile-slip { display: flex; align-items: center; gap: 7px; position: fixed; z-index: 6; bottom: calc(68px + env(safe-area-inset-bottom)); right: 12px; border: 1px solid #3166d4; border-radius: 30px; background: var(--blue); color: #fff; padding: 8px 11px; font-size: 12px; font-weight: 690; box-shadow: 0 5px 17px #10388b56; }
  .mobile-slip b { background: #ffffff31; padding: 1px 5px; border-radius: 5px; }
  .mobile-slip svg { width: 16px; height: 16px; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 24px); }
  .inner-page { padding-top: 18px; }
  .topbar-inner { min-height: 58px; gap: 4px; }
  .wordmark { gap: 5px; font-size: 17px; }
  .wordmark img { width: 30px; height: 30px; }
  .top-nav { display: none; }
  .account { min-width: 0; gap: 3px; }
  .account > button { height: 33px; padding: 0 7px; font-size: 10px; gap: 3px; }
  .account .identity { max-width: 110px; }
  .account .balance svg { width: 13px; height: 13px; }
  .hero { margin: 14px 0 18px; min-height: 185px; padding: 20px 16px; border-radius: 14px; }
  .hero p { font-size: 12px; }
  .hero-art { width: min(100%, 440px); right: -62px; opacity: .82; }
  .hero-art img { object-position: 85% center; }
  .hero::after { background: linear-gradient(90deg, #091a3a 3%, #091a3abf 35%, #091a3a00 87%); }
  .hero-kicker { font-size: 8.5px; gap: 5px; }
  .hero-kicker svg { width: 12px; height: 12px; }
  .hero h1 { font-size: clamp(32px, 9vw, 45px); }
  .hero-button { margin-top: 12px; }
  .page-heading { min-height: 44px; margin-bottom: 11px; }
  .page-heading h2 { font-size: 25px; }
  .fixture-controls { gap: 7px; margin-bottom: 8px; }
  .filters button { padding: 6px 7px; font-size: 10px; gap: 5px; }
  .search { height: 34px; padding-inline: 6px; gap: 4px; }
  .search input { font-size: 11px; }
  .search svg { width: 14px; height: 14px; }
  .league { padding: 0 5px 5px; }
  .league-header { padding: 7px 4px; }
  .match-row { padding: 5px; }
  .body-side { padding: 5px; gap: 5px; min-height: 49px; }
  .team-logo { width: 24px; height: 24px; }
  .team-caption { gap: 2px 5px; }
  .team-name { font-size: 12px; }
  .line-pill { min-width: 33px; padding-inline: 4px; font-size: 11px; }
  .shared-line { min-width: 34px; }
  .bottom-nav button { min-height: 55px; font-size: 10px; }
  .feed-tag { font-size: 10px; }
}
@media (max-width: 340px) {
  .fixture-controls { flex-wrap: wrap; }
  .search { width: 100%; }
  .account .identity span:last-child { max-width: 54px; }
}
