:root {
  --x36-cyan: #06a8ec;
  --x36-blue: #0698d9;
  --x36-dark: #006a9b;
  --x36-deep: #075f87;
  --x36-gold: #ffd74b;
  --x36-text: #fff;
}

html, body.elementor-page {
  margin: 0;
  background: #0a9bdd;
}

body.elementor-page {
  color: #fff;
  font-family: Tahoma, "Noto Sans Thai", Arial, sans-serif;
  background-image: linear-gradient(rgba(255,255,255,.82), rgba(255,255,255,.7)), url('../images/bg.webp');
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
  overflow-x: hidden;
}

body.elementor-page a,
body.elementor-page a:hover {
  text-decoration: none;
}

.elementor-widget-xbet36-header,
.elementor-widget-xbet36-banner,
.elementor-widget-xbet36-showcase,
.elementor-widget-xbet36-lottery,
.elementor-widget-xbet36-footer,
.elementor-widget-xbet36-floating,
.elementor-widget-text-editor {
  margin: 0 !important;
}

.x36-header-wrap {
  position: relative;
  z-index: 1000;
  width: 100%;
  color: var(--x36-text);
  background: var(--x36-blue);
  box-shadow: 0 3px 12px rgba(0, 56, 93, .28);
}

.x36-top-row {
  height: 80px;
  max-width: 1564px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 56px;
}

.x36-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.x36-logo img {
  width: 200px;
  max-height: 46px;
  object-fit: contain;
}

.x36-favorite {
  font-size: 16px;
  font-weight: 600;
  color: #00334d;
}

.x36-auth {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

.x36-btn {
  min-width: 120px;
  height: 38px;
  padding: 0 24px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease, filter .2s ease;
}

.x36-btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.x36-login { background: #fff; color: #242424 !important; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.x36-signup { border: 1px solid #00334d; background: rgba(255,255,255,.5); color: #00334d !important; }
.x36-flag { width: 25px; height: 25px; object-fit: cover; border-radius: 50%; margin-left: 2px; }

.x36-header-wrap .x36-mobile-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  padding: 0;
}

.x36-nav-row {
  min-height: 56px;
  background: var(--x36-dark);
}

.x36-nav-inner {
  max-width: 1564px;
  min-height: 56px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.x36-nav-item {
  min-height: 36px;
  padding: 5px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  border-radius: 4px;
  font-size: 16px;
}

.x36-nav-item img { width: 24px; height: 24px; object-fit: contain; opacity: .86; }
.x36-nav-item.active { background: transparent; color: #fff !important; box-shadow: none; }

.x36-announcement {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: #09acef;
  color: #00334d;
  border-radius: 0 0 8px 8px;
  font-size: 15px;
  white-space: nowrap;
}
.x36-announcement span { display: block; animation: x36-marquee 25s linear infinite; }

.x36-categories {
  padding: 12px 0 8px;
  overflow: hidden;
  background: rgba(243,243,243,.15);
}

.x36-category-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.35) transparent;
  padding: 0 18px 6px;
}

.x36-category-item {
  flex: 0 0 70px;
  text-align: center;
  color: #00334d !important;
  font-weight: 700;
  font-size: 14px;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

.x36-category-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--x36-cyan);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 2px 8px rgba(0,78,120,.2);
}

.x36-category-icon img { width: 70px; height: 70px; object-fit: contain; }

.x36-banner {
  width: calc(100% - 44px);
  max-width: 1414px;
  margin: 10px auto 8px;
}

.x36-banner img {
  width: 100%;
  aspect-ratio: 3.9 / 1;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  box-shadow: 0 5px 16px rgba(0,0,0,.15);
}

.x36-panel {
  width: calc(100% - 44px);
  max-width: 1414px;
  margin: 8px auto 14px;
  padding: 0 8px 14px;
  border-radius: 14px;
  background: rgba(180, 180, 180, .76);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 5px 18px rgba(39,77,99,.12);
  overflow: hidden;
}

.x36-section-heading {
  min-height: 48px;
  margin: 0 -8px 10px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #008fdb 10%, #bde6f9 100%);
}

.x36-heading-main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.x36-heading-main img { width: 40px; height: 40px; object-fit: contain; }
.x36-heading-main h2,
.x36-footer h2 { margin: 0; color: #fff; font-size: 24px; line-height: 1.2; font-weight: 800; text-shadow: 0 2px 4px rgba(0,65,105,.35); }
.x36-more-btn { margin-left: auto; padding: 8px 16px; color: #333 !important; background: #e6f7ff; border-radius: 22px; box-shadow: 0 2px 5px rgba(0,0,0,.18); font-size: 14px; font-weight: 700; }

.x36-heading-hero .x36-section-heading {
  justify-content: center;
  background: transparent;
  margin-top: 8px;
}

.x36-heading-hero .x36-heading-main img { width: 50px; height: 50px; }
.x36-heading-hero .x36-heading-main h2 { font-size: 28px; }
.x36-heading-none { padding-top: 10px; }

.x36-brand-strip {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 4px 0 12px;
  overflow-x: auto;
  padding: 0 4px 4px;
  scrollbar-width: none;
}

.x36-brand-strip::-webkit-scrollbar,
.x36-card-grid::-webkit-scrollbar { display: none; }
.x36-brand-strip a { flex: 0 0 100px; width: 100px; height: 100px; }
.x36-brand-strip img { width: 100%; height: 100%; object-fit: contain; }

.x36-card-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 4px 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.x36-card {
  position: relative;
  flex: 0 0 157px;
  min-width: 0;
  display: block;
  overflow: hidden;
  border-radius: 9px;
  background: #111022;
  color: #fff !important;
  box-shadow: 0 2px 5px rgba(0,0,0,.25);
  scroll-snap-align: start;
  transition: transform .2s ease;
}

.x36-card:hover { transform: translateY(-2px); }
.x36-card-media { position: relative; width: 100%; }
.x36-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.layout-game .x36-card { flex-basis: 162px; }
.layout-game .x36-card-media { aspect-ratio: 3 / 4; }
.layout-provider .x36-card { flex-basis: 157px; background: transparent; }
.layout-provider .x36-card-media { aspect-ratio: 3 / 4; }
.layout-provider .x36-card-media img { border-radius: 9px; }
.layout-landscape .x36-card { flex-basis: 204px; }
.layout-landscape .x36-card-media { aspect-ratio: 16 / 9; }
.x36-badge { position: absolute; top: 4px; right: 5px; padding: 3px 7px; border-radius: 10px; background: rgba(14,16,31,.82); color: #fff; font-size: 11px; font-weight: 700; }
.x36-card-name { display: block; min-height: 29px; padding: 6px 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; font-weight: 700; }

.x36-title-emoji { font-size: 28px; }
.x36-lottery { padding-bottom: 16px; }
.x36-lottery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 2px 4px; }
.x36-lotto-card { overflow: hidden; border-radius: 8px; background: rgba(35,35,35,.83); box-shadow: 0 3px 8px rgba(0,0,0,.22); }
.x36-lotto-title { min-height: 54px; padding: 8px 12px; display: flex; align-items: center; gap: 8px; color: #111; font-size: 17px; font-weight: 800; }
.x36-lotto-title span { font-size: 27px; }
.x36-lotto-body { min-height: 78px; padding: 12px; display: flex; align-items: center; gap: 10px; }
.x36-lotto-body > div { min-width: 0; }
.x36-lotto-body strong { display: block; color: #ff6d74; font-size: 13px; }
.x36-lotto-body small { display: block; color: #fff; opacity: .9; margin-top: 4px; font-size: 12px; }
.x36-lotto-body a { margin-left: auto; padding: 10px 18px; border-radius: 4px; background: #f2f2f2; color: #222 !important; white-space: nowrap; font-weight: 700; }

.x36-seo-copy {
  width: calc(100% - 44px);
  max-width: 1414px;
  margin: 16px auto;
  padding: 20px 24px;
  border-radius: 12px;
  background: rgba(255,255,255,.88);
  color: #21405a;
  font-size: 16px;
  line-height: 1.8;
  box-shadow: 0 5px 16px rgba(35,70,90,.12);
}
.x36-seo-copy p { margin: 0; }

.x36-footer {
  margin-top: 16px;
  background: rgba(0,87,132,.94);
  color: #fff;
}

.x36-footer-inner { max-width: 1414px; margin: 0 auto; padding: 28px 18px 46px; }
.x36-footer h2 { margin-bottom: 22px; text-align: center; font-size: 32px; }
.x36-provider-grid { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 4px; }
.x36-provider-box { min-width: 0; aspect-ratio: 1.4 / 1; padding: 7px; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: rgba(71,167,210,.34); }
.x36-provider-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.x36-footer-meta { margin-top: 18px; display: grid; grid-template-columns: 1fr .9fr 1fr; gap: 24px; align-items: center; }
.x36-trust-box { min-height: 92px; padding: 13px; border-radius: 8px; background: rgba(255,255,255,.22); }
.x36-trust-box strong { display: block; margin-bottom: 8px; }
.x36-trust-box div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.x36-trust-box img { max-width: 126px; max-height: 36px; object-fit: contain; }
.x36-trust-box span { display: block; margin-top: 8px; color: rgba(255,255,255,.75); }
.x36-footer-brand { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.x36-footer-brand img { width: 150px; max-height: 45px; object-fit: contain; opacity: .7; }
.x36-keywords { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.x36-keywords span { padding: 5px 13px; border-radius: 18px; background: #f1f4f5; color: #222; font-size: 12px; }

.x36-floating-rail {
  position: fixed;
  z-index: 1200;
  right: 0;
  top: 50%;
  width: 80px;
  transform: translateY(-50%);
}
.x36-floating-content { position: relative; z-index: 1; width: 80px; padding: 8px; overflow: hidden; border-radius: 8px 0 0 8px; background: rgba(0,0,0,.8); }
.x36-float-item { width: 64px; min-height: 0; padding: 0 0 4px; display: block; overflow: hidden; border: 0; color: #fff !important; background: transparent; text-align: center; }
.x36-float-item img { width: 64px; height: auto; max-height: 64px; display: block; object-fit: contain; }
.x36-float-item span { width: 64px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 8px; color: #fff; background: rgba(255,255,255,.08); font-size: 12px; font-weight: 900; }
.x36-float-item small { display: block; margin-top: -15px; color: #fff; font-size: 9px; line-height: 1.1; }
.x36-float-toggle { position: absolute; z-index: 0; top: 50%; right: 80px; width: 50px; height: 120px; padding: 0; overflow: hidden; transform: translateY(-50%); border: 0; background: transparent; cursor: pointer; }
.x36-float-toggle::before { content: ""; position: absolute; top: 50%; right: -83px; width: 100px; height: 100px; transform: translateY(-50%) rotate(45deg); border-radius: 25px; background: #e1f5fe; }
.x36-float-toggle span { position: absolute; top: 50%; right: 6px; transform: translateY(-52%); color: #37474f; font-family: Arial, sans-serif; font-size: 35px; font-weight: 400; line-height: 1; }
.x36-floating-rail.is-collapsed { width: 16px; }
.x36-floating-rail.is-collapsed .x36-floating-content { width: 16px; height: 16px; padding: 8px; }
.x36-floating-rail.is-collapsed .x36-float-item { display: none; }
.x36-floating-rail.is-collapsed .x36-float-toggle { right: 0; }
.x36-mobile-nav { display: none; }

.x36-page {
  width: calc(100% - 44px);
  max-width: 1568px;
  min-height: 460px;
  margin: 18px auto 26px;
  color: #fff;
}
.x36-page-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 40px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(0,91,145,.96), rgba(0,168,236,.9));
  box-shadow: 0 10px 28px rgba(0,43,78,.25);
}
.x36-page-hero::after { content: "36"; position: absolute; right: 34px; top: -28px; color: rgba(255,255,255,.08); font-size: 150px; line-height: 1; font-weight: 900; }
.x36-page-hero > span { display: inline-flex; padding: 5px 12px; border-radius: 20px; background: rgba(255,255,255,.18); font-size: 12px; font-weight: 800; letter-spacing: .4px; }
.x36-page-hero h1 { position: relative; z-index: 1; margin: 10px 0 6px; color: #fff; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; font-weight: 900; text-shadow: 0 3px 8px rgba(0,55,90,.34); }
.x36-page-hero p { position: relative; z-index: 1; max-width: 720px; margin: 0; color: rgba(255,255,255,.88); font-size: 16px; }
.x36-page-search { max-width: 620px; height: 50px; margin: 18px auto; padding: 0 18px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.32); border-radius: 26px; background: rgba(4,56,90,.72); box-shadow: 0 6px 18px rgba(0,0,0,.16); }
.x36-page-search span { font-size: 25px; }
.x36-page-search input { width: 100%; height: 100%; margin: 0; padding: 0; border: 0; outline: 0; color: #fff; background: transparent; box-shadow: none; }
.x36-page-search input::placeholder { color: rgba(255,255,255,.72); }
.x36-page-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.x36-page-promotions .x36-page-grid, .x36-page-articles .x36-page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.x36-page-games .x36-page-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.x36-page-wallet .x36-page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.x36-page-card { min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 13px; background: rgba(4,71,108,.83); box-shadow: 0 7px 18px rgba(0,22,43,.22); transition: transform .18s ease, box-shadow .18s ease; }
.x36-page-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,22,43,.32); }
.x36-page-card > a { height: 100%; display: flex; flex-direction: column; color: #fff !important; }
.x36-page-card-media { position: relative; aspect-ratio: 4 / 3; padding: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, rgba(72,181,230,.42), rgba(0,72,113,.45)); }
.x36-page-card-media img { width: 100%; height: 100%; object-fit: contain; }
.x36-page-card-media > span { font-size: 54px; }
.x36-page-card-media b { position: absolute; top: 8px; right: 8px; padding: 4px 8px; border-radius: 12px; color: #13314a; background: #ffd74b; font-size: 10px; }
.x36-page-games .x36-page-card-media { aspect-ratio: 3 / 4; padding: 0; }
.x36-page-games .x36-page-card-media img, .x36-page-promotions .x36-page-card-media img, .x36-page-articles .x36-page-card-media img { object-fit: cover; }
.x36-page-promotions .x36-page-card-media, .x36-page-articles .x36-page-card-media { aspect-ratio: 16 / 9; padding: 0; }
.x36-page-card-copy { flex: 1; padding: 12px; display: flex; flex-direction: column; }
.x36-page-card-copy h2 { margin: 0 0 5px; color: #fff; font-size: 16px; line-height: 1.25; font-weight: 800; }
.x36-page-card-copy p { margin: 0 0 10px; color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.4; }
.x36-page-card-copy span { margin-top: auto; color: #ffd74b; font-size: 12px; font-weight: 800; }
.x36-empty-state { margin: 24px 0; padding: 20px; text-align: center; border-radius: 12px; background: rgba(0,61,97,.75); }
.x36-page-content, .x36-form-wrap { margin-top: 22px; padding: 28px 34px; border: 1px solid rgba(255,255,255,.24); border-radius: 16px; color: #233542; background: rgba(255,255,255,.94); box-shadow: 0 9px 24px rgba(0,31,55,.2); }
.x36-page-content h2, .x36-page-content h3 { color: #006b9e; }
.x36-page-content a { color: #007eb9; font-weight: 800; }
.x36-page-cta { margin: 24px 0; text-align: center; }
.x36-page-cta a { min-width: 220px; padding: 13px 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 26px; color: #123247 !important; background: #ffd74b; box-shadow: 0 6px 18px rgba(0,0,0,.2); font-weight: 900; }
.x36-account-form { max-width: 520px; margin: 0 auto; display: grid; gap: 14px; }
.x36-account-form label { display: grid; gap: 6px; color: #213746; font-size: 13px; font-weight: 800; }
.x36-account-form input:not([type="checkbox"]), .x36-account-form textarea { width: 100%; margin: 0; padding: 11px 13px; border: 1px solid #bad8e6; border-radius: 8px; color: #213746; background: #f8fcfe; }
.x36-account-form .x36-checkbox { display: flex; grid-auto-flow: column; grid-template-columns: auto 1fr; align-items: center; justify-content: start; }
.x36-account-form button { min-height: 45px; border: 0; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #009ee0, #0074ad); font-weight: 900; cursor: pointer; }
.x36-account-form small, .x36-form-status { color: #657985; font-size: 12px; }
.x36-download-box { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: center; }
.x36-phone-mock { min-height: 330px; padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 10px solid #123947; border-radius: 34px; color: #fff; background: linear-gradient(160deg, #00a8ec, #006d9f); box-shadow: inset 0 0 0 2px rgba(255,255,255,.24), 0 12px 28px rgba(0,0,0,.2); font-size: 64px; }
.x36-phone-mock strong { font-size: 24px; }.x36-phone-mock span { font-size: 12px; }

/* Source-matched promotion and article listings. */
.x36-page-promotions, .x36-page-articles { max-width: 1570px; }
.x36-editorial-heading {
  min-height: 62px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: visible;
  border: 0;
  border-radius: 5px;
  background: #00a6e7;
  box-shadow: none;
}
.x36-editorial-heading::after { display: none; }
.x36-editorial-heading img { width: 44px; height: 44px; object-fit: contain; }
.x36-editorial-heading h1 { margin: 0; font-size: 29px; line-height: 1; text-shadow: none; }
.x36-page-promotions .x36-page-grid, .x36-page-articles .x36-page-grid { margin-top: 19px; gap: 22px; }
.x36-page-promotions .x36-page-card, .x36-page-articles .x36-page-card {
  border: 0;
  border-radius: 4px;
  background: #00a6e7;
  box-shadow: none;
}
.x36-page-promotions .x36-page-card:hover, .x36-page-articles .x36-page-card:hover { box-shadow: 0 8px 19px rgba(0,45,74,.2); }
.x36-page-promotions .x36-page-card-media { aspect-ratio: 1 / 1; background: #f3f3f3; }
.x36-page-articles .x36-page-card-media { aspect-ratio: 1200 / 628; background: #f3f3f3; }
.x36-page-promotions .x36-page-card-media img, .x36-page-articles .x36-page-card-media img { width: 100% !important; height: 100% !important; display: block; object-fit: cover !important; }
.x36-page-promotions .x36-page-card-copy, .x36-page-articles .x36-page-card-copy { min-height: 190px; padding: 13px 15px 15px; }
.x36-page-promotions .x36-page-card-copy h2, .x36-page-articles .x36-page-card-copy h2 { margin-bottom: 7px; font-size: 17px; line-height: 1.35; }
.x36-page-promotions .x36-page-card-copy p, .x36-page-articles .x36-page-card-copy p { margin-bottom: 12px; color: rgba(255,255,255,.92); font-size: 13px; line-height: 1.45; }
.x36-page-promotions .x36-page-card-copy span, .x36-page-articles .x36-page-card-copy span { color: #fff; font-size: 13px; font-weight: 800; text-decoration: underline; }

/* Source-matched category directories. */
.x36-directory-banner { width: 100%; aspect-ratio: 3.9 / 1; margin-bottom: 8px; display: block; overflow: hidden; border-radius: 8px; background: rgba(255,255,255,.32); }
.x36-directory-banner img { width: 100%; height: 100%; display: block; object-fit: cover; }
.x36-special-category { position: relative; width: calc(100% - 16px); max-width: none; height: 550px; margin: 0 auto 26px; overflow: hidden; }
.x36-special-category > img { width: 100%; height: 550px; display: block; object-fit: cover; }
.x36-special-category > a { position: absolute; left: 50%; bottom: 34px; min-width: 150px; min-height: 43px; padding: 10px 24px; display: flex; align-items: center; justify-content: center; transform: translateX(-50%); border-radius: 24px; color: #fff !important; background: #00a6e7; box-shadow: 0 4px 14px rgba(0,0,0,.3); font-size: 16px; font-weight: 800; }
.x36-directory-heading {
  width: 100%;
  min-height: 48px;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 4px;
  background: linear-gradient(90deg, #008fd9 8%, #bfe8fa 100%);
}
.x36-directory-heading > img { width: 40px; height: 40px; object-fit: contain; }
.x36-directory-heading h1 { margin: 0; color: #fff; font-size: 24px; line-height: 1.2; font-weight: 800; text-shadow: 0 2px 4px rgba(0,65,105,.35); }
.x36-directory-search-button { min-width: 96px; min-height: 34px; margin-left: auto; padding: 5px 15px; border: 0; border-radius: 20px; color: #2b3339; background: rgba(255,255,255,.95); box-shadow: 0 2px 6px rgba(0,0,0,.18); font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.x36-directory-search-button span { margin-right: 4px; font-size: 19px; vertical-align: -1px; }
.x36-directory-search { display: none; max-width: 100%; height: 44px; margin: 9px 0 0; border-radius: 5px; }
.x36-directory-search.is-open { display: flex; }
.x36-reference-provider-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; margin-top: 8px; }
.x36-reference-provider-card { position: relative; overflow: visible; border: 0; border-radius: 7px; background: transparent; box-shadow: none; }
.x36-reference-provider-card:hover { transform: none; box-shadow: none; }
.x36-reference-provider-card > a { position: relative; overflow: hidden; border-radius: 7px; }
.x36-reference-provider-card .x36-page-card-media { width: 100%; aspect-ratio: 3 / 4; padding: 0; overflow: hidden; border-radius: 7px; background: rgba(240,240,240,.84); }
.x36-reference-provider-card .x36-page-card-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.x36-provider-play { position: absolute; inset: 0; isolation: isolate; display: flex; align-items: center; justify-content: center; color: transparent; background: transparent; transition: background .18s ease; }
.x36-reference-provider-card:hover .x36-provider-play,
.x36-reference-provider-card:focus-within .x36-provider-play,
.x36-simple-game-card:hover .x36-provider-play,
.x36-simple-game-card:focus-within .x36-provider-play { color: #fff; background: rgba(0,0,0,.56); }
.x36-reference-provider-card:hover .x36-provider-play::after,
.x36-reference-provider-card:focus-within .x36-provider-play::after,
.x36-simple-game-card:hover .x36-provider-play::after,
.x36-simple-game-card:focus-within .x36-provider-play::after { content: ""; position: absolute; z-index: -1; width: 82px; height: 36px; border-radius: 4px; background: #009edb; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.x36-page-games .x36-sport-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 10px; }
.x36-sport-card { overflow: hidden; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.x36-sport-card:hover { transform: none; box-shadow: none; }
.x36-sport-card .x36-page-card-media { aspect-ratio: 4.4375 / 1; padding: 0; background: transparent; }
.x36-sport-card .x36-page-card-media img { object-fit: contain; }
.x36-page-games .x36-simple-game-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.x36-simple-game-card { position: relative; overflow: hidden; border: 0; border-radius: 7px; background: transparent; box-shadow: none; }
.x36-simple-game-card:hover { transform: none; box-shadow: none; }
.x36-simple-game-card > a { position: relative; height: auto; overflow: hidden; border-radius: 7px; }
.x36-page-games .x36-simple-game-card .x36-page-card-media { aspect-ratio: 3 / 4; padding: 0; background: rgba(20,20,20,.88); }
.x36-simple-game-card .x36-page-card-media img { object-fit: cover; }
.x36-simple-game-card .x36-page-card-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; min-height: 32px; padding: 7px 9px; display: block; background: rgba(0,0,0,.72); }
.x36-simple-game-card .x36-page-card-copy h2 { margin: 0; overflow: hidden; color: #fff; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.x36-simple-cockfight-grid { row-gap: 130px !important; }
.x36-simple-cockfight-grid .x36-simple-game-card:nth-child(4n + 5) { grid-column: 1; }

/* The lottery page uses the compact two-row cards from the reference site. */
.x36-lotto-tools {
  width: 100%;
  min-height: 86px;
  padding: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.x36-lotto-tools a { min-height: 78px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 8px; color: #fff !important; background: rgba(0,0,0,.62); }
.x36-lotto-tools span { color: rgba(255,255,255,.58); font-size: 27px; line-height: 1; }
.x36-lotto-tools strong { font-size: 15px; line-height: 1.2; font-weight: 800; }
.x36-lotto-directory-grid { margin-top: 0; }
.x36-lotto-directory-group {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  border-radius: 8px;
  background: rgba(0,0,0,.6);
}
.x36-lotto-directory-card { min-width: 0; min-height: 114px; overflow: hidden; border: 1px solid rgba(255,255,255,.38); border-radius: 8px; color: #fff; background: rgba(25,25,25,.92); box-shadow: 0 2px 5px rgba(0,0,0,.2); }
.x36-lotto-directory-card header { height: 62px; padding: 8px 12px; display: flex; align-items: center; gap: 8px; background-color: #3d57c5; background-position: center; background-size: cover; }
.x36-lotto-directory-card header img, .x36-lotto-directory-card header span { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.x36-lotto-directory-card header span { display: inline-flex; align-items: center; justify-content: center; overflow: hidden; background: rgba(255,255,255,.18); color: #fff; font-size: 26px; line-height: 1; }
.x36-lotto-directory-card header strong { min-width: 0; overflow: hidden; font-size: 16px; line-height: 1.32; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.x36-lotto-directory-body { height: 51px; padding: 4px 10px 4px 12px; display: flex; align-items: center; gap: 7px; }
.x36-lotto-directory-body > div { min-width: 0; flex: 1; }
.x36-lotto-directory-body b { display: block; overflow: hidden; color: #ff4545; font-size: 11px; line-height: 15px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.x36-lotto-directory-body p { margin: 0; overflow: hidden; color: rgba(255,255,255,.86); font-size: 10px; line-height: 14px; text-overflow: ellipsis; white-space: nowrap; }
.x36-lotto-directory-body p span { color: #f5c219; }
.x36-lotto-directory-body > a { flex: 0 0 80px; width: 80px; height: 36px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; color: #25323b !important; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); font-size: 12px; line-height: 1; font-weight: 800; }
.x36-lotto-tone-0 header { background-color: #adadad; background-image: url("https://1xbet36s.com/_nuxt/img/thai.f4b4c70.png"); }
.x36-lotto-tone-1 header { background-color: #e93e8c; }
.x36-lotto-tone-2 header { background-color: #27a844; }
.x36-lotto-tone-3 header, .x36-lotto-tone-4 header { background-color: #fd7e15; }
.x36-lotto-tone-5 header, .x36-lotto-tone-6 header, .x36-lotto-tone-7 header, .x36-lotto-tone-8 header { background-color: #adadad; background-image: url("https://1xbet36s.com/_nuxt/img/pingpong.73405a1.png"); }
.x36-lotto-tone-9 header { background-color: #adadad; background-image: url("https://1xbet36s.com/_nuxt/img/zodiac.2b1955d.png"); }
.x36-lotto-tone-10 header { background-color: #adadad; background-image: url("https://1xbet36s.com/_nuxt/img/yeekee.f45a5b6.png"); }
.x36-lotto-tone-11 header, .x36-lotto-tone-12 header, .x36-lotto-tone-13 header, .x36-lotto-tone-14 header, .x36-lotto-tone-15 header, .x36-lotto-tone-16 header, .x36-lotto-tone-17 header, .x36-lotto-tone-18 header, .x36-lotto-tone-19 header, .x36-lotto-tone-20 header { background-color: #3d57c5; }
.x36-lotto-tone-21 header, .x36-lotto-tone-22 header { background-color: #8b17c0; }
.x36-lotto-tone-23 header, .x36-lotto-tone-24 header, .x36-lotto-tone-25 header, .x36-lotto-tone-26 header, .x36-lotto-tone-27 header, .x36-lotto-tone-28 header, .x36-lotto-tone-29 header, .x36-lotto-tone-30 header, .x36-lotto-tone-31 header, .x36-lotto-tone-32 header, .x36-lotto-tone-33 header, .x36-lotto-tone-34 header, .x36-lotto-tone-35 header, .x36-lotto-tone-36 header, .x36-lotto-tone-37 header, .x36-lotto-tone-38 header, .x36-lotto-tone-39 header, .x36-lotto-tone-40 header, .x36-lotto-tone-41 header, .x36-lotto-tone-42 header { background-color: #126c52; }

/* Promotion and article detail pages. */
.x36-editorial-detail { max-width: 1568px; margin-top: 10px; }
.x36-detail-back { width: 100%; min-height: 40px; padding: 8px 18px; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.72) !important; background: rgba(255,255,255,.08); font-size: 14px; }
.x36-detail-back span { font-size: 27px; line-height: 1; }
.x36-detail-panel { margin: 20px 0; padding: 20px; overflow: hidden; border: 1px solid #00aeff; border-radius: 8px; color: #f7f7f7; background: rgba(0,0,0,.6); }
.x36-detail-panel > h1 { margin: 0 0 20px; color: #fff; text-align: center; font-size: 32px; line-height: 1.5; font-weight: 800; }
.x36-detail-image { width: 100%; height: 350px; margin: 0; display: flex; align-items: center; justify-content: center; }
.x36-detail-image img { width: auto; height: auto; max-width: 100%; max-height: 350px; display: block; object-fit: contain; }
.x36-detail-copy { margin-top: 30px; padding: 12px 15px; color: #f7f7f7; font-size: 16px; line-height: 1.42; }
.x36-detail-copy > :first-child { margin-top: 0; }
.x36-detail-copy > :last-child { margin-bottom: 0; }
.x36-detail-copy h1, .x36-detail-copy h2, .x36-detail-copy h3, .x36-detail-copy h4, .x36-detail-copy p, .x36-detail-copy li, .x36-detail-copy strong, .x36-detail-copy a { color: inherit; }
.x36-detail-articles .x36-detail-copy { color: #000; }
.x36-detail-copy p { margin: 0 0 16px; }
.x36-detail-copy h1 { margin: 0; font-size: 32px; line-height: 1.42; }
.x36-detail-copy h2 { margin: 0; font-size: 24px; line-height: 1.42; }
.x36-detail-copy h3 { margin: 0; font-size: 20px; line-height: 1.42; }

/* Header/modal controls deliberately use buttons so they never leave the page. */
button.x36-btn, button.x36-nav-item, button.x36-float-item, .x36-mobile-nav button { font-family: inherit; cursor: pointer; }
button.x36-btn { appearance: none; }
button.x36-nav-item { border: 0; background: transparent; }
button.x36-float-item { width: 64px; height: auto; min-height: 0; padding: 0 0 4px; display: block; border: 0; background: transparent; }
button.x36-float-item img { width: 64px; height: auto; max-height: 64px; }
button.x36-float-toggle { width: 50px; height: 120px; padding: 0; border: 0; background: transparent; }
.x36-mobile-nav button { margin: 0; padding: 5px 2px; border: 0; color: #335266; background: transparent; font-size: 10px; }
.x36-modal[hidden] { display: none !important; }
html.x36-modal-open { overflow: hidden; }
.x36-modal { position: fixed; z-index: 5000; inset: 0; padding: 18px; display: flex; align-items: center; justify-content: center; }
.x36-modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(0,22,38,.72); backdrop-filter: blur(2px); cursor: pointer; }
.x36-modal-panel { position: relative; z-index: 1; width: min(100%, 450px); max-height: calc(100vh - 36px); overflow: auto; padding: 24px 28px 28px; border-radius: 7px; color: #243744; background: #fff; box-shadow: 0 18px 55px rgba(0,0,0,.38); }
.x36-modal-panel h2 { margin: 0 32px 22px 0; color: #263b48; font-size: 25px; font-weight: 900; }
.x36-api-note { margin: -12px 0 16px; padding: 8px 10px; border-radius: 5px; color: #7d5800; background: #fff8df; font-size: 11px; line-height: 1.4; }
.x36-modal-close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; padding: 0; border: 0; color: #6e7e87; background: transparent; font-size: 30px; line-height: 1; cursor: pointer; }
.x36-modal-contact { width: min(100%, 510px); }
.x36-contact-choice { min-height: 78px; margin-top: 12px; padding: 12px 14px; display: grid; grid-template-columns: 70px 1fr 18px; gap: 14px; align-items: center; border: 1px solid #d9e5eb; border-radius: 7px; color: #243744 !important; background: #f9fcfd; }
.x36-contact-choice b { min-height: 49px; display: flex; align-items: center; justify-content: center; border-radius: 8px; color: #fff; font-size: 11px; }
.x36-contact-line b { background: #06c755; }
.x36-contact-telegram b { background: #229ed9; }
.x36-contact-choice span { display: grid; gap: 2px; }
.x36-contact-choice strong { color: #243744; font-size: 15px; }
.x36-contact-choice small { color: #70838e; font-size: 12px; }
.x36-contact-choice i { color: #00a5e5; font-size: 28px; font-style: normal; }
.x36-main-account-form { display: grid; gap: 14px; }
.x36-main-account-form label { display: grid; gap: 6px; color: #344a57; font-size: 13px; font-weight: 800; }
.x36-main-account-form input:not([type="checkbox"]), .x36-main-account-form select { width: 100%; height: 44px; margin: 0; padding: 8px 12px; border: 1px solid #cbd9e0; border-radius: 5px; color: #243744; background: #fff; box-shadow: none; }
.x36-main-account-form input:focus, .x36-main-account-form select:focus { outline: 2px solid rgba(0,166,231,.2); border-color: #00a6e7; }
.x36-forgot { justify-self: end; margin-top: -7px; color: #039bd3 !important; font-size: 12px; }
.x36-main-account-form .x36-modal-submit { min-height: 46px; padding: 10px 20px; border: 0 !important; border-radius: 5px; color: #fff !important; background: #00a6e7 !important; font-weight: 900; cursor: pointer; }
.x36-main-account-form .x36-switch-modal { padding: 2px; border: 0 !important; color: #058fc4 !important; background: transparent !important; font-weight: 800; cursor: pointer; }
.x36-account-status { min-height: 0; margin: 0; color: #ad5f00; font-size: 12px; line-height: 1.45; }
.x36-account-status:empty { display: none; }
.x36-account-status a { color: #007eaf; font-weight: 900; }
.x36-modal-register { width: min(100%, 800px); }
.x36-register-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.x36-register-grid .x36-grid-wide { grid-column: 1 / -1; }
.x36-modal-check { display: flex !important; grid-auto-flow: column; grid-template-columns: auto 1fr; align-items: center; justify-content: start; }
.x36-modal-check input { width: 17px; height: 17px; margin: 0 8px 0 0; }

@media (max-width: 1024px) {
  .x36-top-row { gap: 25px; }
  .x36-logo img { width: 160px; }
  .x36-nav-item { padding-left: 11px; padding-right: 11px; }
  .x36-lottery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .x36-provider-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .x36-page-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .x36-page-promotions .x36-page-grid, .x36-page-articles .x36-page-grid, .x36-page-games .x36-page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .x36-reference-provider-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
  .x36-page-games .x36-sport-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x36-page-games .x36-simple-game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .x36-lotto-directory-group { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  body.elementor-page { padding-bottom: 70px; background-size: auto 640px; }
  .x36-header-wrap { box-shadow: 0 2px 8px rgba(0,40,80,.24); }
  .x36-top-row { height: 54px; padding: 0 8px; gap: 8px; }
  .x36-header-wrap .x36-mobile-toggle { display: block; flex: 0 0 27px; font-size: 26px; }
  .x36-logo img { width: 104px; max-height: 30px; }
  .x36-favorite, .x36-flag { display: none; }
  .x36-auth { gap: 5px; }
  .x36-btn { min-width: 0; height: 34px; padding: 0 12px; font-size: 12px; }
  .x36-nav-row { display: none; position: absolute; top: 54px; left: 0; right: 0; min-height: 0; box-shadow: 0 7px 16px rgba(0,0,0,.26); }
  .x36-menu-open .x36-nav-row { display: block; }
  .x36-nav-inner { min-height: 0; padding: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .x36-nav-item { min-height: 42px; padding: 7px 8px; justify-content: center; font-size: 12px; }
  .x36-nav-item img { width: 18px; height: 18px; }
  .x36-announcement { height: 36px; padding-left: 7px; justify-content: flex-start; font-size: 13px; }
  .x36-announcement span { display: block; animation: x36-marquee 18s linear infinite; }
  .x36-categories { padding: 7px 0 5px; }
  .x36-category-inner { justify-content: flex-start; gap: 7px; padding: 0 8px 4px; }
  .x36-category-item { flex-basis: 62px; font-size: 12px; }
  .x36-category-icon { width: 62px; height: 62px; border-radius: 10px; }
  .x36-category-icon img { width: 60px; height: 60px; }
  .x36-banner { width: calc(100% - 16px); margin: 5px auto 8px; }
  .x36-banner img { aspect-ratio: 2.75 / 1; border-radius: 9px; }
  .x36-panel { width: calc(100% - 16px); margin: 7px auto 10px; padding: 0 6px 10px; border-radius: 10px; }
  .x36-section-heading { min-height: 42px; margin: 0 -6px 8px; padding: 0 8px; }
  .x36-heading-main { gap: 5px; }
  .x36-heading-main img { width: 31px; height: 31px; }
  .x36-heading-main h2 { font-size: 19px; }
  .x36-more-btn { padding: 7px 11px; font-size: 11px; }
  .x36-heading-hero .x36-section-heading { min-height: 54px; }
  .x36-heading-hero .x36-heading-main img { width: 42px; height: 42px; }
  .x36-heading-hero .x36-heading-main h2 { font-size: 22px; }
  .x36-brand-strip { justify-content: flex-start; margin-bottom: 9px; }
  .x36-brand-strip a { flex-basis: 82px; width: 82px; height: 82px; }
  .x36-card-grid { gap: 7px; }
  .layout-game .x36-card { flex-basis: 145px; }
  .layout-provider .x36-card { flex-basis: 136px; }
  .layout-landscape .x36-card { flex-basis: 205px; }
  .x36-card-name { min-height: 27px; padding: 6px; font-size: 11px; }
  .x36-badge { font-size: 9px; }
  .x36-lottery-grid { grid-template-columns: 1fr; gap: 8px; }
  .x36-lotto-title { min-height: 45px; padding: 6px 10px; font-size: 15px; }
  .x36-lotto-title span { font-size: 23px; }
  .x36-lotto-body { min-height: 68px; padding: 9px 10px; }
  .x36-lotto-body a { padding: 8px 13px; font-size: 12px; }
  .x36-seo-copy { width: calc(100% - 16px); margin: 10px auto; padding: 15px; font-size: 14px; }
  .x36-page { width: calc(100% - 16px); margin: 8px auto 16px; }
  .x36-page-hero { padding: 22px 18px; border-radius: 12px; }
  .x36-page-hero::after { right: 10px; top: -9px; font-size: 90px; }
  .x36-page-hero h1 { font-size: 29px; }
  .x36-page-hero p { font-size: 13px; }
	.x36-editorial-heading { min-height: 51px; padding: 6px 10px; border-radius: 4px; }
	.x36-editorial-heading img { width: 38px; height: 38px; }
	.x36-editorial-heading h1 { font-size: 23px; }
  .x36-page-search { height: 44px; margin: 11px 0; }
  .x36-page-grid, .x36-page-promotions .x36-page-grid, .x36-page-articles .x36-page-grid, .x36-page-games .x36-page-grid, .x36-page-wallet .x36-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
  .x36-directory-heading { min-height: 44px; padding: 3px 7px; gap: 6px; }
  .x36-directory-heading > img { width: 36px; height: 36px; }
  .x36-directory-heading h1 { font-size: 19px; }
  .x36-directory-search-button { min-width: 82px; min-height: 31px; padding: 4px 10px; font-size: 12px; }
  .x36-reference-provider-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 7px; }
  .x36-page-games .x36-sport-grid { grid-template-columns: 1fr; gap: 8px; }
  .x36-page-games .x36-simple-game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .x36-simple-cockfight-grid { row-gap: 36px !important; }
  .x36-simple-cockfight-grid .x36-simple-game-card:nth-child(4n + 5) { grid-column: auto; }
  .x36-lotto-tools { min-height: 68px; gap: 5px; padding-top: 6px; }
  .x36-lotto-tools a { min-height: 62px; padding: 4px; }
  .x36-lotto-tools span { font-size: 21px; }
  .x36-lotto-tools strong { font-size: 11px; }
  .x36-lotto-directory-group { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding: 6px; }
  .x36-lotto-directory-card { min-height: 105px; }
  .x36-lotto-directory-card header { height: 57px; padding: 7px 8px; gap: 6px; }
  .x36-lotto-directory-card header span { flex-basis: 25px; width: 25px; height: 25px; font-size: 14px; }
  .x36-lotto-directory-card header strong { font-size: 13px; }
  .x36-lotto-directory-body { height: 47px; padding: 3px 6px 3px 8px; }
  .x36-lotto-directory-body > a { flex-basis: 62px; width: 62px; height: 32px; padding: 0 4px; font-size: 10px; }
  .x36-lotto-directory-body b { font-size: 9px; line-height: 12px; }
  .x36-lotto-directory-body p { font-size: 8px; line-height: 11px; }
  .x36-detail-panel { margin-top: 10px; padding: 12px; }
  .x36-detail-panel > h1 { margin-bottom: 12px; font-size: 22px; line-height: 1.35; }
  .x36-detail-image { height: 260px; }
  .x36-detail-image img { max-height: 260px; }
  .x36-detail-copy { margin-top: 16px; padding: 8px 4px; font-size: 14px; }
  .x36-special-category, .x36-special-category > img { height: 310px; }
  .x36-special-category > a { bottom: 18px; min-width: 120px; min-height: 38px; padding: 8px 18px; font-size: 14px; }
  .x36-page-card-copy { padding: 9px; }
  .x36-page-card-copy h2 { font-size: 13px; }
  .x36-page-card-copy p { font-size: 10px; }
	.x36-page-promotions .x36-page-card-copy, .x36-page-articles .x36-page-card-copy { min-height: 150px; padding: 9px; }
	.x36-page-promotions .x36-page-card-copy h2, .x36-page-articles .x36-page-card-copy h2 { font-size: 13px; }
	.x36-page-promotions .x36-page-card-copy p, .x36-page-articles .x36-page-card-copy p { font-size: 10px; }
	.x36-modal { padding: 8px; }
	.x36-modal-panel { max-height: calc(100vh - 16px); padding: 21px 17px 23px; }
	.x36-modal-panel h2 { font-size: 22px; }
	.x36-register-grid { grid-template-columns: 1fr; }
	.x36-register-grid .x36-grid-wide { grid-column: auto; }
  .x36-page-content, .x36-form-wrap { margin-top: 12px; padding: 18px 15px; border-radius: 12px; }
  .x36-download-box { grid-template-columns: 1fr; }
  .x36-phone-mock { width: 190px; min-height: 270px; margin: 0 auto; }
  .x36-footer-inner { padding: 22px 8px 88px; }
  .x36-footer h2 { font-size: 26px; margin-bottom: 16px; }
  .x36-provider-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; }
  .x36-provider-box { padding: 4px; }
  .x36-footer-meta { grid-template-columns: 1fr; gap: 10px; }
  .x36-footer-brand { order: 3; }
  .x36-trust-box { min-height: 0; }
  .x36-floating-rail { display: none; }
  .x36-mobile-nav {
    position: fixed;
    z-index: 1500;
    left: 6px;
    right: 6px;
    bottom: 7px;
    height: 64px;
    padding: 5px 8px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 28px;
    background: rgba(42,44,48,.9);
    backdrop-filter: blur(9px);
    box-shadow: 0 6px 22px rgba(0,0,0,.35);
  }
  .x36-mobile-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #fff !important; font-size: 10px; font-weight: 700; }
  .x36-mobile-nav a span { color: #ffcf40; font-size: 20px; }
}

@keyframes x36-marquee {
  from { transform: translateX(100%); }
  to { transform: translateX(-120%); }
}
