@font-face{font-family:Poppins;font-weight:400;font-display:swap;src:url(../fonts/poppins-regular.woff2) format("woff2")}
@font-face{font-family:Poppins;font-weight:500;font-display:swap;src:url(../fonts/poppins-medium.woff2) format("woff2")}
@font-face{font-family:Poppins;font-weight:600;font-display:swap;src:url(../fonts/poppins-semibold.woff2) format("woff2")}
@font-face{font-family:Poppins;font-weight:700;font-display:swap;src:url(../fonts/poppins-bold.woff2) format("woff2")}
@font-face{font-family:"Science Gothic";font-weight:700;font-display:swap;src:url(../fonts/science-gothic-bold.woff2) format("woff2")}

:root{--bg:#0f0f0f;--panel:#1a1a1a;--line:#2a2a2a;--btn:#333;--red:#e60000;--text:#fff;--mute:#9e9ea0}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font:400 14px/1.45 Poppins,-apple-system,"Segoe UI",Roboto,sans-serif;min-height:100vh}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
ul{list-style:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;text-align:inherit}
i[data-i]{display:inline-flex;width:20px;height:20px;flex:none;color:var(--mute)}
i[data-i] svg{width:100%;height:100%}

button.btn,a.btn{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 16px;border-radius:4px;background:var(--btn);color:#fff;font-weight:600;font-size:14px;white-space:nowrap;text-align:center}
button.btn.red,a.btn.red{background:var(--red);color:#fff}
button.btn:hover{filter:brightness(1.15)}

/* promo bar */
.promo-bar{display:flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 44px 0 12px;position:relative;background:linear-gradient(90deg,#8a0000,#e60000 50%,#8a0000);color:#fff;font-weight:600}
.promo-bar[hidden]{display:none}
.promo-bar .go{display:flex;align-items:center;gap:8px;color:#fff;font-weight:600}
.promo-bar img{width:24px;height:24px}
.promo-bar .x{position:absolute;right:8px;top:8px;width:24px;height:24px}
.promo-bar .x i{color:#fff}

/* header */
.hdr{position:sticky;top:0;z-index:30;background:var(--bg);border-bottom:1px solid var(--line)}
.hdr-top{display:flex;align-items:center;gap:16px;height:56px;padding:0 16px}
.logo img{width:150px;height:19px}
.hdr-top .sp{flex:1}
.lang{display:flex;align-items:center;gap:4px;color:var(--mute);font-weight:500}
.lang img{width:20px;height:20px}
.ib{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center}
.nav{display:flex;gap:4px;padding:0 16px;height:48px;align-items:center;overflow-x:auto;scrollbar-width:none}
.nav a,.nav button{display:flex;align-items:center;gap:6px;height:40px;padding:0 12px;border-radius:4px;color:var(--mute);font-weight:500;white-space:nowrap}
.nav a:hover,.nav button:hover,.nav .on{color:#fff;background:var(--panel)}
.m-only{display:none}

/* layout */
.shell{display:grid;grid-template-columns:296px minmax(0,1fr) 296px;align-items:start}
.side{position:sticky;top:105px;height:calc(100vh - 105px);overflow-y:auto;padding:16px;scrollbar-width:none;-ms-overflow-style:none}
.side::-webkit-scrollbar{display:none}
.side-banner{display:block;width:100%;height:72px;border-radius:8px;background:linear-gradient(120deg,#e60000,#7a0000);padding:12px 16px;font:700 16px/1.2 "Science Gothic",Poppins,sans-serif;text-transform:uppercase;color:#fff}
.side h3{margin:20px 0 6px;font-size:12px;font-weight:600;letter-spacing:.06em;color:var(--mute);text-transform:uppercase}
.side li>a,.side li>button{display:flex;align-items:center;gap:12px;width:100%;height:44px;padding:0 8px;border-radius:6px;color:#fff;font-weight:500}
.side li>a:hover,.side li>button:hover{background:var(--panel)}
.side .meta{display:flex;justify-content:space-between;align-items:center;height:44px;padding:0 8px;color:#fff;font-weight:500}
.side .meta span{color:var(--mute)}
main{padding:16px 16px 0;min-width:0}
.betslip{position:sticky;top:105px;margin:16px 16px 0 0;padding:20px;border-radius:8px;background:var(--panel);text-align:center}
.betslip h3{font-size:16px;font-weight:600;margin-bottom:8px}
.betslip p{color:var(--mute)}

/* hero carousel */
.hero{max-width:712px;display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:8px}
.hero::-webkit-scrollbar{display:none}
.hero button{flex:0 0 100%;max-width:712px;aspect-ratio:712/256;scroll-snap-align:start;border-radius:8px;overflow:hidden;background:var(--panel)}
.hero img{width:100%;height:100%;object-fit:cover}

/* quick strip */
.quick{display:flex;gap:16px;overflow-x:auto;padding:20px 0 4px;scrollbar-width:none}
.quick::-webkit-scrollbar{display:none}
.quick button{display:flex;flex-direction:column;align-items:center;gap:8px;flex:0 0 72px;text-align:center;font-size:12px;font-weight:500;color:#fff}
.quick .ci{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:var(--panel)}
.quick img{width:32px;height:32px}

/* sections */
.sec{margin-top:28px}
.sec-h{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.sec-h h2{font-size:18px;font-weight:600;flex:1}
.sec-h .all{display:flex;align-items:center;color:var(--mute);font-weight:500}
.sec-h .arr{width:28px;height:28px;border-radius:50%;background:var(--panel);display:inline-flex;align-items:center;justify-content:center}
.sec-h .arr i{width:20px;height:20px;color:#fff}
.sec-h .arr.prev i{transform:rotate(180deg)}
.row{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}
.row::-webkit-scrollbar{display:none}
.card{flex:0 0 109px;width:109px;scroll-snap-align:start}
.card img{width:109px;height:109px;border-radius:8px;object-fit:cover;background:var(--panel)}
.card span{display:block;margin-top:6px;font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.card.live{flex-basis:200px;width:200px}
.card.live img{width:200px;height:300px}
.prov{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,40px);grid-auto-columns:minmax(140px,1fr);gap:8px;overflow-x:auto;scrollbar-width:none}
.prov button{display:flex;align-items:center;gap:8px;padding:0 12px;border-radius:6px;background:var(--panel);font-weight:500;font-size:13px}
.prov img{width:24px;height:24px;border-radius:4px}

.help{display:flex;align-items:center;gap:16px;margin-top:28px;padding:16px;border-radius:8px;background:var(--panel)}
.help i{width:32px;height:32px;color:#fff}
.help h2{font-size:16px;font-weight:600;flex:1}
.help .acts{display:flex;gap:8px;flex-wrap:wrap}

/* SEO */
.vh{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.seo{margin-top:28px;border-radius:8px;background:var(--panel)}
.seo>button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:16px;font-size:16px;font-weight:600}
.seo>button i{width:24px;height:24px;color:#fff;transition:transform .2s}
.seo>button[aria-expanded=true] i{transform:rotate(180deg)}
.seo-body{display:none;padding:0 16px 16px;color:#cfcfd1}
.seo-body ol{list-style:decimal;margin:0 0 12px;padding-left:22px}
.seo-body ol li{margin:4px 0}
.seo-body.open{display:block}
.seo-body h2,.seo-body h3{color:#fff;font-size:16px;margin:16px 0 6px}
.seo-body p{margin-bottom:8px}
.seo-body a{color:#fff;text-decoration:underline}

/* footer */
.foot{margin-top:28px;border-top:1px solid var(--line);padding:24px 16px 100px;color:var(--mute)}
.foot-in{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1100px;margin:0 auto}
.foot h3{color:#fff;font-size:14px;font-weight:600;margin-bottom:10px}
.foot li{margin:6px 0}
.foot a:hover,.foot li button:hover{color:#fff}
.foot li button{color:var(--mute)}
.foot .legal{grid-column:1/-1;font-size:12px;line-height:1.6}
.foot .legal b{color:#fff}
.badge18{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:2px solid var(--mute);border-radius:50%;font-weight:700;color:#fff;margin-right:8px}

/* inner pages */
.page{max-width:820px}
.crumbs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px;font-size:12px;color:var(--mute)}
.crumbs a:hover{color:#fff}
.crumbs span+span:before,.crumbs a+span:before,.crumbs span+a:before{content:"/";margin-right:6px}
.page h1{font-size:26px;line-height:1.25;font-weight:700;margin-bottom:12px}
.page h2{font-size:20px;font-weight:600;margin:28px 0 10px}
.page h3{font-size:16px;font-weight:600;margin:18px 0 6px}
.page p{margin-bottom:10px;color:#d6d6d8}
.page ul.list,.page ol.list{margin:0 0 12px 20px;color:#d6d6d8}
.page ul.list{list-style:disc}.page ol.list{list-style:decimal}
.page .list li{margin:4px 0}
.page a.in{color:#fff;text-decoration:underline}
.lead{font-size:16px;color:#fff!important}
.cta-row{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.box{padding:16px;border-radius:8px;background:var(--panel);margin:12px 0}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:12px 0}
.grid .box{margin:0}
.grid .box h3{margin-top:0}
.tw{overflow-x:auto;margin:12px 0}
table.t{width:100%;border-collapse:collapse;min-width:480px}
table.t th,table.t td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--line);color:#d6d6d8}
table.t th{color:#fff;background:var(--panel);font-weight:600}
.faq details{background:var(--panel);border-radius:8px;margin:8px 0;padding:12px 16px}
.faq summary{cursor:pointer;font-weight:600;color:#fff}
.faq details p{margin:8px 0 0}
.cards-row{margin:16px 0}
.note{font-size:12px;color:var(--mute)}
@media (max-width:900px){.grid{grid-template-columns:1fr}.page h1{font-size:22px}}

.bbar{display:none}
.m-pills{display:none}

/* reference alignment: hero captions, quick tiles, game cards */
.hero button{position:relative;display:block}
.hero img.fg{position:absolute;inset:0}
.hero .ht{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:20px 16px 16px;background:linear-gradient(rgba(21,21,21,0),rgba(21,21,21,.85))}
.hero .ht b{font:700 26px/28px "Science Gothic",Poppins,sans-serif;text-transform:uppercase;letter-spacing:.04em;color:#fff}
.hero .ht small{font-size:14px;color:#fff}
.hero .hb{display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:4px;background:var(--red);color:#fff;font-weight:600;font-size:14px}
.quick{gap:12px;padding:20px 0 0}
.quick button{flex:0 0 56px;gap:6px;font-size:11px;line-height:16px;word-break:break-word}
.quick .ci{border-radius:12px}
.sec{margin-top:20px}
.sec-h h2{font-size:16px;font-weight:700}
.sec-h .arr{opacity:0;transition:opacity .15s}
.sec:hover .sec-h .arr{opacity:1}
.card{background:var(--panel);border-radius:8px;padding-bottom:8px}
.card img{border-radius:8px 8px 0 0}
.card span{margin:8px 8px 0;font-weight:400}
.card.live{padding-bottom:8px}
.card.sport{flex-basis:140px;width:140px;padding:0;background:none}
.card.sport img{width:140px;height:172px;border-radius:8px}
.bs-body{display:flex;flex-direction:column;align-items:center;gap:8px;padding:32px 16px;color:var(--mute)}
.bs-body p{margin:0}.bs-body b{color:#fff;font-weight:600}
.betslip h3{margin:0}

@media (max-width:900px){
  .promo-bar{font-size:14px;padding:0 40px 0 8px;white-space:nowrap}
  .promo-bar .go{gap:6px}
  .m-pills{padding:12px 12px;gap:12px}
  .m-pills a{height:40px;gap:8px;padding:0 16px;border-radius:20px;background:linear-gradient(90deg,#2a2528,#1d1d1d);font-size:16px;font-weight:600;white-space:nowrap}
  .m-pills a i[data-i]{color:#fff}
  .hdr{border-bottom:1px solid var(--line)}
  main{padding:8px 12px 0}
  .hero{max-width:none}
  .hero button{flex:0 0 100%;max-width:none;aspect-ratio:auto;height:256px;border-radius:16px}
  .hero img{object-position:right center}
  .hero button:first-child img.fg{display:none}
  .hero .ht b{font-size:28px;line-height:30px}
  .hero .ht{background:none;padding:20px 16px 16px}
  .quick button{flex-basis:56px}
  .bbar a,.bbar button{color:#fff}
  .bbar i[data-i]{color:#fff}
}
@media (min-width:1281px){.shell{grid-template-columns:308px minmax(0,1fr) 320px}}
@media (min-width:901px){
  .hdr{display:flex;align-items:center;gap:16px;height:56px;padding:0 16px}
  .hdr-top{display:contents}
  .logo{order:0}
  .nav{order:1;flex:1;min-width:0;justify-content:center;height:56px;padding:0}
  .nav a,.nav button{color:#e6e6e6}
  .hdr-top>:not(.logo):not(.sp){order:2}
  .hdr-top .sp{display:none}
  .m-pills{display:none}
  main>.hero,main>.quick,main>.sec,main>.help,main>.seo{max-width:712px;margin-left:auto;margin-right:auto}
  main>.hero,main>.quick{margin-top:0}
  .side{top:57px;height:calc(100vh - 57px);padding:12px}
  .side-banner{display:flex;align-items:center;height:60px;padding:0 110px 0 16px;border-radius:8px;background:#8a0000 url(../img/side-banner.avif) center/cover;text-align:left;letter-spacing:.06em}
  .side h3{margin:12px 0 0;padding:16px 16px 12px;border-radius:8px 8px 0 0;background:var(--panel);box-shadow:inset 0 -1px 0 var(--line);font:700 16px/18px "Science Gothic",Poppins,sans-serif;letter-spacing:.08em;color:rgba(255,255,255,.8)}
  .side ul{padding:4px 16px 12px;border-radius:0 0 8px 8px;background:var(--panel)}
  .side ul[style]{padding:8px 16px;border-radius:8px}
  .side li>a,.side li>button{height:48px;padding:0;font-weight:400;font-size:16px;color:rgba(255,255,255,.8)}
  .side li>a:hover,.side li>button:hover{background:none;color:#fff}
  .side .meta{margin-top:12px;padding:0 16px;height:48px;border-radius:8px;background:var(--panel);font-weight:400;font-size:16px}
  .betslip{top:57px;height:calc(100vh - 57px);margin:0;padding:0;border-radius:0;border-left:1px solid var(--line);background:var(--bg)}
  .betslip h3{padding:16px;font-size:18px;font-weight:700;border-bottom:1px solid var(--line)}
}

@media (max-width:1280px){.shell{grid-template-columns:260px minmax(0,1fr)}.betslip{display:none}}
@media (max-width:900px){
  .shell{display:block}
  .side{display:none;position:fixed;inset:0 0 56px 0;z-index:40;height:auto;top:0;background:var(--bg)}
  .side.open{display:block}
  .nav{display:none}
  .m-only{display:inline-flex}
  .d-only{display:none!important}
  .hdr-top{height:56px;padding:0 8px;gap:4px}
  .logo img{width:110px}
  .hdr-top .btn{height:32px;padding:0 10px;font-size:13px}
  .m-pills{display:flex;gap:8px;padding:0 8px 8px;overflow-x:auto;scrollbar-width:none}
  .m-pills a{flex:none;height:32px;display:flex;align-items:center;padding:0 14px;border-radius:16px;background:var(--panel);font-weight:500;font-size:13px}
  main{padding:12px 8px 0}
  .card{flex-basis:104px;width:104px}.card img{width:104px;height:104px}
  .hero button{aspect-ratio:712/256}
  .foot-in{grid-template-columns:1fr}
  .help{flex-direction:column;align-items:flex-start}
  .bbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:50;height:56px;background:var(--panel);border-top:1px solid var(--line)}
  .bbar a,.bbar button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11px;font-weight:500;color:var(--mute);text-align:center}
  .bbar i{width:24px;height:24px}
  body.menu-open{overflow:hidden}
}
