/* ===== inline-style-1 ===== */
*{box-sizing:border-box}body{margin:0;background:#f3f5f4;color:#27312e;font-family:Arial,"Microsoft YaHei",sans-serif}button{font:inherit}
.promo{height:34px;background:#087f69;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 12px;font-size:12px}.promo b{color:#ffe56a}
header{height:58px;background:#fff;display:flex;align-items:center;gap:12px;padding:0 12px;border-bottom:1px solid #e5eae8;position:sticky;top:0;z-index:20}.menu-label{font-size:25px;width:40px;height:40px;display:grid;place-items:center;cursor:pointer}.logo{font-weight:900;font-size:21px;color:#07856d}.login{margin-left:auto;background:#07856d;color:#fff;border:0;border-radius:20px;padding:9px 16px}
#drawer-toggle{position:absolute;opacity:0;pointer-events:none}.drawer{position:fixed;z-index:50;left:0;top:0;bottom:0;width:min(86vw,340px);background:#fff;transform:translateX(-110%);transition:.25s ease;padding:16px 12px;overflow:auto;box-shadow:14px 0 30px #153b3028}.shade{position:fixed;z-index:45;inset:0;background:#172c266e;opacity:0;visibility:hidden;transition:.2s}#drawer-toggle:checked~.drawer{transform:translateX(0)}#drawer-toggle:checked~.shade{opacity:1;visibility:visible}.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:4px 8px 15px;border-bottom:1px solid #e8ecea;color:#07856d;font-weight:900}.close{font-size:22px;cursor:pointer}.drawer h4{font-size:10px;color:#a2aca8;letter-spacing:1.5px;margin:18px 10px 6px}.drawer a{display:block;padding:12px;border-radius:10px;color:#52615c;text-decoration:none}.drawer a.active{background:#e6f5f0;color:#087b66;font-weight:700}
.notice{height:34px;background:#fff;border-bottom:1px solid #e9edeb;padding:0 12px;display:flex;align-items:center;color:#7d8884;font-size:11px}main{max-width:1450px;margin:auto;padding:10px 10px 80px}.cats{display:flex;overflow:auto;gap:6px;background:#fff;padding:8px;border-radius:10px;margin-bottom:9px}.cat{min-width:60px;text-align:center;color:#6d7975;font-size:11px}.cat i{display:grid;place-items:center;width:31px;height:31px;margin:auto auto 3px;border-radius:50%;background:#e7f5f0;color:#07856d;font-style:normal}
.hero{background:linear-gradient(120deg,#006b5b,#0b9d7b,#45caa6);color:#fff;border-radius:11px;padding:20px;min-height:160px}.hero h1{font-size:25px;margin:8px 0}.hero p{font-size:12px;max-width:500px}.hero button{border:0;border-radius:18px;background:#fff;color:#077761;padding:9px 18px;font-weight:800}
.rank{background:#fff;border-radius:11px;padding:12px;margin-top:9px}.rank h3{margin:0 0 8px;font-size:16px}.rank-head,.rank-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.rank-head{font-size:10px;color:#9aa5a1;padding:7px;border-bottom:1px solid #edf0ef}.rank-window{height:180px;overflow-y:auto;scrollbar-color:#0a9277 #edf3f1;scrollbar-width:thin}.rank-row{height:38px;border-bottom:1px solid #f0f2f1;padding:0 7px;font-size:12px}.rank-row b{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e6f5f0;color:#07856d;margin-right:7px}.rank-row strong{color:#e88b25;font-size:11px;white-space:nowrap}
.title{display:flex;align-items:center;justify-content:space-between;margin:15px 2px 8px}.title h2{font-size:18px;margin:0}.title a{font-size:12px;color:#07856d}.games{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.game{background:#fff;border-radius:9px;overflow:hidden;min-width:0;box-shadow:0 2px 8px #183c3210}.cover{aspect-ratio:1.05;background:linear-gradient(145deg,var(--a),var(--b));position:relative;display:grid;place-items:center;color:#fff}.art{font-size:34px;text-align:center;filter:drop-shadow(0 4px 5px #0002)}.art small{display:block;font-size:9px;font-weight:800;margin-top:5px;background:#0003;border-radius:9px;padding:3px 6px}.rtp{position:absolute;top:5px;left:5px;background:#087e69;border-radius:8px;padding:2px 5px;font-size:8px}.heart{position:absolute;right:6px;bottom:4px;font-size:18px}.game-info{padding:7px}.game-info b{font-size:11px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-info small{font-size:9px;color:#9aa4a0}
.bottom{position:fixed;z-index:30;bottom:0;left:0;right:0;height:62px;background:#fff;border-top:1px solid #e1e7e4;display:grid;grid-template-columns:repeat(5,1fr)}.bottom div{display:grid;place-items:center;color:#77837f;font-size:10px;padding:7px 0}.bottom b{font-size:17px;display:block}.bottom .active{color:#07856d}
@media(min-width:700px){main{padding:18px 22px 40px}.hero-rank{display:grid;grid-template-columns:1.6fr .75fr;gap:14px}.rank{margin-top:0}.games{grid-template-columns:repeat(6,1fr)}.bottom{display:none}.hero{min-height:230px;padding:30px}.hero h1{font-size:36px}}

/* ===== integrated-auth-css ===== */
.auth-overlay{
  position:fixed; inset:0; z-index:200;
  display:none; overflow:auto;
  background:rgba(15,35,29,.62);
  backdrop-filter:blur(5px);
  padding:28px;
}
.auth-overlay:target{display:grid;place-items:center}
.auth-shell{
  width:min(1040px,100%);
  display:grid;grid-template-columns:1fr 440px;
  background:#fff;border-radius:22px;overflow:hidden;
  box-shadow:0 24px 70px rgba(8,38,29,.28);
}
.auth-visual{
  min-height:590px;padding:52px;
  background:linear-gradient(145deg,#006e5c,#0a9b79 55%,#5ad4b2);
  color:#fff;position:relative;overflow:hidden;
}
.auth-visual:after{
  content:"";position:absolute;width:420px;height:420px;
  border:60px solid rgba(255,255,255,.08);border-radius:50%;
  right:-190px;top:-130px
}
.auth-visual h2{font-size:42px;line-height:1.08;margin:90px 0 16px;max-width:460px}
.auth-visual p{color:#dcfff5;line-height:1.7;max-width:430px}
.auth-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:40px}
.auth-benefit{background:#ffffff16;border:1px solid #ffffff22;border-radius:13px;padding:14px;font-size:12px}
.auth-benefit b{display:block;font-size:19px;margin-bottom:6px}
.auth-panel{padding:32px;position:relative}
.auth-close{
  position:absolute;right:18px;top:16px;width:35px;height:35px;
  display:grid;place-items:center;text-decoration:none;color:#68766f;
  border:1px solid #e3e9e6;border-radius:50%;background:#fff
}
.auth-mode{position:absolute;opacity:0;pointer-events:none}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f0f4f2;padding:4px;border-radius:12px;margin:28px 0 26px}
.auth-tabs label{text-align:center;padding:11px;border-radius:9px;cursor:pointer;font-weight:700;color:#7c8984}
#auth-login:checked ~ .auth-panel-inner .auth-tabs label[for=auth-login],
#auth-register:checked ~ .auth-panel-inner .auth-tabs label[for=auth-register]{
  background:#fff;color:#07856d;box-shadow:0 2px 9px rgba(23,61,50,.08)
}
.auth-form{display:none}
#auth-login:checked ~ .auth-panel-inner .login-form,
#auth-register:checked ~ .auth-panel-inner .register-form{display:block}
.auth-panel h3{font-size:27px;margin:0 0 7px}
.auth-sub{color:#8c9994;font-size:13px;margin:0 0 24px}
.auth-field{margin-bottom:14px}
.auth-field label{font-size:12px;font-weight:700;display:block;margin-bottom:7px}
.auth-input{
  height:48px;border:1px solid #dfe7e3;border-radius:10px;
  display:flex;align-items:center;padding:0 13px;gap:10px;background:#fbfcfc
}
.auth-input span{color:#07856d}
.auth-input input{width:100%;border:0;outline:0;background:none;color:#26342f}
.auth-row{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#71807b;margin:2px 0 20px}
.auth-row a,.auth-terms a{color:#07856d;text-decoration:none}
.auth-primary{
  width:100%;height:49px;border:0;border-radius:11px;
  background:#07856d;color:#fff;font-weight:800
}
.auth-switch{text-align:center;font-size:12px;color:#7f8c87;margin-top:18px}
.auth-switch label{color:#07856d;font-weight:700;cursor:pointer}
.auth-terms{font-size:11px;color:#909b97;line-height:1.5;margin-top:16px}
@media(max-width:850px){
  .auth-overlay{padding:16px}
  .auth-shell{grid-template-columns:1fr;max-width:600px}
  .auth-visual{min-height:205px;padding:28px}
  .auth-visual h2{font-size:31px;margin:30px 0 10px}
  .auth-benefits{display:none}
}
@media(max-width:520px){
  .auth-overlay{padding:0;background:#f2f5f3;display:none}
  .auth-overlay:target{display:block}
  .auth-shell{min-height:100vh;border-radius:0;display:block}
  .auth-visual{min-height:165px;border-radius:0;padding:22px 18px}
  .auth-visual h2{font-size:26px;margin:20px 0 7px}
  .auth-visual p{font-size:11px;max-width:88%}
  .auth-panel{padding:18px 16px 30px}
  .auth-close{top:12px;right:12px}
  .auth-tabs{margin-top:34px}
}

/* ===== support-v1-1-css ===== */
/* ===== TOP WIN Online Support v1.1 ===== */
.support-launcher{
  position:fixed;right:22px;bottom:22px;z-index:170;
  width:58px;height:58px;border:0;border-radius:50%;
  background:#07856d;color:#fff;text-decoration:none;
  display:grid;place-items:center;font-size:25px;
  box-shadow:0 10px 26px rgba(5,91,71,.28);
}
.support-launcher::after{
  content:"1";position:absolute;right:-2px;top:-2px;
  width:20px;height:20px;border-radius:50%;
  background:#ef5b54;color:#fff;font-size:11px;font-weight:800;
  display:grid;place-items:center;border:2px solid #fff;
}
.support-shell{
  position:fixed;z-index:180;right:22px;bottom:92px;
  width:min(390px,calc(100vw - 44px));height:560px;
  background:#fff;border-radius:18px;overflow:hidden;
  box-shadow:0 24px 70px rgba(15,45,36,.24);
  border:1px solid #e1e8e5;
  display:none;
}
#support:target{display:flex;flex-direction:column}
.support-head{
  background:linear-gradient(135deg,#087d68,#0ca884);
  color:#fff;padding:16px 16px 13px;
}
.support-topline{display:flex;align-items:center;gap:10px}
.support-agent{
  width:42px;height:42px;border-radius:50%;
  display:grid;place-items:center;background:#fff;color:#07856d;
  font-weight:900;border:2px solid rgba(255,255,255,.7)
}
.support-title{min-width:0;flex:1}
.support-title b{display:block;font-size:15px}
.support-title small{font-size:11px;color:#d9fff4}
.support-close{
  width:34px;height:34px;border-radius:50%;
  display:grid;place-items:center;text-decoration:none;
  color:#fff;background:rgba(255,255,255,.14)
}
.support-status{
  margin-top:12px;background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.12);
  padding:9px 10px;border-radius:10px;font-size:11px;
}
.support-body{
  flex:1;overflow-y:auto;background:#f5f7f6;padding:14px;
}
.support-day{text-align:center;color:#9aa5a1;font-size:10px;margin:2px 0 14px}
.msg{display:flex;margin-bottom:11px}
.msg.agent{justify-content:flex-start}.msg.user{justify-content:flex-end}
.bubble{
  max-width:78%;padding:10px 12px;border-radius:14px;
  font-size:13px;line-height:1.48;box-shadow:0 1px 4px rgba(25,50,42,.05)
}
.agent .bubble{
  background:#fff;color:#30413b;border-top-left-radius:5px;
  border:1px solid #e7ecea;
}
.user .bubble{
  background:#07856d;color:#fff;border-top-right-radius:5px;
}
.support-card{
  background:#fff;border:1px solid #e3e9e6;border-radius:12px;
  padding:12px;margin:12px 0;
}
.support-card h4{margin:0 0 8px;font-size:13px}
.support-card p{margin:0;color:#7f8b87;font-size:11px;line-height:1.5}
.quick-wrap{display:flex;gap:7px;overflow-x:auto;padding:2px 0 10px}
.quick{
  flex:0 0 auto;border:1px solid #bcded3;background:#fff;color:#077760;
  border-radius:18px;padding:8px 11px;font-size:11px
}
.typing{font-size:10px;color:#96a19d;margin:4px 0 0 7px}
.support-foot{
  border-top:1px solid #e6ece9;background:#fff;padding:10px;
}
.support-tools{display:flex;gap:6px;margin-bottom:7px}
.support-tools button{border:0;background:#f0f4f2;color:#697671;border-radius:8px;padding:6px 9px;font-size:11px}
.support-compose{display:flex;gap:8px;align-items:center}
.support-compose input{
  flex:1;height:40px;border:1px solid #dfe6e3;border-radius:20px;
  padding:0 14px;outline:0;background:#fbfcfc
}
.support-send{
  width:40px;height:40px;border:2px solid #fff;border-radius:50%;background:linear-gradient(180deg,#12a889 0%,#07856d 100%);color:#fff;box-shadow:0 8px 18px rgba(7,133,109,.18),0 0 0 1px rgba(7,133,109,.14)
}
.support-send .tw-ui-img{filter:brightness(0) invert(1);opacity:1}

/* tablet keeps floating panel, a little wider */
@media(min-width:651px) and (max-width:1024px){
  .support-shell{width:420px;height:610px;right:18px;bottom:86px}
  .support-launcher{right:18px;bottom:18px}
}

/* mobile: Grab-style full support screen */
@media(max-width:650px){
  .support-launcher{
    right:14px;bottom:76px;width:52px;height:52px;font-size:22px
  }
  .support-shell{
    inset:0;width:100vw;height:100dvh;max-height:none;
    border:0;border-radius:0;box-shadow:none;
    background:#f5f7f6;
  }
  #support:target{display:flex}
  .support-head{
    padding:calc(12px + env(safe-area-inset-top)) 14px 12px;
    border-radius:0;
  }
  .support-agent{width:38px;height:38px}
  .support-title b{font-size:16px}
  .support-status{margin-top:10px}
  .support-body{padding:14px 12px 110px}
  .bubble{max-width:84%;font-size:14px}
  .support-foot{
    position:fixed;left:0;right:0;bottom:0;
    padding:9px 10px calc(9px + env(safe-area-inset-bottom));
    box-shadow:0 -5px 20px rgba(20,45,37,.06)
  }
  .support-tools{overflow-x:auto}
  .support-tools button{white-space:nowrap}
}

/* ===== account-v1-1-css ===== */
/* ===== TOP WIN Account Center v1.1 ===== */
.account-page{
  position:fixed;inset:0;z-index:190;display:none;overflow:auto;
  background:#f5f5f5;color:#25312e;
}
#account:target{display:block}
.account-wrap{width:min(980px,100%);min-height:100%;margin:0 auto;padding:18px 18px 88px}
.account-mobile-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.account-avatar{width:58px;height:58px;border-radius:50%;border:3px solid #008b79;background:linear-gradient(145deg,#d9fff5,#91dfca);display:grid;place-items:center;font-weight:900;color:#007563;box-shadow:inset 0 0 0 3px #fff}
.account-name{min-width:0;flex:1}.account-name a{display:block;color:#27312e;font-weight:800;text-decoration:none;font-size:18px}.account-domain{display:inline-block;margin-top:4px;background:#fff;border-radius:16px;padding:4px 9px;color:#53605c;font-size:11px;box-shadow:0 1px 3px #0000000b}
.account-head-actions{display:flex;gap:10px}.account-head-actions a{width:34px;height:34px;display:grid;place-items:center;color:#32433d;text-decoration:none;font-size:20px}
.vip-banner{background:linear-gradient(135deg,#008a76,#057866);color:#fff;border-radius:13px;padding:12px 16px;text-align:center;position:relative;overflow:hidden}
.vip-banner:after{content:"";position:absolute;right:-50px;bottom:-55px;width:170px;height:100px;border-radius:50%;background:#0eb59655}
.vip-title{font-weight:800;font-size:15px}.vip-perks{margin-top:9px;display:flex;justify-content:center;gap:15px;flex-wrap:wrap;font-size:11px}
.asset-card,.shortcut-card,.account-list{background:#fff;border-radius:13px;margin-top:12px}
.asset-card{padding:16px 14px}.asset-title{font-weight:800}.asset-muted{font-size:11px;color:#b0b7b4;margin-top:3px}
.asset-row{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center}.asset-actions{display:grid;grid-template-columns:repeat(3,70px);gap:4px}.asset-actions a{text-decoration:none;color:#2b3733;text-align:center;font-size:12px}.asset-icon{width:38px;height:30px;border-radius:5px;margin:0 auto 5px;background:linear-gradient(135deg,#00a990,#007e70);color:#fff;display:grid;place-items:center;font-size:17px;box-shadow:inset 0 -5px 0 #006a5e22}
.promo-strip{margin-top:12px;background:#fff;border-radius:13px 13px 0 0;height:44px;display:flex;align-items:center;overflow:hidden}.promo-strip strong{padding-left:15px;font-size:16px;flex:1}.promo-strip strong:before{content:"";margin-right:10px}.promo-strip a{background:#008878;color:#fff;height:100%;padding:0 18px;display:grid;place-items:center;text-decoration:none;font-weight:700;font-size:12px;border-radius:22px 0 0 22px}
.shortcut-card{border-radius:0 0 13px 13px;padding:13px 8px 16px;margin-top:0}.shortcut-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px 6px}.shortcut-grid a{text-decoration:none;color:#39443f;text-align:center;font-size:12px}.shortcut-grid i{width:34px;height:34px;border-radius:50%;background:#008778;color:#fff;margin:0 auto 7px;display:grid;place-items:center;font-style:normal;font-size:16px}
.account-list{padding:4px 14px}.account-list a{height:45px;border-bottom:1px solid #edf0ef;display:flex;align-items:center;text-decoration:none;color:#37423e;font-size:13px}.account-list a:last-child{border-bottom:0}.account-list .leftico{width:24px;height:24px;border-radius:6px;display:grid;place-items:center;color:#fff;margin-right:10px;font-size:12px}.account-list .arrow{margin-left:auto;color:#008b79;font-size:20px}
.c1{background:#2c63df}.c2{background:#1fc998}.c3{background:#8f6ee8}.c4{background:#2bc0cf}.c5{background:#008b79}
.account-bottom{position:fixed;z-index:195;left:50%;transform:translateX(-50%);bottom:0;width:min(980px,100%);height:65px;background:#fff;border-top:1px solid #e2e6e4;display:grid;grid-template-columns:repeat(5,1fr);box-shadow:0 -5px 20px #263d350c}
.account-bottom a{text-decoration:none;color:#909996;display:grid;place-items:center;font-size:10px;padding:7px 0}.account-bottom a b{display:block;font-size:18px;margin-bottom:2px}.account-bottom .active{color:#008b79;font-weight:800}
.account-bottom .profile-dot{width:34px;height:34px;border-radius:50%;background:linear-gradient(145deg,#d8fff4,#008b79);display:grid;place-items:center;color:#fff;margin-top:-13px;border:3px solid #fff;box-shadow:0 0 0 1px #d7e3df}

/* functional panels */
.acct-panel{position:fixed;inset:0;z-index:220;display:none;background:#0007;padding:28px;overflow:auto}
.acct-panel:target{display:grid;place-items:center}
.acct-sheet{width:min(520px,100%);background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 20px 60px #102b2340}
.acct-sheet-head{display:flex;align-items:center;padding:16px 18px;border-bottom:1px solid #edf0ef}.acct-sheet-head h3{font-size:17px;margin:0;flex:1}.acct-sheet-head a{text-decoration:none;color:#78827e;font-size:22px}
.acct-sheet-body{padding:18px}.acct-note{background:#eef9f5;color:#40645a;border-radius:10px;padding:11px 12px;font-size:12px;line-height:1.5;margin-bottom:14px}
.acct-field{margin-bottom:13px}.acct-field label{display:block;font-size:11px;font-weight:700;margin-bottom:6px}.acct-input,.acct-select{width:100%;height:44px;border:1px solid #dde6e2;border-radius:9px;background:#fafcfb;padding:0 12px;outline:0}.acct-action{width:100%;height:45px;border:0;border-radius:10px;background:#008879;color:#fff;font-weight:800}
.acct-list-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #eef1ef;font-size:12px}.acct-list-row:last-child{border-bottom:0}.acct-list-row b{margin-left:auto;color:#008879}
.acct-big-icon{width:52px;height:52px;border-radius:14px;background:#e8f7f2;color:#008879;display:grid;place-items:center;font-size:25px;margin-bottom:12px}
.acct-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.acct-mini{border:1px solid #e4eae7;border-radius:10px;padding:12px}.acct-mini b{display:block;font-size:13px}.acct-mini small{color:#929c98;font-size:10px}
.acct-code{padding:20px;text-align:center;border:1px dashed #b9d9d0;border-radius:12px;background:#f7fcfa;font-weight:900;font-size:24px;letter-spacing:3px;color:#007968}
.acct-toggles label{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid #eef1ef;font-size:12px}
.acct-toggles input{accent-color:#008879}
@media(min-width:700px){
 .account-wrap{padding-top:34px}.account-mobile-head,.vip-banner,.asset-card,.promo-strip,.shortcut-card,.account-list{box-shadow:0 6px 20px #17382f0b}
 .shortcut-grid{grid-template-columns:repeat(8,1fr)}
}
@media(max-width:650px){
 .account-wrap{padding:10px 8px 82px}.account-mobile-head{margin-bottom:10px}.account-avatar{width:50px;height:50px}.account-name a{font-size:16px}.account-head-actions{gap:4px}
 .vip-banner{border-radius:12px}.asset-card,.account-list{border-radius:11px}.asset-actions{grid-template-columns:repeat(3,52px)}.shortcut-grid{gap:17px 3px}
 .acct-panel{padding:0;background:#f5f5f5}.acct-panel:target{display:block}.acct-sheet{width:100%;min-height:100dvh;border-radius:0;box-shadow:none}.acct-sheet-head{padding-top:calc(15px + env(safe-area-inset-top))}.acct-sheet-body{padding-bottom:calc(22px + env(safe-area-inset-bottom))}
}

/* ===== support-mobile-v1-2-fix ===== */
@media(max-width:650px){
  .support-shell{
    top:0!important;right:0!important;bottom:0!important;left:0!important;
    width:100%!important;
    height:100svh!important;
    min-height:100svh!important;
    max-height:100svh!important;
    display:none;
    overflow:hidden!important;
    border-radius:0!important;
    background:#f5f7f6!important;
  }
  #support:target{
    display:flex!important;
    flex-direction:column!important;
  }
  .support-head{
    position:relative!important;
    flex:0 0 auto!important;
    min-height:118px;
    padding:
      max(20px, env(safe-area-inset-top))
      14px
      12px!important;
    z-index:2;
  }
  .support-topline{min-height:42px}
  .support-status{margin-bottom:0}
  .support-body{
    position:relative!important;
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch;
    padding:14px 12px 16px!important;
  }
  .support-foot{
    position:relative!important;
    left:auto!important;right:auto!important;bottom:auto!important;
    flex:0 0 auto!important;
    z-index:3!important;
    padding:9px 10px max(10px, env(safe-area-inset-bottom))!important;
    background:#fff!important;
    box-shadow:0 -5px 20px rgba(20,45,37,.06)!important;
  }
  .support-close{flex:0 0 34px}
  .support-title{overflow:hidden}
  .support-title b,.support-title small{
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis
  }
}

/* Extra-short phone/browser preview windows */
@media(max-width:650px) and (max-height:700px){
  .support-head{
    min-height:100px;
    padding-top:max(14px, env(safe-area-inset-top))!important;
  }
  .support-status{margin-top:7px;padding:7px 9px}
  .support-tools{margin-bottom:5px}
}

/* ===== mobile-bottom-nav-v1-2 ===== */
@media(max-width:699px){
  .tw-mobile-nav{
    position:fixed;
    z-index:36;
    left:0; right:0; bottom:0;
    height:66px;
    display:grid !important;
    grid-template-columns:repeat(5,1fr);
    align-items:stretch;
    background:#fff;
    border-top:1px solid #e3e8e6;
    box-shadow:0 -5px 18px rgba(18,48,39,.06);
    padding-bottom:max(0px, env(safe-area-inset-bottom));
  }
  .tw-mobile-nav a{
    text-decoration:none;
    color:#8a9490;
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:0;
    padding:7px 0 8px;
  }
  .tw-mobile-nav span{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    width:100%;
    line-height:1;
    text-align:center;
  }
  .tw-mobile-nav b{
    width:24px;
    height:24px;
    display:grid;
    place-items:center;
    font-size:20px;
    line-height:1;
    font-weight:500;
    font-style:normal;
    font-family:Arial,"Segoe UI Symbol","Apple Color Emoji","Microsoft YaHei",sans-serif;
    color:inherit;
  }
  .tw-mobile-nav em{
    display:block;
    font-style:normal;
    font-size:13px;
    line-height:1.15;
    font-weight:600;
    letter-spacing:0;
    color:inherit;
    white-space:nowrap;
  }
  .tw-mobile-nav a.active{
    color:#07856d;
  }
  .tw-mobile-nav a.active em{
    color:#07856d;
  }

  /* Keep the account page bottom nav visually aligned too. */
  .account-bottom{
    height:66px !important;
    padding-bottom:max(0px, env(safe-area-inset-bottom));
    align-items:stretch;
  }
  .account-bottom a{
    font-size:11px !important;
    color:#8a9490 !important;
    text-decoration:none;
    display:flex !important;
    align-items:center;
    justify-content:center;
    padding:7px 0 8px !important;
  }
  .account-bottom a span{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    line-height:1;
  }
  .account-bottom a b{
    font-size:20px !important;
    line-height:1 !important;
    font-weight:500 !important;
    margin-bottom:0 !important;
  }
  .account-bottom a.active{
    color:#07856d !important;
  }
}

/* ===== category-icons-B-v1-0 ===== */
.tw-cats-b{
  display:grid!important;
  grid-template-columns:repeat(7,minmax(78px,1fr));
  gap:10px!important;
  padding:12px!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#053e38 0%,#062f2d 100%)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -1px 0 rgba(0,0,0,.18),
    0 10px 28px rgba(1,55,48,.12)!important;
  overflow-x:auto!important;
  scrollbar-width:none;
}
.tw-cats-b::-webkit-scrollbar{display:none}
.tw-cat-b{
  appearance:none;
  border:0!important;
  background:transparent!important;
  color:#f4fffb!important;
  min-width:78px;
  padding:2px 2px 5px!important;
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  cursor:pointer;
  position:relative;
  transition:transform .16s ease,filter .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.tw-cat-b em{
  font-style:normal;
  font-size:12px;
  line-height:1;
  font-weight:700;
  letter-spacing:.02em;
  color:#effcf8;
  text-shadow:0 1px 1px rgba(0,0,0,.22);
}
.tw-icon-box{
  width:62px;
  height:50px;
  border-radius:19px;
  position:relative;
  display:grid;
  place-items:center;
  isolation:isolate;
  overflow:hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    inset 0 -8px 18px rgba(0,0,0,.18),
    0 0 0 1px rgba(255,255,255,.24),
    0 8px 16px rgba(0,0,0,.22);
  transition:transform .16s cubic-bezier(.2,.8,.2,1),box-shadow .16s ease,filter .16s ease;
}
.tw-icon-box:before{
  content:"";
  position:absolute;
  inset:3px 7px 20px;
  border-radius:14px;
  background:linear-gradient(180deg,rgba(255,255,255,.42),rgba(255,255,255,0));
  filter:blur(.2px);
  z-index:-1;
}
.tw-icon-box:after{
  content:"";
  position:absolute;
  width:36px;height:12px;
  left:13px;bottom:-3px;
  background:rgba(255,255,255,.45);
  filter:blur(8px);
  border-radius:50%;
}
.tw-icon-main{
  font-size:24px;
  line-height:1;
  font-weight:900;
  color:#fff;
  text-shadow:0 2px 5px rgba(0,0,0,.28),0 0 8px rgba(255,255,255,.2);
  transform:translateY(-1px);
}
.tw-icon-box i{
  position:absolute;
  right:6px;top:5px;
  font-style:normal;
  font-size:10px;
  color:#ffe66b;
  text-shadow:0 1px 3px rgba(0,0,0,.28);
}
.tw-teal{background:linear-gradient(145deg,#00d7b5,#007e71);box-shadow:0 0 18px rgba(0,255,215,.45),inset 0 1px 0 #ffffff66,inset 0 -8px 18px #004c443d}
.tw-red{background:linear-gradient(145deg,#ff536c,#9f1239);box-shadow:0 0 18px rgba(255,58,91,.45),inset 0 1px 0 #ffffff66,inset 0 -8px 18px #5f001f42}
.tw-purple{background:linear-gradient(145deg,#b455ff,#5c23b9);box-shadow:0 0 18px rgba(174,75,255,.45),inset 0 1px 0 #ffffff66,inset 0 -8px 18px #2f12623d}
.tw-cyan{background:linear-gradient(145deg,#00dff0,#027ba1);box-shadow:0 0 18px rgba(0,221,242,.45),inset 0 1px 0 #ffffff66,inset 0 -8px 18px #00475b42}
.tw-blue{background:linear-gradient(145deg,#39a8ff,#0853b4);box-shadow:0 0 18px rgba(31,142,255,.45),inset 0 1px 0 #ffffff66,inset 0 -8px 18px #002b6942}
.tw-green{background:linear-gradient(145deg,#20df7a,#048a52);box-shadow:0 0 18px rgba(30,220,117,.45),inset 0 1px 0 #ffffff66,inset 0 -8px 18px #00462b42}
.tw-gold{background:linear-gradient(145deg,#ffc83d,#d47600);box-shadow:0 0 18px rgba(255,185,26,.5),inset 0 1px 0 #ffffff77,inset 0 -8px 18px #7f3b003f}

.tw-cat-b:hover .tw-icon-box{
  transform:translateY(-2px) scale(1.035);
  filter:saturate(1.12) brightness(1.05);
}
.tw-cat-b:active .tw-icon-box{
  transform:scale(.93);
  filter:brightness(1.12) saturate(1.18);
}
.tw-cat-b:active{transform:translateY(1px)}
.tw-cat-b.active .tw-icon-box,
.tw-cat-b[aria-pressed="true"] .tw-icon-box{
  box-shadow:
    0 0 0 2px rgba(255,255,255,.9),
    0 0 0 5px rgba(0,243,203,.24),
    0 0 22px rgba(0,255,215,.62),
    inset 0 1px 0 rgba(255,255,255,.72),
    inset 0 -8px 18px rgba(0,0,0,.16);
}
.tw-cat-b.active em,
.tw-cat-b[aria-pressed="true"] em{color:#8fffe8}

@keyframes twCatPulse{
  0%{transform:scale(1)}
  45%{transform:scale(.91)}
  72%{transform:scale(1.04)}
  100%{transform:scale(1)}
}
.tw-cat-b.tw-clicked .tw-icon-box{animation:twCatPulse .28s ease-out}

@media(max-width:650px){
  .tw-cats-b{
    grid-template-columns:repeat(7,72px)!important;
    gap:7px!important;
    margin-bottom:10px!important;
    padding:10px 8px!important;
    border-radius:14px!important;
  }
  .tw-cat-b{min-width:72px!important;gap:6px!important}
  .tw-icon-box{width:56px;height:46px;border-radius:17px}
  .tw-icon-main{font-size:21px}
  .tw-cat-b em{font-size:11px}
}

/* ===== category-icons-B-detailed-v1-1 ===== */
.tw-icon-777{
  display:flex;
  gap:1px;
  transform:translateY(-1px) skewX(-8deg);
}
.tw-icon-777 u{
  text-decoration:none;
  font-size:21px;
  line-height:1;
  font-weight:1000;
  color:#fff;
  text-shadow:0 2px 4px rgba(0,0,0,.22),0 0 10px rgba(255,255,255,.22);
}
.tw-icon-fire{
  position:relative;
  width:24px;height:28px;
}
.tw-icon-fire:before{
  content:"";
  position:absolute;left:3px;top:1px;
  width:18px;height:24px;
  background:linear-gradient(180deg,#fff19d 0%,#ffb33f 32%,#ff6731 70%,#c5152c 100%);
  border-radius:55% 55% 60% 60% / 40% 40% 78% 78%;
  transform:rotate(8deg);
  clip-path:path("M12 0 C17 4,20 10,18 15 C17 21,12 24,12 28 C11 24,6 21,5 15 C4 10,8 6,12 0 Z");
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.22));
}
.tw-icon-fire s{
  position:absolute;left:8px;top:8px;
  width:8px;height:11px;display:block;
  background:linear-gradient(180deg,#fff7cd,#ffd85d 70%,#ff9d22 100%);
  border-radius:60% 60% 55% 55% / 45% 45% 75% 75%;
  transform:rotate(-10deg);
}
.tw-icon-casino{
  position:relative;width:28px;height:24px;
}
.tw-icon-casino b{
  position:absolute;
  font-style:normal;
  font-size:18px;line-height:1;
  text-shadow:0 2px 4px rgba(0,0,0,.25);
}
.tw-icon-casino .spade{left:2px;top:3px;color:#f6f8ff}
.tw-icon-casino .heart{right:0;bottom:0;color:#ff8cb4}
.tw-icon-tile{
  display:flex;gap:2px;align-items:center;
  background:rgba(255,255,255,.2);
  border-radius:8px;padding:4px 5px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.26);
}
.tw-icon-tile u{
  text-decoration:none;
  width:13px;height:16px;border-radius:4px;
  background:rgba(255,255,255,.92);
  color:#0c7396;
  display:grid;place-items:center;
  font-size:10px;font-weight:900;line-height:1;
  box-shadow:0 1px 2px rgba(0,0,0,.14);
}
.tw-icon-fish{
  position:relative;width:28px;height:20px;
}
.tw-icon-fish .body{
  position:absolute;left:2px;top:3px;width:18px;height:14px;
  background:linear-gradient(145deg,#d8fdff,#65d8ff 55%,#0286d8);
  border-radius:58% 48% 54% 50%;
  transform:skewX(-8deg);
  box-shadow:0 2px 4px rgba(0,0,0,.18);
}
.tw-icon-fish .tail{
  position:absolute;right:1px;top:5px;width:10px;height:10px;
  background:linear-gradient(145deg,#c9f7ff,#42beff 55%,#0468c7);
  clip-path:polygon(0 50%,100% 0,100% 100%);
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.16));
}
.tw-icon-fish .eye{
  position:absolute;left:8px;top:8px;width:3px;height:3px;background:#0d5d9d;border-radius:50%;
}
.tw-icon-fish .fin{
  position:absolute;left:9px;top:2px;width:8px;height:6px;
  background:linear-gradient(180deg,#c5f8ff,#35aefe);
  clip-path:polygon(0 100%,50% 0,100% 100%);
}
.tw-icon-ball{
  width:24px;height:24px;border-radius:50%;
  background:
    radial-gradient(circle at 35% 28%, #ffffff 0 18%, transparent 19%),
    radial-gradient(circle at 42% 36%, #f7f7f7 0 44%, #131313 45% 54%, #ffffff 55% 62%, #131313 63% 70%, #f7f7f7 71% 100%);
  box-shadow:0 2px 4px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.45);
}
.tw-icon-eight{
  width:24px;height:24px;border-radius:50%;
  display:grid;place-items:center;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.85) 0 14%, transparent 15%),
    linear-gradient(145deg,#fff8bb,#ffd14f 38%,#ff9500 100%);
  color:#8d4600;
  font-size:19px;
  line-height:1;
  font-weight:1000;
  box-shadow:0 2px 4px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.5);
}
.tw-icon-box > i{
  position:absolute;
  right:6px;top:5px;
  font-style:normal;
  font-size:10px;
  color:#ffe66b;
  text-shadow:0 1px 3px rgba(0,0,0,.28);
}

/* ===== topwin-design-system-v1-1 ===== */
:root{
  --tw-green-900:#043d35;
  --tw-green-800:#075e50;
  --tw-green-700:#07856d;
  --tw-green-500:#12b893;
  --tw-mint-100:#e8f7f2;
  --tw-bg:#f4f6f5;
  --tw-surface:#ffffff;
  --tw-text:#22312c;
  --tw-muted:#7c8984;
  --tw-line:#e2e9e6;
  --tw-orange:#ef9a31;
  --tw-danger:#ef5b54;
  --tw-radius-sm:10px;
  --tw-radius-md:14px;
  --tw-radius-lg:18px;
  --tw-shadow-1:0 3px 12px rgba(19,58,47,.06);
  --tw-shadow-2:0 10px 28px rgba(12,56,44,.12);
  --tw-ease:cubic-bezier(.2,.8,.2,1);
}
body{
  color:var(--tw-text);
  background:var(--tw-bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
button,a,input,select{font-family:inherit}
button,a{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{
  outline:3px solid rgba(18,184,147,.28);
  outline-offset:2px;
}
.hero{
  box-shadow:var(--tw-shadow-1);
}
.rank{
  box-shadow:var(--tw-shadow-1);
}
.title{
  margin-top:20px!important;
}
.title h2{
  font-weight:850;
  letter-spacing:-.02em;
}
.tw-cats-b{
  scroll-snap-type:x proximity;
}
.tw-cat-b{
  scroll-snap-align:center;
}
.tw-cat-b em{
  font-weight:750!important;
  letter-spacing:.01em!important;
}

/* Game card system */
.tw-games{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px!important;
}
.tw-game-card{
  border:0!important;
  border-radius:var(--tw-radius-md)!important;
  background:var(--tw-surface)!important;
  overflow:hidden!important;
  box-shadow:var(--tw-shadow-1)!important;
  transition:transform .18s var(--tw-ease),box-shadow .18s var(--tw-ease)!important;
  min-width:0;
}
.tw-game-card:hover,
.tw-game-card:focus-within{
  transform:translateY(-3px);
  box-shadow:var(--tw-shadow-2)!important;
}
.tw-game-cover{
  aspect-ratio:1.14!important;
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background:
    radial-gradient(circle at 70% 20%,rgba(255,255,255,.35),transparent 30%),
    linear-gradient(145deg,var(--a),var(--b))!important;
}
.tw-game-cover:before{
  content:"";
  position:absolute;inset:0;
  background:
    linear-gradient(180deg,rgba(255,255,255,.12),transparent 30%,rgba(0,0,0,.12) 100%),
    radial-gradient(circle at 50% 125%,rgba(255,255,255,.35),transparent 45%);
  z-index:0;
}
.tw-game-badge{
  position:absolute;left:8px;top:8px;z-index:3;
  padding:4px 7px;border-radius:999px;
  background:rgba(7,61,53,.72);
  color:#fff;font-size:9px;font-weight:850;letter-spacing:.05em;
  backdrop-filter:blur(8px);
}
.tw-game-cover .rtp{
  position:absolute!important;top:8px!important;right:38px!important;left:auto!important;
  z-index:3;background:rgba(255,255,255,.92)!important;color:#0b6958!important;
  padding:4px 7px!important;border-radius:999px!important;
  font-size:9px!important;font-weight:800!important;
  box-shadow:0 1px 4px rgba(0,0,0,.08);
}
.tw-fav{
  position:absolute;top:7px;right:7px;z-index:4;
  width:28px;height:28px;border:0;border-radius:50%;
  display:grid;place-items:center;
  background:rgba(255,255,255,.92);color:#64716c;
  font-size:17px;line-height:1;
  box-shadow:0 2px 8px rgba(0,0,0,.1);
  transition:transform .15s ease,color .15s ease,background .15s ease;
}
.tw-fav:active{transform:scale(.88)}
.tw-fav.is-fav{background:#fff0f1;color:#e8495e}
.tw-game-visual{
  position:absolute;inset:0;
  display:grid;place-items:center;
  z-index:1;
}
.tw-game-orb{
  width:70px;height:70px;border-radius:24px;
  display:grid;place-items:center;
  font-size:38px;
  background:linear-gradient(145deg,rgba(255,255,255,.34),rgba(255,255,255,.08));
  border:1px solid rgba(255,255,255,.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5),
    0 12px 25px rgba(0,0,0,.18);
  backdrop-filter:blur(6px);
  transform:rotate(-4deg);
  transition:transform .2s var(--tw-ease);
}
.tw-game-card:hover .tw-game-orb{transform:rotate(0deg) scale(1.05)}
.tw-game-spark{
  position:absolute;color:#fff9c8;text-shadow:0 0 10px #fff6a8;
  opacity:.85
}
.tw-game-spark.one{left:20%;top:28%;font-size:14px}
.tw-game-spark.two{right:18%;bottom:24%;font-size:22px}
.tw-play{
  position:absolute;left:50%;bottom:10px;z-index:4;
  transform:translate(-50%,8px);
  opacity:0;
  min-width:76px;height:30px;border:0;border-radius:999px;
  background:#fff;color:#08765f;font-size:11px;font-weight:850;
  box-shadow:0 5px 14px rgba(0,0,0,.14);
  transition:opacity .17s ease,transform .17s var(--tw-ease);
}
.tw-game-card:hover .tw-play,
.tw-game-card:focus-within .tw-play{
  opacity:1;
  transform:translate(-50%,0);
}
.tw-game-info{
  padding:10px 10px 11px!important;
  background:#fff!important;
}
.tw-game-title-row{
  display:flex;align-items:center;gap:7px;min-width:0;
}
.tw-game-title-row b{
  min-width:0;flex:1;
  font-size:13px!important;font-weight:800!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.tw-provider{
  flex:0 0 auto;
  padding:3px 6px;border-radius:999px;
  background:var(--tw-mint-100);
  color:var(--tw-green-700);
  font-size:9px;font-weight:850;
}
.tw-game-info small{
  display:block;margin-top:5px;
  color:#9aa5a1!important;font-size:9px!important;
}

/* Better micro-interactions */
.login,.auth,.primary,.acct-action,.support-send{
  transition:transform .14s ease,filter .14s ease,box-shadow .14s ease;
}
.login:active,.auth:active,.primary:active,.acct-action:active,.support-send:active{
  transform:scale(.97);
}
.tw-mobile-nav a{
  transition:color .16s ease,transform .16s ease;
}
.tw-mobile-nav a:active{
  transform:translateY(1px) scale(.97);
}
.tw-mobile-nav a.active b{
  transform:translateY(-1px);
}
@media(max-width:1050px){
  .tw-games{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:650px){
  .tw-games{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .tw-game-card{border-radius:11px!important}
  .tw-game-cover{aspect-ratio:1.02!important}
  .tw-game-orb{width:52px;height:52px;border-radius:18px;font-size:29px}
  .tw-game-badge{left:5px;top:5px;font-size:8px;padding:3px 5px}
  .tw-game-cover .rtp{top:5px!important;right:31px!important;font-size:8px!important;padding:3px 5px!important}
  .tw-fav{width:24px;height:24px;top:4px;right:4px;font-size:15px}
  .tw-play{display:none}
  .tw-game-info{padding:7px!important}
  .tw-game-title-row b{font-size:11px!important}
  .tw-provider{font-size:8px;padding:2px 5px}
  .tw-game-info small{font-size:8px!important;margin-top:3px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
}

/* ===== mobile-favorite-fix-v1 ===== */
.tw-fav.is-fav,
.tw-fav[aria-pressed="true"]{
  background:#fff0f3!important;
  color:#e83f5b!important;
  box-shadow:0 2px 10px rgba(232,63,91,.22)!important;
}
.tw-fav.is-fav::after,
.tw-fav[aria-pressed="true"]::after{
  content:"";
  position:absolute;
  inset:-3px;
  border-radius:50%;
  border:1px solid rgba(232,63,91,.18);
  pointer-events:none;
}
@media(max-width:650px){
  .tw-fav{
    color:#64716c!important;
    background:rgba(255,255,255,.94)!important;
  }
  .tw-fav.is-fav,
  .tw-fav[aria-pressed="true"]{
    color:#e83f5b!important;
    background:#fff0f3!important;
  }
}

/* ===== favorite-css-toggle-v1 ===== */
.tw-fav-toggle{
  position:absolute!important;
  opacity:0!important;
  pointer-events:none!important;
  width:1px!important;
  height:1px!important;
}
.tw-fav-css{
  position:absolute;
  top:7px;
  right:7px;
  z-index:6;
  width:28px;
  height:28px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.94);
  color:#64716c;
  font-size:17px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
  user-select:none;
  -webkit-user-select:none;
  -webkit-tap-highlight-color:transparent;
  transition:transform .14s ease,background .14s ease,color .14s ease,box-shadow .14s ease;
}
.tw-fav-css .on{display:none}
.tw-fav-css .off{display:block}
.tw-fav-toggle:checked + .tw-fav-css{
  color:#e63f58!important;
  background:#fff0f3!important;
  box-shadow:0 2px 10px rgba(230,63,88,.24)!important;
}
.tw-fav-toggle:checked + .tw-fav-css .off{display:none!important}
.tw-fav-toggle:checked + .tw-fav-css .on{
  display:block!important;
  color:#e63f58!important;
}
.tw-fav-toggle:checked + .tw-fav-css::after{
  content:"";
  position:absolute;
  inset:-3px;
  border-radius:50%;
  border:1px solid rgba(230,63,88,.2);
  pointer-events:none;
}
.tw-fav-css:active{transform:scale(.88)}
.tw-fav-toggle:focus-visible + .tw-fav-css{
  outline:3px solid rgba(18,184,147,.28);
  outline-offset:2px;
}
@media(max-width:650px){
  .tw-fav-css{
    top:4px;
    right:4px;
    width:24px;
    height:24px;
    font-size:15px;
  }
}

/* ===== icon-redesign-v1-0 ===== */
/* --- Account shortcut icon redesign --- */
.shortcut-grid i.tw-shortcut-ico{
  position:relative;
  overflow:hidden;
  font-size:0!important;
  background:linear-gradient(145deg,#0aa58b,#077562)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    0 4px 10px rgba(7,119,98,.18);
}
.shortcut-grid i.tw-shortcut-ico::after{
  content:"";
  position:absolute;
  inset:4px 7px 18px;
  border-radius:999px;
  background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,0));
}
.tw-ico-bets .ticket{
  position:absolute;
  left:8px; top:9px;
  width:18px; height:14px;
  background:#fff;
  border-radius:4px;
  box-shadow:0 1px 2px rgba(0,0,0,.08);
  clip-path:polygon(0 0,100% 0,100% 32%,92% 40%,100% 50%,100% 100%,0 100%,0 68%,8% 60%,0 50%,0 0);
}
.tw-ico-bets .dot{
  position:absolute;left:12px;top:12px;width:3px;height:3px;border-radius:50%;background:#0a8f77;
}
.tw-ico-bets .line{
  position:absolute;left:16px;height:2px;border-radius:999px;background:#0a8f77;
}
.tw-ico-bets .l1{top:12px;width:7px}
.tw-ico-bets .l2{top:16px;width:5px}

.tw-ico-trans .card{
  position:absolute;
  left:8px; top:9px;
  width:18px; height:14px;
  background:#fff;
  border-radius:4px;
  box-shadow:0 1px 2px rgba(0,0,0,.08);
}
.tw-ico-trans .card::before{
  content:"";
  position:absolute;left:0;right:0;top:3px;height:3px;background:#0b8d76;border-radius:4px 4px 0 0;
}
.tw-ico-trans .line{
  position:absolute;height:2px;border-radius:999px;background:#7dc8b8;
}
.tw-ico-trans .t1{left:11px;top:17px;width:9px}
.tw-ico-trans .t2{left:11px;top:20px;width:6px}
.tw-ico-trans .coin{
  position:absolute;right:6px;bottom:7px;width:7px;height:7px;border-radius:50%;
  background:#f4c250;border:1px solid rgba(255,255,255,.45);
  box-shadow:0 1px 2px rgba(0,0,0,.12);
}

/* --- Bottom navigation home icon redesign --- */
.tw-mobile-nav b.tw-nav-home,
.account-bottom b.tw-nav-home{
  position:relative;
  width:22px;
  height:22px;
  display:block!important;
  font-size:0!important;
  margin:0 auto;
}
.tw-nav-home .roof{
  position:absolute;
  left:2px; top:1px;
  width:18px; height:18px;
  border-left:2px solid currentColor;
  border-top:2px solid currentColor;
  transform:rotate(45deg);
  border-radius:2px 0 0 0;
}
.tw-nav-home .house{
  position:absolute;
  left:5px; bottom:2px;
  width:12px; height:10px;
  border:2px solid currentColor;
  border-top:none;
  border-radius:2px 2px 3px 3px;
  background:transparent;
}
.tw-nav-home .door{
  position:absolute;
  left:9px; bottom:2px;
  width:4px; height:6px;
  background:currentColor;
  border-radius:2px 2px 0 0;
}

/* slightly improve icon consistency in account bottom */
.account-bottom a b{
  width:22px;
  height:22px;
  display:block;
  margin:0 auto;
}
.tw-mobile-nav a b{
  width:22px;
  height:22px;
  display:block;
  margin:0 auto;
}

/* ===== account-bottom-align-fix-v1 ===== */
/* Align the last "我的" item with the rest of the bottom navigation */
.account-bottom a > span{
  min-height:44px;
}
.account-bottom .profile-dot{
  width:22px !important;
  height:22px !important;
  margin-top:0 !important;
  display:grid !important;
  place-items:center !important;
  border-radius:50% !important;
  border:2px solid #fff !important;
  box-shadow:0 0 0 1px #d7e3df !important;
  font-size:10px !important;
  font-weight:800 !important;
  line-height:1 !important;
}
.account-bottom a.active > span{
  gap:4px !important;
  align-items:center !important;
  justify-content:center !important;
}
.account-bottom a.active{
  padding-top:7px !important;
}

/* ===== account-head-icon-redesign-v1 ===== */
.account-head-actions{
  display:flex;
  gap:8px;
}
.account-head-actions a{
  width:34px;
  height:34px;
  border-radius:10px;
  display:grid!important;
  place-items:center;
  text-decoration:none;
  color:#27413a!important;
  background:#fff;
  border:1px solid #dfe8e4;
  box-shadow:0 2px 8px rgba(18,48,39,.05);
  transition:transform .14s ease, box-shadow .14s ease, color .14s ease, background .14s ease;
}
.account-head-actions a:hover,
.account-head-actions a:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 6px 14px rgba(18,48,39,.10);
  color:#07856d!important;
}
.account-head-actions a:active{
  transform:scale(.96);
}
.tw-head-ico{
  position:relative;
  width:20px;
  height:20px;
  display:block;
  color:currentColor;
  font-size:0;
}
.tw-head-home .roof{
  position:absolute;
  left:4px; top:1px;
  width:10px; height:10px;
  border-left:1.8px solid currentColor;
  border-top:1.8px solid currentColor;
  transform:rotate(45deg);
  border-radius:1px 0 0 0;
}
.tw-head-home .body{
  position:absolute;
  left:5px; bottom:2px;
  width:10px; height:8px;
  border:1.8px solid currentColor;
  border-top:none;
  border-radius:2px 2px 3px 3px;
}
.tw-head-home .door{
  position:absolute;
  left:9px; bottom:2px;
  width:2px; height:4px;
  background:currentColor;
  border-radius:1px 1px 0 0;
}
.tw-head-support .band{
  position:absolute;
  left:4px; top:3px;
  width:12px; height:8px;
  border:1.8px solid currentColor;
  border-bottom:none;
  border-radius:9px 9px 0 0;
}
.tw-head-support .ear{
  position:absolute;
  top:8px; width:4px; height:6px;
  border:1.8px solid currentColor;
  border-radius:4px;
}
.tw-head-support .ear.left{left:2px}
.tw-head-support .ear.right{right:2px}
.tw-head-support .mic{
  position:absolute;
  right:1px; top:12px;
  width:6px; height:1.8px;
  background:currentColor;
  border-radius:999px;
}
.tw-head-settings .ring{
  position:absolute;
  inset:3px;
  border:1.8px solid currentColor;
  border-radius:50%;
}
.tw-head-settings .ring::before{
  content:"";
  position:absolute;
  inset:-3px;
  background:
    linear-gradient(currentColor,currentColor) center top/1.8px 3px no-repeat,
    linear-gradient(currentColor,currentColor) center bottom/1.8px 3px no-repeat,
    linear-gradient(currentColor,currentColor) left center/3px 1.8px no-repeat,
    linear-gradient(currentColor,currentColor) right center/3px 1.8px no-repeat;
}
.tw-head-settings .dot{
  position:absolute;
  left:8px; top:8px;
  width:4px; height:4px;
  border-radius:50%;
  background:currentColor;
}
.tw-head-menu{
  display:grid;
  align-content:center;
  gap:3px;
}
.tw-head-menu i{
  display:block;
  width:16px;
  height:1.8px;
  margin:0 auto;
  border-radius:999px;
  background:currentColor;
}
@media(max-width:650px){
  .account-head-actions{gap:6px}
  .account-head-actions a{
    width:32px;height:32px;border-radius:9px;
  }
  .tw-head-ico{
    width:18px;height:18px;
  }
  .tw-head-menu i{width:14px}
}

/* ===== favorites-sync-v1 ===== */
.tw-favorites-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.tw-favorite-item{
  display:none;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:10px;
  border:1px solid #e4ebe8;
  border-radius:12px;
  background:#fff;
  box-shadow:0 3px 10px rgba(18,58,47,.05);
}
.tw-favorite-art{
  width:44px;height:44px;flex:0 0 44px;
  display:grid;place-items:center;
  border-radius:12px;
  background:linear-gradient(145deg,#e9f8f3,#d8f0e8);
  font-size:24px;
}
.tw-favorite-meta{
  min-width:0;flex:1;
}
.tw-favorite-meta b{
  display:block;
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.tw-favorite-meta small{
  display:block;
  margin-top:3px;
  font-size:9px;
  color:#8b9792;
}
.tw-favorite-remove{
  width:28px;height:28px;
  display:grid;place-items:center;
  flex:0 0 28px;
  border-radius:50%;
  background:#fff0f3;
  color:#e63f58;
  cursor:pointer;
  box-shadow:0 2px 8px rgba(230,63,88,.15);
  -webkit-tap-highlight-color:transparent;
}
.tw-favorite-remove:active{transform:scale(.9)}
.tw-favorites-empty{
  display:flex;
  min-height:150px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#7e8b86;
}
.tw-favorites-empty b{font-size:13px;color:#4a5752}
.tw-favorites-empty small{font-size:10px;margin-top:5px}
.tw-empty-heart{
  width:48px;height:48px;
  display:grid;place-items:center;
  border-radius:50%;
  margin-bottom:8px;
  background:#f1f6f4;
  color:#9aa6a1;
  font-size:25px;
}
body:has(#fav-1:checked,#fav-2:checked,#fav-3:checked,#fav-4:checked,#fav-5:checked,#fav-6:checked,#fav-7:checked,#fav-8:checked,#fav-9:checked,#fav-10:checked,#fav-11:checked,#fav-12:checked) .tw-favorites-empty{display:none!important;}
body:has(#fav-1:checked,#fav-2:checked,#fav-3:checked,#fav-4:checked,#fav-5:checked,#fav-6:checked,#fav-7:checked,#fav-8:checked,#fav-9:checked,#fav-10:checked,#fav-11:checked,#fav-12:checked) .tw-fav-dot{display:block!important;}
body:has(#fav-1:checked) .tw-favorite-item-1{display:flex!important;}body:has(#fav-2:checked) .tw-favorite-item-2{display:flex!important;}body:has(#fav-3:checked) .tw-favorite-item-3{display:flex!important;}body:has(#fav-4:checked) .tw-favorite-item-4{display:flex!important;}body:has(#fav-5:checked) .tw-favorite-item-5{display:flex!important;}body:has(#fav-6:checked) .tw-favorite-item-6{display:flex!important;}body:has(#fav-7:checked) .tw-favorite-item-7{display:flex!important;}body:has(#fav-8:checked) .tw-favorite-item-8{display:flex!important;}body:has(#fav-9:checked) .tw-favorite-item-9{display:flex!important;}body:has(#fav-10:checked) .tw-favorite-item-10{display:flex!important;}body:has(#fav-11:checked) .tw-favorite-item-11{display:flex!important;}body:has(#fav-12:checked) .tw-favorite-item-12{display:flex!important;}

.tw-favorites-shortcut{position:relative}
.tw-fav-dot{
  display:none;
  position:absolute;
  top:7px;
  right:24%;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#e63f58;
  box-shadow:0 0 0 2px #fff;
}

@media(max-width:650px){
  .tw-favorites-list{grid-template-columns:1fr}
  .tw-favorite-item{padding:9px}
  .tw-favorite-art{width:40px;height:40px;flex-basis:40px;font-size:22px}
}

/* ===== tw-weekly-prize-v1 ===== */
.tw-weekly-prize{
  margin:14px 0 22px;
  padding:0;
}
.tw-weekly-headline{
  margin-bottom:10px;
}
.tw-weekly-headline .tw-weekly-tag{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:#fff4de;
  color:#a85c00;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.tw-weekly-headline h2{
  margin:10px 0 4px;
  font-size:34px;
  line-height:1.05;
  font-weight:900;
  letter-spacing:-.03em;
  color:#142a25;
}
.tw-weekly-headline p{
  margin:0;
  color:#7c8a85;
  font-size:13px;
  font-weight:600;
}
.tw-weekly-shell{
  position:relative;
  overflow:hidden;
  border-radius:26px;
  padding:18px 18px 16px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,223,133,.18), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(255,191,96,.15), transparent 23%),
    linear-gradient(180deg,#44230d 0%,#0f0906 48%,#26140b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 18px 40px rgba(31,14,5,.24);
}
.tw-weekly-shell::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(circle, rgba(255,214,134,.9) 0 2px, transparent 3px) 0 0/130px 130px,
    radial-gradient(circle, rgba(255,229,167,.65) 0 3px, transparent 4px) 65px 55px/180px 180px;
  opacity:.35;
  animation:twSparkle 8s linear infinite;
  pointer-events:none;
}
@keyframes twSparkle{
  from{transform:translateY(0)}
  50%{transform:translateY(-8px)}
  to{transform:translateY(0)}
}
.tw-weekly-topbar{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
  padding:10px 14px;
  border-radius:14px;
  background:linear-gradient(90deg,rgba(198,130,35,.65),rgba(183,44,24,.72));
  color:#fff8ef;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15);
}
.tw-deadline,.tw-reset-note{
  font-size:13px;
  font-weight:800;
}
.tw-deadline b{color:#fff}
.tw-grand-total-wrap{
  position:relative;
  z-index:2;
  width:max-content;
  max-width:100%;
  margin:0 auto 18px;
  text-align:center;
}
.tw-grand-label{
  display:inline-flex;
  margin-bottom:8px;
  padding:7px 16px;
  border-radius:999px 999px 12px 12px;
  background:linear-gradient(180deg,#ff4cb0,#b21f72);
  color:#fff6cb;
  font-size:17px;
  font-weight:900;
  text-shadow:0 2px 8px rgba(0,0,0,.35);
  box-shadow:0 8px 18px rgba(223,51,135,.26), inset 0 1px 0 rgba(255,255,255,.28);
}
.tw-grand-total{
  position:relative;
  display:flex;
  gap:4px;
  justify-content:center;
  flex-wrap:nowrap;
  padding:8px 12px;
  border-radius:18px;
  background:linear-gradient(180deg,#5c1110,#731917 46%,#4b100b);
  box-shadow:0 8px 22px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.12);
  color:#c91917;
  font-weight:900;
  font-size:42px;
  letter-spacing:.08em;
  text-shadow:0 1px 0 #fff;
}
.tw-grand-total .digit{
  display:grid;
  place-items:center;
  min-width:34px;
  height:54px;
  padding:0 2px;
  border-radius:8px;
  background:linear-gradient(180deg,#fff9ef,#f6ead9 46%,#f0ddc5);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92), inset 0 -1px 0 rgba(124,65,20,.18);
}
.tw-grand-total .comma{
  color:#fff6cb;
  text-shadow:0 1px 0 rgba(0,0,0,.25);
  min-width:14px;
}
.tw-light{
  position:absolute;
  top:56px;
  width:70px; height:70px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,239,149,.9) 0%, rgba(255,239,149,.2) 35%, transparent 70%);
  filter:blur(1px);
  opacity:.85;
}
.tw-light-l{left:-36px; animation:twPulse 1.8s ease-in-out infinite}
.tw-light-r{right:-36px; animation:twPulse 1.8s ease-in-out infinite .5s}
@keyframes twPulse{
  0%,100%{transform:scale(.9);opacity:.6}
  50%{transform:scale(1.15);opacity:1}
}
.tw-stage{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1fr 1.2fr 1fr;
  align-items:end;
  gap:22px;
  min-height:350px;
  padding:10px 8px 8px;
}
.tw-spot{
  position:relative;
  z-index:3;
  text-align:center;
}
.tw-spot-center{transform:translateY(-4px)}
.tw-podium{
  position:absolute;
  bottom:0;
  border-radius:16px 16px 6px 6px;
  background:linear-gradient(180deg,#56606a 0%,#282d33 22%,#161a1f 100%);
  box-shadow:0 12px 24px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.18);
}
.tw-podium::before{
  content:"";
  position:absolute;
  left:8%;
  right:8%;
  top:10px;
  height:12px;
  border-radius:12px;
  background:radial-gradient(ellipse at center, rgba(255,255,255,.34), rgba(255,255,255,0) 70%);
}
.tw-podium-left{left:8%; width:22%; height:76px}
.tw-podium-center{left:34%; width:32%; height:110px}
.tw-podium-right{right:8%; width:22%; height:70px}
.tw-crown{
  position:absolute;
  top:-14px;
  left:50%;
  transform:translateX(-50%);
  font-size:32px;
  filter:drop-shadow(0 8px 14px rgba(255,193,7,.32));
  animation:twFloat 2.2s ease-in-out infinite;
}
@keyframes twFloat{
  0%,100%{transform:translateX(-50%) translateY(0)}
  50%{transform:translateX(-50%) translateY(-8px)}
}
.tw-winner-card{
  position:relative;
  width:100%;
}
.tw-winner-card .tw-cover{
  width:100%;
  margin:0 auto;
  border-radius:18px;
  background:
    radial-gradient(circle at 68% 18%, rgba(255,255,255,.28), transparent 26%),
    linear-gradient(145deg,var(--a),var(--b));
  box-shadow:0 16px 28px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.26);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#fff;
}
.tw-winner-card.mini .tw-cover{max-width:190px;height:210px}
.tw-winner-card.champion .tw-cover{max-width:220px;height:246px;border:2px solid rgba(255,241,194,.88)}
.tw-winner-card .tw-game-emoji{
  font-size:58px;
  line-height:1;
  filter:drop-shadow(0 10px 15px rgba(0,0,0,.15));
}
.tw-cover-name{
  margin-top:12px;
  font-size:18px;
  font-weight:900;
}
.tw-cover-provider{
  margin-top:6px;
  font-size:13px;
  font-weight:700;
  opacity:.95;
}
.tw-win-amount{
  margin-top:14px;
  color:#ffe9ab;
  font-size:20px;
  font-weight:900;
  text-shadow:0 2px 9px rgba(0,0,0,.28);
}
.tw-winner-card.champion .tw-win-amount{font-size:24px}
.tw-win-player{
  margin-top:6px;
  color:#f6d69c;
  font-size:17px;
  font-weight:700;
}
.tw-marquee-wrap{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:12px;
  margin-top:14px;
  padding:12px;
  border-radius:18px;
  background:rgba(20,16,16,.55);
  border:1px solid rgba(255,245,226,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.tw-marquee-title{
  padding:9px 12px;
  border-radius:14px;
  background:linear-gradient(145deg,#3f2417,#261511);
  color:#ffd795;
  font-size:13px;
  font-weight:900;
  white-space:nowrap;
}
.tw-marquee-track{
  display:flex;
  gap:10px;
  overflow-x:auto;
  scrollbar-width:none;
}
.tw-marquee-track::-webkit-scrollbar{display:none}
.tw-marquee-item{
  min-width:220px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:rgba(255,255,255,.04);
  color:#fff4da;
  text-align:left;
  transition:transform .18s ease, background .18s ease, box-shadow .18s ease;
  cursor:pointer;
}
.tw-marquee-item.active,
.tw-marquee-item:hover{
  transform:translateY(-2px);
  background:rgba(255,219,157,.12);
  box-shadow:0 10px 18px rgba(0,0,0,.18);
}
.tw-marquee-item span{
  display:block;
  font-size:14px;
  font-weight:800;
}
.tw-marquee-item b{
  display:block;
  margin-top:4px;
  font-size:20px;
  color:#ffe29c;
}
.tw-marquee-item small{
  display:block;
  margin-top:3px;
  color:#f2c67f;
  font-size:12px;
}
.tw-enter-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:112px;
  height:44px;
  padding:0 18px;
  border-radius:14px;
  text-decoration:none;
  background:linear-gradient(180deg,#ffe2a4,#e6b95f);
  color:#5c3310;
  font-size:15px;
  font-weight:900;
  box-shadow:0 10px 18px rgba(230,185,95,.18), inset 0 1px 0 rgba(255,255,255,.6);
}
.tw-enter-btn:active{transform:scale(.98)}
@media(max-width:900px){
  .tw-weekly-headline h2{font-size:28px}
  .tw-stage{gap:14px}
  .tw-winner-card.mini .tw-cover{max-width:160px;height:184px}
  .tw-winner-card.champion .tw-cover{max-width:190px;height:220px}
  .tw-grand-total{font-size:34px}
  .tw-grand-total .digit{min-width:28px;height:46px}
}
@media(max-width:650px){
  .tw-weekly-prize{margin-top:12px}
  .tw-weekly-headline h2{font-size:24px}
  .tw-weekly-headline p{font-size:12px}
  .tw-weekly-shell{
    padding:14px 10px 12px;
    border-radius:20px;
  }
  .tw-weekly-topbar{
    padding:9px 10px;
    flex-direction:column;
    align-items:flex-start;
    gap:5px;
  }
  .tw-deadline,.tw-reset-note{font-size:12px}
  .tw-grand-label{font-size:14px;padding:6px 12px}
  .tw-grand-total{
    font-size:24px;
    padding:7px 8px;
    gap:2px;
  }
  .tw-grand-total .digit{
    min-width:20px;height:36px;border-radius:6px;font-size:24px;
  }
  .tw-grand-total .comma{min-width:8px}
  .tw-light{top:43px;width:42px;height:42px}
  .tw-stage{
    display:flex;
    justify-content:center;
    align-items:flex-end;
    gap:8px;
    min-height:270px;
    padding:4px 0 0;
  }
  .tw-podium-left{left:5%;width:27%;height:56px}
  .tw-podium-center{left:35%;width:30%;height:86px}
  .tw-podium-right{right:5%;width:27%;height:46px}
  .tw-winner-card.mini .tw-cover{max-width:108px;height:140px;border-radius:14px}
  .tw-winner-card.champion .tw-cover{max-width:126px;height:164px;border-radius:16px}
  .tw-winner-card .tw-game-emoji{font-size:34px}
  .tw-cover-name{font-size:12px;margin-top:8px}
  .tw-cover-provider{font-size:10px;margin-top:4px}
  .tw-win-amount{font-size:14px;margin-top:8px}
  .tw-winner-card.champion .tw-win-amount{font-size:16px}
  .tw-win-player{font-size:11px}
  .tw-crown{font-size:24px;top:-8px}
  .tw-marquee-wrap{
    grid-template-columns:1fr;
    gap:10px;
    padding:10px;
  }
  .tw-marquee-title{justify-self:start}
  .tw-marquee-item{min-width:170px}
  .tw-enter-btn{
    width:100%;
    min-width:0;
    height:40px;
  }
}

/* ===== tw-weekly-prize-enhance-v1 ===== */
/* stronger hero leaderboard polish */
.tw-grand-total,
.tw-win-amount{
  position:relative;
  overflow:hidden;
}
.tw-grand-total::after,
.tw-winner-card .tw-cover::after{
  content:"";
  position:absolute;
  top:-20%;
  left:-40%;
  width:35%;
  height:140%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
  transform:rotate(18deg);
  animation:twSweep 3.8s linear infinite;
  pointer-events:none;
}
.tw-winner-card.champion .tw-cover::after{animation-duration:2.8s}
@keyframes twSweep{
  from{left:-40%}
  to{left:125%}
}

.tw-grand-total .digit.jump,
.tw-win-amount .digit.jump{
  animation:twDigitJump .28s ease;
}
@keyframes twDigitJump{
  0%{transform:translateY(12px) scale(.94);opacity:.35}
  55%{transform:translateY(-6px) scale(1.08);opacity:1}
  100%{transform:translateY(0) scale(1)}
}

.tw-rank-badge{
  position:absolute;
  left:10px;
  top:10px;
  z-index:4;
  min-width:68px;
  padding:6px 8px;
  border-radius:16px;
  color:#fff;
  display:flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  font-weight:900;
  box-shadow:0 8px 18px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.28);
}
.tw-rank-badge.gold{background:linear-gradient(180deg,#ffd876,#cb7a00)}
.tw-rank-badge.silver{background:linear-gradient(180deg,#f7f8ff,#98a1b6); color:#314155}
.tw-rank-badge.bronze{background:linear-gradient(180deg,#f1b48b,#a55726)}
.tw-rank-trophy{font-size:15px;line-height:1}

.tw-winner-card{
  cursor:pointer;
  transition:transform .18s ease, filter .18s ease;
}
.tw-winner-card:hover{
  transform:translateY(-4px) scale(1.012);
  filter:saturate(1.06);
}
.tw-winner-card .tw-cover{
  position:relative;
  overflow:hidden;
}
.tw-enter-overlay{
  position:absolute;
  inset:auto 12px 12px;
  height:38px;
  border-radius:999px;
  background:rgba(8,17,15,.62);
  color:#fff8df;
  display:flex;
  align-items:center;
  justify-content:center;
  backdrop-filter:blur(8px);
  box-shadow:0 8px 18px rgba(0,0,0,.18);
  transform:translateY(18px);
  opacity:0;
  transition:transform .2s ease, opacity .2s ease, background .2s ease;
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
}
.tw-enter-overlay span::before{
  content:"";
  display:inline-block;
  margin-right:8px;
  font-size:11px;
}
.tw-winner-card:hover .tw-enter-overlay,
.tw-winner-card.entered .tw-enter-overlay{
  opacity:1;
  transform:translateY(0);
}
.tw-winner-card.entered .tw-enter-overlay{
  animation:twOverlayPulse .42s ease;
}
@keyframes twOverlayPulse{
  0%{transform:translateY(16px) scale(.95);opacity:.2}
  60%{transform:translateY(-2px) scale(1.03);opacity:1}
  100%{transform:translateY(0) scale(1)}
}

.tw-marquee-item.flash{
  animation:twListFlash .4s ease;
}
@keyframes twListFlash{
  0%{transform:scale(.97)}
  50%{transform:scale(1.04); background:rgba(255,226,156,.18)}
  100%{transform:scale(1)}
}

@media(max-width:650px){
  .tw-rank-badge{
    left:6px; top:6px;
    min-width:56px;
    padding:4px 6px;
    border-radius:12px;
    font-size:9px;
    gap:4px;
  }
  .tw-rank-trophy{font-size:12px}
  .tw-enter-overlay{
    inset:auto 8px 8px;
    height:30px;
    font-size:10px;
  }
}

/* ===== tw-weekly-prize-extreme-v1 ===== */
/* Stronger champion pulse / impact */
.tw-weekly-shell{
  overflow:visible;
}
.tw-weekly-shell::after{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:24px;
  border:1px solid rgba(255,207,107,.18);
  pointer-events:none;
}
.tw-stage{
  overflow:visible;
}
.tw-spot-center{
  filter:drop-shadow(0 12px 28px rgba(255,182,58,.24));
}
.tw-winner-card.champion{
  animation:twChampionBreath 2.2s ease-in-out infinite;
}
@keyframes twChampionBreath{
  0%,100%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-3px) scale(1.018)}
}
.tw-winner-card.champion::before{
  content:"";
  position:absolute;
  left:50%;
  top:28%;
  width:120%;
  height:120%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,214,102,.34) 0%, rgba(255,183,0,.14) 34%, rgba(255,183,0,0) 68%);
  z-index:-1;
  animation:twHaloPulse 1.9s ease-in-out infinite;
}
@keyframes twHaloPulse{
  0%,100%{opacity:.5; transform:translate(-50%,-50%) scale(.94)}
  50%{opacity:1; transform:translate(-50%,-50%) scale(1.08)}
}
.tw-winner-card.champion .tw-cover{
  box-shadow:
    0 18px 32px rgba(0,0,0,.28),
    0 0 0 2px rgba(255,232,165,.78),
    0 0 24px rgba(255,203,88,.42),
    inset 0 1px 0 rgba(255,255,255,.32);
}
.tw-winner-card.champion .tw-win-amount{
  color:#fff2b5;
  text-shadow:0 0 10px rgba(255,219,108,.38), 0 2px 9px rgba(0,0,0,.28);
}
.tw-winner-card.champion .tw-win-amount.flash{
  animation:twAmountFlash .38s ease;
}
@keyframes twAmountFlash{
  0%{transform:scale(.96); filter:brightness(1)}
  45%{transform:scale(1.08); filter:brightness(1.3)}
  100%{transform:scale(1); filter:brightness(1)}
}

/* Grand total board stronger pulse */
.tw-grand-total{
  box-shadow:
    0 8px 22px rgba(0,0,0,.28),
    0 0 0 2px rgba(255,223,147,.2),
    0 0 28px rgba(255,175,66,.24),
    inset 0 1px 0 rgba(255,255,255,.12);
}
.tw-grand-total.flash{
  animation:twBoardFlash .42s ease;
}
@keyframes twBoardFlash{
  0%{transform:scale(.985); box-shadow:0 8px 22px rgba(0,0,0,.28),0 0 0 2px rgba(255,223,147,.2),0 0 28px rgba(255,175,66,.24),inset 0 1px 0 rgba(255,255,255,.12)}
  50%{transform:scale(1.015); box-shadow:0 10px 30px rgba(0,0,0,.34),0 0 0 2px rgba(255,236,188,.3),0 0 42px rgba(255,204,87,.42),inset 0 1px 0 rgba(255,255,255,.22)}
  100%{transform:scale(1)}
}

/* LED marquee stronger look */
.tw-marquee-wrap{
  background:
    linear-gradient(180deg, rgba(56,13,13,.94), rgba(22,5,5,.95)),
    radial-gradient(circle at 15% 50%, rgba(255,87,34,.16), transparent 18%);
  border:1px solid rgba(255,210,145,.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 12px 24px rgba(0,0,0,.18);
}
.tw-marquee-wrap::before{
  content:"";
  position:absolute;
  inset:8px 10px auto 10px;
  height:8px;
  background:
    radial-gradient(circle, rgba(255,197,91,.85) 0 2px, transparent 3px) 0 0/18px 8px repeat-x;
  opacity:.75;
  pointer-events:none;
}
.tw-marquee-title{
  background:linear-gradient(180deg,#6d1612,#390d0c);
  color:#ffd68c;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(255,201,127,.08);
}
.tw-marquee-track{
  position:relative;
  padding-top:2px;
}
.tw-marquee-track::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:-30%;
  width:25%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  transform:skewX(-18deg);
  animation:twTickerSweep 4.4s linear infinite;
  pointer-events:none;
}
@keyframes twTickerSweep{
  from{left:-30%}
  to{left:120%}
}
.tw-marquee-item{
  position:relative;
  background:
    linear-gradient(180deg, rgba(255,145,77,.1), rgba(255,114,54,.06)),
    rgba(255,255,255,.03);
  border:1px solid rgba(255,201,127,.1);
}
.tw-marquee-item span{
  color:#fff2cf;
}
.tw-marquee-item b{
  color:#ffd15f;
  text-shadow:0 0 10px rgba(255,193,81,.18);
}
.tw-marquee-item small{
  color:#ffbe7f;
}
.tw-marquee-item.active,
.tw-marquee-item:hover{
  background:
    linear-gradient(180deg, rgba(255,178,90,.18), rgba(255,98,40,.12)),
    rgba(255,255,255,.05);
  box-shadow:0 12px 18px rgba(0,0,0,.18), 0 0 18px rgba(255,158,74,.12);
}
.tw-marquee-item.active::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  animation:twItemSweep 1.2s linear infinite;
}
@keyframes twItemSweep{
  from{transform:translateX(-130%)}
  to{transform:translateX(130%)}
}

/* stronger enter overlay */
.tw-enter-overlay{
  background:linear-gradient(180deg, rgba(14,18,17,.74), rgba(8,12,11,.84));
  border:1px solid rgba(255,230,164,.22);
}
.tw-winner-card.entered .tw-cover{
  animation:twEnterShock .42s ease;
}
@keyframes twEnterShock{
  0%{transform:scale(.97)}
  45%{transform:scale(1.04)}
  100%{transform:scale(1)}
}

/* floating spark particles around podium */
.tw-stage::before,
.tw-stage::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle, rgba(255,227,144,.95) 0 2px, transparent 3px) 12% 20%/120px 120px repeat,
    radial-gradient(circle, rgba(255,244,195,.84) 0 1.5px, transparent 3px) 70% 12%/90px 90px repeat,
    radial-gradient(circle, rgba(255,170,65,.7) 0 2px, transparent 3px) 45% 76%/150px 140px repeat;
  opacity:.35;
}
.tw-stage::before{animation:twParticlesA 8s linear infinite}
.tw-stage::after{animation:twParticlesB 10s linear infinite reverse; opacity:.22}
@keyframes twParticlesA{
  from{transform:translateY(0)}
  50%{transform:translateY(-8px)}
  to{transform:translateY(0)}
}
@keyframes twParticlesB{
  from{transform:translateY(0) translateX(0)}
  50%{transform:translateY(10px) translateX(-6px)}
  to{transform:translateY(0) translateX(0)}
}

@media(max-width:650px){
  .tw-winner-card.champion::before{
    width:125%; height:110%; top:32%;
  }
  .tw-marquee-wrap::before{
    height:6px; background-size:14px 6px;
  }
}

/* ===== support-header-desktop-fix-v1 ===== */
/* Fix desktop support header clipping / incomplete display */
.support-shell{
  width:min(440px, calc(100vw - 44px)) !important;
}
.support-head{
  padding:14px 14px 12px !important;
}
.support-topline{
  display:grid !important;
  grid-template-columns:44px minmax(0,1fr) 34px !important;
  align-items:center !important;
  column-gap:10px !important;
}
.support-agent{
  width:44px !important;
  height:44px !important;
  flex:0 0 44px !important;
}
.support-title{
  min-width:0 !important;
  overflow:hidden !important;
}
.support-title b{
  display:block !important;
  font-size:18px !important;
  line-height:1.18 !important;
  white-space:normal !important;
  word-break:break-word !important;
}
.support-title small{
  display:block !important;
  margin-top:4px !important;
  font-size:12px !important;
  line-height:1.35 !important;
  color:#dffcf4 !important;
  white-space:normal !important;
  word-break:break-word !important;
}
.support-close{
  width:34px !important;
  height:34px !important;
  flex:0 0 34px !important;
  justify-self:end !important;
}
.support-status{
  display:block !important;
  margin-top:10px !important;
  padding:10px 12px !important;
  border-radius:12px !important;
  font-size:12px !important;
  line-height:1.42 !important;
  white-space:normal !important;
  word-break:break-word !important;
}

@media (max-width: 680px){
  .support-shell{
    width:100vw !important;
  }
  .support-topline{
    grid-template-columns:38px minmax(0,1fr) 32px !important;
  }
  .support-agent{
    width:38px !important;
    height:38px !important;
  }
  .support-title b{
    font-size:16px !important;
  }
  .support-title small{
    font-size:11px !important;
  }
  .support-status{
    font-size:11px !important;
  }
}

/* ===== support-header-root-collision-fix-v1 ===== */
/*
  Root cause fix:
  the global `header{height:58px; position:sticky; ...}` rule was also styling
  <header class="support-head">, forcing the support header into 58px and clipping
  its title/status content. Explicitly neutralize every global header property here.
*/
.support-shell > .support-head{
  height:auto !important;
  min-height:0 !important;
  position:relative !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  z-index:2 !important;
  display:block !important;
  flex:0 0 auto !important;
  align-items:initial !important;
  gap:0 !important;
  padding:14px 14px 12px !important;
  margin:0 !important;
  border:0 !important;
  border-bottom:0 !important;
  overflow:visible !important;
  background:linear-gradient(135deg,#087d68,#0ca884) !important;
  color:#fff !important;
  box-sizing:border-box !important;
}

.support-shell > .support-head .support-topline{
  min-height:48px !important;
  display:grid !important;
  grid-template-columns:44px minmax(0,1fr) 34px !important;
  align-items:center !important;
  column-gap:10px !important;
}

.support-shell > .support-head .support-title{
  min-width:0 !important;
  overflow:visible !important;
}

.support-shell > .support-head .support-title b{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  font-size:17px !important;
  line-height:1.25 !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
}

.support-shell > .support-head .support-title small{
  display:block !important;
  margin:3px 0 0 !important;
  padding:0 !important;
  font-size:11px !important;
  line-height:1.35 !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
}

.support-shell > .support-head .support-status{
  margin:10px 0 0 !important;
  padding:9px 10px !important;
  min-height:0 !important;
  height:auto !important;
  line-height:1.4 !important;
  white-space:normal !important;
  overflow:visible !important;
  box-sizing:border-box !important;
}

@media(max-width:650px){
  .support-shell > .support-head{
    height:auto !important;
    min-height:0 !important;
    position:relative !important;
    top:auto !important;
    padding:calc(12px + env(safe-area-inset-top)) 14px 12px !important;
  }
  .support-shell > .support-head .support-topline{
    grid-template-columns:38px minmax(0,1fr) 32px !important;
    min-height:42px !important;
  }
  .support-shell > .support-head .support-title b{
    font-size:16px !important;
  }
}

/* ===== support-header-structural-fix-v1 ===== */
/* Structural fix: support header is now a DIV, so the site's global `header{...}` can never affect it. */
.support-head-panel{
  position:relative !important;
  display:block !important;
  height:auto !important;
  min-height:0 !important;
  overflow:visible !important;
  padding:14px 14px 12px !important;
  margin:0 !important;
  border:0 !important;
  background:linear-gradient(135deg,#087d68,#0ca884) !important;
  color:#fff !important;
  box-sizing:border-box !important;
}
.support-head-panel .support-topline{
  display:grid !important;
  grid-template-columns:44px minmax(0,1fr) 34px !important;
  align-items:center !important;
  gap:10px !important;
  min-height:48px !important;
}
.support-head-panel .support-title{
  min-width:0 !important;
  overflow:visible !important;
}
.support-head-panel .support-title b{
  display:block !important;
  margin:0 !important;
  font-size:17px !important;
  line-height:1.25 !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
}
.support-head-panel .support-title small{
  display:block !important;
  margin-top:3px !important;
  font-size:11px !important;
  line-height:1.35 !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  color:#dffcf4 !important;
}
.support-head-panel .support-status{
  display:block !important;
  width:100% !important;
  height:auto !important;
  margin:10px 0 0 !important;
  padding:9px 10px !important;
  border-radius:10px !important;
  font-size:11px !important;
  line-height:1.4 !important;
  white-space:normal !important;
  overflow:visible !important;
  box-sizing:border-box !important;
}
@media(max-width:650px){
  .support-head-panel{
    padding:calc(12px + env(safe-area-inset-top)) 14px 12px !important;
  }
  .support-head-panel .support-topline{
    grid-template-columns:38px minmax(0,1fr) 32px !important;
    min-height:42px !important;
  }
  .support-head-panel .support-title b{
    font-size:16px !important;
  }
}

/* ===== mobile-ranking-sync-v1 ===== */
/* Desktop remains exactly on Main UI v1.9 behavior. */
.tw-mobile-count,
.tw-grand-total-mobile{display:none}

/* Mobile gets a CSS-only fallback because some preview environments do not run timers reliably. */
@media(max-width:650px){
  .tw-desktop-count,
  .tw-grand-total-desktop{display:none!important}

  .tw-mobile-count{
    display:inline-flex;
    align-items:center;
    white-space:nowrap;
    color:#fff;
    font-weight:900;
    font-size:12px;
    line-height:1.2;
    font-variant-numeric:tabular-nums;
  }
  .tw-count-wheel{
    display:inline-block;
    position:relative;
    width:2.15ch;
    height:1.2em;
    overflow:hidden;
    vertical-align:middle;
  }
  .tw-count-strip{
    position:absolute;
    left:0;top:0;
    width:100%;
    display:flex;
    flex-direction:column;
    will-change:transform;
  }
  .tw-count-strip i{
    display:block;
    width:100%;
    height:1.2em;
    line-height:1.2em;
    text-align:center;
    font-style:normal;
  }
  .tw-count-sec .tw-count-strip{
    animation:twMobSec 60s steps(59,end) infinite;
  }
  .tw-count-min .tw-count-strip{
    animation:twMobMin 3600s steps(59,end) infinite;
  }
  @keyframes twMobSec{
    from{transform:translateY(0)}
    to{transform:translateY(calc(-59 * 1.2em))}
  }
  @keyframes twMobMin{
    from{transform:translateY(0)}
    to{transform:translateY(calc(-59 * 1.2em))}
  }

  .tw-grand-total-mobile{
    position:relative;
    display:flex!important;
    align-items:center;
    justify-content:center;
    flex-wrap:nowrap;
    gap:2px;
    padding:7px 8px;
    border-radius:18px;
    background:linear-gradient(180deg,#5c1110,#731917 46%,#4b100b);
    box-shadow:
      0 8px 22px rgba(0,0,0,.28),
      0 0 0 2px rgba(255,223,147,.20),
      0 0 28px rgba(255,175,66,.24),
      inset 0 1px 0 rgba(255,255,255,.12);
    overflow:hidden;
    white-space:nowrap;
    animation:twMobBoardPulse 1.2s ease-in-out infinite;
    font-variant-numeric:tabular-nums;
  }
  .tw-mobile-main{
    display:flex;
    align-items:center;
    gap:2px;
    flex:0 0 auto;
  }
  .tw-mob-digit,
  .tw-mob-roll{
    width:18px;
    height:30px;
    border-radius:6px;
    background:linear-gradient(180deg,#fff9ef,#f6ead9 46%,#f0ddc5);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.92),
      inset 0 -1px 0 rgba(124,65,20,.18);
    color:#c91917;
    font-size:20px;
    line-height:30px;
    font-weight:900;
    text-align:center;
    text-shadow:0 1px 0 #fff;
    flex:0 0 18px;
  }
  .tw-mob-sep{
    display:inline-grid;
    place-items:center;
    width:6px;
    flex:0 0 6px;
    color:#fff2c4;
    font-size:18px;
    font-weight:900;
  }
  .tw-mob-sep.dot{margin:0 -1px 0 0}
  .tw-mob-roll{
    position:relative;
    overflow:hidden;
  }
  .tw-mob-roll > span{
    position:absolute;
    left:0;top:0;
    width:100%;
    display:flex;
    flex-direction:column;
    will-change:transform;
  }
  .tw-mob-roll i{
    display:block;
    height:30px;
    line-height:30px;
    font-style:normal;
  }

  /* Fast tail without changing the v1.9 board composition. */
  .tw-mob-roll.r1 > span{animation:twMobRoll 10s steps(9,end) infinite}
  .tw-mob-roll.r2 > span{animation:twMobRoll 3.6s steps(9,end) infinite}
  .tw-mob-roll.r3 > span{animation:twMobRoll 1.2s steps(9,end) infinite}
  .tw-mob-roll.r4 > span{animation:twMobRoll .36s steps(9,end) infinite}
  @keyframes twMobRoll{
    from{transform:translateY(0)}
    to{transform:translateY(-270px)}
  }
  @keyframes twMobBoardPulse{
    0%,100%{filter:brightness(1);transform:scale(1)}
    50%{filter:brightness(1.06);transform:scale(1.006)}
  }

  /* Preserve the old v1.9 proportions; only tighten the number board enough to fit phones. */
  .tw-grand-total-wrap{
    max-width:100%;
  }
}

@media(max-width:410px){
  .tw-mob-digit,
  .tw-mob-roll{
    width:16px;
    flex-basis:16px;
    height:28px;
    line-height:28px;
    font-size:18px;
  }
  .tw-mob-roll i{
    height:28px;
    line-height:28px;
  }
  .tw-mob-roll.r1 > span,
  .tw-mob-roll.r2 > span,
  .tw-mob-roll.r3 > span,
  .tw-mob-roll.r4 > span{
    --tw-mobile-step:28px;
  }
  @keyframes twMobRoll{
    from{transform:translateY(0)}
    to{transform:translateY(-252px)}
  }
}

/* ===== topwin-header-logo-link-v1 ===== */
.logo{
  text-decoration:none !important;
  color:#07856d !important;
  cursor:pointer;
}

/* ===== topwin-global-header-v1 ===== */
:root{
  --tw-global-side:var(--tw-side-w,var(--side,280px));
  --tw-global-header-h:70px;
}
.tw-global-header{
  position:sticky;
  top:0;
  z-index:120;
  margin-left:var(--tw-global-side);
  min-height:var(--tw-global-header-h);
  display:flex;
  align-items:center;
  gap:18px;
  padding:10px 20px;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid #e7eeeb;
  box-shadow:0 6px 22px rgba(16,52,43,.055);
  backdrop-filter:blur(14px);
}
.tw-global-mobile-logo{display:none}
.tw-global-nav{
  display:flex;
  align-items:center;
  gap:4px;
  min-width:0;
  flex:1;
}
.tw-global-nav a{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:38px;
  padding:0 12px;
  border-radius:11px;
  text-decoration:none;
  color:#426159;
  font-size:12px;
  font-weight:850;
  white-space:nowrap;
  transition:background .15s ease,color .15s ease,transform .15s ease,box-shadow .15s ease;
}
.tw-global-nav a:hover,
.tw-global-nav a.active{
  background:#eef9f5;
  color:#07856d;
  transform:translateY(-1px);
  box-shadow:0 5px 12px rgba(8,133,109,.08);
}
.tw-global-nav i{
  width:22px;height:22px;border-radius:8px;
  display:grid;place-items:center;
  font-style:normal;
  background:linear-gradient(145deg,#e6f7f1,#d9f3ea);
  color:#07856d;
  font-size:12px;
}
.tw-global-actions{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:8px;
}
.tw-gh-btn,.tw-gh-wallet,.tw-gh-deposit,.tw-gh-user{
  height:38px;
  border:1px solid #e1eae6;
  background:#fff;
  border-radius:11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#41605a;
  box-shadow:0 4px 12px rgba(17,48,40,.045);
}
.tw-gh-btn{
  width:38px;
  font-size:17px;
  transition:.15s ease;
}
.tw-gh-btn:hover{transform:translateY(-1px);color:#07856d;background:#f4faf8}
.tw-gh-wallet{
  gap:7px;
  padding:0 12px;
  font-size:12px;
  font-weight:900;
  color:#0a6f5d;
}
.tw-gh-wallet::before{content:"";font-size:15px}
.tw-gh-deposit{
  padding:0 15px;
  background:linear-gradient(135deg,#078d73,#11b28e);
  border-color:#078d73;
  color:#fff;
  font-size:12px;
  font-weight:900;
  box-shadow:0 7px 15px rgba(8,141,115,.18);
}
.tw-gh-user{
  min-width:38px;
  padding:0 11px;
  border-radius:999px;
  background:#eaf8f3;
  color:#07856d;
  font-weight:900;
  font-size:11px;
}
.tw-gh-vip{
  width:38px;height:38px;
  border-radius:11px;
  display:grid;place-items:center;
  text-decoration:none;
  background:linear-gradient(145deg,#fff4bd,#ffd65a);
  color:#8b5b00;
  border:1px solid #f4d66b;
  box-shadow:0 5px 12px rgba(218,164,25,.12);
  font-size:17px;
}
@media(max-width:1180px){
  .tw-global-header{gap:10px;padding:9px 12px}
  .tw-global-nav a{padding:0 8px;font-size:11px}
  .tw-global-nav i{display:none}
  .tw-gh-wallet{display:none}
}
@media(max-width:1099px){
  :root{--tw-global-header-h:58px}
  .tw-global-header{
    margin-left:0;
    min-height:58px;
    padding:8px 12px;
  }
  .tw-global-mobile-logo{
    display:inline-flex;
    align-items:center;
    text-decoration:none;
    color:#07856d;
    font-weight:950;
    letter-spacing:.04em;
  }
  .tw-global-nav{display:none}
  .tw-gh-wallet{display:flex}
  .tw-gh-vip{display:none}
}
@media(max-width:620px){
  .tw-global-header{gap:6px}
  .tw-global-actions{gap:5px}
  .tw-gh-btn{width:34px;height:34px;border-radius:10px}
  .tw-gh-wallet{height:34px;padding:0 9px;font-size:10px}
  .tw-gh-deposit{height:34px;padding:0 10px;font-size:10px}
  .tw-gh-user{height:34px;min-width:34px;padding:0 9px}
}

/* ===== topwin-vip-banner-interactive-v1 ===== */
.tw-vip-interactive{
  position:relative;
  margin:14px 0 16px;
  border-radius:22px;
  overflow:hidden;
  background:#05765f;
  box-shadow:0 16px 34px rgba(5,103,83,.18);
  transform:translateZ(0);
}
.tw-vip-interactive > img{
  display:block;
  width:100%;
  height:auto;
  transition:transform .28s ease,filter .28s ease;
  transform-origin:center;
}
.tw-vip-interactive:hover > img{
  transform:scale(1.012);
  filter:saturate(1.06) brightness(1.02);
}
.tw-vip-shine{
  position:absolute;inset:-30% auto -30% -28%;
  width:22%;
  background:linear-gradient(105deg,transparent,rgba(255,255,255,.28),transparent);
  transform:skewX(-18deg);
  transition:left .6s ease;
  pointer-events:none;
}
.tw-vip-interactive:hover .tw-vip-shine{left:115%}
.tw-vip-main-link{position:absolute;inset:0;z-index:1}
.tw-vip-hotspots{
  position:absolute;
  left:3.5%; right:3.5%; bottom:3%;
  height:19%;
  z-index:3;
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.tw-vip-hotspot{
  position:relative;
  text-decoration:none;
  border-radius:14px;
  transition:background .15s ease,box-shadow .15s ease,transform .15s ease;
}
.tw-vip-hotspot:hover{
  background:rgba(46,255,197,.10);
  box-shadow:inset 0 0 0 1px rgba(103,255,218,.35),0 0 18px rgba(21,255,194,.16);
  transform:translateY(-1px);
}
.tw-vip-hotspot::after{
  content:attr(data-tip);
  position:absolute;
  left:50%;bottom:calc(100% + 8px);
  transform:translate(-50%,5px);
  padding:7px 9px;
  border-radius:8px;
  background:#073f36;
  color:#fff;
  font-size:10px;font-weight:800;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  transition:.15s ease;
}
.tw-vip-hotspot:hover::after{opacity:1;transform:translate(-50%,0)}
@media(max-width:700px){
  .tw-vip-interactive{border-radius:15px}
  .tw-vip-hotspot::after{display:none}
}

/* ===== topwin-weekly-fullwidth-v1 ===== */
.tw-weekly-prize,
.tw-weekly-shell{
  width:100% !important;
  max-width:none !important;
}
.tw-weekly-prize{
  grid-column:1/-1 !important;
}

/* ===== topwin-home-catalog-v4 ===== */
.tw-home-catalog{margin-top:14px;display:grid;gap:16px}
.tw-provider-strip{
  display:flex;gap:8px;align-items:center;overflow-x:auto;
  padding:4px 2px 7px;scrollbar-width:none
}
.tw-provider-strip::-webkit-scrollbar{display:none}
.tw-provider-btn{
  flex:0 0 auto;min-width:66px;height:54px;padding:0 9px;
  border:1px solid #e2ebe7;border-radius:12px;background:#fff;color:#61736d;
  display:grid;place-items:center;align-content:center;gap:3px;
  box-shadow:0 5px 13px rgba(17,48,40,.045);cursor:pointer;transition:.15s ease
}
.tw-provider-btn b{font-size:14px;color:#58756d}.tw-provider-btn span{font-size:9px;font-weight:800}
.tw-provider-btn.active,.tw-provider-btn:hover{
  border-color:#9ddbc8;background:linear-gradient(145deg,#ddf8ef,#fff);
  color:#07856d;transform:translateY(-1px);box-shadow:0 9px 18px rgba(8,133,109,.1)
}
.tw-provider-btn.active b{color:#07856d}
.tw-game-shelf{
  padding:14px 14px 10px;border-radius:18px;background:#fff;
  border:1px solid #e5ece9;box-shadow:0 9px 24px rgba(14,47,39,.05)
}
.tw-game-shelf-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px
}
.tw-game-shelf-title{display:flex;align-items:center;gap:10px;min-width:0}
.tw-game-shelf-mark{
  width:32px;height:32px;border-radius:10px;display:grid;place-items:center;
  background:linear-gradient(145deg,#e3faf2,#fff);color:#07856d;font-style:normal;
  box-shadow:inset 0 0 0 1px #cceee3
}
.tw-game-shelf-title b{display:block;font-size:20px;color:#172f29}
.tw-game-shelf-title small{display:block;font-size:9px;letter-spacing:.13em;color:#9aa7a2;font-weight:850;margin-top:2px}
.tw-game-shelf-more{
  text-decoration:none;color:#07856d;font-size:12px;font-weight:900;white-space:nowrap
}
.tw-game-shelf-row{
  display:grid;grid-auto-flow:column;grid-auto-columns:118px;gap:9px;
  overflow-x:auto;padding-bottom:7px;scroll-snap-type:x proximity;
  scrollbar-width:thin;scrollbar-color:#c5d7d0 transparent
}
.tw-game-shelf-row::-webkit-scrollbar{height:6px}
.tw-game-shelf-row::-webkit-scrollbar-thumb{background:#c5d7d0;border-radius:999px}
.tw-compact-game{
  scroll-snap-align:start;text-decoration:none;color:#253832;min-width:0;
  border-radius:13px;background:#fff;overflow:hidden;border:1px solid #e5ece9;
  box-shadow:0 6px 14px rgba(13,42,35,.055);transition:.16s ease
}
.tw-compact-game:hover{transform:translateY(-3px);box-shadow:0 12px 21px rgba(13,42,35,.11)}
.tw-compact-cover{
  position:relative;height:86px;overflow:hidden;background:linear-gradient(135deg,var(--a),var(--b))
}
.tw-compact-cover::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(circle at 24% 18%,rgba(255,255,255,.38),transparent 27%),
             linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.15))
}
.tw-compact-art{
  position:absolute;inset:0;display:grid;place-items:center;font-size:40px;
  filter:drop-shadow(0 6px 9px rgba(0,0,0,.18))
}
.tw-compact-hot{
  position:absolute;left:6px;top:6px;z-index:2;width:22px;height:22px;border-radius:50%;
  display:grid;place-items:center;background:#ff3d72;color:#fff;font-size:10px;
  box-shadow:0 4px 8px rgba(197,31,82,.2)
}
.tw-compact-fav{
  position:absolute;right:6px;top:6px;z-index:2;width:22px;height:22px;border-radius:50%;
  display:grid;place-items:center;background:rgba(10,31,26,.32);color:#fff;font-size:11px
}
.tw-compact-name{
  padding:7px 7px 2px;font-size:10px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.tw-compact-meta{
  padding:0 7px 7px;font-size:8px;color:#8b9995;display:flex;justify-content:space-between;gap:5px
}
.tw-compact-game[hidden]{display:none!important}
@media(max-width:700px){
  .tw-game-shelf{padding:12px 10px 8px;border-radius:15px}
  .tw-game-shelf-row{grid-auto-columns:102px}
  .tw-compact-cover{height:74px}
  .tw-game-shelf-title b{font-size:17px}
  .tw-provider-btn{min-width:58px;height:50px}
}

/* ===== topwin-global-header-v2 ===== */
.tw-global-nav .gh-ico{
  width:22px;height:22px;border-radius:8px;
  display:grid;place-items:center;
  position:relative;
  background:linear-gradient(145deg,#eaf8f3,#dff4ec);
  box-shadow:inset 0 0 0 1px rgba(8,133,109,.06);
}
.tw-global-nav .gh-ico::before,
.tw-global-nav .gh-ico::after{content:"";position:absolute}
.tw-global-nav .gh-slot::before{width:11px;height:8px;border:1.7px solid #07856d;border-radius:2px;box-shadow:inset 3px 0 0 transparent}
.tw-global-nav .gh-slot::after{width:2px;height:2px;border-radius:50%;background:#07856d;box-shadow:-3px 0 #07856d,3px 0 #07856d}
.tw-global-nav .gh-live::before{width:11px;height:9px;border:1.7px solid #07856d;border-top-left-radius:8px;border-top-right-radius:8px;border-bottom:0}
.tw-global-nav .gh-live::after{width:2px;height:5px;background:#07856d;bottom:3px;box-shadow:-6px 0 #07856d,6px 0 #07856d}
.tw-global-nav .gh-sports::before{width:10px;height:10px;border-radius:50%;border:1.7px solid #07856d}
.tw-global-nav .gh-sports::after{width:3px;height:3px;border-radius:50%;background:#07856d}
.tw-global-nav .gh-fishing::before{width:12px;height:7px;border-radius:50% 60% 60% 50%;border:1.7px solid #07856d}
.tw-global-nav .gh-fishing::after{right:3px;width:5px;height:5px;border-left:1.7px solid #07856d;border-top:1.7px solid #07856d;transform:rotate(-45deg)}
.tw-global-nav .gh-lottery::before{content:"";font-size:11px;font-weight:950;color:#07856d;inset:0;display:grid;place-items:center}
.tw-global-nav .gh-promo::before{width:11px;height:9px;border:1.7px solid #07856d;border-radius:2px;bottom:4px}
.tw-global-nav .gh-promo::after{width:2px;height:13px;background:#07856d;top:4px;box-shadow:-4px -2px 0 -1px #07856d,4px -2px 0 -1px #07856d}

/* ===== topwin-desktop-sidebar-v2 ===== */
/* Desktop-only permanent navigation. Mobile keeps the original drawer interaction. */
@media (min-width:1100px){
  :root{--tw-side-w:286px}

  /* Remove the large empty band: sidebar begins immediately below the main header. */
  .tw-side-nav{
    position:fixed!important;
    left:0!important;
    top:58px!important;
    bottom:0!important;
    width:var(--tw-side-w)!important;
    height:auto!important;
    transform:none!important;
    visibility:visible!important;
    opacity:1!important;
    overflow-y:auto!important;
    padding:18px 16px 28px!important;
    background:
      linear-gradient(180deg,#ffffff 0%,#fbfdfc 100%)!important;
    border-right:1px solid #e3ebe7!important;
    box-shadow:10px 0 34px rgba(20,55,45,.055)!important;
    z-index:18!important;
  }

  .tw-side-nav .drawer-head{display:none!important}
  .menu-label,.shade,#drawer-toggle{display:none!important}

  /* The promo strip/notice remain content-wide; only actual page content shifts. */
  main{
    margin-left:var(--tw-side-w)!important;
    width:auto!important;
    max-width:none!important;
    padding:18px 26px 42px!important;
  }
  .notice{
    margin-left:var(--tw-side-w)!important;
  }

  header{
    padding:0 22px!important;
  }

  .tw-side-profile{
    display:flex;
    align-items:center;
    gap:11px;
    padding:10px 10px 16px;
    margin-bottom:4px;
    border-bottom:1px solid #edf2f0;
  }
  .tw-side-avatar{
    width:38px;height:38px;border-radius:12px;
    display:grid;place-items:center;
    background:linear-gradient(145deg,#0db092,#067964);
    color:#fff;font-size:13px;font-weight:900;
    box-shadow:0 7px 16px rgba(9,139,113,.18), inset 0 1px 0 rgba(255,255,255,.28);
  }
  .tw-side-profile-copy{min-width:0}
  .tw-side-profile-copy b{
    display:block;
    font-size:13px;line-height:1.15;color:#173d34;
    letter-spacing:.03em;
  }
  .tw-side-profile-copy span{
    display:block;margin-top:3px;
    font-size:9px;font-weight:800;letter-spacing:.16em;
    color:#9aa7a2;
  }

  .tw-side-group{margin-top:16px}
  .tw-side-group h4{
    margin:0 10px 8px!important;
    font-size:9px!important;
    line-height:1!important;
    font-weight:900!important;
    letter-spacing:.18em!important;
    color:#a0ada8!important;
  }
  .tw-side-group a{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr);
    align-items:center;
    gap:10px;
    min-height:50px;
    margin:3px 0;
    padding:7px 10px!important;
    border-radius:13px!important;
    text-decoration:none!important;
    color:#4e5f59!important;
    background:transparent!important;
    transition:background .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease!important;
  }
  .tw-side-group a:hover{
    background:#f1f8f5!important;
    color:#087b66!important;
    transform:translateX(2px);
  }
  .tw-side-group a.active{
    background:linear-gradient(90deg,#e3f5ef,#f2faf7)!important;
    color:#087b66!important;
    box-shadow:inset 3px 0 0 #0b9a7c!important;
  }

  .tw-side-label{min-width:0}
  .tw-side-label b{
    display:block;
    font-size:13px;
    line-height:1.15;
    font-weight:800;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .tw-side-label small{
    display:block;
    margin-top:3px;
    font-size:9px;
    line-height:1.1;
    color:#a0aaa6;
    font-weight:600;
  }

  .tw-side-icon{
    width:32px;height:32px;border-radius:10px;
    display:grid;place-items:center;
    position:relative;
    color:#087b66;
    background:#eef8f5;
    font-size:13px;font-weight:900;
    box-shadow:inset 0 0 0 1px #d9eee7;
  }
  .tw-side-group a.active .tw-side-icon{
    background:#0b9a7c;color:#fff;
    box-shadow:0 5px 12px rgba(11,154,124,.18);
  }

  .tw-side-icon.home i:before{
    content:"";position:absolute;left:9px;top:10px;
    width:12px;height:10px;border:2px solid currentColor;border-top:0;border-radius:2px 2px 3px 3px;
  }
  .tw-side-icon.home i:after{
    content:"";position:absolute;left:10px;top:6px;
    width:9px;height:9px;border-left:2px solid currentColor;border-top:2px solid currentColor;
    transform:rotate(45deg);border-radius:1px 0 0;
  }
  .tw-side-icon.account i:before{
    content:"";position:absolute;left:11px;top:7px;width:9px;height:9px;border:2px solid currentColor;border-radius:50%;
  }
  .tw-side-icon.account i:after{
    content:"";position:absolute;left:8px;bottom:6px;width:16px;height:8px;border:2px solid currentColor;border-radius:9px 9px 5px 5px;
  }
  .tw-side-icon.search i:before{
    content:"";position:absolute;left:8px;top:7px;width:10px;height:10px;border:2px solid currentColor;border-radius:50%;
  }
  .tw-side-icon.search i:after{
    content:"";position:absolute;left:19px;top:18px;width:7px;height:2px;background:currentColor;transform:rotate(45deg);border-radius:2px;
  }
  .tw-side-icon.support i:before{
    content:"";position:absolute;left:8px;top:7px;width:14px;height:12px;border:2px solid currentColor;border-bottom:0;border-radius:10px 10px 0 0;
  }
  .tw-side-icon.support i:after{
    content:"";position:absolute;right:6px;bottom:6px;width:7px;height:2px;background:currentColor;border-radius:2px;
  }
  .tw-side-icon.app i:before{
    content:"";position:absolute;left:10px;top:5px;width:12px;height:20px;border:2px solid currentColor;border-radius:4px;
  }
  .tw-side-icon.app i:after{
    content:"";position:absolute;left:14px;bottom:8px;width:4px;height:2px;background:currentColor;border-radius:2px;
  }

  main > *{max-width:1450px;margin-left:auto;margin-right:auto}
  main > .title{margin-top:15px!important;margin-bottom:8px!important}
}
@media (min-width:1500px){
  :root{--tw-side-w:300px}
}

/* ===== topwin-desktop-sidebar-aesthetic-v3 ===== */
@media (min-width:1100px){
  /* Make all navigation rows feel like one coherent system. */
  .tw-side-group a{
    position:relative !important;
    min-height:48px !important;
    margin:2px 0 !important;
    padding:7px 10px !important;
    border:0 !important;
    border-radius:11px !important;
    background:transparent !important;
    box-shadow:none !important;
  }

  /* Inactive rows stay clean and quiet. */
  .tw-side-group a:not(.active){
    color:#50605a !important;
  }
  .tw-side-group a:not(.active) .tw-side-icon{
    background:#f5f8f7 !important;
    color:#71817b !important;
    box-shadow:inset 0 0 0 1px #e7ecea !important;
  }

  /* Active state: no large mint box. Use a precise rail + icon emphasis instead. */
  .tw-side-group a.active{
    color:#087b66 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
.tw-side-group a.active .tw-side-icon{
    background:linear-gradient(145deg,#10ad90,#087e69) !important;
    color:#fff !important;
    box-shadow:
      0 5px 12px rgba(8,126,105,.18),
      inset 0 1px 0 rgba(255,255,255,.26) !important;
  }
  .tw-side-group a.active .tw-side-label b{
    color:#087b66 !important;
  }
  .tw-side-group a.active .tw-side-label small{
    color:#6e9c90 !important;
  }

  /* Hover is deliberately lighter than the selected state. */
  .tw-side-group a:hover{
    background:#f5f9f7 !important;
    color:#087b66 !important;
    transform:translateX(1px) !important;
  }
  .tw-side-group a.active:hover{
    background:#f8fbfa !important;
  }

  /* Slightly stronger grouping rhythm. */
  .tw-side-group{
    margin-top:18px !important;
  }
  .tw-side-group h4{
    margin-bottom:9px !important;
  }

  /* Icon tiles use the same geometry across every item. */
  .tw-side-icon{
    width:32px !important;
    height:32px !important;
    border-radius:9px !important;
  }
}

/* ===== topwin-desktop-sidebar-active-clean-v4 ===== */
@media (min-width:1100px){
  .tw-side-group a.active::before,
  .tw-side-group a.active::after{
    content:none !important;
    display:none !important;
  }
  .tw-side-group a.active{
    background:transparent !important;
    box-shadow:none !important;
  }
  .tw-side-group a.active .tw-side-icon{
    background:linear-gradient(145deg,#10ad90,#087e69) !important;
    color:#fff !important;
    box-shadow:0 5px 12px rgba(8,126,105,.18), inset 0 1px 0 rgba(255,255,255,.26) !important;
  }
  .tw-side-group a.active .tw-side-label b{
    color:#087b66 !important;
    font-weight:850 !important;
  }
}

/* ===== topwin-sidebar-neon-a-v1 ===== */
/* ===== TOP WIN Sidebar / Direction A =====
   Desktop only: vivid neon badge icons on the existing light website background.
   No dark page background is introduced.
*/
@media (min-width:1100px){

  /* Keep the rail itself light and premium. */
  .tw-side-nav{
    background:
      linear-gradient(180deg,#ffffff 0%,#fbfdfc 46%,#f8fbfa 100%) !important;
  }

  .tw-side-group a{
    grid-template-columns:42px minmax(0,1fr) !important;
    gap:12px !important;
    min-height:58px !important;
    padding:7px 10px !important;
    border-radius:14px !important;
    overflow:visible !important;
  }

  /* Core badge */
  .tw-side-icon{
    --c1:#22c9a8;
    --c2:#087e69;
    --glow:rgba(34,201,168,.42);

    position:relative !important;
    isolation:isolate;
    overflow:visible !important;
    width:40px !important;
    height:40px !important;
    border-radius:50% !important;
    display:grid !important;
    place-items:center !important;
    color:#fff !important;

    background:
      radial-gradient(circle at 30% 20%,rgba(255,255,255,.78) 0 7%,rgba(255,255,255,.28) 8% 20%,transparent 34%),
      linear-gradient(145deg,var(--c1) 0%,var(--c2) 78%) !important;

    border:1px solid rgba(255,255,255,.9) !important;

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.72),
      inset 0 -7px 15px rgba(0,0,0,.10),
      0 0 0 2px color-mix(in srgb, var(--c1) 20%, transparent),
      0 0 13px var(--glow),
      0 7px 15px rgba(28,57,49,.12) !important;

    transition:
      transform .18s cubic-bezier(.2,.8,.2,1),
      box-shadow .18s ease,
      filter .18s ease !important;
  }

  /* Outer neon halo */
  .tw-side-icon::before{
    content:"";
    position:absolute;
    inset:-4px;
    border-radius:50%;
    z-index:-2;
    background:radial-gradient(circle, var(--glow) 0%, transparent 68%);
    filter:blur(4px);
    opacity:.72;
    transition:opacity .18s ease, transform .18s ease;
  }

  /* Glass highlight */
  .tw-side-icon::after{
    content:"";
    position:absolute;
    left:7px;
    right:7px;
    top:4px;
    height:12px;
    border-radius:50%;
    background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,255,255,0));
    opacity:.72;
    pointer-events:none;
  }

  .tw-side-icon svg{
    width:22px !important;
    height:22px !important;
    display:block;
    fill:none;
    stroke:currentColor;
    stroke-width:1.85;
    stroke-linecap:round;
    stroke-linejoin:round;
    filter:
      drop-shadow(0 1px 0 rgba(0,0,0,.12))
      drop-shadow(0 0 4px rgba(255,255,255,.20));
    z-index:1;
  }

  /* Individual high-saturation identities */
  .tw-side-icon.home{
    --c1:#19ddb6; --c2:#008875; --glow:rgba(25,221,182,.46);
  }
  .tw-side-icon.account{
    --c1:#45d7ff; --c2:#1479d3; --glow:rgba(43,177,255,.44);
  }
  .tw-side-icon.fav{
    --c1:#ff6fa8; --c2:#d5276f; --glow:rgba(255,78,143,.46);
  }
  .tw-side-icon.search{
    --c1:#7f8cff; --c2:#5154c9; --glow:rgba(111,118,255,.40);
  }

  .tw-side-icon.slot{
    --c1:#c452ff; --c2:#6d22d5; --glow:rgba(181,62,255,.50);
  }
  .tw-side-icon.sports{
    --c1:#2cf0aa; --c2:#07985f; --glow:rgba(32,228,153,.48);
  }
  .tw-side-icon.live{
    --c1:#ff4da1; --c2:#c01867; --glow:rgba(255,54,145,.48);
  }
  .tw-side-icon.card{
    --c1:#20d9ff; --c2:#0778ad; --glow:rgba(28,201,255,.46);
  }
  .tw-side-icon.fish{
    --c1:#3aafff; --c2:#1b58d7; --glow:rgba(47,147,255,.48);
  }
  .tw-side-icon.esport{
    --c1:#ff8f42; --c2:#e8491b; --glow:rgba(255,111,51,.46);
  }
  .tw-side-icon.lottery{
    --c1:#ffd84c; --c2:#f09100; --glow:rgba(255,185,31,.54);
  }

  .tw-side-icon.promo{
    --c1:#ff5b62; --c2:#cf1835; --glow:rgba(255,66,83,.48);
  }
  .tw-side-icon.support{
    --c1:#20e1d5; --c2:#078f9d; --glow:rgba(31,216,208,.48);
  }
  .tw-side-icon.app{
    --c1:#48d7ff; --c2:#2466df; --glow:rgba(56,156,255,.46);
  }

  /* More tactile row interaction */
  .tw-side-group a:hover{
    background:
      linear-gradient(90deg,rgba(240,249,246,.92),rgba(255,255,255,.22)) !important;
    transform:translateX(2px) !important;
  }

  .tw-side-group a:hover .tw-side-icon{
    transform:translateY(-2px) scale(1.075) !important;
    filter:saturate(1.12) brightness(1.05);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.78),
      inset 0 -7px 15px rgba(0,0,0,.08),
      0 0 0 2px color-mix(in srgb, var(--c1) 28%, transparent),
      0 0 20px var(--glow),
      0 10px 20px rgba(28,57,49,.15) !important;
  }

  .tw-side-group a:hover .tw-side-icon::before{
    opacity:1;
    transform:scale(1.12);
  }

  /* Active = bright, but still clean. No giant mint box / no vertical rail. */
  .tw-side-group a.active{
    background:transparent !important;
    box-shadow:none !important;
  }
  .tw-side-group a.active .tw-side-icon{
    transform:scale(1.06);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.82),
      inset 0 -7px 15px rgba(0,0,0,.08),
      0 0 0 2px rgba(255,255,255,.95),
      0 0 0 4px color-mix(in srgb, var(--c1) 22%, transparent),
      0 0 23px var(--glow),
      0 9px 19px rgba(28,57,49,.14) !important;
  }
  .tw-side-group a.active .tw-side-label b{
    color:#087b66 !important;
    font-weight:850 !important;
  }

  /* Refine typography to support the vivid icon style */
  .tw-side-label b{
    font-size:13.5px !important;
    letter-spacing:.005em !important;
  }
  .tw-side-label small{
    font-size:9.5px !important;
    margin-top:4px !important;
    color:#98a6a1 !important;
  }

  /* Small decorative accent line under section labels */
  .tw-side-group h4{
    position:relative;
    padding-left:12px;
  }
  .tw-side-group h4::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    width:6px;
    height:2px;
    transform:translateY(-50%);
    border-radius:999px;
    background:linear-gradient(90deg,#13b995,#3bcdb1);
    box-shadow:0 0 7px rgba(19,185,149,.28);
  }
}

/* Mobile intentionally untouched. */

/* ===== topwin-sidebar-unified-nav-v1 ===== */
@media (min-width:1100px){
  .tw-side-nav{
    overflow-y:auto !important;
    scrollbar-width:none !important;
    -ms-overflow-style:none !important;
  }
  .tw-side-nav::-webkit-scrollbar{
    width:0 !important;
    height:0 !important;
    display:none !important;
  }

  .tw-side-brand{
    display:flex !important;
    align-items:center;
    gap:11px;
    min-height:56px;
    padding:8px 10px 16px;
    margin-bottom:4px;
    border-bottom:1px solid #edf2f0;
    text-decoration:none;
    color:#173d34;
    transition:transform .15s ease, opacity .15s ease;
  }
  .tw-side-brand:hover{
    transform:translateX(1px);
    opacity:.92;
  }
  .tw-side-brand-name{
    font-size:14px;
    line-height:1;
    font-weight:900;
    letter-spacing:.045em;
    color:#173d34;
  }

  /* Remove obsolete profile-copy presentation from older pages. */
  .tw-side-profile,
  .tw-side-profile-copy{
    display:none !important;
  }

  /* Keep all first ACCOUNT rows aligned identically across pages. */
  .tw-side-group a{
    box-sizing:border-box !important;
  }
  .tw-side-group a.active{
    transform:none !important;
  }
}

/* ===== topwin-header-category-icons-v4 ===== */
@media(min-width:1100px){
  .tw-global-header{
    position:sticky!important; top:0!important; z-index:140!important;
    margin-left:var(--tw-global-side,280px)!important;
    min-height:72px!important;
    padding:7px 14px!important;
    display:flex!important; align-items:center!important; gap:12px!important;
    background:rgba(255,255,255,.97)!important;
    border-bottom:1px solid #e6eeea!important;
    box-shadow:0 7px 22px rgba(16,52,43,.05)!important;
    backdrop-filter:blur(14px);
    overflow:visible!important;
  }
  .tw-global-mobile-logo{display:none!important}
  .tw-header-cat-nav{
    flex:1 1 auto!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:repeat(7,minmax(56px,70px))!important;
    justify-content:start!important;
    align-items:center!important;
    gap:8px!important;
    overflow:visible!important;
  }
  .tw-header-cat-nav .tw-cat-b{
    min-width:0!important; width:auto!important;
    padding:0!important; gap:3px!important;
    display:flex!important; flex-direction:column!important;
    align-items:center!important; justify-content:center!important;
    text-decoration:none!important;
  }
  .tw-header-cat-nav .tw-icon-box{
    width:46px!important;height:36px!important;border-radius:13px!important;
    transform:none!important;
  }
  .tw-header-cat-nav .tw-cat-b em{
    font-size:9px!important;line-height:1!important;
    color:#506861!important;text-shadow:none!important;font-weight:900!important;
  }
  .tw-header-cat-nav .tw-cat-b.active em{color:#07856d!important}
  .tw-header-cat-nav .tw-cat-b:hover .tw-icon-box{transform:translateY(-2px) scale(1.04)!important}
  .tw-global-actions{flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:7px!important}
}
@media(min-width:1100px) and (max-width:1320px){
  .tw-global-header{padding-left:10px!important;padding-right:10px!important;gap:8px!important}
  .tw-header-cat-nav{grid-template-columns:repeat(7,54px)!important;gap:4px!important}
  .tw-header-cat-nav .tw-icon-box{width:42px!important;height:34px!important}
  .tw-global-actions .tw-gh-wallet{display:none!important}
}
@media(max-width:1099px){
  .tw-global-header{margin-left:0!important}
  .tw-header-cat-nav{display:none!important}
}

/* ===== topwin-v7-layout-final ===== */
:root{--tw-side-w:252px}

@media(min-width:1100px){
  .tw-side-nav{
    position:fixed!important;left:0!important;top:0!important;bottom:0!important;
    width:var(--tw-side-w)!important;height:100vh!important;
    padding:14px 13px 22px!important;overflow-y:auto!important;scrollbar-width:none!important;
    background:linear-gradient(180deg,#fff,#fbfdfc)!important;border-right:1px solid #e4ece8!important;
    box-shadow:7px 0 24px rgba(20,55,45,.04)!important;z-index:160!important;
  }
  .tw-side-nav::-webkit-scrollbar{display:none!important}
  .tw-side-nav .drawer-head{display:none!important}
  .tw-side-brand{
    display:flex!important;align-items:center!important;gap:10px!important;
    min-height:54px!important;padding:7px 8px 14px!important;margin:0 0 8px!important;
    border-bottom:1px solid #edf2f0!important;text-decoration:none!important;color:#173d34!important;
  }
  .tw-side-avatar{
    width:36px!important;height:36px!important;border-radius:11px!important;display:grid!important;place-items:center!important;
    background:linear-gradient(145deg,#13b394,#067963)!important;color:#fff!important;
    font-size:12px!important;font-weight:950!important;box-shadow:0 7px 15px rgba(8,133,109,.18)!important;
  }
  .tw-side-brand-name{font-size:13px!important;font-weight:950!important;letter-spacing:.04em!important}
  .tw-side-group{margin-top:14px!important}
  .tw-side-group h4{margin:0 9px 7px!important;font-size:8px!important;letter-spacing:.17em!important;color:#9aa8a3!important}
  .tw-side-group a{
    display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;
    min-height:48px!important;margin:2px 0!important;padding:6px 8px!important;border-radius:12px!important;
    background:transparent!important;box-shadow:none!important;text-decoration:none!important;color:#52625d!important;transform:none!important;
  }
  .tw-side-group a:hover{background:#f4f9f7!important;color:#087b66!important}
  .tw-side-group a.active{
    background:linear-gradient(90deg,#e5f8f2,#f7fcfa)!important;color:#087b66!important;
    box-shadow:inset 3px 0 0 #0aa080!important;
  }
  .tw-side-label b{display:block!important;font-size:12px!important;line-height:1.1!important;font-weight:850!important}
  .tw-side-label small{display:block!important;margin-top:3px!important;font-size:8px!important;color:#9ba8a3!important}
  .tw-side-icon{width:34px!important;height:34px!important;border-radius:11px!important;color:#fff!important;overflow:hidden!important;box-shadow:0 5px 12px rgba(20,55,45,.12)!important}
  .tw-side-icon svg{width:19px!important;height:19px!important}
  .tw-side-icon.home{background:linear-gradient(145deg,#21d5ad,#07866d)!important}
  .tw-side-icon.account{background:linear-gradient(145deg,#43cfff,#1a7ed5)!important}
  .tw-side-icon.fav{background:linear-gradient(145deg,#ff78ad,#d42a70)!important}
  .tw-side-icon.search{background:linear-gradient(145deg,#8992ff,#5356cf)!important}
  .tw-side-icon.slot{background:linear-gradient(145deg,#c454ff,#7227d8)!important}
  .tw-side-icon.sports{background:linear-gradient(145deg,#32e2a5,#07975f)!important}
  .tw-side-icon.live{background:linear-gradient(145deg,#ff5ba8,#c21b68)!important}
  .tw-side-icon.card{background:linear-gradient(145deg,#2bdcff,#087dad)!important}
  .tw-side-icon.fish{background:linear-gradient(145deg,#46b6ff,#235bd7)!important}
  .tw-side-icon.esport{background:linear-gradient(145deg,#ff9a4c,#e64c1d)!important}
  .tw-side-icon.lottery{background:linear-gradient(145deg,#ffdb55,#f19b07)!important}
  .tw-side-icon.promo{background:linear-gradient(145deg,#ff6c72,#cf1c38)!important}
  .tw-side-icon.support{background:linear-gradient(145deg,#25dfd2,#078e9a)!important}
  .tw-side-icon.app{background:linear-gradient(145deg,#51d7ff,#2a66df)!important}

  .tw-global-header{
    position:sticky!important;top:0!important;
    margin-left:var(--tw-side-w)!important;width:calc(100% - var(--tw-side-w))!important;
    min-height:68px!important;height:68px!important;padding:6px 14px!important;
    display:flex!important;align-items:center!important;gap:12px!important;box-sizing:border-box!important;
    background:rgba(255,255,255,.97)!important;border-bottom:1px solid #e5ede9!important;
    box-shadow:0 6px 20px rgba(16,52,43,.045)!important;z-index:140!important;overflow:visible!important;
  }
  .tw-global-mobile-logo{display:none!important}
  .tw-header-cat-nav{
    flex:1 1 auto!important;min-width:0!important;display:grid!important;
    grid-template-columns:repeat(7,minmax(58px,1fr))!important;gap:4px!important;
    align-items:center!important;justify-content:stretch!important;overflow:visible!important;
  }
  .tw-header-cat-nav .tw-cat-b{
    width:100%!important;height:56px!important;min-width:0!important;
    display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
    gap:2px!important;padding:2px 3px!important;text-decoration:none!important;border-radius:11px!important;
  }
  .tw-header-cat-nav .tw-icon-box{width:44px!important;height:34px!important;border-radius:12px!important;overflow:hidden!important}
  .tw-header-cat-nav .tw-icon-box > i{display:none!important}
  .tw-header-cat-nav .tw-cat-b em{
    width:100%!important;text-align:center!important;font-size:8px!important;line-height:1!important;
    font-weight:900!important;white-space:nowrap!important;color:#506861!important;text-shadow:none!important;
  }
  .tw-header-cat-nav .tw-cat-b.active em{color:#07856d!important}
  .tw-global-actions{flex:0 0 auto!important;margin-left:0!important;gap:6px!important}
  main,.cat-page{margin-left:var(--tw-side-w)!important}
}
@media(min-width:1100px) and (max-width:1280px){
  .tw-header-cat-nav{grid-template-columns:repeat(7,minmax(52px,1fr))!important;gap:2px!important}
  .tw-header-cat-nav .tw-icon-box{width:40px!important;height:32px!important}
  .tw-gh-wallet{display:none!important}
}

/* Flat, proportional, edge-to-edge banner */
.tw-vip-interactive{
  width:100%!important;max-width:none!important;height:auto!important;
  margin:10px 0 14px!important;border-radius:15px!important;overflow:hidden!important;
  background:transparent!important;box-shadow:0 10px 24px rgba(5,103,83,.12)!important;
}
.tw-vip-interactive > img{display:block!important;width:100%!important;height:auto!important;object-fit:contain!important}
.tw-vip-hotspots{left:2.5%!important;right:2.5%!important;bottom:2%!important;height:24%!important}

/* ===== topwin-v7-3-shared-fix ===== */
/* Full-fill VIP banner: occupy the whole available content width, no artificial side gutters. */
.tw-vip-interactive{
  width:100% !important;
  max-width:none !important;
  height:auto !important;
  margin:10px 0 14px !important;
  border-radius:16px !important;
  overflow:hidden !important;
  background:transparent !important;
}
.tw-vip-interactive > img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  object-fit:contain !important;
  object-position:center !important;
}

/* Favorite state */
.tw-compact-fav.is-fav,
.cat-heart.is-fav{
  background:#ee3d67 !important;
  color:#fff !important;
  box-shadow:0 5px 12px rgba(238,61,103,.28) !important;
}
.tw-compact-fav,.cat-heart{
  cursor:pointer !important;
  user-select:none !important;
  -webkit-tap-highlight-color:transparent;
}

/* Category pages must always remain vertically scrollable. */
html.tw-category-page,
html.tw-category-page body{
  overflow-y:auto !important;
  overflow-x:hidden !important;
  min-height:100% !important;
  height:auto !important;
}
html.tw-category-page body{
  position:relative !important;
}

/* ===== topwin-reference-layout-v12 ===== */
@media (min-width:1100px){
 :root{--tw-side-w:190px!important;--tw-global-header-h:62px!important}
 body{background:#f7faf9!important}
 .promo{display:none!important}
 .tw-side-nav{top:62px!important;width:190px!important;padding:14px 10px 24px!important}
 .tw-side-brand{padding:6px 8px 14px!important}.tw-side-avatar{width:34px!important;height:34px!important}.tw-side-label b{font-size:12px!important}.tw-side-label small{font-size:8px!important}
 .tw-side-nav .tw-side-groups a{padding:8px 8px!important;min-height:44px!important}
 .tw-global-header{height:62px!important;min-height:62px!important;margin-left:190px!important;padding:0 18px!important;display:flex!important;align-items:center!important;background:#fff!important}
 main,.cat-page{margin-left:190px!important;width:auto!important;max-width:none!important;padding:12px 18px 40px!important}
 .notice{margin-left:190px!important}
 .tw-global-nav{flex:1!important;display:flex!important;justify-content:center!important;gap:24px!important}
 .tw-header-cat-nav>a{min-width:76px!important}
 .tw-header-cat-nav .tw-icon-box{display:none!important}
 .tw-header-cat-nav a:before{content:"";display:block;width:42px;height:36px;margin:0 auto 1px;background:center/contain no-repeat}
 .tw-header-cat-nav a[data-nav="electronic"]:before{background-image:url('../../images/home/desktop-menu/01_slot.png')}
 .tw-header-cat-nav a[data-nav="live"]:before{background-image:url('../../images/home/desktop-menu/02_live_casino.png')}
 .tw-header-cat-nav a[data-nav="sports"]:before{background-image:url('../../images/home/desktop-menu/03_sports.png')}
 .tw-header-cat-nav a[data-nav="fishing"]:before{background-image:url('../../images/home/desktop-menu/04_fishing.png')}
 .tw-header-cat-nav a[data-nav="lottery"]:before{background-image:url('../../images/home/desktop-menu/05_lottery.png')}
 .tw-header-cat-nav a[data-nav="promotion"]:before{background-image:url('../../images/home/desktop-menu/06_promotion.png')}
 .tw-header-cat-nav a em{font-size:11px!important;color:#16473d!important}
 .tw-global-actions{flex:none!important}
 .tw-global-mobile-logo{display:block!important;width:150px!important;height:48px!important;font-size:0!important;background:url('../../images/home/brand-logo.png') left center/contain no-repeat!important}
 .tw-home-hero{display:block!important;margin-bottom:8px}.tw-home-hero img{display:block;width:100%;height:auto;border-radius:14px}
 .tw-home-rank-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 265px;gap:10px;align-items:stretch}
 .tw-home-rank-grid .tw-weekly-prize{min-width:0;margin:0!important}.tw-home-right{display:grid!important;grid-template-rows:repeat(3,1fr);gap:8px}.tw-home-right a,.tw-home-right img{display:block;width:100%;height:100%;object-fit:cover;border-radius:11px}
 .tw-weekly-headline{display:none!important}.tw-weekly-shell{margin-top:0!important;background-image:url('../../images/home/jackpot-bg.png')!important;background-size:cover!important;background-position:center bottom!important}
 .tw-home-mobile-cats{display:none!important}
 .tw-home-catalog{margin-top:10px!important}
 .tw-provider-strip{background:#fff!important;border-radius:12px!important;padding:6px!important}
}
@media (max-width:1099px){
 .promo{display:none!important}.tw-global-header{height:70px!important;min-height:70px!important;padding:7px 10px!important}
 .tw-global-mobile-logo{display:block!important;flex:1!important;height:48px!important;font-size:0!important;background:url('../../images/home/brand-logo.png') left center/contain no-repeat!important}
 .tw-global-nav{display:none!important}.tw-global-actions{gap:6px!important}.tw-gh-user,.tw-global-actions>a:last-child{display:none!important}
 main{padding:8px 8px 76px!important}.tw-vip-interactive{display:none!important}
 .tw-home-hero{display:block!important;margin:4px 0 10px}.tw-home-hero img{width:100%;display:block;border-radius:13px}
 .tw-home-mobile-cats{display:grid!important;grid-template-columns:repeat(7,1fr);background:#fff;border-radius:13px;overflow:hidden;margin:0 0 10px;box-shadow:0 3px 14px #17382f12}
 .tw-home-mobile-cats a{min-width:0;padding:8px 2px;text-align:center;text-decoration:none;color:#29433d;border-right:1px solid #edf1ef;font-size:10px}.tw-home-mobile-cats a:last-child{border-right:0}.tw-home-mobile-cats img{width:34px;height:34px;object-fit:contain;display:block;margin:0 auto 3px}
 .tw-home-rank-grid{display:block!important}.tw-home-right{display:grid!important;grid-template-columns:repeat(3,1fr);gap:6px;margin:8px 0 10px}.tw-home-right a,.tw-home-right img{display:block;width:100%;border-radius:10px}
 .tw-weekly-headline{display:none!important}.tw-weekly-shell{margin-top:0!important;background-image:url('../../images/home/jackpot-bg.png')!important;background-size:cover!important;background-position:center bottom!important}
 .tw-provider-strip{margin-top:8px!important}.tw-provider-btn:first-child{display:none!important}
}

/* ===== topwin-header-reference-v13 ===== */
@media (min-width:1100px){
  :root{--tw-side-w:190px!important;--tw-global-header-h:62px!important}
  .tw-global-header{box-sizing:border-box!important;position:sticky!important;top:0!important;z-index:100!important;width:100%!important;height:62px!important;min-height:62px!important;margin-left:0!important;padding:0 18px 0 22px!important;display:flex!important;align-items:center!important;gap:20px!important;background:#fff!important;border-bottom:1px solid #e8efed!important;box-shadow:0 1px 8px rgba(20,80,67,.04)!important}
  .tw-global-mobile-logo{display:block!important;flex:0 0 168px!important;width:168px!important;height:50px!important;margin:0!important;font-size:0!important;background:url('../../images/home/brand-logo.png') left center/contain no-repeat!important}
  .tw-global-nav{flex:1 1 auto!important;display:flex!important;justify-content:flex-start!important;align-items:stretch!important;gap:7px!important;height:100%!important;min-width:0!important}
  .tw-header-cat-nav>a{box-sizing:border-box!important;position:relative!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-width:0!important;width:auto!important;height:100%!important;padding:0 10px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;text-decoration:none!important;box-shadow:none!important}
  .tw-header-cat-nav>a:before{display:none!important;content:none!important}
  .tw-header-cat-nav .tw-icon-box{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 23px!important;width:23px!important;height:23px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
  .tw-header-cat-nav .tw-icon-box img{display:block!important;width:23px!important;height:23px!important;object-fit:contain!important}
  .tw-header-cat-nav a em{display:block!important;margin:0!important;font-style:normal!important;font-size:11px!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important;color:#174b42!important}
  .tw-header-cat-nav a.active:after,.tw-header-cat-nav a:hover:after{content:""!important;position:absolute!important;left:9px!important;right:9px!important;bottom:0!important;height:2px!important;border-radius:2px!important;background:#12b99a!important}
  .tw-global-actions{margin-left:auto!important;display:flex!important;align-items:center!important;gap:7px!important;flex:0 0 auto!important}
  .tw-side-nav{top:62px!important;height:calc(100vh - 62px)!important}
}

/* ===== topwin-header-reference-v14-final ===== */
@media (min-width:1100px){
  .tw-global-header[data-topwin-global-header]{position:sticky!important;top:0!important;z-index:200!important;box-sizing:border-box!important;width:100%!important;height:62px!important;min-height:62px!important;margin:0!important;padding:0 18px 0 28px!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:26px!important;overflow:visible!important;background:#fff!important;border-bottom:1px solid #e8efed!important;box-shadow:0 1px 8px rgba(20,80,67,.04)!important}
  .tw-global-header[data-topwin-global-header]>.tw-global-mobile-logo{display:block!important;flex:0 0 168px!important;width:168px!important;height:48px!important;margin:0!important;padding:0!important;font-size:0!important;background:url('../../images/home/x6bmwclub-logo.png') left center/contain no-repeat!important}
  .tw-global-header[data-topwin-global-header]>nav.tw-global-nav.tw-header-cat-nav{display:flex!important;flex:1 1 auto!important;grid-template-columns:none!important;flex-direction:row!important;align-items:stretch!important;justify-content:flex-start!important;gap:15px!important;height:62px!important;min-width:0!important;overflow:visible!important}
  .tw-global-header[data-topwin-global-header]>.tw-header-cat-nav>a.tw-cat-b{position:relative!important;box-sizing:border-box!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;width:auto!important;min-width:0!important;height:62px!important;margin:0!important;padding:0 8px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-decoration:none!important;transform:none!important}
  .tw-global-header[data-topwin-global-header]>.tw-header-cat-nav>a.tw-cat-b>.tw-icon-box{display:flex!important;flex:0 0 22px!important;align-items:center!important;justify-content:center!important;width:22px!important;height:22px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;overflow:visible!important;transform:none!important}
  .tw-global-header[data-topwin-global-header]>.tw-header-cat-nav>a.tw-cat-b>.tw-icon-box:before,.tw-global-header[data-topwin-global-header]>.tw-header-cat-nav>a.tw-cat-b>.tw-icon-box:after,.tw-global-header[data-topwin-global-header]>.tw-header-cat-nav>a.tw-cat-b:before{display:none!important;content:none!important}
  .tw-global-header[data-topwin-global-header]>.tw-header-cat-nav>a.tw-cat-b>.tw-icon-box>img{display:block!important;width:22px!important;height:22px!important;object-fit:contain!important;margin:0!important}
  .tw-global-header[data-topwin-global-header]>.tw-header-cat-nav>a.tw-cat-b>em{display:block!important;margin:0!important;padding:0!important;font-style:normal!important;font-size:11px!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important;color:#16473d!important;text-shadow:none!important}
  .tw-global-header[data-topwin-global-header]>.tw-header-cat-nav>a.tw-cat-b.active:after,.tw-global-header[data-topwin-global-header]>.tw-header-cat-nav>a.tw-cat-b:hover:after{content:""!important;position:absolute!important;left:7px!important;right:7px!important;bottom:0!important;height:2px!important;border-radius:2px!important;background:#12b99a!important}
  .tw-global-header[data-topwin-global-header]>.tw-global-actions{position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;display:flex!important;flex:0 0 auto!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;height:62px!important;margin:0 0 0 auto!important;padding:0!important;transform:none!important}
  .tw-global-header[data-topwin-global-header]>.tw-global-actions>*{position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;margin:0!important;transform:none!important}
  .tw-global-header[data-topwin-global-header] .tw-gh-btn,.tw-global-header[data-topwin-global-header] .tw-gh-vip,.tw-global-header[data-topwin-global-header] .tw-gh-wallet,.tw-global-header[data-topwin-global-header] .tw-gh-deposit,.tw-global-header[data-topwin-global-header] .tw-gh-user{align-self:center!important}
  .tw-side-nav{top:62px!important;height:calc(100vh - 62px)!important}
}

/* ===== topwin-header-reference-v15-final ===== */
@media (min-width:1100px){
  .tw-global-header[data-topwin-global-header]{padding:0 18px 0 30px!important;gap:0!important;}
  .tw-global-header[data-topwin-global-header]>.tw-global-mobile-logo{flex:0 0 168px!important;width:168px!important;height:54px!important;background-image:url('../../images/home/topwin-logo-v15.png')!important;background-position:left center!important;background-size:contain!important;background-repeat:no-repeat!important;}
  .tw-global-header[data-topwin-global-header]>nav.tw-global-nav.tw-header-cat-nav{margin-left:56px!important;gap:13px!important;align-items:stretch!important;}
  .tw-global-header[data-topwin-global-header]>.tw-header-cat-nav>a.tw-cat-b{flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;padding:0 7px!important;}
  .tw-global-header[data-topwin-global-header]>.tw-global-actions{height:62px!important;align-items:center!important;gap:7px!important;margin-left:auto!important;position:static!important;}
  .tw-global-header[data-topwin-global-header]>.tw-global-actions>a{position:relative!important;inset:auto!important;float:none!important;vertical-align:middle!important;}
  .tw-global-header[data-topwin-global-header]>.tw-global-actions>a:last-child{display:flex!important;align-items:center!important;justify-content:center!important;width:38px!important;min-width:38px!important;height:38px!important;padding:0!important;margin:0!important;line-height:1!important;font-size:17px!important;border-radius:11px!important;transform:none!important;}
}

/* ===== topwin-home-rank-reference-v16 ===== */
@media (min-width:1100px){
  .tw-home-rank-grid{display:grid!important;grid-template-columns:minmax(0,3.28fr) minmax(245px,1fr)!important;grid-template-rows:270px 62px!important;gap:8px 10px!important;align-items:stretch!important;margin:0!important}
  .tw-home-rank-grid>.tw-weekly-prize{grid-column:1!important;grid-row:1!important;height:270px!important;min-height:0!important;margin:0!important;overflow:hidden!important}
  .tw-home-rank-grid>.tw-provider-strip-desktop{grid-column:1!important;grid-row:2!important;display:flex!important;margin:0!important;height:62px!important;box-sizing:border-box!important;overflow-x:auto!important;align-items:stretch!important}
  .tw-home-rank-grid>.tw-home-right{grid-column:2!important;grid-row:1 / span 2!important;display:grid!important;grid-template-rows:repeat(3,1fr)!important;gap:8px!important;height:340px!important;margin:0!important}
  .tw-provider-strip-mobile{display:none!important}
  .tw-weekly-shell{height:270px!important;min-height:270px!important;box-sizing:border-box!important;padding:7px 8px 6px!important;border-radius:12px!important;background-size:cover!important;background-position:center bottom!important;box-shadow:none!important}
  .tw-weekly-shell::before{display:none!important}
  .tw-weekly-topbar{height:27px!important;box-sizing:border-box!important;margin:0!important;padding:5px 10px!important;border-radius:9px!important;align-items:center!important}
  .tw-deadline,.tw-reset-note{font-size:10px!important;line-height:1!important}
  .tw-grand-total-wrap{position:absolute!important;z-index:4!important;top:35px!important;left:50%!important;transform:translateX(-50%)!important;margin:0!important}
  .tw-grand-label{font-size:12px!important;margin:0 0 3px!important;padding:4px 12px!important}
  .tw-grand-total{font-size:27px!important;gap:2px!important;padding:4px 7px!important;border-radius:10px!important}
  .tw-grand-total .digit{min-width:23px!important;height:34px!important;border-radius:5px!important}
  .tw-grand-total .comma{min-width:8px!important}
  .tw-stage{position:absolute!important;left:0!important;right:0!important;top:86px!important;bottom:0!important;min-height:0!important;height:auto!important;padding:0 22px 4px!important;gap:28px!important;grid-template-columns:1fr 1.12fr 1fr!important;align-items:end!important}
  .tw-winner-card.mini .tw-cover{max-width:126px!important;height:104px!important;border-radius:10px!important}
  .tw-winner-card.champion .tw-cover{max-width:145px!important;height:120px!important;border-radius:10px!important}
  .tw-winner-card .tw-game-emoji{font-size:31px!important}
  .tw-cover-name{margin-top:5px!important;font-size:12px!important}.tw-cover-provider{margin-top:2px!important;font-size:10px!important}
  .tw-win-amount{margin-top:0!important;font-size:14px!important}.tw-winner-card.champion .tw-win-amount{font-size:15px!important}.tw-win-player{margin-top:1px!important;font-size:10px!important}
  .tw-rank-badge{transform:scale(.72)!important;transform-origin:center bottom!important}
  .tw-crown{display:none!important}.tw-podium{display:none!important}
  .tw-marquee-wrap{display:none!important}
  .tw-home-right a,.tw-home-right img{width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important;border-radius:10px!important}
  .tw-provider-strip-desktop .tw-provider-btn{flex:1 0 58px!important;min-width:58px!important;height:50px!important;margin:0!important}
}
@media (max-width:1099px){.tw-provider-strip-desktop{display:none!important}.tw-provider-strip-mobile{display:flex!important}}

/* ===== topwin-home-spacing-reference-v17 ===== */
@media (min-width:1100px){
  main{box-sizing:border-box!important;padding:14px 24px 42px!important;}
  .tw-home-hero{display:block!important;width:100%!important;margin:0 0 14px!important;padding:0!important;line-height:0!important;}
  .tw-home-hero a{display:block!important;width:100%!important;margin:0!important;padding:0!important;line-height:0!important;}
  .tw-home-hero img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:2048/379!important;object-fit:cover!important;margin:0!important;padding:0!important;border-radius:14px!important;}
  .tw-home-rank-grid{box-sizing:border-box!important;width:100%!important;margin:0!important;padding:0!important;grid-template-columns:minmax(0,3.28fr) minmax(245px,1fr)!important;grid-template-rows:270px 62px!important;column-gap:10px!important;row-gap:8px!important;}
  .tw-home-rank-grid>.tw-weekly-prize,.tw-home-rank-grid>.tw-provider-strip-desktop,.tw-home-rank-grid>.tw-home-right{box-sizing:border-box!important;min-width:0!important;}
  .tw-home-rank-grid>.tw-home-right{height:340px!important;align-self:start!important;}
  .tw-home-right a{overflow:hidden!important;}
}
@media (max-width:1099px){
  .tw-home-hero{margin:4px 0 10px!important;line-height:0!important;}
  .tw-home-hero img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:2048/379!important;object-fit:cover!important;}
}

/* ===== topwin-home-jackpot-full-v18 ===== */
/* Desktop: keep the complete jackpot artwork/content visible; never crop the original block. */
@media (min-width:1100px){
  main{padding-left:24px!important;padding-right:24px!important;}
  .tw-home-hero,.tw-home-rank-grid,.tw-home-catalog{max-width:1540px!important;margin-left:auto!important;margin-right:auto!important;}
  .tw-home-rank-grid{
    display:grid!important;
    grid-template-columns:minmax(0,3.28fr) minmax(245px,1fr)!important;
    grid-template-rows:auto auto!important;
    gap:10px 12px!important;
    align-items:start!important;
  }
  .tw-home-rank-grid>.tw-weekly-prize{grid-column:1!important;grid-row:1!important;height:auto!important;min-height:0!important;overflow:visible!important;}
  .tw-weekly-shell{
    position:relative!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:2048/975!important;
    overflow:hidden!important;
    padding:8px 8px 0!important;
    background-size:100% 100%!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
  }
  .tw-weekly-topbar{height:34px!important;padding:6px 12px!important;}
  .tw-grand-total-wrap{top:47px!important;}
  .tw-grand-label{font-size:14px!important;padding:5px 14px!important;}
  .tw-grand-total{font-size:34px!important;padding:5px 8px!important;}
  .tw-grand-total .digit{min-width:29px!important;height:42px!important;}
  .tw-stage{top:128px!important;bottom:102px!important;padding:0 30px 4px!important;gap:34px!important;}
  .tw-winner-card.mini .tw-cover{max-width:145px!important;height:142px!important;}
  .tw-winner-card.champion .tw-cover{max-width:165px!important;height:165px!important;}
  .tw-win-amount{font-size:17px!important;margin-top:0!important;}
  .tw-winner-card.champion .tw-win-amount{font-size:19px!important;}
  .tw-win-player{font-size:11px!important;}
  .tw-marquee-wrap{display:flex!important;position:absolute!important;left:8px!important;right:8px!important;bottom:8px!important;height:82px!important;margin:0!important;z-index:8!important;}
  .tw-home-rank-grid>.tw-home-right{grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;gap:8px!important;height:100%!important;align-self:stretch!important;margin:0!important;}
  .tw-home-right a{display:block!important;min-height:0!important;overflow:hidden!important;border-radius:10px!important;}
  .tw-home-right img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;border-radius:10px!important;background:transparent!important;}
  .tw-home-rank-grid>.tw-provider-strip-desktop{grid-column:1 / -1!important;grid-row:2!important;width:100%!important;height:62px!important;margin-top:6px!important;}
}
/* Smaller devices: do not crop supplied artwork. */
@media (max-width:1099px){
  .tw-weekly-shell{background-size:100% 100%!important;background-position:center!important;background-repeat:no-repeat!important;}
  .tw-home-right img,.tw-home-hero img{object-fit:contain!important;object-position:center!important;}
}

/* ===== topwin-provider-game-edge-align-v21 ===== */
/* Keep provider buttons and every game shelf on the exact same left/right content rails.
   Both rows preserve natural item widths and become horizontally scrollable only when needed. */
.tw-provider-strip-desktop,.tw-provider-strip-mobile{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  padding-left:14px!important;
  padding-right:14px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
}
.tw-game-shelf{box-sizing:border-box!important;}
.tw-game-shelf-row{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
}
@media (max-width:1099px){
  .tw-provider-strip-desktop,.tw-provider-strip-mobile{padding-left:10px!important;padding-right:10px!important;}
}

/* ===== topwin-provider-game-width-align-v22 ===== */
/* Desktop: the game catalogue uses the exact same centered 1540px rail as the provider row above.
   Rows keep natural card widths and scroll horizontally when their content exceeds that rail. */
@media (min-width:1100px){
  .tw-home-catalog{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:1540px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .tw-game-shelf{width:100%!important;max-width:1540px!important;min-width:0!important;}
  .tw-game-shelf-row{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;}
}

/* ===== topwin-mobile-drawer-artwork-v26 ===== */
@media(max-width:1099px){
 .tw-global-header[data-topwin-global-header]{display:flex!important;align-items:center!important;gap:5px!important;padding-left:8px!important}
 .tw-mobile-hamburger{display:flex!important;flex:0 0 34px!important;align-items:center;justify-content:center;width:34px!important;height:34px!important;margin:0!important;border:1px solid #e0ece7;border-radius:9px;background:#fff;color:#087f68;cursor:pointer;order:0!important}
 .tw-global-header[data-topwin-global-header]>.tw-global-mobile-logo{display:block!important;order:1!important;flex:0 0 88px!important;width:88px!important;min-width:88px!important;height:44px!important;margin:0!important;padding:0!important;background-image:url('../../images/home/topwin-logo-v15.png')!important;background-position:left center!important;background-size:contain!important;background-repeat:no-repeat!important;font-size:0!important}
 .tw-global-header[data-topwin-global-header]>.tw-global-actions{order:2!important;min-width:0;margin-left:auto!important}
 .tw-side-nav.drawer{display:block!important;position:fixed!important;top:0!important;left:0!important;bottom:0!important;width:min(286px,88vw)!important;height:100dvh!important;max-height:100dvh!important;box-sizing:border-box!important;overflow-y:auto!important;overflow-x:hidden!important;transform:translateX(-110%)!important;visibility:visible!important;z-index:1002!important;transition:transform .24s ease!important;padding:18px 16px 28px!important;background:linear-gradient(180deg,#fff 0%,#fbfdfc 100%)!important;border-right:1px solid #e3ebe7!important;box-shadow:10px 0 34px rgba(20,55,45,.13)!important}
 #drawer-toggle:checked~.tw-side-nav.drawer{transform:translateX(0)!important}
 .tw-side-nav .drawer-head{display:none!important}
 .tw-side-nav .tw-side-brand{display:flex!important;align-items:center!important;gap:11px!important;min-height:0!important;margin:0 0 4px!important;padding:10px 10px 16px!important;border-radius:0!important;border-bottom:1px solid #edf2f0!important;background:transparent!important;color:#173d34!important}
 .tw-side-nav .tw-side-avatar{width:38px!important;height:38px!important;min-width:38px!important;border-radius:12px!important;display:grid!important;place-items:center!important;background:linear-gradient(145deg,#0db092,#067964)!important;color:#fff!important;font-size:13px!important;font-weight:900!important;box-shadow:0 7px 16px rgba(9,139,113,.18),inset 0 1px 0 rgba(255,255,255,.28)!important}
 .tw-side-nav .tw-side-brand-name{font-size:13px!important;line-height:1.15!important;font-weight:900!important;color:#173d34!important;letter-spacing:.03em!important}
 .tw-side-nav .tw-side-group{margin-top:16px!important}
 .tw-side-nav .tw-side-group h4{margin:0 10px 8px!important;font-size:9px!important;line-height:1!important;font-weight:900!important;letter-spacing:.18em!important;color:#a0ada8!important}
 .tw-side-nav .tw-side-group a{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;min-height:50px!important;margin:3px 0!important;padding:7px 10px!important;border-radius:13px!important;text-decoration:none!important;color:#4e5f59!important;background:transparent!important;transform:none!important}
 .tw-side-nav .tw-side-group a.active{background:linear-gradient(90deg,#e3f5ef,#f2faf7)!important;color:#087b66!important;box-shadow:inset 3px 0 0 #0b9a7c!important}
 .tw-side-nav .tw-side-icon{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;border-radius:10px!important;display:grid!important;place-items:center!important;position:relative!important;color:#087b66!important;background:#eef8f5!important;font-size:13px!important;font-weight:900!important;box-shadow:inset 0 0 0 1px #d9eee7!important}
 .tw-side-nav .tw-side-icon svg{display:block!important;width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
 .tw-side-nav .tw-side-group a.active .tw-side-icon{background:#0b9a7c!important;color:#fff!important;box-shadow:0 5px 12px rgba(11,154,124,.18)!important}
 .tw-side-nav .tw-side-label{display:block!important;min-width:0!important}
 .tw-side-nav .tw-side-label b{display:block!important;font-size:13px!important;line-height:1.15!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 .tw-side-nav .tw-side-label small{display:block!important;margin-top:3px!important;font-size:9px!important;line-height:1.1!important;color:#a0aaa6!important;font-weight:600!important}
 #drawer-toggle:checked~.shade{display:block!important;opacity:1!important;visibility:visible!important;z-index:1001!important}
 .shade{display:block!important;opacity:0!important;visibility:hidden!important}
 .tw-weekly-shell{background-image:url('../../images/home/jackpot-bg-teal.png')!important;background-size:100% auto!important;background-position:center bottom!important;background-repeat:no-repeat!important;background-color:#0d8f80!important}
}
@media(min-width:1100px){.tw-mobile-hamburger{display:none!important}}

/* ===== topwin-mobile-drawer-scroll-lock-v27 ===== */
@media (max-width:1099px){
  .tw-side-nav.drawer{overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;}
  html.tw-drawer-open,body.tw-drawer-open{overflow:hidden!important;overscroll-behavior:none!important;}
  body.tw-drawer-open{position:fixed!important;width:100%!important;left:0!important;right:0!important;}
}

/* ===== topwin-mobile-horizontal-page-lock-v28 ===== */
/* Mobile page itself is vertical-only. Intentional provider/game rails keep their own horizontal scrolling. */
@media (max-width:1099px){
  html,body{max-width:100%!important;overflow-x:clip!important;}
  body>main,main,.tw-page,.tw-main,.tw-content,.tw-home-main{max-width:100%!important;min-width:0!important;overflow-x:clip!important;}
  .tw-global-header{max-width:100vw!important;box-sizing:border-box!important;}
  .tw-home-hero,.tw-home-rank-grid,.tw-home-catalog,.tw-weekly-prize,.tw-weekly-shell{max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
  .tw-provider-strip-desktop,.tw-provider-strip-mobile,.tw-game-shelf-row{max-width:100%!important;min-width:0!important;overscroll-behavior-x:contain!important;}
  .tw-side-nav.drawer{overflow-x:hidden!important;touch-action:pan-y!important;}
}

/* ===== topwin-mobile-banner-source-v28 ===== */
.tw-home-hero picture{display:block;width:100%;line-height:0}
@media(max-width:1099px){.tw-home-hero picture,.tw-home-hero picture img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;object-fit:contain!important;}}

/* ===== topwin-mobile-banner-fullwidth-v29 ===== */
@media (max-width:1099px){
  .tw-home-hero{display:block!important;width:100%!important;max-width:none!important;margin:4px 0 10px!important;padding:0!important;overflow:visible!important;}
  .tw-home-hero>a,.tw-home-hero picture{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;}
  .tw-home-hero picture img{display:block!important;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;border-radius:13px!important;}
}

/* ===== topwin-mobile-viewport-horizontal-fix-v30 ===== */
@media (max-width:1099px){
  html{width:100%!important;max-width:100%!important;overflow-x:hidden!important;}
  body{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important;margin-left:0!important;margin-right:0!important;}
  .tw-global-header,main,.tw-home-main,.tw-home-hero,.tw-home-rank-grid,.tw-weekly-prize,.tw-weekly-shell,.tw-home-catalog,.tw-game-shelf{
    box-sizing:border-box!important;min-width:0!important;max-width:100%!important;
  }
  main,.tw-home-main{width:100%!important;margin-left:0!important;margin-right:0!important;transform:none!important;}
  .tw-global-header{left:0!important;right:0!important;width:100%!important;max-width:100%!important;}
  /* Only these rails may move horizontally. The page itself never does. */
  .tw-provider-strip-desktop,.tw-provider-strip-mobile,.tw-game-shelf-row{
    width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;
    overscroll-behavior-x:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-x!important;
  }
  .tw-side-nav.drawer{overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;touch-action:pan-y!important;}
  .tw-home-right,.tw-home-right a,.tw-home-right img,.tw-home-hero a,.tw-home-hero picture,.tw-home-hero img{max-width:100%!important;box-sizing:border-box!important;}
}

/* ===== topwin-mobile-promos-bottomnav-v31 ===== */
@media (max-width:1099px){
  /* Mobile promotions: one full-width artwork per row, never squeeze 3 together. */
  .tw-home-right{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;margin:8px 0 10px!important;overflow:visible!important}
  .tw-home-right>a{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;flex:none!important}
  .tw-home-right>a img,.tw-home-right>img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;object-fit:contain!important;border-radius:10px!important}

  /* Keep current wording; replace only bottom navigation artwork. */
  .tw-mobile-nav a span>b{display:block!important;width:25px!important;height:25px!important;margin:0 auto 2px!important;font-size:0!important;background-position:center!important;background-repeat:no-repeat!important;background-size:contain!important}
  .tw-mobile-nav a:nth-child(1) span>b{background-image:url('../../images/home/bottom-nav/01_home.png')!important}
  .tw-mobile-nav a:nth-child(2) span>b{background-image:url('../../images/home/bottom-nav/04_promotion.png')!important}
  .tw-mobile-nav a:nth-child(3) span>b{background-image:url('../../images/home/bottom-nav/03_deposit.png')!important}
  .tw-mobile-nav a:nth-child(4) span>b{background-image:url('../../images/home/bottom-nav/02_games.png')!important}
  .tw-mobile-nav a:nth-child(5) span>b{background-image:url('../../images/home/bottom-nav/05_profile.png')!important}
  .tw-mobile-nav .tw-nav-home>*{display:none!important}
}

/* ===== topwin-mobile-category-bottomnav-v32 ===== */
@media (max-width:1099px){
  /* Mobile homepage category strip: simpler icons + clear text labels, desktop untouched. */
  .tw-home-mobile-cats{
    display:flex!important;align-items:stretch!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;
    padding:2px 2px 6px!important;margin:0 0 10px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
    scrollbar-width:none!important;-ms-overflow-style:none!important;
  }
  .tw-home-mobile-cats::-webkit-scrollbar{display:none!important}
  .tw-home-mobile-cats>a{
    flex:0 0 78px!important;min-width:78px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
    gap:6px!important;padding:8px 6px!important;margin:0!important;text-decoration:none!important;color:#2d4942!important;
    background:#fff!important;border:1px solid #e7eeeb!important;border-radius:14px!important;box-shadow:0 4px 14px rgba(18,48,39,.06)!important;
  }
  .tw-home-mobile-cats>a>img{
    display:block!important;width:42px!important;height:42px!important;max-width:42px!important;object-fit:contain!important;margin:0 auto!important;
  }
  .tw-home-mobile-cats>a>span{
    display:block!important;font-size:11px!important;font-weight:800!important;line-height:1.15!important;white-space:nowrap!important;color:#27433d!important;
  }

  /* Bottom navigation: enlarge supplied artwork while keeping current wording. */
  .tw-mobile-nav{min-height:70px!important;height:70px!important;}
  .tw-mobile-nav a{height:70px!important;min-height:70px!important;padding:4px 2px 3px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
  .tw-mobile-nav a>span{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;}
  .tw-mobile-nav a span>b{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;margin:0 auto!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;}
  .tw-mobile-nav a em{display:block!important;margin:0!important;line-height:1.05!important;}
}

/* ===== topwin-game-shelf-scroll-v19 ===== */
/* Keep every home game shelf constrained to the content width.
   When cards exceed the visible width, the row scrolls horizontally instead of
   stretching/clipping the shelf. */
.tw-home-catalog,.tw-game-shelf,.tw-game-shelf-row{min-width:0!important;max-width:100%!important}
.tw-game-shelf{overflow:hidden!important}
.tw-game-shelf-row{
  width:100%!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x pan-y;
  cursor:grab;
}
.tw-game-shelf-row.is-dragging{cursor:grabbing;scroll-snap-type:none!important;user-select:none}
.tw-game-shelf-row .tw-compact-game{flex:none}
@media (pointer:coarse){
  .tw-game-shelf-row{scrollbar-width:none}
  .tw-game-shelf-row::-webkit-scrollbar{display:none}
}

/* ===== topwin-provider-scroll-v20 ===== */
/* Provider strip follows the same overflow behaviour as the game shelves:
   keep natural button widths and scroll horizontally when the device cannot fit all providers. */
.tw-provider-strip-desktop,.tw-provider-strip-mobile{
  min-width:0!important;max-width:100%!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x pan-y;
  scrollbar-width:none;
}
.tw-provider-strip-desktop::-webkit-scrollbar,.tw-provider-strip-mobile::-webkit-scrollbar{display:none}
.tw-provider-strip-desktop .tw-provider-btn,.tw-provider-strip-mobile .tw-provider-btn{
  flex:0 0 auto!important;
}
.tw-provider-strip-desktop.is-dragging,.tw-provider-strip-mobile.is-dragging{cursor:grabbing;user-select:none}
@media (min-width:1100px){.tw-provider-strip-desktop{cursor:grab}}

/* ===== topwin-provider-game-live-lock-v23 ===== */
/* Final runtime-safe rail lock: game catalogue must always use the exact provider rail width. */
@media (min-width:1100px){
  body main .tw-home-catalog{
    box-sizing:border-box!important;
    width:var(--tw-provider-rail-width,1540px)!important;
    max-width:calc(100% - 0px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body main .tw-home-catalog>.tw-game-shelf{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body main .tw-home-catalog>.tw-game-shelf>.tw-game-shelf-row{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
  }
}

/* ===== topwin-game-shelf-scrollbar-match-v24 ===== */
/* v24: game rails visually behave exactly like provider rail: scrollable, but no visible scrollbar on any device. */
.tw-game-shelf-row{
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-x:contain!important;
}
.tw-game-shelf-row::-webkit-scrollbar{
  width:0!important;
  height:0!important;
  display:none!important;
  background:transparent!important;
}
@media (min-width:1100px){
  .tw-game-shelf-row{cursor:grab!important;}
  .tw-game-shelf-row.is-dragging{cursor:grabbing!important;}
}


/* ===== topwin-home-weekly-teal-theme-v41 ===== */
/* Re-theme the weekly leaderboard backdrop into the site emerald/cyan language.
   The champion card switches away from cyan so it no longer blends into the new backdrop. */
.tw-weekly-shell{
  background-image:url('../../images/home/jackpot-bg-teal.png')!important;
  background-color:#0d8f80!important;
  box-shadow:0 18px 36px rgba(10,94,85,.10)!important;
}
.tw-weekly-topbar{
  background:linear-gradient(90deg,#2bcab4 0%,#1db6a7 32%,#129d92 70%,#0f8c83 100%)!important;
  border:1px solid rgba(255,255,255,.24)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22)!important;
}
.tw-deadline,.tw-reset-note{
  color:#f7fffd!important;
  text-shadow:0 1px 2px rgba(0,0,0,.08)!important;
}
.tw-deadline b{color:#ffffff!important}
.tw-marquee-wrap{
  background:linear-gradient(180deg,rgba(7,69,63,.92),rgba(6,54,50,.92))!important;
  border:1px solid rgba(116,235,220,.18)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 14px 28px rgba(6,56,50,.18)!important;
}
.tw-marquee-title{
  background:linear-gradient(145deg,#0f8f83,#0a6158)!important;
  color:#e9fffb!important;
}
.tw-marquee-item{
  border-color:rgba(132,236,224,.16)!important;
  background:rgba(255,255,255,.05)!important;
  color:#f0fffd!important;
}
.tw-marquee-item b{color:#fff2bb!important}
.tw-marquee-item small{color:#b6efe7!important}
.tw-marquee-item.active,
.tw-marquee-item:hover{
  background:rgba(43,202,180,.16)!important;
  box-shadow:0 10px 18px rgba(3,49,45,.22)!important;
}
.tw-home-rank-grid>.tw-home-right a{
  box-shadow:0 8px 16px rgba(13,78,70,.08)!important;
}


/* ===== v47 homepage game shelf: 10 visible + horizontal rail =====
   Desktop: exactly 10 cards are visible in a single row.
   Extra cards NEVER wrap; they remain on the same horizontal rail.
   Mouse drag / wheel and native touch swipe continue to browse overflow. */
@media (min-width:1280px){
  body main .tw-home-catalog>.tw-game-shelf>.tw-game-shelf-row{
    display:grid !important;
    grid-auto-flow:column !important;
    grid-auto-columns:calc((100% - 81px) / 10) !important; /* 9 gaps × 9px */
    grid-template-rows:1fr !important;
    gap:9px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scroll-snap-type:x proximity !important;
  }
  body main .tw-home-catalog>.tw-game-shelf>.tw-game-shelf-row>.tw-compact-game{
    width:100% !important;
    min-width:0 !important;
    scroll-snap-align:start !important;
  }
}
/* Laptop: keep one horizontal row, 8 visible. */
@media (min-width:1100px) and (max-width:1279px){
  body main .tw-home-catalog>.tw-game-shelf>.tw-game-shelf-row{
    display:grid !important;
    grid-auto-flow:column !important;
    grid-auto-columns:calc((100% - 63px) / 8) !important;
    grid-template-rows:1fr !important;
    gap:9px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
  }
}
/* Mobile/tablet: single horizontal rail; swipe reveals more. */
@media (max-width:1099px){
  body main .tw-home-catalog>.tw-game-shelf>.tw-game-shelf-row{
    display:grid !important;
    grid-auto-flow:column !important;
    grid-template-rows:1fr !important;
    grid-auto-columns:112px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scroll-snap-type:x proximity !important;
  }
}


/* ===== v48 home rail drag hardening ===== */
.tw-game-shelf-row{
  position:relative;
  user-select:none;
  -webkit-user-select:none;
  cursor:grab!important;
  scroll-behavior:smooth;
  touch-action:pan-x pan-y!important;
}
.tw-game-shelf-row.is-dragging{
  cursor:grabbing!important;
  scroll-behavior:auto;
  scroll-snap-type:none!important;
}
.tw-game-shelf-row img,
.tw-game-shelf-row a{
  -webkit-user-drag:none;
  user-drag:none;
}
.tw-game-shelf-row>.tw-compact-game{
  flex:none!important;
}
/* subtle edge hint when a shelf can continue horizontally */
.tw-game-shelf{
  position:relative;
}
.tw-game-shelf::after{
  content:"";
  position:absolute;
  right:0;
  top:58px;
  bottom:14px;
  width:26px;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.92));
  opacity:.72;
  border-radius:0 12px 12px 0;
}
@media(pointer:coarse){
  .tw-game-shelf-row{cursor:auto!important}
}


/* ===== v50 smooth-rail performance authority =====
   This block intentionally overrides all older rail scroll/snap declarations. */
.tw-game-shelf-row{
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-behavior:auto!important;
  scroll-snap-type:none!important;
  overscroll-behavior-x:contain!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-x pan-y!important;
  scrollbar-width:none!important;
  will-change:scroll-position;
  contain:layout paint style;
}
.tw-game-shelf-row::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
}
.tw-game-shelf-row>.tw-compact-game{
  scroll-snap-align:none!important;
  flex:none!important;
  transform:translateZ(0);
}
.tw-game-shelf-row.is-dragging{
  cursor:grabbing!important;
  user-select:none!important;
  -webkit-user-select:none!important;
}
.tw-game-shelf-row.is-dragging .tw-compact-game{
  pointer-events:none;
}
/* Avoid expensive visual effects changing while the rail is moving. */
.tw-game-shelf-row .tw-compact-game,
.tw-game-shelf-row .tw-compact-cover{
  backface-visibility:hidden;
}
@media (prefers-reduced-motion:reduce){
  .tw-game-shelf-row{scroll-behavior:auto!important}
}


/* ===== v54 CS2-like kinetic rail authority =====
   Viewport stays fixed; only one GPU-composited inner track moves. */
.tw-game-shelf-row{
  --tw-visible-count:10;
  --tw-rail-gap:9px;
  position:relative!important;
  display:block!important;
  overflow:hidden!important;
  width:100%!important;
  cursor:grab!important;
  touch-action:pan-y!important;
  scroll-behavior:auto!important;
  scroll-snap-type:none!important;
  scrollbar-width:none!important;
  contain:layout paint style!important;
  overscroll-behavior-x:contain!important;
}
.tw-game-shelf-row::-webkit-scrollbar{display:none!important}
.tw-game-shelf-row>.tw-rail-track{
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:stretch!important;
  gap:var(--tw-rail-gap)!important;
  width:max-content!important;
  min-width:100%!important;
  transform:translate3d(0,0,0);
  will-change:transform;
  backface-visibility:hidden;
  perspective:1000px;
  transform-style:preserve-3d;
}
.tw-game-shelf-row>.tw-rail-track>.tw-compact-game{
  flex:0 0 calc((100vw - 100vw + 100% - (var(--tw-visible-count) - 1)*var(--tw-rail-gap))/var(--tw-visible-count))!important;
  width:calc((100vw - 100vw + 100% - (var(--tw-visible-count) - 1)*var(--tw-rail-gap))/var(--tw-visible-count))!important;
  min-width:0!important;
  max-width:none!important;
  scroll-snap-align:none!important;
  transform:translateZ(0);
  backface-visibility:hidden;
}
.tw-game-shelf-row.is-dragging{
  cursor:grabbing!important;
  user-select:none!important;
  -webkit-user-select:none!important;
}
.tw-game-shelf-row.is-dragging>.tw-rail-track,
.tw-game-shelf-row.is-kinetic-moving>.tw-rail-track{
  pointer-events:none;
}
.tw-game-shelf-row.is-kinetic-moving .tw-compact-game,
.tw-game-shelf-row.is-kinetic-moving .tw-compact-cover{
  transition:none!important;
}
.tw-game-shelf-row.is-kinetic-moving .tw-compact-game:hover{
  transform:translateZ(0)!important;
}
.tw-game-shelf-row img,
.tw-game-shelf-row a{
  -webkit-user-drag:none!important;
  user-drag:none!important;
}
@media(max-width:720px){
  .tw-game-shelf-row{--tw-rail-gap:8px}
}
@media(pointer:coarse){
  .tw-game-shelf-row{cursor:auto!important}
}
@media(prefers-reduced-motion:reduce){
  .tw-game-shelf-row>.tw-rail-track{will-change:auto}
}


/* ===== v79 provider-filter geometry lock ===== */
.tw-game-shelf-row>.tw-rail-track>.tw-compact-game{
  flex:0 0 var(--tw-card-width,120px)!important;
  width:var(--tw-card-width,120px)!important;
  min-width:var(--tw-card-width,120px)!important;
  max-width:var(--tw-card-width,120px)!important;
}
@media(min-width:1100px){
  .tw-game-shelf-row .tw-compact-cover{width:100%!important;height:auto!important;aspect-ratio:1/1!important}
}
/* v79 jackpot amount contrast: color only */
.tw-win-amount,.tw-winner-card.champion .tw-win-amount{color:#4b1535!important}


/* ===== v80 jackpot amount contrast ===== */
.tw-win-amount,
.tw-winner-card.champion .tw-win-amount{
  color:#ffffff!important;
  text-shadow:0 1px 0 rgba(0,59,49,.95),0 2px 5px rgba(0,43,37,.78),0 0 2px rgba(0,43,37,.9)!important;
}


/* ===== v80 provider filter stability ===== */
.tw-provider-filtering .tw-compact-game,
.tw-provider-filtering .tw-rail-track{
  animation:none!important;
  transition:none!important;
}
.tw-game-shelf[data-provider-empty="true"] .tw-game-shelf-row{
  min-height:172px!important;
}
.tw-game-shelf[data-provider-empty="true"] .tw-game-shelf-row::after{
  content:"该供应商在此分类暂无游戏";
  width:100%;
  min-height:172px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#9aa8a3;
  font-size:11px;
  font-weight:700;
  border:1px dashed #e2eae7;
  border-radius:12px;
  background:#fbfdfc;
}


/* ===== v85 robust auth close ===== */
.auth-overlay.tw-auth-force-closed{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}


/* v87 reliable support overlay close */
#support.tw-support-force-closed{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}


/* ===== v98 support return-to-account ===== */
.support-return-account{
  margin-left:auto!important;
}
@media(max-width:650px){
  #support .support-topline{
    grid-template-columns:38px minmax(0,1fr) auto!important;
    gap:8px!important;
  }
  #support .support-return-account{
    min-height:31px!important;
    padding:0 9px!important;
    border-radius:10px!important;
    font-size:9px!important;
    box-shadow:none!important;
  }
  #support .support-return-account .tw-ui-img{
    width:10px!important;
    height:10px!important;
  }
}


/* ===== v99 desktop support launcher redesign ===== */
@media (min-width:1100px){
  .support-launcher{
    right:24px!important;
    bottom:24px!important;
    z-index:170!important;
    width:auto!important;
    min-width:182px!important;
    height:72px!important;
    padding:12px 18px 12px 14px!important;
    border:1px solid rgba(255,255,255,.34)!important;
    border-radius:24px!important;
    background:
      radial-gradient(circle at 18% 20%, rgba(255,255,255,.2), transparent 32%),
      linear-gradient(135deg,#05846d 0%,#0aa784 56%,#0ec29d 100%)!important;
    color:#fff!important;
    text-decoration:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:12px!important;
    box-shadow:0 18px 38px rgba(5,91,71,.34), 0 4px 10px rgba(3,63,50,.12)!important;
    overflow:visible!important;
    transition:transform .18s ease, box-shadow .18s ease, filter .18s ease!important;
    backdrop-filter:blur(8px)!important;
    -webkit-backdrop-filter:blur(8px)!important;
  }
  .support-launcher:hover{
    transform:translateY(-2px) scale(1.01)!important;
    box-shadow:0 24px 46px rgba(5,91,71,.4), 0 8px 14px rgba(3,63,50,.16)!important;
    filter:saturate(1.06)!important;
  }
  .support-launcher:active{
    transform:translateY(0) scale(.99)!important;
  }
  .support-launcher::before{
    content:"";
    position:absolute;
    inset:2px;
    border-radius:22px;
    border:1px solid rgba(255,255,255,.14);
    pointer-events:none;
  }
  .support-launcher::after{
    content:"1"!important;
    position:absolute!important;
    right:10px!important;
    top:8px!important;
    width:22px!important;
    height:22px!important;
    border-radius:999px!important;
    background:linear-gradient(135deg,#ff7a77,#e73f59)!important;
    color:#fff!important;
    font-size:11px!important;
    font-weight:800!important;
    display:grid!important;
    place-items:center!important;
    border:2px solid #fff!important;
    box-shadow:0 6px 14px rgba(231,63,89,.35)!important;
  }
  .support-launcher-icon{
    width:44px!important;
    height:44px!important;
    border-radius:16px!important;
    background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(239,255,251,.92))!important;
    display:grid!important;
    place-items:center!important;
    flex:0 0 44px!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.8), 0 8px 18px rgba(5,91,71,.18)!important;
  }
  .support-launcher-icon .tw-ui-img{
    width:22px!important;
    height:22px!important;
    filter:invert(36%) sepia(57%) saturate(977%) hue-rotate(126deg) brightness(87%) contrast(95%)!important;
  }
  .support-launcher-copy{
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:3px!important;
    line-height:1!important;
  }
  .support-launcher-copy b{
    display:block!important;
    color:#fff!important;
    font-size:16px!important;
    line-height:1.05!important;
    font-weight:900!important;
    letter-spacing:.02em!important;
    text-shadow:0 1px 2px rgba(0,0,0,.12)!important;
  }
  .support-launcher-copy small{
    display:block!important;
    color:rgba(235,255,250,.94)!important;
    font-size:11.5px!important;
    line-height:1.1!important;
    font-weight:700!important;
    white-space:nowrap!important;
  }
}


/* ===== v100 support return is mobile only ===== */
@media(min-width:1100px){
  .support-return-account{display:none!important}
}


/* ===== v101 desktop support controls ===== */
@media(min-width:1100px){
  #support .support-return-account{display:none!important}
  #support .support-close{display:inline-flex!important}
}


/* ===== v102 reliable desktop support toggle ===== */
@media(min-width:1100px){
  #support.support-shell{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  #support.support-shell.tw-support-desktop-open{
    display:flex!important;
    flex-direction:column!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  #support.support-shell.tw-support-force-closed{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  .support-launcher[aria-expanded="true"]{
    box-shadow:0 24px 48px rgba(5,91,71,.42),0 0 0 3px rgba(25,197,157,.18)!important;
  }
}

/* v117: localized promotional images are complete baked assets; no text-overlay pseudo layers */
html[data-language="en"] .tw-home-right a::before, html[data-language="en"] .tw-home-right a::after,
html[data-language="ms"] .tw-home-right a::before, html[data-language="ms"] .tw-home-right a::after,
html[data-language="en"] .tw-home-banner::before, html[data-language="en"] .tw-home-banner::after,
html[data-language="ms"] .tw-home-banner::before, html[data-language="ms"] .tw-home-banner::after{content:none!important;display:none!important;}

/* v122 — native EN/MS image assets: never crop embedded text */
html[data-language="en"] .tw-home-hero img,
html[data-language="ms"] .tw-home-hero img,
html[data-language="en"] .tw-home-right img,
html[data-language="ms"] .tw-home-right img{
  object-fit:contain!important;
  object-position:center!important;
}

/* v126 — desktop EN hero: exact banner ratio, no crop, no black letterbox */
@media(min-width:1100px){
  html[data-language="en"] .tw-home-hero,
  html[data-language="en"] .tw-home-hero a,
  html[data-language="en"] .tw-home-hero picture{
    overflow:hidden!important;
    background:transparent!important;
  }
  html[data-language="en"] .tw-home-hero img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    aspect-ratio:2048/379!important;
    object-fit:contain!important;
    object-position:center center!important;
    background:transparent!important;
  }
}
