/* Illustrated assets matched to the supplied purchase-page reference. */
body.catalog-page .product .catalog-balls {
  display: none !important;
}
body.catalog-page .product:before {
  display: none !important;
}
body.catalog-page .product {
  background-image: url('../img/brand/catalog-art-atlas.png') !important;
  background-repeat: no-repeat !important;
}
body.catalog-page .product.keno {
  background-size: 430.92784% 270.4023% !important;
  background-position: 3.27103% 30.86003% !important;
}
body.catalog-page .product.bingo {
  background-size: 450.67385% 270.4023% !important;
  background-position: 34.43505% 30.86003% !important;
}
body.catalog-page .product.power {
  background-size: 460.60606% 270.4023% !important;
  background-position: 64.01833% 30.86003% !important;
}
body.catalog-page .product.mega {
  background-size: 430.92784% 258.51648% !important;
  background-position: 3.27103% 94.62738% !important;
}
body.catalog-page .product.lotto {
  background-size: 450.67385% 258.51648% !important;
  background-position: 34.43505% 94.62738% !important;
}
body.catalog-page .product.max3d {
  background-size: 460.60606% 258.51648% !important;
  background-position: 64.01833% 94.62738% !important;
}
body.catalog-page .card-top {
  min-height: 82px !important;
}
body.catalog-page .product-logo {
  filter: drop-shadow(0 0 8px #fff9) drop-shadow(0 3px 5px #0006);
}
body.catalog-page .heading {
  position: relative;
  isolation: isolate;
  min-height: 86px !important;
  margin-bottom: 14px !important;
}
body.catalog-page .heading:before {
  content: '';
  position: absolute;
  inset: -20px -32px 0;
  z-index: -1;
  background: url('../img/brand/catalog-art-atlas.png') center top/100% auto no-repeat;
  pointer-events: none;
}
body.catalog-page .heading h2 {
  margin: 16px 0 0 !important;
  text-shadow: 0 3px 12px #00132c;
}
body.catalog-page .site-header .logo {
  background: transparent !important;
  padding: 0 !important;
}
body.catalog-page .site-header .logo img {
  filter: drop-shadow(0 1px 4px #fff8);
}
body.catalog-page .feature-prize .rail-feature-art,
body.catalog-page .feature-fortune .rail-feature-art,
body.catalog-page .feature-member .rail-feature-art {
  visibility: hidden !important;
}
body.catalog-page .feature-fortune summary {
  flex-direction: row-reverse !important;
}
body.catalog-page .service-card {
  background-repeat: no-repeat !important;
}
body.catalog-page #closing-soon {
  background-image: url('../img/brand/catalog-art-atlas.png') !important;
  background-size: 412.83951% 325.60554% !important;
  background-position: 96.92186% 26.53374% !important;
}
body.catalog-page .feature-prize {
  background-image: url('../img/brand/catalog-art-atlas.png') !important;
  background-size: 412.83951% 718.32061% !important;
  background-position: 96.92186% 58.51852% !important;
}
body.catalog-page .feature-fortune {
  background-image: url('../img/brand/catalog-art-atlas.png') !important;
  background-size: 412.83951% 667.37589% !important;
  background-position: 96.92186% 77.125% !important;
}
body.catalog-page .feature-member {
  background-image: url('../img/brand/catalog-art-atlas.png') !important;
  background-size: 412.83951% 672.14286% !important;
  background-position: 96.92186% 96.12984% !important;
}
body.catalog-page .feature-fortune .rail-feature-copy {
  flex: 1;
}
body.catalog-page .rail-feature-copy b {
  font-size: 16px !important;
}
body.catalog-page .feature-member .rail-feature-art {
  width: 82px !important;
}
@media (max-width: 760px) {
  body.catalog-page .heading:before {
    opacity: 0.55;
  }
  body.catalog-page .heading h2 {
    font-size: 26px !important;
  }
}

body.catalog-page .site-header .logo {
  position: relative;
  width: 168px !important;
  height: 58px !important;
  flex-basis: 168px !important;
  background: url('../img/brand/logo-figma-white.png') center/contain no-repeat !important;
}
body.catalog-page .site-header .logo > * {
  visibility: hidden !important;
}
body.catalog-page .site-header .logo:after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fa1741;
  mask: url('../img/brand/logo-figma-white.png') center/contain no-repeat;
  -webkit-mask: url('../img/brand/logo-figma-white.png') center/contain no-repeat;
  clip-path: polygon(69% 0, 100% 0, 100% 100%, 0 100%, 0 67%, 69% 67%);
}

/* Keep catalogue content in ordinary flow, independent of old homepage positioning. */
body.catalog-page .product .prize-label,
body.catalog-page .product .amount,
body.catalog-page .product .draw-info,
body.catalog-page .product .card-links,
body.catalog-page .product .variant-slot {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  width: auto !important;
  max-width: 100% !important;
}
body.catalog-page .product .logo-plate {
  border: 0 !important;
  border-radius: 0 !important;
}
body.catalog-page .product .draw-info time {
  display: block;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600;
}
body.catalog-page .product .round-head {
  color: #ffefd6 !important;
  font-size: 12px !important;
}
body.catalog-page .product .card-links {
  display: block !important;
  border: 0 !important;
  padding: 0 !important;
}
body.catalog-page .product .prize-label {
  display: block !important;
}
body.catalog-page .product .variant-slot {
  margin-top: auto !important;
}
body.catalog-page .service-sidebar .rail-feature-copy {
  color: inherit !important;
}
body.catalog-page .service-sidebar .rail-content {
  padding: 12px 0 0;
  line-height: 1.5;
}
body.catalog-page .service-sidebar .rail-content table {
  width: 100%;
  font-size: 12px;
}
body.catalog-page .service-sidebar .rail-content small {
  display: block;
}
body.catalog-page #account-overview:has(> span) {
  display: none !important;
}
body.catalog-page .product .product-choose:after {
  content: ' →';
  margin-left: 12px;
}

/* Expanded details use a readable solid surface; illustrations never stretch with content. */
body.catalog-page .service-card.rail-disclosure[open] {
  background-image: none !important;
  background: #fff6df !important;
  color: #321e14 !important;
  overflow: hidden !important;
}
body.catalog-page .service-card.rail-disclosure[open] .rail-feature-art {
  visibility: visible !important;
  flex-shrink: 0;
}
body.catalog-page .service-card.rail-disclosure[open] summary {
  padding-bottom: 14px !important;
  border-bottom: 1px solid #b8894440;
}
body.catalog-page .service-card.rail-disclosure .rail-content {
  padding-top: 16px !important;
}
body.catalog-page .rail-content label {
  display: block !important;
  margin: 0 0 8px !important;
  font-size: 13px !important;
  font-weight: 700;
}
body.catalog-page .rail-content select {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  margin-bottom: 14px;
  border: 1px solid #c3a674;
  border-radius: 8px;
  background: #fff;
  color: #352518;
}
body.catalog-page #prize-breakdown table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
body.catalog-page #prize-breakdown th,
body.catalog-page #prize-breakdown td {
  padding: 10px 8px !important;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid #d6c5a4;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
body.catalog-page #prize-breakdown td small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}
body.catalog-page #prize-breakdown p {
  margin: 14px 0 !important;
  line-height: 1.6;
}
body.catalog-page .product .round-clock {
  display: flex !important;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 3px;
  margin-top: 4px !important;
}
body.catalog-page .product .round-clock > span {
  flex-shrink: 0;
}
body.catalog-page .product .round-clock > b {
  white-space: nowrap;
}
body.catalog-page .catalog-schedule-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 1px 0 6px;
  min-height: 22px;
}
body.catalog-page .catalog-schedule-tags span,
body.catalog-page .catalog-schedule-tags b {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid #fff6;
  border-radius: 6px;
  color: #fff9e6;
  background: #17091b80;
  font-size: 10px;
  line-height: 1.1;
  letter-spacing: 0.3px;
}
body.catalog-page .catalog-schedule-tags b {
  background: #ffe092;
  color: #541320;
  border-color: #fff0b7;
}
body.catalog-page #products,
body.catalog-page .fixed-product-order,
body.catalog-page .workspace > section {
  overflow: visible !important;
}
body.catalog-page .product {
  transform-origin: center;
  will-change: transform;
  transition:
    transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.24s !important;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body.catalog-page #products .product:hover {
    transform: translateY(-10px) scale(1.025) !important;
    z-index: 8 !important;
    box-shadow:
      0 22px 42px #000a,
      0 0 0 2px #fff8,
      0 0 32px var(--accent) !important;
  }
  body.catalog-page #products .product:hover .product-logo {
    filter: drop-shadow(0 0 13px #fffb);
  }
}
body.catalog-page #products .product:focus-within {
  z-index: 8 !important;
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Clear account navigation and compact functional tools. */
body.catalog-page .site-header .nav-i > a,
body.catalog-page .site-header .nav-i > button {
  color: #f3f6ff !important;
  opacity: 1 !important;
}
body.catalog-page .site-header .nav-i.active > a,
body.catalog-page .site-header .nav-i.active > button {
  color: #ff3159 !important;
}
body.catalog-page .site-header .hicon {
  color: #fff !important;
  background: #102747 !important;
  border-color: #466080 !important;
}
body.catalog-page .combined-fortune > img {
  display: none !important;
}
body.catalog-page .combined-fortune > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}
body.catalog-page .combined-fortune h2 {
  font-size: 20px !important;
  margin: 0 !important;
}
body.catalog-page .combined-fortune p {
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
body.catalog-page #lucky-number {
  display: inline-grid;
  place-items: center;
  min-width: 64px;
  min-height: 64px;
  background: linear-gradient(#fff0a5, #ffc851);
  border-radius: 14px;
  border: 1px solid #c49943;
  color: #7b1830;
  font-size: 30px;
  font-weight: 900;
}
body.catalog-page #fortune-refresh {
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 9px;
  background: #c60036;
  color: white;
  font: 700 14px inherit;
  cursor: pointer;
}
body.catalog-page .combined-fortune a {
  color: #8e1633;
  text-decoration: underline;
  font-size: 14px;
}
body.catalog-page .combined-fortune small {
  line-height: 1.5;
  font-size: 12px;
}
body.catalog-page .rail-player-tools {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px !important;
  margin: 14px 0 0 !important;
  padding: 16px !important;
  background: #0c2140;
  border: 1px solid #28466a;
  border-radius: 14px;
  position: static !important;
  color: #edf4ff;
}
body.catalog-page .rail-player-tools > span {
  grid-column: 1/-1;
  font-size: 13px;
  font-weight: 700;
}
body.catalog-page .rail-player-tools > a,
body.catalog-page .rail-player-tools > button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 8px 10px !important;
  margin: 0 !important;
  border: 1px solid #456185 !important;
  border-radius: 8px;
  background: #142f50 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
}
body.catalog-page .rail-player-tools > a {
  grid-column: 1/-1;
}
