/* ============ RESET ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root{
  --yellow:#f3ed1f;
  --yellow-bright:#f5ef1c;
  --bg:#0e0e0e;
  --black:#000;
  --card:#1b1b1b;
  --card2:#232323;
  --line:#2a2a2a;
  --text:#e8e8e8;
  --muted:#9a9a9a;
  --green:#74c046;
  --red:#e23b35;
  --gray-badge:#3a3a3a;
}
html,body{ background:var(--bg); color:var(--text);
  font-family:"Inter","Segoe UI",Arial,Helvetica,sans-serif; font-size:14px; }
a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; }
button{ font-family:inherit; cursor:pointer; border:none; }

/* ============ TICKER ============ */
.ticker{
  display:flex; align-items:stretch; height:34px; background:var(--black);
  border-bottom:1px solid #1c1c1c; font-size:12.5px; overflow:hidden;
}
.ticker-all{
  display:flex; align-items:center; padding:0 14px; font-weight:700; color:#fff;
  border-bottom:2px solid transparent;
}
.ticker-all.active{ color:var(--yellow); border-bottom:2px solid var(--yellow); }
.ticker-icons{ display:flex; align-items:center; gap:14px; padding:0 14px; }
.ticon{ filter:grayscale(1) brightness(2); font-size:14px; opacity:.9; }
.ticker-races{ display:flex; align-items:stretch; overflow:hidden; flex:1; }
.tk-race{
  display:flex; align-items:center; gap:8px; padding:0 14px;
  border-left:1px solid #1c1c1c; white-space:nowrap; color:#dcdcdc;
}
.tk-race .tk-ico{ filter:grayscale(1) brightness(2); font-size:13px; }
.tk-badge{
  font-size:11px; font-weight:700; padding:2px 7px; border-radius:4px;
  background:var(--gray-badge); color:#ddd;
}
.tk-badge.soon{ background:var(--red); color:#fff; }

/* ============ HEADER ============ */
.header{
  display:flex; align-items:center; justify-content:space-between;
  height:56px; background:var(--black); padding:0 18px;
  border-bottom:1px solid #161616; position:relative; z-index:20;
}
.logo img{ height:22px; }
.header-right{ display:flex; align-items:center; gap:12px; height:100%; }
.btn{ border-radius:20px; padding:8px 20px; font-weight:700; font-size:13px; }
.btn-login{ background:var(--yellow); color:#111; }
.btn-join{ background:transparent; color:#fff; border:1px solid #555; }
.betslip-toggle{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  background:var(--yellow); color:#111; height:100%; padding:0 22px; cursor:pointer;
  font-weight:700; font-size:13px; line-height:1.2; margin-right:-18px;
}
.bs-count{ font-size:12px; font-weight:600; }

/* ============ LAYOUT ============ */
.layout{ display:grid; grid-template-columns:210px 1fr 290px; align-items:start; }

/* ============ SIDEBAR ============ */
.sidebar{
  background:#0c0c0c; min-height:calc(100vh - 90px); padding:10px 0;
  border-right:1px solid #161616;
}
.nav{ display:flex; flex-direction:column; }
.nav-item{
  display:flex; align-items:center; gap:12px; padding:11px 18px; font-weight:600;
  font-size:14px; color:#e6e6e6; position:relative;
}
.nav-item.active{ color:var(--yellow); }
.nav-item:hover{ background:#161616; }
.ni-ico{ width:18px; text-align:center; }
.caret{ margin-left:auto; font-size:11px; color:var(--muted); }
.nav-link{ padding:9px 18px; font-size:14px; color:#d8d8d8; }
.nav-link:hover{ background:#161616; }
.nav-section{
  padding:16px 18px 6px; font-size:11px; letter-spacing:.5px; text-transform:uppercase;
  color:var(--muted); font-weight:700;
}

/* ============ MAIN ============ */
.main{ padding:14px 18px 30px; min-width:0; }

/* RESPONSIBLE GAMBLING PAGE */
.breadcrumb{ font-size:12px; color:var(--muted); letter-spacing:.5px; margin:6px 0 14px; }
.page-title-card{
  background:#141414; border:1px solid #232323; border-radius:8px;
  padding:26px 22px; margin-bottom:14px;
}
.page-title-card h1{ font-size:24px; font-weight:800; }
.policy-card{
  background:#141414; border:1px solid #232323; border-radius:8px;
  padding:20px 22px; display:flex; align-items:center; cursor:pointer;
}
.policy-card:hover{ background:#181818; }
.policy-link{ font-weight:700; font-size:15px; text-decoration:underline; color:#fff; }
.policy-caret{ margin-left:auto; color:var(--muted); font-size:13px; }
.policy-content{
  background:#141414; border:1px solid #232323; border-radius:8px;
  padding:22px 26px; margin-top:14px; line-height:1.65; color:#d6d6d6; font-size:13.5px;
}
.policy-content h2{ font-size:18px; color:#fff; margin:22px 0 8px; }
.policy-content h3{ font-size:15px; color:var(--yellow); margin:18px 0 6px; }
.policy-content p{ margin-bottom:10px; }
.policy-content ul{ margin:0 0 12px 20px; }
.policy-content li{ margin-bottom:6px; }
.policy-content a{ color:#3aa0e0; text-decoration:underline; word-break:break-word; }
.pc-meta{ color:var(--muted); font-size:12px; font-style:italic; margin-bottom:8px; }
.contact-card{
  background:#141414; border:1px solid #232323; border-radius:8px;
  padding:22px 26px; margin-top:14px;
}
.contact-lead{ font-size:16px; color:#e8e8e8; }
.contact-lead a{ color:#fff; text-decoration:underline; }
.contact-divider{ border:none; border-top:1px solid #2a2a2a; margin:18px 0; }
.contact-label{ font-size:13px; color:var(--muted); margin-bottom:4px; }
.contact-value{ font-size:16px; font-weight:800; color:var(--yellow); }
.contact-value a{ color:var(--yellow); }

/* HERO */
.hero{ border-radius:6px; overflow:hidden; }
.hero img{ width:100%; height:140px; object-fit:cover; }

/* AVATARS */
.avatars{ display:flex; justify-content:center; gap:34px; padding:18px 0 10px; flex-wrap:wrap; }
.avatar{ display:flex; flex-direction:column; align-items:center; gap:8px; cursor:pointer; }
.avatar-img{
  width:66px; height:66px; border-radius:50%; border:3px solid var(--yellow);
  object-fit:cover; display:block;
}
.avatar span{ font-size:12px; color:#ddd; }

/* SEG TOGGLE */
.seg-toggle{
  display:flex; background:#1c1c1c; border-radius:22px; padding:4px;
  width:300px; margin:12px auto 18px;
}
.seg{
  flex:1; background:transparent; color:#cfcfcf; padding:8px 0; border-radius:18px;
  font-weight:700; font-size:14px;
}
.seg.active{ background:#000; color:#fff; }

/* CATS */
.cats{ display:flex; justify-content:center; gap:50px; padding:6px 0 20px; }
.cat{ display:flex; flex-direction:column; align-items:center; gap:7px; cursor:pointer; }
.cat-ico{
  width:40px; height:40px; border-radius:50%; background:#1c1c1c;
  display:flex; align-items:center; justify-content:center; font-size:18px;
  filter:grayscale(.2);
}
.cat span{ font-size:12px; color:#ccc; }

/* NEXT UP COLUMNS */
.nextup-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.col-title{ font-size:14px; font-weight:700; margin-bottom:8px; }
.nextup-card{ background:var(--card); border-radius:8px; overflow:hidden; }
.nu-row{
  display:flex; align-items:center; gap:8px; padding:11px 12px;
  border-bottom:1px solid #232323; font-size:13px;
}
.nu-row:last-child{ border-bottom:none; }
.nu-row.hi{ background:#262626; }
.nu-ico{ filter:grayscale(1) brightness(2); font-size:14px; }
.nu-name{ font-weight:600; color:#fff; }
.nu-country{ color:var(--muted); font-size:11px; margin-left:2px; }
.nu-right{ margin-left:auto; display:flex; align-items:center; gap:8px; }
.sky-tag{
  color:#1fa84a; font-size:11px; font-weight:900; font-style:italic;
  letter-spacing:-.4px;
}
.srm-tag{
  background:#6b4fc7; color:#fff; font-size:9px; font-weight:800; padding:2px 5px;
  border-radius:3px; letter-spacing:.3px;
}
.nu-time{
  font-size:11px; font-weight:700; padding:3px 8px; border-radius:4px;
  background:var(--gray-badge); color:#ddd; min-width:42px; text-align:center;
}
.nu-time.soon{ background:var(--red); color:#fff; }
.nu-time.green{ background:transparent; color:var(--green); }

/* SECTION HEAD */
.section-head{ display:flex; align-items:center; justify-content:space-between; margin:24px 0 10px; }
.section-title{ font-size:15px; font-weight:700; }
.arrows{ display:flex; gap:6px; }
.arrow{
  width:26px; height:26px; border-radius:50%; background:#1c1c1c; color:#ccc;
  font-size:14px; display:flex; align-items:center; justify-content:center;
}

/* FAVES */
.faves-grid{ display:flex; gap:16px; overflow-x:auto; padding-bottom:4px; }
.faves-grid::-webkit-scrollbar,.multis-grid::-webkit-scrollbar{ height:6px; }
.faves-grid::-webkit-scrollbar-thumb,.multis-grid::-webkit-scrollbar-thumb{ background:#333; border-radius:3px; }
.fave-card{ background:var(--card); border-radius:8px; padding:12px; flex:0 0 330px; }
.fave-top{ display:flex; align-items:center; gap:8px; font-size:12px; margin-bottom:12px; }
.fave-track{ font-weight:700; }
.fave-top .nu-right{ margin-left:auto; }
.fave-runner{ display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.silk{
  width:32px; height:32px; border-radius:6px; display:flex; align-items:center;
  justify-content:center; font-size:13px; font-weight:800; color:#fff;
}
.fave-runner-info .fr-name{ font-weight:700; font-size:13px; }
.fave-runner-info .fr-sub{ color:var(--muted); font-size:11px; }
.fave-odds{ display:flex; gap:10px; }
.odd-box{
  flex:1; background:#000; border:1px solid #2c2c2c; border-radius:5px;
  padding:8px; text-align:center;
}
.odd-box .ob-label{ font-size:11px; color:var(--muted); }
.odd-box .ob-val{ font-size:15px; font-weight:800; color:#fff; }

/* MULTIS */
.multis-grid{ display:flex; gap:16px; overflow-x:auto; padding-bottom:4px; }
.multi-card{ background:var(--card); border-radius:8px; overflow:hidden; flex:0 0 420px; }
.multi-head{
  display:flex; align-items:center; gap:8px; padding:12px; font-size:14px; font-weight:700;
  border-bottom:2px solid var(--yellow);
}
.multi-head .circ{
  width:26px; height:26px; border-radius:50%; border:2px solid var(--yellow);
  display:flex; align-items:center; justify-content:center; font-size:11px; color:var(--yellow);
}
.multi-head .nu-right{ margin-left:auto; }
.multi-leg{
  display:flex; align-items:center; gap:10px; padding:10px 12px; font-size:13px;
  border-bottom:1px solid #202020;
}
.multi-leg .ml-name{ font-weight:700; }
.multi-leg .top4{ margin-left:auto; color:var(--muted); font-size:12px; }
.multi-foot{
  display:flex; align-items:center; gap:8px; padding:11px 12px;
  border-top:1px solid #232323;
}
.legs-label{ display:flex; align-items:center; gap:6px; font-weight:700; font-size:13px; }
.add-btn{
  margin-left:auto; background:var(--green); color:#0a2a06; font-weight:800;
  padding:9px 18px; border-radius:5px; font-size:12px;
}

/* RG BANNER */
.rg-banner{ background:#f1f1f1; color:#111; border-radius:8px; padding:14px 16px; margin-top:26px; }
.rg-strong{ font-weight:800; font-size:13px; }
.rg-text{ font-size:12px; margin-top:3px; }
.rg-text a{ text-decoration:underline; }

/* BETSTOP */
.betstop-banner{
  display:flex; align-items:center; gap:18px; background:#161616;
  border-radius:8px; padding:14px 16px; margin-top:14px;
}
.betstop-logo{
  display:flex; flex-direction:column; line-height:1; font-weight:900; font-size:22px;
  color:#fff; min-width:120px;
}
.betstop-logo span{ color:#2db3e0; }
.betstop-logo small{ font-size:7px; font-weight:600; color:#aaa; margin-top:4px; letter-spacing:.3px; }
.betstop-text{ font-size:12px; color:#cfcfcf; line-height:1.5; }
.betstop-text a{ color:#2db3e0; text-decoration:underline; }

/* PARTNERS */
.partners-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:22px; text-align:center; }
.partners-col h4{ font-size:12px; color:#bbb; font-weight:600; margin-bottom:12px; }
.logo-strip{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.plogo{
  width:64px; height:34px; background:#fff; border-radius:5px;
  display:flex; align-items:center; justify-content:center; padding:5px;
  font-size:10px; font-weight:800; color:#444; border:1px solid #2a2a2a; overflow:hidden;
}
.plogo.light{ background:#fff; }
.plogo img{ max-width:100%; max-height:100%; object-fit:contain; }

/* FOOTER */
.footer{ margin-top:30px; padding-top:18px; border-top:1px solid #1d1d1d; }
.footer-links{ display:flex; flex-wrap:wrap; gap:18px; margin-bottom:14px; }
.footer-links a{ font-weight:700; font-size:13px; }
.footer-text{ font-size:11px; color:var(--muted); line-height:1.6; margin-bottom:10px; }
.footer-text a{ color:#cfcfcf; text-decoration:underline; }
.footer-bottom{ display:flex; align-items:center; gap:10px; margin:14px 0; }
.age-badge{
  width:30px; height:30px; border-radius:50%; border:2px solid var(--red); color:var(--red);
  font-size:11px; font-weight:800; display:flex; align-items:center; justify-content:center;
}
.must-be{ font-size:12px; color:#ddd; }
.store-badges{ display:flex; gap:12px; margin-top:6px; align-items:center; }
.store-badges img{ height:40px; width:auto; display:block; }
.store-badge{
  display:inline-flex; align-items:center; gap:4px; border:1px solid #555;
  border-radius:6px; padding:6px 14px; font-size:12px; color:#ddd;
}

/* ============ BET SLIP ============ */
.betslip{ background:#0c0c0c; min-height:calc(100vh - 90px); border-left:1px solid #161616; }
.betslip-head{
  display:flex; align-items:center; justify-content:space-between;
  background:var(--yellow); color:#111; padding:12px 16px;
}
.betslip-head h3{ font-size:16px; font-weight:800; }
.gear{ font-size:15px; }
.betslip-body{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding-top:120px; gap:6px;
}
.bs-empty-icon{ width:70px; height:46px; background:#1c1c1c; border-radius:8px; margin-bottom:14px; }
.bs-empty-title{ font-weight:700; font-size:15px; }
.bs-empty-sub{ color:var(--muted); font-size:13px; }

/* SKY WATCH */
.sky-watch{
  position:fixed; right:24px; bottom:18px; width:70px; height:70px; border-radius:50%;
  background:radial-gradient(circle at 50% 35%,#1a52b5,#0a2a6a); color:#fff;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  box-shadow:0 4px 14px rgba(0,0,0,.5); cursor:pointer; z-index:50; text-align:center;
}
.sky-logo{ font-size:13px; font-weight:900; line-height:1; }
.sky-logo small{ font-size:7px; letter-spacing:1px; }
.sky-play{
  position:absolute; bottom:-4px; background:var(--yellow); color:#111;
  font-size:8px; font-weight:800; padding:2px 6px; border-radius:8px;
}

/* RESPONSIVE */
@media(max-width:1100px){
  .layout{ grid-template-columns:180px 1fr; }
  .betslip{ display:none; }
}
@media(max-width:760px){
  .layout{ grid-template-columns:1fr; }
  .sidebar{ display:none; }
  .nextup-grid,.faves-grid,.multis-grid,.partners-row{ grid-template-columns:1fr; }
}
