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

:root {
  --black: #100d19;
  --purple: #392653;
  --gold: #f2d38a;
}

body {
  min-height: 100vh;
  background: #fff;
  font-family: Arial, sans-serif;
}

button, a { -webkit-tap-highlight-color: transparent; }

.header {
  height: 58px;
  width: 100%;
  background: var(--black);
  border-bottom: 1px solid #63458c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.left-section, .right-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-btn {
  width: 32px;
  height: 32px;
  background: #302044;
  color: var(--gold);
  border: 1px solid #4b3564;
  border-radius: 8px;
  font-size: 17px;
  cursor: pointer;
}

.logo {
  width: 32px;
  height: 32px;
  background: #432661;
  color: #f3d18a;
  display: grid;
  place-items: center;
  border-radius: 8px;
  object-fit: contain;
  padding: 3px;
}

.brand-name {
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .7px;
}

.login-btn, .register-btn {
  width: 66px;
  height: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.login-btn { background: var(--purple); color: white; }
.register-btn { background: #c49a50; color: #17101e; }

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 19;
  background: rgba(0, 0, 0, .48);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}
.menu-backdrop.active { opacity: 1; visibility: visible; }

.side-menu {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: min(290px, 84vw);
  height: 100dvh;
  background: linear-gradient(160deg, #1b1227 0%, #100d19 72%);
  border-right: 1px solid #68498c;
  box-shadow: 12px 0 35px rgba(0, 0, 0, .32);
  transform: translateX(-105%);
  transition: transform .24s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.side-menu.active { transform: translateX(0); }

.menu-heading {
  min-height: 62px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(181, 138, 255, .22);
}

.menu-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
}

.menu-logo {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--gold);
  background: #432661;
  object-fit: contain;
  padding: 3px;
}

.menu-close {
  width: 30px;
  height: 30px;
  border: 1px solid #57406e;
  border-radius: 8px;
  background: #2a1c3b;
  color: #f4eaff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.menu-content {
  padding: 13px 14px 18px;
  overflow-y: auto;
}

.menu-section { display: flex; flex-direction: column; gap: 5px; }

.section-title {
  color: #d7b7ff;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 1.15px;
  text-transform: uppercase;
  margin: 0 2px 5px;
}

.menu-link {
  min-height: 32px;
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 7px;
  color: #eee7f6;
  text-decoration: none;
  font-size: 12px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .045);
  transition: background .18s ease, border-color .18s ease;
}
.menu-link:hover, .menu-link:focus-visible {
  background: rgba(181, 138, 255, .13);
  border-color: rgba(181, 138, 255, .3);
  outline: none;
}

.menu-divider {
  height: 1px;
  margin: 11px 1px;
  background: linear-gradient(90deg, transparent, #654783, transparent);
}

.social-links {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding-top: 3px;
}

.social-link {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #e9e0f2;
  text-decoration: none;
  font-size: 10px;
}

.social-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2b1d3c;
  border: 1px solid #62447f;
  box-shadow: inset 0 1px 5px rgba(255, 255, 255, .06);
}

.social-icon svg { width: 16px; height: 16px; fill: var(--gold); }
.social-link:hover .social-icon { background: #493064; }

@media (max-width: 480px) {
  .header { height: 54px; padding: 0 9px; }
  .left-section { gap: 6px; }
  .brand-name { font-size: 12px; letter-spacing: .5px; }
  .logo { width: 29px; height: 29px; }
  .menu-btn { width: 30px; height: 30px; font-size: 16px; }
  .right-section { gap: 5px; }
  .login-btn, .register-btn { width: 61px; height: 28px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .side-menu, .menu-backdrop { transition: none; }
}


/* Compact featured shortcuts below the header */
.quick-actions {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 12px;
  background: #171220;
  border-bottom: 1px solid rgba(196, 154, 80, .22);
}
.quick-action {
  min-width: 104px;
  height: 34px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #eadcf6;
  background: #21182d;
  border: 1px solid #382849;
  border-radius: 7px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  transition: background .18s ease, border-color .18s ease;
}
.quick-action:hover { background: #302044; border-color: #795b9b; }
.quick-action img { width: 17px; height: 17px; object-fit: contain; }
.mobile-bottom-nav { display: none; }

@media (max-width: 767px) {
  .header { height: 54px; padding: 0 9px; }
  .menu-btn { display: none; }
  .left-section { gap: 6px; }
  .brand-name { font-size: 12px; letter-spacing: .5px; }
  .logo { width: 29px; height: 29px; }
  .right-section { gap: 5px; }
  .login-btn, .register-btn { width: 61px; height: 28px; font-size: 10px; }
  .quick-actions { min-height: 45px; gap: 6px; padding: 5px 7px; }
  .quick-action { flex: 1; min-width: 0; max-width: 132px; height: 32px; padding: 0 5px; gap: 5px; font-size: 10px; }
  .quick-action img { width: 15px; height: 15px; }
  .mobile-bottom-nav {
    position: fixed;
    z-index: 18;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 59px;
    padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #100d19;
    border-top: 1px solid #63458c;
    box-shadow: 0 -5px 18px rgba(0,0,0,.22);
  }
  .bottom-nav-item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 3px 1px;
    color: #cbbbdc;
    background: transparent;
    border: 0;
    text-decoration: none;
    font: 600 9px Arial, sans-serif;
    cursor: pointer;
  }
  .bottom-nav-icon { color: var(--gold); font-size: 17px; line-height: 18px; }
  body { padding-bottom: 72px; }
}

@media (min-width: 768px) {
  .menu-btn { display: inline-block; }
  .mobile-bottom-nav { display: none !important; }
}


/* Responsive featured slideshow */
.hero-slider { padding: 12px 14px 5px; background: #100d19; }
.slides { position: relative; overflow: hidden; width: 100%; height: clamp(150px, 24vw, 250px); border: 1px solid #62447f; border-radius: 11px; background: #171220; box-shadow: 0 5px 18px rgba(0,0,0,.2); }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transform: translateX(14px); transition: opacity .55s ease, transform .55s ease, visibility .55s; }
.hero-slide.active { opacity: 1; visibility: visible; transform: translateX(0); }
.hero-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-copy { position: relative; z-index: 1; max-width: 62%; padding: 18px clamp(16px, 4vw, 42px); color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.slide-kicker { color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: 2px; }
.slide-copy h2 { margin: 7px 0 5px; font-size: clamp(17px, 3vw, 29px); line-height: 1.12; }
.slide-copy p { margin-bottom: 11px; color: #e8dfef; font-size: clamp(10px, 1.4vw, 13px); }
.slide-button { display: inline-flex; align-items: center; min-height: 27px; padding: 0 12px; border-radius: 6px; background: #c49a50; color: #17101e; text-decoration: none; font-size: 10px; font-weight: 800; text-shadow: none; }
.slider-dots { display: flex; justify-content: center; align-items: center; gap: 7px; padding: 9px 0 3px; }
.slider-dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: #655477; cursor: pointer; transition: width .25s ease, background .25s ease; }
.slider-dot.active { width: 19px; background: var(--gold); }

/* Navigation is visible on every screen size; active state is applied on selection. */
.menu-btn { display: inline-block !important; }
.mobile-bottom-nav { position: fixed; z-index: 18; left: 0; right: 0; bottom: 0; min-height: 67px; padding: 6px 5px calc(6px + env(safe-area-inset-bottom)); display: flex !important; align-items: center; justify-content: space-around; background: #100d19; border-top: 1px solid #63458c; box-shadow: 0 -5px 18px rgba(0,0,0,.25); }
.bottom-nav-item { flex: 1; min-width: 0; min-height: 49px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 2px 1px; color: #9d91aa; background: transparent; border: 0; border-radius: 9px; text-decoration: none; font: 600 9px Arial, sans-serif; cursor: pointer; transition: color .18s ease, background .18s ease, opacity .18s ease; }
.bottom-nav-item .bottom-nav-icon { width: 19px; height: 19px; object-fit: contain; opacity: .58; transition: opacity .18s ease, transform .18s ease; }
.bottom-nav-item.active { color: var(--gold); background: rgba(15,10,22,.88); box-shadow: inset 0 0 0 1px rgba(196,154,80,.14), 0 2px 9px rgba(0,0,0,.2); }
.bottom-nav-item.active .bottom-nav-icon { opacity: 1; transform: translateY(-1px); }
.bet-slip-item { gap: 2px; color: #b9a9ca; }
.bet-slip-circle { width: 43px; height: 43px; margin-top: -20px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #4a2c69, #21142f); border: 2px solid #c49a50; box-shadow: 0 0 0 4px #100d19, 0 4px 13px rgba(0,0,0,.4); }
.bet-slip-circle .bottom-nav-icon { width: 20px; height: 20px; opacity: 1; }
.bet-slip-item.active .bet-slip-circle { background: linear-gradient(145deg, #c49a50, #8e642c); }
.bet-slip-item.active .bet-slip-circle .bottom-nav-icon { filter: brightness(.35); }
body { padding-bottom: 84px; }
@media (max-width: 480px) {
  .hero-slider { padding: 9px 8px 4px; }
  .slides { height: 158px; }
  .slide-copy { max-width: 75%; padding: 12px 14px; }
  .slide-copy h2 { font-size: 17px; }
  .slide-copy p { font-size: 9px; }
  .slide-button { min-height: 24px; font-size: 9px; }
  .mobile-bottom-nav { min-height: 63px; }
  .bottom-nav-item { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .slider-dot, .bottom-nav-item, .bottom-nav-icon { transition: none !important; }
}

/* V8 responsive navigation, compact wide slider and animated indicators */
@media (max-width: 767px) {
  .header .menu-btn { display: none !important; }
  .mobile-bottom-nav { display: flex !important; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (min-width: 768px) {
  .header .menu-btn { display: inline-flex !important; align-items: center; justify-content: center; }
  .mobile-bottom-nav { display: none !important; }
  body { padding-bottom: 0; }
}
.hero-slider { width: 100%; padding: 8px 5px 3px; background: transparent; }
.slides { width: 100%; height: clamp(132px, 18vw, 190px); }
.slider-dots { background: transparent; padding: 8px 0 2px; }
.slider-dot { position: relative; overflow: hidden; width: 7px; height: 7px; background: #655477; }
.slider-dot.active { width: 7px; height: 7px; background: #49365d; box-shadow: 0 0 0 1px rgba(196,154,80,.5); }
.slider-dot.active::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--gold); transform: scale(0); transform-origin: center; animation: dot-load 5s linear forwards; }
@keyframes dot-load { to { transform: scale(1); } }
.bet-slip-item.active { color: var(--gold); background: transparent; box-shadow: none; }
.bet-slip-circle { position: relative; background: transparent; border: 2px solid #c49a50; box-shadow: 0 0 0 3px #100d19, 0 0 0 4px rgba(196,154,80,.25); transition: transform .25s ease, box-shadow .25s ease; }
.bet-slip-item.active .bet-slip-circle { background: transparent; border-color: var(--gold); box-shadow: 0 0 0 3px #100d19, 0 0 0 5px rgba(196,154,80,.5), 0 0 15px rgba(196,154,80,.25); animation: bet-slip-pulse 1.2s ease-in-out infinite; }
.bet-slip-item.active .bet-slip-circle .bottom-nav-icon { filter: none; }
@keyframes bet-slip-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@media (max-width: 480px) {
  .hero-slider { padding: 6px 4px 2px; }
  .slides { height: 132px; }
  .slide-copy { max-width: 78%; padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .slider-dot.active::after, .bet-slip-item.active .bet-slip-circle { animation: none; }
}


/* V9: compact bottom navigation on all screen sizes */
.mobile-bottom-nav {
  position: fixed; z-index: 18; left: 0; right: 0; bottom: 0;
  min-height: 66px; padding: 5px 6px calc(5px + env(safe-area-inset-bottom));
  display: flex !important; align-items: center; justify-content: space-around;
  background: #100d19; border-top: 1px solid #63458c;
  box-shadow: 0 -5px 18px rgba(0,0,0,.25);
}
.bottom-nav-item {
  flex: 1; min-width: 0; min-height: 54px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px; padding: 2px 1px;
  color: #81768d; background: transparent; border: 0; border-radius: 8px;
  text-decoration: none; font: 600 9px Arial, sans-serif; cursor: pointer;
  transition: color .2s ease, opacity .2s ease;
}
.bottom-nav-item .bottom-nav-icon { width: 18px; height: 18px; object-fit: contain; opacity: .42; transition: opacity .2s ease, transform .2s ease; }
.bottom-nav-item.active { color: var(--gold); background: transparent; box-shadow: none; }
.bottom-nav-item.active .bottom-nav-icon { opacity: 1; transform: translateY(-1px); }
.bet-slip-item { gap: 2px; color: #81768d; }
.bet-slip-circle {
  width: 32px; height: 32px; flex: 0 0 32px; margin: 0; display: grid;
  place-items: center; border-radius: 50%; background: transparent;
  border: 1.5px solid #8d6a3a; box-shadow: none; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.bet-slip-circle .bottom-nav-icon { width: 17px; height: 17px; opacity: .48; }
.bet-slip-item.active { color: var(--gold); background: transparent; box-shadow: none; }
.bet-slip-item.active .bet-slip-circle {
  border-color: var(--gold); box-shadow: inset 0 0 0 1px rgba(242,211,138,.16), 0 0 8px rgba(196,154,80,.22);
  animation: bet-slip-pulse 1.5s ease-in-out infinite;
}
.bet-slip-item.active .bet-slip-circle .bottom-nav-icon { opacity: 1; filter: none; }
@keyframes bet-slip-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
/* Hamburger is tablet/desktop only; bottom navigation stays visible everywhere. */
@media (max-width: 767px) {
  .header .menu-btn { display: none !important; }
  .mobile-bottom-nav { display: flex !important; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (min-width: 768px) {
  .header .menu-btn { display: inline-flex !important; align-items: center; justify-content: center; }
  .mobile-bottom-nav { display: flex !important; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
/* Smaller pagination dots, including the active loading dot. */
.slider-dots { gap: 6px; padding: 7px 0 2px; }
.slider-dot, .slider-dot.active { width: 5px; height: 5px; min-width: 5px; }
@media (prefers-reduced-motion: reduce) {
  .slider-dot.active::after, .bet-slip-item.active .bet-slip-circle { animation: none !important; }
}


/* V10 hamburger menu: banner, icon-first links and expandable categories */
.menu-banner { padding: 10px 13px 0; background: #100d19; }
.menu-banner img { display: block; width: 100%; height: 82px; object-fit: cover; border: 1px solid rgba(196,154,80,.48); border-radius: 9px; }
.menu-content { padding-top: 12px; }
.primary-menu { display: flex; flex-direction: column; gap: 6px; }
.menu-link.menu-main-link, .menu-accordion-trigger { width: 100%; min-height: 39px; display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: #eee7f6; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.055); text-decoration: none; font: 600 12px Arial,sans-serif; text-align: left; cursor: pointer; transition: background .2s ease,border-color .2s ease,transform .2s ease; }
.menu-link.menu-main-link:hover, .menu-accordion-trigger:hover, .menu-accordion-trigger[aria-expanded="true"] { background: rgba(181,138,255,.13); border-color: rgba(196,154,80,.42); }
.menu-item-icon { width: 19px; height: 19px; flex: 0 0 19px; object-fit: contain; }
.menu-accordion-trigger > span:nth-of-type(1) { flex: 1; }
.menu-arrow { width: 20px; height: 20px; display: grid; place-items: center; color: var(--gold); font-size: 19px; line-height: 1; transform: rotate(0deg); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.menu-accordion-trigger[aria-expanded="true"] .menu-arrow { transform: rotate(180deg); }
.menu-submenu { display: grid; gap: 4px; margin: 0 0 2px 29px; padding: 0 0 0 10px; border-left: 1px solid rgba(196,154,80,.4); transform-origin: top; animation: submenu-zoom-in .24s ease both; }
.menu-submenu[hidden] { display: none !important; }
.menu-submenu a { min-height: 29px; display: flex; align-items: center; padding: 5px 9px; border-radius: 6px; color: #cbbbdc; background: rgba(255,255,255,.025); text-decoration: none; font-size: 11px; transition: color .18s ease,background .18s ease,transform .18s ease; }
.menu-submenu a:hover { color: var(--gold); background: rgba(196,154,80,.1); transform: translateX(3px); }
@keyframes submenu-zoom-in { from { opacity: 0; transform: translateY(-5px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .menu-arrow,.menu-submenu,.menu-submenu a { transition: none !important; animation: none !important; } }


/* V11: reliable swipe/drag slideshow and compact themed main-page search */
.slides { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.slides.is-dragging { cursor: grabbing; }
.slides .hero-slide > img { pointer-events: none; }
.slides .slide-copy { user-select: text; -webkit-user-select: text; }
.main-search {
  width: min(100% - 10px, 920px); min-height: 43px; margin: 8px auto 16px; padding: 4px 5px 4px 12px;
  display: flex; align-items: center; gap: 9px; border: 1px solid rgba(126,87,164,.78); border-radius: 9px;
  background: linear-gradient(105deg,#1b1425,#17111f 65%,#21162d);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035),0 4px 14px rgba(0,0,0,.18);
}
.main-search:focus-within { border-color: #c49a50; box-shadow: 0 0 0 2px rgba(196,154,80,.12),0 4px 14px rgba(0,0,0,.2); }
.main-search .search-icon { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: #c49a50; stroke-width: 1.8; stroke-linecap: round; }
.main-search input { flex: 1; min-width: 0; height: 32px; padding: 0; color: #f5effa; background: transparent; border: 0; outline: 0; font: 500 11px Arial,sans-serif; }
.main-search input::placeholder { color: #988ba7; opacity: 1; }
.main-search input::-webkit-search-cancel-button { cursor: pointer; }
.main-search button { min-width: 62px; height: 32px; padding: 0 12px; border: 1px solid rgba(242,211,138,.65); border-radius: 6px; color: #17101e; background: linear-gradient(135deg,#e0bd76,#b9893e); font: 700 10px Arial,sans-serif; cursor: pointer; transition: filter .18s ease,transform .18s ease; }
.main-search button:hover { filter: brightness(1.08); }
.main-search button:active { transform: scale(.97); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width:480px) { .main-search { min-height: 40px; margin-top: 6px; padding-left: 10px; } .main-search input { font-size: 10px; } .main-search button { min-width: 56px; height: 30px; padding: 0 9px; } }
@media (prefers-reduced-motion:reduce) { .main-search button { transition: none; } }

/* V12: sideways circular category carousel below the slideshow dots */
body { background: #100d19; color: #eee7f6; }
.category-strip {
  margin: 7px 5px 18px;
  padding: 10px 10px 12px;
  border: 1px solid rgba(126,87,164,.5);
  border-radius: 10px;
  background: linear-gradient(110deg,#1b1425,#17111f 62%,#21162d);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035),0 5px 16px rgba(0,0,0,.16);
  overflow: hidden;
}
.category-strip-heading { display:flex; align-items:center; justify-content:space-between; margin:0 2px 9px; color:#e8d9f4; font-size:11px; font-weight:800; letter-spacing:.45px; }
.category-strip-controls { display:flex; gap:5px; }
.category-arrow { width:22px; height:22px; display:grid; place-items:center; padding:0; border:1px solid rgba(196,154,80,.42); border-radius:6px; color:#f2d38a; background:#2a1d38; font-size:18px; line-height:1; cursor:pointer; }
.category-arrow:active { transform:scale(.94); }
.category-track {
  display:flex; align-items:flex-start; gap:14px; overflow-x:auto; overflow-y:hidden;
  padding:1px 2px 5px; scroll-snap-type:x mandatory; scroll-behavior:smooth;
  scrollbar-width:none; -ms-overflow-style:none; cursor:grab;
  touch-action:pan-x pan-y; overscroll-behavior-inline:contain;
}
.category-track::-webkit-scrollbar { display:none; }
.category-track.is-dragging { cursor:grabbing; scroll-behavior:auto; }
.category-card {
  flex:0 0 60px; min-width:60px; display:flex; flex-direction:column; align-items:center; gap:4px;
  color:#d9cde5; text-decoration:none; text-align:center; font-size:8px; font-weight:650;
  scroll-snap-align:start; transition:color .18s ease,transform .18s ease;
}
.category-card:hover,.category-card:focus-visible { color:var(--gold); transform:translateY(-2px); outline:none; }
.category-image-wrap { width:44px; height:44px; display:grid; place-items:center; border-radius:50%; background:#21172d; border:1px solid rgba(196,154,80,.42); box-shadow:0 3px 10px rgba(0,0,0,.25); overflow:hidden; }
.category-image-wrap img { display:block; width:100%; height:100%; object-fit:cover; }
.category-card > span:last-child { display:block; max-width:100%; line-height:1.2; white-space:nowrap; }
.header-search-link { width:29px; height:29px; display:grid; place-items:center; flex:0 0 29px; border:1px solid #59406f; border-radius:7px; background:#21172d; }
.header-search-link svg,.search-icon { width:16px; height:16px; fill:none; stroke:#f2d38a; stroke-width:1.8; stroke-linecap:round; }
.header-search-link:hover { background:#38244e; border-color:#c49a50; }

/* Dedicated HTML search page; search.php handles submitted queries */
.search-page-body { min-height:100vh; background:#100d19; color:#eee7f6; }
.search-page-header { justify-content:space-between; }
.search-page-brand { display:flex; align-items:center; gap:9px; text-decoration:none; }
.search-home-link { color:#f2d38a; text-decoration:none; font-size:11px; font-weight:700; padding:8px 11px; border:1px solid #5b4272; border-radius:7px; background:#21172d; }
.search-page-main { width:min(100% - 24px,760px); margin:24px auto 50px; }
.search-page-heading { margin-bottom:18px; }
.search-page-eyebrow { color:#c49a50; font-size:9px; font-weight:800; letter-spacing:2px; }
.search-page-heading h1 { margin:6px 0 5px; color:#f2d38a; font-size:25px; }
.search-page-heading p,.search-message { color:#a99bb7; font-size:12px; line-height:1.5; }
.search-page-form { min-height:48px; display:flex; align-items:center; gap:10px; padding:5px 6px 5px 13px; border:1px solid #765493; border-radius:9px; background:linear-gradient(105deg,#1b1425,#17111f 65%,#21162d); box-shadow:0 5px 18px rgba(0,0,0,.22); }
.search-page-form:focus-within { border-color:#c49a50; box-shadow:0 0 0 2px rgba(196,154,80,.12); }
.search-page-form input { flex:1; min-width:0; height:34px; border:0; outline:0; background:transparent; color:#f5effa; font-size:12px; }
.search-page-form input::placeholder { color:#988ba7; }
.search-page-form button { min-width:72px; height:34px; border:1px solid rgba(242,211,138,.65); border-radius:6px; background:linear-gradient(135deg,#e0bd76,#b9893e); color:#17101e; font-size:11px; font-weight:800; cursor:pointer; }
.search-results { margin-top:24px; }
.search-results h2 { margin-bottom:12px; color:#e8d9f4; font-size:14px; }
.search-result-list { display:grid; gap:8px; }
.search-result-card { position:relative; display:flex; flex-direction:column; gap:4px; padding:12px 38px 12px 13px; border:1px solid rgba(126,87,164,.4); border-radius:8px; background:#1a1323; color:#eee7f6; text-decoration:none; transition:border-color .18s ease,background .18s ease; }
.search-result-card:hover { border-color:#c49a50; background:#241a30; }
.search-result-type { color:#c49a50; font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.8px; }
.search-result-card strong { font-size:12px; }
.search-result-description { color:#a99bb7; font-size:10px; }
.search-result-arrow { position:absolute; right:14px; top:50%; transform:translateY(-50%); color:#f2d38a; font-size:22px; }
@media(max-width:480px) {
  .category-strip { margin-left:4px; margin-right:4px; padding:9px 8px 10px; }
  .category-track { gap:11px; }
  .category-card { flex-basis:56px; min-width:56px; font-size:7px; }
  .category-image-wrap { width:40px; height:40px; }
  .search-page-main { margin-top:20px; }
}
@media(prefers-reduced-motion:reduce) { .category-track { scroll-behavior:auto; } .category-card { transition:none; } }

/* V13: compact category row; manual horizontal scrolling only */
.category-strip { padding:8px 8px 9px; }
.category-track { gap:10px; scroll-snap-type:x proximity; }
.category-card { flex-basis:56px; min-width:56px; gap:3px; font-size:7.5px; }
.category-image-wrap { width:40px; height:40px; }
@media (max-width:480px) { .category-card { flex-basis:52px; min-width:52px; font-size:7px; } .category-image-wrap { width:36px; height:36px; } }


/* V15: homepage content tabs and compact search-page launcher */
.home-tabs {
  width: min(100% - 20px, 560px);
  margin: 9px auto 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.home-tab {
  flex: 1 1 0;
  max-width: 180px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(126,87,164,.55);
  border-radius: 7px;
  background: linear-gradient(110deg,#21172d,#191321);
  color: #cfc1dc;
  text-decoration: none;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .2px;
  transition: background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.home-tab.active, .home-tab:hover, .home-tab:focus-visible {
  color: #17101e;
  border-color: #d1a75e;
  background: linear-gradient(135deg,#e0bd76,#b9893e);
  outline: none;
}
.home-tab:active { transform: scale(.98); }
.home-search-wrap { display:flex; justify-content:center; padding: 1px 10px 14px; }
.home-search-link {
  width: min(100%, 230px);
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(126,87,164,.62);
  border-radius: 7px;
  background: linear-gradient(105deg,#1b1425,#17111f 65%,#21162d);
  color: #a99bb7;
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
  transition: border-color .18s ease,background .18s ease,color .18s ease;
}
.home-search-link svg {
  width: 15px; height: 15px; flex: 0 0 15px;
  fill: none; stroke: #f2d38a; stroke-width: 1.8; stroke-linecap: round;
}
.home-search-link:hover, .home-search-link:focus-visible {
  border-color: #c49a50; background: #241a30; color: #f2d38a; outline: none;
}
@media (max-width:480px) {
  .home-tabs { width: calc(100% - 16px); gap: 5px; margin-top: 7px; }
  .home-tab { min-height: 30px; font-size: 9px; }
  .home-search-link { width: min(100%, 190px); min-height: 29px; }
}


/* V16: compact icon tabs and fixed search launcher in one sideways-scrollable row */
.home-action-row {
  width: min(100% - 16px, 760px);
  margin: 9px auto 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.home-tabs {
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
  margin: 0;
  padding: 1px 0 4px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.home-tabs::-webkit-scrollbar { display: none; }
.home-tab {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  min-height: 29px;
  padding: 0 9px;
  gap: 5px;
  justify-content: center;
  border-radius: 6px;
  font-size: 9px;
  scroll-snap-align: start;
}
.home-tab img {
  display: block;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  object-fit: contain;
}
.home-tab span { line-height: 1; }
.home-search-wrap { display: none; }
.home-search-link {
  flex: 0 0 78px;
  width: 78px;
  min-height: 29px;
  padding: 0 8px;
  gap: 5px;
  border-radius: 6px;
  font-size: 9px;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.home-search-link svg { width: 13px; height: 13px; flex-basis: 13px; }
@media (max-width:480px) {
  .home-action-row { width: calc(100% - 12px); gap: 5px; margin-top: 7px; }
  .home-tabs { gap: 4px; }
  .home-tab { min-height: 27px; padding: 0 7px; gap: 4px; font-size: 8px; }
  .home-tab img { width: 11px; height: 11px; flex-basis: 11px; }
  .home-search-link { flex-basis: 70px; width: 70px; min-height: 27px; padding: 0 6px; font-size: 8px; }
  .home-search-link svg { width: 12px; height: 12px; flex-basis: 12px; }
}

/* V17: keep quick buttons tightly grouped; search stays fixed at the row's right edge. */
.home-action-row {
  justify-content: flex-start;
  gap: 6px;
}
.home-action-row .home-tabs {
  flex: 0 1 auto;
  width: max-content;
  max-width: calc(100% - 84px);
  min-width: 0;
  justify-content: flex-start;
  margin: 0;
}
.home-action-row .home-tab {
  flex: 0 0 auto;
}
.home-action-row .home-search-link {
  flex: 0 0 78px;
  margin: 0;
}
@media (max-width: 480px) {
  .home-action-row { gap: 5px; }
  .home-action-row .home-tabs { max-width: calc(100% - 75px); }
  .home-action-row .home-search-link { flex-basis: 70px; }
}

/* V18: fill the complete row; quick tabs expand to use available space,
   then scroll horizontally as more tabs are added. Search stays fixed. */
.home-action-row {
  width: calc(100% - 12px);
  max-width: none;
  margin: 8px auto 13px;
  padding: 0;
  gap: 0;
  align-items: stretch;
}
.home-action-row .home-tabs {
  flex: 1 1 0;
  width: 0;
  max-width: none;
  min-width: 0;
  gap: 3px;
  padding: 0 3px 2px 0;
  overflow-x: auto;
  overflow-y: hidden;
}
.home-action-row .home-tab {
  flex: 1 0 66px;
  min-width: 66px;
  max-width: none;
  min-height: 30px;
  padding: 0 6px;
  gap: 4px;
  white-space: nowrap;
}
.home-action-row .home-search-link {
  flex: 0 0 76px;
  width: 76px;
  min-width: 76px;
  min-height: 30px;
  margin: 0;
  padding: 0 7px;
  justify-content: center;
  gap: 4px;
}
@media (max-width: 480px) {
  .home-action-row { width: calc(100% - 8px); gap: 0; }
  .home-action-row .home-tabs { gap: 2px; padding-right: 2px; }
  .home-action-row .home-tab {
    flex-basis: 62px;
    min-width: 62px;
    min-height: 28px;
    padding: 0 4px;
    gap: 3px;
    font-size: 8px;
  }
  .home-action-row .home-tab img { width: 11px; height: 11px; flex-basis: 11px; }
  .home-action-row .home-search-link {
    flex-basis: 68px;
    width: 68px;
    min-width: 68px;
    min-height: 28px;
    padding: 0 5px;
    font-size: 8px;
  }
}

/* V19: fixed search overlay, exactly one quick-button wide; tabs slide underneath it. */
.home-action-row {
  --quick-item-width: 72px;
  position: relative;
  display: block;
  width: calc(100% - 12px);
  height: 32px;
  margin: 8px auto 13px;
  padding: 0;
  overflow: visible;
}
.home-action-row .home-tabs {
  display: flex;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
  gap: 3px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.home-action-row .home-tabs::-webkit-scrollbar { display: none; }
.home-action-row .home-tab {
  flex: 0 0 var(--quick-item-width);
  width: var(--quick-item-width);
  min-width: var(--quick-item-width);
  max-width: var(--quick-item-width);
  min-height: 30px;
  height: 30px;
  padding: 0 4px;
  gap: 4px;
  white-space: nowrap;
}
.home-action-row .home-search-link {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  display: inline-flex;
  flex: 0 0 var(--quick-item-width);
  width: var(--quick-item-width);
  min-width: var(--quick-item-width);
  max-width: var(--quick-item-width);
  height: 30px;
  min-height: 30px;
  margin: 0;
  padding: 0 5px;
  justify-content: center;
  gap: 4px;
  border-radius: 6px;
  background: linear-gradient(105deg, #21172d, #17111f 65%, #2a1c37);
  box-shadow: -5px 0 9px rgba(8, 5, 12, .65);
  white-space: nowrap;
}
@media (max-width: 480px) {
  .home-action-row { --quick-item-width: 64px; width: calc(100% - 8px); height: 29px; }
  .home-action-row .home-tabs { gap: 2px; }
  .home-action-row .home-tab {
    min-height: 27px;
    height: 27px;
    padding: 0 3px;
    gap: 3px;
    font-size: 8px;
  }
  .home-action-row .home-tab img { width: 11px; height: 11px; flex-basis: 11px; }
  .home-action-row .home-search-link {
    height: 27px;
    min-height: 27px;
    padding: 0 4px;
    font-size: 8px;
  }
  .home-action-row .home-search-link svg { width: 11px; height: 11px; flex-basis: 11px; }
}


/* V20: search remains fixed and one-button wide while tabs slide underneath it. */
.home-action-row {
  --quick-item-width: 72px;
  position: relative;
  isolation: isolate;
}
.home-action-row .home-tabs {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-right: 0;
  scroll-padding-right: var(--quick-item-width);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.home-action-row .home-tabs.is-dragging { cursor: grabbing; }
.home-action-row .home-tab {
  flex: 0 0 var(--quick-item-width);
  width: var(--quick-item-width);
  min-width: var(--quick-item-width);
  max-width: var(--quick-item-width);
}
.home-action-row .home-search-link {
  z-index: 4;
  width: var(--quick-item-width);
  min-width: var(--quick-item-width);
  max-width: var(--quick-item-width);
  flex-basis: var(--quick-item-width);
  background: linear-gradient(110deg, rgba(33,23,45,.91), rgba(23,17,31,.91) 65%, rgba(42,28,55,.91));
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  box-shadow: -4px 0 10px rgba(8,5,12,.38);
}
@media (max-width: 480px) {
  .home-action-row { --quick-item-width: 64px; }
  .home-action-row .home-tab,
  .home-action-row .home-search-link {
    width: var(--quick-item-width);
    min-width: var(--quick-item-width);
    max-width: var(--quick-item-width);
    flex-basis: var(--quick-item-width);
  }
}

/* V21: remove the empty middle area; let the tab strip fill the row and slide beneath Search. */
.home-action-row {
  --quick-item-width: 72px;
  display: block !important;
  position: relative;
  width: 100%;
  max-width: none;
  height: 32px;
  margin: 8px 0 13px;
  padding: 0;
  gap: 0 !important;
  overflow: visible;
}
.home-action-row .home-tabs {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  gap: 0 !important;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.home-action-row .home-tabs::-webkit-scrollbar { display: none; }
.home-action-row .home-tab {
  /* Three starter buttons stretch across the strip; added buttons keep scrolling on this same line. */
  flex: 1 0 var(--quick-item-width);
  width: auto;
  min-width: var(--quick-item-width);
  max-width: none;
  height: 32px;
  min-height: 32px;
  margin: 0;
  padding: 0 4px;
  gap: 4px;
  border-radius: 0;
  white-space: nowrap;
}
.home-action-row .home-search-link {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  display: inline-flex;
  width: var(--quick-item-width);
  min-width: var(--quick-item-width);
  max-width: var(--quick-item-width);
  flex: 0 0 var(--quick-item-width);
  height: 32px;
  min-height: 32px;
  margin: 0;
  padding: 0 5px;
  justify-content: center;
  gap: 4px;
  border-radius: 0;
  background: #21172d;
  box-shadow: none;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .home-action-row { --quick-item-width: 64px; height: 29px; }
  .home-action-row .home-tab {
    height: 29px;
    min-height: 29px;
    padding: 0 3px;
    gap: 3px;
    font-size: 8px;
  }
  .home-action-row .home-tab img { width: 11px; height: 11px; flex-basis: 11px; }
  .home-action-row .home-search-link {
    height: 29px;
    min-height: 29px;
    padding: 0 4px;
    font-size: 8px;
  }
  .home-action-row .home-search-link svg { width: 11px; height: 11px; flex-basis: 11px; }
}


/* V22: slightly narrower quick buttons; Search remains the same width. */
.home-action-row { --quick-item-width: 66px; }
.home-action-row .home-tab {
  flex: 0 0 var(--quick-item-width);
  width: var(--quick-item-width);
  min-width: var(--quick-item-width);
  max-width: var(--quick-item-width);
}
.home-action-row .home-search-link {
  width: var(--quick-item-width);
  min-width: var(--quick-item-width);
  max-width: var(--quick-item-width);
  flex-basis: var(--quick-item-width);
}
@media (max-width: 480px) {
  .home-action-row { --quick-item-width: 59px; }
}

/* V23: exactly three full quick tabs, with the fourth half visible under a translucent fixed Search panel. */
.home-action-row {
  --quick-item-width: calc(100% / 4.5);
  display: block !important;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  height: 32px;
  margin: 8px 0 13px !important;
  padding: 0 !important;
  gap: 0 !important;
  overflow: hidden;
}
.home-action-row .home-tabs {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: stretch;
  justify-content: flex-start !important;
  position: relative;
  z-index: 1;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.home-action-row .home-tabs::-webkit-scrollbar { display: none; }
.home-action-row .home-tabs.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.home-action-row .home-tab {
  box-sizing: border-box;
  flex: 0 0 var(--quick-item-width) !important;
  width: var(--quick-item-width) !important;
  min-width: var(--quick-item-width) !important;
  max-width: var(--quick-item-width) !important;
  height: 32px;
  min-height: 32px;
  margin: 0 !important;
  padding: 0 3px !important;
  gap: 3px;
  border-radius: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  font-size: clamp(8px, 2.2vw, 10px);
}
.home-action-row .home-tab img {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  object-fit: contain;
}
.home-action-row .home-search-link {
  box-sizing: border-box;
  position: absolute !important;
  z-index: 5 !important;
  top: 0;
  right: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: var(--quick-item-width) !important;
  min-width: var(--quick-item-width) !important;
  max-width: var(--quick-item-width) !important;
  height: 32px;
  min-height: 32px;
  margin: 0 !important;
  padding: 0 4px !important;
  gap: 4px;
  border: 1px solid rgba(205, 169, 105, .78);
  border-radius: 0 !important;
  color: #f1e8f7;
  background: rgba(31, 22, 43, .62) !important;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  box-shadow: -1px 0 7px rgba(5, 3, 9, .16);
  white-space: nowrap;
}
.home-action-row .home-search-link svg {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
}
.home-action-row .home-search-link span {
  font-size: clamp(8px, 2.2vw, 10px);
}
@media (max-width: 480px) {
  .home-action-row { height: 29px; }
  .home-action-row .home-tab,
  .home-action-row .home-search-link {
    height: 29px;
    min-height: 29px;
  }
  .home-action-row .home-tab { padding: 0 2px !important; gap: 2px; }
  .home-action-row .home-tab img,
  .home-action-row .home-search-link svg {
    width: 11px;
    height: 11px;
    flex-basis: 11px;
  }
  .home-action-row .home-search-link { padding: 0 3px !important; gap: 3px; }
}


/* V24: ensure the quick buttons genuinely overflow so the row can be swiped; rounded translucent search overlay. */
.home-action-row {
  --quick-item-width: calc(100% / 4.5);
  overflow: hidden;
}
.home-action-row .home-tabs {
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: none;
}
/* A trailing hidden scroll runway lets the fourth button move beneath the fixed Search panel. */
.home-action-row .home-tabs::after {
  content: "";
  display: block;
  flex: 0 0 var(--quick-item-width);
  width: var(--quick-item-width);
  min-width: var(--quick-item-width);
  height: 1px;
  pointer-events: none;
}
.home-action-row .home-search-link {
  border-radius: 999px !important;
  overflow: hidden;
  background: rgba(31, 22, 43, .58) !important;
  -webkit-backdrop-filter: blur(7px) saturate(125%);
  backdrop-filter: blur(7px) saturate(125%);
  border: 1px solid rgba(205, 169, 105, .82);
  box-shadow: 0 2px 10px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.12);
}
.home-action-row .home-search-link:focus-visible {
  outline: 2px solid #e0bd76;
  outline-offset: 2px;
}


/* Featured casino / live / TV game shelves */
.game-lobby {
  width: 100%;
  padding: 14px 0 34px;
  background: #fff;
  color: #244765;
}
.game-row-section { margin: 0 0 34px; }
.game-row-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px;
  margin: 0 0 12px;
  min-height: 28px;
}
.game-row-heading h2 {
  margin: 0;
  color: #244765;
  font-size: clamp(15px, 2.2vw, 21px);
  line-height: 1.2;
  font-weight: 800;
}
.game-row-heading a {
  color: #6840a0;
  text-decoration: none;
  font-size: clamp(11px, 1.7vw, 15px);
  font-weight: 700;
  white-space: nowrap;
}
.game-row-heading a span { font-size: 1.35em; letter-spacing: -3px; margin-left: 3px; }
.game-card-track {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  padding: 0 15px 3px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  cursor: grab;
}
.game-card-track::-webkit-scrollbar { display: none; }
.game-card-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.game-card {
  flex: 0 0 clamp(176px, 40vw, 278px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: #315b7e;
  background: #e8eef2;
  border-radius: 13px;
  scroll-snap-align: start;
  box-shadow: 0 1px 2px rgba(15,35,55,.08);
}
.game-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.48 / 1;
  object-fit: cover;
  background: #20172d;
  pointer-events: none;
}
.game-card span {
  display: block;
  min-height: 29px;
  padding: 3px 6px 4px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(11px, 2vw, 16px);
  line-height: 1.35;
  background: #e8eef2;
}
@media (min-width: 900px) {
  .game-lobby { padding-top: 22px; }
  .game-row-section { margin-bottom: 42px; }
}

/* V26: white surfaces for the category strip and the quick-tabs/search row */
.category-strip {
  background: #ffffff !important;
  border: 1px solid #e5e9ef !important;
  box-shadow: 0 3px 12px rgba(20, 40, 65, .08) !important;
}
.category-card {
  color: #345875 !important;
}
.category-card:hover,
.category-card:focus-visible {
  color: #68419a !important;
}
.category-image-wrap {
  background: #f1f4f7 !important;
  border-color: #dce3eb !important;
  box-shadow: 0 2px 7px rgba(20, 40, 65, .10) !important;
}
.home-action-row {
  background: #ffffff !important;
  border: 1px solid #e5e9ef !important;
  border-radius: 9px !important;
  box-shadow: 0 3px 12px rgba(20, 40, 65, .08) !important;
}
.home-action-row .home-tab {
  color: #345875 !important;
  background: #ffffff !important;
  border-color: transparent !important;
}
.home-action-row .home-tab.active {
  color: #56317f !important;
  background: #f0eafa !important;
}
.home-action-row .home-tab:hover,
.home-action-row .home-tab:focus-visible {
  background: #f4f0f9 !important;
  color: #56317f !important;
}
.home-action-row .home-search-link {
  color: #345875 !important;
  background: rgba(255, 255, 255, .78) !important;
  border: 1px solid #d7dfe8 !important;
  box-shadow: -2px 0 8px rgba(30, 50, 75, .10), inset 0 1px 0 rgba(255,255,255,.85) !important;
  -webkit-backdrop-filter: blur(7px) saturate(120%);
  backdrop-filter: blur(7px) saturate(120%);
}
.home-action-row .home-search-link svg {
  stroke: #68419a !important;
}
.home-action-row .home-search-link:focus-visible {
  outline-color: #68419a !important;
}


/* V27 deployment/layout repair: explicit sizing and cache-busted stylesheet */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.hero-slider, .slides {
  display: block !important;
  width: 100% !important;
}
.slides {
  position: relative !important;
  height: clamp(132px, 24vw, 220px) !important;
  overflow: hidden !important;
  border-radius: 12px !important;
}
.hero-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.hero-slide.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.hero-slide > img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
}
.hero-slide .slide-copy {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: min(76%, 560px) !important;
  max-width: 76% !important;
  padding: 10px 14px !important;
  color: #fff !important;
}
.hero-slide .slide-copy h2 {
  margin: 6px 0 5px !important;
  font-size: clamp(16px, 3vw, 27px) !important;
  line-height: 1.12 !important;
}
.hero-slide .slide-copy p {
  margin: 0 0 10px !important;
  font-size: clamp(9px, 1.5vw, 13px) !important;
  line-height: 1.35 !important;
}
.category-strip {
  display: block !important;
  width: calc(100% - 10px) !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 7px 5px 12px !important;
  padding: 8px !important;
  overflow: hidden !important;
  background: #fff !important;
}
.category-strip .category-track {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  width: 100% !important;
  height: auto !important;
  max-height: 70px !important;
  gap: 10px !important;
  padding: 2px 1px 4px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-x !important;
}
.category-strip .category-track::-webkit-scrollbar { display: none !important; }
.category-strip .category-card {
  display: flex !important;
  flex: 0 0 52px !important;
  width: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  height: 60px !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 3px !important;
  padding: 0 !important;
  color: #345875 !important;
  text-decoration: none !important;
  text-align: center !important;
  font-size: 7px !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}
.category-strip .category-image-wrap {
  display: grid !important;
  flex: 0 0 36px !important;
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  place-items: center !important;
  overflow: hidden !important;
  border-radius: 50% !important;
}
.category-strip .category-image-wrap img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}
.category-strip .category-card > span:last-child {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 12px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}
@media (max-width: 480px) {
  .slides { height: 150px !important; }
  .category-strip { margin-left: 4px !important; margin-right: 4px !important; width: calc(100% - 8px) !important; }
}
