@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@600;700&display=swap");
/* themeui-20261108 -- PREVIEW (test store only). Travis: "show me in the test store what you would do" (color
   rules lifted for this mockup). Two themes, opt-in only: ?theme=slayin | ?theme=casino | ?theme=off.
   No param = the current lime look, untouched (every rule below is scoped to html[data-theme]).
   EVERY colour comes from five variables so a theme can later be derived from a store's hero image:
     --t-base  page/panel base      --t-primary  frames, active menu, progress
     --t-secondary  second accent   --t-money    money, VIP      --t-success  play / claim / success
   Visual only: nl-themeui.js adds decorative nodes and forwards clicks to the real buttons. */

html[data-theme="slayin"] {
  --t-base: #0b0612; --t-primary: #ff2d9b; --t-secondary: #1fe0d0; --t-money: #f6c544; --t-success: #93ff2b;
  --t-cta: var(--t-primary);
  --t-glow: 0 0 14px color-mix(in srgb, var(--t-primary) 42%, transparent), 0 0 30px color-mix(in srgb, var(--t-primary) 16%, transparent);
  --t-bg: url("../img/th/sl-bg2.webp"); --t-bg-phone: url("../img/th/sl-bg2-phone.webp");
}
html[data-theme="casino"] {
  --t-base: #050b1d; --t-primary: #2e9bff; --t-secondary: #7fd0ff; --t-money: #f6c544; --t-success: #3ddc6a;
  --t-cta: var(--t-money);
  --t-glow: none;
  --t-bg: url("../img/th/casino-bg.webp"); --t-bg-phone: url("../img/th/casino-bg-phone.webp");
}

/* ---------- derived tokens: everything below reads only the five --t-* colours ---------- */
html[data-theme] {
  --t-panel-top: color-mix(in srgb, var(--t-base) 91%, var(--t-primary) 9%);
  --t-panel-bot: color-mix(in srgb, var(--t-base) 92%, #000);
  --t-line: color-mix(in srgb, var(--t-primary) 85%, #fff 15%);
  --t-quiet: color-mix(in srgb, #fff 8%, transparent);
  --t-sheen: linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.02) 32%, rgba(255,255,255,0) 55%);
  --t-inset: inset 0 1px 0 rgba(255,255,255,0.22), inset 0 -14px 24px rgba(0,0,0,0.35);
  /* hand the old previews' knobs the theme colours so their rules recolour themselves */
  --sc-lime: var(--t-primary); --sc-lime-dark: color-mix(in srgb, var(--t-primary) 45%, #000);
  --sc-lime-glow: color-mix(in srgb, var(--t-primary) 15%, transparent);
  --sc-bg: var(--t-base); --sc-surface: var(--t-panel-top); --sc-surface-alt: var(--t-panel-top);
  --sc-border: color-mix(in srgb, var(--t-primary) 22%, var(--t-base));
  --sc-gold: var(--t-money); --sc-green: var(--t-success);
  --ru-edge: var(--t-primary); --hu-edge: var(--t-primary);
  --ru-panel-top: var(--t-panel-top); --ru-panel-bot: var(--t-panel-bot);
  --th-display: Inter, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- atmosphere ---------- */
html[data-theme] body { background: var(--t-base); }
html[data-theme] body::before {
  transform: none;
  background:
    radial-gradient(80% 60% at 0% 100%, rgba(0,0,0,0.6) 0%, transparent 70%),
    var(--t-bg) right top / cover no-repeat,
    linear-gradient(180deg, var(--t-panel-top) 0%, var(--t-base) 70%);
}
@media (max-width: 768px) {
  html[data-theme] body::before {
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 100%), var(--t-bg-phone) center top / cover no-repeat, var(--t-base);
  }
}
html[data-theme] .topbar, html[data-theme] .top-bar { background: color-mix(in srgb, var(--t-base) 55%, transparent) !important; backdrop-filter: blur(10px); }
html[data-theme] .hero-greeting { color: rgba(255,255,255,0.78) !important; }
html[data-theme] .hero-name { font-family: var(--th-display); font-weight: 800; font-style: normal; letter-spacing: -.2px; }

/* ---------- side menu ---------- */
html[data-theme] .sidebar {
  background: linear-gradient(180deg, color-mix(in srgb, var(--t-base) 93%, var(--t-primary) 7%) 0%, var(--t-panel-bot) 100%) !important;
  border-right: 1px solid color-mix(in srgb, var(--t-primary) 35%, transparent);
}
html[data-theme] .sidebar-nav .sidebar-nav-item { color: rgba(255,255,255,0.88); border-color: transparent; }
html[data-theme] .sidebar-nav .sidebar-nav-item:not(.active):hover { background: color-mix(in srgb, var(--t-primary) 10%, transparent); }
html[data-theme] .sidebar-nav .sidebar-nav-item.active {
  color: #fff; border: 1.5px solid var(--t-line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.26) 0%, rgba(255,255,255,0.05) 48%, rgba(255,255,255,0) 52%),
    linear-gradient(180deg, color-mix(in srgb, var(--t-primary) 92%, #fff) 0%, var(--t-primary) 50%, color-mix(in srgb, var(--t-primary) 60%, #000) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), var(--t-glow);
}
html[data-theme] .sidebar-nav .sidebar-nav-item svg { color: var(--t-primary); }
html[data-theme] .sidebar-nav .sidebar-nav-item:nth-child(even) svg { color: var(--t-secondary); }
html[data-theme] .sidebar-nav .sidebar-nav-item.active svg { color: #fff !important; stroke: #fff !important; }

/* ---------- strong frames: hero, action cards, wallet, game tiles, promos, VIP ---------- */
html[data-theme] .hero-panel {
  border: 2px solid var(--t-line) !important; border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), var(--t-glow) !important;
}
html[data-theme] .platform-card, html[data-theme] .wallet-hero-card, html[data-theme] .featured-promo-card, html[data-theme] .quick-actions-bar {
  border: 2px solid var(--t-line) !important;
  background: var(--t-sheen), linear-gradient(180deg, var(--t-panel-top) 0%, var(--t-panel-bot) 100%) !important;
  box-shadow: var(--t-inset), var(--t-glow) !important;
}
html[data-theme] .platform-card .platform-card-image { border-bottom: 0; }
html[data-theme] .platform-card.platform-unavailable { border-color: rgba(255,255,255,0.18) !important; box-shadow: var(--t-inset) !important; }
/* quiet: secondary text panels lose the frame */
html[data-theme] .card:not(.wallet-hero-card):not(.platform-card):not(.featured-promo-card), html[data-theme] .plat-skel {
  border: 1px solid var(--t-quiet) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--t-panel-top) 80%, transparent), color-mix(in srgb, var(--t-panel-bot) 80%, transparent)) !important;
  box-shadow: none !important;
}
html[data-theme] .modal-box, html[data-theme] .login-modal {
  border: 1.5px solid color-mix(in srgb, var(--t-primary) 55%, transparent) !important;
  background: linear-gradient(180deg, var(--t-panel-top), var(--t-panel-bot)) !important; box-shadow: var(--t-inset) !important;
}

/* ---------- header chips ---------- */
html[data-theme] .tbc-chip {
  border: 1.5px solid rgba(255,255,255,0.45); background: color-mix(in srgb, var(--t-base) 70%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}
html[data-theme] .tbc-value { font-family: var(--th-display); font-weight: 800; color: #fff; }
html[data-theme="casino"] .tbc-value { color: var(--t-money); }

/* ---------- buttons ---------- */
html[data-theme] .btn-primary, html[data-theme] .btn-lime, html[data-theme] .platforms-viewall-btn, html[data-theme] .ru-cta {
  color: color-mix(in srgb, var(--t-cta) 18%, #000) !important;
  border: 1.5px solid color-mix(in srgb, var(--t-cta) 70%, #000) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.1) 46%, rgba(255,255,255,0) 52%),
    linear-gradient(180deg, color-mix(in srgb, var(--t-cta) 82%, #fff) 0%, var(--t-cta) 50%, color-mix(in srgb, var(--t-cta) 60%, #000) 100%) !important;
}
html[data-theme="slayin"] .btn-primary, html[data-theme="slayin"] .platforms-viewall-btn, html[data-theme="slayin"] .ru-cta { color: #fff !important; text-shadow: 0 1px 0 rgba(0,0,0,0.35); }
html[data-theme] .btn-outline, html[data-theme] .btn-secondary {
  border-color: var(--t-line) !important; color: #fff !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 55%), color-mix(in srgb, var(--t-base) 60%, transparent) !important;
}
/* shine sweep on the primary call to action */
html[data-theme] .ru-cta, html[data-theme] .th-shine { position: relative; overflow: hidden; }
html[data-theme] .ru-cta::after, html[data-theme] .th-shine::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
  transform: skewX(-18deg); animation: th-shine 4.2s ease-in-out infinite;
}
@keyframes th-shine { 0%, 62% { left: -60%; } 100% { left: 130%; } }

/* ---------- hero copy (stock art only; renderui adds it) ---------- */
html[data-theme] .ru-hero-title {
  font-family: var(--th-display);
  background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--t-money) 40%, #fff) 30%, var(--t-money) 60%, color-mix(in srgb, var(--t-money) 50%, #000) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[data-theme] .hero-main .ru-hero-copy { background: linear-gradient(90deg, color-mix(in srgb, var(--t-base) 85%, transparent) 0%, color-mix(in srgb, var(--t-base) 50%, transparent) 30%, transparent 55%); }
@media (max-width: 768px) {
  html[data-theme] .hero-main .ru-hero-copy { background: linear-gradient(0deg, color-mix(in srgb, var(--t-base) 90%, transparent) 0%, color-mix(in srgb, var(--t-base) 50%, transparent) 30%, transparent 55%); }
}

/* ---------- action cards under the hero ---------- */
html[data-theme] body .hero-btns-below .hero-btns .hero-btn {
  color: #fff; border: 2px solid var(--t-line);
  background: var(--t-sheen), linear-gradient(180deg, var(--t-panel-top) 0%, var(--t-panel-bot) 100%);
  box-shadow: var(--t-inset), var(--t-glow);
  font-family: Inter, sans-serif; font-weight: 700;
}
/* casino keeps the gold 3D icons (money is gold); Add Funds is the gold primary */
html[data-theme="casino"] body .hero-btns-below .hero-btns .hero-btn::before { border-color: color-mix(in srgb, var(--t-money) 70%, transparent); }
html[data-theme="casino"] body .hero-btns-below .hero-btns .hero-btn.add {
  color: color-mix(in srgb, var(--t-money) 15%, #000); border-color: color-mix(in srgb, var(--t-money) 75%, #000);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.08) 46%, rgba(255,255,255,0) 52%),
    linear-gradient(180deg, color-mix(in srgb, var(--t-money) 80%, #fff) 0%, var(--t-money) 50%, color-mix(in srgb, var(--t-money) 58%, #000) 100%);
}
/* slayin: line icons in pink / teal like the render, label centred; Claim Bonus is the lime highlight */
html[data-theme="slayin"] body .hero-btns-below .hero-btns .hero-btn { justify-content: center; gap: 14px; padding: 10px 14px; font-size: 16px; }
html[data-theme="slayin"] body .hero-btns-below .hero-btns .hero-btn::before { display: none; }
html[data-theme="slayin"] body .hero-btns-below .hero-btns .hero-btn svg {
  display: block; width: 28px; height: 28px; flex: 0 0 auto; fill: none; stroke: var(--t-primary); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
html[data-theme="slayin"] body .hero-btns-below .hero-btns #heroCashOutBtn { border-color: color-mix(in srgb, var(--t-secondary) 80%, #fff); box-shadow: var(--t-inset), 0 0 14px color-mix(in srgb, var(--t-secondary) 35%, transparent); }
html[data-theme="slayin"] body .hero-btns-below .hero-btns #heroCashOutBtn svg { stroke: var(--t-primary); }
html[data-theme="slayin"] body .hero-btns-below .hero-btns .hero-btn.bonus {
  color: color-mix(in srgb, var(--t-success) 12%, #000); border-color: color-mix(in srgb, var(--t-success) 70%, #fff);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.08) 46%, rgba(255,255,255,0) 52%),
    linear-gradient(180deg, color-mix(in srgb, var(--t-success) 80%, #fff) 0%, var(--t-success) 50%, color-mix(in srgb, var(--t-success) 62%, #000) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 0 16px color-mix(in srgb, var(--t-success) 40%, transparent);
}
html[data-theme="slayin"] body .hero-btns-below .hero-btns .hero-btn.bonus svg { stroke: color-mix(in srgb, var(--t-success) 12%, #000); }
@media (max-width: 640px) {
  html[data-theme="slayin"] body .hero-btns-below .hero-btns .hero-btn { font-size: 14px; gap: 10px; }
  html[data-theme="slayin"] body .hero-btns-below .hero-btns .hero-btn svg { width: 24px; height: 24px; }
}
/* coin sparkle on Add Funds (span added by nl-themeui.js) */
html[data-theme] .th-spark { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
html[data-theme] .th-spark i {
  position: absolute; width: 5px; height: 5px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, #fff 0%, var(--t-money) 45%, transparent 70%);
  animation: th-spark 2.8s ease-in-out infinite;
}
html[data-theme] .th-spark i:nth-child(1) { left: 18%; top: 22%; animation-delay: 0s; }
html[data-theme] .th-spark i:nth-child(2) { left: 72%; top: 30%; animation-delay: .9s; }
html[data-theme] .th-spark i:nth-child(3) { left: 46%; top: 70%; animation-delay: 1.7s; }
html[data-theme] .th-spark i:nth-child(4) { left: 88%; top: 74%; animation-delay: 2.3s; }
@keyframes th-spark { 0%, 100% { opacity: 0; transform: scale(.4); } 18% { opacity: 1; transform: scale(1.4); } 40% { opacity: 0; transform: scale(.6); } }

/* ---------- section headers ---------- */
html[data-theme] .section-title { font-family: var(--th-display); font-style: normal; font-weight: 800; font-size: 20px; letter-spacing: .05em; color: #fff; }
html[data-theme="slayin"] .section-title::before {
  background: linear-gradient(180deg, var(--t-primary), color-mix(in srgb, var(--t-primary) 55%, #000)) !important;
  width: 5px !important; height: 24px !important; border-radius: 3px !important; mix-blend-mode: normal !important;
  box-shadow: 0 0 10px color-mix(in srgb, var(--t-primary) 60%, transparent);
}
html[data-theme] .section-link { color: #fff !important; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- promo row (only when the store has featured promos; JS moves it under the action cards) ---------- */
html[data-theme] .th-promos-top { margin: 6px 0 22px; }
html[data-theme] .th-promos-top .featured-promos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 768px) { html[data-theme] .th-promos-top .featured-promos-grid { grid-template-columns: 1fr; } }
html[data-theme] .featured-promo-title { font-family: var(--th-display); font-weight: 800; text-transform: uppercase; color: #fff; }

/* ---------- game tiles ---------- */
html[data-theme] .platform-card-name { font-weight: 700; color: #fff; }
html[data-theme] .platform-card-balance { color: var(--t-success) !important; font-weight: 700; }
html[data-theme="casino"] .platform-card-balance { color: var(--t-money) !important; }
html[data-theme] .ru-play-pill {
  color: color-mix(in srgb, var(--t-cta) 15%, #000); border-color: color-mix(in srgb, var(--t-cta) 70%, #000);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.12) 46%, rgba(255,255,255,0) 52%),
    linear-gradient(180deg, color-mix(in srgb, var(--t-cta) 82%, #fff) 0%, var(--t-cta) 50%, color-mix(in srgb, var(--t-cta) 60%, #000) 100%);
}
/* desktop: the overlay is the action, so the duplicate button underneath goes (theme-scoped only) */
@media (min-width: 641px) {
  html[data-theme] .platform-card .th-fwd { display: none !important; }
  /* tileshow-20261110 part 2: Create / Connect stay as labelled buttons on the tile (the round + alone was not enough) */
  html[data-theme] .platform-card .platform-card-account-actions .th-fwd { display: inline-flex !important; }
}
/* slayin: round play button at the bottom right of the tile body instead of the pill */
html[data-theme="slayin"] .ru-play-pill { display: none !important; }
html[data-theme] .th-round { display: none; }
@media (min-width: 641px) {
  html[data-theme="slayin"] .platform-card-body { position: relative; }
  html[data-theme="slayin"] .th-round {
    display: inline-flex; align-items: center; justify-content: center; position: absolute; right: 14px; top: 12px;
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer; padding: 0;
    border: 2px solid color-mix(in srgb, var(--t-success) 85%, #fff);
    background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--t-success) 35%, transparent) 0%, color-mix(in srgb, var(--t-base) 80%, #000) 70%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 0 12px color-mix(in srgb, var(--t-success) 45%, transparent);
    color: var(--t-success);
  }
  html[data-theme="slayin"] .th-round svg { width: 16px; height: 16px; fill: currentColor; margin-left: 2px; }
  html[data-theme="slayin"] .th-round.is-create svg { margin-left: 0; fill: none; stroke: currentColor; stroke-width: 3; }
  html[data-theme="slayin"] .th-round:hover { filter: brightness(1.15); }
  html[data-theme="slayin"] .platforms-track .platform-card-name, html[data-theme="slayin"] .platform-grid .platform-card-name { padding-right: 52px; }
  html[data-theme="slayin"] .platforms-track .platform-card-status { display: none; }
}

/* ---------- VIP card ---------- */
html[data-theme] body .sidebar-vip .vip-card-html {
  border: 2px solid var(--t-line) !important;
  background: var(--t-sheen), radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--t-primary) 16%, transparent) 0%, transparent 60%), linear-gradient(180deg, var(--t-panel-top), var(--t-panel-bot)) !important;
  box-shadow: var(--t-inset), var(--t-glow) !important;
}
html[data-theme] .vip-header { color: var(--t-money) !important; font-weight: 800; letter-spacing: .08em; }
html[data-theme] .vip-progress-bar { background: linear-gradient(90deg, color-mix(in srgb, var(--t-primary) 70%, #fff), var(--t-primary)) !important; box-shadow: 0 0 8px color-mix(in srgb, var(--t-primary) 60%, transparent); }
html[data-theme] .vip-progress-track { background: rgba(255,255,255,0.12) !important; }
html[data-theme] #vip-tier-name { font-family: var(--th-display); font-size: 22px !important; }
html[data-theme] #vip-points-display { font-family: var(--th-display); font-size: 24px !important; }
/* slayin: centred card with a gold crown on top, like the render */
html[data-theme="slayin"] body .sidebar-vip .vip-card-html { text-align: center; padding-top: 58px !important; position: relative; }
html[data-theme="slayin"] body .sidebar-vip .vip-card-html::before {
  content: ""; position: absolute; top: 10px; left: 50%; width: 52px; height: 44px; transform: translateX(-50%);
  background: url("../img/th/crown-gold.webp") center / contain no-repeat;
}
html[data-theme="slayin"] .vip-level-row { justify-content: center !important; }
html[data-theme="slayin"] .vip-level-row #vip-tier-img { display: none !important; }
html[data-theme="slayin"] .vip-reward-row { text-align: left; }
html[data-theme] body .hero-greeting-above > .mobile-vip-badge { border-color: var(--t-line) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), var(--t-glow) !important; }

/* ---------- logo (slayin mockup uses the Simply Slayin badge) ---------- */

html[data-theme="slayin"] .brand-name {
  font-family: var(--th-display); font-style: italic; font-weight: 800; font-size: 19px;
  background: linear-gradient(90deg, var(--t-primary), var(--t-secondary)); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- wallet ---------- */
html[data-theme] .wallet-hero-card-value, html[data-theme] .wallet-hero-value, html[data-theme] .wallet-hero-value { font-family: var(--th-display); font-weight: 800; }
html[data-theme="casino"] .wallet-hero-card-value, html[data-theme="casino"] .wallet-hero-value { color: var(--t-money) !important; }

@media (prefers-reduced-motion: reduce) {
  html[data-theme] .ru-cta::after, html[data-theme] .th-shine::after, html[data-theme] .th-spark i { animation: none !important; display: none; }
}
/* upright display type everywhere except the stock hero headline */
html[data-theme] .tbc-value, html[data-theme] #vip-tier-name, html[data-theme] #vip-points-display,
html[data-theme] .wallet-hero-card-value, html[data-theme] .wallet-hero-value, html[data-theme] .featured-promo-title { font-style: normal !important; }
/* no store logo uploaded: the placeholder square takes the theme colours instead of the old lime */
html[data-theme="casino"] .sidebar-logo-icon { background: linear-gradient(135deg, var(--t-money), color-mix(in srgb, var(--t-money) 55%, #000)) !important; }

/* ===================== slayin: render-exact pass (themeui v4) ===================== */
/* sidebar: big centred store logo, no "VANTAGE TEST / PLAYER PORTAL" text, glowing pink right edge */
html[data-theme="slayin"] .sidebar { border-right: 1px solid var(--t-primary) !important; box-shadow: 1px 0 0 color-mix(in srgb, var(--t-primary) 60%, transparent), 4px 0 18px color-mix(in srgb, var(--t-primary) 35%, transparent); }
html[data-theme="slayin"] .sidebar-logo { justify-content: center; padding: 18px 12px 14px !important; border-bottom: 1px solid color-mix(in srgb, var(--t-primary) 22%, transparent); }
html[data-theme="slayin"] .sidebar-logo .sidebar-logo-text { display: none !important; }
html[data-theme="slayin"] .sidebar-logo-icon { width: 104px !important; height: 104px !important; flex: 0 0 104px; margin: 0 auto; }
html[data-theme="slayin"] .sidebar-nav { gap: 2px; }
html[data-theme="slayin"] .sidebar-nav .sidebar-nav-item { font-weight: 600; font-size: 15.5px; gap: 16px; }
html[data-theme="slayin"] .sidebar-nav .sidebar-nav-item svg { width: 24px; height: 24px; }
html[data-theme="slayin"] .sidebar-nav .sidebar-nav-item svg.th-bars { color: inherit; }
html[data-theme="slayin"] .sidebar-nav .sidebar-nav-item.active {
  border: 0 !important; color: #fff;
  background: linear-gradient(90deg, #ff47b0 0%, var(--t-primary) 45%, #d81b7f 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 0 16px color-mix(in srgb, var(--t-primary) 55%, transparent), 0 0 34px color-mix(in srgb, var(--t-primary) 22%, transparent) !important;
}

/* header: plain bordered pills (no coin icons), green-ringed initial, bell + gear */
html[data-theme="slayin"] .tbc-chip::before { display: none !important; }
html[data-theme="slayin"] .tbc-chip { padding: 6px 16px !important; border: 1.5px solid rgba(255,255,255,0.55) !important; border-radius: 999px; background: rgba(0,0,0,0.35) !important; flex-direction: row !important; gap: 8px; align-items: center; }
html[data-theme="slayin"] .tbc-label { color: #fff !important; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; font-size: 13px; }
html[data-theme="slayin"] .tbc-value { font-size: 16px; }
html[data-theme="slayin"] .topbar-user, html[data-theme="slayin"] .header-user { border: 1.5px solid rgba(255,255,255,0.45) !important; border-radius: 999px !important; background: rgba(0,0,0,0.35) !important; padding: 5px 14px 5px 6px !important; }
html[data-theme="slayin"] .topbar-avatar, html[data-theme="slayin"] .header-user-avatar { background: transparent !important; color: #fff !important; border: 2px solid var(--t-success) !important; font-weight: 700; }
html[data-theme="slayin"] .topbar-username, html[data-theme="slayin"] .header-user-name { color: #fff !important; font-weight: 700; }
html[data-theme] .th-hdr-icons { display: none; }
html[data-theme="slayin"] .th-hdr-icons { display: flex; align-items: center; gap: 18px; margin-left: 18px; }
html[data-theme="slayin"] .th-hdr-ico { position: relative; color: #fff; display: inline-flex; }
html[data-theme="slayin"] .th-hdr-ico svg { width: 26px; height: 26px; }
html[data-theme="slayin"] .th-dot { position: absolute; top: -1px; right: -1px; width: 9px; height: 9px; border-radius: 50%; background: var(--t-primary); box-shadow: 0 0 6px var(--t-primary); }
@media (max-width: 640px) { html[data-theme="slayin"] .th-hdr-icons { display: none; } }

/* greeting + name */
html[data-theme="slayin"] .hero-greeting { color: #fff !important; font-size: 16px; font-weight: 500; }
html[data-theme="slayin"] .hero-name { font-size: 36px !important; font-weight: 800; color: #fff; }

/* action buttons: bigger icon at the left, label centred */
html[data-theme="slayin"] body .hero-btns-below .hero-btns .hero-btn { justify-content: center !important; padding: 10px 16px 10px 64px !important; min-height: 66px; border-radius: 14px; }
html[data-theme="slayin"] .hero-btn .th-btn-ico { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); display: inline-flex; color: var(--t-primary); }
html[data-theme="slayin"] .hero-btn .th-btn-ico svg { width: 34px !important; height: 34px !important; display: block !important; stroke: currentColor !important; }
html[data-theme="slayin"] .hero-btn .th-btn-label { font-size: 17px; font-weight: 700; }
html[data-theme="slayin"] .hero-btn.bonus .th-btn-ico, html[data-theme="slayin"] .hero-btn.bonus .th-btn-label { color: #11180a; }
@media (max-width: 640px) {
  html[data-theme="slayin"] body .hero-btns-below .hero-btns .hero-btn { padding: 8px 10px 8px 46px !important; min-height: 56px; }
  html[data-theme="slayin"] .hero-btn .th-btn-ico { left: 12px; }
  html[data-theme="slayin"] .hero-btn .th-btn-ico svg { width: 26px !important; height: 26px !important; }
  html[data-theme="slayin"] .hero-btn .th-btn-label { font-size: 14.5px; }
}

/* feature cards (real features only, no numbers) */
html[data-theme] .th-features { display: grid; grid-template-columns: repeat(var(--th-cols, 3), minmax(0, 1fr)); gap: 16px; margin: 0 0 22px; }
html[data-theme] .th-features[hidden] { display: none; }
html[data-theme] .th-feature {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 112px; padding: 8px 18px 8px 10px; overflow: hidden;
  border-radius: 14px; text-decoration: none; border: 2px solid var(--t-line);
  background: radial-gradient(80% 120% at 0% 50%, color-mix(in srgb, var(--t-primary) 22%, transparent) 0%, transparent 60%), linear-gradient(180deg, var(--t-panel-top), var(--t-panel-bot));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), var(--t-glow);
}
html[data-theme] .th-feature.th-tone-teal { border-color: color-mix(in srgb, var(--t-secondary) 85%, #fff); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 0 14px color-mix(in srgb, var(--t-secondary) 40%, transparent);
  background: radial-gradient(80% 120% at 0% 50%, color-mix(in srgb, var(--t-secondary) 18%, transparent) 0%, transparent 60%), linear-gradient(180deg, var(--t-panel-top), var(--t-panel-bot)); }
html[data-theme] .th-feature img { width: 132px; height: 96px; object-fit: contain; flex: 0 0 auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.6)); }
html[data-theme] .th-feature-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
html[data-theme] .th-feature-title { font-family: "Oswald", "Kanit", Inter, sans-serif; font-weight: 700; font-size: 25px; line-height: 1.02; text-transform: uppercase; color: #fff; letter-spacing: .01em; }
html[data-theme] .th-feature-sub { font-family: "Oswald", "Kanit", Inter, sans-serif; font-weight: 600; font-size: 15px; line-height: 1.15; text-transform: uppercase; color: var(--t-money); letter-spacing: .02em; }
html[data-theme] .th-feature:hover { filter: brightness(1.1); }
@media (max-width: 900px) and (min-width: 641px) { html[data-theme] .th-feature img { width: 90px; } html[data-theme] .th-feature-title { font-size: 20px; } }
@media (max-width: 640px) {
  html[data-theme] .th-features { grid-template-columns: 1fr; gap: 10px; }
  html[data-theme] .th-feature { min-height: 84px; }
  html[data-theme] .th-feature img { width: 96px; height: 70px; }
  html[data-theme] .th-feature-title { font-size: 21px; }
  html[data-theme] .th-feature-sub { font-size: 13px; }
}

/* MY PLATFORMS: pink bar + VIEW ALL -> */
html[data-theme] .th-viewall { display: none; }
html[data-theme="slayin"] .th-viewall { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
html[data-theme="slayin"] .th-viewall svg { width: 20px; height: 20px; }
html[data-theme="slayin"] .section-title { font-size: 22px; }

/* game tiles: dark body, thin pink frame + soft glow, name + green credits, round play at bottom right */
html[data-theme="slayin"] .platform-card { border-width: 1.5px !important; border-radius: 14px !important; }
html[data-theme="slayin"] .platform-card .platform-card-body { background: linear-gradient(180deg, #120a17, #0a0610) !important; }
html[data-theme="slayin"] .platform-card-name { font-size: 19px; font-weight: 800; }
html[data-theme="slayin"] .platform-card-balance { font-size: 15px; margin-top: 2px; }
html[data-theme="slayin"] .platform-sticker { background: linear-gradient(180deg, #4be35c, #22b33a) !important; color: #fff !important; font-weight: 800; border-radius: 0 0 0 8px !important; }
@media (min-width: 641px) {
  html[data-theme="slayin"] .th-round { top: auto !important; bottom: 14px; right: 14px; width: 42px; height: 42px; }
  html[data-theme="slayin"] .th-round svg { width: 17px; height: 17px; }
  html[data-theme="slayin"] .platform-card-body { min-height: 76px; }
  /* tileshow-20261110 part 4 (Travis: "I want it how it was before it was broken. the game tiles just show the image at
     first. then when you click them, the credentials show up"): the 11-08 look -- closed tile = art, name, credits, round
     button; one click opens the login, Add Credits / Redeem AND Connect / Create. The only change from 11-08 is that
     Connect / Create now appear when opened (they were hidden on desktop even when opened -- the bug). */
  html[data-theme="slayin"] .platform-card:not(.th-open) .platform-card-body .platform-card-credentials,
  html[data-theme="slayin"] .platform-card:not(.th-open) .platform-card-body .platform-card-actions,
  html[data-theme="slayin"] .platform-card:not(.th-open) .platform-card-body .platform-card-account-actions,
  html[data-theme="slayin"] .platform-card .platform-card-status { display: none !important; }
  html[data-theme="slayin"] .platform-card.th-has-panel .platform-card-body { cursor: pointer; }
  html[data-theme="slayin"] .platform-card.th-has-panel:not(.th-open) .platform-card-name::after { content: " \25BE"; font-size: 13px; color: rgba(255,255,255,0.45); }
  html[data-theme="slayin"] .platform-card.th-open .platform-card-body { padding-bottom: 64px; }
}

/* VIP card: render layout */
html[data-theme="slayin"] .vip-header { font-size: 14px !important; margin-top: 2px; }
html[data-theme="slayin"] #vip-tier-name { font-size: 26px !important; margin-top: 4px; }
html[data-theme="slayin"] #vip-points-display { font-size: 28px !important; }
html[data-theme="slayin"] .vip-progress-track { height: 10px !important; border-radius: 999px; }
html[data-theme="slayin"] .vip-progress-bar { border-radius: 999px; }
html[data-theme="slayin"] .vip-progress-pct { color: #fff !important; font-weight: 600; }
html[data-theme="slayin"] .vip-reward-val { font-size: 19px !important; font-weight: 800 !important; color: #fff !important; }
html[data-theme="slayin"] #vip-next-img { width: 52px !important; height: 40px !important; object-fit: contain !important; opacity: 1 !important; border: 0 !important; border-radius: 0 !important; }
html[data-theme="slayin"] .mobile-vip-img { object-fit: contain !important; background: transparent !important; }
/* v5: render proportions -- compact menu so the whole list + VIP card fit, swooshes visible, wider tile art */
html[data-theme="slayin"] .sidebar-logo-icon { width: 84px !important; height: 84px !important; flex: 0 0 84px; }
html[data-theme="slayin"] .sidebar-logo { padding: 12px 12px 10px !important; }
html[data-theme="slayin"] .sidebar-nav .sidebar-nav-item { padding: 9px 16px !important; font-size: 15px; }
html[data-theme="slayin"] .sidebar-nav .sidebar-nav-item svg { width: 22px; height: 22px; }
html[data-theme="slayin"] body::before {
  background: var(--t-bg) center top / 100% auto no-repeat, linear-gradient(180deg, #120818 0%, var(--t-base) 55%);
}
@media (max-width: 768px) {
  html[data-theme="slayin"] body::before { background: var(--t-bg-phone) center top / 100% auto no-repeat, var(--t-base); }
}
@media (min-width: 641px) {
  /* tileart-20261111: square art box + contain on desktop, so the whole uploaded art shows (was 1.35:1 + cover, cut top/bottom) */
  html[data-theme="slayin"] .platforms-track .platform-card-image, html[data-theme="slayin"] .platform-grid .platform-card-image { aspect-ratio: 1 / 1; }
  html[data-theme="slayin"] .platforms-track .platform-card-image img, html[data-theme="slayin"] .platform-grid .platform-card-image img { object-fit: contain; }
}
/* v6: header bar see-through so the swooshes run behind it; swooshes lifted to the header/greeting band */
html[data-theme] .header-bar { background: transparent !important; border-bottom: 0 !important; box-shadow: none !important; }
html[data-theme="slayin"] body::before { background: var(--t-bg) center -130px / 100% auto no-repeat, linear-gradient(180deg, #120818 0%, var(--t-base) 55%) !important; }
@media (max-width: 768px) { html[data-theme="slayin"] body::before { background: var(--t-bg-phone) center -40px / 100% auto no-repeat, var(--t-base) !important; } }
html[data-theme="slayin"] .sidebar-nav .sidebar-nav-item { padding: 7px 16px !important; }
html[data-theme="slayin"] body .sidebar-vip .vip-card-html { padding-top: 50px !important; padding-bottom: 12px !important; }
html[data-theme="slayin"] body .sidebar-vip .vip-card-html::before { top: 8px; height: 38px; }
@media (max-width: 640px) { html[data-theme="slayin"] .hero-name { font-size: 28px !important; } }
/* v8: every slayin icon/art is a ChatGPT image (img.th-ic); CSS only frames and lights them */
html[data-theme="slayin"] .sidebar-nav .sidebar-nav-item .th-menu-ic { width: 26px; height: 26px; flex: 0 0 26px; object-fit: contain; }
html[data-theme="slayin"] .sidebar-nav .sidebar-nav-item.active .th-menu-ic { filter: brightness(0) invert(1) drop-shadow(0 0 4px rgba(255,255,255,0.6)); }
html[data-theme="slayin"] .th-hdr-ico .th-ic { width: 30px; height: 30px; object-fit: contain; }
html[data-theme="slayin"] .hero-btn .th-btn-ico .th-ic { width: 40px; height: 40px; object-fit: contain; display: block; }
html[data-theme="slayin"] .hero-btn.bonus .th-btn-ico .th-ic { filter: brightness(0); opacity: .85; }
@media (max-width: 640px) { html[data-theme="slayin"] .hero-btn .th-btn-ico .th-ic { width: 30px; height: 30px; } }
@media (min-width: 641px) {
  html[data-theme="slayin"] .th-round { border: 0 !important; background: transparent !important; box-shadow: none !important; width: 44px !important; height: 44px !important; padding: 0; }
  html[data-theme="slayin"] .th-round .th-ic { width: 44px; height: 44px; object-fit: contain; margin: 0; }
}
/* feature cards: the generated image is the whole button; CSS frame + glow around it */
html[data-theme] .th-feature.th-feature-img { padding: 0; min-height: 0; display: block; line-height: 0; background: #0b0510; }
html[data-theme] .th-feature.th-feature-img img { width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; filter: none; border-radius: 12px; }
@media (max-width: 640px) { html[data-theme] .th-features { grid-template-columns: 1fr; } }
/* neon intensity to the render: hero, action buttons, VIP card */
html[data-theme="slayin"] {
  --t-glow: 0 0 10px color-mix(in srgb, var(--t-primary) 75%, transparent), 0 0 26px color-mix(in srgb, var(--t-primary) 45%, transparent), 0 0 48px color-mix(in srgb, var(--t-primary) 18%, transparent);
}
html[data-theme="slayin"] .hero-panel { border-color: #ff5cb5 !important; }
html[data-theme="slayin"] body .hero-btns-below .hero-btns .hero-btn { border-color: #ff5cb5; }
html[data-theme="slayin"] body .sidebar-vip .vip-card-html {
  border: 2px solid #ff3fa8 !important; border-radius: 16px !important;
  box-shadow:
    inset 0 0 0 4px #12081a, inset 0 0 0 5px rgba(255,160,215,0.85),
    inset 0 0 30px color-mix(in srgb, var(--t-primary) 40%, transparent),
    0 0 6px #ff5cb5, 0 0 16px color-mix(in srgb, var(--t-primary) 80%, transparent), 0 0 30px color-mix(in srgb, var(--t-primary) 45%, transparent) !important;
}
html[data-theme="slayin"] .sidebar-vip { padding: 14px 20px 20px !important; overflow: visible; }
html[data-theme="slayin"] .sidebar-nav .sidebar-nav-item { padding: 6px 16px !important; }
html[data-theme="slayin"] .sidebar-nav .sidebar-nav-item .th-menu-ic { width: 24px; height: 24px; flex: 0 0 24px; }
@media (max-width: 768px) { html[data-theme="slayin"] .sidebar:not(.open) { box-shadow: none !important; } }
/* v11: VIP crowns = the VIP REWARDS crown (ChatGPT edits), recoloured per tier */
html[data-theme="slayin"] body .sidebar-vip .vip-card-html::before { background-image: url("../img/th/vc-gold.webp?v=2") !important; }

/* v11: ALIVE frames -- gradient ring that fades pink > magenta > purple > teal and drifts round the frame,
   plus white-pink glints at the corners and top edge that pulse. Pure CSS gradients on a decorative span. */
@property --th-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
html[data-theme="slayin"] {
  --th-ring: conic-gradient(from var(--th-a), #ff2d9b 0deg, #ff7ad8 40deg, #c22cff 95deg, #ff2d9b 140deg, #ffb3e2 175deg, #ff2d9b 205deg, #1fe0d0 260deg, #8a5cff 300deg, #ff2d9b 360deg);
  --th-ring-teal: conic-gradient(from var(--th-a), #1fe0d0 0deg, #8ff7ee 45deg, #2a9dff 100deg, #1fe0d0 150deg, #ff2d9b 215deg, #b3fff8 260deg, #1fe0d0 360deg);
}
html[data-theme="slayin"] .th-alive { position: relative; border-color: transparent !important; }
html[data-theme] .th-ring, html[data-theme] .th-glint { display: none; }
html[data-theme="slayin"] .th-ring {
  display: block; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none; z-index: 4;
  background: var(--th-ring);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: th-spin 8s linear infinite;
}
html[data-theme="slayin"] .th-glint {
  display: block; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5; mix-blend-mode: screen;
  background:
    radial-gradient(circle 16px at 0 0, rgba(255,255,255,0.95) 0, rgba(255,140,210,0.75) 22%, rgba(255,45,155,0.25) 55%, transparent 100%),
    radial-gradient(circle 14px at 100% 100%, rgba(255,255,255,0.9) 0, rgba(255,140,210,0.7) 22%, rgba(255,45,155,0.2) 55%, transparent 100%),
    radial-gradient(ellipse 70px 3px at 32% 1px, rgba(255,255,255,0.95) 0, rgba(255,170,225,0.5) 45%, transparent 100%),
    radial-gradient(ellipse 3px 40px at calc(100% - 1px) 30%, rgba(255,230,245,0.8) 0, transparent 100%),
    radial-gradient(circle 10px at 100% 0, rgba(255,230,245,0.7) 0, transparent 100%);
  animation: th-pulse 3.4s ease-in-out infinite alternate;
}
html[data-theme="slayin"] #heroCashOutBtn > .th-ring, html[data-theme="slayin"] .th-feature.th-tone-teal > .th-ring { background: var(--th-ring-teal); }
html[data-theme="slayin"] .hero-btn.bonus > .th-ring { background: conic-gradient(from var(--th-a), #b6ff3a, #eaffb0 60deg, #6dd400 140deg, #b6ff3a 220deg, #fff 260deg, #b6ff3a 360deg); }
html[data-theme="slayin"] .sidebar-nav-item.active > .th-ring { padding: 1.5px; }
html[data-theme="slayin"] .sidebar-vip .vip-card-html > .th-ring { padding: 2.5px; }
@keyframes th-spin { to { --th-a: 360deg; } }
@keyframes th-pulse { 0% { opacity: .45; } 100% { opacity: 1; } }
/* the frame is now the ring: drop the static border width so the ring sits exactly on the edge */
html[data-theme="slayin"] .hero-panel.th-alive, html[data-theme="slayin"] body .hero-btns-below .hero-btns .hero-btn.th-alive,
html[data-theme="slayin"] .th-feature.th-alive, html[data-theme="slayin"] .platform-card.th-alive { border-width: 0 !important; }
html[data-theme="slayin"] body .sidebar-vip .vip-card-html.th-alive { border-width: 0 !important; }
html[data-theme="slayin"] .platform-card.th-alive { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  html[data-theme="slayin"] .th-ring, html[data-theme="slayin"] .th-glint { animation: none !important; }
}
/* v12: brighter glints -- corner hot spots with short horizontal + vertical flare streaks along the edge */
html[data-theme="slayin"] .th-glint {
  background:
    radial-gradient(circle 7px at 2px 2px, #fff 0, rgba(255,255,255,0.9) 40%, transparent 100%),
    radial-gradient(ellipse 60px 2.5px at 2px 1px, rgba(255,255,255,0.95) 0, rgba(255,150,215,0.6) 40%, transparent 100%),
    radial-gradient(ellipse 2.5px 34px at 1px 2px, rgba(255,255,255,0.9) 0, rgba(255,150,215,0.5) 40%, transparent 100%),
    radial-gradient(circle 26px at 0 0, rgba(255,120,200,0.55) 0, transparent 100%),
    radial-gradient(circle 6px at calc(100% - 2px) calc(100% - 2px), #fff 0, rgba(255,255,255,0.8) 40%, transparent 100%),
    radial-gradient(ellipse 50px 2.5px at calc(100% - 2px) calc(100% - 1px), rgba(255,255,255,0.9) 0, rgba(255,150,215,0.5) 40%, transparent 100%),
    radial-gradient(circle 22px at 100% 100%, rgba(255,120,200,0.5) 0, transparent 100%),
    radial-gradient(ellipse 90px 2px at 38% 1px, rgba(255,255,255,0.85) 0, rgba(255,170,225,0.4) 45%, transparent 100%),
    radial-gradient(ellipse 2px 30px at calc(100% - 1px) 35%, rgba(255,230,245,0.8) 0, transparent 100%);
}
/* v13: glints sit ON the ring line, inside the corner curve, and are big enough to read */
html[data-theme="slayin"] .th-glint {
  background:
    radial-gradient(circle 9px at 5px 5px, #fff 0, rgba(255,255,255,0.95) 30%, rgba(255,160,220,0.5) 60%, transparent 100%),
    radial-gradient(ellipse 80px 5px at 10px 1px, #fff 0, rgba(255,190,230,0.85) 30%, transparent 100%),
    radial-gradient(ellipse 5px 40px at 1px 10px, #fff 0, rgba(255,190,230,0.8) 30%, transparent 100%),
    radial-gradient(circle 34px at 4px 4px, rgba(255,110,200,0.45) 0, transparent 100%),
    radial-gradient(circle 8px at calc(100% - 5px) calc(100% - 5px), #fff 0, rgba(255,255,255,0.9) 30%, rgba(255,160,220,0.45) 60%, transparent 100%),
    radial-gradient(ellipse 70px 5px at calc(100% - 10px) calc(100% - 1px), #fff 0, rgba(255,190,230,0.8) 30%, transparent 100%),
    radial-gradient(circle 30px at calc(100% - 4px) calc(100% - 4px), rgba(255,110,200,0.4) 0, transparent 100%),
    radial-gradient(ellipse 110px 4px at 42% 1px, rgba(255,255,255,0.95) 0, rgba(255,190,230,0.55) 35%, transparent 100%),
    radial-gradient(ellipse 4px 36px at calc(100% - 1px) 30%, rgba(255,240,250,0.9) 0, transparent 100%);
}

/* ===================== v14: everything follows the five theme vars (ready for hero-derived colours) ===================== */
html[data-theme] {
  --t-p-light: color-mix(in srgb, var(--t-primary) 55%, #fff);
  --t-p-deep: color-mix(in srgb, var(--t-primary) 70%, #000);
  --t-s-light: color-mix(in srgb, var(--t-secondary) 55%, #fff);
  --t-mid: color-mix(in oklch, var(--t-primary), var(--t-secondary));          /* the hue between them (pink > purple > teal) */
  --t-base-lift: color-mix(in srgb, var(--t-base) 88%, var(--t-primary) 12%);
  /* the highlighted button (Claim Bonus): primary into the in-between hue into secondary */
  --t-hl-a: var(--t-primary); --t-hl-b: var(--t-mid); --t-hl-c: var(--t-secondary);
  /* dark or white label picked by lightness of the button's middle colour (relative colour syntax; white if unsupported) */
  --t-hl-ink: #fff;
}
@supports (color: lch(from red l c h)) {
  html[data-theme] { --t-hl-ink: lch(from var(--t-hl-b) calc((62 - l) * -1000) 0 0); }
}
html[data-theme="slayin"] {
  --t-glow: 0 0 10px color-mix(in srgb, var(--t-primary) 75%, transparent), 0 0 26px color-mix(in srgb, var(--t-primary) 45%, transparent), 0 0 48px color-mix(in srgb, var(--t-primary) 18%, transparent);
  --th-ring: conic-gradient(from var(--th-a), var(--t-primary) 0deg, var(--t-p-light) 40deg, var(--t-mid) 95deg, var(--t-primary) 140deg, var(--t-p-light) 175deg, var(--t-primary) 205deg, var(--t-secondary) 260deg, var(--t-mid) 300deg, var(--t-primary) 360deg);
  --th-ring-teal: conic-gradient(from var(--th-a), var(--t-secondary) 0deg, var(--t-s-light) 45deg, var(--t-mid) 100deg, var(--t-secondary) 150deg, var(--t-primary) 215deg, var(--t-s-light) 260deg, var(--t-secondary) 360deg);
}

/* Claim Bonus: solid theme gradient, auto-contrast ink, alive ring + glare + shine */
html[data-theme] body .hero-btns-below .hero-btns .hero-btn.bonus {
  color: var(--t-hl-ink) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.38) 0%, rgba(255,255,255,0.08) 46%, rgba(255,255,255,0) 52%),
    linear-gradient(100deg, var(--t-hl-a) 0%, var(--t-hl-b) 55%, var(--t-hl-c) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 0 14px color-mix(in srgb, var(--t-hl-a) 55%, transparent), 0 0 30px color-mix(in srgb, var(--t-hl-c) 30%, transparent) !important;
}
html[data-theme="slayin"] .hero-btn.bonus .th-btn-label { color: var(--t-hl-ink) !important; text-shadow: 0 1px 2px color-mix(in srgb, var(--t-base) 45%, transparent); }
html[data-theme="slayin"] .hero-btn.bonus .th-btn-ico { color: var(--t-hl-ink); }
/* the gift icon (a ChatGPT image) is used as a mask filled with the ink colour, so it is always the readable one */
html[data-theme="slayin"] .hero-btn.bonus .th-btn-ico { width: 40px; height: 40px; background: var(--t-hl-ink);
  -webkit-mask: url("../img/th/ic-gift-solid.webp?v=1") center / contain no-repeat; mask: url("../img/th/ic-gift-solid.webp?v=1") center / contain no-repeat; }
html[data-theme="slayin"] .hero-btn.bonus .th-btn-ico .th-ic { visibility: hidden; }
@media (max-width: 640px) { html[data-theme="slayin"] .hero-btn.bonus .th-btn-ico { width: 30px; height: 30px; } }
html[data-theme="slayin"] .hero-btn.bonus > .th-ring { background: conic-gradient(from var(--th-a), #b6ff3a, #eaffb0 60deg, #6dd400 140deg, #b6ff3a 220deg, #fff 260deg, #b6ff3a 360deg); }
html[data-theme="slayin"] .sidebar-nav-item.active > .th-ring { padding: 1.5px; }
html[data-theme="slayin"] .sidebar-vip .vip-card-html > .th-ring { padding: 2.5px; }
@keyframes th-spin { to { --th-a: 360deg; } }
@keyframes th-pulse { 0% { opacity: .45; } 100% { opacity: 1; } }
/* the frame is now the ring: drop the static border width so the ring sits exactly on the edge */
html[data-theme="slayin"] .hero-panel.th-alive, html[data-theme="slayin"] body .hero-btns-below .hero-btns .hero-btn.th-alive,
html[data-theme="slayin"] .th-feature.th-alive, html[data-theme="slayin"] .platform-card.th-alive { border-width: 0 !important; }
html[data-theme="slayin"] body .sidebar-vip .vip-card-html.th-alive { border-width: 0 !important; }
html[data-theme="slayin"] .platform-card.th-alive { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  html[data-theme="slayin"] .th-ring, html[data-theme="slayin"] .th-glint { animation: none !important; }
}
/* v12: brighter glints -- corner hot spots with short horizontal + vertical flare streaks along the edge */
html[data-theme="slayin"] .th-glint {
  background:
    radial-gradient(circle 7px at 2px 2px, #fff 0, rgba(255,255,255,0.9) 40%, transparent 100%),
    radial-gradient(ellipse 60px 2.5px at 2px 1px, rgba(255,255,255,0.95) 0, rgba(255,150,215,0.6) 40%, transparent 100%),
    radial-gradient(ellipse 2.5px 34px at 1px 2px, rgba(255,255,255,0.9) 0, rgba(255,150,215,0.5) 40%, transparent 100%),
    radial-gradient(circle 26px at 0 0, rgba(255,120,200,0.55) 0, transparent 100%),
    radial-gradient(circle 6px at calc(100% - 2px) calc(100% - 2px), #fff 0, rgba(255,255,255,0.8) 40%, transparent 100%),
    radial-gradient(ellipse 50px 2.5px at calc(100% - 2px) calc(100% - 1px), rgba(255,255,255,0.9) 0, rgba(255,150,215,0.5) 40%, transparent 100%),
    radial-gradient(circle 22px at 100% 100%, rgba(255,120,200,0.5) 0, transparent 100%),
    radial-gradient(ellipse 90px 2px at 38% 1px, rgba(255,255,255,0.85) 0, rgba(255,170,225,0.4) 45%, transparent 100%),
    radial-gradient(ellipse 2px 30px at calc(100% - 1px) 35%, rgba(255,230,245,0.8) 0, transparent 100%);
}
/* v13: glints sit ON the ring line, inside the corner curve, and are big enough to read */
html[data-theme="slayin"] .th-glint {
  background:
    radial-gradient(circle 9px at 5px 5px, #fff 0, rgba(255,255,255,0.95) 30%, rgba(255,160,220,0.5) 60%, transparent 100%),
    radial-gradient(ellipse 80px 5px at 10px 1px, #fff 0, rgba(255,190,230,0.85) 30%, transparent 100%),
    radial-gradient(ellipse 5px 40px at 1px 10px, #fff 0, rgba(255,190,230,0.8) 30%, transparent 100%),
    radial-gradient(circle 34px at 4px 4px, rgba(255,110,200,0.45) 0, transparent 100%),
    radial-gradient(circle 8px at calc(100% - 5px) calc(100% - 5px), #fff 0, rgba(255,255,255,0.9) 30%, rgba(255,160,220,0.45) 60%, transparent 100%),
    radial-gradient(ellipse 70px 5px at calc(100% - 10px) calc(100% - 1px), #fff 0, rgba(255,190,230,0.8) 30%, transparent 100%),
    radial-gradient(circle 30px at calc(100% - 4px) calc(100% - 4px), rgba(255,110,200,0.4) 0, transparent 100%),
    radial-gradient(ellipse 110px 4px at 42% 1px, rgba(255,255,255,0.95) 0, rgba(255,190,230,0.55) 35%, transparent 100%),
    radial-gradient(ellipse 4px 36px at calc(100% - 1px) 30%, rgba(255,240,250,0.9) 0, transparent 100%);
}

/* ===================== v14: everything follows the five theme vars (ready for hero-derived colours) ===================== */
html[data-theme] {
  --t-p-light: color-mix(in srgb, var(--t-primary) 55%, #fff);
  --t-p-deep: color-mix(in srgb, var(--t-primary) 70%, #000);
  --t-s-light: color-mix(in srgb, var(--t-secondary) 55%, #fff);
  --t-mid: color-mix(in oklch, var(--t-primary), var(--t-secondary));          /* the hue between them (pink > purple > teal) */
  --t-base-lift: color-mix(in srgb, var(--t-base) 88%, var(--t-primary) 12%);
  /* the highlighted button (Claim Bonus): primary into the in-between hue into secondary */
  --t-hl-a: var(--t-primary); --t-hl-b: var(--t-mid); --t-hl-c: var(--t-secondary);
  /* dark or white label picked by lightness of the button's middle colour (relative colour syntax; white if unsupported) */
  --t-hl-ink: #fff;
}
@supports (color: lch(from red l c h)) {
  html[data-theme] { --t-hl-ink: lch(from var(--t-hl-b) calc((62 - l) * -1000) 0 0); }
}
html[data-theme="slayin"] {
  --t-glow: 0 0 10px color-mix(in srgb, var(--t-primary) 75%, transparent), 0 0 26px color-mix(in srgb, var(--t-primary) 45%, transparent), 0 0 48px color-mix(in srgb, var(--t-primary) 18%, transparent);
  --th-ring: conic-gradient(from var(--th-a), var(--t-primary) 0deg, var(--t-p-light) 40deg, var(--t-mid) 95deg, var(--t-primary) 140deg, var(--t-p-light) 175deg, var(--t-primary) 205deg, var(--t-secondary) 260deg, var(--t-mid) 300deg, var(--t-primary) 360deg);
  --th-ring-teal: conic-gradient(from var(--th-a), var(--t-secondary) 0deg, var(--t-s-light) 45deg, var(--t-mid) 100deg, var(--t-secondary) 150deg, var(--t-primary) 215deg, var(--t-s-light) 260deg, var(--t-secondary) 360deg);
}

/* Claim Bonus: solid theme gradient, auto-contrast ink, alive ring + glare + shine */
html[data-theme] body .hero-btns-below .hero-btns .hero-btn.bonus {
  color: var(--t-hl-ink) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.38) 0%, rgba(255,255,255,0.08) 46%, rgba(255,255,255,0) 52%),
    linear-gradient(100deg, var(--t-hl-a) 0%, var(--t-hl-b) 55%, var(--t-hl-c) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 0 14px color-mix(in srgb, var(--t-hl-a) 55%, transparent), 0 0 30px color-mix(in srgb, var(--t-hl-c) 30%, transparent) !important;
}
html[data-theme="slayin"] .hero-btn.bonus .th-btn-label { color: var(--t-hl-ink) !important; text-shadow: 0 1px 2px color-mix(in srgb, var(--t-base) 45%, transparent); }
html[data-theme="slayin"] .hero-btn.bonus .th-btn-ico { color: var(--t-hl-ink); }
/* the gift icon (a ChatGPT image) is tinted to the ink: white -> make it white, dark -> make it dark */
html[data-theme="slayin"] .hero-btn.bonus .th-btn-ico .th-ic { filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,0.35)); opacity: 1; }
@supports (color: lch(from red l c h)) {
  html[data-theme="slayin"] .hero-btn.bonus .th-btn-ico .th-ic { filter: brightness(0) invert(var(--t-hl-invert, 1)) drop-shadow(0 1px 2px rgba(0,0,0,0.35)); }
}
html[data-theme="slayin"] .hero-btn.bonus > .th-ring { background: conic-gradient(from var(--th-a), #fff 0deg, var(--t-p-light) 50deg, var(--t-hl-a) 120deg, var(--t-s-light) 200deg, #fff 250deg, var(--t-hl-c) 310deg, #fff 360deg) !important; }

/* decorative bits that were hardcoded or wore the "success" colour -> theme vars */
html[data-theme="slayin"] .sidebar-nav .sidebar-nav-item.active { background: linear-gradient(90deg, var(--t-p-light) 0%, var(--t-primary) 45%, var(--t-p-deep) 100%) !important; }
html[data-theme="slayin"] .platform-card .platform-card-body { background: linear-gradient(180deg, var(--t-base-lift), var(--t-base)) !important; }
html[data-theme="slayin"] body::before { background: var(--t-bg) center -130px / 100% auto no-repeat, linear-gradient(180deg, var(--t-base-lift) 0%, var(--t-base) 55%) !important; }
html[data-theme] .th-feature.th-feature-img { background: var(--t-base); }
html[data-theme="slayin"] .hero-panel, html[data-theme="slayin"] body .hero-btns-below .hero-btns .hero-btn:not(.bonus) { border-color: var(--t-p-light) !important; }
html[data-theme="slayin"] body .sidebar-vip .vip-card-html {
  box-shadow:
    inset 0 0 0 4px var(--t-base), inset 0 0 0 5px color-mix(in srgb, var(--t-p-light) 85%, transparent),
    inset 0 0 30px color-mix(in srgb, var(--t-primary) 40%, transparent),
    0 0 6px var(--t-p-light), 0 0 16px color-mix(in srgb, var(--t-primary) 80%, transparent), 0 0 30px color-mix(in srgb, var(--t-primary) 45%, transparent) !important;
}
html[data-theme="slayin"] .platform-card-balance { color: var(--t-secondary) !important; }                 /* credits text: decorative, not a status */
html[data-theme="slayin"] .topbar-avatar, html[data-theme="slayin"] .header-user-avatar { border-color: var(--t-secondary) !important; }
html[data-theme="slayin"] .platform-sticker { background: linear-gradient(180deg, var(--t-s-light), var(--t-secondary)) !important; color: lch(from var(--t-secondary) calc((62 - l) * -1000) 0 0) !important; }
/* glint haze follows the primary */
html[data-theme="slayin"] .th-glint {
  background:
    radial-gradient(circle 9px at 5px 5px, #fff 0, rgba(255,255,255,0.95) 30%, color-mix(in srgb, var(--t-p-light) 50%, transparent) 60%, transparent 100%),
    radial-gradient(ellipse 80px 5px at 10px 1px, #fff 0, color-mix(in srgb, var(--t-p-light) 85%, transparent) 30%, transparent 100%),
    radial-gradient(ellipse 5px 40px at 1px 10px, #fff 0, color-mix(in srgb, var(--t-p-light) 80%, transparent) 30%, transparent 100%),
    radial-gradient(circle 34px at 4px 4px, color-mix(in srgb, var(--t-primary) 45%, transparent) 0, transparent 100%),
    radial-gradient(circle 8px at calc(100% - 5px) calc(100% - 5px), #fff 0, rgba(255,255,255,0.9) 30%, color-mix(in srgb, var(--t-p-light) 45%, transparent) 60%, transparent 100%),
    radial-gradient(ellipse 70px 5px at calc(100% - 10px) calc(100% - 1px), #fff 0, color-mix(in srgb, var(--t-p-light) 80%, transparent) 30%, transparent 100%),
    radial-gradient(circle 30px at calc(100% - 4px) calc(100% - 4px), color-mix(in srgb, var(--t-primary) 40%, transparent) 0, transparent 100%),
    radial-gradient(ellipse 110px 4px at 42% 1px, rgba(255,255,255,0.95) 0, color-mix(in srgb, var(--t-p-light) 55%, transparent) 35%, transparent 100%),
    radial-gradient(ellipse 4px 36px at calc(100% - 1px) 30%, color-mix(in srgb, #fff 90%, var(--t-primary)) 0, transparent 100%);
}
/* v15: Claim Bonus richer -- deeper stops so white ink reads; the hue still runs primary > between > secondary */
html[data-theme] {
  --t-hl-a: color-mix(in srgb, var(--t-primary) 92%, #000);
  --t-hl-b: color-mix(in srgb, color-mix(in oklch, var(--t-primary) 62%, var(--t-secondary)) 78%, #000);
  --t-hl-c: color-mix(in srgb, var(--t-secondary) 80%, #000);
}
html[data-theme] body .hero-btns-below .hero-btns .hero-btn.bonus {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.05) 46%, rgba(255,255,255,0) 52%),
    linear-gradient(100deg, var(--t-hl-a) 0%, var(--t-hl-a) 18%, var(--t-hl-b) 58%, var(--t-hl-c) 100%) !important;
}
html[data-theme="slayin"] .hero-btn.bonus .th-btn-label { text-shadow: 0 1px 3px rgba(0,0,0,0.45); font-weight: 800; }

/* ===================== autotheme-20261108: colours from the hero image ===================== */
/* family stock art (shared set, assets/img/th/<family>/) for the VIP top crown */
html[data-theme="slayin"][data-theme-family="red"] body .sidebar-vip .vip-card-html::before { background-image: url("../img/th/red/vc-gold.webp?v=3") !important; }
html[data-theme="slayin"][data-theme-family="orange"] body .sidebar-vip .vip-card-html::before { background-image: url("../img/th/orange/vc-gold.webp?v=3") !important; }
html[data-theme="slayin"][data-theme-family="yellow"] body .sidebar-vip .vip-card-html::before { background-image: url("../img/th/yellow/vc-gold.webp?v=3") !important; }
html[data-theme="slayin"][data-theme-family="green"] body .sidebar-vip .vip-card-html::before { background-image: url("../img/th/green/vc-gold.webp?v=3") !important; }
html[data-theme="slayin"][data-theme-family="blue"] body .sidebar-vip .vip-card-html::before { background-image: url("../img/th/blue/vc-gold.webp?v=3") !important; }
html[data-theme="slayin"][data-theme-family="purple"] body .sidebar-vip .vip-card-html::before { background-image: url("../img/th/purple/vc-gold.webp?v=3") !important; }
/* the swoosh art is pink: hue-rotate it to the store's primary (JS sets --th-hue-rot); base colour stays on body */
html[data-theme="slayin"] body { background: linear-gradient(180deg, var(--t-base-lift) 0%, var(--t-base) 55%) fixed !important; }
html[data-theme="slayin"] body::before { background: var(--t-bg) center -130px / 100% auto no-repeat !important; filter: hue-rotate(var(--th-hue-rot, 0deg)); }
@media (max-width: 768px) { html[data-theme="slayin"] body::before { background: var(--t-bg-phone) center -40px / 100% auto no-repeat !important; } }

/* icons: existing ChatGPT icon files as masks, filled with theme colours; crisp (no filters, no shadows) */
html[data-theme] .th-mask { display: block; background-color: var(--th-ic-c, var(--t-primary)); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
html[data-theme="slayin"] .sidebar-nav .sidebar-nav-item .th-menu-ic { width: 24px; height: 24px; flex: 0 0 24px; filter: none !important; }
html[data-theme="slayin"] .sidebar-nav .sidebar-nav-item:nth-child(even) .th-menu-ic { --th-ic-c: var(--t-secondary); }
/* rulesfooter-20261117: the Rules item (data-nl-public, below Affiliates) shifted the alternating icon colours
   of every item after it. Flip the parity back for those items only, so they keep their original colours. */
html[data-theme] .sidebar-nav [data-nl-public] ~ .sidebar-nav-item:nth-child(even):not(.active) svg { color: var(--t-primary); }
html[data-theme] .sidebar-nav [data-nl-public] ~ .sidebar-nav-item:nth-child(odd):not(.active) svg { color: var(--t-secondary); }
html[data-theme="slayin"] .sidebar-nav [data-nl-public] ~ .sidebar-nav-item:nth-child(even):not(.active) .th-menu-ic { --th-ic-c: var(--t-primary); }
html[data-theme="slayin"] .sidebar-nav [data-nl-public] ~ .sidebar-nav-item:nth-child(odd):not(.active) .th-menu-ic { --th-ic-c: var(--t-secondary); }
html[data-theme="slayin"] .sidebar-nav .sidebar-nav-item.active .th-menu-ic { --th-ic-c: #fff; }
html[data-theme="slayin"] .th-hdr-ico .th-ic { width: 28px; height: 28px; }
html[data-theme="slayin"] .th-hdr-ico:first-child .th-ic { --th-ic-c: var(--t-secondary); }
html[data-theme="slayin"] .th-ic-play { --th-ic-c: var(--t-success); }
html[data-theme="slayin"] .th-round .th-ic { width: 44px; height: 44px; }

/* the four buttons: crisp labels, icons centred and the same visual size */
html[data-theme="slayin"] body .hero-btns-below .hero-btns .hero-btn .th-btn-label { text-shadow: none !important; -webkit-font-smoothing: antialiased; }
html[data-theme="slayin"] .hero-btn .th-btn-ico { top: 0; bottom: 0; transform: none; display: flex; align-items: center; }
html[data-theme="slayin"] .hero-btn .th-btn-ico .th-ic { width: 38px; height: 38px; }
html[data-theme="slayin"] .hero-btn.add .th-btn-ico .th-ic { width: 40px; height: 40px; }
html[data-theme="slayin"] #heroCashOutBtn .th-btn-ico .th-ic { --th-ic-c: var(--t-secondary); }
html[data-theme="slayin"] .hero-btn.bonus .th-btn-ico { top: 50%; bottom: auto; transform: translateY(-50%); width: 38px; height: 38px; display: block; }
@media (max-width: 640px) {
  html[data-theme="slayin"] .hero-btn .th-btn-ico .th-ic, html[data-theme="slayin"] .hero-btn.add .th-btn-ico .th-ic { width: 30px; height: 30px; }
  html[data-theme="slayin"] .hero-btn.bonus .th-btn-ico { width: 30px; height: 30px; }
}
/* glare layer without blend modes: no compositing pass over the label text */
html[data-theme="slayin"] .th-glint { mix-blend-mode: normal !important; }
html[data-theme="slayin"] .hero-btn.bonus .th-btn-ico .th-ic { display: none; }
/* Deposit Rewards: live subline under the baked title, same condensed gold lettering */
html[data-theme] .th-feature.th-feature-img { position: relative; container-type: inline-size; }
html[data-theme] .th-feature-live {
  position: absolute; left: 45.6%; right: 4%; top: 63%; line-height: 1.08;
  font: 600 4.1cqw/1.08 "Oswald", "Kanit", sans-serif; text-transform: uppercase; letter-spacing: .01em;
  background: linear-gradient(180deg, #ffe27a 0%, var(--t-money) 55%, #d99a12 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  pointer-events: none;
}

/* themelive-20261108: the sidebar shows the STORE'S OWN logo (site-logo.php), large and centred; the brand
   text returns only when a store has no logo image */
html[data-theme="slayin"] .sidebar-logo-icon { background: none !important; border-radius: 0 !important; box-shadow: none !important; display: flex; align-items: center; justify-content: center; }
html[data-theme="slayin"] .sidebar-logo-icon img { display: block !important; max-width: 100% !important; max-height: 100% !important; width: auto !important; height: auto !important; object-fit: contain; }
html[data-theme="slayin"] .sidebar-logo:not(:has(.sidebar-logo-icon img)) .sidebar-logo-text { display: flex !important; flex-direction: column; align-items: center; }
html[data-theme="slayin"] .sidebar-logo:not(:has(.sidebar-logo-icon img)) .sidebar-logo-icon { display: none !important; }

/* ===================== animfix-20261108: alive frames that run on every phone and browser =====================
   Travis: "It's iPhone on safari but make it work on all phones and all browsers".
   No @property: the ring is a conic gradient on .th-ring::before (a square the size of the element's diagonal,
   --th-d set in px by nl-themeui.js) spun with transform: rotate(). The .th-ring mask leaves only the 2px edge.
   Shine moves with transform. Reduce Motion / Low Power keeps the motion, slower and gentler (Travis's call). */
html[data-theme="slayin"] {
  --th-g-main: conic-gradient(#ff2d9b 0deg, #ff7ad8 40deg, #c22cff 95deg, #ff2d9b 140deg, #ffb3e2 175deg, #ff2d9b 205deg, #1fe0d0 260deg, #8a5cff 300deg, #ff2d9b 360deg);
  --th-g-teal: conic-gradient(#1fe0d0 0deg, #8ff7ee 45deg, #2a9dff 100deg, #1fe0d0 150deg, #ff2d9b 215deg, #b3fff8 260deg, #1fe0d0 360deg);
  --th-g-bonus: conic-gradient(#fff 0deg, #ff7ad8 50deg, #ff2d9b 120deg, #8ff7ee 200deg, #fff 250deg, #1fe0d0 310deg, #fff 360deg);
}
@supports (color: color-mix(in srgb, red, blue)) {
  html[data-theme="slayin"] {
    --th-g-main: conic-gradient(var(--t-primary) 0deg, var(--t-p-light) 40deg, var(--t-mid) 95deg, var(--t-primary) 140deg, var(--t-p-light) 175deg, var(--t-primary) 205deg, var(--t-secondary) 260deg, var(--t-mid) 300deg, var(--t-primary) 360deg);
    --th-g-teal: conic-gradient(var(--t-secondary) 0deg, var(--t-s-light) 45deg, var(--t-mid) 100deg, var(--t-secondary) 150deg, var(--t-primary) 215deg, var(--t-s-light) 260deg, var(--t-secondary) 360deg);
    --th-g-bonus: conic-gradient(#fff 0deg, var(--t-p-light) 50deg, var(--t-hl-a) 120deg, var(--t-s-light) 200deg, #fff 250deg, var(--t-hl-c) 310deg, #fff 360deg);
  }
}
html[data-theme="slayin"] .th-ring { --th-g: var(--th-g-main); background: none !important; overflow: hidden; animation: none !important; isolation: isolate; }
html[data-theme="slayin"] #heroCashOutBtn > .th-ring, html[data-theme="slayin"] .th-feature.th-tone-teal > .th-ring { --th-g: var(--th-g-teal); background: none !important; }
html[data-theme="slayin"] .hero-btn.bonus > .th-ring { --th-g: var(--th-g-bonus); background: none !important; }
html[data-theme="slayin"] .th-ring::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: var(--th-d, 420px); height: var(--th-d, 420px);
  margin-left: calc(var(--th-d, 420px) / -2); margin-top: calc(var(--th-d, 420px) / -2);
  background: var(--th-g);
  -webkit-animation: th-rot 8s linear infinite; animation: th-rot 8s linear infinite;
  animation-delay: inherit; -webkit-animation-delay: inherit;
  will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
@-webkit-keyframes th-rot { from { -webkit-transform: rotate(0deg); transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }
@keyframes th-rot { from { -webkit-transform: rotate(0deg); transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }

/* glint pulse: opacity only */
html[data-theme="slayin"] .th-glint { -webkit-animation: th-pulse2 3.4s ease-in-out infinite alternate; animation: th-pulse2 3.4s ease-in-out infinite alternate; }
@-webkit-keyframes th-pulse2 { from { opacity: .45; } to { opacity: 1; } }
@keyframes th-pulse2 { from { opacity: .45; } to { opacity: 1; } }

/* shine sweep: transform, not left */
html[data-theme] .ru-cta::after, html[data-theme] .th-shine::after {
  left: 0 !important; width: 40%; -webkit-transform: translateX(-160%) skewX(-18deg); transform: translateX(-160%) skewX(-18deg);
  -webkit-animation: th-sweep 4.2s ease-in-out infinite; animation: th-sweep 4.2s ease-in-out infinite;
}
@-webkit-keyframes th-sweep { 0%, 62% { -webkit-transform: translateX(-160%) skewX(-18deg); transform: translateX(-160%) skewX(-18deg); } 100% { -webkit-transform: translateX(360%) skewX(-18deg); transform: translateX(360%) skewX(-18deg); } }
@keyframes th-sweep { 0%, 62% { -webkit-transform: translateX(-160%) skewX(-18deg); transform: translateX(-160%) skewX(-18deg); } 100% { -webkit-transform: translateX(360%) skewX(-18deg); transform: translateX(360%) skewX(-18deg); } }

/* Reduce Motion / Low Power: keep it alive, slower and softer */
@media (prefers-reduced-motion: reduce) {
  html[data-theme="slayin"] .th-ring::before { -webkit-animation: th-rot 16s linear infinite !important; animation: th-rot 16s linear infinite !important; }
  html[data-theme="slayin"] .th-glint { display: block; -webkit-animation: th-pulse-soft 5s ease-in-out infinite alternate !important; animation: th-pulse-soft 5s ease-in-out infinite alternate !important; }
  html[data-theme] .ru-cta::after, html[data-theme] .th-shine::after { display: block !important; -webkit-animation: th-sweep 9s ease-in-out infinite !important; animation: th-sweep 9s ease-in-out infinite !important; }
}
@-webkit-keyframes th-pulse-soft { from { opacity: .65; } to { opacity: .95; } }
@keyframes th-pulse-soft { from { opacity: .65; } to { opacity: .95; } }

/* older Safari (no color-mix): plain-colour fallbacks so frames, glow and the Claim Bonus fill still look right */
@supports not (color: color-mix(in srgb, red, blue)) {
  html[data-theme="slayin"] { --t-glow: 0 0 10px var(--t-primary), 0 0 26px rgba(255, 45, 155, .35); }
  html[data-theme="slayin"] body .hero-btns-below .hero-btns .hero-btn { border: 2px solid var(--t-primary); background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 55%), var(--t-base); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), var(--t-glow); }
  html[data-theme] body .hero-btns-below .hero-btns .hero-btn.bonus { color: #fff !important; background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 52%), linear-gradient(100deg, var(--t-primary), var(--t-secondary)) !important; }
  html[data-theme="slayin"] .hero-panel, html[data-theme="slayin"] .th-feature, html[data-theme="slayin"] .platform-card, html[data-theme="slayin"] body .sidebar-vip .vip-card-html { border-color: var(--t-primary) !important; box-shadow: var(--t-glow) !important; }
  html[data-theme="slayin"] .sidebar-nav .sidebar-nav-item.active { background: linear-gradient(90deg, var(--t-primary), var(--t-primary)) !important; }
  html[data-theme="slayin"] .hero-btn.bonus .th-btn-ico { background: #fff; }
}

/* hintwhite-20261108: Travis -- white letters on the Tap to view login pills */
html[data-theme] .dash-tile-hint, html[data-theme] .platforms-track .dash-tile-hint, html[data-theme] .platform-grid .dash-tile-hint { color: #fff !important; text-shadow: 0 1px 2px rgba(0,0,0,0.55) !important; }

/* playgap-20261108: Travis -- a little space between the tile play icon and the game image */
html[data-theme] .th-round { bottom: 9px !important; width: 40px !important; height: 40px !important; }
html[data-theme] .th-round .th-ic { width: 40px !important; height: 40px !important; }
/* emptyicon-20261111: the empty-state icon (Support "No support tickets") had no size rule and filled the screen */
.empty-state { text-align: center; padding: 24px 12px; }
.empty-state svg { width: 48px; height: 48px; opacity: .6; margin: 0 auto 8px; display: block; }
/* sidenav-20261111 (Travis): desktop menu links smaller so the VIP card never covers them (at 1366x768 it hid Help..Sign Out) */
@media (min-width: 769px) {
  html[data-theme] .sidebar-nav .sidebar-nav-item { padding: 5px 16px !important; font-size: 14px !important; gap: 12px !important; min-height: 0 !important; }
  html[data-theme] .sidebar-nav .sidebar-nav-item svg, html[data-theme] .sidebar-nav .sidebar-nav-item .th-menu-ic { width: 20px !important; height: 20px !important; flex: 0 0 20px !important; }
  html[data-theme] .sidebar-nav { gap: 2px !important; }
}

/* mlogo3-20261116 -- PHONE HEADER (<=560px only). Travis, from a phone shot of luckyqs: "put the logo all the way to
   the right ... when you log in the credits balance appear, they are left of the logo as well".
   Hamburger stays left; everything after it is packed right, logo LAST (hard right); signed in, the Credits and
   Bonus chips sit directly left of the logo. Order is set with flex `order` because the markup differs: the
   dashboard has .sidebar-toggle + .topbar-actions and portal.js puts the logo after the toggle; the inner pages
   have .mobile-menu-btn + .header-actions and the logo lands BEFORE the button.
   The account chip (avatar + chevron) is hidden on phones: its three items (Settings, Support, Sign Out) are all
   in the hamburger menu, and at 360-390px it was already being pushed off the right edge (inner pages scrolled
   sideways). The bell/gear pair is already hidden below 640px and stays hidden; the help "?" floats bottom-right.
   Chips stack the label over the figure on phones (Travis's chip-labels-mobile rule from 2026-10-05) so a long
   balance such as 12,345.67 still fits beside the logo at 360px. Tablet and desktop are untouched. */
@media (max-width: 560px) {
  .header-bar { justify-content: flex-start !important; gap: 8px; }
  .header-bar > .sidebar-toggle, .header-bar > .mobile-menu-btn { order: 0; flex: 0 0 auto; margin-right: auto !important; }
  .header-bar > .hdr-greet { order: 1; }
  .header-bar > .topbar-actions, .header-bar > .header-actions { order: 2; flex: 0 0 auto; gap: 6px !important; margin: 0 !important; } /* no shrink: the logo gives way, never the chips */
  /* block, not flex: a text-only brand (store with no uploaded logo) then ellipsises at its end instead of being
     clipped at its start. 34vw keeps a wide logo from crowding the chips (122px at 360). */
  .header-bar > .header-brand { order: 3; flex: 0 1 auto; display: block !important; min-width: 40px; max-width: 34vw;
    margin: 0 !important; text-align: right; font-size: 15px; }
  .header-bar > .header-brand img { max-height: 48px; max-width: 100%; margin-left: auto; }
  .header-bar .header-user, .header-bar .topbar-user { display: none !important; }
  .header-bar .topbar-credits { gap: 5px; margin: 0 !important; flex: 0 0 auto; }
  html[data-theme] .header-bar .tbc-chip, .header-bar .tbc-chip {
    flex-direction: column !important; align-items: center !important; gap: 0 !important;
    flex: 0 0 auto; padding: 4px 9px !important; line-height: 1.15;
  }
  html[data-theme] .header-bar .tbc-label, .header-bar .tbc-label { display: block; font-size: 9px !important; letter-spacing: .03em; }
  html[data-theme] .header-bar .tbc-value, .header-bar .tbc-value { font-size: 14px !important; white-space: nowrap; }
}
