:root {
  --primary: #1457B8;
  --primary-dark: #0B3D91;
  --primary-blue: #1457B8;
  --accent-pink: #E07A9F;
  --accent-orange: #F59E0B;
  --accent-orange-soft: #FCE8D5;
  --page: #E8F4FC;
  --surface: #FCE8D5;
  --surface-white: #FCE8D5;
  --text: #172033;
  --text-dark: #172033;
  --muted: #667085;
  --text-secondary: #667085;
  --timing-light-blue: #F4F7FB;
  --border-blue: #1457B8;
  --border-card: #e07a9fb8;
  --white: #FFFFFF;
  --box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  --touch: 44px;
  --content: 900px;
  --border: #1457B8;
  --bg-w: #af641e;
  --bg-hed: #1457B8;
  --text-shadow: #172033;
  --h1: #1457B8;
  --h2: #1457B8;
  --h3: #1457B8;
  --heading-green: #1457B8;
  --sub-head: #1457B8;
  --time-color: #1457B8;
  --res-color: #172033;
  --link: #1457B8;
  --frame-width: 2px;
  --frame-radius-card: 16px;
  --frame-radius-section: 16px;
  --frame-radius-button: 12px;
  --frame-glow: 0 0 0 1px rgba(224, 122, 159, 0.28), 0 6px 18px rgba(224, 122, 159, 0.22);
  --frame-glow-hover: 0 0 0 2px rgba(224, 122, 159, 0.4), 0 8px 22px rgba(224, 122, 159, 0.3);
  --market-name: #FFE14A;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  background: #E8F4FC;
  color: var(--text);
  text-align: center;
  margin: 0;
  padding: 8px 0 calc(92px + env(safe-area-inset-bottom, 0px));
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(15px, 3.8vw, 16px);
  font-weight: 400;
  line-height: 1.5;
  max-width: 100%;
  overflow-x: hidden;
}

.site-shell {
  width: min(100% - 16px, var(--content));
  max-width: var(--content);
  margin-inline: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-top: 0.7em;
  margin-bottom: 0.45em;
  letter-spacing: 0;
  line-height: 1.3;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

a {
  text-decoration: none;
  color: var(--h1);
}

.box p a,
.readable-block a {
  color: var(--link);
  text-decoration: underline;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
  color: var(--res-color);
}

a:focus-visible,
button:focus-visible,
input[type="button"]:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

p {
  margin: 0 0 0.9em;
  font-size: clamp(14px, 3.6vw, 16px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  overflow-wrap: break-word;
  word-break: normal;
  text-align: center;
}

.logo p {
  text-align: center;
  color: var(--text-secondary);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.yellow {
  background: var(--timing-light-blue);
  color: var(--text-dark);
  padding: 2px 6px;
  border-radius: 4px;
  border: 2px solid var(--primary-blue);
  font-weight: 700;
}

ul, ol { font-size: 15px; color: var(--text); }
li { font-size: 15px; line-height: 1.6; }
ol { text-align: left; }
ul { list-style: none; padding: 0; }
.count { font-size: 14px; }

.contener h2,
.contener h4,
.contener h5,
.contener h6 {
  margin: 0;
  padding: 8px 10px;
  font-size: clamp(15px, 4.2vw, 18px);
}

h1 {
  margin: 0 0 8px;
  padding: 0;
  font-size: clamp(22px, 6vw, 30px);
  color: var(--h1);
  text-transform: none;
  text-shadow: none;
  font-weight: 800;
}

h2 {
  color: var(--h2);
  font-size: clamp(17px, 4.2vw, 22px);
}

h3 {
  color: var(--h3);
  font-size: clamp(15px, 3.8vw, 18px);
}

.brand-mark {
  margin: 0 0 6px;
  color: var(--h2);
  font-size: clamp(13px, 3.4vw, 15px);
  font-weight: 800;
  letter-spacing: 0.4px;
  text-align: center;
}

.site-intro {
  border-top: 3px solid var(--primary-blue);
  text-align: center;
}

.box.site-intro,
.contener.box.logo.site-intro {
  position: relative;
  background: #E8F4FC;
  padding: 12px 12px 10px;
}

.site-intro h1,
.site-intro h3.brand-sub {
  margin-top: 0;
  text-align: center;
}

.brand-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 8px;
}

.brand-name-plate {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  border: 2px solid var(--primary);
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(20, 87, 184, 0.12), 0 8px 20px rgba(20, 87, 184, 0.12);
}

.brand-name-plate .brand-logo {
  width: 100%;
  max-width: 100%;
}

.brand-name-plate h1.brand-wordmark {
  margin: 0;
  font-size: clamp(20px, 6.2vw, 34px);
}

.brand-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.brand-mascot,
.logo .brand-mascot,
.logo img.brand-mascot {
  display: none;
}

.brand-mascot-left {
  left: auto;
}

.brand-mascot-right {
  right: auto;
  transform: scaleX(-1);
}

.brand-hero .brand-wordmark,
.brand-hero .logo h1.brand-wordmark,
.brand-hero h1.brand-wordmark {
  font-size: clamp(12px, 4.4vw, 30px);
  max-width: 100%;
}

.brand-logo,
.logo a.brand-logo,
.logo a.brand-logo:hover {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none !important;
  color: inherit;
}

.brand-wordmark,
.logo h1.brand-wordmark,
h1.brand-wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 2px;
  padding: 0;
  min-height: 34px;
  max-width: 100%;
  font-size: clamp(18px, 5.6vw, 36px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--primary);
  white-space: nowrap;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.18em;
  height: 1.18em;
  border-radius: 12px;
  background: linear-gradient(180deg, #1d6ad4 0%, #1457B8 100%);
  color: var(--white);
  font-size: 0.72em;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.brand-name {
  color: var(--primary);
  font-weight: 900;
  min-width: 0;
  letter-spacing: -0.03em;
}

.brand-tld {
  color: #0B3D91;
  font-weight: 800;
  letter-spacing: -0.04em;
  opacity: 0.82;
}

.logo a.brand-logo:hover .brand-name {
  color: var(--primary-dark);
}

.brand-tagline {
  text-align: center;
  font-weight: 800;
  font-size: clamp(12px, 3.2vw, 14px);
  color: var(--primary-dark);
  margin: 0 auto 2px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 100%;
}

.brand-sub,
.site-intro h3.brand-sub {
  text-align: center;
  margin: 0 auto 4px;
  padding: 0;
  font-size: clamp(12px, 3.4vw, 15px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

.intro-lead {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
  font-size: clamp(13px, 3.3vw, 15px);
  line-height: 1.4;
}

.logo a { color: var(--h1); }

.logo h1 {
  font-size: clamp(20px, 6.4vw, 28px);
  white-space: normal;
}

.contener,
.lucky-container,
.results-section,
.section-bar,
.market-card,
.box,
.faq-section,
.seo-keywords,
footer.site-footer {
  width: min(100%, var(--content));
  max-width: var(--content);
  margin-inline: auto;
}

footer.contener.box.site-footer {
  width: min(100%, var(--content));
  max-width: var(--content);
  padding: 14px 14px 12px;
}

.contener,
.lucky-container {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 0;
}

.premium-frame,
.box,
.market-card,
.lucky-container,
.section-bar,
.faq-section,
.bg-danger,
.bg-head {
  position: relative;
  border: var(--frame-width) solid var(--accent-pink);
  box-shadow: var(--frame-glow);
  contain: layout style;
  transition: box-shadow .15s ease, background-color .15s ease;
  max-width: 100%;
}

.premium-frame:hover,
.market-card:hover {
  box-shadow: var(--frame-glow-hover);
}

.box {
  margin-top: 12px;
  margin-bottom: 12px;
  padding: 16px 18px;
  border-radius: var(--frame-radius-section);
  background: var(--bg-w);
}

.box h2 {
  text-align: center;
  font-size: clamp(17px, 4.2vw, 22px);
  margin: 8px 0 12px;
  font-weight: 700;
  color: var(--h2);
  text-transform: none;
  text-shadow: none;
  animation: none;
}

.box h3 {
  text-align: center;
  color: var(--h3);
  text-transform: none;
}

.box p,
.readable-block p,
.time-color p,
.content p {
  color: var(--text);
  font-weight: 400;
  line-height: 1.7;
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}

h2.section-bar:has(+ .box .content),
.box:has(> .content) {
  width: min(100%, var(--content));
  max-width: var(--content);
  margin-inline: auto;
  text-align: center;
}

.box:has(> .content) > .logo,
.box:has(> .content) > .contener.box.logo {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 10px;
  padding: 10px 12px;
  text-align: center;
  font-weight: 700;
  color: var(--primary);
}

.box:has(> .content) .content {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.box:has(> .content) .content p {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  overflow-wrap: break-word;
  word-break: break-word;
}

.info-card {
  width: min(100%, var(--content));
  max-width: var(--content);
  margin-inline: auto;
  text-align: center;
}

.info-card h2,
.info-card h3 {
  text-align: center;
  text-transform: uppercase;
  color: var(--primary-blue);
}

.info-card p {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.timings-card {
  text-align: center;
}

.timings-card h2 {
  text-align: center;
}

.timings-card p {
  text-align: center;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.intro-card {
  text-align: center;
}

.box.intro-card {
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 8px 12px;
  background: #E8F4FC;
}

.intro-card h2,
.box.intro-card h2 {
  margin: 0 0 4px;
  padding: 0;
  font-size: clamp(14px, 3.6vw, 16px);
  line-height: 1.2;
}

.intro-card h3,
.box.intro-card h3 {
  text-transform: none;
  font-size: clamp(13px, 3.4vw, 15px);
  line-height: 1.25;
  margin: 0 auto 6px;
  max-width: 36rem;
  text-align: center;
}

.intro-card p {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 6px;
  line-height: 1.4;
  font-size: clamp(13px, 3.4vw, 14px);
}

.intro-card p:last-child,
.intro-card .intro-note {
  margin-bottom: 0;
}

.intro-card .intro-note {
  color: var(--muted);
  font-size: clamp(12px, 3.2vw, 13px);
}

.date-banner {
  text-align: center;
}

.box.date-banner {
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 4px 10px;
}

.date-banner p {
  text-align: center;
  margin: 1px 0;
  padding: 0;
  font-weight: 700;
  color: var(--primary-blue);
  max-width: 100%;
  font-size: clamp(12px, 3.2vw, 14px);
  line-height: 1.2;
}

.announce-bar {
  font-size: clamp(13px, 3.4vw, 16px);
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: min(100%, var(--content));
  max-width: var(--content);
  margin: 0 auto 14px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  min-width: 120px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--accent-orange);
  color: var(--text) !important;
  font-weight: 700;
  text-decoration: none !important;
  border: 1px solid var(--accent-orange);
  touch-action: manipulation;
  transition: box-shadow .15s ease, background-color .15s ease;
}

.footer-brand,
.site-footer .footer-brand,
.info-card.site-footer .footer-brand,
.info-card.site-footer p {
  margin: 4px auto 8px;
  text-align: center;
  max-width: 100%;
}

.footer-brand,
.site-footer .footer-brand,
.info-card.site-footer .footer-brand {
  display: block;
  width: 100%;
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 800;
  color: var(--primary-blue);
}

.footer-copy {
  margin: 5px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
}

.footer-note {
  margin: 5px 0;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

.footer-admin,
.site-footer .footer-admin,
.info-card.site-footer .footer-admin {
  text-align: center;
  font-weight: 700;
  color: var(--primary-blue);
}

.footer-nav,
.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 8px;
  margin: 10px 0 8px;
  max-width: 100%;
}

.footer-nav a,
.footer-contacts a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--timing-light-blue);
  color: var(--link);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  line-height: 1.2;
}

.footer-nav a:hover,
.footer-contacts a:hover {
  background: #dcefff;
}

.dock-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.bg-w { background: var(--bg-w); }
.orignal { color: var(--primary-blue); }

img {
  max-width: 100%;
  height: auto;
}

.img-box {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 10px;
  border: 3px solid var(--border);
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo img { width: 25%; height: auto; }

@media (max-width: 767px) {
  .logo img { width: 78%; }
  .logo img.brand-mascot,
  .brand-mascot {
    display: none;
  }
  .brand-name-plate { padding: 10px 12px; }
  .brand-name-plate h1.brand-wordmark { font-size: clamp(18px, 5.8vw, 26px); }
  .box.site-intro,
  .contener.box.logo.site-intro {
    padding: 10px 10px 8px;
  }
  .box { padding: 12px 12px; }
  .img-box { height: 160px; }
  .market-head {
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    gap: 4px;
    padding: 6px;
  }
  .mbtn {
    min-width: 52px;
    min-height: 40px;
    font-size: 10px;
    padding: 6px 2px;
  }
  .market-name {
    font-size: clamp(10px, 3.1vw, 14px);
  }
  .chart-wrap {
    margin-left: 0;
    margin-right: 0;
    overflow-x: hidden;
  }
  .chart-wrap table {
    min-width: 0 !important;
    width: 100% !important;
    table-layout: fixed;
  }
  .chart-wrap td,
  .chart-wrap th {
    padding: 3px 1px;
    font-size: clamp(8px, 2.7vw, 12px);
    line-height: 1.15;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .chart-wrap .chart_date,
  .chart-wrap .chart-date-head {
    width: 4.7rem;
    min-width: 4.7rem;
    max-width: 5.2rem;
    font-size: 10px;
    word-break: keep-all;
    overflow-wrap: normal;
  }
  .chart-wrap tbody td:nth-child(3n+3) {
    font-size: clamp(9px, 2.8vw, 13px);
  }
  .texthead,
  .head_live,
  .live {
    padding-left: 4px;
    padding-right: 4px;
  }
  #scrollToBottomBtn,
  #scrollToTopBtn {
    min-height: 44px;
    margin: 8px auto 12px;
  }
}

.t,
.t24 {
  font-size: clamp(17px, 5vw, 22px);
  line-height: 1.3;
}

.h1 { font-size: 14px; }
.t15 { font-size: clamp(12px, 3.2vw, 14px); }
.t20 { font-size: clamp(15px, 4.2vw, 18px); }
.text { color: var(--text); }
.text-white { color: var(--white); }
.bg-head,
.bg-head.text,
.bg-head.text-white {
  color: var(--white);
}

.time-color,
.box.time-color,
.box.time-color p,
.box.time-color li,
.box.time-color div {
  color: var(--text);
}

.time-color h2,
.time-color h3,
.time-color > span {
  color: var(--heading-green);
  font-weight: 700;
  text-shadow: none;
}

.time-color.t15,
.time-color.t20,
.market-time {
  color: var(--heading-green);
  font-weight: 700;
  text-shadow: none;
}

.support-box {
  color: var(--text);
  font-weight: 600;
  text-align: center;
}

.support-line {
  text-align: center;
  margin: 0 0 10px;
  font-weight: 700;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 16px;
}

.support-help-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.support-help {
  font-weight: 700;
  color: var(--text);
}

.support-actions .cta-btn {
  min-width: 108px;
  margin: 0;
}

.support-fix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  padding: 8px 14px;
  border-radius: var(--frame-radius-button);
  background: var(--primary);
  color: var(--white) !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  border: 1px solid var(--primary-dark);
}

.res-color {
  color: var(--res-color);
  font-weight: 700;
  text-shadow: none;
}

.bg-main { background-color: var(--surface-white); }

.bg-head {
  background: var(--primary-blue);
  color: var(--white);
  border-radius: var(--frame-radius-section);
  white-space: normal;
  overflow-wrap: break-word;
}

h2.bg-head,
h3.bg-head,
.t24.bg-head,
.bg-head.t24 {
  font-size: clamp(14px, 3.8vw, 17px);
  line-height: 1.35;
  padding: 10px 12px;
  color: var(--white);
}

.running-text { color: var(--text); }

.section-bar {
  margin: 16px auto 12px;
  padding: 10px 12px;
  min-height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: clamp(15px, 3.8vw, 18px);
  font-weight: 700;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.site-footer a {
  color: var(--link);
  text-decoration: underline;
}

.results-section {
  max-width: var(--content);
  margin: 0 auto 8px;
}

.results-section .section-bar {
  margin: 8px auto 6px;
  padding: 4px 10px;
  min-height: 0;
  font-size: clamp(13px, 3.4vw, 15px);
  line-height: 1.2;
}

.results-section .market-card {
  margin-bottom: 8px;
}

.results-section .market-head {
  min-height: 0;
  padding: 4px 8px;
}

.results-section .market-name {
  font-size: clamp(12px, 3.2vw, 15px);
  color: var(--market-name);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

.results-section .market-body {
  min-height: 0;
  padding: 4px 8px 6px;
}

.results-section .market-result,
.results-section .market-result span {
  font-size: clamp(16px, 4.8vw, 20px);
  line-height: 1.15;
}

.results-section .market-note {
  margin-top: 2px;
  font-size: 11px;
}

.results-section .live-refresh {
  min-height: 28px;
  min-width: 72px;
  margin-top: 4px;
  padding: 4px 10px;
  font-size: 12px;
}

.market-card {
  background: #FCE8D5;
  border-radius: var(--frame-radius-card);
  overflow: visible;
  margin: 0 auto 12px;
  max-width: var(--content);
}

.results-section .market-card:last-child {
  margin-bottom: 10px;
}

.market-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 6px;
  min-height: 52px;
  padding: 6px 8px;
  background: var(--primary);
  border-radius: var(--frame-radius-card) var(--frame-radius-card) 0 0;
}

.market-head-solo {
  grid-template-columns: 1fr;
  justify-items: center;
}

.market-card.is-highlight .market-head {
  background: var(--primary-blue);
}

.market-card.is-highlight .market-body {
  background: #FCE8D5;
}

.results-section .market-card.is-orange-result .market-body,
.results-section .market-card.is-highlight.is-orange-result .market-body {
  background: #FCE8D5;
}

.results-section .market-card.is-recent {
  background: var(--accent-orange-soft);
}

.results-section .market-card.is-recent .market-body {
  background: #FCE8D5;
}

























.market-card.is-orange-result {
  border-color: #F59E0B;
}
.market-card.is-orange-result .market-head {
  background: #C2410C;
}

.market-name {
  margin: 0;
  padding: 0 2px;
  color: var(--market-name);
  font-size: clamp(12px, 3.4vw, 17px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-align: center;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

.mbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 64px;
  padding: 8px 4px;
  border: 1.5px solid var(--white);
  border-radius: var(--frame-radius-button);
  background: transparent;
  color: var(--white) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-decoration: none !important;
  text-transform: uppercase;
  touch-action: manipulation;
  transition: background 0.15s ease;
}

.mbtn:hover,
.mbtn:active {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white) !important;
  text-decoration: none !important;
}

.market-body {
  padding: 16px 12px 18px;
  border-radius: 0 0 var(--frame-radius-card) var(--frame-radius-card);
  text-align: center;
  min-height: 96px;
}

.market-result,
.market-result span {
  font-size: clamp(22px, 6.4vw, 28px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0;
  line-height: 1.2;
}

.market-note {
  display: block;
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 400;
}

.time-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--timing-light-blue);
  color: var(--muted);
  font-size: clamp(12px, 3.3vw, 14px);
  font-weight: 600;
  line-height: 1.3;
}

.live-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 88px;
  margin-top: 12px;
  padding: 8px 14px;
  border: 0;
  border-radius: var(--frame-radius-button);
  background: var(--primary-blue);
  color: var(--white);
  font-weight: 700;
  touch-action: manipulation;
}

.res-actions,
.res_chart a,
.highlight-market {
  /* leftover hooks from older markup */
}

@media (max-width: 360px) {
  .market-head {
    grid-template-columns: 62px minmax(0, 1fr) 62px;
    gap: 4px;
    padding: 6px;
  }
  .mbtn {
    min-width: 56px;
    font-size: 10px;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 3px solid var(--border);
}

td, th {
  background-color: var(--surface-white);
  color: var(--text-dark);
  border: 1px solid var(--border-card);
  font-weight: 700;
  text-align: center;
  padding: 8px;
}

th {
  background-color: var(--primary-blue);
  color: var(--white);
  border: 1px solid var(--primary-blue);
}

.b900 { font-weight: 700; }
.mp { margin: 0; padding: 0; }

.zone {
  text-decoration: none;
  display: block;
  margin: 8px 0;
  border: 2px dashed var(--heading-green);
  color: var(--heading-green);
  padding: 12px 8px;
  min-height: var(--touch);
  border-radius: var(--frame-radius-button);
  box-shadow: none;
  transition: transform 0.15s ease, background 0.15s ease;
  touch-action: manipulation;
}

.zone:hover,
.zone:active {
  text-decoration: none;
  background: var(--timing-light-blue);
  transform: translateY(-1px);
}

.blue {
  color: var(--heading-green);
  font-weight: 700;
}

.faq-section {
  margin: 20px auto;
  padding: 10px;
  background: var(--surface-white);
  border-radius: var(--frame-radius-section);
  max-width: var(--content);
}

.faq-item {
  border: 1px solid var(--border-card);
  border-radius: 5px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-toggle { display: none; }

.faq-question {
  display: block;
  padding: 12px 40px 12px 12px;
  font-size: 16px;
  background: var(--primary-blue);
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
  position: relative;
  border-bottom: 1.5px solid var(--white);
}

.faq-question:hover { background: var(--primary-blue); }

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 20px;
  color: var(--white);
}

.faq-toggle:checked + .faq-question::after {
  content: '−';
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: var(--surface-white);
  padding: 0 15px;
  color: var(--text-dark);
  font-weight: 400;
}

.faq-toggle:checked + .faq-question + .faq-answer {
  max-height: 800px;
  padding: 15px;
}

.faq-section h2 {
  text-align: center;
  color: var(--primary);
}

.faq-answer p {
  text-align: left;
  margin: 0;
  max-width: 100%;
  line-height: 1.6;
}

.box strong,
.box b,
.readable-block strong,
.readable-block b {
  color: var(--text-dark);
  font-weight: 700;
}

.lucky-container {
  color: var(--text);
  text-align: center;
  margin: 12px auto 16px;
  display: block;
  font-size: clamp(13px, 3.4vw, 15px);
  outline: none;
  border-radius: var(--frame-radius-section);
  background: var(--bg-w);
  overflow: hidden;
  min-height: 0;
  max-width: var(--content);
}

.lucky-flex {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.lucky-flex > div {
  width: 50%;
  min-width: 0;
  padding: 4px 8px 6px;
  border-right: 1px solid var(--border-card);
}

.lucky-flex > div:last-child { border-right: none; }

.lucky-container h3 {
  background: var(--primary-blue);
  border-radius: var(--frame-radius-section) var(--frame-radius-section) 0 0;
  padding: 6px 8px;
  text-shadow: none;
  color: var(--white);
  margin: 0;
  letter-spacing: 0;
  font-weight: 700;
  font-size: clamp(12px, 3.2vw, 14px);
  text-transform: uppercase;
  border-bottom: 1px solid var(--white);
  animation: none;
  line-height: 1.2;
  white-space: normal;
}

.lucky-container h4 {
  font-size: clamp(12px, 3.2vw, 14px);
  color: var(--heading-green);
  text-shadow: none;
  font-weight: 700;
  margin: 2px 0 2px;
}

.lucky-container p {
  font-size: clamp(13px, 3.6vw, 16px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  text-align: center;
  max-width: none;
}

.lucky-scroll {
  color: var(--text);
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 46px;
  -webkit-overflow-scrolling: touch;
  mask-image: none;
  -webkit-mask-image: none;
  height: auto;
  white-space: normal;
}

.lucky-scroll p {
  animation: none !important;
  white-space: normal !important;
  font-size: clamp(12px, 3.4vw, 14px) !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  padding-top: 0 !important;
  transform: none !important;
  color: var(--text-dark) !important;
  text-align: left;
}

.site-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  min-height: 0;
  padding: 8px 10px calc(10px + env(safe-area-inset-bottom, 0px));
  background: transparent;
  border: 0;
  box-shadow: none;
  pointer-events: none;
}

.dock-left,
.dock-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: auto;
}

.dock-left {
  align-items: flex-start;
}

.dock-right {
  align-items: flex-end;
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 86px;
  max-width: min(46vw, 160px);
  padding: 8px 12px;
  border: none;
  border-radius: 12px;
  background: var(--accent-orange);
  color: var(--text) !important;
  border: 1px solid var(--accent-orange);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  touch-action: manipulation;
  overflow-wrap: anywhere;
  transition: box-shadow .15s ease, background-color .15s ease;
}

.dock-btn:hover,
.dock-btn:active {
  text-decoration: none !important;
}

.float-btn,
.floting_r,
.floting_l,
.float-call,
.float-refresh {
  display: none;
}

@media (max-width: 390px) {
  .lucky-flex > div { padding: 4px 6px 6px; }
  .lucky-container h4 { font-size: 12px; }
  .lucky-scroll p { font-size: 11px !important; }
}

@media (max-width: 360px) {
  .brand-wordmark,
  .logo h1.brand-wordmark,
  h1.brand-wordmark,
  .brand-name-plate h1.brand-wordmark,
  .brand-hero h1.brand-wordmark {
    font-size: clamp(16px, 5.4vw, 22px);
    gap: 7px;
    white-space: nowrap;
  }
  .brand-mascot,
  .logo img.brand-mascot {
    display: none;
  }
  .box.site-intro,
  .contener.box.logo.site-intro {
    padding: 8px 8px;
  }
  .box { padding: 12px 10px; }
  .res-actions { gap: 8px; }
  .lucky-flex { flex-direction: row; }
  .lucky-flex > div {
    width: 50%;
    border-right: 1px solid var(--border-card);
    border-bottom: none;
  }
  .lucky-flex > div:last-child { border-right: none; }
  .market-head {
    grid-template-columns: 50px minmax(0, 1fr) 50px;
  }
}

@media (min-width: 768px) {
  .box { padding: 20px 24px; }
  .box.site-intro,
  .contener.box.logo.site-intro {
    padding: 14px 18px 12px;
  }
  .brand-name-plate {
    padding: 12px 22px;
  }
  .brand-name-plate h1.brand-wordmark {
    font-size: clamp(26px, 3.4vw, 34px);
  }
  .logo img.brand-mascot,
  .brand-mascot {
    display: none;
  }
}

.support-box {
  padding: 14px 12px;
  overflow-wrap: break-word;
  color: var(--text);
}

.readable-block {
  max-height: none;
  overflow: visible;
}

.keyword-box {
  text-align: center;
}

.box.keyword-box {
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 4px 10px;
}

.keyword-box h2,
.box.keyword-box h2 {
  margin: 0 0 4px;
  padding: 0;
  font-size: clamp(13px, 3.4vw, 15px);
  line-height: 1.2;
  text-align: center;
}

.keyword-box .seo-keywords {
  margin: 0 auto;
  padding: 0;
  max-height: 72px;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: clamp(10px, 2.8vw, 12px);
  line-height: 1.35;
  font-weight: 400;
  color: var(--text-secondary);
  word-break: break-word;
  -webkit-overflow-scrolling: touch;
}

.seo-keywords {
  margin: 8px auto 0;
  padding: 0 8px;
  max-width: var(--content);
  font-size: clamp(11px, 3vw, 13px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-secondary);
  overflow-wrap: break-word;
  word-break: break-word;
  text-align: center;
}

.highlight {
  background: var(--timing-light-blue);
  border-radius: 4px;
  padding: 0 3px;
}

.green {
  color: var(--primary);
  font-weight: 700;
}

.red {
  color: var(--accent-orange);
  font-weight: 700;
}

.bg-danger {
  background: var(--timing-light-blue);
  border-radius: var(--frame-radius-section);
}

.bg-head.text-white,
h3.bg-head.text,
h3.bg-head.text-white {
  color: var(--white);
}

.list-card,
.booking-card,
.vip-card {
  width: min(100%, var(--content));
  max-width: var(--content);
  margin: 12px auto;
  overflow: hidden;
  border-radius: var(--frame-radius-section);
  background: var(--surface);
  border: var(--frame-width) solid var(--accent-pink);
  box-shadow: var(--frame-glow);
}

.list-head,
.vip-head,
.booking-head {
  margin: 0;
  padding: 10px 12px;
  background: var(--primary);
  color: var(--white);
  font-size: clamp(15px, 4vw, 18px);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.25;
}

.list-row {
  display: block;
  padding: 11px 10px;
  border-top: 1px solid #d7e6f5;
  color: var(--primary) !important;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  background: var(--surface);
}

.list-row:hover,
.list-row:focus-visible {
  background: #dcefff;
}

.booking-body,
.vip-body {
  padding: 12px 14px 16px;
  text-align: center;
}

.booking-title {
  margin: 4px 0 8px;
  color: var(--primary);
  font-size: clamp(16px, 4.2vw, 20px);
  font-weight: 800;
  text-align: center;
}

.booking-copy {
  margin: 0 auto 10px;
  max-width: 36rem;
  color: var(--text);
  font-size: clamp(13px, 3.4vw, 15px);
  line-height: 1.5;
  text-align: center;
}

.booking-price {
  margin: 4px 0;
  color: var(--primary-dark);
  font-weight: 800;
  text-align: center;
}

.booking-contact {
  margin: 10px 0 4px;
  text-align: center;
  font-weight: 700;
}

.booking-actions {
  margin-top: 10px;
}

.vip-wrap {
  width: min(100%, var(--content));
  max-width: var(--content);
  margin: 0 auto;
}

.vip-body p {
  margin: 6px 0;
  text-align: center;
  max-width: none;
  font-weight: 800;
}

.vip-date {
  color: #c62828;
  text-decoration: underline;
  font-size: clamp(16px, 4.2vw, 20px);
}

.vip-oc {
  color: var(--primary);
  font-size: clamp(15px, 4vw, 18px);
}

.vip-patti {
  color: var(--accent-pink);
  font-size: clamp(15px, 4vw, 18px);
}

.vip-jodi {
  color: #1b7a3a;
  font-size: clamp(15px, 4vw, 18px);
}

.vip-adv {
  color: var(--primary-dark);
  text-decoration: underline;
  font-size: clamp(14px, 3.8vw, 17px);
}

.vip-call,
.vip-call a {
  color: #c62828 !important;
  font-size: clamp(16px, 4.4vw, 20px);
  text-decoration: none !important;
}

.weekly-auto-note {
  text-align: center;
  color: var(--muted);
  font-size: clamp(12px, 3.2vw, 13px);
  margin: 0 auto 8px;
}

.weekly-results .content p {
  overflow-wrap: normal;
  word-break: normal;
}

.weekly-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 4px auto 0;
  width: 100%;
  max-width: 100%;
}

.weekly-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 6px 4px;
  border-bottom: 1px solid #d7e6f5;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
}

.weekly-row:last-child {
  border-bottom: 0;
}

.weekly-day {
  flex: 0 0 auto;
  min-width: 2.4em;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
}

.weekly-date {
  flex: 0 0 auto;
  min-width: 3.4em;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

.weekly-nums {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.weekly-n.weekly-big { color: #1b7a3a; }
.weekly-n.weekly-small { color: #c62828; }

@media (max-width: 767px) {
  .weekly-row {
    font-size: clamp(11px, 3.1vw, 13px);
    gap: 5px;
    padding: 5px 2px;
  }
  .weekly-day { min-width: 2.1em; }
  .weekly-date { min-width: 3.1em; }
  .weekly-nums { gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.chart-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 8px 0 16px;
  box-sizing: border-box;
}

.chart-wrap table {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
  box-sizing: border-box;
}

.chart-wrap .chart-date-head,
.chart-wrap td.chart_date {
  width: 5.2rem;
  min-width: 5.2rem;
  max-width: 5.6rem;
  padding: 4px 3px;
  vertical-align: middle;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: normal;
}

.date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 100%;
  min-height: 52px;
  padding: 5px 3px;
  border-radius: 8px;
  background: #1457B8;
  color: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.date-from,
.date-to {
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.date-sep {
  display: block;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
  opacity: 0.85;
}

.date-year {
  display: block;
  margin-top: 1px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.92;
}

@media (max-width: 767px) {
  .date-box {
    min-height: 46px;
    padding: 4px 2px;
    border-radius: 7px;
  }
  .date-from,
  .date-to {
    font-size: 10px;
  }
  .date-sep {
    font-size: 7px;
  }
  .date-year {
    font-size: 8px;
  }
}

.chart-wrap .chart-date-head {
  background: #1457B8;
  color: #fff;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
}

.head_live,
.texthead,
.live,
.texthead h1,
.box .content p {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.head_live {
  font-size: clamp(14px, 4vw, 20px);
  line-height: 1.3;
  margin: 8px auto;
  font-weight: 800;
  color: var(--primary);
}

.texthead {
  padding: 0 4px 8px;
}

.texthead h1 {
  font-size: clamp(18px, 5.4vw, 28px);
  white-space: normal;
}

@media (max-width: 340px) {
  .brand-mascot,
  .logo img.brand-mascot {
    display: none;
  }
  .box.site-intro,
  .contener.box.logo.site-intro {
    padding: 8px 10px;
  }
  .brand-name-plate h1.brand-wordmark,
  .brand-hero h1.brand-wordmark {
    font-size: clamp(15px, 5.2vw, 20px);
  }
}

/* ===== Centered board polish ===== */
main,
.site-shell,
.contener,
.box,
.results-section,
.weekly-results,
.vip-wrap,
.lucky-container,
.faq-section,
.booking-card {
  text-align: center;
}

.box,
.market-card,
.lucky-container,
.faq-section,
.booking-card,
.vip-card,
.list-card {
  background: var(--bg-w);
}

.box p,
.readable-block p,
.time-color p,
.content p,
.intro-card p,
.faq-answer p,
.lucky-scroll p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.market-result,
.market-result span,
.vip-oc-num,
.weekly-n {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.market-result,
.results-section .market-result,
.results-section .market-result span {
  letter-spacing: 0.06em;
  font-weight: 900;
}

.market-body {
  min-height: 0;
  padding: 12px 10px 14px;
}

.time-badge {
  margin-top: 8px;
}

.weekly-results > .box {
  padding: 12px 10px 14px;
}

.weekly-results .contener.box.logo {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 10px;
  padding: 8px 10px;
  border: 0;
  box-shadow: none;
  background: var(--box-head, var(--primary));
  color: var(--white);
  font-weight: 800;
  font-size: clamp(13px, 3.4vw, 15px);
  border-radius: 10px;
}

.weekly-results .content {
  text-align: center;
}

.weekly-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.weekly-row {
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(13px, 3.4vw, 15px);
  font-weight: 700;
}

.weekly-day,
.weekly-date {
  text-align: center;
}

.weekly-nums {
  display: inline-flex;
  justify-content: center;
  gap: 8px;
  margin-left: 4px;
}

.weekly-n {
  min-width: 2.4em;
  text-align: center;
  font-weight: 800;
}

.vip-card,
.booking-card,
.list-card {
  background: var(--surface);
}

.vip-head,
.booking-head {
  letter-spacing: 0.04em;
}

.faq-question {
  text-align: center;
  padding: 12px 40px;
}

.faq-answer {
  text-align: center;
}

.lucky-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lucky-scroll p {
  text-align: center !important;
}

.cta-btn {
  box-shadow: none;
}

@media (max-width: 767px) {
  html,
  body.chart-page {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }
  body.chart-page {
    padding-left: 4px;
    padding-right: 4px;
  }
  body.chart-page .site-dock {
    display: none;
  }
  body.chart-page .chart-wrap,
  body.chart-page center {
    display: block;
    width: calc(100vw - 8px) !important;
    max-width: 100% !important;
    overflow: hidden !important;
    margin-left: auto;
    margin-right: auto;
  }
  body.chart-page .chart-wrap table,
  body.chart-page table {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
    margin: 0 auto !important;
    border-width: 1px !important;
  }
  body.chart-page .chart-wrap th,
  body.chart-page .chart-wrap td,
  body.chart-page th,
  body.chart-page td {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 2px 0 !important;
    font-size: clamp(8px, 2.5vw, 11px) !important;
    line-height: 1.12 !important;
    overflow: hidden !important;
    word-break: break-word !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }
  body.chart-page .chart-wrap .chart_date,
  body.chart-page .chart-wrap .chart-date-head,
  body.chart-page td.chart_date {
    width: 4.7rem !important;
    min-width: 4.7rem !important;
    max-width: 5.2rem !important;
    padding: 3px 2px !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
    overflow: visible !important;
  }
  body.chart-page .chart-wrap tbody td:nth-child(3n+3) {
    font-size: clamp(9px, 2.6vw, 12px) !important;
  }
}

.announce-bar {
  letter-spacing: 0.02em;
}

.weekly-results,
.vip-wrap,
.faq-section,
.free-games,
.seo-block {
  content-visibility: auto;
  contain-intrinsic-size: auto 280px;
}

.live-ticker {
  container-type: inline-size;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 10px;
  padding: 4px 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}

.live-ticker-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  width: max-content;
  padding: 0 8px;
  animation: live-tick-lr 18s ease-in-out infinite alternate;
  will-change: transform;
}

.live-ticker:hover .live-ticker-track,
.live-ticker:focus-within .live-ticker-track {
  animation-play-state: paused;
}

.live-chip {
  flex: 0 0 auto;
  min-width: 168px;
  max-width: 220px;
  margin: 0;
  padding: 10px 12px;
  background: var(--surface);
  border: 2px solid var(--border-card);
  border-radius: var(--frame-radius-card);
  box-shadow: var(--frame-glow);
  text-align: center;
}

.live-chip-name {
  margin: 0 0 4px;
  font-size: clamp(12px, 3.2vw, 14px);
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.live-chip-result {
  margin: 0;
  font-size: clamp(16px, 4.6vw, 22px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  line-height: 1.2;
}

.live-chip.is-live {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.35), var(--frame-glow);
}

.live-chip.is-live .live-chip-name {
  color: #b45309;
}

@keyframes live-tick-lr {
  from { transform: translateX(0); }
  to { transform: translateX(min(0px, calc(100cqw - 100%))); }
}

@media (prefers-reduced-motion: reduce) {
  .live-ticker {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .live-ticker-track {
    animation: none;
  }
}

/* Extra colours on every framed box — same 6 tones as result tiles */
:is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item):nth-child(6n+1 of :is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item)) {
  --box-head: #1457B8;
  --box-body: #FFE4C4;
  --box-edge: #1457B8;
  --box-glow: 0 0 0 1px rgba(20, 87, 184, 0.22), 0 6px 16px rgba(20, 87, 184, 0.16);
}
:is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item):nth-child(6n+2 of :is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item)) {
  --box-head: #0B8A6B;
  --box-body: #FFE4C4;
  --box-edge: #0B8A6B;
  --box-glow: 0 0 0 1px rgba(11, 138, 107, 0.22), 0 6px 16px rgba(11, 138, 107, 0.16);
}
:is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item):nth-child(6n+3 of :is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item)) {
  --box-head: #C43D6E;
  --box-body: #FFE4C4;
  --box-edge: #C43D6E;
  --box-glow: 0 0 0 1px rgba(196, 61, 110, 0.22), 0 6px 16px rgba(196, 61, 110, 0.16);
}
:is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item):nth-child(6n+4 of :is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item)) {
  --box-head: #D97706;
  --box-body: #FFE4C4;
  --box-edge: #D97706;
  --box-glow: 0 0 0 1px rgba(217, 119, 6, 0.22), 0 6px 16px rgba(217, 119, 6, 0.16);
}
:is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item):nth-child(6n+5 of :is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item)) {
  --box-head: #6D28D9;
  --box-body: #FFE4C4;
  --box-edge: #6D28D9;
  --box-glow: 0 0 0 1px rgba(109, 40, 217, 0.22), 0 6px 16px rgba(109, 40, 217, 0.16);
}
:is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item):nth-child(6n of :is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item)) {
  --box-head: #0E7490;
  --box-body: #FFE4C4;
  --box-edge: #0E7490;
  --box-glow: 0 0 0 1px rgba(14, 116, 144, 0.22), 0 6px 16px rgba(14, 116, 144, 0.16);
}

:is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item) {
  border-color: var(--box-edge, var(--accent-pink));
  box-shadow: var(--box-glow, var(--frame-glow));
}

.box:not(.bg-head),
.box.site-intro,
.lucky-container,
.booking-card,
.vip-card,
.list-card,
.faq-section,
.faq-item {
  background: var(--box-body, var(--bg-w));
}

.section-bar,
.box.bg-head,
h2.bg-head,
h3.bg-head,
.lucky-container h3,
.booking-head,
.vip-head,
.list-head,
.faq-question,
.bg-head,
.bg-head.text,
.bg-head.text-white {
  background: var(--box-head, var(--primary));
}

.faq-question:hover {
  background: var(--box-head, var(--primary-blue));
}

.faq-answer,
.booking-body,
.vip-body {
  background: var(--box-body, var(--surface-white));
}

:is(.box, .lucky-container, .section-bar, .booking-card, .vip-card, .faq-section, .faq-item):hover {
  box-shadow: var(--box-glow, var(--frame-glow-hover));
}

.fix-game-root {
  position: fixed;
  top: calc(8px + env(safe-area-inset-top, 0px));
  right: 8px;
  z-index: 10050;
  width: min(248px, calc(100vw - 16px));
  pointer-events: none;
}

.fix-game-root.is-ready {
  pointer-events: auto;
}

.fix-game-fab {
  display: none;
  margin-left: auto;
  min-height: 36px;
  max-width: 100%;
  padding: 7px 12px;
  border: 2px solid #0B3D91;
  border-radius: 999px;
  background: linear-gradient(180deg, #F59E0B 0%, #E07A9F 100%);
  color: #172033;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(11, 61, 145, 0.28);
  cursor: pointer;
  touch-action: manipulation;
}

.fix-game-root.is-ready .fix-game-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.fix-game-fab::before {
  content: "★";
  font-size: 13px;
}

.fix-game-box {
  display: none;
  margin-top: 8px;
  max-height: min(70vh, 520px);
  overflow: auto;
  padding: 8px;
  background: #fff;
  border: 2px solid #1457B8;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(11, 61, 145, 0.22);
  text-align: left;
}

.fix-game-root.is-open .fix-game-box {
  display: block;
}

.fix-game-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding: 6px 8px;
  background: #1457B8;
  color: #fff;
  border-radius: 10px;
}

.fix-game-head strong {
  font-size: 13px;
  font-weight: 800;
}

.fix-game-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.fix-game-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.fix-game-list.is-many {
  grid-template-columns: 1fr 1fr;
}

.fix-game-card {
  margin: 0;
  padding: 0;
  border: 1px solid #E07A9F;
  border-radius: 10px;
  overflow: hidden;
  background: #E8F4FC;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.fix-game-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  background: #111;
}

.fix-game-list.is-many .fix-game-card img {
  height: 92px;
  max-height: none;
  object-fit: cover;
}

.fix-game-card figcaption {
  padding: 4px 6px;
  font-size: 10px;
  font-weight: 700;
  color: #172033;
  line-height: 1.2;
}

.fix-game-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 8px;
  font-size: 12px;
  color: #667085;
  text-align: center;
}

.fix-game-zoom {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10080;
  background: rgba(0, 0, 0, 0.92);
  padding: 48px 8px 12px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.fix-game-zoom.is-on {
  display: block;
}

.fix-game-zoom img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}

.fix-game-zoom-x {
  position: fixed;
  top: 8px;
  right: 8px;
  z-index: 10081;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 20px;
  background: #F59E0B;
  color: #172033;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 420px) {
  .fix-game-root {
    width: min(210px, calc(100vw - 14px));
  }
  .fix-game-card img {
    height: 78px;
  }
  .fix-game-box {
    max-height: min(68vh, 480px);
  }
}


.market-card.tile-tone-0,.market-card.tile-tone-1,.market-card.tile-tone-2,.market-card.tile-tone-3,.market-card.tile-tone-4,.market-card.tile-tone-5{border-color:#5b1e24;box-shadow:0 0 0 1px rgba(244,162,97,0.35),0 6px 16px rgba(244,162,97,0.22);}
.market-card.tile-tone-0 .market-head,.market-card.tile-tone-1 .market-head,.market-card.tile-tone-2 .market-head,.market-card.tile-tone-3 .market-head,.market-card.tile-tone-4 .market-head,.market-card.tile-tone-5 .market-head{background:#F4A261;}
.market-card.tile-tone-0 .market-body,.market-card.tile-tone-1 .market-body,.market-card.tile-tone-2 .market-body,.market-card.tile-tone-3 .market-body,.market-card.tile-tone-4 .market-body,.market-card.tile-tone-5 .market-body{background:#FCE8D5;}
.tile-tone-0,.tile-tone-1,.tile-tone-2,.tile-tone-3,.tile-tone-4,.tile-tone-5{border-color:#5b1e24;box-shadow:0 0 0 1px rgba(244,162,97,0.35),0 6px 16px rgba(244,162,97,0.22);}
.tile-tone-0 .market-head,.tile-tone-1 .market-head,.tile-tone-2 .market-head,.tile-tone-3 .market-head,.tile-tone-4 .market-head,.tile-tone-5 .market-head{background:#F4A261;}
.tile-tone-0 .market-body,.tile-tone-1 .market-body,.tile-tone-2 .market-body,.tile-tone-3 .market-body,.tile-tone-4 .market-body,.tile-tone-5 .market-body{background:#FCE8D5;}

/* simple-light-orange-ui */

/* simple light-orange boxes and tiles */
.box,.market-card,.lucky-container,.info-card,.faq-section,.faq-item,.section-bar,.announce-bar,.date-banner,.brand-name-plate,.live-chip,.booking-card,.support-box,.keyword-box,.site-footer{
  background:#FFE4C4 !important;
  border:1px solid #5b1e24 !important;
  box-shadow:none !important;
  border-radius:8px !important;
}
.market-head,.section-bar,.announce-bar,.lucky-container h3,.booking-head,.faq-question{
  background:#F4A261 !important;
  color:#3b1d00 !important;
  box-shadow:none !important;
  text-shadow:none !important;
}
.faq-answer,.live-chip,.box p,.info-card{
  background:#FCE8D5 !important;
  color:#3b1d00 !important;
}
.market-body{
  background:#FCE8D5 !important;
  color:#3b1d00 !important;
}
.tile-tone-0,.tile-tone-1,.tile-tone-2,.tile-tone-3,.tile-tone-4,.tile-tone-5{
  background:#FFE4C4 !important;
  border-color:#5b1e24 !important;
  box-shadow:none !important;
}
.tile-tone-0 .market-head,.tile-tone-1 .market-head,.tile-tone-2 .market-head,.tile-tone-3 .market-head,.tile-tone-4 .market-head,.tile-tone-5 .market-head{
  background:#F4A261 !important;
}
.tile-tone-0 .market-body,.tile-tone-1 .market-body,.tile-tone-2 .market-body,.tile-tone-3 .market-body,.tile-tone-4 .market-body,.tile-tone-5 .market-body{
  background:#FCE8D5 !important;
}
.faq-section,.faq-item,.faq-question,.faq-answer{
  background:#FFE4C4 !important;
  border-color:#5b1e24 !important;
  color:#3b1d00 !important;
}
.faq-question{
  background:#F4A261 !important;
}
.fix-game-toggle,.fix-game-box,#fix-game-box,.fix-game-float{
  display:none !important;
}


/* same-color-all-boxes */
:is(.box, .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item, .market-card, .info-card, .free-games, .free-games article, .free-games .box, .live-chip):nth-child(n),
:is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item):nth-child(6n+1 of :is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item)),
:is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item):nth-child(6n+2 of :is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item)),
:is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item):nth-child(6n+3 of :is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item)),
:is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item):nth-child(6n+4 of :is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item)),
:is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item):nth-child(6n+5 of :is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item)),
:is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item):nth-child(6n of :is(.box:not(.logo), .box.site-intro, .lucky-container, .section-bar, .booking-card, .vip-card, .list-card, .faq-section, .faq-item)) {
  background: #FFE4C4 !important;
  border-color: #5b1e24 !important;
  box-shadow: none !important;
}
.free-games, .free-games article, .free-games .box, .free-games h2, .free-games h3, .free-games .head, .vip-card, .vip-card h2, .list-card, .list-card h2 {
  background: #FFE4C4 !important;
  border-color: #5b1e24 !important;
  color: #3b1d00 !important;
}
.free-games h2, .free-games h3, .vip-card h2, .list-card h2, .booking-head, .section-bar, .market-head {
  background: #F4A261 !important;
  color: #3b1d00 !important;
}

/* simple-jodi-panel-line */
.results-section .market-card{margin:8px 0!important;padding:0!important}
.results-section .market-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  padding:8px 10px!important;
  background:#F4A261!important;
  grid-template-columns:none!important;
}
.results-section .market-name{
  flex:1!important;
  margin:0!important;
  font-size:16px!important;
  font-weight:800!important;
  color:#3b1d00!important;
  text-align:center!important;
}
.results-section .mbtn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:58px!important;
  height:28px!important;
  padding:0 10px!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1!important;
  border-radius:6px!important;
  background:#FFE4C4!important;
  color:#3b1d00!important;
  border:1px solid #e08a3a!important;
  box-shadow:none!important;
  text-decoration:none!important;
}
.results-section .market-body{padding:8px!important;background:#FCE8D5!important}
.results-section .market-result{font-size:20px!important}

/* force-orange-vip-tiles */
.booking-card,.booking-head,.vip-card,.list-card,.free-games,.free-games article,.free-games .box{
  background:#FFE4C4 !important;
  border:1px solid #5b1e24 !important;
  box-shadow:none !important;
}
.booking-head,.vip-card h2,.free-games h2,.free-games h3,.list-card h2{
  background:#F4A261 !important;
  color:#3b1d00 !important;
}
.booking-title,.booking-copy,.booking-contact,.booking-body,.vip-card,.free-games{
  color:#3b1d00 !important;
}

/* all-tiles-light-orange-final */
html body .booking-card,
html body .booking-card .booking-head,
html body .vip-wrap,
html body .vip-wrap .vip-card,
html body .vip-wrap .vip-card .vip-head,
html body .list-card,
html body .list-card h2,
html body .list-card .list-head,
html body .free-games,
html body .free-games article,
html body .free-games .box,
html body .free-games h2,
html body .free-games h3,
html body .free-games .head,
html body .market-card,
html body .market-card .market-head,
html body .live-chip,
html body .lucky-container,
html body .info-card,
html body .faq-section,
html body .faq-item,
html body .section-bar,
html body .box:not(.logo) {
  background: #FFE4C4 !important;
  border-color: #5b1e24 !important;
  box-shadow: none !important;
  color: #3b1d00 !important;
}
html body .booking-card .booking-head,
html body .vip-wrap .vip-card .vip-head,
html body .list-card h2,
html body .list-card .list-head,
html body .free-games h2,
html body .free-games h3,
html body .free-games .head,
html body .market-card .market-head,
html body .section-bar,
html body .lucky-container h3,
html body .faq-question,
html body .bg-head,
html body .bg-head.text {
  background: #F4A261 !important;
  color: #3b1d00 !important;
}
html body .vip-date,
html body .vip-oc,
html body .vip-oc-num,
html body .vip-call,
html body .vip-call a,
html body .booking-title,
html body .booking-copy,
html body .booking-contact,
html body .booking-contact a {
  color: #3b1d00 !important;
}
html body .market-card .market-body,
html body .vip-wrap .vip-card .vip-body,
html body .booking-card .booking-body {
  background: #FCE8D5 !important;
}
