/* Unified final homepage layer. */
body[data-page='home'] .dh {
  padding-top: 16px;
}
body[data-page='home'] .dh .hero {
  height: 238px !important;
  min-height: 238px !important;
  max-height: none !important;
  overflow: hidden;
}
body[data-page='home'] .dh .hero > .hero-copy {
  height: 238px !important;
  min-height: 0 !important;
  max-height: none !important;
  width: 78% !important;
  max-width: 78% !important;
  padding: 22px 14px 36px 165px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  background: none !important;
}
body[data-page='home'] .dh .hero .hero-label {
  visibility: visible !important;
  padding: 0 !important;
  position: static !important;
  min-height: 0 !important;
  font-size: 11px !important;
  margin-bottom: 4px !important;
}
body[data-page='home'] .dh .hero .featured-logo {
  position: absolute !important;
  width: 118px !important;
  height: 80px !important;
  left: 20px !important;
  top: 35px !important;
  background: linear-gradient(135deg, #fffdf0, #ffeab5) !important;
  border-radius: 14px !important;
  padding: 9px !important;
  filter: drop-shadow(0 4px 8px #4b001b30) !important;
  box-sizing: border-box !important;
}
body[data-page='home'] .dh .hero h1 {
  font: 900 clamp(32px, 4.1vw, 66px)/1.15 var(--app-font) !important;
  letter-spacing: -1.8px !important;
  margin: 2px 0 8px !important;
  white-space: nowrap !important;
  background: linear-gradient(
    175deg,
    #fffde0 0%,
    #ffe58c 32%,
    #dca837 48%,
    #fff1b4 53%,
    #efbc47 80%,
    #fff0b1
  ) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-text-stroke: 0.4px #ffe49b !important;
  filter: drop-shadow(0 2px 0 #80500b) drop-shadow(0 5px 6px #42001555) !important;
  animation: none !important;
}
body[data-page='home'] .dh .hero-brandline {
  font-size: 12px;
  color: #fff0de;
  margin: 0 0 8px;
  line-height: 1.4;
}
body[data-page='home'] .dh .hero .hero-actions {
  position: absolute !important;
  left: 20px !important;
  top: 132px !important;
  width: 128px !important;
  margin: 0 !important;
}
body[data-page='home'] .dh .hero .hero-actions a {
  padding: 10px !important;
  font-size: 12px !important;
}
body[data-page='home'] .dh .hero-live {
  font-size: 11px;
  gap: 16px !important;
  margin: 0 !important;
}
.hero-live > span > b {
  font-size: 13px !important;
}
body[data-page='home'] .dh .hero-clock-note {
  font-size: 10px !important;
  margin-top: 5px !important;
}
body[data-page='home'] .dh .today {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  padding: 15px !important;
}
.today-row {
  padding: 5px !important;
  margin-bottom: 5px !important;
}
.today-row time {
  font-size: 11px !important;
}
body[data-page='home'] .dh .product.keno {
  --surface: #ffdc3e;
  --ink: #4c3404;
  background: linear-gradient(130deg, #ffed87, #ffda38) !important;
  border-color: #e4bd2b !important;
}
body[data-page='home'] .dh .product.bingo {
  --surface: #bc4b0e;
  --ink: #fff;
  background: linear-gradient(130deg, #a33a06, #d16916) !important;
  border-color: #b44c12 !important;
}
body[data-page='home'] .dh .product.lotto {
  --surface: #1c743c;
  --ink: #fff;
  background: linear-gradient(130deg, #145b32, #2b8849) !important;
  border-color: #22753d !important;
}
body[data-page='home'] .dh .product.mega {
  --surface: #c71d36;
  --ink: #fff;
  background: linear-gradient(130deg, #ad1029, #df3049) !important;
  border-color: #c31b39 !important;
}
body[data-page='home'] .dh .product.max3d {
  --surface: #992378;
  --ink: #fff;
  background: linear-gradient(130deg, #74105f, #b33798) !important;
  border-color: #9e2a85 !important;
}
body[data-page='home'] .dh .product.power.prize-leader {
  --surface: #890027;
  --ink: #fff;
  background: linear-gradient(130deg, #680021, #ab0a34) !important;
  border: 1px solid #d0a34f !important;
  box-shadow: 0 5px 18px #75002624 !important;
}
body[data-page='home'] .dh .product {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ink) !important;
  padding: 16px !important;
  border-top-width: 1px !important;
  min-width: 0 !important;
  max-height: none !important;
}
body[data-page='home'] .dh .product .product-identity-art {
  display: block;
  position: absolute;
  right: 0;
  top: 10px;
  width: 44%;
  height: 82px;
  object-fit: contain;
  opacity: 0.16;
  filter: brightness(1.8) saturate(0.6);
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 0;
}
body[data-page='home'] .dh .product .card-top {
  height: 70px !important;
  min-height: 70px !important;
  margin: 0 0 9px !important;
}
.product-caption {
  display: none !important;
}
body[data-page='home'] .dh .product .logo-plate {
  width: 116px !important;
  height: 65px !important;
  background: #fffaf0 !important;
  box-shadow: 0 3px 8px #36001620 !important;
  border: 1px solid #ffffffa0 !important;
}
.product .logo-plate img {
  max-width: 100%;
}
body[data-page='home'] .dh .product .prize-label,
body[data-page='home'] .dh .product .draw-info,
body[data-page='home'] .dh .product .card-links a {
  color: var(--ink) !important;
}
body[data-page='home'] .dh .product .prize-label {
  opacity: 0.9;
}
.product .round-head {
  opacity: 0.9;
}
body[data-page='home'] .dh .product .amount {
  color: #fff0b3 !important;
  -webkit-text-fill-color: #fff0b3 !important;
  font-size: clamp(23px, 7.6cqw, 32px) !important;
  filter: drop-shadow(0 1px 1px #39071130) !important;
}
body[data-page='home'] .dh .product.power .amount {
  font-size: clamp(26px, 8.5cqw, 38px) !important;
  background: linear-gradient(#fffbd5, #ffd46a, #fff0ad) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 0 #71420d) !important;
}
body[data-page='home'] .dh .product.keno .amount {
  color: #4c3404 !important;
  -webkit-text-fill-color: #4c3404 !important;
  font-size: clamp(22px, 7cqw, 29px) !important;
  filter: none !important;
}
body[data-page='home'] .dh .product.bingo .amount,
body[data-page='home'] .dh .product.max3d .amount {
  font-size: clamp(22px, 7cqw, 29px) !important;
  color: white !important;
  -webkit-text-fill-color: white !important;
}
body[data-page='home'] .dh .product .draw-info {
  border-top: 1px solid #ffffff40 !important;
  padding: 9px 0 !important;
}
.product.keno .draw-info {
  border-top-color: #87651440 !important;
}
body[data-page='home'] .dh .product .variant-slot {
  min-height: 42px !important;
  margin-top: auto !important;
}
body[data-page='home'] .dh .product .product-choose {
  background: #fff !important;
  color: #a5002b !important;
  border: 1px solid #fff !important;
  font-weight: 800 !important;
}
.product-choose:hover {
  box-shadow: 0 3px 12px #35000e30 !important;
}
body[data-page='home'] .dh .product.power .product-choose {
  background: #ffe7a0 !important;
  border-color: #ffe7a0 !important;
}
.variant-tabs button {
  background: #ffffffee !important;
  border-color: #ffffff80 !important;
}
.variant-tabs button[aria-selected='true'] {
  background: #f9d879 !important;
  color: #6f1728 !important;
  border-color: #fff1ad !important;
}
body[data-page='home'] .dh .product .card-links a {
  opacity: 0.85 !important;
  text-decoration: underline !important;
}
body[data-page='home'] .dh .product:before {
  display: block !important;
  content: '' !important;
  position: absolute !important;
  inset: 0 0 auto !important;
  height: 91px !important;
  background: linear-gradient(110deg, transparent 25%, #fff4d82b 50%, transparent 75%) !important;
  background-size: 300% 100% !important;
  animation: card-light-pass 12s ease-in-out infinite !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
body[data-page='home'] .dh .news {
  display: block !important;
  padding: 20px !important;
  width: 100% !important;
}
.news h2 {
  margin: 0 0 15px !important;
}
body[data-page='home'] .dh .news-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  width: 100% !important;
  gap: 14px !important;
  flex: none !important;
}
body[data-page='home'] .dh .news-grid > a {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column !important;
  background: white !important;
  grid-template-columns: none !important;
}
body[data-page='home'] .dh .news-grid > a > img,
body[data-page='home'] .dh .news-grid > a > .news-art {
  height: auto !important;
  aspect-ratio: 16/9 !important;
  width: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
}
.news-grid b {
  font-size: 16px !important;
  line-height: 1.4 !important;
}
.news-grid span {
  font-size: 13px !important;
  line-height: 1.5 !important;
}
.home-app-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin: 26px 0 0;
  padding: 28px 32px;
  background: linear-gradient(110deg, #a5002a, #e00037);
  color: white;
  border-radius: 16px;
}
.home-app-strip h2 {
  font-size: 26px;
  margin: 0 0 9px;
}
.home-app-strip p {
  font-size: 14px;
  margin: 0;
}
.home-app-strip > div:last-child {
  display: flex;
  gap: 12px;
}
.home-app-strip img {
  width: 150px;
  height: 48px;
  object-fit: contain;
}
.home-full-footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 24px;
  padding: 35px 0 15px;
  color: #35485f;
}
.home-full-footer h3 {
  font-size: 15px;
  margin: 0 0 15px;
  color: #172c44;
}
.home-full-footer a {
  display: block;
  font-size: 13px;
  margin: 10px 0;
  line-height: 1.4;
}
.home-full-footer a:hover {
  color: #b1002c;
  text-decoration: underline;
}
.footer-brand > img {
  width: 150px;
  max-height: 60px;
  object-fit: contain;
  object-position: left;
}
.home-full-footer p,
.home-full-footer small {
  font-size: 12px;
  line-height: 1.6;
}
.home-full-footer small {
  display: block;
  color: #65758a;
}
.footer-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #d9e1ea;
  padding-top: 18px;
  font-size: 12px;
  line-height: 1.6;
}
.footer-bottom span {
  max-width: 55%;
}
.footer-bottom b {
  display: inline-block;
  border: 1px solid #b0002e;
  border-radius: 50%;
  padding: 6px;
  color: #b0002e;
}
body[data-page='home'] .demo-overview {
  margin-bottom: 10px !important;
}
body[data-page='home'] .demo-invariant {
  padding: 7px 12px;
  font-size: 12px;
}
body[data-page='home'] .demo-steps {
  padding: 9px 12px;
}
body[data-page='home'] .contact-dock {
  right: 8px;
  bottom: 95px;
}
body[data-page='home'] .contact-dock button {
  width: 49px;
  height: 49px;
  font-size: 9px;
}
body[data-page='home'] .contact-dock b {
  font-size: 18px;
}
@media (max-width: 1100px) {
  .home-full-footer {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  body[data-page='home'] .dh .hero h1 {
    font-size: clamp(28px, 4.4vw, 48px) !important;
  }
  body[data-page='home'] .dh .hero > .hero-copy {
    padding-left: 138px !important;
  }
  .home-app-strip {
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  body[data-page='home'] .dh .hero,
  body[data-page='home'] .dh .hero > .hero-copy {
    height: 272px !important;
    min-height: 272px !important;
  }
  body[data-page='home'] .dh .hero > .hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    padding: 72px 16px 40px !important;
  }
  body[data-page='home'] .dh .hero .featured-logo {
    top: 12px !important;
    left: 16px !important;
    width: 85px !important;
    height: 48px !important;
    padding: 5px !important;
  }
  body[data-page='home'] .dh .hero .hero-label {
    position: absolute !important;
    top: 23px !important;
    left: 115px !important;
  }
  body[data-page='home'] .dh .hero h1 {
    font-size: clamp(28px, 8.5vw, 47px) !important;
    letter-spacing: -1px !important;
  }
  body[data-page='home'] .dh .hero .hero-actions {
    position: static !important;
    width: auto !important;
    margin: 7px 0 !important;
    order: 5;
  }
  body[data-page='home'] .dh .hero-brandline {
    font-size: 10px;
  }
  .home-full-footer {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom span {
    display: block;
    max-width: 100%;
    margin: 10px 0;
  }
  .home-app-strip {
    padding: 23px;
  }
  .home-app-strip h2 {
    font-size: 23px;
  }
  .home-app-strip img {
    width: 126px;
  }
  .news-grid {
    grid-template-columns: 1fr !important;
  }
  body[data-page='home'] .dh .news-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page='home'] .dh .product:before {
    animation: none !important;
  }
}
/* Compact product catalogue: do not stretch cards to sidebar height. */
body[data-page='home'] .dh .workspace {
  align-items: start !important;
}
body[data-page='home'] .dh .product-grid {
  grid-auto-rows: auto !important;
  align-content: start !important;
  gap: 12px !important;
}
body[data-page='home'] .dh .product-group {
  margin: 0 !important;
}
body[data-page='home'] .dh .product-group > header {
  margin-bottom: 8px;
  padding-bottom: 6px;
}
body[data-page='home'] .dh .product {
  padding: 12px !important;
  min-height: 0 !important;
  height: auto !important;
}
body[data-page='home'] .dh .product .card-top {
  height: 64px !important;
  min-height: 64px !important;
  margin-bottom: 4px !important;
}
body[data-page='home'] .dh .product .logo-plate {
  width: 156px !important;
  height: 64px !important;
  padding: 2px !important;
  border-radius: 10px !important;
  overflow: hidden;
}
body[data-page='home'] .dh .product .product-logo {
  width: 100% !important;
  height: 60px !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: scale(1.35);
  filter: drop-shadow(0 2px 2px #38200015) !important;
}
body[data-page='home'] .dh .product .product-identity-art {
  width: 46%;
  height: 108px;
  right: -5px;
  top: -8px;
  opacity: 0.32;
  filter: brightness(1.8);
  transform: rotate(-12deg) scale(1.1);
}
body[data-page='home'] .dh .product .amount {
  margin: 2px 0 5px !important;
}
body[data-page='home'] .dh .product .draw-info {
  padding: 6px 0 !important;
}
body[data-page='home'] .dh .product .variant-slot {
  min-height: 36px !important;
  margin-top: 0 !important;
}
body[data-page='home'] .dh .product .card-links {
  padding-top: 3px !important;
}
body[data-page='home'] .dh .product:before {
  height: 105px !important;
  opacity: 1 !important;
  animation-duration: 6s !important;
}
body[data-page='home'] .dh .product.prize-leader .amount {
  animation: jackpot-glow 2.8s ease-in-out infinite !important;
}
body[data-page='home'] .dh .hero h1 {
  animation: jackpot-glow 2.8s ease-in-out infinite !important;
}
@keyframes jackpot-glow {
  0%,
  100% {
    filter: drop-shadow(0 2px 0 #70440a) drop-shadow(0 0 2px #ffdf7250);
  }
  50% {
    filter: drop-shadow(0 2px 0 #70440a) drop-shadow(0 0 10px #ffe087cc);
    text-shadow: 0 0 18px #ffd05c66;
  }
}
body[data-page='home'] .dh .service-sidebar {
  align-content: start;
  gap: 9px;
}
body[data-page='home'] .dh .service-card {
  padding: 12px;
}
body[data-page='home'] .dh .service-card h2,
body[data-page='home'] .dh .service-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
body[data-page='home'] .dh .service-card p {
  font-size: 12px;
  margin: 5px 0;
}
body[data-page='home'] .dh .fortune-card > img {
  height: 80px;
  width: 62px;
}
body[data-page='home'] .dh .lucky-number {
  width: 50px;
  height: 50px;
  font-size: 29px;
  float: right;
  margin: 0 0 6px 10px;
}
@media (min-width: 1250px) {
  body[data-page='home'] .dh .hero,
  body[data-page='home'] .dh .hero > .hero-copy {
    height: 190px !important;
    min-height: 190px !important;
  }
  body[data-page='home'] .dh .hero > .hero-copy {
    padding-top: 10px !important;
    padding-bottom: 22px !important;
  }
  body[data-page='home'] .dh .hero .featured-logo {
    top: 17px !important;
  }
  body[data-page='home'] .dh .hero .hero-actions {
    top: 112px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page='home'] .dh .product.prize-leader .amount,
  body[data-page='home'] .dh .hero h1 {
    animation: none !important;
  }
}
body[data-page='home'] .dh .group-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body[data-page='home'] .dh .product-group:has(.group-grid > p) {
  display: none;
}
body[data-page='home'] .dh .news {
  padding: 14px 0 !important;
  background: none;
  border: 0;
}
.news-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.news-links a {
  font-size: 13px;
  color: #a50030;
  text-decoration: underline;
}
.today-row time small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: #715367;
}
.today-row time {
  text-align: right;
}
.prize-card select {
  width: 100%;
  padding: 8px;
  border: 1px solid #d7dfe8;
  border-radius: 8px;
  margin: 5px 0 12px;
  background: white;
  font: inherit;
  font-size: 13px;
}
.prize-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.prize-card th {
  text-align: left;
  color: #63758c;
  font-size: 11px;
}
.prize-card td {
  padding: 6px 0;
  border-bottom: 1px solid #edf0f4;
}
.prize-card td:last-child {
  text-align: right;
  font-weight: 700;
}
.prize-card td small {
  font-size: 10px !important;
}
.prize-card label {
  font-size: 12px;
  color: #63758c;
}
.rail-prize {
  font-size: 26px !important;
  color: #915000;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.closing-line strong {
  font-size: 20px !important;
}
.closing-card > a:last-child {
  font-size: 12px;
  text-align: center;
  margin-top: 7px;
}
body[data-page='home'] .dh .combined-fortune #lucky-number {
  float: none;
  display: inline;
  background: #ffe6a0;
  color: #8f002a;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 20px;
}
body[data-page='home'] .dh .service-sidebar {
  max-height: none;
}
body[data-page='home'] .dh .hero.motion-paused h1 {
  animation: none !important;
}
.product-details-dialog {
  max-width: 520px;
  width: calc(100% - 30px);
  border: 0;
  border-radius: 18px;
  padding: 26px;
  color: #21364e;
  box-shadow: 0 20px 80px #0004;
}
.product-details-dialog::backdrop {
  background: #18253688;
}
.product-details-dialog > img {
  width: 135px;
  height: 70px;
  object-fit: contain;
}
.product-details-dialog .close {
  float: right;
  width: 40px;
  height: 40px;
  font-size: 25px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.product-details-dialog p {
  line-height: 1.6;
}
.product-details-dialog > a {
  display: inline-block;
  margin: 8px 15px 0 0;
  color: #ac0030;
  text-decoration: underline;
}
body[data-page='home'] .responsible-bar {
  position: static;
  margin: 0 auto;
  justify-content: center;
  background: transparent;
  color: #4b6079;
  border-top: 1px solid #dbe2eb;
  box-shadow: none;
}
body[data-page='home'] .responsible-bar a,
body[data-page='home'] .responsible-bar button {
  color: #4b6079;
}
#demo-controls {
  left: 12px;
  right: auto;
  max-width: 290px;
}
.data-source {
  grid-column: 1/-1;
  font-size: 11px !important;
  margin: 0 !important;
}
.return-guide {
  font-size: 12px;
  color: #a7002f;
}
@media (max-width: 760px) {
  body[data-page='home'] .dh .group-grid {
    grid-template-columns: 1fr;
  }
  .news-links {
    display: grid;
    gap: 12px;
  }
  #demo-controls {
    max-width: 170px;
    font-size: 10px;
  }
}
#closing-soon[data-game='power'] .rail-prize {
  color: #936000;
  text-shadow: 0 1px #fff2b7;
  animation: jackpot-glow 2.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  #closing-soon[data-game='power'] .rail-prize {
    animation: none;
  }
}
.sidebar-handbook {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #e1e6ed;
  border-radius: 13px;
  background: white;
}
.sidebar-handbook h2 {
  font-size: 16px;
  margin: 0 0 10px;
  color: #243a53;
}
.sidebar-handbook > a {
  font-size: 12px;
  color: #b00030;
}
.handbook-tools {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  border-top: 1px solid #e9edf2;
  padding-top: 10px;
}
.handbook-tools a {
  display: block;
  padding: 10px 12px;
  background: #f6f7fa;
  border: 1px solid #e8ecf2;
  border-radius: 8px;
}
.handbook-tools b {
  display: block;
  font-size: 13px;
  color: #263b54;
}
.handbook-tools span {
  display: block;
  font-size: 11px;
  color: #63758a;
  margin-top: 3px;
}
.handbook-tools a:hover {
  border-color: #c30036;
  background: #fff4f6;
}
.footer-store-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.footer-store-icons img {
  display: block;
  width: 120px;
  height: 37px;
  object-fit: contain;
}
.footer-app-preview > span:last-child {
  display: block;
  margin-top: 8px;
  font-size: 12px;
}
.footer-apps small {
  font-size: 10px !important;
}
.home-full-footer {
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1.15fr;
}
@media (max-width: 1100px) {
  .home-full-footer {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .home-full-footer {
    grid-template-columns: repeat(2, 1fr);
  }
}
.quick-verdict {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 15px;
  border: 1px solid #dce4ec;
  border-radius: 10px;
  background: #f4f6f9;
  margin: 12px 0;
  color: #344960;
}
.quick-verdict.won {
  background: #fff3d6;
  border-color: #edca76;
  color: #754a06;
}
.quick-verdict strong {
  font-size: 20px;
}
.quick-verdict b {
  font-size: 18px;
}
.quick-verdict small {
  flex-basis: 100%;
  font-size: 12px;
}
.quick-verdict small:empty {
  display: none;
}
.demo-all-results > div {
  align-items: start !important;
}
.demo-all-results > div > a {
  display: block !important;
  min-width: 0;
  padding: 12px !important;
}
.demo-all-results a > span {
  display: block;
  font-size: 11px;
  color: #66788c;
  margin: 3px 0 8px;
}
.result-number-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 5px 0;
}
.result-number {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 29px;
  height: 29px;
  padding: 0 5px;
  border-radius: 50%;
  background: white;
  color: #a50030 !important;
  border: 1px solid #e0bbc6;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.result-number.special-number {
  background: #b70032;
  color: white !important;
  border-color: #b70032;
}
.result-prize-group {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 5px;
  align-items: center;
}
.result-prize-group small {
  font-size: 10px;
  color: #5b6e83;
}
.result-prize-group .result-number {
  border-radius: 6px;
  min-width: 36px;
}
.demo-all-results a > small {
  font-size: 10px;
  color: #596e84;
}
.home-latest .result-number-row {
  margin: 0;
}
.home-latest .latest-balls .result-number {
  width: 32px;
  height: 32px;
}
.demo-all-results > div {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
@media (max-width: 900px) {
  .demo-all-results > div {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 560px) {
  .demo-all-results > div {
    grid-template-columns: 1fr !important;
  }
}
body[data-page='home'] .dh .fixed-product-order {
  gap: 12px;
}
#closing-soon[data-game='power'] {
  background: linear-gradient(125deg, #a3002a, #d50638) !important;
  border-color: #e8bd63;
  color: white;
}
#closing-soon[data-game='power'] :is(h3, p, strong) {
  color: white !important;
}
#closing-soon[data-game='power'] .rail-prize {
  color: #ffe08a !important;
}
#closing-soon[data-game='power'] .closing-line img {
  background: #fff9eb;
  border-radius: 8px;
  padding: 5px;
  width: 108px;
  height: 58px;
}
#closing-soon[data-game='power'] > a:last-child {
  color: #fff0bc !important;
}
#closing-soon[data-game='power'] .product-choose {
  background: #ffe39b !important;
  color: #91002a !important;
}

/* Full catalogue stays visible regardless of featured or closing product. */
body[data-page='home'] .dh .fixed-product-order {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch;
}
@media (max-width: 1150px) {
  body[data-page='home'] .dh .fixed-product-order {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 760px) {
  body[data-page='home'] .dh .fixed-product-order {
    grid-template-columns: 1fr !important;
  }
}
/* Responsive catalogue and compact, expandable service rail. */
body[data-page='home'] .dh .workspace > *,
body[data-page='home'] .dh .service-sidebar > * {
  min-width: 0;
}
body[data-page='home'] .dh .closing-card .product-choose {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  min-height: 44px;
  height: auto;
  padding: 11px 14px !important;
  line-height: 1.3;
  text-align: center;
  box-sizing: border-box;
}
body[data-page='home'] .dh .closing-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
body[data-page='home'] .dh #rail-draw {
  line-height: 1.6;
  overflow-wrap: anywhere;
}
body[data-page='home'] .dh .rail-disclosure {
  display: block;
  background: #fff;
  border: 1px solid #e5dfe2;
  border-radius: 14px;
  padding: 0 !important;
  overflow: visible;
}
.rail-disclosure > summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 15px 38px 15px 15px;
  font-size: 14px;
  font-weight: 750;
  color: #26364b;
  line-height: 1.4;
}
.rail-disclosure > summary::-webkit-details-marker {
  display: none;
}
.rail-disclosure > summary:after {
  content: '+';
  position: absolute;
  right: 15px;
  top: 17px;
  font-size: 19px;
  color: #b20032;
}
.rail-disclosure[open] > summary:after {
  content: '−';
}
.rail-disclosure > summary span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #697383;
  margin-top: 3px;
}
.rail-disclosure[open] > summary {
  border-bottom: 1px solid #eee8eb;
}
.rail-content {
  padding: 14px;
  min-width: 0;
}
.rail-content > label {
  display: block;
  margin-bottom: 7px;
}
.rail-content .nsel {
  display: block;
  width: 100% !important;
  max-width: 100%;
  margin-bottom: 14px;
}
.rail-content table {
  table-layout: fixed;
}
.rail-content td,
.rail-content th {
  overflow-wrap: anywhere;
  padding: 8px 4px;
}
.rail-content td small {
  display: block;
  line-height: 1.5;
}
.rail-content.fortune-card {
  display: flex;
  gap: 12px;
  align-items: center;
}
.rail-content.fortune-card > img {
  width: 65px;
  height: 90px;
  object-fit: contain;
  flex-shrink: 0;
}
.rail-content.fortune-card > div {
  min-width: 0;
}
.rail-content small {
  line-height: 1.5;
}
.rail-disclosure:focus-within {
  outline: 2px solid #c60037;
  outline-offset: 2px;
}
body[data-page='home'] .dh .product .product-logo {
  transform: none;
}
.discovery-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.discovery-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 170px;
  padding: 18px;
  background: linear-gradient(120deg, #fff3dd, #fffaf3);
  border: 1px solid #eadfcf;
  border-radius: 16px;
  color: #342d31;
  text-decoration: none;
}
.discovery-card > img {
  width: 30%;
  max-width: 110px;
  height: 135px;
  object-fit: contain;
}
.discovery-card > div {
  min-width: 0;
}
.discovery-card small {
  font-size: 10px;
  letter-spacing: 0.07em;
  color: #7e5632;
}
.discovery-card h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 7px 0;
}
.discovery-card p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 10px;
  color: #665860;
}
.discovery-card b {
  font-size: 12px;
  color: #a50030;
}
.discovery-lucy {
  background: linear-gradient(120deg, #f4efff, #fff9fb);
  border-color: #e8dff1;
}
.discovery-card:hover {
  border-color: #b90036;
}
.discovery-card:focus-visible {
  outline: 3px solid #b90036;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  body[data-page='home'] .dh .fixed-product-order {
    gap: 10px;
  }
  body[data-page='home'] .dh .product {
    display: grid !important;
    grid-template-columns: 90px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 3px;
    padding: 14px 12px !important;
    border-radius: 15px !important;
    align-content: start;
  }
  body[data-page='home'] .dh .product .card-top {
    grid-column: 1;
    grid-row: 1/4;
    align-self: center;
    width: 90px;
    height: 80px !important;
    min-height: 80px !important;
    margin: 0 !important;
    border-right: 1px solid #ffffff66;
    padding-right: 8px;
  }
  body[data-page='home'] .dh .product .logo-plate {
    width: 82px !important;
    height: 66px !important;
    overflow: visible;
    background: #fffdf4 !important;
    padding: 4px !important;
    box-sizing: border-box;
  }
  body[data-page='home'] .dh .product .product-logo {
    height: 58px !important;
    transform: none !important;
  }
  body[data-page='home'] .dh .product .prize-label {
    grid-column: 2;
    font-size: 11px;
    margin: 0;
    line-height: 1.3;
  }
  body[data-page='home'] .dh .product .amount {
    grid-column: 2;
    font-size: clamp(19px, 5.4vw, 27px) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.5px !important;
    white-space: normal;
    overflow-wrap: anywhere;
    margin: 0 !important;
  }
  body[data-page='home'] .dh .product .draw-info {
    grid-column: 2;
    padding: 3px 0 !important;
    font-size: 11px;
    line-height: 1.5;
  }
  body[data-page='home'] .dh .product .round-head {
    font-size: 12px !important;
  }
  .dh .product .round-clock {
    gap: 5px;
    flex-wrap: wrap;
  }
  body[data-page='home'] .dh .product .round-clock b {
    font-size: 17px !important;
    font-variant-numeric: tabular-nums;
  }
  body[data-page='home'] .dh .product .variant-slot {
    grid-column: 1/-1;
    grid-row: 4;
    min-height: 0 !important;
    margin: 3px 0 !important;
  }
  .dh .product .variant-slot:empty {
    display: none;
  }
  body[data-page='home'] .dh .product .variant-tabs {
    display: flex;
    gap: 6px;
  }
  .dh .product .variant-tabs button {
    flex: 1;
    min-height: 36px;
    font-size: 12px !important;
    padding: 6px !important;
  }
  body[data-page='home'] .dh .product > [id^='choose-'] {
    grid-column: 2;
    grid-row: 5;
  }
  body[data-page='home'] .dh .product .product-choose {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    height: auto !important;
    padding: 9px !important;
    font-size: 13px !important;
    margin: 0 !important;
  }
  body[data-page='home'] .dh .product .card-links {
    grid-column: 1;
    grid-row: 5;
    align-self: center;
    padding: 0 !important;
    text-align: center;
  }
  .dh .product .card-links a {
    font-size: 11px !important;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    line-height: 1.4;
  }
  body[data-page='home'] .dh .product .product-identity-art {
    width: 100px;
    height: 90px;
    right: 0;
    top: 10px;
    opacity: 0.12;
  }
  .discovery-cards {
    grid-template-columns: 1fr;
  }
  .discovery-card {
    min-height: 135px;
    padding: 14px;
  }
  .discovery-card > img {
    height: 105px;
    width: 85px;
  }
  .discovery-card h3 {
    font-size: 17px;
  }
  .discovery-card p {
    font-size: 12px;
  }
  body[data-page='home'] .dh .workspace > aside {
    margin-top: 14px;
  }
  .rail-disclosure > summary {
    min-height: 44px;
    box-sizing: border-box;
  }
}
/* Keep return history and saved numbers in one compact row. */
body[data-page='home'] #account-overview {
  margin: 12px 0 !important;
  align-items: stretch;
  gap: 10px !important;
}
body[data-page='home'] #account-overview > .return-guide {
  grid-column: 1/-1;
  justify-self: start;
  min-height: 24px;
  font-size: 12px;
  align-self: start;
}
body[data-page='home'] #account-overview > section {
  padding: 12px 15px !important;
  min-height: 0 !important;
}
body[data-page='home'] #account-overview h3 {
  font-size: 15px;
  margin: 0 0 7px;
}
body[data-page='home'] #account-overview p {
  font-size: 14px;
  margin: 5px 0;
}
body[data-page='home'] #account-overview small {
  font-size: 12px;
  line-height: 1.5;
}
body[data-page='home'] #account-overview .demo-saved {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 15px;
  align-items: center;
}
body[data-page='home'] #account-overview .demo-saved h3 {
  grid-column: 1;
}
body[data-page='home'] #account-overview .demo-saved p {
  grid-column: 1;
  margin: 0;
}
body[data-page='home'] #account-overview [data-check-saved] {
  grid-column: 2;
  grid-row: 1/3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 9px;
  background: #b80032;
  color: white;
  text-decoration: none;
  font-size: 13px;
}
body[data-page='home'] .quick-checker {
  gap: 10px;
  padding: 14px 16px;
  align-items: center;
}
body[data-page='home'] #quick-error:empty,
body[data-page='home'] #quick-result:empty {
  display: none;
}
body[data-page='home'] #quick-error {
  flex-basis: 100%;
  line-height: 1.5;
}
body[data-page='home'] #quick-result {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid #e4dce0;
  padding-top: 14px;
  margin-top: 2px;
  scroll-margin-top: 120px;
  color: #26364b;
}
body[data-page='home'] #quick-result:focus {
  outline: none;
}
body[data-page='home'] #quick-result .quick-result-head {
  font-size: 16px;
  line-height: 1.6;
}
body[data-page='home'] #quick-result .quick-verdict {
  margin: 8px 0;
  padding: 12px;
  justify-content: flex-start;
}
body[data-page='home'] #quick-result p {
  color: #536174;
  font-size: 12px;
  line-height: 1.6;
  margin: 7px 0;
}
body[data-page='home'] #quick-result > a {
  font-size: 12px;
  color: #a70030;
  text-decoration: underline;
}
body[data-page='home'] #quick-result .checked-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 8px 0;
}
body[data-page='home'] #quick-result .checked-balls span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #cbd2dc;
  border-radius: 50%;
  color: #34445a;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}
body[data-page='home'] #quick-result .checked-balls .match {
  background: #b80032;
  color: white;
  border-color: #b80032;
  box-shadow: 0 0 0 2px #fce0e8;
}
@media (max-width: 650px) {
  body[data-page='home'] #account-overview {
    grid-template-columns: 1fr !important;
  }
  body[data-page='home'] #account-overview .demo-saved {
    gap: 8px;
  }
  body[data-page='home'] .quick-checker .quick-numbers {
    flex-basis: 100%;
  }
  body[data-page='home'] .quick-checker .quick-period {
    flex: 1;
  }
  body[data-page='home'] .quick-checker .quick-period .nsel {
    width: 100%;
  }
}
body[data-page='home'] #quick-result .checked-balls .invalid {
  color: #8b2338;
  background: #fff0f2;
  border: 2px dashed #b42b49;
  text-decoration: line-through;
}
body[data-page='home'] #account-overview:has(> .return-guide:only-child) {
  margin: 8px 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
}
/* Utilities share one rail; news occupies the full content width. */
body[data-page='home'] .workspace > aside .discovery-cards {
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 10px;
}
body[data-page='home'] .workspace > aside .discovery-card {
  padding: 12px;
  gap: 10px;
  min-height: 0;
  border-radius: 13px;
}
body[data-page='home'] .workspace > aside .discovery-card > img {
  width: 56px;
  height: 72px;
  flex-shrink: 0;
}
body[data-page='home'] .workspace > aside .discovery-card small {
  display: none;
}
body[data-page='home'] .workspace > aside .discovery-card h3 {
  font-size: 15px;
  margin: 0 0 4px;
}
body[data-page='home'] .workspace > aside .discovery-card p {
  font-size: 12px;
  margin: 0 0 6px;
  line-height: 1.45;
}
body[data-page='home'] .rail-player-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5px 12px;
  padding: 10px 12px;
  margin-top: 10px;
  background: #fff;
  border: 1px solid #e5dfe2;
  border-radius: 12px;
  font-size: 12px;
}
body[data-page='home'] .rail-player-tools > span {
  display: none;
}
body[data-page='home'] .rail-player-tools :is(a, button) {
  color: #a50030;
  min-height: 32px;
  font-size: 12px;
}
.winner-news {
  margin: 26px 0 20px;
}
.winner-news > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.winner-news header small {
  color: #a80030;
  font-size: 10px;
  letter-spacing: 0.09em;
}
.winner-news h2 {
  margin: 5px 0;
  font-size: 24px;
  color: #25334b;
}
.winner-news header > a {
  font-size: 13px;
  color: #a80030;
}
.winner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.winner-card {
  border: 1px solid #e4dfe4;
  border-radius: 15px;
  overflow: hidden;
  background: white;
  text-decoration: none;
  color: #24334b;
  display: flex;
  flex-direction: column;
}
.winner-photo {
  position: relative;
  aspect-ratio: 377/251;
  overflow: hidden;
  background: #f0e5e5;
}
.winner-photo img {
  position: absolute;
  width: 543.236%;
  max-width: none;
  height: auto;
}
.winner-card > div:last-child {
  padding: 16px;
}
.winner-card small {
  font-size: 11px;
  color: #6c7180;
}
.winner-card h3 {
  font-size: 18px;
  line-height: 1.45;
  margin: 8px 0 14px;
}
.winner-card span {
  font-size: 12px;
  color: #ac0031;
}
.winner-card:hover {
  border-color: #ac0031;
}
body[data-page='home'] .home-full-footer {
  padding-top: 20px !important;
  margin-top: 16px !important;
  gap: 18px !important;
}
body[data-page='home'] .footer-bottom {
  padding: 14px 0 !important;
  gap: 20px;
  font-size: 12px;
  line-height: 1.6;
}
body[data-page='home'] .home-full-footer .data-source {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 11px !important;
}
body[data-page='home'] .data-source a {
  display: inline !important;
  margin: 0 !important;
  font-size: inherit !important;
}
body[data-page='home'] {
  padding-bottom: 45px !important;
}
@media (max-width: 760px) {
  .winner-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .winner-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
  }
  .winner-photo {
    height: 100%;
    min-height: 125px;
    aspect-ratio: auto;
  }
  .winner-photo img {
    width: 543.236%;
  }
  .winner-card > div:last-child {
    padding: 12px;
  }
  .winner-card h3 {
    font-size: 14px;
    margin: 5px 0 8px;
  }
  .winner-news h2 {
    font-size: 21px;
  }
}
.mobile-copy {
  display: none !important;
}
/* Distinct illustrated entrances to the service rail. */
body[data-page='home'] .dh .rail-feature {
  overflow: hidden;
  border: 1px solid #e8c2cd !important;
  box-shadow: 0 3px 12px #65002208;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
body[data-page='home'] .dh .rail-feature > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px 16px 12px;
  min-height: 128px;
  isolation: isolate;
  position: relative;
  overflow: hidden;
}
body[data-page='home'] .dh .rail-feature > summary:before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 140px;
  height: 140px;
  border: 1px solid #ffffff55;
  border-radius: 50%;
  left: -35px;
  top: -40px;
  box-shadow:
    0 0 0 18px #ffffff16,
    0 0 0 40px #ffffff0d;
}
body[data-page='home'] .dh .rail-feature > summary:after {
  content: '⌄';
  font-size: 20px;
  right: 11px;
  top: 16px;
  color: inherit;
}
.dh .rail-feature[open] > summary:after {
  content: '⌃' !important;
}
body[data-page='home'] .dh .feature-prize > summary {
  background: linear-gradient(110deg, #fff0ce, #fff8ec 60%, #ffe4dc);
  color: #582b13;
}
body[data-page='home'] .dh .feature-fortune > summary {
  background: radial-gradient(ellipse at 0 80%, #d9492e, transparent 55%), linear-gradient(115deg, #a6002a, #7c0028);
  color: #fff9eb;
}
body[data-page='home'] .dh .feature-member > summary {
  background: linear-gradient(115deg, #392340, #642445);
  color: #fff4df;
}
body[data-page='home'] .dh .feature-guide > summary {
  background: linear-gradient(120deg, #e9f1ff, #fff9f4);
  color: #253959;
}
body[data-page='home'] .dh .rail-feature-art {
  width: 64px;
  height: 88px;
  object-fit: contain;
  flex: 0 0 64px;
  filter: drop-shadow(0 7px 5px #5d162233);
  transition: transform 0.25s;
}
body[data-page='home'] .dh .feature-fortune .rail-feature-art {
  width: 75px;
  flex-basis: 75px;
  height: 104px;
  margin-left: -4px;
  margin-right: -7px;
}
body[data-page='home'] .dh .feature-member .rail-feature-art {
  height: 72px;
}
body[data-page='home'] .dh .rail-feature-copy {
  display: block;
  margin: 0;
  min-width: 0;
  color: inherit;
  font-size: 13px;
}
body[data-page='home'] .dh .rail-feature-copy > small {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: inherit;
  opacity: 0.85;
  margin: 0 0 6px;
}
body[data-page='home'] .dh .rail-feature-copy > b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: inherit;
}
body[data-page='home'] .dh .rail-feature-copy > span {
  font-size: 12px;
  line-height: 1.5;
  color: inherit;
  margin: 5px 0 9px;
  font-weight: 400;
}
body[data-page='home'] .dh .rail-feature-copy > em {
  display: inline-block;
  font-size: 11px;
  line-height: 1.4;
  font-style: normal;
  font-weight: 750;
  color: inherit;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
body[data-page='home'] .dh .feature-fortune .rail-feature-copy > em,
body[data-page='home'] .dh .feature-member .rail-feature-copy > em {
  color: #ffe28d;
}
body[data-page='home'] .dh .rail-feature:hover {
  box-shadow: 0 7px 20px #65002218;
  transform: translateY(-2px);
}
.dh .rail-feature > summary:hover .rail-feature-art {
  transform: rotate(-4deg) translateY(-3px);
}
body[data-page='home'] .dh .rail-book {
  flex: 0 0 57px;
  width: 57px;
  height: 77px;
  margin: 0 7px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 7px;
  border-radius: 3px 8px 8px 3px;
  box-sizing: border-box;
  background: #a90031;
  color: white;
  box-shadow:
    4px 4px 0 #e7afbd,
    7px 7px 9px #3d1a2633;
  border-left: 4px solid #df567b;
  transform: rotate(-7deg);
}
body[data-page='home'] .dh .rail-book i {
  font: 500 8px var(--app-font);
  color: #ffdba4;
}
.dh .rail-book b {
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.07em;
}
.dh .rail-book span {
  font-size: 13px;
  color: #ffe09b;
  margin: 0;
}
body[data-page='home'] .workspace > aside .discovery-lucy {
  background: radial-gradient(ellipse at 0 50%, #f6bdc9, transparent 60%), linear-gradient(120deg, #fbe6ef, #f2ebff);
  border-color: #dcb7ca;
  padding: 15px;
}
body[data-page='home'] .workspace > aside .discovery-lucy > img {
  width: 64px;
  height: 72px;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 50%;
  box-shadow:
    0 0 0 4px #fff7,
    0 6px 16px #a3244c20;
}
body[data-page='home'] .workspace > aside .discovery-lucy h3 {
  font-size: 18px;
  color: #6e1740;
}
.workspace > aside .discovery-lucy b {
  display: inline-block;
  background: #a8003c;
  color: #fff;
  padding: 7px 10px;
  border-radius: 20px;
  font-size: 11px;
}
@media (prefers-reduced-motion: reduce) {
  body[data-page='home'] .dh .rail-feature,
  body[data-page='home'] .dh .rail-feature-art {
    transition: none;
    transform: none !important;
  }
}
/* A compact, interactive campaign in the space below the catalogue. */
.lucky-banner {
  margin-top: 18px;
  padding: 30px;
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  align-items: center;
  gap: 24px;
  min-height: 290px;
  border-radius: 20px;
  color: #fff;
  background: #b60020 url('../img/brand/home-lucky-numbers-background-opt.webp') center/cover no-repeat;
  box-shadow: 0 8px 24px #a3001818;
  overflow: hidden;
  border: 1px solid #de1739;
}
.lucky-banner .lucky-eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: #ffe5b1;
}
.lucky-banner h2 {
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 1.15;
  margin: 12px 0;
  color: #fff;
  letter-spacing: -1px;
}
.lucky-banner h2 em {
  font-style: normal;
  color: #ffdf8c;
}
.lucky-intro p {
  font-size: 13px;
  line-height: 1.6;
  color: #fff0ed;
  margin: 12px 0 0;
}
.lucky-interaction {
  min-width: 0;
}
.lucky-switch {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.lucky-switch button {
  background: #71001666;
  color: #fff;
  border: 1px solid #ffffff66;
  border-radius: 20px;
  padding: 9px 12px;
  font: 700 12px inherit;
  min-height: 36px;
  cursor: pointer;
}
.lucky-switch button[aria-pressed='true'] {
  background: #fff;
  color: #a90020;
  border-color: #fff;
  box-shadow: 0 3px 9px #66001933;
}
.lucky-balls {
  display: flex;
  gap: 8px;
  margin: 23px 0;
  align-items: center;
}
.lucky-balls span {
  display: grid;
  place-items: center;
  flex: 1;
  max-width: 54px;
  aspect-ratio: 1;
  border-radius: 50%;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 850;
  color: #a40b27;
  background: radial-gradient(circle at 35% 25%, #fff 35%, #ffe9df 75%, #edb7a0);
  box-shadow:
    inset 0 -3px 2px #b7886429,
    0 6px 12px #72001955;
  border: 1px solid #fff9;
  font-variant-numeric: tabular-nums;
}
.lucky-balls .lucky-special {
  background: linear-gradient(135deg, #fff2a1, #e9ae3d);
  color: #6a3100;
  border-color: #ffe78c;
}
.lucky-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.lucky-actions a,
.lucky-actions button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.lucky-actions a {
  background: linear-gradient(120deg, #fff0b4, #f6ca68);
  color: #651d00;
  box-shadow: 0 4px 12px #79001644;
  gap: 16px;
}
.lucky-actions button {
  border: 1px solid #ffffff77;
  background: #81001c44;
  color: #fff;
}
.lucky-interaction > small {
  display: block;
  color: #fff1e9;
  font-size: 10px;
  line-height: 1.6;
  margin-top: 15px;
}
.lucky-banner button:hover {
  filter: brightness(1.12);
}
.lucky-banner :focus-visible {
  outline: 3px solid #ffe38a;
  outline-offset: 4px;
}
@media (max-width: 1050px) and (min-width: 761px) {
  .lucky-banner {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 18px;
  }
  .lucky-banner h2 br {
    display: none;
  }
  .lucky-intro p {
    display: none;
  }
  .lucky-banner h2 {
    margin-bottom: 0;
  }
  .lucky-balls span {
    max-width: 48px;
  }
}
@media (max-width: 760px) {
  .lucky-banner {
    grid-template-columns: 1fr;
    padding: 22px 18px;
    gap: 19px;
    margin-top: 14px;
    border-radius: 16px;
    min-height: 0;
  }
  .lucky-banner h2 {
    font-size: 28px;
    margin: 9px 0 0;
  }
  .lucky-banner h2 br {
    display: none;
  }
  .lucky-intro p {
    display: none;
  }
  .lucky-balls {
    gap: 7px;
    margin: 20px 0;
  }
  .lucky-balls span {
    font-size: 22px;
  }
  .lucky-switch button {
    min-height: 44px;
    padding: 8px 11px;
  }
  .lucky-interaction > small {
    font-size: 10px;
  }
  .lucky-actions a {
    flex: 1;
  }
  .lucky-actions button {
    padding: 10px 12px;
  }
}

/* Mobile catalogue: one flow-based strip, no overlaid status labels. */
@media (max-width: 760px) {
  body[data-page='home'] .dh .fixed-product-order {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 9px !important;
  }
  body[data-page='home'] .dh .product {
    display: grid !important;
    grid-template-columns: 60px minmax(0, 1fr) 24px !important;
    grid-template-rows: auto auto auto auto;
    gap: 3px 7px !important;
    padding: 12px 10px !important;
    border-radius: 14px !important;
    align-content: center;
    min-height: 145px !important;
    height: auto !important;
  }
  body[data-page='home'] .dh .product .card-top {
    grid-column: 1;
    grid-row: 1/4;
    align-self: center;
    width: 60px;
    height: 62px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }
  body[data-page='home'] .dh .product .logo-plate {
    width: 60px !important;
    height: 58px !important;
    padding: 3px !important;
    border-radius: 9px !important;
    background: #fffdf4 !important;
    box-sizing: border-box;
  }
  body[data-page='home'] .dh .product .product-logo {
    width: 100% !important;
    height: 52px !important;
    max-width: 100%;
    object-fit: contain;
    transform: none !important;
  }
  body[data-page='home'] .dh .product .prize-label {
    grid-column: 2;
    grid-row: 1;
    font-size: 11px !important;
    line-height: 1.35;
    margin: 0 !important;
    min-width: 0;
  }
  body[data-page='home'] .dh .product .mobile-copy {
    display: inline !important;
  }
  body[data-page='home'] .dh .product .desktop-copy {
    display: none !important;
  }
  body[data-page='home'] .dh .product .amount {
    grid-column: 2;
    grid-row: 2;
    font-size: clamp(18px, 5.1vw, 24px) !important;
    letter-spacing: -0.65px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    margin: 0 !important;
    min-width: 0;
    overflow-wrap: normal;
  }
  body[data-page='home'] .dh .product .draw-info {
    grid-column: 2;
    grid-row: 3;
    position: static !important;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 5px;
    padding: 0 !important;
    margin: 2px 0 0 !important;
    border: 0 !important;
    font-size: 10px !important;
    line-height: 1.4;
    min-width: 0;
  }
  body[data-page='home'] .dh .product .mobile-card-badge {
    position: static !important;
    inset: auto !important;
    display: inline-flex !important;
    order: 0;
    font-size: 9px !important;
    font-weight: 750;
    line-height: 1.4;
    padding: 2px 6px !important;
    margin: 0 !important;
    border-radius: 5px;
    background: #fff;
    color: #9d0029;
    transform: none !important;
    white-space: nowrap;
  }
  body[data-page='home'] .dh .product .round-head {
    position: static !important;
    display: inline !important;
    order: 1;
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.4;
  }
  body[data-page='home'] .dh .product .mobile-weekday {
    display: none !important;
  }
  body[data-page='home'] .dh .product .draw-info time {
    order: 2;
    flex-basis: 100%;
    display: block !important;
    font-size: 10px !important;
    line-height: 1.4;
    white-space: normal;
  }
  body[data-page='home'] .dh .product .round-clock {
    order: 3;
    flex-basis: 100%;
    display: flex !important;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 5px !important;
    margin: 1px 0 0 !important;
    line-height: 1.4;
  }
  body[data-page='home'] .dh .product .round-clock span {
    font-size: 9px !important;
    line-height: 1.4;
  }
  body[data-page='home'] .dh .product .round-clock b {
    font-size: 13px !important;
    line-height: 1.4;
    letter-spacing: 0.4px;
    font-variant-numeric: tabular-nums;
  }
  body[data-page='home'] .dh .product > [id^='choose-'] {
    grid-column: 3;
    grid-row: 1/4;
    display: flex;
    align-self: stretch;
    align-items: stretch;
    min-width: 0;
    margin: 0 !important;
  }
  body[data-page='home'] .dh .product .product-choose {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 24px;
    min-width: 24px !important;
    min-height: 44px !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: inherit !important;
    border-radius: 5px;
  }
  body[data-page='home'] .dh .product .product-choose:not(.demo-blocked) > span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  body[data-page='home'] .dh .product .product-choose:not(.demo-blocked):after {
    display: block;
    content: '›';
    font: 400 30px/1 var(--app-font);
  }
  body[data-page='home'] .dh .product:has(.demo-blocked) > [id^='choose-'] {
    grid-column: 1/-1;
    grid-row: 5;
  }
  body[data-page='home'] .dh .product .product-choose.demo-blocked {
    width: 100%;
    padding: 7px !important;
    font-size: 11px !important;
  }
  body[data-page='home'] .dh .product .variant-slot {
    grid-column: 2/4;
    grid-row: 4;
    min-height: 0 !important;
    margin: 5px 0 0 !important;
  }
  body[data-page='home'] .dh .product .variant-slot:empty,
  body[data-page='home'] .dh .product .card-links {
    display: none !important;
  }
  body[data-page='home'] .dh .product .variant-tabs {
    display: flex;
    gap: 4px !important;
  }
  body[data-page='home'] .dh .product .variant-tabs button {
    flex: 1;
    min-width: 0;
    min-height: 32px !important;
    padding: 5px 3px !important;
    font-size: 10px !important;
    line-height: 1.3;
    border-radius: 6px;
  }
  body[data-page='home'] .dh .product .product-identity-art {
    width: 90px;
    height: 75px;
    top: 0;
    right: 22px;
    opacity: 0.07;
    pointer-events: none;
  }
  body[data-page='home'] .lucy-widget {
    right: 10px;
    bottom: 10px;
  }
  body[data-page='home'] .lucy-launch {
    width: 48px;
    height: 48px;
    padding: 2px !important;
    justify-content: center;
  }
  body[data-page='home'] .lucy-launch > span:last-child {
    display: none;
  }
  body[data-page='home'] .lucy-launch .lucy-face {
    width: 40px;
    height: 40px;
    animation: none;
  }
  body[data-page='home'] #demo-controls:not([open]) {
    width: auto !important;
    max-width: 70px;
    left: 10px !important;
    right: auto !important;
    bottom: 10px !important;
  }
  body[data-page='home'] #demo-controls:not([open]) summary {
    font-size: 0;
    padding: 10px !important;
    min-height: 40px;
    box-sizing: border-box;
  }
  body[data-page='home'] #demo-controls:not([open]) summary:after {
    content: 'DEMO';
    font: 700 10px/20px var(--app-font);
  }
  body[data-page='home'] #demo-controls[open] {
    max-width: calc(100vw - 20px);
    max-height: 70dvh;
    overflow: auto;
  }
  .winner-card {
    display: flex;
  }
  .winner-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 377/251;
    min-height: 0;
  }
  .winner-card h3 {
    font-size: 17px;
  }
}

/* Display subset: URW Gothic Demi; original font and license in assets/fonts. */
@font-face {
  font-family: var(--app-font);
  src: url('../fonts/prize-digits.woff') format('woff');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+20, U+2C-2E, U+30-3A, U+111, U+20AB;
}
body[data-page='home'] .dh .product:not(.keno) .amount,
body[data-page='home'] .dh .hero h1,
body[data-page='home'] .dh .closing-amount {
  font-family: var(--app-font) !important;
  font-weight: 800 !important;
  font-variant-numeric: lining-nums proportional-nums !important;
  letter-spacing: -0.35px !important;
  font-synthesis: none;
}
body[data-page='home'] .dh .product.power .amount {
  background: linear-gradient(180deg, #fff9cf 5%, #ffdd76 35%, #eeb74b 56%, #ffe798 76%, #f9c858 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  filter: drop-shadow(0 1px 0 #694008) !important;
}
@media (max-width: 760px) {
  body[data-page='home'] .dh .product:not(.keno) .amount {
    font-size: clamp(18px, 5.15vw, 24px) !important;
    letter-spacing: -0.45px !important;
  }
  body[data-page='home'] .dh .product .round-clock b {
    font-family: var(--app-font) !important;
    font-weight: 700;
    font-variant-numeric: tabular-nums !important;
  }
}
/* Phone home: catalogue first, compact equal product strips. */
@media (max-width: 760px) {
  body[data-page='home'] .dh {
    display: flex;
    flex-direction: column;
    padding: 8px 10px 0 !important;
    gap: 0;
  }
  body[data-page='home'] .dh > .workspace {
    order: -10;
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    margin: 0 !important;
    width: 100%;
    min-width: 0;
  }
  body[data-page='home'] .dh > .workspace > section,
  body[data-page='home'] .dh > .workspace > aside {
    width: 100%;
    min-width: 0;
  }
  body[data-page='home'] .dh > .heading {
    display: none;
  }
  body[data-page='home'] .dh > #account-overview:has(#demo-personal),
  body[data-page='home'] .dh > #account-overview:has(.demo-rest) {
    order: -11;
  }
  body[data-page='home'] .dh .fixed-product-order {
    gap: 7px !important;
  }
  body[data-page='home'] .dh .product {
    grid-template-columns: 64px minmax(0, 1fr) 24px !important;
    grid-template-rows: auto auto auto;
    min-height: 98px !important;
    padding: 9px 9px !important;
    gap: 1px 8px !important;
    align-content: center;
    border-radius: 12px !important;
    box-sizing: border-box;
  }
  body[data-page='home'] .dh .product .card-top {
    width: 64px !important;
    height: 60px !important;
    grid-row: 1/4;
  }
  body[data-page='home'] .dh .product .logo-plate {
    width: 64px !important;
    height: 58px !important;
  }
  body[data-page='home'] .dh .product .prize-label {
    font-size: 10px !important;
    line-height: 1.25 !important;
  }
  body[data-page='home'] .dh .product .amount {
    font-size: clamp(18px, 5.1vw, 23px) !important;
    line-height: 1.2 !important;
  }
  body[data-page='home'] .dh .product .draw-info {
    gap: 2px 5px !important;
    line-height: 1.2 !important;
    margin: 2px 0 0 !important;
  }
  body[data-page='home'] .dh .product .mobile-card-badge {
    font-size: 10px !important;
    padding: 1px 4px !important;
    line-height: 1.3 !important;
  }
  body[data-page='home'] .dh .product .round-head {
    font-size: 10px !important;
    line-height: 1.3 !important;
  }
  body[data-page='home'] .dh .product .draw-info time {
    font-size: 10px !important;
    line-height: 1.3 !important;
    flex-basis: auto;
    order: 2;
  }
  body[data-page='home'] .dh .product .round-clock {
    font-size: 10px !important;
    line-height: 1.2 !important;
    gap: 4px !important;
    margin: 0 !important;
  }
  body[data-page='home'] .dh .product .round-clock b {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }
  body[data-page='home'] .dh .product .variant-slot {
    display: none !important;
  }
  body[data-page='home'] .dh .product .product-choose {
    min-height: 76px !important;
    width: 24px !important;
  }
  body[data-page='home'] .site-header {
    position: relative !important;
    top: auto !important;
  }
  body[data-page='home'] .site-header .hbar {
    min-height: 52px !important;
    height: 52px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }
  body[data-page='home'] .site-header .logo img {
    max-height: 38px !important;
    width: auto !important;
  }
  body[data-page='home'] .demo-disclosure {
    position: relative !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    padding: 4px 10px !important;
  }
  body[data-page='home'] .lucky-banner {
    margin-top: 14px;
  }
  body[data-page='home'] .dh > .hero-row {
    margin-top: 16px;
  }
  body[data-page='home'] #products {
    scroll-margin-top: 10px;
  }
}

.draw-days {
  display: none;
}
@media (max-width: 760px) {
  body[data-page='home'] .dh .product .prize-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    flex-wrap: wrap;
  }
  body[data-page='home'] .dh .product .draw-days {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    border: 1px solid currentColor;
    border-radius: 12px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    background: #ffffff19;
  }
}
