/* ==========================================================================
   Home page — glass layout
   ========================================================================== */
html { font-size: 16px; }

body.th-home {
  display: block !important;
  margin: 0;
  min-height: 100vh;
  background: var(--th-bg) !important;
}

/* ------------------------------------------------------- background scene */
.h-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.h-scene__room {
  position: absolute;
  left: 50%;
  top: 0;
  width: 100%;
  max-width: 480px;
  height: 70vh;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, rgba(15, 20, 33, .15) 0%, rgba(15, 20, 33, .55) 55%, var(--th-bg) 100%),
    url(/theme/img/ui/login-bg.webp) center top / cover no-repeat;
  opacity: .9;
}

.h-scene__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .55;
  animation: h-drift 16s ease-in-out infinite alternate;
}

.h-scene__orb--a { width: 260px; height: 260px; left: -80px; top: 18%; background: #f97316; }
.h-scene__orb--b { width: 220px; height: 220px; right: -70px; top: 42%; background: #14b8a6; animation-delay: -5s; opacity: .4; }
.h-scene__orb--c { width: 240px; height: 240px; left: 20%; top: 72%; background: #7c3aed; animation-delay: -10s; opacity: .35; }

@keyframes h-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.15); }
  100% { transform: translate(-30px, 40px) scale(.95); }
}

/* sparkles */
.h-scene__spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffe7a8;
  box-shadow: 0 0 6px 2px rgba(255, 196, 77, .7);
  animation: h-twinkle 3s ease-in-out infinite;
}

@keyframes h-twinkle {
  0%, 100% { opacity: 0; transform: scale(.4); }
  50% { opacity: 1; transform: scale(1); }
}

/* ---------------------------------------------------------------- layout */
.th-app {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 0 12px;
  font-family: var(--th-font);
  color: var(--th-text);
}

.th-app * { box-sizing: border-box; }
.th-app a { color: inherit; text-decoration: none; }
.th-app img { display: block; max-width: 100%; }
.h-wrap { padding: 0 14px; }

/* ------------------------------------------------------------------ header */
.h-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 0 14px;
  background: rgba(22, 31, 51, .35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(124, 147, 183, .35);
  border-radius: 0 0 18px 18px;
}

.h-header__logo { height: 30px; width: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.h-header__actions { display: flex; gap: 8px; }

.h-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 16px;
}

.h-icon-btn img { width: 22px; height: 22px; }
.h-icon-btn .h-bell { animation: h-bell 3.5s ease-in-out infinite; transform-origin: 50% 10%; }

.h-icon-btn .h-dot {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--th-red);
  box-shadow: 0 0 0 2px rgba(15, 20, 33, .9), 0 0 8px rgba(239, 68, 68, .9);
  animation: th-blink 1.4s ease-in-out infinite;
}

@keyframes h-bell {
  0%, 82%, 100% { transform: rotate(0); }
  86% { transform: rotate(16deg); }
  90% { transform: rotate(-14deg); }
  94% { transform: rotate(8deg); }
}

/* ----------------------------------------------------------------- balance */
.h-balance {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  overflow: hidden;
}

.h-balance::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 175, 45, .35), transparent 70%);
  pointer-events: none;
}

.h-balance__avatar {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255, 206, 97, .8);
  box-shadow: 0 0 12px rgba(255, 175, 45, .4);
}

.h-balance__avatar img { width: 100%; height: 100%; object-fit: cover; }
.h-balance__info { flex: 1; min-width: 0; }

.h-balance__info small {
  display: block;
  color: #cbd5e1;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.h-balance__amount {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 19px;
  font-weight: 800;
  white-space: nowrap;
  background: linear-gradient(180deg, #fff 30%, #ffd27a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h-balance__refresh {
  border: 0;
  background: none;
  color: var(--th-orange-1);
  font-size: 13px;
  padding: 2px;
  cursor: pointer;
}

.h-balance__refresh.is-spinning i { animation: th-spin .7s linear infinite; }
.h-balance__actions { position: relative; z-index: 1; display: flex; gap: 6px; }
.h-balance__actions .th-btn { height: 38px; padding: 0 12px; font-size: 13px; }

/* ----------------------------------------------------------------- banner */
.h-banner {
  position: relative;
  margin-top: 14px;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 768 / 300; /* banner images are 768x300 */
  border: 1px solid var(--th-glass-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  touch-action: pan-y;
}

.h-banner__track {
  display: flex;
  height: 100%;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.h-banner__track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h-banner__dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  display: flex;
  gap: 5px;
  padding: 4px 6px;
  border-radius: 10px;
  background: rgba(15, 20, 33, .35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transform: translateX(-50%);
}

.h-banner__dots span {
  width: 6px;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .5);
  transition: width .3s ease, background .3s ease;
}

.h-banner__dots span.is-active { width: 18px; background: var(--th-teal); box-shadow: 0 0 8px var(--th-teal); }

/* ------------------------------------------------------------------ notice */
.h-notice {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 6px 0 12px;
  border-radius: 14px;
}

.h-notice__icon { width: 20px; height: 20px; flex: none; animation: h-horn 2.6s ease-in-out infinite; }

@keyframes h-horn {
  0%, 70%, 100% { transform: scale(1) rotate(0); }
  78% { transform: scale(1.18) rotate(-8deg); }
  86% { transform: scale(1.1) rotate(6deg); }
}

.h-notice__text {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  font-size: 12px;
  color: #dbe4f0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.h-notice__text span {
  display: inline-block;
  padding-left: 100%;
  animation: h-marquee 26s linear infinite;
}

@keyframes h-marquee { to { transform: translateX(-100%); } }

/* ----------------------------------------------------------------- entries */
.h-entries {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.h-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 70px;
  padding: 8px 10px 8px 6px;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .15s ease;
}

.h-entry:active { transform: scale(.97); }

.h-entry__art {
  flex: none;
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45));
  animation: th-float 3s ease-in-out infinite;
}

.h-entry:nth-child(2) .h-entry__art { animation-delay: -1.5s; }
.h-entry strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.2; }
.h-entry small { display: block; margin-top: 3px; color: var(--th-orange-1); font-size: 12px; font-weight: 600; }

/* ------------------------------------------------------------- quick links */
.h-quick {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.h-quick__item {
  --qa: 234, 179, 8;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 4px 10px;
  border-radius: 16px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(var(--qa), .28), transparent 70%),
    linear-gradient(180deg, rgba(46, 60, 78, .75), rgba(25, 34, 50, .85));
  border: 1px solid rgba(var(--qa), .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 6px 16px rgba(0, 0, 0, .3);
  transition: transform .15s ease;
}

.h-quick__item:active { transform: scale(.94); }

.h-quick__item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45)) drop-shadow(0 0 10px rgba(var(--qa), .35));
  transition: transform .2s cubic-bezier(.2, .9, .3, 1.4);
}

/* chest and handshake art has more transparent padding; size up to match */
.h-quick__item--teal img,
.h-quick__item--orange img { width: 56px; height: 56px; margin: -4px 0; }

.h-quick__item:active img { transform: scale(.9) rotate(-4deg); }

.h-quick__item span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
  color: #f1f7ff;
}

.h-quick__item--gold   { --qa: 234, 179, 8; }
.h-quick__item--teal   { --qa: 20, 184, 166; }
.h-quick__item--orange { --qa: 249, 115, 22; }
.h-quick__item--violet { --qa: 139, 92, 246; }

/* ---------------------------------------------------------- section heads */
.h-section { margin-top: 24px; }

.h-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.h-section__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}

.h-section__title img { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .4)); }
.h-section__tools { display: flex; align-items: center; gap: 6px; }

.h-see-all {
  height: 28px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font: 600 12px var(--th-font);
  cursor: pointer;
}

.h-see-all--link { border: 0; background: none; backdrop-filter: none; color: var(--th-teal); font-size: 14px; padding: 0; }

.h-arrow {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 11px;
  cursor: pointer;
}

/* -------------------------------------------------------------- games hub */
.h-hub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.h-hub__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 92px;
  padding: 10px 6px;
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease;
}

.h-hub__card:active { transform: scale(.95); }
.h-hub__card.is-wide { grid-column: span 2; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 10px 14px; text-align: left; }
.h-hub__card img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .4)); transition: transform .3s cubic-bezier(.2, .9, .3, 1.4); }
.h-hub__card.is-wide img { width: 62px; height: 62px; animation: th-float 3s ease-in-out infinite; }
.h-hub__card:active img { transform: scale(1.15) rotate(-6deg); }
.h-hub__card strong { display: block; font-size: 14px; font-weight: 700; }
.h-hub__card small { display: block; font-size: 11px; color: #cbd5e1; }
.h-hub__card.th-glass--gold small { color: #fff7e6; }
.h-hub__card.is-wide strong { font-size: 17px; }

/* ---------------------------------------------------------- popular games */
.h-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  margin: 0 -14px;
  padding: 4px 14px 8px;
  scrollbar-width: none;
}

.h-scroll::-webkit-scrollbar { display: none; }

.h-pop {
  flex: 0 0 148px;
  scroll-snap-align: start;
  padding: 8px;
  border-radius: 18px;
}

.h-pop__art {
  position: relative;
  display: block;
  aspect-ratio: 218 / 290;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .4);
}

.h-pop__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.h-pop:active .h-pop__art img { transform: scale(1.06); }

.h-pop__name {
  margin: 10px 2px 2px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.h-pop__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 2px 10px;
  font-size: 11px;
  color: #cbd5e1;
}

.h-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #4ade80;
  font-weight: 700;
}

.h-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
  animation: th-blink 1.2s ease-in-out infinite;
}

/* ------------------------------------------------------------ lottery grid */
/* two rows; extra tiles continue to the right and are reached by swiping */
.h-lottery {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-template-columns: repeat(var(--cols, 4), calc((100% - 20px) / 3));
  grid-auto-flow: row;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.h-lottery::-webkit-scrollbar { display: none; }
.h-lottery .h-lot { scroll-snap-align: start; }

.th-tile { cursor: pointer; }

.h-lot {
  position: relative;
  display: block;
  aspect-ratio: 327 / 432;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .45);
  transition: transform .15s ease;
}

.h-lot:active { transform: scale(.95); }
.h-lot img { width: 100%; height: 100%; object-fit: cover; }

.h-lot__live {
  position: absolute;
  top: 6px;
  left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(15, 20, 33, .55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #4ade80;
  font-size: 9px;
  font-weight: 700;
}

.h-lot__live::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: th-blink 1.2s ease-in-out infinite;
}

/* WinGo 10 Min: relabel the red tile (label + clock badge) */
.h-relabel {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 81%;
  height: 15%;
  display: grid;
  place-items: center;
  background: #e8464a;
  color: #fff;
  font-weight: 800;
  font-size: clamp(11px, 3.6vw, 15px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  border-radius: 6px;
}

.h-rebadge {
  position: absolute;
  left: 73.5%;
  top: 69.5%;
  width: 19.5%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 55%, #ffd0cf 56%, #ffb9b7 100%);
  border: 2px solid #f26b6b;
  color: #e23d3d;
  font-weight: 900;
  font-size: clamp(9px, 2.8vw, 12px);
}

/* -------------------------------------------------------- provider rows */
.h-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 20px) / 3);
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.h-row::-webkit-scrollbar { display: none; }
.h-row.is-grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
.h-row.is-grid .h-game { animation: th-rise .4s ease both; }

.h-game {
  position: relative;
  scroll-snap-align: start;
  aspect-ratio: 222 / 300;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .4);
  transition: transform .15s ease;
}

.h-game:active { transform: scale(.95); }
.h-game img { width: 100%; height: 100%; object-fit: cover; }

.h-game__soon {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 20, 33, .6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #ffd27a;
  font-size: 9px;
}

/* --------------------------------------------------------------- invite */
.h-invite {
  position: relative;
  display: block;
  margin-top: 24px;
  padding: 18px 16px;
  border-radius: 20px;
  overflow: hidden;
}

.h-invite h3 { position: relative; margin: 0; font-size: 20px; font-weight: 900; line-height: 1.15; text-transform: uppercase; text-shadow: 0 2px 6px rgba(124, 45, 18, .5); }
.h-invite p { position: relative; margin: 6px 0 14px; max-width: 58%; font-size: 12px; color: #fff7e6; }
.h-invite .th-btn { position: relative; background: #fff; color: #c2410c; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }

.h-invite__chest {
  --k: .78;
  position: absolute;
  right: 4px;
  bottom: 2px;
  width: calc(162px * var(--k));
  height: calc(166px * var(--k));
  background: url(/theme/img/ui/chest-anim.webp) no-repeat;
  background-size: calc(1024px * var(--k)) calc(647px * var(--k));
  background-position: calc(-281px * var(--k)) calc(-7px * var(--k));
  filter: drop-shadow(0 10px 14px rgba(124, 45, 18, .55));
  animation: th-float 3s ease-in-out infinite;
}

/* ---------------------------------------------------------------- footer */
.h-footer {
  margin: 24px 0 8px;
  text-align: center;
  color: #8a97ad;
  font-size: 11px;
  line-height: 1.6;
}

.h-footer b {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  border-radius: 50%;
  border: 1.5px solid #8a97ad;
  font-size: 10px;
}

/* --------------------------------------------------- floating support orb */
.h-service {
  position: fixed;
  right: max(12px, calc(50% - 240px + 12px));
  bottom: 96px;
  z-index: 900;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  animation: th-float 3.4s ease-in-out infinite;
}

.h-service__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ffaf2d, #f97316, #14b8a6, #38bdf8, #ffaf2d);
  animation: th-spin 4s linear infinite;
  box-shadow: 0 6px 22px rgba(249, 115, 22, .45);
}

.h-service__core {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .35), rgba(31, 41, 55, .92) 60%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 22px;
  text-shadow: 0 0 10px rgba(255, 175, 45, .9);
}

.h-service__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 175, 45, .7);
  animation: h-ping 2s ease-out infinite;
}

.h-service__pulse:nth-child(2) { animation-delay: 1s; }

@keyframes h-ping {
  from { transform: scale(1); opacity: .9; }
  to { transform: scale(1.7); opacity: 0; }
}

.h-service__tag {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1px 6px;
  border-radius: 8px;
  background: var(--th-orange);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}

/* -------------------------------------------------------- notice popup */
.h-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 8, 15, .6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.h-modal.is-open { display: flex; }

.h-modal__box {
  width: 100%;
  max-width: 360px;
  max-height: 78vh;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  animation: th-pop .4s cubic-bezier(.2, .9, .3, 1.25) both;
}

.h-modal__head {
  position: relative;
  padding: 14px 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  background: var(--th-glass-gold);
}

.h-modal__body {
  overflow-y: auto;
  padding: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #e2e8f0;
  text-align: center;
}

.h-modal__body h4 { margin: 0 0 6px; color: #fff; font-size: 16px; }
.h-modal__body img { width: 100%; margin: 10px 0; border-radius: 12px; }
.h-modal__foot { padding: 12px 16px 16px; }

/* WinGo 10 Min shares the red tile art: tint it purple so it stands apart */
.h-lot--purple img { filter: hue-rotate(270deg) saturate(1.1); }
.h-lot--purple .h-relabel { background: #8b47e6; }
.h-lot--purple .h-rebadge { color: #7c3aed; border-color: #a78bfa; background: radial-gradient(circle, #fff 55%, #e9ddff 56%, #d6c4ff 100%); }

/* "NEW" ribbon */
.h-lot__new {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 6px;
  border-radius: 7px;
  background: var(--th-orange);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(249, 115, 22, .6);
  animation: th-blink 1.6s ease-in-out infinite;
}

/* centre a lone last tile in the 3-column lottery grid */

