/* ===== inline-style-1 ===== */
:root{
  --brand:#07856d;--brand2:#12b893;--ink:#17342d;--muted:#7f8e88;
  --line:#e6ece9;--surface:#fff;--bg:#f4f6f5;--shadow:0 14px 34px rgba(17,48,40,.08);
  --side:280px;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,"Segoe UI","Microsoft YaHei",Arial,sans-serif;background:var(--bg);color:var(--ink)}
a{color:inherit} button,input{font:inherit}

/* Persistent desktop sidebar */
.tw-side-nav{position:fixed;left:0;top:0;bottom:0;width:var(--side);z-index:30;overflow-y:auto;scrollbar-width:none;padding:18px 16px 28px;background:linear-gradient(180deg,#fff,#fbfdfc 46%,#f8fbfa);border-right:1px solid #e3ebe7;box-shadow:7px 0 24px rgba(20,55,45,.04)}
.tw-side-nav::-webkit-scrollbar{display:none}
.drawer-head{display:none}
.tw-side-brand{display:flex;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}
.tw-side-avatar{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#0db092,#067964);color:#fff;font-weight:900;font-size:13px;box-shadow:0 7px 16px rgba(9,139,113,.18)}
.tw-side-brand-name{font-size:14px;font-weight:900;letter-spacing:.045em}
.tw-side-group{margin-top:18px}
.tw-side-group h4{margin:0 10px 9px;font-size:9px;letter-spacing:.18em;color:#9ca9a4}
.tw-side-group a{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:center;min-height:56px;padding:7px 10px;border-radius:14px;text-decoration:none;color:#50605a;transition:.16s ease}
.tw-side-group a:hover{background:#f4f9f7;transform:translateX(2px)}
.tw-side-label b{display:block;font-size:13px;font-weight:800}
.tw-side-label small{display:block;margin-top:3px;font-size:9px;color:#9aa6a2}
.tw-side-icon{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#20d3ad,#087e69);box-shadow:0 0 16px rgba(18,184,147,.22);position:relative}
.tw-side-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tw-side-icon.account{background:linear-gradient(145deg,#45d7ff,#1479d3)} .tw-side-icon.fav{background:linear-gradient(145deg,#ff6fa8,#d5276f)} .tw-side-icon.search{background:linear-gradient(145deg,#7f8cff,#5154c9)}
.tw-side-icon.slot{background:linear-gradient(145deg,#c452ff,#6d22d5)} .tw-side-icon.sports{background:linear-gradient(145deg,#2cf0aa,#07985f)} .tw-side-icon.live{background:linear-gradient(145deg,#ff4da1,#c01867)} .tw-side-icon.card{background:linear-gradient(145deg,#20d9ff,#0778ad)} .tw-side-icon.fish{background:linear-gradient(145deg,#3aafff,#1b58d7)} .tw-side-icon.esport{background:linear-gradient(145deg,#ff8f42,#e8491b)} .tw-side-icon.lottery{background:linear-gradient(145deg,#ffd84c,#f09100)} .tw-side-icon.promo{background:linear-gradient(145deg,#ff5b62,#cf1835)} .tw-side-icon.support{background:linear-gradient(145deg,#20e1d5,#078f9d)} .tw-side-icon.app{background:linear-gradient(145deg,#48d7ff,#2466df)}
.tw-side-icon::after{content:"";position:absolute;left:8px;right:8px;top:4px;height:11px;border-radius:50%;background:linear-gradient(180deg,rgba(255,255,255,.7),transparent)}

/* Page shell */
.page{margin-left:var(--side);padding:28px 30px 54px;min-height:100vh}
.shell{max-width:1260px}
.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.crumb{font-size:12px;color:#8d9a95} .crumb a{text-decoration:none;color:#71807a}
.page-head h1{margin:4px 0 6px;font-size:30px;letter-spacing:-.03em}
.page-head p{margin:0;color:#81908a;font-size:13px}
.back{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 14px;border:1px solid var(--line);border-radius:11px;text-decoration:none;background:#fff;font-size:12px;font-weight:800;color:#4c5d57;box-shadow:0 4px 12px rgba(17,48,40,.04)}

/* Metrics */
.stats{display:grid;grid-template-columns:1.35fr repeat(3,1fr);gap:12px;margin-bottom:16px}
.stat-main{position:relative;overflow:hidden;border-radius:20px;padding:20px 22px;background:linear-gradient(135deg,#0b8f77,#18b994);color:#fff;box-shadow:0 16px 34px rgba(7,133,109,.18)}
.stat-main::after{content:"";position:absolute;right:-52px;top:-76px;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.12)}
.stat-main small{font-size:10px;letter-spacing:.14em;font-weight:900;opacity:.8}
.stat-main strong{display:block;margin-top:9px;font-size:27px}
.stat-main span{display:block;margin-top:5px;font-size:12px;opacity:.84}
.stat{padding:18px;background:#fff;border:1px solid #e8eeeb;border-radius:18px;box-shadow:0 8px 20px rgba(17,48,40,.045)}
.stat i{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;margin-bottom:13px;font-style:normal;font-weight:900}
.stat.total i{background:#eef4ff;color:#526ad6} .stat.success i{background:#e8f8f2;color:#07856d} .stat.today i{background:#fff4df;color:#bb7b18}
.stat span{display:block;font-size:11px;color:#8d9a95} .stat b{display:block;margin-top:5px;font-size:22px}

/* Toolbar and list */
.panel{background:#fff;border:1px solid #e7edea;border-radius:20px;box-shadow:var(--shadow);overflow:hidden}
.toolbar{display:flex;align-items:center;gap:10px;padding:16px 18px;border-bottom:1px solid #edf1ef;flex-wrap:wrap}
.filters{display:flex;gap:7px;flex-wrap:wrap}
.filter{border:1px solid #e1e8e5;background:#fff;color:#6c7b75;border-radius:999px;padding:8px 12px;font-size:11px;font-weight:800;cursor:pointer}
.filter.active{background:#0b8f77;color:#fff;border-color:#0b8f77;box-shadow:0 5px 12px rgba(11,143,119,.16)}
.search{margin-left:auto;position:relative}
.search input{width:250px;height:36px;border:1px solid #e0e7e4;border-radius:11px;padding:0 12px 0 34px;outline:none;background:#f9fbfa}
.search span{position:absolute;left:11px;top:9px;color:#91a09a}

.table-head,.bet-row{display:grid;grid-template-columns:minmax(230px,1.3fr) minmax(180px,.95fr) 120px 110px;align-items:center}
.table-head{padding:12px 18px;background:#fafcfb;color:#97a39e;font-size:10px;font-weight:900;letter-spacing:.07em}
.bet-row{padding:13px 18px;border-top:1px solid #eef2f0;transition:background .14s ease}
.bet-row:hover{background:#fbfdfc}
.game{display:flex;align-items:center;gap:12px;min-width:0}
.game-badge{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;flex:0 0 40px;font-size:12px;font-weight:900;color:#fff;background:linear-gradient(145deg,#7357e8,#4737ba);box-shadow:0 7px 14px rgba(81,64,193,.17)}
.game-copy{min-width:0} .game-copy b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} .game-copy small{display:block;margin-top:3px;font-size:9px;color:#97a39e}
.bet-time{font-size:11px;color:#5d6c67;font-variant-numeric:tabular-nums}
.bet-result{font-size:11px;color:#6d7c77}
.status{justify-self:end;padding:6px 9px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.03em}
.status.success{background:#e8f8f2;color:#087f69} .status.fail{background:#fff0f0;color:#c74949} .status.pending{background:#fff5df;color:#a66d14}
.loading,.empty,.error{padding:52px 20px;text-align:center;color:#87958f} .error{color:#b94a4a}
.mobile-nav{display:none}

@media(max-width:1099px){
  .tw-side-nav{display:none}
  .page{margin-left:0;padding:18px 14px 88px}
  .stats{grid-template-columns:1fr 1fr}
  .stat-main{grid-column:1/-1}
  .table-head{display:none}
  .bet-row{grid-template-columns:1fr auto;gap:8px 12px;padding:14px}
  .bet-time{grid-column:1/2;padding-left:52px}
  .status{grid-column:2/3;grid-row:2}
  .search{width:100%;margin-left:0} .search input{width:100%}
  .mobile-nav{position:fixed;left:0;right:0;bottom:0;height:66px;background:#fff;border-top:1px solid #e3e8e6;display:grid;grid-template-columns:repeat(5,1fr);z-index:40}
  .mobile-nav a{display:flex;align-items:center;justify-content:center;text-decoration:none;color:#87948f;font-size:10px}
  .mobile-nav span{display:flex;flex-direction:column;align-items:center;gap:4px} .mobile-nav b{font-size:18px}
  .mobile-nav a.active{color:#07856d}
}
@media(max-width:620px){
  .stats{grid-template-columns:1fr 1fr} .stat.today{grid-column:1/-1}
  .toolbar{padding:13px} .filters{width:100%;overflow-x:auto;flex-wrap:nowrap} .filter{flex:0 0 auto}
}

/* ===== 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-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}

/* ===== 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-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-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-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.png')!important;background-size:100% auto!important;background-position:center bottom!important;background-repeat:no-repeat!important;background-color:#301407!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-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-category-bottomnav-v32 ===== */
@media (max-width:1099px){
  /* Category artwork already carries its own visual label: show artwork only. */
  .tw-home-mobile-cats{align-items:center!important;}
  .tw-home-mobile-cats>a{display:flex!important;align-items:center!important;justify-content:center!important;padding:5px 2px!important;min-width:0!important;}
  .tw-home-mobile-cats>a>img{display:block!important;width:44px!important;height:44px!important;max-width:100%!important;object-fit:contain!important;margin:0 auto!important;}
  .tw-home-mobile-cats>a>span{display:none!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:1px!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;}
}

/* v56 copy-hygiene spacing */
.hero-main strong,.stat-main strong{margin-bottom:0!important}


/* ===== v80 date range filter ===== */
.date-range{display:flex;align-items:flex-end;gap:7px;margin-left:auto}
.date-range label{display:flex;flex-direction:column;gap:4px}
.date-range label span{font-size:8px;line-height:1;font-weight:800;color:#87958f}
.date-range input{width:136px;height:36px;padding:0 9px;border:1px solid #e0e7e4;border-radius:10px;background:#f9fbfa;color:#425d55;outline:none;font-size:10px}
.date-range input:focus{border-color:#83cdbc;box-shadow:0 0 0 3px rgba(7,149,121,.07)}
.date-clear{height:36px;padding:0 11px;border:1px solid #e0e7e4;border-radius:10px;background:#fff;color:#667a73;font-size:9px;font-weight:800;cursor:pointer}
.date-clear:hover{background:#f4faf8;color:#07856d}
@media(max-width:1099px){
  .date-range{order:2;width:100%;display:grid;grid-template-columns:1fr 1fr auto;align-items:end;margin-left:0;gap:7px}
  .date-range input{width:100%;min-width:0;height:42px;font-size:14px}
  .date-clear{height:42px;white-space:nowrap}
  .search{order:3!important}
}
@media(max-width:480px){.date-range{grid-template-columns:1fr 1fr}.date-clear{grid-column:1/-1;width:100%}}


/* ===== v92 polished back-to-account button ===== */
.back{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-width:112px!important;
  height:36px!important;
  padding:0 13px!important;
  border:1px solid #d8e8e2!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f7fbf9 100%)!important;
  color:#176b5b!important;
  text-decoration:none!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:750!important;
  letter-spacing:.01em!important;
  box-shadow:0 4px 12px rgba(22,70,58,.05)!important;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;
  white-space:nowrap!important;
}
.back .tw-ui-img{
  width:13px!important;
  height:13px!important;
  opacity:.9!important;
}
.back:hover{
  border-color:#a9d9cc!important;
  background:#eef9f5!important;
  color:#087c67!important;
  box-shadow:0 6px 14px rgba(8,124,103,.09)!important;
  transform:translateY(-1px)!important;
}
.back:active{
  transform:translateY(0)!important;
  box-shadow:0 2px 6px rgba(22,70,58,.06)!important;
}
@media(max-width:720px){
  .back{
    min-width:104px!important;
    height:34px!important;
    padding:0 11px!important;
    gap:6px!important;
    border-radius:11px!important;
    font-size:10.5px!important;
    font-weight:760!important;
  }
  .back .tw-ui-img{
    width:12px!important;
    height:12px!important;
  }
}


/* ===== v104 mobile header return aligns right ===== */
@media(max-width:720px){
  .head{
    position:relative!important;
  }
  .head>.back{
    margin-left:auto!important;
    align-self:flex-end!important;
  }
}
