/* BetWinners theme — loaded after app.css. Dark, white text, brand green (#0CC448) for odds and
   actions, rounded panels and match cards. Compact sizes; mobile first, wider layout on desktop. */
:root {
  --g: #0cc448;
  --g-2: #2be06a;
  --g-dark: #08933a;
  --g-soft: rgba(12, 196, 72, .14);
  --brand: var(--g);
  --brand-2: var(--g-2);
  --brand-grad: linear-gradient(90deg, #08a63c, #2be06a);
  --brand-head: #0b0c0e;
  --bg: #0e0f11;
  --bg-2: #08090a;
  --surface: #17181b;
  --surface-2: #202125;
  --surface-3: #2a2b30;
  --border: #26272c;
  --text: #f5f6f7;
  --muted: #8d9097;
  --green: var(--g);
  --green-2: var(--g-dark);
  --odd-bg: var(--surface-3);
  --odd-text: var(--g);
  --gold: #f5c518;
  --radius: 12px;
  --max: 560px;
}

/* ---------- frame ---------- */
.app { padding-bottom: 24px; background: var(--bg); }
.hdr { position: sticky; top: 0; z-index: 30; background: radial-gradient(120% 140% at 30% 0%, #0f2a18 0%, #0b0c0e 55%); box-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.topbar { position: static; background: none; box-shadow: none; padding: 8px 10px 6px; gap: 8px; justify-content: flex-start; }
.topbar .brand { display: flex; align-items: center; min-width: 0; flex: 0 1 auto; }
.topbar .brand img { height: 21px; width: auto; display: block; }
.topbar .top-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.sq-ic { width: 31px; height: 31px; flex: none; border-radius: 9px; background: rgba(255, 255, 255, .09); display: inline-flex; align-items: center; justify-content: center; color: var(--g); font-size: 11px; font-weight: 800; }
.sq-ic .ic { width: 17px; height: 17px; }
.sq-ic.az { color: #cfd2d6; font-size: 10.5px; letter-spacing: -.3px; }
.sq-ic.mybets { width: auto; padding: 0 7px; gap: 4px; color: #cfd2d6; font-size: 9.5px; font-weight: 600; line-height: 1.05; text-align: left; }
.sq-ic.mybets .ic { width: 15px; height: 15px; color: var(--g); }
.btn-join, .btn-login { height: 30px; padding: 0 12px; border-radius: 9px; display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 700; }
.btn-join { background: var(--g); color: #04140a; }
.btn-login { background: rgba(255, 255, 255, .09); color: var(--g); }
.bal-chip { display: inline-flex; align-items: center; gap: 6px; height: 31px; padding: 0 4px 0 9px; border-radius: 16px; background: rgba(255, 255, 255, .09); color: var(--g); font-size: 11.5px; font-weight: 700; }
.bal-chip .avatar { width: 24px; height: 24px; }

.topnav { gap: 18px; padding: 2px 12px 0; }
.topnav a { position: relative; flex: none; padding: 7px 0 9px; font-size: 14px; font-weight: 700; color: #e9eaec; white-space: nowrap; }
.topnav a.on { color: var(--g); }
.topnav a.on::after { content: ''; position: absolute; left: 25%; right: 25%; bottom: 3px; height: 3px; border-radius: 3px; background: var(--g); }
.topnav .games-pill { display: inline-block; padding: 2px 8px; border-radius: 6px; background: linear-gradient(180deg, #ffd34d, #e89a00); color: #2a1600; font-size: 11.5px; font-weight: 900; font-style: italic; letter-spacing: .3px; transform: skewX(-6deg); }

.subhead { top: 82px; background: var(--bg); border-bottom-color: var(--border); }
.chrome-plain .subhead, .chrome-none .subhead { top: 0; }
.app:not(.chrome-full) .subhead { top: 0; }

/* ---------- panels ---------- */
.panel { margin: 8px 8px 10px; background: var(--surface); border-radius: 16px; overflow: hidden; }
.panel-head { display: flex; align-items: center; gap: 7px; padding: 10px 12px; background: linear-gradient(90deg, rgba(12, 196, 72, .22), rgba(12, 196, 72, 0) 70%); }
.panel-head h3 { font-size: 15px; font-weight: 900; font-style: italic; letter-spacing: .3px; color: #fff; }
.ph-ic { width: 24px; height: 24px; border-radius: 7px; background: var(--g); color: #04140a; display: inline-flex; align-items: center; justify-content: center; transform: skewX(-8deg); }
.ph-ic .ic { width: 15px; height: 15px; }
.ph-more { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; color: var(--muted); font-size: 12px; }
.ph-more .ic { width: 13px; height: 13px; }

/* hero carousel */
.hero { margin: 8px 8px 0; position: relative; }
.hero-track { border-radius: 14px; scroll-snap-type: x mandatory; }
.slide { position: relative; flex: none; width: 100%; aspect-ratio: 2.35 / 1; scroll-snap-align: start; overflow: hidden; background: #111; }
.slide img { position: absolute; right: 0; top: 0; height: 100%; width: 72%; object-fit: cover; }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #07150c 32%, rgba(7, 21, 12, .75) 52%, rgba(7, 21, 12, 0) 80%); }
.slide-txt { position: absolute; z-index: 1; left: 12px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 5px; max-width: 52%; }
.slide-txt .kicker { align-self: flex-start; padding: 2px 7px; border-radius: 4px; background: var(--g); color: #04140a; font-size: 9.5px; font-weight: 800; text-transform: uppercase; }
.slide-txt b { font-size: 20px; line-height: 1.05; font-weight: 900; font-style: italic; text-transform: uppercase; }
.slide-txt .cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 2px; padding: 4px 10px; border-radius: 6px; background: #fff; color: #07150c; font-size: 10.5px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.slide-txt .cta .ic { width: 11px; height: 11px; }
.dots { position: absolute; bottom: 7px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; z-index: 2; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .45); cursor: pointer; }
.dots i.on { width: 14px; border-radius: 3px; background: var(--g); }

.quick { display: grid; grid-template-columns: repeat(6, 1fr); padding: 11px 4px 10px; margin-top: 8px; }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 10.5px; color: #e4e6e9; text-align: center; line-height: 1.15; }
.quick .ic { width: 25px; height: 25px; color: var(--g); }

/* casino tiles */
.gtiles { gap: 8px; padding: 10px; }
.gtile { position: relative; flex: none; width: 74%; max-width: 330px; height: 96px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; gap: 10px; padding: 0 14px; scroll-snap-align: start; }
.gtile.aviator { background: radial-gradient(120% 140% at 0% 50%, #0f5a2a, #0a1f12 70%); border: 1px solid rgba(12, 196, 72, .35); }
.gtile.lucky { background: #120d1d; }
.gtile.lucky img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.gtile > div { position: relative; display: flex; flex-direction: column; gap: 6px; }
.gtile b { font-size: 19px; font-weight: 900; font-style: italic; }
.gt-plane { font-size: 40px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.gt-play { display: inline-flex; align-items: center; gap: 2px; align-self: flex-start; padding: 3px 9px; border-radius: 12px; background: rgba(255, 255, 255, .14); font-size: 10.5px; font-weight: 700; }
.gt-play .ic { width: 11px; height: 11px; }

/* featured */
.lchips { gap: 6px; padding: 10px 10px 4px; }
.lchip { flex: none; height: 32px; min-width: 38px; padding: 0 8px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; font-weight: 700; color: #cfd2d6; }
.lchip img { width: 20px; height: 20px; object-fit: contain; }
.lchip .ic { width: 15px; height: 15px; }
.lchip.big { padding: 0 12px; font-size: 12.5px; color: #fff; }
.lchip.on { border-color: var(--g); }
.lchip.on .ic { color: var(--g); }
.fcards { gap: 8px; padding: 8px 10px 6px; }
.fcard { flex: none; width: 82%; max-width: 360px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); padding: 9px 10px 10px; scroll-snap-align: start; position: relative; overflow: hidden; }
.fcard::before { content: ''; position: absolute; right: -10px; top: 6px; width: 120px; height: 90px; background: radial-gradient(circle, rgba(12, 196, 72, .12), transparent 70%); pointer-events: none; }
.fcard-top { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; margin-bottom: 6px; }
.fcard-mid { display: flex; align-items: center; gap: 8px; }
.fteams { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; }
.fteams div { display: flex; align-items: center; gap: 6px; min-width: 0; }
.fteams span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fwhen { text-align: right; display: flex; flex-direction: column; }
.fwhen b { font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.fwhen span { color: var(--muted); font-size: 11px; }
.fodds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 9px; }
.more-events { display: flex; align-items: center; justify-content: center; gap: 3px; padding: 11px; color: var(--muted); font-size: 12.5px; }
.more-events .ic { width: 13px; height: 13px; }

/* ---------- Live / Sports sections ---------- */
.sec { padding-bottom: 2px; }
.sec-head { display: flex; align-items: stretch; background: #1c1d20; }
.sec-title { flex: none; display: flex; align-items: center; padding: 8px 16px 8px 12px; font-size: 22px; font-weight: 900; font-style: italic; letter-spacing: -.3px; color: #fff;
  background: linear-gradient(100deg, #0b4d21, #0e2615 85%); clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.live-sec .sec-title::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--g); margin: -10px 0 0 3px; box-shadow: 0 0 0 3px rgba(12, 196, 72, .25); animation: blink 1.4s infinite; }
.stabs { gap: 16px; padding: 0 12px; align-items: center; }
.stabs button { position: relative; flex: none; padding: 12px 0 11px; font-size: 13.5px; font-weight: 700; color: #aeb1b7; }
.stabs button.on { color: var(--g); }
.stabs button.on::after { content: ''; position: absolute; left: 15%; right: 15%; bottom: 5px; height: 3px; border-radius: 3px; background: var(--g); }
.utabs { display: flex; gap: 20px; padding: 0 12px; background: #1c1d20; border-top: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.utabs button { flex: none; padding: 10px 0; font-size: 13px; font-weight: 700; color: #aeb1b7; border: 0; }
.utabs button.on { color: var(--g); background: none; }
.mchips { gap: 6px; padding: 8px 10px; }
.mchips button { flex: none; height: 28px; padding: 0 12px; border-radius: 15px; background: var(--surface-3); color: #dcdee2; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.mchips button.on { background: var(--g); color: #04140a; font-weight: 800; }
.mchips button .ic { width: 13px; height: 13px; }
.dayrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 8px 14px; background: #1c1d20; font-size: 12.5px; font-weight: 700; }
.dayrow i { font-style: normal; font-weight: 500; color: var(--muted); font-size: 11px; }
.dayrow .cols { display: grid; width: 56%; max-width: 270px; color: var(--muted); font-weight: 500; text-align: center; }
.dayrow .cols.c3 { grid-template-columns: repeat(3, 1fr); }
.dayrow .cols.c2 { grid-template-columns: repeat(2, 1fr); }
.lbar { display: flex; align-items: center; gap: 7px; padding: 10px 12px; color: #c4c7cc; font-size: 12px; background: var(--bg); }
.lbar img { width: 18px; height: 18px; object-fit: contain; border-radius: 50%; }
.lbar .ic { width: 14px; height: 14px; margin-left: auto; color: var(--muted); }
.globe { font-size: 15px; }
.cards { padding: 0 0 2px; }

/* match card */
.mcard { margin: 6px 8px; padding: 8px 10px 7px; border-radius: 12px; background: #1c1d20; }
.mcard.live { box-shadow: none; }
.mcard-top { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); min-width: 0; }
.mtime { flex: none; }
.mtime.live { color: var(--g); font-weight: 700; }
.mleague { color: #a6a9af; }
.mcard-top .stat { margin-left: auto; color: #6f7279; display: inline-flex; }
.mcard-top .stat .ic { width: 15px; height: 15px; }
.mcard-body { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.mcard .teams { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.75; color: #fff; }
.mcard .teams > div { display: flex; align-items: center; gap: 6px; min-width: 0; }
.mcard .teams span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcard .teams.scores b { margin-left: auto; padding-left: 6px; color: var(--g); font-weight: 700; }
.crest { width: 16px; height: 16px; object-fit: contain; flex: none; }
.mcard .odds { display: grid; gap: 5px; width: 56%; max-width: 270px; flex: none; }
.mcard .odds.c3 { grid-template-columns: repeat(3, 1fr); }
.mcard .odds.c2 { grid-template-columns: repeat(2, 1fr); }
.mcard-foot { display: flex; align-items: center; gap: 6px; margin-top: 3px; min-height: 20px; }
.mcard-foot .more { display: inline-flex; align-items: center; color: var(--muted); font-size: 11.5px; }
.mcard-foot .more .ic { width: 12px; height: 12px; }
.badge { display: inline-flex; align-items: center; height: 18px; padding: 0 5px; border-radius: 4px; font-size: 9px; font-weight: 800; font-style: italic; }
.badge.hot { background: #3a2a14; color: #ff9b2f; }
.badge.hot .ic { width: 12px; height: 12px; }
.badge.best { border: 1px solid var(--g); color: var(--g); background: var(--g-soft); }

/* odds buttons */
.odd { height: 40px; border-radius: 8px; background: var(--surface-3); color: var(--g); font-size: 14px; font-weight: 800; letter-spacing: .2px; }
.odd b { font-weight: 800; }
.odd.wide { justify-content: space-between; padding: 0 10px; height: 38px; }
.odd.wide em { color: #9da0a6; font-style: normal; font-weight: 500; font-size: 12.5px; }
.odd.sel { background: var(--g); color: #04140a; }
.odd.sel em { color: #04140a; }
.odd.lock { color: #6f7279; background: var(--surface-2); }
.odd.up { box-shadow: inset 0 3px 0 var(--g); }
.odd.down { box-shadow: inset 0 -3px 0 #ff4d4d; }
.odd .arrow { display: none; }

.soon-head { margin: 8px 8px 2px; border-radius: 10px; background: var(--g-soft); }
.country { margin: 0 8px; border-bottom: 1px solid var(--border); }

/* ---------- footer ---------- */
.site-footer { margin: 14px 0 0; padding: 22px 14px 26px; border-radius: 22px 22px 0 0; background: #141518; }
.f-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.f-logo { height: 22px; width: auto; display: block; margin-bottom: 10px; }
.f-text { color: #8d9097; font-size: 11.5px; line-height: 1.5; margin: 0 0 10px; }
.f-18 { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #e04343; color: #e04343; font-size: 10.5px; font-weight: 700; margin-bottom: 10px; }
.site-footer h5 { font-size: 14px; font-weight: 700; margin: 4px 0 10px; color: #fff; letter-spacing: 0; }
.site-footer .f-links { display: flex; flex-direction: column; gap: 11px; margin-bottom: 16px; }
.site-footer .f-links a { color: #8d9097; font-size: 12.5px; display: flex; align-items: center; gap: 7px; }
.site-footer .f-links .ic { width: 16px; height: 16px; color: var(--g); }
.pay-grid { display: flex; flex-wrap: wrap; gap: 5px; }
.pay-grid span { padding: 4px 6px; border-radius: 4px; background: #fff; color: #222; font-size: 9px; font-weight: 800; }
.f-legal { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--border); color: #6f7279; font-size: 11px; text-align: center; }

/* ---------- betslip button + sheet ---------- */
.slip-fab { right: max(12px, calc(50% - var(--max) / 2 + 12px)); bottom: calc(18px + env(safe-area-inset-bottom)); width: 54px; height: 54px; border-radius: 13px; background: #1a1b1e; border: 2px solid var(--g); color: var(--g); box-shadow: 0 8px 22px rgba(0, 0, 0, .55); gap: 1px; }
.slip-fab-count { width: auto; height: auto; background: none !important; color: var(--g) !important; font-size: 21px; font-weight: 900; line-height: 1; }
.slip-fab-chev { display: none; }
.slip-fab-label { font-size: 9.5px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.rec-bar { bottom: 0; }

.sheet.slip { background: #f4f5f6; color: #1b1c1f; }

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  :root { --max: 1180px; }
  body { font-size: 13px; }
  .topbar { padding: 10px 24px 6px; }
  .topbar .brand img { height: 26px; }
  .topnav { padding: 2px 24px 0; gap: 26px; }
  .topnav a { font-size: 15px; }
  .subhead { top: 92px; }
  #view { padding: 0 16px; }
  .hero { margin: 12px 0 0; }
  .slide { aspect-ratio: 3.6 / 1; }
  .slide img { width: 60%; }
  .slide-txt { left: 34px; }
  .slide-txt b { font-size: 34px; }
  .quick { margin: 12px 0; }
  .quick .ic { width: 28px; height: 28px; }
  .quick a { font-size: 12px; }
  .panel { margin: 12px 0; }
  .gtile { width: 300px; }
  .fcard { width: 320px; }
  .mcard .odds, .dayrow .cols { width: 46%; max-width: 420px; }
  .odd { height: 42px; font-size: 15px; }
  .mcard { margin: 6px 10px; }
  .site-footer { border-radius: 22px; margin: 16px 0 0; padding: 28px 32px; }
  .f-cols { grid-template-columns: 1.4fr 1fr; gap: 40px; }
  .slip-fab { right: 24px; }
}
@keyframes blink { 50% { opacity: .35; } }
.live-sec, .sports-sec { border-left: 0; }
.panel.featured { margin: 8px 8px 10px; padding: 0; background: var(--surface); }
.fodds { padding: 0; }
.lgroup .mleague { display: none; }

/* ---------- match details ---------- */
.md-league { display: flex; align-items: center; gap: 7px; padding: 10px 12px; background: #17181b; color: #b9bcc1; font-size: 12px; }
.md-league img { width: 18px; height: 18px; object-fit: contain; }
.md-league .badge { flex: none; }
.md-hero { padding: 14px 12px 16px; text-align: center; background: radial-gradient(80% 120% at 50% 0%, #10301b, #0e0f11 70%); border-radius: 0 0 20px 20px; }
.md-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
.md-teams span:first-child { text-align: right; }
.md-teams span:last-child { text-align: left; }
.md-teams i { font-style: normal; color: var(--muted); font-size: 12px; font-weight: 500; }
.md-score { font-size: 22px; color: var(--g); }
.md-when { margin-top: 10px; color: #c9ccd0; font-size: 12.5px; }
.md-when.live { color: var(--g); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.md-sub { margin-top: 4px; color: var(--muted); font-size: 11.5px; }
.md-tabs { display: flex; justify-content: space-around; margin-top: 8px; background: #17181b; border-radius: 18px 18px 0 0; }
.md-tabs button { position: relative; padding: 11px 6px; font-size: 14.5px; font-weight: 700; color: #b9bcc1; }
.md-tabs button.on { color: var(--g); }
.md-tabs button.on::after { content: ''; position: absolute; left: 20%; right: 20%; bottom: 4px; height: 3px; border-radius: 3px; background: var(--g); }
.route-match .mchips { background: #17181b; }
.mkts { padding: 2px 0 10px; }
.mkt { margin: 6px 8px; border-radius: 12px; background: #1c1d20; border: 0; overflow: hidden; }
.mkt summary { list-style: none; display: flex; align-items: center; gap: 6px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.mkt summary::-webkit-details-marker { display: none; }
.mkt summary > .ic:first-child { width: 14px; height: 14px; color: var(--muted); transition: transform .15s; }
.mkt:not([open]) summary > .ic:first-child { transform: rotate(-90deg); }
.mkt summary .mkt-ic { margin-left: auto; width: 15px; height: 15px; color: #6f7279; }
.mkt-grid { display: grid; gap: 6px; padding: 0 10px 10px; }
.mkt-grid.g3 { grid-template-columns: repeat(3, 1fr); }
.mkt-grid.g2 { grid-template-columns: repeat(2, 1fr); }
.mkt-grid .odd.wide { height: 40px; }
@media (min-width: 900px) {
  .md-hero { padding: 26px 12px 28px; }
  .md-teams { font-size: 22px; }
  .mkt-grid.g3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- betslip (dark header, light body, green Place Bet bar) ---------- */
.sheet.slip { background: #f3f4f5; color: #17181b; border: 0; border-radius: 18px 18px 0 0; }
.slip-top { grid-template-columns: auto auto auto 1fr auto; background: #232428; color: #fff; padding: 10px 14px; border-radius: 18px 18px 0 0; }
.slip-count { width: 26px; height: 26px; background: var(--g); color: #04140a; font-size: 13px; font-weight: 900; }
.slip-title { font-size: 17px; font-weight: 800; }
.slip-bal { color: var(--g); font-size: 14px; font-weight: 700; justify-self: end; }
.slip-close { color: #fff; }
.mode-toggle { background: #34353a; }
.mode-toggle button.on { background: var(--g); color: #04140a; }
.slip-tabs { background: #2c2d31; }
.slip-tabs button { color: #dfe1e4; }
.slip-tabs button.on { color: var(--g); }
.slip-panel { background: #fff; color: #17181b; border-bottom-color: #e3e5e8; }
.slip .muted, .slip .slip-market, .slip .slip-meta { color: #6d7077; }
.rec-head { background: #fff; color: #17181b; border-bottom: 1px solid #e3e5e8; }
.rec-sub { color: #6d7077; }
.code-box { background: #fff; border-color: #e3e5e8; color: #17181b; }
.code-input { background: #f3f4f5; border-color: #d9dbdf; }
.code-input input { color: #17181b; }
.code-input button { background: var(--g); color: #04140a; font-weight: 800; }
.slip-empty h4 { color: #17181b; }
.slip-empty p { color: #6d7077; }
.slip-sel-head { color: #17181b; }
.slip-sels { background: #fff; padding: 0 10px; }
.slip-sel { border-bottom-color: #eceef0; }
.slip-x { color: #9a9da3; }
.slip-pick { color: #17181b; }
.slip-odd { color: #17181b; font-weight: 800; }
.slip-odd.up { color: var(--g-dark); }
.slip-teams { color: #3a3c41; }
.slip-summary { background: #f3f4f5; color: #17181b; padding: 12px 16px 0; }
.slip-summary .row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 13px; }
.slip-summary .row b { font-weight: 800; }
.slip-summary .green, #slip-win { color: #17181b !important; font-size: 16px; }
.stake-input { background: #fff; border: 1px solid #c9ccd1; border-radius: 6px; }
.stake-input input, .stake-input em { color: #17181b; }
.slip .quick-stakes .chip { background: #fff; color: #17181b; border: 1px solid #d9dbdf; }
.accept-odds { color: #3a3c41; }
.slip-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 0; margin: 12px -16px 0; }
.slip-actions .btn { height: 52px; border-radius: 0; font-size: 15px; font-weight: 800; }
.slip-actions .btn-dark { background: #c9ccd1; color: #17181b; }
.slip-actions .btn-green { background: var(--g); color: #04140a; }
.sim-note { color: #6d7077; }
@media (min-width: 900px) {
  /* desktop: the betslip opens as a panel on the right instead of a bottom sheet */
  .overlay-sheet#slip-sheet { justify-content: flex-end; align-items: stretch; }
  #slip-sheet .sheet.slip { max-width: 400px; max-height: none; height: 100%; border-radius: 0; }
  #slip-sheet .slip-top { border-radius: 0; }
}
/* titled pages have no top tabs: the back bar sits right under the header */
.app.chrome-full .subhead { top: 47px; }
.quick { max-width: none; width: auto; }
.code-input input { background: transparent; }
@media (min-width: 900px) {
  .app.chrome-full .subhead { top: 46px; }
  .quick { margin-left: 0; margin-right: 0; }
}

/* ---------- login / sign-up (msport-style card with the B mark) ---------- */
.auth-wrap { background: radial-gradient(90% 60% at 50% 0%, #0f2a18 0%, #08090a 60%); padding: 70px 14px 28px; align-items: flex-start; }
.auth-card { background: #17181b; border: 1px solid #26272c; border-radius: 18px; padding: 58px 20px 22px; max-width: 420px; margin: 0 auto; }
.auth-mark { position: absolute; top: -46px; left: 50%; transform: translateX(-50%); width: 92px; filter: drop-shadow(0 8px 18px rgba(12, 196, 72, .25)); }
.auth-mark img { width: 100%; height: auto; display: block; }
.auth-close { position: fixed; top: 14px; right: 14px; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.auth-close .ic { width: 22px; height: 22px; }
.auth-title { font-size: 21px; font-weight: 600; margin: 4px 0 22px; }
.ofield-label { background: #17181b !important; left: 18px; font-size: 12px; color: #c3c5cb; }
.ofield-box { height: 50px; border-radius: 26px; border: 1.5px solid #3a3b40; }
.ofield-box:focus-within { border-color: var(--g); }
.ofield:focus-within .ofield-label { color: var(--g); }
.auth-card .btn-green { height: 50px; border-radius: 26px; font-size: 16px; font-weight: 800; background: var(--g); color: #04140a; }
.auth-card .link-green, .auth-alt a, .link-green { color: var(--g); }
.auth-card .country-pick button.on { border-color: var(--g); background: var(--g-soft); color: #fff; }
.phone-box { border-radius: 26px; border: 1.5px solid #3a3b40; }
.phone-box:focus-within { border-color: var(--g); }
.auth-card .plain-label { color: #c3c5cb; }

/* ---------- Sports / Live list page ---------- */
.az-head { margin-top: 8px; }
.sec-title.is-live::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--g); margin: -10px 0 0 3px; box-shadow: 0 0 0 3px rgba(12, 196, 72, .25); animation: blink 1.4s infinite; }
.route-az .utabs { border-radius: 0; }
.az-filters { padding: 8px 8px 4px; background: #17181b; }
.az-filters .search-field { background: var(--surface-3); border: 0; border-radius: 20px; height: 38px; }
.filter-row { gap: 6px; margin-top: 6px; }
.filter-row select, .filter-row input { background: var(--surface-3); border: 0; border-radius: 10px; height: 36px; color: #e4e6e9; }
.live-head .live-dot { margin-right: 5px; }
.show-more { margin: 8px; width: calc(100% - 16px); background: var(--surface-3); border-radius: 10px; }
.code-box.big { background: #17181b; border: 1px solid var(--border); border-radius: 14px; }
.code-box.big .code-input { background: var(--surface-3); border-color: transparent; }
.code-box.big .code-input input { color: #fff; }
.code-row.card { background: #1c1d20; border: 0; border-radius: 12px; }
.btn-outline-green { border-color: var(--g); color: var(--g); }

/* ---------- My Bets / history / ticket ---------- */
.route-open-bets .ob-top { padding: 10px 12px 6px; }
.route-open-bets .ob-bal { display: none; }
.seg { margin: 4px 8px 0; background: #17181b; border-radius: 14px 14px 0 0; overflow: hidden; }
.seg button { border-radius: 0; color: #aeb1b7; font-weight: 700; position: relative; }
.seg button.on { background: none; color: var(--g); }
.seg button.on::after { content: ''; position: absolute; left: 30%; right: 30%; bottom: 6px; height: 3px; border-radius: 3px; background: var(--g); }
#ob-list { padding: 8px; }
.bet.card { background: #1c1d20; border: 0; border-radius: 12px; }
.hb-won { background: linear-gradient(90deg, #08933a, #0cc448); }
.hb-row b.hb-ret { color: var(--g); }
.hb-day { border-top-color: var(--border); }
.rec-bar { background: #17181b; border-top: 1px solid var(--border); }
.rec-ic { background: var(--g); color: #04140a; }
.tk-card { background: radial-gradient(90% 120% at 50% 0%, #10301b, #17181b 70%); border: 0; border-radius: 16px; }
.tk-status.is-good, .tk-return b.pos, .pos { color: var(--g); }
.tk-legs.card { background: #1c1d20; border: 0; border-radius: 14px; }
.tk-leg.r-won .tk-leg-ic { background: var(--g); }
.tk-leg.r-won .tk-pick { background: var(--g-soft); }
.tk-foot.card { background: #1c1d20; border: 0; border-radius: 14px; }
.btn-gold.tk-show { background: linear-gradient(180deg, #ffd34d, #e89a00); color: #2a1600; }

/* header: logged in on a phone -> just the B mark, so balance and My Bets fit */
.topbar .brand .mark { display: none; }
@media (max-width: 480px) {
  .topbar .brand.in .full { display: none; }
  .topbar .brand.in .mark { display: block; height: 24px; }
}
.bal-chip { white-space: nowrap; border: 0; }
.bal-chip span { white-space: nowrap; }
.live-head { color: var(--g); }
.live-head .live-dot { background: var(--g); box-shadow: 0 0 0 3px rgba(12, 196, 72, .25); }
.country-pick button.on { box-shadow: 0 0 0 3px rgba(12, 196, 72, .18) !important; }

/* ---- batch 3: wallet / deposit / KYC / manual checkout in green ---- */
.wallet-card { background: linear-gradient(135deg, #0b7a33, #0b1a10); box-shadow: 0 12px 30px -14px rgba(12, 196, 72, .55); }
.wallet-card small { color: #c9f5d6; }
.dep-promo { background: linear-gradient(90deg, rgba(12, 196, 72, .18), rgba(12, 196, 72, .05)); border-color: rgba(12, 196, 72, .35); }
.pw-icon.kyc { background: var(--g-soft); color: var(--g); }
.pp-btn { background: var(--g); color: #06210f; }
.pp-btn.ghost { background: #f2f2f2; color: #222; }
.pp-copy { background: var(--g); color: #06210f; }
.pp-spin { border-color: var(--g); border-left-color: transparent; }
.pp-bang { background: var(--g); color: #06210f; }
.pp-warn svg, .pp-note svg { color: var(--g); }
.pp-logo { width: auto; height: 18px; }

/* ---- batch 4: casino games, promotions ---- */
.gpage { margin-top: 8px; }
.gfeat { position: relative; display: flex; align-items: center; gap: 12px; width: calc(100% - 20px); margin: 10px 10px 0; padding: 12px 14px; border-radius: 12px; text-align: left; color: #fff; background: radial-gradient(120% 160% at 0% 50%, #0f5a2a, #0a1f12 70%); border: 1px solid rgba(12, 196, 72, .35); }
.gfeat > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.gfeat b { font-size: 19px; font-weight: 900; font-style: italic; }
.gfeat small { color: #a9d9b8; font-size: 11px; }
.gtag { align-self: flex-start; padding: 1px 6px; border-radius: 4px; background: #fbbf24; color: #3a2a00; font-size: 9.5px; font-weight: 800; }
.ggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; }
.gcard { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); color: #fff; }
.gcard:hover { border-color: rgba(12, 196, 72, .5); }
.gc-art { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 26px; background: radial-gradient(circle at 50% 35%, rgba(12, 196, 72, .28), rgba(12, 196, 72, .05)); }
.gcard b { font-size: 12.5px; font-weight: 800; }
.gc-pl { display: inline-flex; align-items: center; gap: 3px; color: var(--g); font-size: 10px; }
.gc-pl .ic { width: 11px; height: 11px; }
@media (min-width: 900px) { .ggrid { grid-template-columns: repeat(5, 1fr); } .gfeat { max-width: 520px; } }

.promo-list { gap: 8px; }
.promo { gap: 11px; padding: 12px; border-radius: 12px; background: linear-gradient(90deg, rgba(12, 196, 72, .14), var(--surface) 70%); border: 1px solid var(--border); }
.promo-ic { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; font-size: 22px; background: rgba(12, 196, 72, .16); }
.promo h3 { font-size: 13.5px; font-weight: 800; }
.promo p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
@media (min-width: 900px) { .promo-list { display: grid; grid-template-columns: 1fr 1fr; max-width: 900px; margin: 0 auto; } .promo-list > p { grid-column: 1 / -1; } }

/* ---- Me drawer (slides in from the right) ---- */
.md-wrap { position: fixed; inset: 0; z-index: 90; }
.md-back { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .2s; }
.md-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 86%; max-width: 380px; display: flex; flex-direction: column; background: #121316; transform: translateX(100%); transition: transform .22s ease; box-shadow: -12px 0 30px rgba(0, 0, 0, .5); }
.md-wrap.on .md-back { opacity: 1; }
.md-wrap.on .md-panel { transform: none; }
.md-top { display: flex; align-items: center; gap: 10px; padding: 12px 12px 10px; }
.md-av { width: 38px; height: 38px; flex: none; border-radius: 50%; overflow: hidden; border: 2px solid var(--g); }
.md-av svg { width: 100%; height: 100%; display: block; }
.md-id { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; letter-spacing: .3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-ic { width: 32px; height: 32px; display: grid; place-items: center; color: #e4e6e9; }
.md-ic .ic { width: 20px; height: 20px; }
.md-scroll { flex: 1; overflow-y: auto; padding: 0 10px 18px; display: flex; flex-direction: column; gap: 8px; -webkit-overflow-scrolling: touch; }
.md-bal { padding: 12px 12px 14px; border-radius: 14px; background: linear-gradient(150deg, #0d5f2b, #0c1b12 75%); border: 1px solid rgba(12, 196, 72, .45); }
.md-bal-l { display: flex; align-items: center; gap: 6px; color: #cfe9d7; font-size: 12.5px; }
.md-bal-l button { display: grid; place-items: center; color: #cfe9d7; }
.md-bal-l .ic { width: 15px; height: 15px; }
.md-bal > b { display: block; font-size: 24px; font-weight: 900; margin: 6px 0 12px; }
.md-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.md-btns a { position: relative; height: 36px; display: grid; place-items: center; border-radius: 18px; font-size: 13.5px; font-weight: 800; }
.md-dep { background: var(--g); color: #04140a; }
.md-wd { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.md-dep i { position: absolute; left: 10px; bottom: -9px; padding: 0 6px; border-radius: 8px; background: #fff; color: var(--g-dark); font-size: 8.5px; font-style: normal; font-weight: 900; line-height: 15px; letter-spacing: .4px; }
.md-card { border-radius: 12px; background: var(--surface); overflow: hidden; }
.md-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px 0; margin-top: 4px; }
.md-stats a { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.md-stats a + a { border-left: 1px solid var(--border); }
.md-stats b { font-size: 17px; font-weight: 800; }
.md-stats span { color: var(--muted); font-size: 11px; }
.md-row { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; font-size: 13.5px; color: #eef0f2; text-align: left; }
.md-row + .md-row { border-top: 1px solid var(--border); }
.md-row > .ic:first-child { width: 19px; height: 19px; color: var(--g); }
.md-row > span { flex: 1; }
.md-row small { color: var(--muted); font-size: 12px; }
.md-row small.ok { color: var(--g); }
.md-row .chev { width: 15px; height: 15px; color: var(--muted); }
.md-row p { flex-basis: 100%; margin: 0 0 0 29px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.md-cs { display: flex; align-items: center; margin: 0 12px 12px 41px; border-radius: 8px; background: var(--surface-2); }
.md-cs a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 4px; font-size: 12.5px; }
.md-cs .ic { width: 16px; height: 16px; color: var(--g); }
.md-cs i { width: 1px; height: 18px; background: var(--border); }
.md-foot { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 0 4px; }
.md-foot img { height: 20px; width: auto; opacity: .9; }
.md-foot p { margin: 0; color: var(--muted); font-size: 11.5px; }
.md-foot .r18 { display: inline-block; padding: 0 4px; border: 1px solid var(--muted); border-radius: 50%; font-size: 9.5px; line-height: 16px; }
.md-scroll > * { flex: none; }
