@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap");

:root{
  /* Typography */
  --font-heading:600;
  --font-odds:700;
  --font-body:400;
  --font-sports:'Oswald',sans-serif;

  /* Brand tokens */
  --bg:#0C0E12;
  --card:#12161C;
  --elev:#171C23;

  --text:#E7ECF2;
  --muted:#93A0AE;
  --line:#202833;

  --red:#650b14;
  --blue:#0d751a;
  --white:#FFFFFF;

  /* Status green (wins/odds-up) */
  --green:#17C964;
  /* Darker CTA green (Deposit, etc) */
  --btn-green:#0b4d27;
  --btn-green-rgb:11, 77, 39;
  --amber:#F5C044;

  /* Radii */
  --r-chip:10px;
  --r-modal:14px;

  /* Spacing */
  --s-8:8px;
  --s-12:12px;
  --s-16:16px;
  --s-20:20px;
  --s-24:24px;

  /* Layout */
  --topbar-h:56px;
  --bottomnav-h:58px;
  --maxw:420px;
  --pad:12px;
  --brand-logo-h:50px;

  /* Motion */
  --ease:cubic-bezier(.2,.8,.2,1);
  --tap:120ms;
  --hover:180ms;
  --modal:280ms;

  /* FX */
  --shadow:0 14px 40px rgba(0,0,0,.38);
  --glow-blue:0 0 0 2px rgba(42,97,255,.25), 0 0 24px rgba(42,97,255,.12);
  --glow-red:0 0 0 2px rgba(227,22,43,.22), 0 0 24px rgba(227,22,43,.10);
}

html,body{height:100%;min-height:100dvh;}
html{width:100%;overflow-x:hidden;}
body{
  margin:0;
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  font-weight:var(--font-body);
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

/* Headings → Inter 600 */
h1,h2,h3,h4,h5,h6,.sectiontitle,.sectionhead .sectiontitle,.eventlist__title,.promo__title,.smrail__title,.smfeed__title,.buildgo__title,.topbar__title,.betslip__headtitle{font-weight:var(--font-heading) !important;}

/* Sports/Oswald headings — league names, match titles, section headers, market tabs */
h1,h2,h3,
.sectiontitle,
.eventlist__title,
.smrail__title,
.smfeed__title,
.buildgo__title,
.promo__title,
.promo__overlay .promo__title,
.league-group__name,
.home-section-header__title,
.match-header__team-name,
.fixture-row__name,
.home-fixture-row .fixture-row__name,
.market-tabs__tab,
.odd-btn__name,
.bet-preview__type,
.ticket-header__type,
.ticket-summary__label,
.betslip__headtitle{
  font-family:var(--font-sports) !important;
  letter-spacing:0.5px;
}

/* Odds / numeric values → Inter 700 (always Inter for clarity) */
.odd__value,.odd-btn__value,.home-1x2-odd__value,.betslip__odds,.slipitem__odds,.odds-cell__value,.betcard__sel-odds,.bet-preview__value,.ticket-summary__return,.potwin__value,.odd-chip,.home-1x2-odd,.live-match-card__odd,.cs-cell__odds,.betslip__odds-breakdown,.match-header__score,.fixture-row__score,.wallet__balance,.balance__amount{font-family:'Inter',system-ui,sans-serif !important;font-weight:var(--font-odds) !important;}
*{box-sizing:border-box;}
a{color:inherit;text-decoration:none;}
button{font:inherit;color:inherit;}

/* Ensure `hidden` actually hides (override `.modal { display: grid; }`) */
[hidden]{display:none !important;}

.app{
  max-width:var(--maxw);
  margin:0 auto;
  width:100%;
  min-height:100dvh;
  padding-bottom:calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px) + 12px);
}

.topbar{
  position:sticky;
  top:0;
  z-index:30;
  height:auto;
  min-height:var(--topbar-h);
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:10px;
  padding:10px var(--pad);
  border-bottom:1px solid var(--line);
  background:rgba(12,14,18,.78);
  backdrop-filter:saturate(180%) blur(10px);
}
.topbar__left,.topbar__right{display:flex;align-items:center;gap:10px;}
.topbar__left{justify-self:start;}
.topbar__brand{justify-self:center;}
.topbar__right{justify-self:end;}
.clock{
  font-size:12px;
  padding:6px 8px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(18,22,28,.85);
  color:var(--text);
  font-variant-numeric:tabular-nums;
}
.logo{font-weight:900;letter-spacing:.4px;}
.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--text);
  text-decoration:none;
}
.brand__logo{
  height:var(--brand-logo-h);
  width:auto;
  display:block;
}
.brand__text{
  font-weight:1000;
  letter-spacing:.5px;
}
.brandstack{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  line-height:1.05;
}
.topbar__title{
  font-size:11px;
  font-weight:950;
  color:rgba(147,160,174,.92);
  letter-spacing:.2px;
}

/* Logo-only topbar (hide wordmark + page title) */
.brand__text,
.topbar__title{
  display:none;
}
/* Phase 7 UI QA: tap target ≥ 44px */
.iconbtn{
  border:1px solid var(--line);
  background:rgba(18,22,28,.85);
  border-radius:999px;
  min-width:44px;min-height:44px;
  width:44px;height:44px;
  display:grid;place-items:center;
  cursor:pointer;
  transition:transform var(--tap) var(--ease), box-shadow var(--hover) var(--ease), border-color var(--hover) var(--ease);
}
.iconbtn:active{transform:translateY(1px) scale(.99);}
.iconbtn:hover{box-shadow:var(--glow-blue);border-color:rgba(42,97,255,.45);}

.icon{
  width:18px;height:18px;
  display:block;
  color:var(--text);
}
.icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;}

.balancepill{
  border:1px solid var(--line);
  background:rgba(18,22,28,.85);
  border-radius:999px;
  padding:8px 10px;
  display:flex;
  gap:6px;
  align-items:center;
  cursor:pointer;
  transition:box-shadow var(--hover) var(--ease), border-color var(--hover) var(--ease), transform var(--tap) var(--ease);
}
.balancepill:hover{box-shadow:var(--glow-blue);border-color:rgba(42,97,255,.45);}
.balancepill:active{transform:translateY(1px) scale(.99);}
.balancepill__label{font-size:11px;color:var(--muted);font-weight:900;}
.balancepill__value{font-size:13px;font-weight:950;font-variant-numeric:tabular-nums;}

.main{padding:var(--pad);display:flex;flex-direction:column;gap:12px;}

.promo{
  overflow:hidden;
  border-radius:var(--r-chip);
  border:1px solid var(--line);
  background:linear-gradient(135deg, rgba(227,22,43,.12), rgba(42,97,255,.10));
}
.promo__track{
  display:flex;
  gap:10px;
  padding:12px;
  overflow:auto;
  scroll-snap-type:x mandatory;
}
.promo__track::-webkit-scrollbar{display:none;}
.promo__card{
  scroll-snap-align:start;
  min-width:260px;
  border-radius:var(--r-chip);
  background:linear-gradient(180deg, rgba(23,28,35,.85), rgba(18,22,28,.85));
  border:1px solid rgba(255,255,255,.06);
  padding:14px;
  box-shadow:0 10px 26px rgba(0,0,0,.28);
}
.promo__card--primary{
  border-color:rgba(227,22,43,.22);
}
.promo__title{font-weight:900;}
.promo__sub{color:var(--muted);font-size:12px;margin-top:4px;}

/* Promo banner variant */
.promo__card--banner{
  position:relative;
  padding:0;
  overflow:hidden;
}
.promo__img{
  width:100%;
  height:120px;
  object-fit:cover;
  display:block;
  filter:saturate(1.05) contrast(1.02);
}
.promo__overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:12px;
  background:linear-gradient(180deg, rgba(12,14,18,.00) 10%, rgba(12,14,18,.72) 78%);
}
.promo__overlay .promo__title{font-weight:1000;letter-spacing:.2px;}
.promo__overlay .promo__sub{margin-top:2px;font-weight:850;}

.quickactions{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.qa{
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(23,28,35,.70), rgba(18,22,28,.70));
  border-radius:var(--r-chip);
  padding:10px 8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  cursor:pointer;
  min-height:56px;
  transition:transform var(--tap) var(--ease), box-shadow var(--hover) var(--ease), border-color var(--hover) var(--ease);
}
.qa:hover{box-shadow:0 0 0 1px rgba(42,97,255,.20), 0 10px 24px rgba(0,0,0,.28);border-color:rgba(42,97,255,.22);}
.qa:active{transform:translateY(1px) scale(.99);}
.qa__icon{width:20px;height:20px;display:grid;place-items:center;color:var(--text);}
.qa__icon svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;}
.qa__label{font-size:11px;font-weight:900;color:var(--text);opacity:.92;text-align:center;}

/* Sports strip (horizontal scroll, GStake-style) */
.sportscards{overflow:hidden;margin-top:4px;}
.sportscards__track{
  display:flex;
  gap:10px;
  padding:8px 0 12px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
}
.sportscards__track::-webkit-scrollbar{display:none;}
.sportcard{
  scroll-snap-align:start;
  flex-shrink:0;
  width:72px;
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(23,28,35,.85), rgba(18,22,28,.85));
  border-radius:var(--r-chip);
  padding:10px 8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  text-decoration:none;
  color:var(--text);
  transition:border-color var(--hover) var(--ease), box-shadow var(--hover) var(--ease);
}
.sportcard:hover{border-color:rgba(42,97,255,.38);box-shadow:var(--glow-blue);}
.sportcard__icon{width:28px;height:28px;display:grid;place-items:center;}
.sportcard__icon svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.5;}
.sportcard__label{font-size:11px;font-weight:900;text-align:center;line-height:1.2;}
.sportcard--disabled{opacity:.6;pointer-events:none;}

.tiles{
  display:flex;
  gap:8px;
  overflow:auto;
  padding-bottom:4px;
}
.tiles::-webkit-scrollbar{display:none;}
.tile{
  border:1px solid var(--line);
  background:rgba(18,22,28,.70);
  color:var(--text);
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  font-weight:950;
  white-space:nowrap;
  cursor:pointer;
  transition:box-shadow var(--hover) var(--ease), border-color var(--hover) var(--ease), transform var(--tap) var(--ease);
}
.tile:hover{box-shadow:var(--glow-blue);border-color:rgba(42,97,255,.38);}
.tile:active{transform:translateY(1px) scale(.99);}

.tabs{display:flex;flex-direction:column;gap:10px;}
.tabs__row{
  display:flex;
  gap:8px;
  overflow:auto;
  padding-bottom:4px;
}
.tabs__row::-webkit-scrollbar{display:none;}
.tab{
  border:1px solid var(--line);
  background:rgba(18,22,28,.70);
  color:var(--text);
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  font-weight:950;
  cursor:pointer;
  white-space:nowrap;
  transition:box-shadow var(--hover) var(--ease), border-color var(--hover) var(--ease), transform var(--tap) var(--ease);
}
.tab.is-active{
  border-color:rgba(42,97,255,.45);
  box-shadow:var(--glow-blue);
}
.tab:active{transform:translateY(1px) scale(.99);}
.buildgo{
  border:1px dashed rgba(147,160,174,.25);
  border-radius:var(--r-chip);
  padding:12px;
  background:linear-gradient(135deg, rgba(42,97,255,.08), rgba(227,22,43,.06));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.buildgo__title{font-weight:900;}
.buildgo__sub{color:var(--muted);font-size:12px;margin-top:2px;}

.livestrip{
  position:sticky;
  top:calc(var(--topbar-h) + 6px);
  z-index:20;
  background:rgba(18,22,28,.84);
  backdrop-filter:saturate(180%) blur(10px);
  border:1px solid var(--line);
  border-radius:var(--r-chip);
  padding:10px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.livestrip__tabs,.livestrip__markets{
  display:flex;
  gap:8px;
  overflow:auto;
}
.livestrip__tabs::-webkit-scrollbar,.livestrip__markets::-webkit-scrollbar{display:none;}

.chip{
  border:1px solid var(--line);
  background:rgba(12,14,18,.55);
  color:var(--text);
  border-radius:999px;
  padding:8px 10px;
  font-size:12px;
  font-weight:950;
  cursor:pointer;
  white-space:nowrap;
  transition:box-shadow var(--hover) var(--ease), border-color var(--hover) var(--ease), transform var(--tap) var(--ease);
}
.chip--sm{padding:6px 10px;font-size:11px;font-weight:800;}
.chip.is-active{
  border-color:rgba(227,22,43,.45);
  box-shadow:var(--glow-red);
}
.chip:hover{border-color:rgba(42,97,255,.38);box-shadow:var(--glow-blue);}
.chip:active{transform:translateY(1px) scale(.99);}

.eventlist{display:flex;flex-direction:column;gap:8px;}
.eventlist__header{display:flex;align-items:center;justify-content:space-between;}
.eventlist__title{font-weight:950;}
.events{display:flex;flex-direction:column;gap:10px;}

.smrail{
  margin-top:10px;
  border:1px solid var(--line);
  border-radius:var(--r-chip);
  background:linear-gradient(180deg, rgba(23,28,35,.55), rgba(18,22,28,.55));
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.smrail__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.smrail__title{font-weight:1000;letter-spacing:.2px;}
.smrail__sub{color:var(--muted);font-size:12px;font-weight:850;margin-top:2px;}
.smrail__list{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(220px, 1fr);
  gap:10px;
  overflow:auto;
  padding-bottom:2px;
  scroll-snap-type:x mandatory;
}
.smrail__list::-webkit-scrollbar{display:none;}
.smcard{
  scroll-snap-align:start;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(12,14,18,.42);
  border-radius:var(--r-chip);
  padding:10px;
  display:flex;
  flex-direction:column;
  gap:8px;
  min-height:92px;
  cursor:pointer;
  transition:transform var(--tap) var(--ease), box-shadow var(--hover) var(--ease), border-color var(--hover) var(--ease);
}
.smcard:hover{box-shadow:0 0 0 1px rgba(42,97,255,.18), 0 0 18px rgba(42,97,255,.08);border-color:rgba(42,97,255,.30);}
.smcard:active{transform:translateY(1px) scale(.99);}
.smcard__top{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.smmeta{display:flex;flex-direction:column;gap:2px;min-width:0;}
.smmeta__league{color:var(--muted);font-size:11px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.smmeta__status{font-size:11px;font-weight:950;font-variant-numeric:tabular-nums;}
.smbadge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:10px;
  font-weight:950;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.07);
  background:rgba(12,14,18,.55);
  color:rgba(231,236,242,.92);
}
.smbadge--live{border-color:rgba(23,201,100,.25);background:rgba(23,201,100,.10);color:var(--green);}
.smteams{display:flex;flex-direction:column;gap:6px;}
.smteam{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.smteam__left{display:flex;align-items:center;gap:8px;min-width:0;}
.smlogo{
  width:22px;height:22px;flex:0 0 auto;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  object-fit:cover;
}
.smname{font-weight:950;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.smscore{font-weight:1050;font-size:12px;font-variant-numeric:tabular-nums;color:rgba(231,236,242,.92);}
.smcard.is-flash-up{animation:flashUp 250ms var(--ease) 1;}
.smcard.is-flash-down{animation:flashDown 250ms var(--ease) 1;}

.smfeed{
  margin-top:10px;
  border:1px solid var(--line);
  border-radius:var(--r-chip);
  background:linear-gradient(180deg, rgba(23,28,35,.50), rgba(18,22,28,.50));
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.smfeed__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.smfeed__title{font-weight:1000;letter-spacing:.2px;}
.smfeed__sub{color:var(--muted);font-size:12px;font-weight:850;margin-top:2px;}
.smfeed__list{display:flex;flex-direction:column;gap:10px;}
.smdate{
  color:rgba(231,236,242,.92);
  font-weight:1000;
  font-size:12px;
  letter-spacing:.2px;
  padding:6px 2px 0;
  opacity:.95;
}
.smfixture{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(12,14,18,.40);
  border-radius:var(--r-chip);
  padding:10px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.smfixture__top{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.smfixture__meta{color:var(--muted);font-size:11px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.smfixture__time{font-size:11px;font-weight:950;font-variant-numeric:tabular-nums;}
.smfixture__teams{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;text-decoration:none;color:inherit;}
.smfixture__team{display:flex;align-items:center;gap:8px;min-width:0;}
.smfixture__team--right{justify-content:flex-end;}
.smvs{color:var(--muted);font-weight:950;font-size:12px;}
.smfixture__odds{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
.smfixture__odds .odd{min-height:44px;padding:8px 6px;}
.smfixture__odds .odd__value{font-size:12px;}

/* API-FOOTBALL fixture cards (league page) */
.fixture-card{
  display:block;
  text-decoration:none;
  color:inherit;
  border:1px solid var(--line);
  border-radius:var(--r-chip);
  background:linear-gradient(180deg, rgba(23,28,35,.70), rgba(18,22,28,.70));
  padding:12px;
  transition:border-color var(--hover) var(--ease), box-shadow var(--hover) var(--ease);
}
.fixture-card:hover{border-color:rgba(255,255,255,.15);box-shadow:0 4px 16px rgba(0,0,0,.25);}
.fixture-card__league{display:flex;align-items:center;gap:8px;}
.fixture-card__updated{color:var(--green);font-weight:950;font-size:14px;line-height:1;}
.fixture-card__teams{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.fixture-card__team{display:flex;align-items:center;gap:8px;min-width:0;}
.fixture-card__logo{width:28px;height:28px;object-fit:contain;}
.fixture-card__name{font-size:13px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fixture-card__odds{display:flex;align-items:center;flex-wrap:wrap;gap:8px;}
.fixture-card__odds .odd{min-height:40px;padding:6px 10px;}

.event{
  border:1px solid var(--line);
  border-radius:var(--r-chip);
  background:linear-gradient(180deg, rgba(23,28,35,.70), rgba(18,22,28,.70));
  padding:10px;
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.event__top{
  display:flex;
  gap:10px;
  align-items:flex-start;
  justify-content:space-between;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:10px;
  font-weight:950;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.07);
  background:rgba(12,14,18,.55);
}
.badge--hot{border-color:rgba(227,22,43,.25);background:rgba(227,22,43,.10);color:var(--red);}
.badge--live{border-color:rgba(23,201,100,.25);background:rgba(23,201,100,.10);color:var(--green);}
.event__meta{display:flex;flex-direction:column;gap:4px;}
.event__league{color:var(--muted);font-size:12px;line-height:1.2;}
.event__teams{
  font-weight:950;
  font-size:13px;
  line-height:1.25;
}
.event__score{font-weight:950;color:rgba(231,236,242,.92);font-size:12px;font-variant-numeric:tabular-nums;}
.gateway-tabs{display:flex;gap:8px;margin:12px 0;border:1px solid var(--line);border-radius:var(--r-chip);padding:4px;background:rgba(12,14,18,.5);}
.gateway-tab{flex:1;padding:10px 14px;font-size:13px;font-weight:700;border:none;border-radius:calc(var(--r-chip) - 4px);background:transparent;color:var(--muted);cursor:pointer;transition:background var(--tap) var(--ease),color var(--tap) var(--ease);}
.gateway-tab:hover{color:var(--text);}
.gateway-tab.is-active{background:var(--card);color:var(--text);box-shadow:0 1px 3px rgba(0,0,0,.2);}
.odds{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
}
.odd{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(12,14,18,.55);
  border-radius:var(--r-chip);
  padding:10px 8px;
  display:flex;
  flex-direction:column;
  gap:4px;
  align-items:center;
  cursor:pointer;
  user-select:none;
  min-height:48px;
  transition:transform var(--tap) var(--ease), box-shadow var(--hover) var(--ease), border-color var(--hover) var(--ease), background var(--hover) var(--ease);
}
.odd:hover{box-shadow:0 0 0 1px rgba(42,97,255,.22), 0 0 18px rgba(42,97,255,.10);border-color:rgba(42,97,255,.35);}
.odd:active{transform:translateY(1px) scale(.99);}
.odd__name{font-size:10px;color:var(--muted);font-weight:950;letter-spacing:.2px;}
.odd__value{font-size:13px;font-weight:1000;font-variant-numeric:tabular-nums;}
.odd.is-selected{
  border-color:rgba(42,97,255,.55);
  box-shadow:var(--glow-blue);
}
.odd.is-suspended,.odd.is-locked{
  opacity:.40;
  cursor:not-allowed;
  box-shadow:none;
}
.odd-padlock{display:inline-flex;align-items:center;margin-left:4px;opacity:.9;vertical-align:middle;}
.odd .odd-padlock,.odd-chip .odd-padlock,.home-1x2-odd .odd-padlock{flex-shrink:0;}

.odd.is-flash-up{animation:flashUp 250ms var(--ease) 1;}
.odd.is-flash-down{animation:flashDown 250ms var(--ease) 1;}
@keyframes flashUp{
  0%{box-shadow:none;border-color:rgba(255,255,255,.08);}
  35%{box-shadow:0 0 0 2px rgba(23,201,100,.35), 0 0 22px rgba(23,201,100,.12);border-color:rgba(23,201,100,.65);}
  100%{box-shadow:none;border-color:rgba(255,255,255,.08);}
}
@keyframes flashDown{
  0%{box-shadow:none;border-color:rgba(255,255,255,.08);}
  35%{box-shadow:0 0 0 2px rgba(227,22,43,.32), 0 0 22px rgba(227,22,43,.12);border-color:rgba(227,22,43,.70);}
  100%{box-shadow:none;border-color:rgba(255,255,255,.08);}
}

.bottomnav{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  height:calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom:env(safe-area-inset-bottom, 0px);
  background:rgba(12,14,18,.82);
  border-top:1px solid var(--line);
  display:flex;
  flex-direction:row;
  align-items:stretch;
  justify-content:space-evenly;
  z-index:25;
  backdrop-filter:saturate(180%) blur(10px);
}
.bn{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  font-size:10px;
  font-weight:950;
  letter-spacing:.2px;
  color:rgba(147,160,174,.92);
  padding-top:8px;
  position:relative;
  min-height:44px;
}
.bn.is-active{color:var(--text);}
.bn.is-active::after{
  content:"";
  position:absolute;
  bottom:6px;
  width:36px;
  height:2px;
  border-radius:999px;
  background:var(--red);
  box-shadow:0 0 14px rgba(227,22,43,.20);
}
.bn__icon{
  width:20px;height:20px;
  color:currentColor;
}
.bn__icon svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;}

/* Desktop topbar nav links (replaces bottom nav) */
.topbar__nav{
  display:none;
}
.tn{
  display:inline-block;
  padding:8px 14px;
  font-size:13px;
  font-weight:950;
  color:rgba(147,160,174,.92);
  text-decoration:none;
  border-radius:var(--r-chip);
  transition:color var(--hover) var(--ease), background var(--hover) var(--ease);
}
.tn:hover{color:var(--text);background:rgba(18,22,28,.5);}
.tn.is-active{color:var(--red);}

/* -------- Mobile full-width (≤768px) -------- */
@media (max-width: 768px){
  .app{max-width:100%;width:100%;}
  .main{padding-left:max(var(--pad), env(safe-area-inset-left));padding-right:max(var(--pad), env(safe-area-inset-right));}
}

/* -------- Desktop layout (≥769px) -------- */
@media (min-width: 769px){
  .app{
    max-width:100%;
    padding-bottom:24px;
  }
  .bottomnav{display:none !important;}
  .topbar{
    grid-template-columns:auto 1fr 1fr auto;
    gap:16px 24px;
    padding:12px 24px;
  }
  .topbar__left{justify-self:start;}
  .topbar__brand{justify-self:start;}
  .topbar__nav{
    display:flex;
    align-items:center;
    gap:4px;
    justify-self:center;
  }
  .topbar__right{justify-self:end;}
  .main{
    max-width:1200px;
    margin:0 auto;
    padding:20px 24px;
  }
  .promo__track{
    padding:16px 24px;
  }
  .promo__card{min-width:300px;}
  .quickactions{
    grid-template-columns:repeat(3, 1fr);
    gap:16px;
  }
  .qa{min-height:64px;padding:14px 12px;}
  .card{margin-top:16px;}
  .football-list,.odds-list{padding-bottom:24px;}
  .home-fixtures-list .home-fixture-row{max-width:100%;}
  .promo__track{justify-content:flex-start;}
  .globalfooter{padding:24px;}
  .live-matches-grid{grid-template-columns:repeat(auto-fill, minmax(320px, 1fr));gap:20px;}
  .betslip{
    bottom:24px;
    width:min(400px, calc(100% - 48px));
    margin:0 auto;
    left:50%;
    right:auto;
    transform:translateX(-50%);
  }
  .betslip__pill{width:100%;}
  .footer-marquee__item img{max-width:140px;}
}

/* Focus styles */
.iconbtn:focus-visible,
.balancepill:focus-visible,
.btn:focus-visible,
.odd:focus-visible,
.tab:focus-visible,
.chip:focus-visible,
.tile:focus-visible,
.bn:focus-visible,
.menuitem:focus-visible,
.segbtn:focus-visible,
.input:focus-visible,
.collapsebtn:focus-visible{
  outline:2px solid rgba(42,97,255,.65);
  outline-offset:2px;
}

.betslip{
  position:fixed;
  left:0;
  right:0;
  bottom:calc(var(--bottomnav-h) + 8px);
  width:min(var(--maxw), 100%);
  margin:0 auto;
  z-index:26;
  pointer-events:none;
}
.betslip{
  bottom:calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px) + 8px);
}
.betslip__pill{
  pointer-events:auto;
  width:calc(100% - 24px);
  margin:0 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(23,28,35,.85), rgba(18,22,28,.85)) padding-box,
    linear-gradient(135deg, rgba(227,22,43,.55), rgba(42,97,255,.55)) border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 12px;
  box-shadow:var(--shadow);
  cursor:pointer;
  transition:transform var(--tap) var(--ease), box-shadow var(--hover) var(--ease);
}
.betslip__pill:active{transform:translateY(1px) scale(.99);}
.betslip__count{
  width:26px;height:26px;
  border-radius:999px;
  background:var(--red);
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:950;
  font-size:12px;
}
.betslip__label{font-weight:950;}
.betslip__odds{font-weight:950;color:rgba(231,236,242,.92);font-variant-numeric:tabular-nums;}

.betslip__panel{
  pointer-events:auto;
  width:calc(100% - 24px);
  margin:8px 12px 0;
  border-radius:var(--r-modal);
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(23,28,35,.92), rgba(18,22,28,.92));
  box-shadow:var(--shadow);
  overflow:hidden;
  max-height:68vh;
  display:flex;
  flex-direction:column;
}
.betslip--collapsed .betslip__panel{display:none;}
.betslip__head{
  display:flex;align-items:center;justify-content:space-between;
  padding:12px var(--pad);
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,rgba(23,201,100,.04) 0%,transparent 100%);
}
.betslip__headtitle{font-weight:950;font-size:15px;letter-spacing:.3px;}
.betslip__list{
  padding:var(--pad);
  display:flex;
  flex-direction:column;
  gap:8px;
  overflow:auto;
  max-height:40vh;
}
.slipitem{
  border:1px solid rgba(23,201,100,.12);
  border-radius:10px;
  padding:12px;
  display:flex;
  gap:12px;
  justify-content:space-between;
  align-items:flex-start;
  background:rgba(23,201,100,.04);
  transition:border-color .15s,background .15s;
}
.slipitem:hover{border-color:rgba(23,201,100,.2);background:rgba(23,201,100,.06);}
.slipitem__main{min-width:0;display:flex;flex-direction:column;gap:6px;flex:1;}
.slipitem__title{font-weight:900;font-size:13px;line-height:1.25;}
.slipitem__meta{font-size:11px;color:var(--muted);font-weight:700;}
.slipitem__right{display:flex;align-items:center;gap:10px;flex-shrink:0;}
.slipitem__odds{
  font-weight:1000;font-size:14px;color:var(--green);
  font-variant-numeric:tabular-nums;
  min-width:44px;text-align:right;
}
.slipitem__remove{
  border:1px solid var(--line);
  background:rgba(18,22,28,.8);
  border-radius:8px;
  width:28px;height:28px;
  cursor:pointer;
  color:var(--muted);
  display:grid;place-items:center;
  font-size:14px;line-height:1;
  transition:color .15s,border-color .15s,background .15s;
}
.slipitem__remove:hover{color:var(--text);border-color:rgba(227,22,43,.4);background:rgba(227,22,43,.08);}
.slipitem__remove:active{transform:scale(.95);}
.slipitem.is-changed{border-color:rgba(227,22,43,.4);background:rgba(227,22,43,.08);}
.slipitem.is-flash-up{animation:slipFlashUp 250ms var(--ease) 1;}
.slipitem.is-flash-down{animation:slipFlashDown 250ms var(--ease) 1;}
@keyframes slipFlashUp{
  0%{box-shadow:none;border-color:rgba(255,255,255,.08);}
  35%{box-shadow:0 0 0 2px rgba(23,201,100,.35), 0 0 20px rgba(23,201,100,.10);border-color:rgba(23,201,100,.65);}
  100%{box-shadow:none;border-color:rgba(255,255,255,.08);}
}
@keyframes slipFlashDown{
  0%{box-shadow:none;border-color:rgba(255,255,255,.08);}
  35%{box-shadow:0 0 0 2px rgba(227,22,43,.30), 0 0 20px rgba(227,22,43,.10);border-color:rgba(227,22,43,.70);}
  100%{box-shadow:none;border-color:rgba(255,255,255,.08);}
}
.slipitem__badge{
  display:inline-flex;
  font-size:10px;
  font-weight:950;
  color:var(--red);
}

.betslip__footer{
  border-top:1px solid var(--line);
  padding:10px 12px 12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.betslip__odds-breakdown{
  font-size:12px;
  font-weight:900;
  font-variant-numeric:tabular-nums;
  padding-bottom:2px;
}
.row{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;}
.row--gap{gap:10px;}
.row--compact{justify-content:flex-start;gap:8px;}
.row--compact > .btn{flex:0 0 auto;}
.field{display:flex;flex-direction:column;gap:6px;flex:1;}
.field__label{font-size:11px;color:var(--muted);font-weight:900;}
.input{
  width:100%;
  border:1px solid var(--line);
  border-radius:var(--r-chip);
  padding:10px 12px;
  font-size:16px; /* Prevents iOS zoom on focus */
  font-weight:900;
  outline:none;
  background:rgba(12,14,18,.55);
  color:var(--text);
  font-variant-numeric:tabular-nums;
  transition:box-shadow var(--hover) var(--ease), border-color var(--hover) var(--ease);
}
.input:focus{box-shadow:var(--glow-blue);border-color:rgba(42,97,255,.45);}
.potwin{min-width:120px;text-align:right;}
.potwin__label{font-size:11px;color:var(--muted);font-weight:900;}
.potwin__value{font-weight:950;}
.inlineerror{color:var(--red);font-size:12px;font-weight:900;}

.btn{
  border:1px solid var(--line);
  background:rgba(18,22,28,.75);
  border-radius:var(--r-chip);
  padding:11px 12px;
  font-weight:950;
  cursor:pointer;
  flex:1;
  min-height:44px;
  color:var(--text);
  transition:transform var(--tap) var(--ease), box-shadow var(--hover) var(--ease), border-color var(--hover) var(--ease), filter var(--hover) var(--ease);
}
.btn:disabled{opacity:.5;cursor:not-allowed;}
.btn[aria-disabled="true"], .btn.is-disabled{opacity:.5;cursor:not-allowed;pointer-events:none;}
.btn--sm{padding:8px 10px;font-size:12px;flex:0;}
.btn:hover{box-shadow:0 0 0 1px rgba(42,97,255,.16), 0 12px 24px rgba(0,0,0,.26);border-color:rgba(42,97,255,.26);}
.btn:active{transform:translateY(1px) scale(.99);}

/* Signature CTA: angled gradient border + inner stroke */
.btn--primary{
  border:1px solid transparent;
  background:
    linear-gradient(180deg, rgba(227,22,43,.96), rgba(227,22,43,.86)) padding-box,
    linear-gradient(135deg, rgba(227,22,43,.95), rgba(42,97,255,.92)) border-box;
  color:var(--white);
  position:relative;
}
.btn--primary::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:calc(var(--r-chip) - 1px);
  border:1px solid rgba(255,255,255,.10);
  pointer-events:none;
}
.btn--primary:hover{box-shadow:var(--glow-red);}

.btn--secondary{
  border:1px solid transparent;
  background:
    linear-gradient(180deg, rgba(42,97,255,.96), rgba(42,97,255,.86)) padding-box,
    linear-gradient(135deg, rgba(42,97,255,.92), rgba(227,22,43,.50)) border-box;
  color:var(--white);
  position:relative;
}
.btn--secondary::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:calc(var(--r-chip) - 1px);
  border:1px solid rgba(255,255,255,.10);
  pointer-events:none;
}
.btn--ghost{background:transparent;border-color:rgba(255,255,255,.10);}
.btn--danger{color:var(--red, #e31e43);border-color:rgba(227,30,67,.4);}
.btn--danger:hover{background:rgba(227,30,67,.12);border-color:var(--red, #e31e43);}
.btn--success{
  border:1px solid rgba(var(--btn-green-rgb), .30);
  background:
    linear-gradient(180deg, rgba(var(--btn-green-rgb), .98), rgba(var(--btn-green-rgb), .86)) padding-box,
    linear-gradient(135deg, rgba(var(--btn-green-rgb), .55), rgba(42,97,255,.28)) border-box;
  color:var(--white);
  position:relative;
}
.btn--success::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:calc(var(--r-chip) - 1px);
  border:1px solid rgba(255,255,255,.10);
  pointer-events:none;
}
.btn--outline-success{
  border:1px solid rgba(var(--btn-green-rgb), .55);
  background:rgba(12,14,18,.25);
  color:rgba(231,236,242,.95);
}
.btn[disabled]{opacity:.45;cursor:not-allowed;transform:none !important;box-shadow:none !important;}

.modal{
  position:fixed;
  inset:0;
  z-index:60;
  display:grid;
  place-items:end center;
}
.modal--fullscreen{place-items:center;}
.modal--center{place-items:center;}
.modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.35);
}
.modal__sheet{
  position:relative;
  width:min(var(--maxw), 100%);
  border-radius:var(--r-modal) var(--r-modal) 0 0;
  background:linear-gradient(180deg, rgba(23,28,35,.96), rgba(18,22,28,.96));
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  padding-bottom:calc(env(safe-area-inset-bottom, 0px));
}
.modal__sheet--full{
  border-radius:var(--r-modal);
  padding:18px;
}
.modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px;
  border-bottom:1px solid var(--line);
}
.modal__title{font-weight:950;}
.modal__body{padding:12px;display:flex;flex-direction:column;gap:10px;}
.muted{color:var(--muted);font-size:12px;}
.searchresults{display:flex;flex-direction:column;gap:8px;}
.searchrow{
  border:1px solid var(--line);
  border-radius:var(--r-chip);
  padding:10px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  background:rgba(12,14,18,.40);
}
.walletsummary{
  border:1px solid var(--line);
  border-radius:var(--r-chip);
  padding:12px;
  background:rgba(12,14,18,.40);
}
.walletsummary__row{display:flex;justify-content:space-between;align-items:center;padding:6px 0;}
.walletsummary__label{color:var(--muted);font-weight:900;font-size:12px;}
.walletsummary__value{font-weight:950;}

.oddslist{display:flex;flex-direction:column;gap:8px;}
.loadcode-stake{margin-top:12px;}
.loadcode-actions{
  display:flex;
  gap:10px;
  margin-top:12px;
}
.loadcode-actions .loadcode-btn{
  flex:1;
  min-width:0;
}
.oddsrow{
  border:1px solid var(--line);
  border-radius:var(--r-chip);
  padding:10px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  background:rgba(12,14,18,.40);
}
.oddsrow.is-changed{border-color:rgba(227,22,43,.35);background:rgba(227,22,43,.06);}

.win{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:center;
  text-align:center;
}

/* FLASHWIN win popup (premium) */
.winfx{
  position:relative;
  width:168px;
  height:168px;
  display:grid;
  place-items:center;
  margin:2px 0 4px;
}
.winfx__ring{
  position:absolute;
  inset:0;
  border-radius:999px;
  background:
    radial-gradient(circle at 35% 25%, rgba(42,97,255,.22), rgba(42,97,255,0) 55%),
    radial-gradient(circle at 70% 75%, rgba(227,22,43,.18), rgba(227,22,43,0) 58%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 18px 60px rgba(0,0,0,.48),
    0 0 38px rgba(42,97,255,.12),
    0 0 34px rgba(227,22,43,.10);
  animation:winRing 1400ms var(--ease) infinite;
}
.winfx__trophy{
  position:relative;
  width:86px;
  height:86px;
  stroke:rgba(231,236,242,.96);
  fill:none;
  stroke-width:2.25;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.55));
  animation:winFloat 1800ms var(--ease) infinite;
}
.winfx__trophy path:nth-child(1){
  stroke:rgba(23,201,100,.95);
  filter:drop-shadow(0 0 18px rgba(23,201,100,.22));
}
.winfx__bolt{
  position:absolute;
  --rot:0deg;
  width:14px;
  height:30px;
  border-radius:6px;
  background:linear-gradient(180deg, rgba(42,97,255,.95), rgba(227,22,43,.65));
  box-shadow:0 0 18px rgba(42,97,255,.16), 0 0 18px rgba(227,22,43,.10);
  opacity:.85;
  transform:translateY(0) rotate(var(--rot));
  animation:winBolt 1000ms var(--ease) infinite;
}
.winfx__bolt--1{left:16px;top:26px;--rot:-18deg;}
.winfx__bolt--2{right:16px;top:30px;--rot:14deg;animation-delay:120ms;}
.winfx__bolt--3{right:42px;bottom:18px;--rot:26deg;animation-delay:240ms;}
.winfx__spark{
  position:absolute;
  width:6px;
  height:6px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  box-shadow:0 0 18px rgba(255,255,255,.22), 0 0 26px rgba(42,97,255,.12);
  animation:winSpark 1200ms var(--ease) infinite;
}
.winfx__spark--1{left:34px;bottom:34px;animation-delay:80ms;}
.winfx__spark--2{right:34px;bottom:42px;animation-delay:200ms;}
.winfx__spark--3{left:50%;top:14px;margin-left:-3px;animation-delay:320ms;}

.win__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(135deg, rgba(42,97,255,.20), rgba(227,22,43,.14));
  box-shadow:0 10px 22px rgba(0,0,0,.35);
  font-size:11px;
  font-weight:1000;
  letter-spacing:.6px;
}
.win__title{
  font-weight:1100;
  letter-spacing:1px;
  font-size:16px;
  text-transform:uppercase;
}
.win__amount{
  font-size:30px;
  font-weight:1100;
  font-variant-numeric:tabular-nums;
  background:linear-gradient(90deg, rgba(23,201,100,1), rgba(42,97,255,.95));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:0 0 28px rgba(23,201,100,.10);
}
.win__sub{color:var(--muted);font-size:12px;font-weight:900;}
.win__verify{font-size:12px;font-weight:950;color:rgba(231,236,242,.92);}

/* Image overlay win design */
.win--image-overlay{
  position:relative;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:center;
  padding:40px 20px;
  background-image:url("../../assets/images/winningoverlay.png");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-color:#0c0e12;
  /* Fallback gradient overlay if image not found */
  background-image:linear-gradient(135deg, rgba(23,201,100,.15), rgba(42,97,255,.1)), url("../../assets/images/winningoverlay.png");
}
.win--image-overlay::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.2) 50%, rgba(0,0,0,.5) 100%);
  z-index:0;
}
.win__top{
  position:relative;
  z-index:1;
  text-align:center;
  margin-top:60px;
}
.win--image-overlay .win__badge{
  backdrop-filter:blur(10px);
  margin-bottom:20px;
}
.win--image-overlay .win__title{
  font-size:32px;
  font-weight:1000;
  letter-spacing:.5px;
  margin-bottom:12px;
  text-shadow:0 4px 20px rgba(0,0,0,.5);
  background:linear-gradient(180deg, #ffffff, rgba(255,255,255,.85));
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  text-transform:none;
  line-height:1.2;
}
.win__subtitle{
  font-size:16px;
  font-weight:600;
  color:rgba(255,255,255,.9);
  text-shadow:0 2px 10px rgba(0,0,0,.4);
}
.win__bottom{
  position:relative;
  z-index:1;
  text-align:center;
  margin-bottom:80px;
}
.win__amount-label{
  font-size:14px;
  font-weight:700;
  color:rgba(255,255,255,.8);
  text-transform:uppercase;
  letter-spacing:1px;
  margin-bottom:8px;
  text-shadow:0 2px 8px rgba(0,0,0,.4);
}
.win--image-overlay .win__amount{
  font-size:48px;
  font-weight:1100;
  font-variant-numeric:tabular-nums;
  background:linear-gradient(180deg, rgba(23,201,100,1), rgba(42,97,255,.95));
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  text-shadow:0 0 30px rgba(23,201,100,.3);
  line-height:1.1;
  margin-bottom:12px;
}
.win__currency{
  font-size:20px;
  font-weight:800;
  color:rgba(255,255,255,.95);
  text-shadow:0 2px 10px rgba(0,0,0,.4);
}
.win--image-overlay .win__verify{
  font-size:13px;
  font-weight:500;
  color:rgba(255,255,255,.75);
  margin-top:8px;
  text-shadow:0 1px 6px rgba(0,0,0,.3);
}
.win__actions{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:center;
  margin-top:auto;
  margin-bottom:40px;
}
@media (max-width:640px){
  .win--image-overlay{padding:30px 16px;}
  .win--image-overlay .win__title{font-size:26px;}
  .win--image-overlay .win__amount{font-size:36px;}
  .win__currency{font-size:18px;}
  .win__top{margin-top:40px;}
  .win__bottom{margin-bottom:50px;}
}

@keyframes winRing{
  0%,100%{transform:scale(1);opacity:1;}
  50%{transform:scale(1.03);opacity:.92;}
}
@keyframes winFloat{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-4px);}
}
@keyframes winBolt{
  0%,100%{transform:translateY(0) rotate(var(--rot));opacity:.78;}
  50%{transform:translateY(-3px) rotate(var(--rot));opacity:1;}
}
@keyframes winSpark{
  0%,100%{transform:translateY(0) scale(1);opacity:.75;}
  40%{transform:translateY(-10px) scale(1.15);opacity:1;}
  70%{transform:translateY(-3px) scale(.98);opacity:.85;}
}

/* Withdrawal success overlay (demo simulation) */
.withdraw-success-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  opacity:0;
  visibility:hidden;
  transition:opacity 280ms var(--ease), visibility 280ms var(--ease);
}
.withdraw-success-overlay--visible{
  opacity:1;
  visibility:visible;
}
.withdraw-success-overlay--exiting{
  opacity:0;
  visibility:hidden;
}
.withdraw-success-overlay__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.75);
  backdrop-filter:blur(8px);
  cursor:pointer;
}
.withdraw-success-overlay__content{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
  max-width:320px;
  padding:32px 24px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--r-modal);
  box-shadow:0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06) inset;
  text-align:center;
  animation:withdrawSuccessPop 400ms var(--ease) backwards;
}
@keyframes withdrawSuccessPop{
  0%{transform:scale(.92);opacity:0;}
  100%{transform:scale(1);opacity:1;}
}
.withdraw-success-overlay__checkmark{
  position:relative;
  width:100px;
  height:100px;
  display:grid;
  place-items:center;
  margin-bottom:8px;
}
.withdraw-success-overlay__ring{
  position:absolute;
  inset:0;
  border-radius:999px;
  background:radial-gradient(circle at 35% 25%, rgba(23,201,100,.35), rgba(23,201,100,0) 55%);
  box-shadow:0 0 0 1px rgba(23,201,100,.2) inset, 0 0 40px rgba(23,201,100,.25);
  animation:winRing 1400ms var(--ease) infinite;
}
.withdraw-success-overlay__icon{
  position:relative;
  width:48px;
  height:48px;
  color:var(--green);
  filter:drop-shadow(0 0 20px rgba(23,201,100,.4));
  animation:winFloat 1800ms var(--ease) infinite;
}
.withdraw-success-overlay__badge{
  margin-top:4px;
}
.withdraw-success-overlay__amount{
  font-size:28px;
  font-weight:1100;
  font-variant-numeric:tabular-nums;
  background:linear-gradient(90deg, rgba(23,201,100,1), rgba(42,97,255,.95));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  margin:0;
}
.withdraw-success-overlay__currency{
  font-size:14px;
  font-weight:900;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:1px;
  margin:0;
}
.withdraw-success-overlay__note{
  font-size:12px;
  color:var(--muted);
  margin:0;
}

.withdraw-success-overlay__dismiss{
  margin-top:8px;
}

/* Optional light theme (toggle) */
body.theme-light{
  --bg:#ffffff;
  --card:#f6f7fb;
  --elev:#ffffff;
  --text:#0c1020;
  --muted:#6b7280;
  --line:rgba(12,16,32,.12);
  --shadow:0 10px 30px rgba(12,16,32,.10);
}
body.theme-light .topbar,
body.theme-light .livestrip,
body.theme-light .bottomnav{background:rgba(255,255,255,.92);}

/* -------- Extra UI building blocks (AZ/Games/Open Bets/Me) -------- */
.sectionhead{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;}
.sectionhead--wrap{flex-wrap:wrap;}
.sectiontitle{font-weight:1000;letter-spacing:.2px;}
.sectionsub{color:var(--muted);font-size:12px;font-weight:850;margin-top:2px;}

/* -------- Admin dashboard layout -------- */
.app--admin{
  --maxw:1140px;
  --pad:16px;
  --brand-logo-h:50px;
  padding-bottom:18px;
  overflow-x:hidden;
}
.app--admin .main{overflow-x:hidden;}

/* Bootlab-style admin shell */
.adminmain{padding:var(--pad);display:block;max-width:100%;}
.admshell{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  align-items:start;
  min-width:0;
}
.admbackdrop{
  position:fixed;
  inset:0;
  z-index:55;
  background:rgba(0,0,0,.45);
  border:none;
}
.admside{
  display:block;
  position:fixed;
  left:12px;
  right:auto;
  top:calc(var(--topbar-h) + 12px);
  bottom:12px;
  width:min(300px, calc(100vw - 24px));
  z-index:56;
  border:1px solid var(--line);
  border-radius:var(--r-modal);
  background:linear-gradient(180deg, rgba(23,28,35,.70), rgba(18,22,28,.70));
  padding:14px;
  transform:translateX(-120%);
  transition:transform var(--modal) var(--ease);
  overflow:auto;
}
.admside.is-open{transform:translateX(0);}
.admside__title{font-weight:1100;letter-spacing:.3px;}
.admside__sub{color:var(--muted);font-size:12px;font-weight:850;margin-top:2px;}
.admnav{display:flex;flex-direction:column;gap:8px;margin-top:12px;}
.admnav__item{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(12,14,18,.28);
  cursor:pointer;
  font-weight:950;
  letter-spacing:.15px;
  transition:transform var(--tap) var(--ease), box-shadow var(--hover) var(--ease), border-color var(--hover) var(--ease);
}
.admnav__icon{
  width:34px;height:34px;
  display:grid;place-items:center;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(12,14,18,.45);
  flex:0 0 auto;
}
.admnav__icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;}
.admnav__item:hover{box-shadow:0 0 0 1px rgba(42,97,255,.12), 0 16px 34px rgba(0,0,0,.22);border-color:rgba(42,97,255,.20);}
.admnav__item:active{transform:translateY(1px) scale(.99);}
.admnav__item.is-active{
  border-color:rgba(42,97,255,.28);
  box-shadow:var(--glow-blue);
  background:linear-gradient(135deg, rgba(42,97,255,.14), rgba(227,22,43,.08));
}

.admbody{min-width:0;max-width:100%;}
.admview{min-width:0;}
.admhead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
  flex-wrap:wrap;
}
.admhead__title{font-weight:1100;letter-spacing:.25px;font-size:14px;}
.admhead__sub{color:var(--muted);font-size:12px;font-weight:850;margin-top:2px;}
.admhead__actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.admtabs{
  position:sticky;
  top:calc(var(--topbar-h) + 10px);
  z-index:10;
  background:rgba(12,14,18,.55);
  backdrop-filter:saturate(180%) blur(10px);
  padding:8px;
  border-radius:var(--r-modal);
  border:1px solid rgba(255,255,255,.06);
  margin-bottom:12px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  flex-wrap:nowrap;
  min-width:min-content;
}
.admtabs .seg{
  flex:0 0 auto;
  min-height:44px;
  padding:8px 12px;
  font-size:12px;
  white-space:nowrap;
}

.admgrid{display:grid;gap:12px;min-width:0;}
.admgrid--2{grid-template-columns:1fr;}
.admcard{
  border:1px solid var(--line);
  border-radius:var(--r-modal);
  background:linear-gradient(180deg, rgba(23,28,35,.70), rgba(18,22,28,.70));
  box-shadow:0 18px 60px rgba(0,0,0,.20);
  min-width:0;
  overflow:hidden;
}
.admcard__head{
  padding:12px 12px 10px;
  border-bottom:1px solid rgba(255,255,255,.06);
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.admcard__title{font-weight:1050;letter-spacing:.2px;}
.admcard__sub{color:var(--muted);font-size:12px;font-weight:850;margin-top:2px;}
.admcard__body{padding:12px;display:flex;flex-direction:column;gap:10px;min-width:0;}
.admcard--span2{grid-column:1 / -1;}
.app--admin .admcard__body .input{width:100%;max-width:100%;box-sizing:border-box;}

.admstats{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}
.admstat{
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--r-modal);
  background:
    radial-gradient(circle at 30% 20%, rgba(42,97,255,.10), rgba(42,97,255,0) 55%),
    radial-gradient(circle at 80% 70%, rgba(227,22,43,.08), rgba(227,22,43,0) 58%),
    rgba(12,14,18,.28);
  padding:12px;
  box-shadow:0 18px 50px rgba(0,0,0,.18);
}
.admstat__k{color:var(--muted);font-size:11px;font-weight:950;letter-spacing:.2px;}
.admstat__v{margin-top:6px;font-weight:1200;font-size:22px;letter-spacing:.2px;font-variant-numeric:tabular-nums;}
.admstat__s{margin-top:4px;color:rgba(147,160,174,.92);font-size:11px;font-weight:850;}

.admshortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px;}
.admshortcuts .chip{flex:0 0 auto;}

.adm-panels{display:block;}
.adm-panel{display:none;}
.adm-panel.is-active{display:block;}
.adm-panel__head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:10px;}
.adm-panel__title{font-weight:1000;font-size:12px;letter-spacing:.15px;}
.adm-panel__hint{color:var(--muted);font-size:11px;font-weight:850;}
.admlist{display:flex;flex-direction:column;gap:10px;}

.admlisthead{
  display:none;
  grid-template-columns:1fr auto;
  gap:10px;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(12,14,18,.18);
  color:rgba(147,160,174,.95);
  font-size:11px;
  font-weight:950;
  letter-spacing:.15px;
  margin-bottom:10px;
}

.menuitem--admin{
  text-align:left;
  padding:10px;
  min-height:60px;
}
.menuitem--admin .menuitem__icon{width:38px;height:38px;border-radius:14px;}
.menuitem--admin .menuitem__label{font-size:13px;}
.menuitem--adminrow{cursor:pointer;}
.menuitem__right{
  display:flex;
  align-items:center;
  gap:10px;
}
.menuitem__actions{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.menuitem__actions .btn{min-width:auto;}

@media (min-width: 920px){
  .admshell{grid-template-columns:260px 1fr;gap:16px;}
  .admbackdrop{display:none !important;}
  .admside{
    position:sticky;
    left:auto;
    top:calc(var(--topbar-h) + 10px);
    bottom:auto;
    width:auto;
    transform:none;
    overflow:visible;
  }
  .admtabs{display:none;}
  .admgrid--2{grid-template-columns:repeat(2, minmax(0, 1fr));}
  .admstats{grid-template-columns:repeat(4, minmax(0, 1fr));}
  .admlisthead{display:grid;}
  #adminNavToggleBtn{display:none;}
}

@media (max-width: 540px){
  .app--admin .admhead{flex-direction:column;align-items:stretch;}
  .app--admin .admhead__actions{justify-content:flex-start;}
}

@media (max-width: 520px){
  .app--admin .row{flex-direction:column;}
  .app--admin .row > .field{min-width:0;flex:1 1 100%;}
  .app--admin .row > .btn{min-width:0;width:100%;flex:1 1 auto;}
}

/* Phase 7: ≤420px baseline (mobile-first QA) */
@media (max-width: 420px){
  .app{--pad:10px;padding-bottom:calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px) + 10px);}
  .app--admin{--pad:12px;}
  .adminmain{padding:var(--pad);}
  .menuitem__right{align-items:flex-end;}
  .menuitem__actions{gap:6px;}
  .menuitem__actions .btn--sm{padding:7px 9px;font-size:11px;}
  .menuitem--admin .menuitem__left{min-width:0;}
  .menuitem--admin .menuitem__text{min-width:0;}
  .menuitem--admin .menuitem__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
}

@media (max-width: 380px){
  .app--admin .admhead{flex-direction:column;align-items:stretch;}
  .app--admin .admhead__actions{justify-content:flex-start;}
  .admstats{grid-template-columns:1fr;}
  .admstat__v{font-size:18px;}
}
.app--admin .kv .input{min-width:0;}
.app--admin .admshortcuts{min-width:0;}
.dashhead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}
.dashhead__title{font-weight:1100;letter-spacing:.25px;font-size:14px;}
.dashhead__sub{color:var(--muted);font-size:12px;font-weight:850;margin-top:2px;}
.dashgrid{
  display:grid;
  gap:12px;
}
@media (min-width: 860px){
  .dashgrid{grid-template-columns:repeat(2, minmax(0, 1fr));gap:14px;}
  .dashcard--span2{grid-column:1 / -1;}
}
.dashcard{
  border:1px solid var(--line);
  border-radius:var(--r-modal);
  background:linear-gradient(180deg, rgba(23,28,35,.70), rgba(18,22,28,.70));
  overflow:hidden;
}
.dashcard > summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  user-select:none;
}
.dashcard > summary::-webkit-details-marker{display:none;}
.dashcard__title{font-weight:1050;letter-spacing:.2px;}
.dashcard__sub{color:var(--muted);font-size:12px;font-weight:850;margin-top:2px;}
.dashcard__chev{
  width:34px;height:34px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(12,14,18,.35);
  display:grid;place-items:center;
  color:rgba(231,236,242,.92);
  flex:0 0 auto;
}
.dashcard__chev svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;transition:transform var(--hover) var(--ease);}
details[open].dashcard > summary .dashcard__chev svg{transform:rotate(180deg);}
.dashcard__body{
  padding:12px;
  border-top:1px solid rgba(255,255,255,.06);
  display:flex;
  flex-direction:column;
  gap:12px;
}
.dashpanelwrap{display:flex;flex-direction:column;gap:10px;}
.dashtabs{margin-top:2px;}
.dashpanels{display:block;}
.dashpanel{
  display:none;
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--r-chip);
  background:rgba(12,14,18,.28);
  padding:10px;
}
.dashpanel.is-active{display:block;}
.dashpanel__head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:10px;}
.dashpanel__title{font-weight:1000;font-size:12px;letter-spacing:.15px;}
.dashpanel__hint{color:var(--muted);font-size:11px;font-weight:850;}

@media (min-width: 860px){
  .dashtabs{display:none;}
  .dashpanels{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:12px;}
  .dashpanel{display:block;}
}

/* Admin-only: reduce form crowding, compact buttons */
.app--admin .row{flex-wrap:wrap;align-items:stretch;justify-content:flex-start;gap:8px;}
.app--admin .row > .btn{flex:0 0 auto;min-width:auto;}
.app--admin .field{min-width:220px;flex:1;}
.app--admin .btn{min-width:180px;}

.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(12,14,18,.45);
  font-size:11px;
  font-weight:950;
  letter-spacing:.25px;
}
.pill--open{border-color:rgba(245,192,68,.25);background:rgba(245,192,68,.10);color:var(--amber);}
.pill--won{border-color:rgba(23,201,100,.25);background:rgba(23,201,100,.10);color:var(--green);}
.pill--lost{border-color:rgba(227,22,43,.25);background:rgba(227,22,43,.10);color:var(--red);}
.pill--live{border-color:rgba(227,22,43,.35);background:rgba(227,22,43,.15);color:#f44;font-weight:700;animation:pillPulse 1.5s ease-in-out infinite;}
.pill--ft{border-color:rgba(120,120,130,.3);background:rgba(120,120,130,.10);color:var(--muted);}
@keyframes pillPulse{0%,100%{opacity:1}50%{opacity:.55}}
.admcard--live{border-left:3px solid #f44;}
.pill--void{border-color:rgba(147,160,174,.22);background:rgba(147,160,174,.10);color:var(--muted);}

/* Deposit proof panel */
.dep-proof-panel{
  margin:16px 0;
  padding:14px;
  background:rgba(18,22,28,.5);
  border:1px solid var(--line,#2a2d35);
  border-radius:10px;
}
.dep-proof-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:10px;
}
.dep-proof-title{
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.5px;
  color:var(--muted,#888);
}
.dep-proof-link{
  display:block;
  text-align:center;
}
.dep-proof-img{
  max-width:100%;
  max-height:320px;
  border-radius:8px;
  border:1px solid var(--line,#333);
  object-fit:contain;
}
.dep-row-left .dep-thumb{
  width:40px;
  height:40px;
  border-radius:6px;
  object-fit:cover;
  border:1px solid var(--line,#333);
  margin-right:10px;
  flex-shrink:0;
}
.dep-actions{margin-top:4px;}
.dep-resolved{
  display:flex;
  align-items:center;
  margin-top:12px;
  padding:10px 0;
}

.segmented{
  display:flex;
  gap:8px;
  padding:6px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(18,22,28,.65);
}
.segbtn{
  border:1px solid transparent;
  background:transparent;
  color:rgba(147,160,174,.92);
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  font-weight:1000;
  min-height:40px;
  cursor:pointer;
  transition:box-shadow var(--hover) var(--ease), transform var(--tap) var(--ease), color var(--hover) var(--ease);
}
.segbtn.is-active{
  color:var(--text);
  background:rgba(12,14,18,.55);
  border-color:rgba(255,255,255,.08);
  box-shadow:0 0 0 1px rgba(42,97,255,.12);
}

.menu{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.menuitem{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  border-radius:var(--r-chip);
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(23,28,35,.70), rgba(18,22,28,.70));
  cursor:pointer;
  transition:transform var(--tap) var(--ease), box-shadow var(--hover) var(--ease), border-color var(--hover) var(--ease);
  min-height:56px;
}
.menuitem:hover{box-shadow:0 0 0 1px rgba(42,97,255,.16), 0 14px 30px rgba(0,0,0,.26);border-color:rgba(42,97,255,.22);}
.menuitem:active{transform:translateY(1px) scale(.99);}
.menuitem__left{display:flex;align-items:center;gap:10px;min-width:0;}
.menuitem__icon{
  width:40px;height:40px;
  border-radius:0;
  border:none;
  background:transparent;
  display:grid;place-items:center;
  color:var(--text);
  flex:0 0 auto;
}
.menuitem__icon svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;}
.menuitem__text{min-width:0;display:flex;flex-direction:column;gap:2px;}
.menuitem__label{font-weight:1000;font-size:13px;letter-spacing:.2px;}
.menuitem__sub{color:var(--muted);font-size:11px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.menuitem__chev{color:rgba(147,160,174,.9);font-weight:1000;}

.emptystate{
  border:1px dashed rgba(147,160,174,.22);
  border-radius:var(--r-modal);
  padding:16px;
  text-align:center;
  background:rgba(12,14,18,.25);
}
.emptystate__icon{
  width:56px;height:56px;
  border-radius:18px;
  margin:0 auto 10px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(18,22,28,.65);
  display:grid;place-items:center;
  color:var(--text);
}
.emptystate__icon svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;}
.emptystate__title{font-weight:1000;margin:0;}
.emptystate__sub{color:var(--muted);font-size:12px;font-weight:850;margin-top:6px;}

/* ── Betcard (SportyBet-style ticket) ───────────────────────────── */
.betcard{
  border:1px solid var(--line);
  border-radius:14px;
  background:linear-gradient(180deg,rgba(23,28,35,.85),rgba(18,22,28,.9));
  padding:0;
  display:flex;
  flex-direction:column;
  gap:0;
  overflow:hidden;
}
.betcard--won{border-color:rgba(23,201,100,.25);background:linear-gradient(180deg,rgba(23,201,100,.06),rgba(18,22,28,.92));}
.betcard--lost{border-color:rgba(227,22,43,.2);background:linear-gradient(180deg,rgba(227,22,43,.04),rgba(18,22,28,.92));}
.betcard__header{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:12px var(--pad);
  border-bottom:1px solid var(--line);
  background:rgba(0,0,0,.15);
}
.betcard__head{display:flex;align-items:center;gap:10px;min-width:0;flex:1;}
.betcard__status-icon{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;}
.betcard__icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:32px;height:32px;border-radius:50%;
}
.betcard__icon--won{background:rgba(23,201,100,.22);color:var(--green);}
.betcard__icon--lost{background:rgba(227,22,43,.2);color:#E3162B;}
.betcard__icon--open{background:rgba(147,160,174,.15);color:var(--muted);}
.betcard__title{font-weight:900;font-size:13px;letter-spacing:.2px;}
.betcard__meta{color:var(--muted);font-size:11px;font-weight:800;margin-top:2px;}
.betcard__verify{font-size:10px;font-weight:800;color:var(--muted);font-variant-numeric:tabular-nums;letter-spacing:.5px;}
.betgrid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  border-bottom:1px solid var(--line);
}
.kv{
  border-right:1px solid var(--line);
  padding:12px var(--pad);
  background:rgba(12,14,18,.25);
}
.kv:last-child{border-right:none;}
.kv__k{color:var(--muted);font-size:10px;font-weight:900;letter-spacing:.3px;text-transform:uppercase;}
.kv__v{margin-top:4px;font-weight:1000;font-variant-numeric:tabular-nums;font-size:14px;}
.betcard--won .kv__v{color:var(--green);}
.betcard__selections{padding:0;}
.betcard__sel{
  display:flex;align-items:flex-start;gap:10px;
  padding:12px var(--pad);
  border-bottom:1px solid var(--line);
  min-height:56px;
}
.betcard__sel:last-child{border-bottom:none;}
.betcard__sel-icon{
  flex-shrink:0;width:24px;height:24px;border-radius:50%;
  display:grid;place-items:center;
  margin-top:1px;
}
.betcard__sel-icon--won{background:rgba(23,201,100,.2);color:var(--green);}
.betcard__sel-icon--lost{background:rgba(227,22,43,.18);color:#E3162B;}
.betcard__sel-icon--open{background:rgba(147,160,174,.12);color:var(--muted);}
.betcard__sel-icon--void{background:rgba(147,160,174,.1);color:var(--muted);opacity:.7;}
.betcard__sel-body{min-width:0;flex:1;}
.betcard__sel-title{font-weight:900;font-size:12px;line-height:1.3;}
.betcard__sel-meta{font-size:11px;color:var(--muted);font-weight:700;margin-top:2px;}
.betcard__sel-odds{font-weight:1000;font-size:13px;color:var(--green);font-variant-numeric:tabular-nums;flex-shrink:0;}
.betcard__actions{display:flex;gap:10px;align-items:center;}

/* ── Bet preview cards (SportyBet-style compact) ─────────────────────── */
.bet-history-tabs{display:flex;gap:0;background:var(--elev);border-radius:var(--r-chip);padding:4px;}
.bet-history-tab{padding:10px 16px;font-size:13px;font-weight:900;color:var(--muted);background:transparent;border:none;border-radius:calc(var(--r-chip) - 2px);cursor:pointer;transition:color .2s,background .2s;}
.bet-history-tab:hover{color:var(--text);}
.bet-history-tab.is-active{background:var(--card);color:var(--text);box-shadow:0 1px 3px rgba(0,0,0,.3);}
.sectionhead__actions{margin-top:12px;}
.bet-previews{display:flex;flex-direction:column;gap:12px;}
.bet-preview-date{font-size:12px;font-weight:900;color:var(--muted);margin-bottom:4px;padding-left:2px;}
.bet-preview{display:block;text-decoration:none;color:inherit;transition:transform .15s,opacity .15s;}
.bet-preview:hover{transform:translateY(-1px);opacity:.95;}
.bet-preview__header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;font-weight:700;font-size:13px;}
.bet-preview__header--won{background:rgba(23,201,100,.18);color:var(--text);}
.bet-preview__header--lost{background:rgba(227,22,43,.12);color:var(--text);}
.bet-preview__header--open{background:rgba(147,160,174,.1);color:var(--text);}
.bet-preview__status{display:flex;align-items:center;gap:8px;}
.bet-preview__status-icon{display:inline-flex;color:var(--green);}
.bet-preview__status-icon svg{width:18px;height:18px;}
.bet-preview__status-icon--lost{color:rgba(227,22,43,.9);}
.bet-preview__status-icon--open{color:var(--muted);}
.bet-preview__arrow{opacity:.7;display:inline-flex;}
.bet-preview__arrow svg{width:14px;height:14px;}
.bet-preview__body{padding:14px;background:rgba(18,22,28,.4);}
.bet-preview--won .bet-preview__body{background:rgba(23,201,100,.06);}
.bet-preview--lost .bet-preview__body{background:rgba(227,22,43,.05);}
.bet-preview--open .bet-preview__body{background:rgba(147,160,174,.05);}
.bet-preview__row{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:6px;}
.bet-preview__row:last-of-type{margin-bottom:0;}
.bet-preview__label{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-weight:700;}
.bet-preview__ico{display:inline-flex;opacity:.8;}
.bet-preview__ico svg{width:14px;height:14px;}
.bet-preview__value{font-weight:700;font-variant-numeric:tabular-nums;color:var(--text);}
.bet-preview__value--won{color:var(--green);}
.bet-preview__value--lost{color:rgba(227,22,43,.85);}
.bet-preview__value--open{color:var(--green);}
.bet-preview__teams{display:flex;align-items:center;gap:6px;font-size:11px;margin-top:8px;font-weight:700;color:var(--muted);}

/* ── Ticket Details (premium design) ─────────────────────────────────── */
body.page-ticket .topbar__title{display:block;font-size:12px;font-weight:700;color:var(--muted);}
.ticket-main{padding:0;font-family:'Inter',system-ui,sans-serif;}
.ticket-loading,.ticket-error{display:flex;flex-direction:column;align-items:center;gap:16px;padding:48px 24px;text-align:center;}
.ticket-loading p,.ticket-error p{color:var(--muted);font-weight:800;}
.spinner{width:32px;height:32px;border:3px solid var(--line);border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite;}
@keyframes spin{to{transform:rotate(360deg);}}
.ticket-content{padding:16px 0 24px;}
.ticket-content--bg{position:relative;background-image:url("../../assets/images/betticketbackground-mobile.png");background-size:cover;background-position:center;background-repeat:no-repeat;min-height:100%;}
.ticket-content--bg::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,14,18,.97) 0%,rgba(12,14,18,.92) 50%,rgba(12,14,18,.98) 100%);pointer-events:none;z-index:0;}
.ticket-content--bg .ticket-summary,.ticket-content--bg .ticket-congrats,.ticket-content--bg .ticket-games,.ticket-content--bg .ticket-footer{position:relative;z-index:1;}
@media (min-width:769px){.ticket-content--bg{background-image:url("../../assets/images/betticketbackground-desktop.png");}}
.ticket-summary{background:rgba(18,22,28,.62);padding:24px var(--pad);margin:0 var(--pad) 16px;border-radius:0;color:var(--text);}
.ticket-summary__row{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:8px;color:var(--text);}
.ticket-summary__label{display:inline-flex;align-items:center;gap:8px;color:var(--muted);}
.ticket-summary__ico{display:inline-flex;opacity:.9;}
.ticket-summary__ico svg{width:16px;height:16px;}
.ticket-summary__row span:last-child{color:var(--text);}
.ticket-summary__row--main{margin:16px 0;align-items:center;padding:12px 0;}
.ticket-summary__type{font-size:17px;font-weight:700;letter-spacing:.02em;color:var(--text);}
.ticket-summary__status{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;}
.ticket-summary__status--won{color:var(--green);}
.ticket-summary__status--lost{color:rgba(227,22,43,.9);}
.ticket-summary__status--open{color:var(--muted);}
.ticket-summary__open-icon{display:inline-flex;margin-right:6px;}
.ticket-summary__trophy{display:inline-flex;}
.ticket-summary__money{margin-top:16px;padding-top:16px;}
.ticket-summary__return{font-size:24px;font-weight:800;margin-bottom:12px;font-variant-numeric:tabular-nums;letter-spacing:.02em;}
.ticket-summary__return--won{color:var(--green);}
.ticket-summary__return--lost{color:rgba(227,22,43,.85);}
.ticket-summary__return--open{color:var(--green);}
.ticket-summary__return-label{font-size:12px;font-weight:700;color:var(--muted);margin-bottom:4px;}
.ticket-congrats{display:flex;align-items:center;gap:16px;background:rgba(245,192,68,.12);padding:18px var(--pad);margin:0 var(--pad) 16px;border-radius:0;}
.ticket-congrats__icon{color:var(--amber);}
.ticket-congrats__text{flex:1;font-weight:900;font-size:14px;margin:0;color:var(--text);}
.ticket-congrats__btn{font-size:12px;}
.ticket-games{display:flex;flex-direction:column;gap:12px;padding:0 var(--pad);}
.ticket-game{background:rgba(18,22,28,.62);padding:16px var(--pad);border-radius:0;}
.ticket-game__head{padding:0 0 8px;font-size:11px;font-weight:700;color:var(--muted);letter-spacing:.04em;}
.ticket-game__ico{display:inline-flex;margin-right:6px;vertical-align:middle;}
.ticket-game__ico svg{width:14px;height:14px;}
.ticket-game__body{padding:0;}
.ticket-game__teams{font-weight:700;font-size:14px;margin-bottom:10px;color:var(--text);}
.ticket-game__score-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px;}
.ticket-game__icon{flex-shrink:0;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;}
.ticket-game__icon--won{background:rgba(23,201,100,.22);color:var(--green);}
.ticket-game__icon--lost{background:rgba(147,160,174,.2);color:var(--muted);}
.ticket-game__icon--live{background:rgba(23,201,100,.25);color:var(--green);}
.ticket-game__icon--pending{background:rgba(147,160,174,.15);color:var(--muted);}
.ticket-game__icon svg{width:20px;height:20px;}
.ticket-game__score{font-size:12px;font-weight:700;color:var(--muted);}
.ticket-game__live{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;background:var(--green);color:#0C0E12;font-size:10px;font-weight:700;letter-spacing:.05em;border-radius:999px;}
.ticket-game__pending{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);font-weight:800;}
.ticket-game__clock{display:inline-flex;color:var(--muted);}
.ticket-game__clock svg{width:14px;height:14px;}
.ticket-game__tracker{font-size:12px;font-weight:900;color:var(--green);text-decoration:none;}
.ticket-game__tracker:hover{text-decoration:underline;}
.ticket-game__pick{font-size:12px;color:var(--muted);font-weight:700;line-height:1.6;}

.ticket-footer{background:rgba(18,22,28,.62);padding:20px var(--pad);margin:16px var(--pad) 0;border-radius:0;}
.ticket-footer__row{display:flex;justify-content:space-between;margin-bottom:12px;font-size:12px;}
.ticket-footer__label{display:inline-flex;align-items:center;gap:8px;color:var(--muted);}
.ticket-footer__label::before{content:"";width:16px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393A0AE' stroke-width='2'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01'/%3E%3C/svg%3E") no-repeat center;}
.ticket-footer__row span:last-child{color:var(--text);}
.ticket-footer__link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;font-size:13px;font-weight:700;color:var(--green);text-decoration:none;}
.ticket-footer__link::before{content:"";width:18px;height:18px;flex-shrink:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317C964' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E") no-repeat center;}
.ticket-footer__link:hover{opacity:.9;}
.ticket-footer__link::after{content:"";width:16px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317C964' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E") no-repeat center;flex-shrink:0;}

/* -------- Profile / Auth (SportyBet-style, original) -------- */
.profilehead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid var(--line);
  border-radius:var(--r-modal);
  background:linear-gradient(180deg, rgba(23,28,35,.70), rgba(18,22,28,.70));
  padding:12px;
}
.profilehead__left{display:flex;align-items:center;gap:10px;min-width:0;}
.avatar{
  width:40px;height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(12,14,18,.45);
  display:grid;
  place-items:center;
  color:rgba(231,236,242,.95);
  flex:0 0 auto;
}
.avatar svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;}
.avatar img{width:22px;height:22px;display:block;object-fit:contain;}
.profilehead__text{min-width:0;}
.profilehead__name{font-weight:1050;letter-spacing:.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.profilehead__sub{color:var(--muted);font-size:12px;font-weight:850;margin-top:2px;}
.profilehead__right{display:flex;align-items:center;gap:10px;flex:0 0 auto;}

.flagbadge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(12,14,18,.35);
  cursor:pointer;
  min-height:44px;
}
.flagbadge__flag{
  width:24px;
  height:16px;
  flex-shrink:0;
  border-radius:2px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.15);
}
.flagbadge__flag svg{
  display:block;
  width:100%;
  height:100%;
}
.flagbadge__code{font-weight:1000;font-size:12px;letter-spacing:.2px;}
/* Slightly larger flags in region picker list (keep 3:2 ratio) */
.listcells .flagbadge__flag{
  width:27px;
  height:18px;
}
.listcell__left .flagbadge__flag{
  flex-shrink:0;
}

.balcard{
  border:1px solid var(--line);
  border-radius:var(--r-modal);
  background:linear-gradient(180deg, rgba(23,28,35,.70), rgba(18,22,28,.70));
  overflow:hidden;
}
.balcard__top{
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.balcard__label{color:var(--muted);font-weight:950;font-size:12px;}
.balcard__value{
  font-weight:1100;
  font-size:14px;
  font-variant-numeric:tabular-nums;
}
.balcard__actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  padding:0 12px 12px;
}
.balcard__mid{
  padding:0 12px 10px;
  margin-top:-2px;
}
.balcard__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.balcard__value--sm{
  font-size:13px;
  opacity:.95;
}
.balcard__hint{
  margin-top:6px;
  color:rgba(231,236,242,.72);
  font-size:12px;
  line-height:1.35;
}
.quickrow{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
}
.quickpill{
  border:1px solid var(--line);
  border-radius:var(--r-chip);
  background:rgba(12,14,18,.28);
  min-height:72px;
  padding:10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  transition:transform var(--tap) var(--ease), box-shadow var(--hover) var(--ease), border-color var(--hover) var(--ease);
  position:relative;
}
.quickpill[aria-disabled="true"], .quickpill.is-disabled{opacity:.55;cursor:not-allowed;pointer-events:none;}
.quickpill:hover{box-shadow:0 0 0 1px rgba(42,97,255,.12), 0 16px 34px rgba(0,0,0,.22);border-color:rgba(42,97,255,.20);}
.quickpill:active{transform:translateY(1px) scale(.99);}
.quickpill__icon{width:22px;height:22px;color:rgba(231,236,242,.92);}
.quickpill__icon svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;}
.quickpill__icon img{width:22px;height:22px;display:block;object-fit:contain;}
.quickpill__label{font-weight:950;font-size:11px;color:rgba(231,236,242,.92);text-align:center;}
.badgecount{
  position:absolute;
  top:8px;
  right:10px;
  min-width:18px;
  height:18px;
  padding:0 6px;
  border-radius:999px;
  background:rgba(227,22,43,.95);
  color:var(--white);
  font-weight:1100;
  font-size:10px;
  display:grid;
  place-items:center;
}

.listcells{
  border:1px solid var(--line);
  border-radius:var(--r-modal);
  overflow:hidden;
  background:linear-gradient(180deg, rgba(23,28,35,.70), rgba(18,22,28,.70));
}
.listcell{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  min-height:44px;
  cursor:pointer;
  width:100%;
  text-align:left;
  color:inherit;
  background:transparent;
  border:none;
  appearance:none;
  -webkit-appearance:none;
  border-bottom:1px solid var(--line);
  transition:background var(--hover) var(--ease), transform var(--tap) var(--ease);
}
.listcell:focus-visible{
  outline:none;
  box-shadow:0 0 0 2px rgba(42,97,255,.25);
}
.listcell.is-selected{background:rgba(23,201,100,.06);}
.listcell.is-selected:hover{background:rgba(23,201,100,.08);}
.checkmark{
  width:18px;
  height:18px;
  color:rgba(23,201,100,.95);
}
.checkmark svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.listcell[aria-disabled="true"], .listcell.is-disabled{opacity:.6;cursor:not-allowed;pointer-events:none;}
.listcell:last-child{border-bottom:none;}
.listcell:hover{background:rgba(12,14,18,.20);}
.listcell:active{transform:translateY(1px);}
.listcell__left{display:flex;align-items:center;gap:10px;min-width:0;}
.listcell__icon{
  width:36px;height:36px;
  border-radius:0;
  border:none;
  background:transparent;
  display:grid;place-items:center;
  color:rgba(231,236,242,.92);
  flex:0 0 auto;
}
.listcell__icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;}
.listcell__icon img{width:18px;height:18px;display:block;object-fit:contain;}
.listcell__title{font-weight:1000;font-size:13px;letter-spacing:.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.listcell__right{display:flex;align-items:center;gap:10px;flex:0 0 auto;}
.listcell__meta{color:var(--green);font-weight:950;font-size:11px;white-space:nowrap;}
.chev{width:18px;height:18px;color:rgba(147,160,174,.92);}
.chev svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;}

/* Auth form helpers */
.inputwrap{position:relative;}
.inputwrap .input{padding-right:44px;}
.togglepw{
  position:absolute;
  top:50%;
  right:10px;
  transform:translateY(-50%);
  width:34px;height:34px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(12,14,18,.35);
  display:grid;place-items:center;
  cursor:pointer;
  color:rgba(231,236,242,.92);
}
.togglepw svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;}
.checkrow{display:flex;gap:12px;flex-wrap:wrap;align-items:center;}
.check{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  color:rgba(231,236,242,.92);
  font-weight:900;
  font-size:12px;
}
.check input{width:16px;height:16px;}
.divider{
  display:flex;
  align-items:center;
  gap:10px;
  color:rgba(147,160,174,.92);
  font-size:12px;
  font-weight:900;
  margin:10px 0;
}
.divider::before,.divider::after{
  content:"";
  flex:1;
  height:1px;
  background:var(--line);
}
.shake{animation:shake 280ms var(--ease) 1;}
@keyframes shake{
  0%,100%{transform:translateX(0);}
  25%{transform:translateX(-6px);}
  50%{transform:translateX(6px);}
  75%{transform:translateX(-3px);}
}

/* Global footer */
.globalfooter{
  margin-top:16px;
  border-top:1px solid var(--line);
  padding:16px 12px calc(16px + env(safe-area-inset-bottom, 0px));
  color:rgba(147,160,174,.92);
}
.globalfooter__row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center;}
.globalfooter__title{color:rgba(231,236,242,.92);font-weight:950;text-align:center;}
.logoicons{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:10px;}
.logoicon{
  width:44px;height:30px;
  border-radius:0;
  border:none;
  background:transparent;
  display:grid;
  place-items:center;
  color:rgba(231,236,242,.92);
}
.logoicon svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;}
.logoicon--wide{width:64px;}
.logoicon img{max-width:100%;max-height:100%;object-fit:contain;display:block;opacity:.95;}
.sr-only{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}
/* Footer marquee - continuous scroll from end to end */
.footer-marquee{
  overflow:hidden;
  margin-top:14px;
  padding:10px 0;
  mask-image:linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image:linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}
.footer-marquee__track{
  display:flex;
  align-items:center;
  gap:24px;
  width:max-content;
  animation:footer-marquee-scroll 35s linear infinite;
  will-change:transform;
}
.footer-marquee__track:hover{animation-play-state:paused;}
.footer-marquee__item{
  flex-shrink:0;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.footer-marquee__item img{
  max-height:100%;
  max-width:120px;
  object-fit:contain;
  opacity:.9;
}
@keyframes footer-marquee-scroll{
  0%{transform:translateX(0);}
  100%{transform:translateX(-50%);}
}

.paygrid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:8px;
  margin-top:12px;
}
.paypill{
  border:none;
  background:transparent;
  border-radius:0;
  padding:6px 4px;
  display:grid;
  place-items:center;
  color:rgba(231,236,242,.92);
  min-height:38px;
}
.paypill svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;}
.paypill img{max-width:100%;max-height:18px;object-fit:contain;display:block;opacity:.92;}

.footlinks{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:12px;
}
.footlinks a{text-decoration:underline;text-underline-offset:3px;}
.legal{
  margin-top:12px;
  font-size:11px;
  font-weight:850;
  line-height:1.45;
  text-align:center;
}

@media (min-width: 720px){
  .paygrid{grid-template-columns:repeat(6, minmax(0, 1fr));}
}

/* Auth card */
.authcard{
  border:1px solid var(--line);
  border-radius:var(--r-modal);
  background:linear-gradient(180deg, rgba(23,28,35,.70), rgba(18,22,28,.70));
  padding:12px;
}
.authhdr{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:2px 0 10px;
  border-bottom:1px solid rgba(255,255,255,.06);
  margin-bottom:12px;
}
.authregion{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
}
.authregion__name{font-weight:1000;letter-spacing:.2px;}
.authregion__change{
  background:transparent;
  border:none;
  color:rgba(var(--btn-green-rgb), .95);
  font-weight:1000;
  cursor:pointer;
  padding:8px 6px;
}
.authlinks{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.authlinks a{color:rgba(var(--btn-green-rgb), .95);font-weight:950;}
.smalllink{color:rgba(147,160,174,.92);font-size:12px;font-weight:900;text-decoration:underline;text-underline-offset:3px;}
.strength{
  height:8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(12,14,18,.35);
  overflow:hidden;
}
.strength__bar{
  height:100%;
  width:0%;
  background:linear-gradient(90deg, rgba(227,22,43,.95), rgba(245,192,68,.92), rgba(23,201,100,.92));
  transition:width var(--hover) var(--ease);
}
.codegrid{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:8px;
}
.codebox{
  width:100%;
  min-height:44px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  background:rgba(12,14,18,.35);
  color:var(--text);
  font-weight:1100;
  text-align:center;
  font-size:16px;
  outline:none;
}
.codebox:focus{box-shadow:var(--glow-blue);border-color:rgba(42,97,255,.45);}

.collapsebtn{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(12,14,18,.35);
  color:var(--text);
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  font-weight:1000;
  cursor:pointer;
  min-height:40px;
}

/* Skeleton loaders */
.skeleton{
  position:relative;
  overflow:hidden;
  border-radius:12px;
  background:rgba(12,14,18,.45);
  border:1px solid rgba(255,255,255,.08);
}
.skeleton::after{
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-60%);
  background:linear-gradient(90deg, transparent, rgba(231,236,242,.08), transparent);
  animation:shimmer 900ms var(--ease) infinite;
}
@keyframes shimmer{
  0%{transform:translateX(-60%);}
  100%{transform:translateX(120%);}
}
.sk-row{display:flex;gap:10px;align-items:center;padding:12px;}
.sk-line{height:10px;border-radius:999px;background:rgba(231,236,242,.07);}
.sk-1{width:40%;}
.sk-2{width:70%;}
.sk-3{width:55%;}
.sk-oddgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:0 12px 12px;}
.sk-odd{height:48px;border-radius:var(--r-chip);background:rgba(231,236,242,.06);border:1px solid rgba(255,255,255,.06);}

/* Multi-Sport A–Z (widgets only, no DB) */
.az-sports{
  display:flex;
  flex-direction:column;
  gap:16px;
  margin-top:12px;
  padding-bottom:8px;
}
.az-card{
  border:1px solid var(--line);
  border-radius:var(--r-modal);
  background:linear-gradient(180deg, rgba(23,28,35,.6), rgba(18,22,28,.75));
  padding:14px;
  overflow:hidden;
}
.az-card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}
.az-card__head .sectiontitle{margin:0;}
.az-card__skeleton{
  min-height:120px;
  border-radius:var(--r-chip);
  background:rgba(12,14,18,.5);
  border:1px solid rgba(255,255,255,.06);
  position:relative;
  overflow:hidden;
  display:block;
}
.az-card__skeleton--shimmer::after{
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-60%);
  background:linear-gradient(90deg, transparent, rgba(231,236,242,.06), transparent);
  animation:shimmer 900ms var(--ease) infinite;
}
@media (prefers-reduced-motion: reduce){
  .az-card__skeleton--shimmer::after{animation:none;}
}
.az-card__slot{
  min-height:80px;
}
.az-card__slot:empty{display:none;}
.az-card__slot:not(:empty) + .az-card__skeleton{display:none;}
.az-card__error{
  padding:12px 0;
  text-align:center;
}
.az-card__error .muted{margin:0 0 10px;}

/* --- Football (Featured matches) page --- */
.football-tabs{
  padding:var(--s-12) var(--pad) 0;
  position:sticky;
  top:var(--topbar-h);
  z-index:10;
  background:var(--bg);
  border-bottom:1px solid var(--line);
}
.football-tabs__row{
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding-bottom:10px;
  -webkit-overflow-scrolling:touch;
}
.football-tabs__row .chip{
  flex-shrink:0;
  padding:8px 14px;
  font-weight:900;
  font-size:12px;
}
.daterail{
  padding:var(--s-12) var(--pad);
  border-bottom:1px solid var(--line);
  background:var(--card);
}
.daterail[hidden]{display:none;}
.daterail__row{
  display:flex;
  gap:8px;
}
.daterail__btn{
  padding:8px 14px;
  border-radius:var(--r-chip);
  border:1px solid var(--line);
  background:var(--elev);
  color:var(--text);
  font-weight:900;
  font-size:12px;
  cursor:pointer;
  transition:border-color var(--tap), background var(--tap);
}
.daterail__btn:hover{border-color:var(--muted);}
.daterail__btn.is-active{
  border-color:var(--green);
  background:rgba(23,201,100,.12);
  color:var(--green);
}
.football-list{
  padding:var(--pad);
  padding-bottom:calc(var(--bottomnav-h) + 80px);
}
.football-skeleton{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.football-skeleton__league{
  height:24px;
  width:140px;
  border-radius:6px;
  background:var(--elev);
}
.football-skeleton__row{
  height:64px;
  border-radius:10px;
  background:var(--elev);
}
.football-error{
  text-align:center;
  padding:32px 20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
}
.football-error__icon{
  color:var(--muted);
  opacity:.7;
}
.football-error__title{
  font-size:1.25rem;
  font-weight:700;
  margin:0;
  color:var(--fg);
}
.football-error__text{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.5;
  max-width:320px;
}
.football-error__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin-top:8px;
}
.football-error p code,
.football-error small code{
  font-size:11px;
  padding:2px 6px;
  border-radius:4px;
  background:var(--elev);
  color:var(--muted);
}
.football-error small{display:block;margin-top:10px;color:var(--muted);}
.empty-state{padding:24px 16px;text-align:center;}
.empty-state__text{margin:0;color:var(--muted);font-size:14px;line-height:1.5;}
.market-empty{padding:20px 16px;text-align:center;}
.market-empty p{margin:0;color:var(--muted);font-size:14px;line-height:1.5;}
.football-groups{
  display:flex;
  flex-direction:column;
  gap:20px;
}
/* Home page matches list (today + tomorrow) */
.home-fixtures-list{
  display:flex;
  flex-direction:column;
  gap:0;
  margin-top:8px;
}
.home-date-header{
  font-weight:950;
  font-size:13px;
  color:var(--muted);
  padding:12px 0 6px;
  border-bottom:1px solid var(--line);
  margin-bottom:6px;
}
.home-date-header:first-child{padding-top:0;}
.home-fixture-row{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:8px;
  padding:12px;
  margin-bottom:12px;
}
.home-fixture-row:last-child{margin-bottom:0;}
.fixture-row__header{margin-bottom:10px;}
.fixture-row__datetime{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);}
.fixture-row__time{display:flex;align-items:center;gap:4px;}
.home-fixture-row .fixture-row__main{padding:0;display:flex;flex-direction:column;gap:8px;}
.home-fixture-row .fixture-row__link{text-decoration:none;color:inherit;}
.home-fixture-row__odds{
  padding-top:10px;
  margin-top:10px;
  border-top:1px solid var(--line);
}
.home-fixture-row__odds .market-strip--inline .market-block{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.home-fixture-row__odds .market-strip--inline .market-block__label{font-size:11px;color:var(--muted);margin:0;}
.home-fixture-row__odds .odd-chip{padding:4px 10px;font-size:12px;}
/* 1X2 Market Display - Three horizontal buttons */
.home-1x2-market{display:flex;gap:8px;align-items:stretch;}
.home-1x2-odd{flex:1;min-height:44px;padding:10px 8px;background:var(--elev);border:1px solid var(--line);border-radius:6px;cursor:pointer;transition:all 0.2s;text-decoration:none;color:inherit;display:flex;align-items:center;justify-content:center;font-weight:700;}
.home-1x2-odd:hover:not(:disabled){background:var(--card);border-color:var(--primary);}
.home-1x2-odd.is-selected{background:var(--primary);border-color:var(--primary);color:white;}
.home-1x2-odd:disabled,.home-1x2-odd.is-locked{opacity:0.5;cursor:not-allowed;}
.home-1x2-odd__value{font-size:15px;font-weight:950;color:var(--text);}
.home-1x2-odd.is-selected .home-1x2-odd__value{color:white;}
/* Team logos in fixture rows - stacked vertically */
.home-fixture-row .fixture-row__team{display:flex;align-items:center;gap:8px;width:100%;}
.home-fixture-row .fixture-row__team--home,.home-fixture-row .fixture-row__team--away{justify-content:flex-start;}
.home-fixture-row .fixture-row__logo{width:20px;height:20px;object-fit:cover;border-radius:50%;flex-shrink:0;}
.home-fixture-row .fixture-row__initials{width:20px;height:20px;display:flex;align-items:center;justify-content:center;background:var(--elev);border-radius:50%;font-size:9px;font-weight:700;color:var(--muted);flex-shrink:0;}
.home-fixture-row .fixture-row__name{font-size:13px;font-weight:500;color:var(--text);flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px;}
.home-fixture-row .fixture-row__score{text-align:center;font-size:16px;font-weight:950;color:var(--text);padding:4px 0;}
/* Live matches section */
.home-live-section{margin-bottom:20px;}
.home-section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;}
.home-section-header__title{font-weight:950;font-size:14px;color:var(--text);}
.home-section-header__link{font-size:12px;color:var(--primary);text-decoration:none;}
.home-live-scroll{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;padding-bottom:8px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;}
.home-live-scroll::-webkit-scrollbar{height:4px;}
.home-live-scroll::-webkit-scrollbar-track{background:var(--elev);border-radius:2px;}
.home-live-scroll::-webkit-scrollbar-thumb{background:var(--line);border-radius:2px;}
.home-live-scroll::-webkit-scrollbar-thumb:hover{background:var(--muted);}
/* Live match card */
.live-match-card{position:relative;min-width:280px;max-width:320px;background:var(--card);border:1px solid var(--line);border-radius:var(--r-modal);padding:16px;text-decoration:none;color:inherit;scroll-snap-align:start;transition:transform 0.2s,box-shadow 0.2s;}
.live-match-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,0.1);}
.live-match-card--full{min-width:100%;max-width:100%;}
.live-match-card__league{font-size:11px;color:var(--muted);margin-bottom:12px;text-transform:uppercase;letter-spacing:0.5px;}
.live-match-card__top{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;gap:8px;}
.live-match-card__top .live-match-card__league{margin-bottom:0;}
.live-match-card__time{font-size:11px;color:var(--muted);font-weight:600;}
.live-match-card__teams--vs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.live-match-card__teams--vs .live-match-card__team{flex:1;min-width:0;}
.live-match-card__vs{font-size:10px;font-weight:800;color:var(--muted);flex-shrink:0;}
.live-match-card--upcoming .live-match-card__teams--vs{flex-direction:row;}
.live-match-card--upcoming .live-match-card__team{flex-direction:row;}
.live-match-card__teams{display:flex;flex-direction:column;gap:8px;}
.live-match-card__team{display:flex;align-items:center;gap:8px;}
.live-match-card__logo{width:24px;height:24px;object-fit:cover;border-radius:50%;flex-shrink:0;}
.live-match-card__initials{width:24px;height:24px;display:flex;align-items:center;justify-content:center;background:var(--elev);border-radius:50%;font-size:10px;font-weight:700;color:var(--muted);}
.live-match-card__name{font-size:13px;font-weight:600;color:var(--text);flex:1;}
.live-match-card__score{text-align:center;font-size:18px;font-weight:950;color:var(--text);margin:4px 0;}
.live-match-card__odds{display:flex;gap:6px;margin-top:12px;justify-content:center;}
.live-match-card__odd{background:var(--elev);padding:6px 12px;border-radius:6px;font-size:12px;font-weight:700;color:var(--text);}
.live-match-card__badge{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;gap:6px;background:rgba(23,201,100,.15);color:var(--green);border:1px solid rgba(23,201,100,.35);padding:4px 10px;border-radius:20px;font-size:10px;font-weight:950;text-transform:uppercase;}
.live-badge__dot{width:6px;height:6px;background:var(--green);border-radius:50%;animation:live-dot-pulse 1.2s ease-in-out infinite;}
.live-badge__icon{width:12px;height:12px;display:flex;flex-shrink:0;}
.live-badge__icon svg{width:100%;height:100%;}
.live-badge__text{line-height:1;}
@keyframes live-dot-pulse{0%,100%{opacity:1;transform:scale(1);box-shadow:0 0 0 0 rgba(23,201,100,.5);}50%{opacity:.85;transform:scale(1.1);}70%{box-shadow:0 0 0 4px rgba(23,201,100,0);}}
.live-matches-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;}
/* Market tabs (1win style) */
.market-tabs{margin-top:16px;}
.market-tabs__list{display:flex;gap:8px;overflow-x:auto;border-bottom:2px solid var(--line);margin-bottom:16px;-webkit-overflow-scrolling:touch;}
.market-tabs__list::-webkit-scrollbar{height:2px;}
.market-tabs__tab{background:none;border:none;padding:12px 16px;font-size:13px;font-weight:600;color:var(--muted);cursor:pointer;white-space:nowrap;border-bottom:2px solid transparent;margin-bottom:-2px;transition:color 0.2s;}
.market-tabs__tab:hover{color:var(--text);}
.market-tabs__tab.is-active{color:var(--primary);border-bottom-color:var(--primary);}
.market-tabs__content{position:relative;}
.market-tabs__panel{display:none;}
.market-tabs__panel.is-active{display:block;animation:fadeIn 0.2s;}
@keyframes fadeIn{from{opacity:0;transform:translateY(4px);}to{opacity:1;transform:translateY(0);}}
.odds-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px;}
.odd-btn{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:12px;text-align:center;cursor:pointer;transition:all 0.2s;text-decoration:none;color:inherit;}
.odd-btn:hover{background:var(--elev);border-color:var(--primary);transform:translateY(-1px);}
.odd-btn__name{font-size:12px;color:var(--muted);margin-bottom:6px;}
.odd-btn__value{font-size:16px;font-weight:950;color:var(--text);}
.league-group{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--r-modal);
  overflow:hidden;
}
.league-group__head{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px var(--pad);
  border-bottom:1px solid var(--line);
  background:var(--elev);
}
.league-group__head--accent{
  background:var(--primary);
  border-bottom-color:rgba(0,0,0,.1);
}
.league-group__head--accent .league-group__name{color:#0C0E12;}
.league-group__head--accent .league-group__logo{filter:brightness(0);}
.league-group__head--accent .league-group__icon{color:#0C0E12;}
.league-group__icon{
  width:18px;
  height:18px;
  display:flex;
  flex-shrink:0;
}
.league-group__icon svg{width:100%;height:100%;}
.league-group__logo{
  width:24px;
  height:24px;
  object-fit:contain;
}
.league-group__name{
  font-weight:950;
  font-size:13px;
  color:var(--text);
}
.league-group__fixtures{
  display:flex;
  flex-direction:column;
}
/* Football match card (sports/football list) */
.football-match-card{
  border-bottom:1px solid var(--line);
  padding:12px var(--pad);
}
.football-match-card:last-child{border-bottom:none;}
.football-match-card__link{text-decoration:none;color:inherit;display:block;}
.football-match-card__header{display:flex;align-items:center;gap:8px;margin-bottom:8px;}
.football-match-card__badge{font-size:10px;font-weight:900;padding:2px 6px;border-radius:4px;display:inline-flex;align-items:center;gap:4px;}
.football-match-card__badge--live{background:rgba(23,201,100,.15);color:var(--green);border:1px solid rgba(23,201,100,.35);padding:3px 8px;border-radius:12px;}
.football-match-card__badge--ft{background:rgba(147,160,174,.15);color:var(--muted);}
.football-match-card__badge--scheduled{background:rgba(245,192,68,.15);color:var(--amber);}
.football-match-card__score{font-weight:1000;font-size:14px;color:var(--text);}
.football-match-card__teams{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin-bottom:10px;}
.football-match-card__team{display:flex;align-items:center;gap:8px;}
.football-match-card__team:last-child{flex-direction:row-reverse;}
.football-match-card__logo{width:28px;height:28px;object-fit:contain;flex-shrink:0;}
.football-match-card__name{font-size:13px;font-weight:900;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.football-match-card__vs{font-size:11px;color:var(--muted);text-align:center;}
.football-match-card__odds{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-top:10px;}
.football-match-card__odds .odd-btn{min-width:0;}
.football-match-card__odds .odd-btn.is-selected{border-color:var(--primary);background:rgba(245,192,68,.15);color:var(--primary);}
.odd-btn--1x2{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 6px;}
.odd-btn--1x2 .odd-btn__name{font-size:10px;color:var(--muted);}
.odd-btn--1x2 .odd-btn__value{font-size:14px;font-weight:950;}
/* ── Match Detail: BetKing-inspired layout ─────────────────────── */

/* Header card */
.match-detail-header,.match-header{
  padding:24px var(--pad) 20px;
  background:linear-gradient(180deg,rgba(23,201,100,.04) 0%,var(--card) 40%,rgba(18,22,28,.97) 100%);
  border:1px solid var(--line);
  border-radius:16px;
  margin-bottom:0;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.match-detail-header::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--green),rgba(23,201,100,.2));
}
.match-header__league{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;margin-bottom:14px;}
.match-header__logo{width:20px;height:20px;object-fit:contain;}
.match-header__name{font-weight:700;font-size:12px;color:var(--green);}
.match-header__country{font-size:11px;color:var(--muted);}
.match-header__status{font-size:12px;color:var(--muted);margin-bottom:16px;}
.match-header__scoreboard{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;padding:4px 0;}
.match-header__team{display:flex;flex-direction:column;align-items:center;gap:10px;}
.match-header__team:last-child{flex-direction:column-reverse;}
.match-header__team-logo{width:54px;height:54px;object-fit:contain;filter:drop-shadow(0 2px 8px rgba(0,0,0,.3));}
.match-header__team-name{font-size:13px;font-weight:800;text-align:center;line-height:1.25;max-width:110px;}
.match-header__center{display:flex;flex-direction:column;align-items:center;gap:4px;}
.match-header__score{font-size:32px;font-weight:1000;color:var(--text);font-variant-numeric:tabular-nums;min-width:64px;letter-spacing:-1px;}
.match-header__datetime{display:flex;flex-direction:column;align-items:center;gap:1px;font-size:12px;color:var(--muted);font-weight:600;}
.match-header__datetime-date{font-size:13px;color:var(--text);font-weight:800;}
.match-header__id{font-size:10px;color:var(--muted);margin-top:8px;letter-spacing:.5px;}

/* Top-level tab bar (Markets | Stats) */
.match-top-tabs{
  display:flex;gap:0;
  margin:0 calc(var(--pad) * -1);padding:0;
  border-bottom:1px solid var(--line);
  background:var(--card);
}
.match-top-tab{
  flex:1;padding:13px 16px;
  font-size:13px;font-weight:800;color:var(--muted);
  background:transparent;border:none;border-bottom:2px solid transparent;
  cursor:pointer;text-align:center;
  transition:color .2s,background .2s,border-color .2s;
}
.match-top-tab:hover{color:var(--text);background:rgba(255,255,255,.02);}
.match-top-tab.is-active{color:var(--text);background:var(--elev);border-bottom-color:var(--green);}

/* Market sub-tabs - horizontal scroll */
.match-markets-nav{
  position:sticky;top:var(--topbar-h);z-index:5;
  background:var(--bg);border-bottom:1px solid var(--line);
  margin:0 calc(var(--pad) * -1);padding:0 var(--pad);
}
.match-markets-tabs{display:flex;gap:0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
.match-markets-tabs::-webkit-scrollbar{display:none;}
.match-tab{
  flex:none;padding:12px 18px;
  font-size:13px;font-weight:800;color:var(--muted);
  background:transparent;border:none;border-bottom:3px solid transparent;
  cursor:pointer;white-space:nowrap;
  transition:color .2s,border-color .2s;
}
.match-tab:hover{color:var(--text);}
.match-tab.is-active{color:var(--green);border-bottom-color:var(--green);}

/* Market panels */
.match-markets-panel{padding:0;display:flex;flex-direction:column;gap:0;}
.market-empty{padding:24px var(--pad);text-align:center;font-size:13px;color:var(--muted);}

/* ── Market section (BetKing collapsible) ──────────────────────── */
.mkt{border-bottom:1px solid var(--line);}
.mkt:last-child{border-bottom:none;}
.mkt__head{
  display:flex;align-items:center;gap:10px;
  padding:14px var(--pad);cursor:pointer;user-select:none;
}
.mkt__arrow{
  width:0;height:0;
  border-left:5px solid transparent;border-right:5px solid transparent;
  border-top:6px solid var(--green);
  transition:transform .2s;flex-shrink:0;
}
.mkt.is-collapsed .mkt__arrow{transform:rotate(-90deg);}
.mkt__title{font-size:14px;font-weight:700;color:var(--text);flex:1;}
.mkt__info{
  width:18px;height:18px;border-radius:50%;
  border:1.5px solid rgba(147,160,174,.4);
  color:var(--muted);font-size:10px;
  display:grid;place-items:center;
  font-style:italic;font-weight:700;flex-shrink:0;
}
.mkt__star{
  color:var(--muted);font-size:16px;
  background:none;border:none;cursor:pointer;padding:0;
  transition:color .2s;flex-shrink:0;line-height:1;
}
.mkt__star:hover,.mkt__star.is-fav{color:var(--amber);}
.mkt__body{padding:0 var(--pad) 16px;}
.mkt.is-collapsed .mkt__body{display:none;}

/* ── Odds cells (BetKing green-tinted style) ───────────────────── */
.odds-row{display:grid;gap:8px;}
.odds-row--3col{grid-template-columns:1fr 1fr 1fr;}
.odds-row--2col{grid-template-columns:1fr 1fr;}
.odds-cell{
  display:flex;justify-content:space-between;align-items:center;
  padding:13px 14px;
  background:rgba(23,201,100,.05);
  border-radius:8px;border:1px solid rgba(23,201,100,.08);
  cursor:pointer;
  transition:background .15s,border-color .15s,transform .1s;
}
.odds-cell:hover{background:rgba(23,201,100,.1);border-color:rgba(23,201,100,.15);}
.odds-cell:active{transform:scale(.98);}
.odds-cell.is-selected{background:rgba(23,201,100,.18);border-color:var(--green);}
.odds-cell__label{font-size:13px;font-weight:600;color:var(--text);}
.odds-cell__value{font-size:14px;font-weight:900;color:var(--green);font-variant-numeric:tabular-nums;}

/* ── Over/Under table ──────────────────────────────────────────── */
.ou-table{display:flex;flex-direction:column;gap:0;}
.ou-table__head{
  display:grid;grid-template-columns:52px 1fr 1fr;gap:8px;
  padding:8px 0 6px;
}
.ou-table__head-cell{font-size:11px;font-weight:700;color:var(--muted);text-align:center;text-transform:uppercase;letter-spacing:.5px;}
.ou-table__row{display:grid;grid-template-columns:52px 1fr 1fr;gap:8px;margin-bottom:6px;}
.ou-table__line{
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:800;color:var(--text);
  font-variant-numeric:tabular-nums;
}
.ou-table__cell{
  display:flex;align-items:center;justify-content:center;
  padding:11px 12px;
  background:rgba(23,201,100,.05);border-radius:8px;
  border:1px solid rgba(23,201,100,.08);
  cursor:pointer;
  font-size:14px;font-weight:900;color:var(--green);
  font-variant-numeric:tabular-nums;
  transition:background .15s,border-color .15s,transform .1s;
}
.ou-table__cell:hover{background:rgba(23,201,100,.1);border-color:rgba(23,201,100,.15);}
.ou-table__cell:active{transform:scale(.97);}
.ou-table__cell.is-selected{background:rgba(23,201,100,.18);border-color:var(--green);}

/* ── Correct Score grid ────────────────────────────────────────── */
.cs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:6px;}
.cs-cell{
  display:flex;flex-direction:column;align-items:center;gap:4px;
  padding:10px 6px;
  background:rgba(23,201,100,.05);border-radius:8px;
  border:1px solid rgba(23,201,100,.08);
  cursor:pointer;
  transition:background .15s,border-color .15s,transform .1s;
}
.cs-cell:hover{background:rgba(23,201,100,.1);border-color:rgba(23,201,100,.15);}
.cs-cell:active{transform:scale(.96);}
.cs-cell.is-selected{background:rgba(23,201,100,.18);border-color:var(--green);}
.cs-cell__score{font-size:12px;font-weight:700;color:var(--text);}
.cs-cell__odds{font-size:13px;font-weight:900;color:var(--green);font-variant-numeric:tabular-nums;}

/* ── Handicap table ────────────────────────────────────────────── */
.hcp-table{display:flex;flex-direction:column;gap:0;}
.hcp-table__head{display:grid;grid-template-columns:52px 1fr 1fr;gap:8px;padding:8px 0 6px;}
.hcp-table__head-cell{font-size:11px;font-weight:700;color:var(--muted);text-align:center;text-transform:uppercase;letter-spacing:.5px;}
.hcp-table__row{display:grid;grid-template-columns:52px 1fr 1fr;gap:8px;margin-bottom:6px;}
.hcp-table__line{
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:800;color:var(--text);font-variant-numeric:tabular-nums;
}

/* ── Stats / Events / Lineups ──────────────────────────────────── */
.stats-table,.stats-row,.stats-cell{display:block;}
.stats-row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--line);}
.stats-cell{font-size:13px;}
.event-row{display:flex;gap:12px;padding:8px 0;border-bottom:1px solid var(--line);font-size:12px;}
.event-row__min{font-weight:950;min-width:32px;}
.lineup-team{padding:10px 0;border-bottom:1px solid var(--line);}
.fixture-row{
  border-bottom:1px solid var(--line);
}
.fixture-row:last-child{border-bottom:none;}
.fixture-row__main{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px var(--pad);
  min-height:56px;
  position:relative;
}
.fixture-row__link{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:10px;
  flex:1;
  min-width:0;
  color:inherit;
  text-decoration:none;
}
.fixture-row__team{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.fixture-row__team--home{justify-content:flex-start;}
.fixture-row__team--away{justify-content:flex-end;}
.fixture-row__team--away .fixture-row__name{order:1;}
.fixture-row__logo{
  width:28px;
  height:28px;
  object-fit:contain;
  flex-shrink:0;
}
.fixture-row__initials{
  width:28px;
  height:28px;
  border-radius:50%;
  background:var(--elev);
  color:var(--muted);
  font-size:10px;
  font-weight:900;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.fixture-row__name{
  font-weight:900;
  font-size:12px;
  line-height:1.2;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.fixture-row__center{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
}
.fixture-row__score{
  font-weight:1000;
  font-size:14px;
  font-variant-numeric:tabular-nums;
}
.fixture-row__badge{
  font-size:10px;
  font-weight:900;
  padding:3px 8px;
  border-radius:6px;
}
.fixture-row__badge--live{
  background:rgba(23,201,100,.15);
  color:var(--green);
  border:1px solid rgba(23,201,100,.35);
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:3px 8px;
  border-radius:12px;
}
.fixture-row__badge .live-badge__dot{animation:live-dot-pulse 1.2s ease-in-out infinite;}
.fixture-row__badge .live-badge__icon{width:10px;height:10px;display:flex;}
.fixture-row__badge .live-badge__icon svg{width:100%;height:100%;}
.fixture-row__badge--ft{
  background:rgba(147,160,174,.15);
  color:var(--muted);
}
.fixture-row__badge--scheduled{
  background:rgba(245,192,68,.15);
  color:var(--amber);
}
.fixture-row__badge--other{
  background:var(--elev);
  color:var(--muted);
}
.fixture-row__link:focus{outline:none;}
.fixture-row__expand{
  position:absolute;
  right:var(--pad);
  top:50%;
  transform:translateY(-50%);
  width:32px;
  height:32px;
  border:none;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:color var(--tap), background var(--tap);
  text-decoration:none;
}
.fixture-row__expand:hover{color:var(--text);background:var(--elev);}
.fixture-row__expand::after{
  content:"";
  width:0;
  height:0;
  border-left:5px solid currentColor;
  border-top:4px solid transparent;
  border-bottom:4px solid transparent;
  margin-left:4px;
}
.fixture-row__markets{
  padding:0 var(--pad) 12px;
  background:var(--elev);
  border-top:1px solid var(--line);
}
.fixture-row__markets[hidden]{display:none;}
.market-strip-skeleton{
  padding:12px 0;
  color:var(--muted);
  font-size:12px;
}
.market-strip{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding-top:12px;
}
.market-block__label{
  font-weight:900;
  font-size:11px;
  color:var(--muted);
  margin-bottom:6px;
}
.market-block__chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.odd-chip{
  padding:8px 12px;
  border-radius:var(--r-chip);
  border:1px solid var(--line);
  background:var(--card);
  color:var(--text);
  font-weight:950;
  font-size:13px;
  font-variant-numeric:tabular-nums;
  cursor:pointer;
  transition:border-color var(--tap), background var(--tap), color var(--tap);
  display:inline-flex;
  align-items:center;
  gap:4px;
}
.odd-chip:hover{
  border-color:var(--muted);
  background:var(--elev);
}
.odd-chip.is-selected{
  border-color:var(--green);
  background:rgba(23,201,100,.15);
  color:var(--green);
}
.odd-chip.is-suspended,.odd-chip.is-locked{
  opacity:.5;
  cursor:not-allowed;
  pointer-events:none;
}
.oddsrow.is-changed{
  padding:10px 0;
  border-bottom:1px solid var(--line);
}
.oddsrow.is-changed:last-child{border-bottom:none;}

/* --- Odds page (Apify Sportsbook Scraper) --- */
.odds-tabs{
  padding:var(--s-12) var(--pad) 0;
  position:sticky;
  top:var(--topbar-h);
  z-index:10;
  background:var(--bg);
  border-bottom:1px solid var(--line);
}
.odds-tabs__row{
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding-bottom:10px;
  -webkit-overflow-scrolling:touch;
}
.odds-tabs__row .chip{
  flex-shrink:0;
  padding:8px 12px;
  font-weight:900;
  font-size:11px;
}
.odds-refresh{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px var(--pad);
  border-bottom:1px solid var(--line);
  background:var(--card);
}
.odds-refresh__label{
  font-size:11px;
  color:var(--muted);
}
.odds-list{
  padding:var(--pad);
  padding-bottom:calc(var(--bottomnav-h) + 24px);
}
.odds-events{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.odds-empty,
.odds-unavailable{
  padding:12px 0;
  font-size:12px;
  color:var(--muted);
}
.odds-event{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--r-modal);
  overflow:hidden;
  padding:12px var(--pad);
}
.odds-event__head{
  margin-bottom:12px;
  padding-bottom:10px;
  border-bottom:1px solid var(--line);
}
.odds-event__teams{
  font-weight:950;
  font-size:13px;
  line-height:1.2;
}
.odds-event__meta{
  font-size:11px;
  color:var(--muted);
  margin-top:4px;
}
.odds-event__block{
  margin-top:12px;
}
.odds-event__block:first-of-type{margin-top:0;}
.odds-block__label{
  font-weight:900;
  font-size:11px;
  color:var(--muted);
  margin-bottom:6px;
}
.odds-block__rows{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.odds-row{
  display:grid;
  grid-template-columns:100px 1fr;
  align-items:center;
  gap:10px;
  font-size:12px;
}
.odds-row__sb{
  font-weight:900;
  color:var(--muted);
}
.odds-row__prices{
  display:flex;
  gap:10px;
  align-items:center;
}
.odds-price{
  padding:6px 10px;
  border-radius:var(--r-chip);
  border:1px solid var(--line);
  background:var(--elev);
  color:var(--text);
  font-weight:950;
  font-size:12px;
  font-variant-numeric:tabular-nums;
  cursor:pointer;
  transition:border-color var(--tap), background var(--tap);
}
.odds-price:hover{
  border-color:var(--green);
  background:rgba(23,201,100,.12);
}
.odds-price--best{
  border-color:var(--green);
  background:rgba(23,201,100,.15);
  color:var(--green);
  cursor:default;
}
.odds-row--best .odds-row__sb{color:var(--green);}

/* ----- Simulated (fixed) matches: mobile-only ----- */
:root{
  --surface:#121621;
  --accent:#E31D3B;
  --accent-2:#2A78FF;
}
.sim-badge{
  font-size:11px;
  color:var(--muted);
  text-align:center;
  padding:6px var(--pad);
  background:var(--surface);
  border:1px dashed var(--line);
  border-radius:var(--r-chip);
  margin:0 var(--pad) var(--s-12);
}
.sim-badge-inline{ margin-left:8px; font-size:10px; opacity:.9; }
.topbar__center{ display:flex; flex-direction:column; align-items:center; gap:2px; }
.fixed-detail__league{ font-size:11px; color:var(--muted); }
.fixed-detail__teams{ font-weight:700; font-size:14px; }
.fixed-detail__meta{ font-size:11px; color:var(--muted); }
.fixed-detail__meta .is-live{ color:var(--accent); font-weight:700; }
.fixed-detail__scorebar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:var(--s-16) var(--pad);
  background:var(--card);
  border-radius:var(--r-modal);
  margin:0 var(--pad) var(--s-16);
  border:1px solid var(--line);
}
.fixed-detail__team{ display:flex; flex-direction:column; align-items:center; gap:4px; }
.fixed-detail__teamname{ font-size:13px; font-weight:600; }
.fixed-detail__score{ font-size:24px; font-weight:800; font-variant-numeric:tabular-nums; }
.fixed-detail__vs{ font-size:12px; color:var(--muted); }
.fixed-detail__section{ padding:0 var(--pad) var(--s-20); }
.fixed-detail__sectionTitle{ font-size:13px; font-weight:700; margin:0 0 var(--s-8); color:var(--muted); }
.fixed-detail__locked{ font-size:12px; color:var(--muted); margin-top:8px; }
.fixed-detail__timeline{ display:flex; flex-direction:column; gap:6px; }
.fixed-detail__timelineItem{ display:flex; gap:12px; font-size:13px; }
.fixed-detail__timelineMin{ font-variant-numeric:tabular-nums; color:var(--muted); min-width:28px; }
.fixed-detail__watchWrap{ padding:var(--pad); }
.fixed-market{ margin-bottom:var(--s-16); }
.fixed-market__title{ font-size:12px; font-weight:700; margin-bottom:8px; color:var(--muted); }
.fixed-market__selections{ display:flex; flex-wrap:wrap; gap:8px; }
.fixed-market__sel{ display:inline-flex; flex-direction:column; align-items:center; padding:10px 14px; }
.fixed-market__sel.is-selected{ border-color:var(--accent-2); background:rgba(42,120,255,.15); }
.fixed-market__sel.is-disabled{ opacity:.6; cursor:not-allowed; }
.fixed-market__label{ font-size:12px; }
.fixed-market__price{ font-weight:800; font-variant-numeric:tabular-nums; margin-top:2px; }
.fixed-list{ padding:0 var(--pad); }
.fixed-list__row{
  display:block;
  padding:14px 12px;
  margin-bottom:8px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--r-modal);
  transition:border-color var(--tap);
}
.fixed-list__row:active{ background:var(--elev); }
.fixed-list__teams{ font-weight:700; font-size:14px; }
.fixed-list__meta{ font-size:11px; color:var(--muted); margin-top:4px; }
.fixed-list__row .chip{ margin-top:8px; }
.betslip-drawer{
  position:fixed;
  inset:0;
  z-index:100;
  pointer-events:none;
  visibility:hidden;
}
.betslip-drawer.is-open{ pointer-events:auto; visibility:visible; }
.betslip-drawer__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.6);
  opacity:0;
  transition:opacity var(--modal);
}
.betslip-drawer.is-open .betslip-drawer__backdrop{ opacity:1; }
.betslip-drawer__panel{
  position:absolute;
  right:0;
  top:0;
  bottom:0;
  width:min(100%, 340px);
  max-width:var(--maxw);
  background:var(--card);
  border-left:1px solid var(--line);
  box-shadow:var(--shadow);
  transform:translateX(100%);
  transition:transform var(--modal) var(--ease);
  display:flex;
  flex-direction:column;
}
.betslip-drawer.is-open .betslip-drawer__panel{ transform:translateX(0); }
.betslip-drawer__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:var(--s-16) var(--pad);
  border-bottom:1px solid var(--line);
}
.betslip-drawer__head h3{ margin:0; font-size:16px; }
.betslip-drawer__body{ padding:var(--pad); flex:1; overflow:auto; }
.betslip-drawer__sel{ font-size:13px; padding:6px 0; border-bottom:1px solid var(--line); }
.betslip-drawer__stake{ margin:12px 0; }
.betslip-drawer__stake label{ display:block; font-size:12px; margin-bottom:4px; color:var(--muted); }
.betslip-drawer__stake input{ width:100%; padding:10px; border:1px solid var(--line); border-radius:var(--r-chip); background:var(--bg); color:var(--text); font-size:16px; }
.betslip-drawer__return{ margin:12px 0; font-size:14px; }
.betslip-drawer__return strong{ font-variant-numeric:tabular-nums; }
.fab{
  position:fixed;
  bottom:calc(var(--bottomnav-h) + 12px);
  right:var(--pad);
  z-index:50;
  padding:12px 20px;
  border-radius:999px;
  background:var(--accent-2);
  color:var(--white);
  font-weight:700;
  font-size:13px;
  border:none;
  box-shadow:var(--shadow);
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.fab__count{
  background:var(--accent);
  color:var(--white);
  min-width:22px;
  height:22px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
}

/* Live pitch view */
.fixed-live{ padding-bottom:0; max-width:430px; }
.fixed-live__topbar .topbar__center{ flex-direction:row; gap:8px; align-items:center; }
.fixed-live__min{ font-weight:800; font-variant-numeric:tabular-nums; }
.fixed-live__scorebar{
  display:flex;
  justify-content:space-between;
  padding:10px var(--pad);
  background:var(--card);
  border-bottom:1px solid var(--line);
}
.fixed-live__team{ display:flex; flex-direction:column; align-items:center; gap:2px; }
.fixed-live__team--away{ align-items:center; }
.fixed-live__teamname{ font-size:12px; font-weight:600; }
.fixed-live__score{ font-size:20px; font-weight:800; font-variant-numeric:tabular-nums; }
.fixed-live__pitchWrap{
  position:relative;
  width:100%;
  aspect-ratio:360/520;
  max-height:calc(100vh - 140px);
  background:#0d1117;
}
.fixed-live__pitch{ width:100%; height:100%; object-fit:contain; display:block; }
.fixed-live__ball{
  position:absolute;
  width:24px;
  height:24px;
  margin-left:-12px;
  margin-top:-12px;
  left:50%;
  top:50%;
  background:url("/assets/sim/ball.svg") center/contain no-repeat;
  pointer-events:none;
  transition:left .15s linear, top .15s linear;
  z-index:5;
}
.fixed-live__ball--goal{ transition:left .5s var(--ease), top .5s var(--ease); filter:drop-shadow(0 0 12px rgba(227,29,59,.6)); }
.fixed-live__cards{ position:absolute; top:60px; left:0; right:0; z-index:10; pointer-events:none; display:flex; justify-content:space-between; padding:0 var(--pad); }
.fixed-live__card{
  font-size:28px;
  animation:fixed-live-card 2s ease-out;
  opacity:0;
}
@keyframes fixed-live-card{
  0%{ transform:scale(0.5); opacity:1; }
  15%{ transform:scale(1.2); opacity:1; }
  85%{ opacity:1; }
  100%{ transform:scale(1); opacity:0; }
}
.fixed-live__card--yellow{ color:#F5C044; }
.fixed-live__card--red{ color:var(--accent); }
.fixed-live__card--left{ align-self:flex-start; }
.fixed-live__card--right{ align-self:flex-end; }
.fixed-live__overlay{
  position:fixed;
  inset:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.7);
  font-size:48px;
  font-weight:800;
  color:var(--text);
  pointer-events:none;
}

/* Admin wizard */
.wizard{ padding:var(--pad); max-width:var(--maxw); }
.wizard__step label{ display:block; margin-top:12px; margin-bottom:4px; font-size:12px; color:var(--muted); }
.wizard__step input[type="text"], .wizard__step input[type="number"], .wizard__step input[type="datetime-local"], .wizard__step select{ width:100%; max-width:100%; padding:10px; border:1px solid var(--line); border-radius:var(--r-chip); background:var(--bg); color:var(--text); margin-bottom:8px; box-sizing:border-box; }
.wizard__step h3{ margin:0 0 12px; font-size:16px; }
.wizard__row{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:8px 0; }
.wizard__row input{ flex:1; min-width:60px; }
.wizard__inline{ display:flex; gap:8px; margin-top:8px; }
.wizard__inline input{ flex:1; }
.wizard__sels .wizard__row{ margin:4px 0; }
.wizard__sels input[placeholder="code"]{ width:60px; }
.wizard__sels input[placeholder="label"]{ flex:1; min-width:80px; }
.wizard__sels input[placeholder="price"]{ width:70px; }
.wizard .btn{ margin-right:8px; margin-top:12px; }
.wizard__or{ font-size:11px; color:var(--muted); margin:12px 0 4px; }
.wizard__addMarketRow{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:12px 0; }
.wizard__addMarketRow label{ margin:0; }
.wizard__addMarketRow select{ width:auto; min-width:140px; }
.wizard__marketCard{ margin-bottom:16px; }
.wizard__selsHead{ display:flex; gap:8px; margin:8px 0 4px; font-size:11px; font-weight:700; color:var(--muted); }
.wizard__selsHead span:first-of-type{ flex:1; }
.wizard__selRow{ margin:4px 0; }
.wizard__selRow input[placeholder="Code"]{ width:56px; flex:0 0 auto; }
.wizard__selRow input[placeholder*="Choice"]{ flex:1; min-width:80px; }
.wizard__selRow input[placeholder="Odds"]{ width:72px; flex:0 0 auto; }
.wizard__lineLabel{ margin-right:8px; font-size:12px; color:var(--muted); }
.wizard__logoRow{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:6px; }
.wizard__logoRow input[type="file"]{ font-size:12px; max-width:100%; }
.wizard__logoOr{ font-size:11px; color:var(--muted); }
.wizard__logoRow input[type="url"]{ flex:1; min-width:120px; }
.wizard__logoPreview{ margin-top:8px; min-height:32px; }
.wizard__logoImg{ max-width:64px; max-height:64px; object-fit:contain; border-radius:8px; border:1px solid var(--line); }

/* ── Deposit page ─────────────────────────────────────── */
.deposit-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:16px;
  padding:0;
  overflow:hidden;
  margin-bottom:16px;
}
.deposit-card__header{
  display:flex;
  align-items:center;
  gap:14px;
  padding:20px 20px 0;
}
.deposit-card__icon{
  flex-shrink:0;
  width:40px;height:40px;
  display:flex;align-items:center;justify-content:center;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(42,97,255,.15), rgba(227,22,43,.10));
  color:var(--text);
}
.deposit-card__title{
  font-weight:950;
  font-size:16px;
  line-height:1.3;
  color:var(--text);
}
.deposit-card__sub{
  font-size:12px;
  color:var(--muted);
  line-height:1.35;
  margin-top:2px;
}
.deposit-card .gateway-tabs{
  margin:16px 20px 0;
}
.deposit-card__panel{
  padding:0;
}
.deposit-card__panel-header{
  padding:16px 20px 0;
}
.deposit-card__panel-title{
  font-weight:900;
  font-size:14px;
  color:var(--text);
}
.deposit-card__panel-sub{
  font-size:12px;
  color:var(--muted);
  margin-top:2px;
  line-height:1.35;
}
.deposit-card__body{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:16px 20px 24px;
}
.deposit-card__body .field{
  gap:8px;
}
.deposit-card__body .input{
  padding:12px 14px;
  font-size:15px;
  border-radius:10px;
  background:rgba(12,14,18,.4);
}
.deposit-card__body select.input{
  appearance:none;
  -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  padding-right:36px;
  cursor:pointer;
}
.deposit-card__submit{
  margin-top:4px;
  padding:14px 20px;
  font-size:15px;
  font-weight:900;
  letter-spacing:.02em;
}
.deposit-card__msg{
  font-size:12px;
  color:var(--muted);
  text-align:center;
}
.deposit-card__qr{
  margin:0 20px 24px;
  padding:20px;
  background:rgba(12,14,18,.35);
  border-radius:14px;
  border:1px solid var(--line);
}
.deposit-card__qr-header{
  text-align:center;
  margin-bottom:16px;
}
.deposit-card__qr-img{
  display:flex;
  justify-content:center;
  margin-bottom:16px;
}
.deposit-card__qr-img img{
  max-width:180px;
  width:100%;
  height:auto;
  border-radius:10px;
  border:2px solid var(--line);
}
.deposit-card__copy-row{
  display:flex;
  gap:8px;
  align-items:center;
}
.deposit-card__meta{
  margin-top:10px;
  font-size:11px;
  color:var(--muted);
  font-variant-numeric:tabular-nums;
}
.deposit-card .gateway-tab{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}
.deposit-card .gateway-tab svg{
  flex-shrink:0;
  opacity:.7;
}
.deposit-card .gateway-tab.is-active svg{
  opacity:1;
}

