html.esx:not(#nx):not(#ex) {
  --ex-pink: #F293D4;
  --ex-blue: #6EBBF7;
  --ex-grad: linear-gradient(90deg, #F293D4 0%, #6EBBF7 100%);
  --ex-grad-v: linear-gradient(180deg, #F293D4 0%, #6EBBF7 100%);
  --ex-border: linear-gradient(180deg, rgba(242, 147, 212, 0.7) 0%, rgba(110, 187, 247, 0.7) 100%);
  --ex-overlay: linear-gradient(180deg, rgba(242, 147, 212, 0.13) 0%, rgba(74, 202, 224, 0.13) 100%);
  --ex-pill: #1a181a;
  --ex-field: rgba(217, 217, 217, 0.08);
  --ex-field-h: rgba(217, 217, 217, 0.13);
  --ex-spring: cubic-bezier(0.3, 1.35, 0.5, 1);
  --ex-glide: cubic-bezier(0.22, 1, 0.36, 1);
  --nx-pink: #F293D4;
  --nx-blue: #6EBBF7;
  --nx-edge: linear-gradient(135deg, #F293D4 0%, #6EBBF7 100%);
  --nx-edge-v: linear-gradient(180deg, #F293D4, #6EBBF7);
  --nx-text-grad: linear-gradient(90deg, #fff 35%, #F293D4 75%, #6EBBF7);
  --nx-panel-fill: linear-gradient(180deg, rgba(242, 147, 212, 0.13), rgba(74, 202, 224, 0.13)), linear-gradient(#000, #000);
  --nx-row: rgba(217, 217, 217, 0.08);
  --nx-row-h: rgba(217, 217, 217, 0.13);
  --nx-glow: 0 24px 60px -30px #000;
  --nx-head: 'Kanit', 'Inter', 'IBM Plex Sans Thai', system-ui, sans-serif;
  --nx-body: 'Kanit', 'Inter', 'IBM Plex Sans Thai Looped', system-ui, sans-serif;
  --bg: #050406;
  --surface: #0b0a0c;
  --surface-2: #121013;
  --card: rgba(8, 7, 9, 0.94);
  --card-solid: #0b0a0c;
  --card-2: rgba(217, 217, 217, 0.08);
  --card-brd: rgba(255, 255, 255, 0.06);
  --accent: #F293D4;
  --accent-rgb: 242, 147, 212;
  --accent-soft: rgba(242, 147, 212, 0.14);
  --main: linear-gradient(90deg, #F293D4, #6EBBF7);
  --btn-glow: none;
  --ring: 0 0 0 3px rgba(242, 147, 212, 0.22);
  --r: 24px;
  --r-sm: 18px;
}

html.esx:not(#nx):not(#ex) body {
  background-color: #000 !important;
  background-image:
    radial-gradient(900px 560px at 0% 0%, rgba(242, 147, 212, 0.1), transparent 62%),
    radial-gradient(900px 600px at 100% 20%, rgba(110, 187, 247, 0.09), transparent 62%),
    linear-gradient(180deg, #050406, #000) !important;
}

html.esx:not(#nx):not(#ex) .vglow {
  background: radial-gradient(circle, rgba(242, 147, 212, 0.09), rgba(110, 187, 247, 0.05) 45%, transparent 70%);
}

html.esx:not(#nx):not(#ex) h1,
html.esx:not(#nx):not(#ex) h2,
html.esx:not(#nx):not(#ex) h3,
html.esx:not(#nx):not(#ex) h4,
html.esx:not(#nx):not(#ex) .g-title,
html.esx:not(#nx):not(#ex) .rl-sec-ttl,
html.esx:not(#nx):not(#ex) .nx-title {
  font-family: 'Kanit', 'Inter', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: -0.005em !important;
}

html.esx:not(#nx):not(#ex) .p-head h1,
html.esx:not(#nx):not(#ex) .wf-head h1,
html.esx:not(#nx):not(#ex) .rl-hero h1,
html.esx:not(#nx):not(#ex) .ux-hero-tx h1,
html.esx:not(#nx):not(#ex) .nx-grad,
html.esx:not(#nx):not(#ex) .g-l2 {
  font-weight: 600 !important;
  background: linear-gradient(90deg, #fff 35%, var(--ex-pink) 75%, var(--ex-blue)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  filter: none !important;
}

html.esx:not(#nx):not(#ex) .p-eyebrow,
html.esx:not(#nx):not(#ex) .rl-eyebrow,
html.esx:not(#nx):not(#ex) .g-eyebrow,
html.esx:not(#nx):not(#ex) .ux-kicker,
html.esx:not(#nx):not(#ex) .sec-h,
html.esx:not(#nx):not(#ex) .vs-sec,
html.esx:not(#nx):not(#ex) .vc-g {
  rotate: none !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--ex-overlay), var(--ex-pill) !important;
  box-shadow: none !important;
  color: var(--ex-pink) !important;
  font: 600 10.5px/1.2 'Inter', 'Kanit', sans-serif !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase;
}

html.esx:not(#nx):not(#ex) .vs-sec,
html.esx:not(#nx):not(#ex) .vc-g {
  background: none !important;
  padding: 0 !important;
}

html.esx:not(#nx):not(#ex) .ux-kicker .ux-pulse {
  background: var(--ex-pink) !important;
}

html.esx:not(#nx):not(#ex) .nx-panel,
html.esx:not(#nx):not(#ex) .card,
html.esx:not(#nx):not(#ex) .p-card,
html.esx:not(#nx):not(#ex) .dialog,
html.esx:not(#nx):not(#ex) .ux-sheet,
html.esx:not(#nx):not(#ex) .rl-sec,
html.esx:not(#nx):not(#ex) .rl-adminbar,
html.esx:not(#nx):not(#ex) .rl-dlg,
html.esx:not(#nx):not(#ex) .ai-box,
html.esx:not(#nx):not(#ex) .e-card,
html.esx:not(#nx):not(#ex) .v-card,
html.esx:not(#nx):not(#ex) .sm-panel,
html.esx:not(#nx):not(#ex) .sm-hero,
html.esx:not(#nx):not(#ex) .g-card,
html.esx:not(#nx):not(#ex) .wf-tier .wf-title,
html.esx:not(#nx):not(#ex) .wf-dlg,
html.esx:not(#nx):not(#ex) .ux-tilt,
html.esx:not(#nx):not(#ex) .g-hello,
html.esx:not(#nx):not(#ex) .rm-card,
html.esx:not(#nx):not(#ex) .vc-box,
html.esx:not(#nx):not(#ex) .udrop,
html.esx:not(#nx):not(#ex) .pdrop {
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  background: var(--ex-overlay), #000 !important;
  border-radius: 24px !important;
  box-shadow: 0 26px 60px -30px #000 !important;
}

html.esx:not(#nx):not(#ex) .g-stats>.g-card {
  box-shadow: 0 26px 60px -30px #000 !important;
}

html.esx:not(#nx):not(#ex) .g-stats .g-sic {
  background: var(--ex-pill) !important;
  color: var(--ex-pink) !important;
}

html.esx:not(#nx):not(#ex) .nx-panel::before,
html.esx:not(#nx):not(#ex) .nx-panel::after,
html.esx:not(#nx):not(#ex) .g-card::after,
html.esx:not(#nx):not(#ex) .rl-sec::after,
html.esx:not(#nx):not(#ex) .sm-panel::after,
html.esx:not(#nx):not(#ex) #app.card::after,
html.esx:not(#nx):not(#ex) .v-card::after {
  width: 48px !important;
  height: 3px !important;
  box-shadow: none !important;
  background: linear-gradient(90deg, #6EBBF7 3%, #F293D4 97%) !important;
}

html.esx:not(#nx):not(#ex) .nx-panel::before {
  background: linear-gradient(90deg, #F293D4 3%, #6EBBF7 97%) !important;
}

html.esx:not(#nx):not(#ex) .tile,
html.esx:not(#nx):not(#ex) .sm-tile,
html.esx:not(#nx):not(#ex) .sm-slot,
html.esx:not(#nx):not(#ex) .h-link,
html.esx:not(#nx):not(#ex) .h-rules a,
html.esx:not(#nx):not(#ex) .u-changes li,
html.esx:not(#nx):not(#ex) .v-app,
html.esx:not(#nx):not(#ex) .ux-tile,
html.esx:not(#nx):not(#ex) .opt,
html.esx:not(#nx):not(#ex) .perks li,
html.esx:not(#nx):not(#ex) .wf-item,
html.esx:not(#nx):not(#ex) .wf-row,
html.esx:not(#nx):not(#ex) .wf-notes,
html.esx:not(#nx):not(#ex) .vc-it,
html.esx:not(#nx):not(#ex) .lg-toc a,
html.esx:not(#nx):not(#ex) .dm-mem {
  border: 1px solid transparent !important;
  background: var(--ex-field) padding-box !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  transition: background 0.2s, translate 0.3s var(--ex-spring) !important;
}

html.esx:not(#nx):not(#ex) .h-link:hover,
html.esx:not(#nx):not(#ex) .h-rules a:hover,
html.esx:not(#nx):not(#ex) .ux-tile:hover,
html.esx:not(#nx):not(#ex) .opt:hover,
html.esx:not(#nx):not(#ex) .wf-item:hover,
html.esx:not(#nx):not(#ex) .vc-it.on,
html.esx:not(#nx):not(#ex) .opt.sel,
html.esx:not(#nx):not(#ex) .lg-toc a:hover,
html.esx:not(#nx):not(#ex) .v-app:hover {
  background:
    var(--ex-overlay) padding-box,
    linear-gradient(var(--ex-pill), var(--ex-pill)) padding-box,
    var(--ex-border) border-box !important;
}

html.esx:not(#nx):not(#ex) .h-link:hover,
html.esx:not(#nx):not(#ex) .h-rules a:hover,
html.esx:not(#nx):not(#ex) .wf-item:hover,
html.esx:not(#nx):not(#ex) .lg-toc a:hover,
html.esx:not(#nx):not(#ex) .v-app:hover {
  translate: 4px 0;
}

html.esx:not(#nx):not(#ex) .nx-ic,
html.esx:not(#nx):not(#ex) .g-cic,
html.esx:not(#nx):not(#ex) .rl-cat-ic,
html.esx:not(#nx):not(#ex) .sm-ico,
html.esx:not(#nx):not(#ex) .h-link .ic,
html.esx:not(#nx):not(#ex) .rl-tab-ic,
html.esx:not(#nx):not(#ex) .ux-tile-ic,
html.esx:not(#nx):not(#ex) .vc-emo {
  border: 0 !important;
  border-radius: 50% !important;
  background: #151515 !important;
  color: var(--ex-pink) !important;
  box-shadow: none !important;
}

html.esx:not(#nx):not(#ex) .h-link:nth-child(even) .ic,
html.esx:not(#nx):not(#ex) .rl-tab:nth-child(even) .rl-tab-ic,
html.esx:not(#nx):not(#ex) .ux-tile:nth-child(even) .ux-tile-ic,
html.esx:not(#nx):not(#ex) .vc-emo.c-blue {
  color: var(--ex-blue) !important;
}

html.esx:not(#nx):not(#ex) .nx-pill,
html.esx:not(#nx):not(#ex) .btn.primary,
html.esx:not(#nx):not(#ex) .rl-btn.primary,
html.esx:not(#nx):not(#ex) .sm-btn:not(.sm-ghost):not(.sm-discord),
html.esx:not(#nx):not(#ex) .ai-fab,
html.esx:not(#nx):not(#ex) .rl-ask,
html.esx:not(#nx):not(#ex) .ai-send,
html.esx:not(#nx):not(#ex) .ai-msg.me .ai-bub,
html.esx:not(#nx):not(#ex) .me .ai-bub,
html.esx:not(#nx):not(#ex) .lang-sw button.on {
  color: #fff !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background:
    var(--ex-overlay) padding-box,
    linear-gradient(var(--ex-pill), var(--ex-pill)) padding-box,
    var(--ex-border) border-box !important;
  box-shadow: none !important;
  text-shadow: none !important;
  animation: none !important;
  transition: translate 0.3s var(--ex-spring), filter 0.2s !important;
}

html.esx:not(#nx):not(#ex) .ai-msg.me .ai-bub,
html.esx:not(#nx):not(#ex) .me .ai-bub {
  border-radius: 20px 20px 6px 20px !important;
}

html.esx:not(#nx):not(#ex) .nx-pill:hover,
html.esx:not(#nx):not(#ex) .btn.primary:hover,
html.esx:not(#nx):not(#ex) .rl-btn.primary:hover,
html.esx:not(#nx):not(#ex) .sm-btn:not(.sm-ghost):not(.sm-discord):hover,
html.esx:not(#nx):not(#ex) .ai-fab:hover {
  transform: none !important;
  translate: 0 -2px;
  filter: brightness(1.2);
}

html.esx:not(#nx):not(#ex) .btn.ghost,
html.esx:not(#nx):not(#ex) .sm-btn.sm-ghost,
html.esx:not(#nx):not(#ex) .rl-btn.ghost,
html.esx:not(#nx):not(#ex) .rl-btn:not(.primary):not(.danger),
html.esx:not(#nx):not(#ex) .rl-tbtn,
html.esx:not(#nx):not(#ex) .g-go,
html.esx:not(#nx):not(#ex) .g-more,
html.esx:not(#nx):not(#ex) .ai-sug button,
html.esx:not(#nx):not(#ex) .vs-mini,
html.esx:not(#nx):not(#ex) .nx-ib {
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: var(--ex-field) padding-box !important;
  color: rgba(255, 255, 255, 0.85) !important;
  box-shadow: none !important;
}

html.esx:not(#nx):not(#ex) .btn.ghost:hover,
html.esx:not(#nx):not(#ex) .rl-btn:not(.primary):not(.danger):hover,
html.esx:not(#nx):not(#ex) .g-more:hover,
html.esx:not(#nx):not(#ex) .ai-sug button:hover,
html.esx:not(#nx):not(#ex) .nx-ib:hover {
  background: linear-gradient(var(--ex-pill), var(--ex-pill)) padding-box, var(--ex-border) border-box !important;
  color: #fff !important;
}

html.esx:not(#nx):not(#ex) input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),
html.esx:not(#nx):not(#ex) select,
html.esx:not(#nx):not(#ex) .pf-in,
html.esx:not(#nx):not(#ex) .rl-search,
html.esx:not(#nx):not(#ex) .vt-search,
html.esx:not(#nx):not(#ex) .vc-in {
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: var(--ex-field) padding-box !important;
  color: #fff !important;
  box-shadow: none !important;
}

html.esx:not(#nx):not(#ex) textarea {
  border: 1px solid transparent !important;
  border-radius: 18px !important;
  background: var(--ex-field) padding-box !important;
  color: #fff !important;
}

html.esx:not(#nx):not(#ex) input:focus,
html.esx:not(#nx):not(#ex) select:focus,
html.esx:not(#nx):not(#ex) textarea:focus,
html.esx:not(#nx):not(#ex) .rl-search:focus-within,
html.esx:not(#nx):not(#ex) .vc-in:focus-within {
  background:
    var(--ex-overlay) padding-box,
    linear-gradient(var(--ex-pill), var(--ex-pill)) padding-box,
    var(--ex-border) border-box !important;
  box-shadow: none !important;
  outline: none !important;
}

html.esx:not(#nx):not(#ex) .rl-search input,
html.esx:not(#nx):not(#ex) .vc-in input {
  background: transparent !important;
  border: 0 !important;
}

html.esx:not(#nx):not(#ex) .rl-search input:focus,
html.esx:not(#nx):not(#ex) .vc-in input:focus {
  background: transparent !important;
}

html.esx:not(#nx):not(#ex) select option {
  background: #0b0a0c;
}

html.esx:not(#nx):not(#ex) input[type=checkbox],
html.esx:not(#nx):not(#ex) input[type=radio] {
  accent-color: var(--ex-pink);
}

html.esx:not(#nx):not(#ex) .badge,
html.esx:not(#nx):not(#ex) .chip,
html.esx:not(#nx):not(#ex) .c-count,
html.esx:not(#nx):not(#ex) .dv-n {
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--ex-field) !important;
}

html.esx:not(#nx):not(#ex) .toast,
html.esx:not(#nx):not(#ex) .rl-toast {
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background:
    var(--ex-overlay) padding-box,
    linear-gradient(#000, #000) padding-box,
    var(--ex-border) border-box !important;
}

html.esx:not(#nx):not(#ex) .spin {
  border-top-color: var(--ex-pink) !important;
}

html.esx:not(#nx):not(#ex) .step .bar::after,
html.esx:not(#nx):not(#ex) .pbar i {
  background: var(--ex-grad) !important;
  box-shadow: none !important;
}

html.esx:not(#nx):not(#ex) kbd {
  background: var(--ex-field) !important;
  border: 0 !important;
  border-radius: 6px !important;
}

html.esx:not(#nx):not(#ex) header.nav {
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  background: var(--ex-overlay), rgba(0, 0, 0, 0.92) !important;
  box-shadow: 0 18px 40px -26px #000 !important;
}

html.esx:not(#nx):not(#ex) .vn-top {
  color: rgba(255, 255, 255, 0.6);
}

html.esx:not(#nx):not(#ex) .vn-top:hover,
html.esx:not(#nx):not(#ex) .vn-grp.open>.vn-top {
  background: var(--ex-field) !important;
}

html.esx:not(#nx):not(#ex) .vn-top.on,
html.esx:not(#nx):not(#ex) .vn-grp.on>.vn-top {
  border: 1px solid transparent !important;
  background:
    var(--ex-overlay) padding-box,
    linear-gradient(var(--ex-pill), var(--ex-pill)) padding-box,
    var(--ex-border) border-box !important;
  box-shadow: none !important;
}

html.esx:not(#nx):not(#ex) .vn-top.on>svg,
html.esx:not(#nx):not(#ex) .vn-grp.on>.vn-top>svg {
  color: var(--ex-pink) !important;
}

html.esx:not(#nx):not(#ex) .ubtn,
html.esx:not(#nx):not(#ex) .lang-sw,
html.esx:not(#nx):not(#ex) .vt-live {
  border: 1px solid transparent !important;
  background: var(--ex-field) padding-box !important;
  box-shadow: none !important;
}

html.esx:not(#nx):not(#ex) .vt-logo,
html.esx:not(#nx):not(#ex) .vs-grip {
  filter: none;
}

html.esx:not(#nx):not(#ex) .vbar {
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  background: var(--ex-overlay), rgba(0, 0, 0, 0.94) !important;
  box-shadow: 0 -10px 40px -20px #000 !important;
}

html.esx:not(#nx):not(#ex) .vb-tab.on {
  color: #fff !important;
}

html.esx:not(#nx):not(#ex) .vb-tab.on svg {
  color: var(--ex-pink) !important;
}

html.esx:not(#nx):not(#ex) .vb-fab {
  border: 1px solid transparent !important;
  background: var(--ex-overlay) padding-box, linear-gradient(var(--ex-pill), var(--ex-pill)) padding-box, var(--ex-border) border-box !important;
  color: #fff !important;
  box-shadow: 0 10px 26px -12px #000 !important;
}

html.esx:not(#nx):not(#ex) .vc-it {
  border-radius: 999px !important;
}

html.esx:not(#nx):not(#ex) .vc-go {
  color: var(--ex-pink) !important;
}

html.esx:not(#nx):not(#ex) .rl-tabs,
html.esx:not(#nx):not(#ex) .wf-tabs,
html.esx:not(#nx):not(#ex) .rm-filter,
html.esx:not(#nx):not(#ex) .u-filter {
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 999px !important;
  background: var(--ex-overlay), var(--ex-pill) !important;
}

html.esx:not(#nx):not(#ex) .rl-tab,
html.esx:not(#nx):not(#ex) .wf-tab,
html.esx:not(#nx):not(#ex) .rm-ftab {
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: none !important;
}

html.esx:not(#nx):not(#ex) .rl-tab.on,
html.esx:not(#nx):not(#ex) .wf-tab.on,
html.esx:not(#nx):not(#ex) .rm-ftab.on,
html.esx:not(#nx):not(#ex) .u-filter .ux-tile.on {
  color: #fff !important;
  background:
    var(--ex-overlay) padding-box,
    linear-gradient(#262226, #262226) padding-box,
    var(--ex-border) border-box !important;
  box-shadow: none !important;
}

html.esx:not(#nx):not(#ex) .rl-tab.on *,
html.esx:not(#nx):not(#ex) .wf-tab.on *,
html.esx:not(#nx):not(#ex) .u-filter .ux-tile.on * {
  color: #fff !important;
}

html.esx:not(#nx):not(#ex) .rl-tab.on .rl-tab-ic {
  background: #151515 !important;
  color: var(--ex-pink) !important;
}

html.esx:not(#nx):not(#ex) .ex-slide .ex-item.on,
html.esx:not(#nx):not(#ex) .ex-slide .ex-item:hover {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html.esx:not(#nx):not(#ex) .rl-side a.on {
  background: var(--ex-field) !important;
  box-shadow: inset 3px 0 0 var(--ex-pink) !important;
}

html.esx:not(#nx):not(#ex) .vmarq {
  background: var(--ex-overlay), var(--ex-pill) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
  box-shadow: none !important;
}

html.esx:not(#nx):not(#ex) .g-live {
  background: var(--ex-field) !important;
  border: 0 !important;
}

html.esx:not(#nx):not(#ex) .g-ringwrap .fg,
html.esx:not(#nx):not(#ex) .sm-ring-bar {
  stroke: var(--ex-pink) !important;
}

html.esx:not(#nx):not(#ex) .g-dots button.on {
  background: var(--ex-grad) !important;
}

html.esx:not(#nx):not(#ex) .g-nav {
  background: var(--ex-pill) !important;
  border: 0 !important;
}

html.esx:not(#nx):not(#ex) .g-b-ai {
  background: var(--ex-overlay), #000 !important;
}

html.esx:not(#nx):not(#ex) .g-uhead {
  background: var(--ex-overlay) !important;
}

html.esx:not(#nx):not(#ex) a.g-card:hover,
html.esx:not(#nx):not(#ex) .e-card:hover,
html.esx:not(#nx):not(#ex) .g-bento>.g-card:hover {
  transform: none !important;
  translate: 0 -4px;
  background:
    var(--ex-overlay) padding-box,
    linear-gradient(#000, #000) padding-box,
    var(--ex-border) border-box !important;
  border-color: transparent !important;
}

html.esx:not(#nx):not(#ex) .ux-line::before {
  background: var(--ex-grad-v) !important;
  box-shadow: none !important;
}

html.esx:not(#nx):not(#ex) .ux-node {
  background: #000 !important;
  border-color: var(--ex-pink) !important;
  box-shadow: none !important;
}

html.esx:not(#nx):not(#ex) .wf-qty,
html.esx:not(#nx):not(#ex) .wf-badge {
  background: var(--ex-pill) !important;
  border: 0 !important;
  color: var(--ex-pink) !important;
}

html.esx:not(#nx):not(#ex) .wf-poster {
  background: #000 !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: none !important;
}

/* ท้ายเว็บ: ไม่มีแถบพื้นหลัง (เป็นข้อความเฉย ๆ) */
html.esx:not(#nx):not(#ex) .sitefoot,
html.esx:not(#nx):not(#ex) .sitefoot-in {
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html.esx:not(#nx):not(#ex) .ptabs a,
html.esx:not(#nx):not(#ex) .sm-seg button {
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

html.esx:not(#nx):not(#ex) .ptabs a.on,
html.esx:not(#nx):not(#ex) .sm-seg button.on {
  color: #fff !important;
}

html.esx:not(#nx):not(#ex) .ptabs:not(.ex-slide) a.on,
html.esx:not(#nx):not(#ex) .sm-seg:not(.ex-slide) button.on {
  background:
    var(--ex-overlay) padding-box,
    linear-gradient(#262226, #262226) padding-box,
    var(--ex-border) border-box !important;
}

html.esx:not(#nx):not(#ex) .sm-seg {
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 999px !important;
  background: var(--ex-pill) !important;
}

/* input ที่อยู่ในกล่องค้นหา: โปร่ง (ต้องมี :not ชุดเดียวกับกฎ input ทั่วไป ไม่งั้นแพ้) */
html.esx:not(#nx):not(#ex) .rl-search input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),
html.esx:not(#nx):not(#ex) .vc-in input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),
html.esx:not(#nx):not(#ex) .vt-search input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html.esx:not(#nx):not(#ex) .hero {
  background: var(--ex-overlay), var(--ex-pill) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

html.esx:not(#nx):not(#ex) .hero::before,
html.esx:not(#nx):not(#ex) .hero::after {
  background: rgba(255, 255, 255, 0.03) !important;
}

html.esx:not(#nx):not(#ex) .perks .n {
  background: #151515 !important;
}

.ex-slide .ex-item {
  position: relative;
  z-index: 1;
}

.ex-ind {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(242, 147, 212, 0.13), rgba(74, 202, 224, 0.13)) padding-box,
    linear-gradient(#262226, #262226) padding-box,
    linear-gradient(180deg, rgba(242, 147, 212, 0.7), rgba(110, 187, 247, 0.7)) border-box;
  opacity: 0;
  transition: transform 0.36s cubic-bezier(0.3, 1.35, 0.5, 1), width 0.36s cubic-bezier(0.3, 1.35, 0.5, 1), height 0.36s cubic-bezier(0.3, 1.35, 0.5, 1), opacity 0.2s;
}

.ex-ind.show {
  opacity: 1;
}

.ex-ind.still {
  transition: opacity 0.2s;
}

html.esx:not(#nx):not(#ex) .vt-nav.ex-slide .vn-top.on,
html.esx:not(#nx):not(#ex) .vt-nav.ex-slide .vn-grp.on>.vn-top,
html.esx:not(#nx):not(#ex) .vt-nav.ex-slide .vn-top:hover,
html.esx:not(#nx):not(#ex) .vt-nav.ex-slide .vn-grp.open>.vn-top {
  background: transparent !important;
  border-color: transparent !important;
}

html.ex-js .ex-rv:not(.ex-on) {
  opacity: 0 !important;
}

html.ex-js .ex-rv.ex-on {
  animation: exSlideIn 0.62s cubic-bezier(0.22, 1, 0.36, 1) var(--ex-dl, 0ms) both !important;
}

/* การ์ดค่อย ๆ ลอยขึ้น (เดิมพุ่งเข้ามาจากซ้าย/ขวาสลับกัน) */
@keyframes exSlideIn {
  from {
    opacity: 0;
    translate: 0 16px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ex-ind {
    transition: opacity 0.2s;
  }

  html.ex-js .ex-rv:not(.ex-on) {
    opacity: 1 !important;
  }

  html.ex-js .ex-rv.ex-on {
    animation: none !important;
  }
}
/* ===================================================================
   หน้าแรก /home (all-home.js) — จัดหน้าใหม่
   ซ้าย: กล่องเมนูแบบในเกม · ขวา: โปสเตอร์ + แถบตัวเลขสด · ล่าง: กระดานข่าว 2 คอลัมน์
   =================================================================== */
.hx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hx {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin: 26px 0 46px;
}
@media (max-width: 900px) {
  .hx { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 14px; }
  .hx-side { order: -1; }
}

/* ---------- กล่องเมนู (หน้าตาเดียวกับ esx_menu_default) ---------- */
.hx-menu {
  position: relative;
  padding: 16px 14px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(242, 147, 212, 0.13), rgba(74, 202, 224, 0.13)), #000;
  box-shadow: 0 30px 70px -34px #000;
}
.hx-menu::before, .hx-menu::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 48px;
  height: 3px;
  transform: translateX(-50%);
}
.hx-menu::before { top: 0; border-radius: 0 0 999px 999px; background: linear-gradient(90deg, #F293D4 3%, #6EBBF7 97%); }
.hx-menu::after { bottom: 0; border-radius: 999px 999px 0 0; background: linear-gradient(90deg, #6EBBF7 3%, #F293D4 97%); }

.hx-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(242, 147, 212, 0.13), rgba(74, 202, 224, 0.13)), #1a181a;
}
.hx-logo { flex: none; width: 44px; height: 44px; padding: 4px; border-radius: 50%; object-fit: contain; background: #151515; }
.hx-ht { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hx-ht p { margin: 0; }
.hx-ht p:first-child { font: 600 9.5px/1.3 'Inter', 'Kanit', sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: #F293D4; }
.hx-ht p:last-child {
  font: 500 15px/1.3 'Kanit', 'Inter', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(90deg, #fff 45%, #F293D4 80%, #6EBBF7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hx-live {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(217, 217, 217, 0.08);
  color: #fff;
  text-decoration: none;
  font: 600 13px 'Kanit', sans-serif;
}
.hx-live i { width: 7px; height: 7px; border-radius: 50%; background: #7ee2c4; animation: hxPing 2s ease-out infinite; }
.hx-live.off i { background: #ff8aa8; animation: none; }
@keyframes hxPing { 0% { box-shadow: 0 0 0 0 rgba(126, 226, 196, 0.55); } 100% { box-shadow: 0 0 0 8px rgba(126, 226, 196, 0); } }

.hx-list { position: relative; margin-top: 10px; }
.hx-cur {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 50px;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(242, 147, 212, 0.13), rgba(74, 202, 224, 0.13)) padding-box,
    linear-gradient(#1a181a, #1a181a) padding-box,
    linear-gradient(180deg, rgba(242, 147, 212, 0.7), rgba(110, 187, 247, 0.7)) border-box;
  transition: transform 0.32s cubic-bezier(0.3, 1.35, 0.5, 1), height 0.32s cubic-bezier(0.3, 1.35, 0.5, 1);
  pointer-events: none;
}
.hx-cur.na { transition: none; }

/* แถวแคปซูล: จุดซ้าย ขีดขวา (ใช้ทั้งกล่องเมนูและรายการกฎ) */
.hx-it {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 50px;
  margin-top: 6px;
  padding: 6px 36px 6px 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(217, 217, 217, 0.08) padding-box;
  color: #fff;
  text-decoration: none;
  outline: none;
}
.hx-cur + .hx-it, .hx-rows > .hx-it:first-child { margin-top: 0; }
.hx-it::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.hx-it::after {
  content: '';
  position: absolute;
  right: 17px;
  top: 50%;
  width: 3px;
  height: 45%;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
.hx-it p { margin: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: transform 0.3s cubic-bezier(0.3, 1.35, 0.5, 1); }
.hx-it p:first-child { font: 500 10px/1.3 'Inter', 'Kanit', sans-serif; letter-spacing: 0.3px; color: rgba(255, 255, 255, 0.32); }
.hx-it p:last-child { font: 400 15px/1.35 'Kanit', 'Inter', sans-serif; color: rgba(255, 255, 255, 0.84); }
.hx-it.ext p:last-child::after { content: ' ↗'; color: rgba(255, 255, 255, 0.35); font-size: 12px; }

/* แถวที่เลือก (กล่องเมนู) / ชี้ (รายการกฎ) */
.hx-it.sel p, .hx-rows .hx-it:hover p { transform: translateX(3px); }
.hx-it.sel p:first-child, .hx-rows .hx-it:hover p:first-child {
  background: linear-gradient(90deg, #F293D4, #6EBBF7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hx-it.sel p:last-child, .hx-rows .hx-it:hover p:last-child { color: #fff; font-weight: 500; }
.hx-it.sel::before, .hx-rows .hx-it:hover::before { background: linear-gradient(180deg, #F293D4, #6EBBF7); animation: hxPulse 1.5s ease-in-out infinite; }
.hx-it.sel::after, .hx-rows .hx-it:hover::after { background: linear-gradient(180deg, #F293D4, #6EBBF7); }
@keyframes hxPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: 0.55; } }
.hx-rows .hx-it:hover {
  background:
    linear-gradient(180deg, rgba(242, 147, 212, 0.13), rgba(74, 202, 224, 0.13)) padding-box,
    linear-gradient(#1a181a, #1a181a) padding-box,
    linear-gradient(180deg, rgba(242, 147, 212, 0.7), rgba(110, 187, 247, 0.7)) border-box;
}

/* ---------- ขวา: โปสเตอร์ + ตัวเลขสด ---------- */
.hx-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hx-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #000;
  box-shadow: 0 30px 70px -34px #000;
}
.hx-poster img { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 1072; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.hx-poster:hover img { transform: scale(1.025); }
.hx-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #F293D4;
  font: 600 10px/1 'Inter', 'Kanit', sans-serif;
  letter-spacing: 1.2px;
}
.hx-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(242, 147, 212, 0.13), rgba(74, 202, 224, 0.13)), #1a181a;
}
.hx-st {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 58px;
  padding: 6px 20px;
  border-radius: 999px;
  background: rgba(217, 217, 217, 0.06);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}
.hx-st:hover { background: rgba(217, 217, 217, 0.13); }
.hx-st p { margin: 0; font: 500 10px/1.3 'Inter', 'Kanit', sans-serif; letter-spacing: 0.4px; color: rgba(255, 255, 255, 0.42); }
.hx-st b { font: 600 20px/1.25 'Kanit', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-st b small { margin-left: 3px; font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, 0.5); }
.hx-st:first-child b { color: #7ee2c4; }
@media (max-width: 640px) {
  .hx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 26px; }
  .hx-st { padding: 6px 16px; }
}

/* ---------- กระดานข่าว ---------- */
.hx-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .hx-grid { grid-template-columns: minmax(0, 1fr); } }
.hx-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
html.esx:not(#nx):not(#ex) .hx-box { padding: 18px !important; }
.hx-bhd { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
html.esx:not(#nx):not(#ex) .hx-bhd h3 { flex: 1; margin: 0; font-size: 18px !important; }
.hx-more { display: inline-flex; align-items: center; gap: 4px; color: rgba(255, 255, 255, 0.55); font: 500 13px 'Kanit', sans-serif; text-decoration: none; transition: color 0.2s; }
.hx-more svg { width: 14px; height: 14px; }
.hx-more:hover { color: #F293D4; }
.hx-more-b { margin-top: 12px; }
.hx-uhead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 12px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(242, 147, 212, 0.13), rgba(74, 202, 224, 0.13)), #1a181a;
  color: #fff;
  text-decoration: none;
}
.hx-ver { padding: 3px 10px; border-radius: 999px; background: #000; color: #F293D4; font: 600 12px 'Kanit', sans-serif; }
.hx-date { font-size: 12px; color: rgba(255, 255, 255, 0.45); }
.hx-uhead b { flex-basis: 100%; font: 500 16px/1.35 'Kanit', sans-serif; }
.hx-rows { display: flex; flex-direction: column; }
.hx-ai { display: block; color: #fff; text-decoration: none; }
.hx-ai p { margin: 0; font: 600 9.5px/1.3 'Inter', 'Kanit', sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: #F293D4; }
.hx-ai b { display: block; margin: 6px 0 4px; font: 500 18px/1.3 'Kanit', sans-serif; }
.hx-ai span { font-size: 13px; color: rgba(255, 255, 255, 0.55); }
html.esx:not(#nx):not(#ex) .hx-ai:hover {
  background:
    linear-gradient(180deg, rgba(242, 147, 212, 0.13), rgba(74, 202, 224, 0.13)) padding-box,
    linear-gradient(#000, #000) padding-box,
    linear-gradient(180deg, rgba(242, 147, 212, 0.7), rgba(110, 187, 247, 0.7)) border-box !important;
  border-color: transparent !important;
}

@media (prefers-reduced-motion: reduce) {
  .hx-cur, .hx-it p, .hx-poster img { transition: none; }
  .hx-it.sel::before, .hx-live i { animation: none; }
}

/* ===== ท้ายเว็บ: ไม่มีแถบพื้นหลัง เป็นข้อความเฉย ๆ (ทุกหน้า) ===== */
html:not(#nx):not(#ex) .sitefoot,
html:not(#nx):not(#ex) .sitefoot-in {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
