:root {
  --ink: #050505;
  --ink-soft: #0d0d0d;
  --panel: #111111;
  --panel-2: #19130b;
  --red: #e20d16;
  --red-dark: #85060b;
  --gold: #f7c93d;
  --gold-2: #a66b00;
  --cream: #fff7df;
  --muted: #c4bba9;
  --line: rgba(247, 201, 61, .28);
  --green: #31e66f;
  --shadow: 0 22px 55px rgba(0, 0, 0, .48);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  padding-bottom: 72px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -15%, rgba(226, 13, 22, .16), transparent 32%),
    radial-gradient(circle at 90% 30%, rgba(247, 201, 61, .07), transparent 26%),
    var(--ink);
  color: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.container {
  width: min(1180px, calc(100% - 30px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 14px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--gold);
  color: #120b00;
  font-weight: 900;
}

.skip-link:focus { top: 14px; }

.top-line {
  border-top: 4px solid var(--red);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: #090909;
}

.top-line-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.top-line strong { color: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, .94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .32);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand-logo {
  width: 230px;
  height: 68px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #eee8dc;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: var(--line);
  background: linear-gradient(145deg, rgba(247, 201, 61, .12), rgba(226, 13, 22, .08));
  color: var(--gold);
}

.site-nav .nav-cta {
  border-color: rgba(226, 13, 22, .7);
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: #fff;
}

.hero {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .95), rgba(0, 0, 0, .48), rgba(0, 0, 0, .92)),
    url("pattern-lokethoki.webp") center / cover;
  opacity: .82;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 72% 50%, rgba(226, 13, 22, .23), transparent 24%),
    linear-gradient(180deg, transparent 65%, var(--ink));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: center;
  gap: 45px;
  padding: 62px 0 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, .58);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.hero h1,
.market-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.03;
  letter-spacing: -.04em;
}

.hero h1 span,
.market-hero h1 span {
  color: var(--gold);
  text-shadow: 0 0 28px rgba(247, 201, 61, .18);
}

.hero-copy > p,
.market-hero p {
  max-width: 720px;
  margin: 0;
  color: #d5ccbb;
  font-size: clamp(16px, 2vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  min-height: 48px;
  display: inline-grid;
  place-items: center;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .03em;
}

.btn-primary {
  border-color: #ef2730;
  background: linear-gradient(135deg, #84070c, #ef1822);
  box-shadow: 0 12px 25px rgba(226, 13, 22, .24);
  color: #fff;
}

.btn-gold {
  border-color: var(--gold);
  background: linear-gradient(135deg, #a76b00, #f7c93d);
  color: #160d00;
}

.hero-visual {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(247, 201, 61, .35);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 13, 22, .18), rgba(0, 0, 0, .3) 64%, transparent 65%);
  box-shadow: inset 0 0 45px rgba(247, 201, 61, .08), 0 0 80px rgba(226, 13, 22, .13);
}

.hero-mark {
  position: relative;
  z-index: 2;
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 24px 35px rgba(0, 0, 0, .7));
}

.live-clock {
  position: absolute;
  right: 0;
  bottom: 14px;
  z-index: 3;
  min-width: 205px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 7, 7, .9);
  box-shadow: var(--shadow);
  text-align: center;
}

.live-clock small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}

.live-clock strong {
  display: block;
  color: var(--gold);
  font-size: 22px;
  letter-spacing: .05em;
}

.stat-strip {
  position: relative;
  z-index: 4;
  margin-top: -37px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(10, 10, 10, .96);
  box-shadow: var(--shadow);
}

.stat-item {
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, .07);
  text-align: center;
}

.stat-item:last-child { border-right: 0; }
.stat-item strong { display: block; color: var(--gold); font-size: 24px; }
.stat-item span { color: var(--muted); font-size: 12px; font-weight: 800; }

.section {
  padding: 74px 0;
}

.section-alt {
  border-block: 1px solid rgba(255, 255, 255, .05);
  background: linear-gradient(180deg, rgba(255, 255, 255, .015), rgba(247, 201, 61, .025));
}

.section-head {
  max-width: 790px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-head .kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 7px 0 10px;
  font-size: clamp(28px, 4.8vw, 46px);
  line-height: 1.1;
}

.section-head p { margin: 0; color: var(--muted); }

.ticker {
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b0b0b;
}

.ticker-label {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

.ticker-window { flex: 1; overflow: hidden; }
.ticker-track { width: max-content; padding: 10px 18px; color: var(--gold); font-size: 12px; font-weight: 850; }

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.schedule-item {
  position: relative;
  min-height: 76px;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 13px;
  background: linear-gradient(145deg, #101010, #17130d);
}

.schedule-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold-2);
}

.schedule-time {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.schedule-name {
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-live {
  display: none;
  align-items: center;
  gap: 4px;
  color: var(--green);
  font-size: 10px;
  font-weight: 950;
}

.schedule-item.is-live {
  border-color: rgba(49, 230, 111, .55);
  box-shadow: 0 0 24px rgba(49, 230, 111, .09);
}

.schedule-item.is-live .schedule-live { display: inline-flex; }
.schedule-item.is-live .schedule-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px var(--green);
  animation: livePulse .8s infinite alternate;
}

@keyframes livePulse { to { opacity: .4; transform: scale(.75); } }

.market-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.filter-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: #111;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--gold);
  background: #211607;
  color: var(--gold);
}

.market-search {
  width: min(280px, 100%);
  min-height: 42px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 10px;
  outline: none;
  background: #0c0c0c;
  color: #fff;
}

.market-search:focus { border-color: var(--gold); }

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.result-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 201, 61, .24);
  border-radius: 17px;
  background: linear-gradient(145deg, #0c0c0c, #17130d);
  box-shadow: 0 16px 35px rgba(0, 0, 0, .23);
}

.result-card::after {
  content: "";
  position: absolute;
  right: -45px;
  top: -45px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(226, 13, 22, .1);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.card-head h3 { margin: 0; color: var(--gold); font-size: 14px; }
.card-head time { color: var(--muted); font-size: 11px; font-weight: 850; }

.card-result {
  padding: 22px 16px 18px;
  text-align: center;
}

.card-date { color: var(--muted); font-size: 11px; font-weight: 800; }
.card-number {
  display: block;
  margin: 3px 0 5px;
  color: #fff;
  font-size: clamp(31px, 4vw, 43px);
  font-weight: 1000;
  line-height: 1.1;
  letter-spacing: .14em;
  text-shadow: 0 0 22px rgba(247, 201, 61, .25);
}

.history-list { border-top: 1px solid rgba(255, 255, 255, .07); }
.history-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 9px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.history-row:last-child { border-bottom: 0; }
.history-row strong { color: var(--gold); letter-spacing: .12em; }

.table-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0c0c0c;
  box-shadow: var(--shadow);
}

.table-scroll { overflow-x: auto; }
.result-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.result-table th,
.result-table td {
  padding: 13px 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  text-align: center;
  font-size: 12px;
}

.result-table th {
  background: linear-gradient(180deg, #8c080d, #5e0307);
  color: var(--gold);
  font-weight: 950;
}

.result-table tbody tr:nth-child(even) { background: rgba(247, 201, 61, .025); }
.result-table td:last-child { color: var(--gold); font-weight: 950; letter-spacing: .1em; }

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.content-card,
.content-copy,
.legal-card {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  background: linear-gradient(145deg, #0d0d0d, #15120d);
}

.content-card { padding: 22px; }
.content-card strong { display: block; margin-bottom: 7px; color: var(--gold); font-size: 16px; }
.content-card p,
.content-copy p,
.legal-card p,
.legal-card li { color: var(--muted); }

.content-copy,
.legal-card { padding: clamp(22px, 4vw, 42px); }
.content-copy h2,
.content-copy h3,
.legal-card h2,
.legal-card h3 { color: var(--gold); }

.faq-list { max-width: 900px; margin: 0 auto; }
.faq-list details {
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  background: #0d0d0d;
}

.faq-list summary {
  padding: 16px 18px;
  cursor: pointer;
  color: #fff;
  font-weight: 900;
}

.faq-answer { padding: 0 18px 18px; color: var(--muted); }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  padding: 22px;
  border: 1px solid rgba(247, 201, 61, .2);
  border-radius: 16px;
  background: linear-gradient(145deg, #0d0d0d, #17120d);
}

.review-stars {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 17px;
  letter-spacing: .12em;
}

.review-card h3 { margin: 0 0 8px; color: #fff; font-size: 16px; }
.review-card p { margin: 0; color: var(--muted); font-size: 13px; }
.review-card small { display: block; margin-top: 14px; color: var(--gold); font-weight: 850; }

.market-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.market-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .96), rgba(0, 0, 0, .58)),
    url("pattern-lokethoki.webp") center / cover;
  opacity: .9;
}

.market-hero-inner {
  position: relative;
  min-height: 330px;
  display: grid;
  align-content: center;
  padding: 55px 0;
}

.market-hero h1 { max-width: 920px; font-size: clamp(34px, 5.5vw, 64px); }
.breadcrumb { margin-bottom: 12px; color: var(--muted); font-size: 12px; font-weight: 850; }
.breadcrumb a { color: var(--gold); }

.market-view { min-height: 220px; }
.loading-panel {
  display: grid;
  place-items: center;
  min-height: 220px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}

.draw-panel {
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: linear-gradient(145deg, #080808, #17120d);
  box-shadow: var(--shadow);
}

.draw-banner {
  padding: 20px;
  border-bottom: 2px solid var(--gold);
  background: linear-gradient(95deg, #620307, #e20d16 45%, #ad7300 100%);
  text-align: center;
}

.draw-banner strong { display: block; font-size: clamp(27px, 5vw, 42px); line-height: 1; }
.draw-banner span { color: #fff1c2; font-size: 12px; font-weight: 950; letter-spacing: .16em; }
.draw-date { padding: 13px; color: var(--gold); font-size: 13px; font-weight: 950; text-align: center; }

.prize-stage {
  width: min(760px, calc(100% - 28px));
  margin: 0 auto 22px;
  overflow: hidden;
  border-radius: 13px;
  background: linear-gradient(#fff, #e8e8e8);
  color: #170904;
}

.main-prize { padding: 18px 12px 8px; text-align: center; }
.main-prize small { display: block; color: #8c080d; font-weight: 950; }
.main-prize strong { display: block; font-size: clamp(42px, 7vw, 62px); line-height: 1.08; letter-spacing: .12em; }
.prize-row { display: grid; grid-template-columns: .8fr 1.2fr; border-top: 1px solid #d4b7a0; }
.prize-row span { padding: 12px; font-weight: 950; text-align: center; }
.prize-row span:first-child { background: #85060b; color: #fff; }
.prize-row span:last-child { font-size: 20px; letter-spacing: .12em; }

.hk-draw-panel {
  width: min(820px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.hk-draw-panel .draw-banner { padding: 15px; }
.hk-draw-panel .draw-banner strong { font-size: clamp(25px, 4vw, 34px); }
.hk-draw-panel .prize-stage { width: min(650px, calc(100% - 24px)); margin-bottom: 16px; }
.hk-draw-panel .main-prize { padding: 12px 10px 6px; }
.hk-draw-panel .main-prize strong { font-size: clamp(36px, 6vw, 50px); }
.hk-draw-panel .prize-row span { padding: 9px; }
.hk-draw-panel .prize-row span:last-child { font-size: 17px; }

.market-two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.section-headline {
  margin: 38px 0 16px;
  color: var(--gold);
  font-size: clamp(25px, 4vw, 36px);
  text-align: center;
}

.draw-panel > .table-shell {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.mini-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #0d0d0d;
}

.mini-title {
  padding: 12px;
  background: linear-gradient(90deg, #650407, #b50a11, #650407);
  color: var(--gold);
  font-weight: 950;
  text-align: center;
}

.compact-result-grid {
  margin: 18px auto 0;
}

.compact-result-grid .result-card {
  border-radius: 13px;
}

.compact-result-grid .card-head {
  padding: 11px 13px;
}

.compact-result-grid .card-result {
  padding: 13px 12px 14px;
}

.compact-result-grid .card-number {
  font-size: clamp(27px, 3.2vw, 36px);
}

.compact-history {
  width: min(920px, 100%);
  margin: 0 auto 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0d0d0d;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .35);
}

.history-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 5px;
  padding: 6px;
  border-bottom: 1px solid var(--line);
  background: #080808;
}

.history-tab {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 9px;
  background: #181818;
  color: #d8cfbf;
  cursor: pointer;
  font-size: 11px;
  font-weight: 950;
}

.history-tab:hover {
  border-color: rgba(247, 201, 61, .5);
  color: var(--gold);
}

.history-tab.is-active {
  border-color: var(--gold);
  background: linear-gradient(135deg, #7b050a, var(--red));
  color: #fff;
  box-shadow: 0 7px 18px rgba(226, 13, 22, .2);
}

.history-tab-panel[hidden] { display: none; }
.compact-history .table-shell {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.compact-history .result-table {
  min-width: 0;
}

.compact-history .result-table th,
.compact-history .result-table td {
  padding: 10px 12px;
  font-size: 12px;
}

.compact-history .result-table th:first-child,
.compact-history .result-table td:first-child {
  width: 68%;
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #f0f0f0;
  color: #130a00;
}

.number-grid span {
  padding: 12px 8px;
  border: 1px solid #ceb99f;
  font-weight: 950;
  text-align: center;
}

.sub-prize-title { padding: 11px; background: #85060b; color: var(--gold); font-weight: 950; text-align: center; }
.balls { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 25px; }
.ball {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff1a8, var(--gold));
  color: #1b1000;
  font-size: 18px;
  font-weight: 1000;
  box-shadow: 0 0 16px rgba(247, 201, 61, .3);
}

.ball-plus { background: linear-gradient(145deg, #ff6d73, var(--red)); color: #fff; }
.result-note { padding: 0 20px 22px; color: var(--gold); font-size: 19px; font-weight: 950; text-align: center; }

.site-footer {
  padding: 32px 0 78px;
  border-top: 1px solid var(--line);
  background: #080808;
  text-align: center;
}

.footer-logo { width: 155px; height: 58px; margin: 0 auto 8px; object-fit: contain; }
.site-footer p { max-width: 700px; margin: 8px auto; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0; }
.footer-links a { padding: 8px 11px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 999px; color: #ddd4c3; font-size: 11px; font-weight: 850; }
.footer-links a:hover { border-color: var(--gold); color: var(--gold); }
.footer-credit strong { color: var(--gold); }

.fixed-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 9px max(12px, calc((100% - 780px) / 2));
  border-top: 1px solid var(--line);
  background: rgba(5, 5, 5, .96);
  backdrop-filter: blur(12px);
}

.fixed-actions a {
  min-height: 45px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 1000;
}

.action-promo { border: 1px solid var(--gold); color: var(--gold); }
.action-login { background: linear-gradient(135deg, #84070c, #e20d16); color: #fff; }
.action-register { background: linear-gradient(135deg, #a76b00, #f7c93d); color: #140c00; }

.status-message { margin-top: 16px; color: var(--muted); font-size: 12px; text-align: center; }
.status-message.is-error { color: #ff8085; }

@media (max-width: 980px) {
  .site-nav { max-width: 65%; overflow-x: auto; padding-bottom: 4px; }
  .hero-grid { grid-template-columns: 1fr .65fr; }
  .schedule-grid { grid-template-columns: repeat(3, 1fr); }
  .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { padding-bottom: 66px; }
  .top-line-inner { font-size: 10px; }
  .header-inner { min-height: auto; display: block; padding: 10px 0; }
  .brand-logo { width: 190px; height: 54px; margin: 0 auto 8px; }
  .site-nav { max-width: 100%; justify-content: flex-start; }
  .site-nav a { padding: 8px 10px; font-size: 11px; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding: 48px 0 70px; text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .eyebrow, .hero-actions { justify-content: center; }
  .hero-visual { min-height: 290px; }
  .hero-visual::before { width: 280px; height: 280px; }
  .hero-mark { max-height: 270px; }
  .live-clock { right: 50%; transform: translateX(50%); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .market-toolbar { display: block; }
  .market-search { width: 100%; margin-top: 12px; }
  .market-two-column, .content-grid, .review-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .container { width: min(100% - 20px, 1180px); }
  .top-line-inner span:last-child { display: none; }
  .hero h1, .market-hero h1 { font-size: 36px; }
  .hero-actions .btn { flex: 1; }
  .schedule-grid, .market-grid { grid-template-columns: 1fr; }
  .schedule-item { min-height: 67px; }
  .section { padding: 56px 0; }
  .filter-buttons { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
  .filter-button { white-space: nowrap; }
  .draw-panel { border-radius: 13px; }
  .draw-banner strong { font-size: 28px; }
  .number-grid { grid-template-columns: repeat(2, 1fr); }
  .prize-row { grid-template-columns: 120px 1fr; }
  .fixed-actions { gap: 5px; padding: 7px; }
  .fixed-actions a { min-height: 43px; }
}

/* Force footer credit visible */
.footer-credit { display:block !important; visibility:visible !important; opacity:1 !important; }
