* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --purple: #6d28d9;
  --purple-bright: #7c3aed;
  --purple-light: #ece9fb;
  --purple-lighter: #f4f1fd;
  --purple-dark: #2e1065;
  --red: #e11d48;
  --text: #1c1c2b;
  --text-muted: #6b6b80;
  --border: #e7e7ee;
  --bg: #f3f3f6;
  --white: #ffffff;
}

body {
  font-family: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 13px;
  line-height: 1.3;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 8px;
}

/* ============ HEADER ============ */
.header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 4px 6px;
}

.logo {
  height: 30px;
  width: auto;
}

.nav-pills {
  display: flex;
  gap: 8px;
}

.nav-pill {
  border: 1.5px solid #111;
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.4px;
  background: #fff;
  cursor: pointer;
}

.nav-pill-on {
  background: var(--purple-bright);
  border-color: var(--purple-bright);
  color: #fff;
}

.header-right {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.auth-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-input {
  background: #e9e9ef;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 11px;
  color: #8a8a99;
  width: 120px;
}

.btn-login {
  border: 1.5px solid var(--purple-bright);
  color: var(--purple-bright);
  background: #fff;
  border-radius: 999px;
  padding: 7px 18px;
  font-weight: 800;
  font-size: 11px;
  cursor: pointer;
}

.btn-join {
  border: none;
  color: #fff;
  background: var(--purple-bright);
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 800;
  font-size: 11px;
  cursor: pointer;
}

.forgot {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

/* ============ TOP RACE STRIP ============ */
.race-strip {
  display: flex;
  align-items: stretch;
  gap: 6px;
  padding: 4px 0 8px;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  flex-shrink: 0;
}

.type-ic {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--purple-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.type-ic svg {
  width: 15px;
  height: 15px;
}

.strip-cards {
  display: flex;
  gap: 6px;
  flex: 1;
  overflow: hidden;
}

.strip-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 8px 6px;
  min-width: 0;
  flex: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
}

.strip-card .red-line {
  position: absolute;
  top: 0;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.strip-card .venue {
  font-weight: 800;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.strip-card .race {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.strip-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.strip-bottom .sic {
  color: var(--purple-bright);
}

.strip-bottom .sic svg {
  width: 14px;
  height: 14px;
}

.badge {
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  color: #fff;
}

.badge.now {
  background: var(--red);
}

.badge.time {
  background: var(--purple-bright);
}

.strip-arrows {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
  flex-shrink: 0;
}

.arrow {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--purple-bright);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  flex: 1;
}

/* ============ LAYOUT ============ */
.layout {
  display: grid;
  grid-template-columns: 168px 1fr 198px;
  gap: 8px;
  align-items: start;
  padding-bottom: 20px;
}

.layout-results {
  grid-template-columns: 168px 1fr;
}

/* ============ LEFT SIDEBAR ============ */
.toggle-pill {
  display: flex;
  background: var(--purple-light);
  border-radius: 999px;
  padding: 3px;
  margin-bottom: 8px;
}

.toggle-pill button {
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 7px 4px;
  font-weight: 800;
  font-size: 11px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.toggle-pill button svg {
  width: 14px;
  height: 14px;
}

.toggle-pill button.active {
  background: #fff;
  color: var(--purple-bright);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.ntj-box {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.ntj-head {
  text-align: center;
  font-weight: 800;
  font-size: 11px;
  padding: 8px 0 6px;
  letter-spacing: 0.3px;
}

.ntj-filters {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding-bottom: 8px;
}

.ntj-filters .fic {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--purple-bright);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
}

.ntj-filters .fic svg {
  width: 13px;
  height: 13px;
}

.ntj-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-top: 1px solid var(--border);
}

.ntj-row .ric {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--purple-light);
  color: var(--purple-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ntj-row .ric svg {
  width: 16px;
  height: 16px;
}

.ntj-row .info {
  flex: 1;
  min-width: 0;
}

.ntj-row .info .v {
  font-weight: 800;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ntj-row .info .r {
  font-size: 10px;
  color: var(--text-muted);
}

.day-link {
  border-top: 1px solid var(--border);
  padding: 14px 6px;
  font-weight: 800;
  font-size: 12px;
}

/* ============ CENTER ============ */
.hero {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}

.hero img {
  width: 100%;
  height: auto;
}

.center-toggle {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.ct-btn {
  width: 60px;
  height: 56px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-weight: 800;
  font-size: 9px;
  color: var(--text);
  cursor: pointer;
}

.ct-btn svg {
  width: 20px;
  height: 20px;
}

.ct-btn.active {
  background: var(--purple-bright);
  color: #fff;
  border-color: var(--purple-bright);
}

.tabs {
  display: flex;
  background: var(--purple-light);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 12px;
}

.tabs button {
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 8px 4px;
  font-weight: 800;
  font-size: 11px;
  color: var(--text);
  cursor: pointer;
}

.tabs button.active {
  background: var(--purple-bright);
  color: #fff;
}

.race-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.rc {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.rc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
}

.rc-head .ric {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--purple-light);
  color: var(--purple-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rc-head .ric svg {
  width: 15px;
  height: 15px;
}

.rc-head .v {
  font-weight: 800;
  font-size: 12px;
  flex: 1;
}

.rc-head .r {
  font-size: 10px;
  color: var(--text-muted);
}

.runner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  gap: 8px;
}

.runner .name {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.odd {
  background: var(--purple-light);
  border-radius: 6px;
  padding: 5px 12px;
  font-weight: 800;
  font-size: 11px;
  min-width: 46px;
  text-align: center;
  flex-shrink: 0;
}

.view-full {
  text-align: center;
  font-weight: 800;
  font-size: 11px;
  padding: 12px;
  letter-spacing: 0.3px;
}

/* ===== NEXT (thoroughbreds/harness/greyhounds) ===== */
.next-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.nc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.nc-head .title {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.3px;
}

.nc-head .see {
  font-weight: 800;
  font-size: 9px;
  color: var(--text-muted);
}

.nc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 8px;
  margin-bottom: 6px;
}

.nc-row .ric {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--purple-light);
  color: var(--purple-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nc-row .ric svg {
  width: 15px;
  height: 15px;
}

.nc-row .info {
  flex: 1;
  min-width: 0;
}

.nc-row .info .v {
  font-weight: 800;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nc-row .info .r {
  font-size: 10px;
  color: var(--text-muted);
}

/* ============ RIGHT SIDEBAR ============ */
.sport-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
  background: #fff;
}

.sport-card .sc-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.sport-card .sc-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1.5px solid var(--purple-bright);
  color: var(--purple-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sport-card .sc-icon svg {
  width: 12px;
  height: 12px;
}

.sport-card .sc-title {
  font-weight: 800;
  font-size: 11px;
  line-height: 1.15;
  flex: 1;
}

.sport-card .sc-now {
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
}

.sport-card .sc-now.time {
  background: var(--purple-bright);
}

.sc-players {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.sc-player {
  flex: 1;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  min-height: 26px;
}

.sc-odds {
  display: flex;
  gap: 8px;
}

.sc-odd {
  flex: 1;
  background: var(--purple-light);
  border-radius: 6px;
  padding: 6px;
  text-align: center;
  font-weight: 800;
  font-size: 11px;
}

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  margin-bottom: 20px;
}

.foot-label {
  text-align: center;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.providers {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  align-items: center;
}

.providers .pv {
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.providers .pv img {
  max-height: 26px;
  max-width: 90%;
  object-fit: contain;
}

.pay-methods {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.pay-methods .pm {
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 42px;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.pay-methods .pm img {
  max-height: 24px;
  object-fit: contain;
}

.app-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.app-badges img {
  height: 42px;
}

.foot-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1.6fr;
  gap: 24px;
  margin-bottom: 18px;
}

.fl-title {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}

.fl-list a {
  display: block;
  font-size: 11px;
  color: var(--text);
  margin-bottom: 8px;
}

.fl-two {
  columns: 2;
  column-gap: 18px;
}

.legal {
  font-size: 10px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 12px;
}

.legal a {
  font-weight: 700;
  text-decoration: underline;
}

.must18 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 14px;
}

.must18 img {
  height: 22px;
}

.foot-bottom {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.fb-box {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9.5px;
  line-height: 1.45;
}

.fb-box img {
  height: 30px;
  flex-shrink: 0;
}

.system-by {
  text-align: right;
  font-size: 10px;
  color: var(--text-muted);
  padding-bottom: 20px;
}

/* ============ ABOUT PAGE ============ */
.about-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.about-q {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 2px solid var(--purple-bright);
  color: var(--purple-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.about-head h1 {
  font-size: 21px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.5px;
}

.about-box {
  background: #f4f4f7;
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 22px;
}

.about-box p {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 14px;
  text-align: justify;
}

.about-box p:last-child {
  margin-bottom: 0;
}

.about-box strong {
  font-weight: 800;
}

.about-box a {
  font-weight: 800;
  text-decoration: underline;
  word-break: break-all;
}

/* ============ CONTACT PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-card {
  background: #f4f4f7;
  border-radius: 14px;
  padding: 18px 22px 22px;
  text-align: center;
}

.cc-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.cc-ic {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid var(--purple-bright);
  color: var(--purple-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cc-ic svg {
  width: 14px;
  height: 14px;
}

.cc-title {
  font-weight: 800;
  font-size: 14px;
}

.contact-card p {
  font-size: 12px;
  line-height: 1.65;
  margin-bottom: 12px;
  color: var(--text);
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card strong {
  font-weight: 800;
}

.contact-card a {
  font-weight: 800;
  text-decoration: underline;
}

/* ============ PRIVACY / POLICY PAGES ============ */
.pp-intro {
  background: #f4f4f7;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 14px;
}

.pp-intro p {
  font-size: 12.5px;
  line-height: 1.7;
  margin-bottom: 12px;
  text-align: justify;
  color: var(--text);
}

.pp-intro p:last-child {
  margin-bottom: 0;
}

.pp-box {
  background: #f4f4f7;
  border-radius: 14px;
  padding: 18px 24px 20px;
  margin-bottom: 14px;
}

.pp-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.pp-num {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid var(--purple-bright);
  color: var(--purple-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}

.pp-title {
  font-weight: 800;
  font-size: 14px;
  color: var(--purple-bright);
}

.pp-box p {
  font-size: 12.5px;
  line-height: 1.7;
  margin-bottom: 12px;
  text-align: justify;
  color: var(--text);
}

.pp-box p:last-child {
  margin-bottom: 0;
}

.pp-box em {
  font-style: italic;
}

.pp-box strong {
  font-weight: 800;
}

.pp-box a {
  font-weight: 800;
  text-decoration: underline;
  word-break: break-word;
}

.pp-alpha {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pp-alpha li {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  margin-bottom: 10px;
  text-align: justify;
  color: var(--text);
}

.pp-alpha li:last-child {
  margin-bottom: 0;
}

.pp-alpha .lbl {
  font-weight: 700;
  flex-shrink: 0;
  min-width: 24px;
}

.pp-bullets {
  margin: 0 0 12px 20px;
  padding: 0;
}

.pp-bullets li {
  font-size: 12.5px;
  line-height: 1.65;
  margin-bottom: 6px;
  text-align: justify;
  color: var(--text);
}

/* ============ PRIVACY / POLICY PAGES ============ */
.pp-intro {
  background: #f4f4f7;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 14px;
}

.pp-intro p {
  font-size: 12.5px;
  line-height: 1.7;
  margin-bottom: 12px;
  text-align: justify;
  color: var(--text);
}

.pp-intro p:last-child {
  margin-bottom: 0;
}

.pp-box {
  background: #f4f4f7;
  border-radius: 14px;
  padding: 18px 24px;
  margin-bottom: 14px;
}

.pp-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.pp-num {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid var(--purple-bright);
  color: var(--purple-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}

.pp-title {
  font-weight: 800;
  font-size: 14px;
  color: var(--purple-bright);
}

.pp-box p {
  font-size: 12.5px;
  line-height: 1.7;
  margin-bottom: 12px;
  text-align: justify;
  color: var(--text);
}

.pp-box p:last-child {
  margin-bottom: 0;
}

.pp-alpha {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pp-alpha li {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  margin-bottom: 10px;
  text-align: justify;
  color: var(--text);
}

.pp-alpha li:last-child {
  margin-bottom: 0;
}

.pp-alpha .lbl {
  font-weight: 700;
  flex-shrink: 0;
  min-width: 24px;
}

.pp-bullets {
  margin: 0 0 12px;
  padding-left: 22px;
}

.pp-bullets li {
  font-size: 12.5px;
  line-height: 1.7;
  margin-bottom: 6px;
  text-align: justify;
  color: var(--text);
}

.pp-box a {
  font-weight: 800;
  text-decoration: underline;
  word-break: break-word;
}

.pp-box strong {
  font-weight: 800;
}

/* ============ BANKING / ACCORDION PAGE ============ */
.acc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.acc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
}

.acc-head::-webkit-details-marker {
  display: none;
}

.acc-num {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid #c9c9d6;
  color: #6b6b80;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}

.acc-q {
  flex: 1;
  font-weight: 800;
  font-size: 14px;
  color: var(--text);
}

.acc-chev {
  color: #6b6b80;
  display: flex;
  flex-shrink: 0;
}

.acc-chev svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.acc[open] .acc-num {
  border-color: var(--purple-bright);
  color: var(--purple-bright);
}

.acc[open] .acc-q,
.acc[open] .acc-chev {
  color: var(--purple-bright);
}

.acc[open] .acc-chev svg {
  transform: rotate(180deg);
}

.acc-body {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--border);
}

.acc-body p {
  font-size: 12.5px;
  line-height: 1.7;
  margin-bottom: 12px;
  color: var(--text);
}

.acc-body ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

.acc-body li {
  font-size: 12.5px;
  line-height: 1.7;
  margin-bottom: 6px;
  color: var(--text);
}

.acc-sub {
  font-weight: 800;
  font-size: 12.5px;
  text-decoration: underline;
  margin: 6px 0 10px;
}

.acc-body a {
  font-weight: 800;
  text-decoration: underline;
  word-break: break-word;
}

.acc-body strong {
  font-weight: 800;
}

/* ============ TERMS & CONDITIONS PAGE ============ */
.tc {
  background: #f4f4f7;
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}

.tc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  cursor: pointer;
  list-style: none;
}

.tc-head::-webkit-details-marker {
  display: none;
}

.tc .pp-num {
  border-color: var(--purple-bright);
  color: var(--purple-bright);
}

.tc-title {
  flex: 1;
  font-weight: 800;
  font-size: 14px;
  color: var(--purple-bright);
}

.tc .acc-chev {
  color: var(--purple-bright);
}

.tc[open] .acc-chev svg {
  transform: rotate(180deg);
}

.tc-body {
  padding: 0 22px 20px;
}

.tc-body > p {
  font-size: 12.5px;
  line-height: 1.7;
  margin-bottom: 12px;
  text-align: justify;
  color: var(--text);
}

.pp-nest {
  margin-top: 10px;
  margin-bottom: 2px;
  padding-left: 6px;
}

.pp-alpha .pp-bullets {
  margin-top: 8px;
  margin-bottom: 2px;
}

/* ============ RESPONSIBLE GAMBLING PAGE ============ */
.rg-section {
  margin-top: 18px;
}

.rg-head {
  font-weight: 800;
  font-size: 13px;
  color: var(--purple-bright);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.rg-body > p {
  font-size: 12.5px;
  line-height: 1.7;
  margin-bottom: 12px;
  text-align: justify;
  color: var(--text);
}

.rg-body .pp-bullets {
  margin: 0 0 12px 20px;
}

.rg-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e4e4ea;
}

.rg-footer > p {
  font-size: 12.5px;
  line-height: 1.7;
  margin-bottom: 12px;
  text-align: justify;
  color: var(--text);
}

.rg-footer a {
  font-weight: 800;
  text-decoration: underline;
  color: var(--text);
}

.rg-warn {
  font-weight: 800 !important;
  text-align: center !important;
  margin: 16px 0 !important;
}

.pp-intro a {
  font-weight: 800;
  text-decoration: underline;
  color: var(--text);
}

/* ============ WAGERING RULES PAGE ============ */
.wr-sub {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin: 16px 0 8px;
}

.wr-sub .lbl {
  font-weight: 800;
  flex-shrink: 0;
  min-width: 24px;
  color: var(--text);
}

.wr-subt {
  font-weight: 800;
  font-size: 13px;
  color: var(--text);
}

.tc-body > p {
  font-size: 12.5px;
  line-height: 1.7;
  margin-bottom: 12px;
  text-align: justify;
  color: var(--text);
}

.wr-mini {
  font-weight: 800;
  font-size: 12.5px;
  margin: 10px 0 6px !important;
  text-align: left !important;
}

.wr-tablewrap {
  overflow-x: auto;
  margin: 6px 0 14px;
}

.wr-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}

.wr-table th,
.wr-table td {
  border: 1px solid #d9d9e3;
  padding: 6px 10px;
  text-align: center;
}

.wr-table th {
  background: var(--purple-bright);
  color: #fff;
  font-weight: 700;
}

.wr-table td:first-child {
  text-align: left;
}

.wr-table tbody tr:nth-child(even) {
  background: #efeff4;
}

/* ============ FLOATING CHAT ============ */
.chat-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--purple-bright);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 50;
}

.chat-fab svg {
  width: 22px;
  height: 22px;
}

/* ============ RACING GRID (Greyhounds etc.) ============ */
.day-link.active {
  color: var(--purple-bright);
}

.ntj-filters .fic-on {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--purple-bright);
}

.racing-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.results-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.toggle-pill-sm {
  margin-bottom: 0;
  flex-shrink: 0;
}

.toggle-pill-sm button {
  padding: 6px 8px;
  font-size: 9px;
}

.tabs-results {
  display: flex;
  background: var(--purple-light);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}

.tabs-results button {
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 800;
  font-size: 10px;
  color: var(--text);
  cursor: pointer;
  letter-spacing: 0.2px;
}

.tabs-results button.active {
  background: var(--purple-bright);
  color: #fff;
}

.results-date {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.btn-last-sat,
.btn-live-day {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 9px;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}

.btn-live-day {
  background: var(--purple-bright);
  color: #fff;
  border-color: var(--purple-bright);
}

.date-sel {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 5px 6px;
  font-size: 9px;
  font-weight: 800;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.tabs-racing {
  flex: 1;
  margin-bottom: 0;
}

.tabs-racing button {
  font-size: 10px;
  padding: 8px 2px;
}

.racing-filters {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.rf-group {
  display: flex;
  background: var(--purple-light);
  border-radius: 999px;
  padding: 3px;
  gap: 3px;
}

.rfic {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
}

.rfic svg {
  width: 13px;
  height: 13px;
}

.rfic.active {
  background: var(--purple-bright);
  color: #fff;
}

.rfic-flag {
  font-size: 0;
}

.race-sections {
  margin-bottom: 18px;
}

.rs {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 6px;
  background: #fff;
}

.rs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.3px;
  background: #e8e8ee;
  cursor: pointer;
  list-style: none;
}

.rs-head::-webkit-details-marker {
  display: none;
}

.rs-chev {
  color: var(--purple-bright);
  display: flex;
}

.rs-chev svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.rs[open] .rs-chev svg {
  transform: rotate(180deg);
}

.rg-wrap {
  padding: 6px 4px;
  overflow-x: auto;
}

.rg-row {
  display: flex;
  align-items: stretch;
  gap: 4px;
  margin-bottom: 4px;
  min-width: max-content;
}

.rg-venue {
  width: 118px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ececf2;
  border-radius: 6px;
  padding: 6px 8px;
}

.rg-flag {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.flag-au {
  background: linear-gradient(180deg, #00008b 0 33%, #fff 33% 66%, #c8102e 66%);
}

.flag-nz {
  background: #00247d;
  box-shadow: inset 0 0 0 3px #fff;
}

.flag-uk {
  background: #012169;
  position: relative;
}

.flag-uk::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 42%, #fff 42%, #fff 58%, transparent 58%),
    linear-gradient(0deg, transparent 42%, #fff 42%, #fff 58%, transparent 58%),
    linear-gradient(90deg, transparent 46%, #c8102e 46%, #c8102e 54%, transparent 54%),
    linear-gradient(0deg, transparent 46%, #c8102e 46%, #c8102e 54%, transparent 54%);
}

.flag-ie {
  background: linear-gradient(90deg, #169b62 0 33%, #fff 33% 66%, #ff883e 66%);
}

.flag-fr {
  background: linear-gradient(90deg, #002395 0 33%, #fff 33% 66%, #ed2939 66%);
}

.flag-us {
  background: #b22234;
  position: relative;
}

.flag-us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 55%;
  background: #3c3b6e;
}

.flag-ca {
  background: linear-gradient(90deg, #ff0000 0 33%, #fff 33% 66%, #ff0000 66%);
  position: relative;
}

.flag-ca::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ff0000;
  clip-path: polygon(0 0, 55% 0, 0 55%);
}

.flag-hk {
  background: #de2910;
}

.flag-za {
  background: linear-gradient(90deg, #007a4d 0 33%, #ffb612 33% 66%, #de3831 66%);
}

.flag-tr {
  background: #e30a17;
}

.flag-br {
  background: linear-gradient(180deg, #009b3a 50%, #fedf00 50%);
}

.flag-jp {
  background: #fff;
  box-shadow: inset 0 0 0 1px #ddd;
  position: relative;
}

.flag-jp::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #bc002d;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rcell-abnd {
  background: #e4e4ea;
  border: 1px solid #d0d0d8;
}

.rcell-abnd .rcell-r,
.rcell-abnd .rcell-t {
  color: var(--text-muted);
  font-size: 8px;
  font-weight: 800;
}

.rcell-sched {
  background: #fff;
  border: 1px solid #ddd8f0;
}

.rcell-sched .rcell-t {
  color: var(--text);
  font-size: 8px;
  font-weight: 800;
  margin-top: auto;
}

.rg-name {
  font-weight: 800;
  font-size: 10px;
  line-height: 1.2;
}

.rg-region {
  font-size: 8px;
  color: var(--text-muted);
  line-height: 1.2;
}

.rg-cells {
  display: flex;
  gap: 3px;
  flex: 1;
}

.rcell {
  width: 44px;
  min-height: 38px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 3px 2px 4px;
  position: relative;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.rcell-r {
  font-size: 8px;
  font-weight: 800;
  align-self: flex-start;
}

.rcell-f {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--purple-bright);
  color: #fff;
  font-size: 7px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.rcell-nums {
  font-size: 7px;
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
  margin-top: auto;
}

.rcell-t {
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  margin-top: auto;
}

.rcell-pay {
  background: var(--purple-lighter);
  border: 1px solid #ddd8f0;
}

.rcell-now {
  background: var(--red);
  border: 1px solid #c4123a;
}

.rcell-now .rcell-r,
.rcell-soon .rcell-r,
.rcell-later .rcell-r {
  color: #fff;
}

.rcell-soon {
  background: var(--red);
  border: 1px solid #c4123a;
}

.rcell-later {
  background: var(--purple-bright);
  border: 1px solid #6b21d6;
}

.rcell-interim {
  background: var(--purple-dark);
  border: 1px solid #1e0a45;
  color: #fff;
}

.rg-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 10px;
  border-top: 1px solid var(--border);
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
}

.lg {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lg-sq {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: 800;
  color: #fff;
}

.lg-fix {
  background: var(--purple-bright);
}

.lg-bf {
  background: #f5c518;
  color: #333;
}

.lg-soon {
  background: var(--red);
}

.lg-later {
  background: var(--purple-bright);
}

.lg-interim {
  background: var(--purple-dark);
}

.lg-pay {
  background: #d4d4dc;
}

/* ============ SPORT BETTING PAGES (AFL etc.) ============ */
.sport-page-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.sport-page-ic {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sport-page-ic svg {
  width: 26px;
  height: 18px;
}

.sport-page-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.afl-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.afl-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 10px 10px 8px;
}

.afl-meta {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.3;
}

.afl-sep {
  margin: 0 4px;
  color: #bbb;
}

.afl-venue {
  color: var(--text);
}

.afl-grid {
  margin-bottom: 6px;
}

.afl-head,
.afl-row {
  display: grid;
  grid-template-columns: 1fr 52px 72px 1fr;
  gap: 4px;
  align-items: center;
}

.afl-head {
  margin-bottom: 4px;
}

.afl-hcell {
  font-size: 9px;
  font-weight: 800;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.afl-hcell:first-child {
  justify-content: flex-start;
}

.afl-mic {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--purple-light);
  color: var(--purple-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.afl-mic svg {
  width: 8px;
  height: 8px;
}

.afl-team {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  padding-right: 4px;
}

.afl-odd {
  border: none;
  background: var(--purple-light);
  border-radius: 5px;
  padding: 6px 4px;
  font-size: 9px;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  text-align: center;
  line-height: 1.15;
  min-height: 28px;
}

.afl-odd-wide {
  font-size: 8px;
}

.afl-note {
  font-size: 8px;
  color: var(--text-muted);
  margin: 4px 0 6px;
  line-height: 1.3;
}

.afl-more {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  background: #f8f8fb;
  border-radius: 5px;
  padding: 7px 8px;
  font-size: 9px;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.2px;
}

.sport-page-ic svg.ic-baseball-view {
  width: 22px;
  height: 22px;
}

.fl-list a.fl-on {
  background: #e8f0fe;
  color: var(--purple-bright);
  border-radius: 3px;
  padding: 1px 4px;
  margin: -1px -4px;
}

.bb-rounds {
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

.bb-leagues {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}

.bb-league {
  display: block;
  background: #ececf1;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.bb-league:hover {
  background: var(--purple-light);
  color: var(--purple-bright);
}

/* ============ BOXING ============ */
.box-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.box-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.box-meta {
  background: #ececf1;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}

.box-grid {
  padding: 8px 10px 6px;
}

.box-head,
.box-row {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 8px;
  align-items: center;
}

.box-head {
  margin-bottom: 4px;
}

.box-hcell {
  font-size: 9px;
  font-weight: 800;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.box-name {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
}

.box-odd {
  border: none;
  background: var(--purple-bright);
  color: #fff;
  border-radius: 5px;
  padding: 8px 6px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  min-height: 30px;
}

.box-card .afl-more {
  margin: 0 10px 8px;
  width: calc(100% - 20px);
}

.ck-sgm {
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.ck-test .ck-draw {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 8px;
  margin: 2px 0;
}

.ck-draw-odd {
  font-size: 9px;
}

/* ============ GOLF ============ */
.golf-note {
  font-size: 8px;
  color: var(--text-muted);
  text-align: center;
  padding: 4px 10px 8px;
  line-height: 1.3;
}

.golf-card .box-grid {
  padding-bottom: 0;
}

.golf-event-wrap {
  margin-bottom: 18px;
}

.golf-event-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.golf-event-name {
  padding: 10px 12px 4px;
  font-size: 11px;
  font-weight: 800;
}

.golf-event-hint {
  padding: 0 12px 8px;
  font-size: 9px;
  color: var(--text-muted);
}

.golf-event-card .afl-more {
  margin: 0 12px 10px;
  width: calc(100% - 24px);
}

.golf-outright {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 18px;
}

.golf-out-head,
.golf-out-row {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 8px;
  align-items: center;
  padding: 6px 12px;
}

.golf-out-head {
  background: #ececf1;
  font-size: 9px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.golf-out-row {
  border-top: 1px solid var(--border);
}

.golf-out-row:nth-child(even) {
  background: #fafafc;
}

.golf-out-name {
  font-size: 10px;
  font-weight: 700;
}

.golf-out-row .box-odd {
  padding: 5px 4px;
  min-height: 26px;
  font-size: 9px;
}

.mr-start {
  font-size: 10px;
  font-weight: 700;
  color: var(--purple);
  padding: 10px 12px 6px;
}

/* ============ SOCCER ============ */
.soccer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.soccer-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.soccer-meta {
  padding: 6px 12px;
  font-size: 9px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.soccer-meta .soccer-sep {
  margin: 0 6px;
  color: #ccc;
}

.soccer-grid {
  padding: 6px 10px 4px;
}

.soccer-head {
  display: grid;
  grid-template-columns: 1fr 72px 72px;
  gap: 6px;
  padding: 2px 2px 6px;
  font-size: 9px;
  font-weight: 800;
  color: var(--text-muted);
  text-align: center;
}

.soccer-head .soccer-hcell:first-child {
  text-align: left;
}

.soccer-match {
  display: grid;
  grid-template-columns: 1fr 72px 72px;
  grid-template-rows: auto auto;
  gap: 6px;
  align-items: center;
}

.soccer-team {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 2px;
}

.soccer-odd {
  border: 1px solid #d8d0f0;
  border-radius: 6px;
  background: #f0ecfa;
  color: var(--purple);
  font-size: 9px;
  font-weight: 800;
  padding: 6px 4px;
  cursor: pointer;
  min-height: 28px;
}

.soccer-odd.soccer-draw {
  grid-row: 1 / 3;
  grid-column: 3;
  align-self: center;
}

.soccer-note {
  font-size: 8px;
  color: var(--text-muted);
  text-align: center;
  padding: 4px 10px 6px;
  line-height: 1.3;
}

.soccer-card .afl-more {
  margin: 0 12px 10px;
}

/* ============ REGISTER ============ */
.layout-register {
  grid-template-columns: 1fr 198px;
}

.register-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px 22px;
}

.register-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.register-head-ic {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--purple-light);
  color: var(--purple-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}

.register-head-ic svg {
  width: 18px;
  height: 18px;
}

.register-head h1 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.register-steps {
  display: flex;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid var(--purple-bright);
  margin-bottom: 18px;
}

.register-step {
  flex: 1;
  text-align: center;
  padding: 8px 6px;
  font-size: 11px;
  font-weight: 800;
  background: #fff;
  color: var(--text);
}

.register-step.active {
  background: var(--purple-bright);
  color: #fff;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reg-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 10px;
}

.reg-label {
  text-align: right;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}

.reg-input,
.reg-select {
  width: 100%;
  background: #e9e9ef;
  border: none;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 11px;
  color: var(--text);
}

.reg-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% + 2px), calc(100% - 11px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
}

.reg-dob {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

.reg-section {
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--purple-bright);
  letter-spacing: 0.4px;
  margin: 8px 0 2px;
}

.reg-radios {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.reg-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.reg-radio input {
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid #c8c8d4;
  background: #fff;
  margin: 0;
  cursor: pointer;
}

.reg-radio input:checked {
  border-color: var(--purple-bright);
  background: radial-gradient(circle at center, var(--purple-bright) 0 6px, #fff 7px);
}

.reg-promo-q {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.reg-actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.reg-actions-dual {
  gap: 12px;
  flex-wrap: wrap;
}

.btn-reg-next,
.btn-reg-back {
  border: 2px solid var(--purple-bright);
  color: var(--purple-bright);
  background: #fff;
  border-radius: 999px;
  padding: 10px 28px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-reg-next:hover,
.btn-reg-back:hover {
  background: var(--purple-lighter);
}

.btn-reg-submit {
  border: none;
  color: #fff;
  background: var(--purple-bright);
  border-radius: 999px;
  padding: 10px 32px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.reg-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 10px;
  line-height: 1.4;
  grid-column: 1 / -1;
  margin-top: 4px;
}

.reg-check input {
  margin-top: 2px;
}

.reg-check a {
  color: var(--purple-bright);
  text-decoration: underline;
}

a.btn-join {
  display: inline-block;
  text-align: center;
  line-height: 1.2;
}

/* ============ LOGIN MODAL ============ */
body.modal-open {
  overflow: hidden;
}

.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 10, 69, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.login-overlay[hidden] {
  display: none !important;
}

.login-modal {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(46, 16, 101, 0.25);
}

.login-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

.login-modal-head {
  background: var(--purple-bright);
  color: #fff;
  text-align: center;
  padding: 22px 20px 18px;
}

.login-modal-logo {
  height: 28px;
  width: auto;
  margin: 0 auto 10px;
  filter: brightness(0) invert(1);
}

.login-modal-head h2 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.login-modal-form {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.login-field span {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.login-field input {
  background: #e9e9ef;
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
}

.login-submit {
  border: none;
  background: var(--purple-bright);
  color: #fff;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 4px;
}

.login-forgot {
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--purple-bright);
  letter-spacing: 0.2px;
}

.login-register {
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
}

.login-register a {
  color: var(--purple-bright);
  font-weight: 800;
}

.forgot {
  cursor: pointer;
}

/* ============ RESPONSIVE / MOBILE ============ */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

/* Tablet: single-column layout */
@media (max-width: 900px) {
  .layout,
  .layout-results,
  .layout-register {
    grid-template-columns: 1fr;
  }

  .layout .center,
  .layout-results .center,
  .layout-register .center {
    order: 1;
  }

  .layout .left,
  .layout-results .left {
    order: 2;
  }

  .layout .right,
  .layout-register .right {
    order: 3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .layout .right .sport-card,
  .layout-register .right .sport-card {
    margin-bottom: 0;
  }

  .next-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .race-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top,
  .foot-links,
  .foot-bottom {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .providers {
    grid-template-columns: repeat(4, 1fr);
  }

  .fl-two {
    columns: 1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .system-by {
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .wrap {
    padding: 0 10px;
  }

  .header {
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 2px 6px;
  }

  .logo {
    height: 26px;
  }

  .nav-pills {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 6px;
  }

  .header-right {
    margin-left: auto;
    align-items: flex-end;
  }

  .auth-row {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
  }

  .auth-input {
    width: 100px;
    flex: 1 1 100px;
    min-width: 0;
    max-width: 140px;
  }

  .race-strip {
    gap: 4px;
  }

  .strip-cards {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 2px;
  }

  .strip-card {
    flex: 0 0 108px;
    min-width: 108px;
    scroll-snap-align: start;
  }

  .race-cards,
  .next-cols {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .racing-head {
    flex-wrap: wrap;
    gap: 8px;
  }

  .tabs-racing {
    flex: 1 1 100%;
    margin-bottom: 6px;
  }

  .racing-filters {
    flex-wrap: wrap;
  }

  .results-head {
    gap: 8px;
  }

  .tabs-results {
    flex: 1 1 100%;
    justify-content: stretch;
  }

  .tabs-results button {
    flex: 1;
    padding: 7px 8px;
  }

  .results-date {
    flex: 1 1 100%;
    flex-wrap: wrap;
  }

  .reg-row {
    grid-template-columns: 1fr;
    gap: 4px;
    align-items: stretch;
  }

  .reg-label {
    text-align: left;
  }

  .reg-promo-q {
    text-align: left;
  }

  .reg-check {
    margin-top: 2px;
  }

  .register-head {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }

  .register-head h1 {
    font-size: 13px;
  }

  .providers {
    grid-template-columns: repeat(3, 1fr);
  }

  .pay-methods,
  .app-badges {
    flex-wrap: wrap;
  }

  .foot-bottom .fb-box {
    flex-direction: column;
    text-align: center;
  }

  .about-head h1 {
    font-size: 18px;
  }

  .about-box,
  .contact-card,
  .pp-intro,
  .pp-box {
    padding: 16px 14px;
  }

  .acc-head,
  .tc-head {
    padding: 12px 14px;
    gap: 10px;
  }

  .acc-q,
  .tc-title {
    font-size: 12px;
  }

  .afl-card,
  .soccer-card,
  .box-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .chat-fab {
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .wrap {
    padding: 0 8px;
  }

  .header-right {
    width: 100%;
    align-items: stretch;
  }

  .auth-row {
    width: 100%;
    justify-content: space-between;
  }

  .auth-input {
    display: none;
  }

  .forgot {
    text-align: center;
    font-size: 8px;
    line-height: 1.3;
  }

  .nav-pill {
    flex: 1;
    padding: 6px 8px;
    font-size: 10px;
    text-align: center;
  }

  .btn-login,
  .btn-join,
  a.btn-join {
    padding: 7px 14px;
    font-size: 10px;
  }

  .strip-arrows {
    display: none;
  }

  .type-grid {
    gap: 3px;
  }

  .type-ic {
    width: 22px;
    height: 22px;
  }

  .center-toggle {
    gap: 8px;
    margin-bottom: 12px;
  }

  .ct-btn {
    width: 54px;
    height: 50px;
    font-size: 8px;
  }

  .tabs button,
  .toggle-pill button {
    font-size: 10px;
    padding: 7px 4px;
  }

  .providers {
    grid-template-columns: repeat(2, 1fr);
  }

  .layout .right,
  .layout-register .right {
    grid-template-columns: 1fr;
  }

  .afl-head,
  .afl-row {
    grid-template-columns: minmax(0, 1fr) 44px 58px minmax(0, 1fr);
    gap: 3px;
    min-width: 280px;
  }

  .afl-team {
    font-size: 9px;
  }

  .afl-odd {
    padding: 5px 2px;
    font-size: 8px;
    min-height: 26px;
  }

  .soccer-head,
  .soccer-match {
    grid-template-columns: minmax(0, 1fr) 54px 54px;
    gap: 4px;
    min-width: 260px;
  }

  .soccer-odd {
    font-size: 8px;
    padding: 5px 2px;
    min-height: 26px;
  }

  .box-head,
  .box-row,
  .golf-out-head,
  .golf-out-row {
    min-width: 240px;
  }

  .rg-venue {
    width: 96px;
  }

  .rcell {
    width: 40px;
    min-height: 36px;
  }

  .reg-actions,
  .reg-actions-dual {
    flex-direction: column;
    width: 100%;
  }

  .btn-reg-next,
  .btn-reg-back,
  .btn-reg-submit {
    width: 100%;
    text-align: center;
  }

  .login-modal {
    max-width: none;
    border-radius: 12px;
  }

  .login-overlay {
    padding: 12px;
    align-items: flex-end;
  }

  .login-modal-head {
    padding: 18px 16px 14px;
  }

  .login-modal-form {
    padding: 16px 16px 18px;
  }
}
