@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700;800&family=Roboto:wght@400;500;700;800&display=swap");

:root {
  --font-public: Roboto, Inter, Arial, Helvetica, sans-serif;
  --bg: #07110d;
  --panel: #101a15;
  --panel-2: #14231b;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f6fff9;
  --muted: #aab8af;
  --primary: #17c964;
  --primary-dark: #0d8c42;
  --gold: #ffcc33;
  --danger: #ff5a5f;
  --info: #65b7ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(23, 201, 100, 0.13), transparent 28rem),
    linear-gradient(180deg, #07110d 0%, #0b1410 46%, #070d0a 100%);
  font-family: var(--font-public);
  font-size: 15px;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 250, 252, 0.96);
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
  box-shadow: 0 8px 24px rgba(16, 32, 51, 0.06);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
  color: #07172d;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: #041008;
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(23, 201, 100, 0.22);
}

.brand-mark.has-image {
  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(23, 201, 100, 0.18);
}

.brand-mark.has-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.brand-horizontal-logo {
  height: 42px;
  max-width: min(220px, 34vw);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.brand-horizontal-logo img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.brand-name {
  display: block;
  min-width: 0;
  max-width: 260px;
  overflow: hidden;
  color: #07172d;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-name small {
  display: none;
}

.nav-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
}

.header-buy-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #3cbd11;
  border-radius: 8px;
  padding: 0 15px;
  color: #fff;
  background: linear-gradient(180deg, #4da80a, #347e02);
  box-shadow: 0 10px 22px rgba(58, 142, 4, 0.22);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.header-buy-button span {
  font-size: 1rem;
  line-height: 1;
}

.site-alerts {
  position: relative;
}

.site-alert-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 32, 51, 0.14);
  border-radius: 8px;
  color: #07172d;
  background: #fff;
  box-shadow: 0 10px 22px rgba(16, 32, 51, 0.08);
  cursor: pointer;
}

.site-alert-toggle span {
  font-size: 1.1rem;
  line-height: 1;
}

.site-alert-toggle b {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 0 5px;
  color: #041008;
  background: #ffcc33;
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1;
}

.site-alert-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 62;
  width: min(330px, calc(100vw - 28px));
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 14px;
  padding: 12px;
  color: #07172d;
  background: #fff;
  box-shadow: 0 22px 60px rgba(16, 32, 51, 0.22);
}

.site-alert-panel > strong {
  display: block;
  margin: 0 0 9px;
  color: #07172d;
  font-size: 0.88rem;
  font-weight: 950;
}

.site-alert-list {
  display: grid;
  gap: 8px;
}

.site-alert-item {
  display: grid;
  gap: 3px;
  border: 1px solid #dfe7f0;
  border-radius: 10px;
  padding: 10px 11px;
  color: #07172d;
  background: #f8fbff;
}

.site-alert-item:hover {
  border-color: #55bd13;
  background: #f6fff1;
}

.site-alert-item.winner,
.site-alert-item.bonus-prize {
  border-color: #d9a800;
  background: linear-gradient(135deg, #fff5bf, #dfffe9);
}

.site-alert-item em {
  color: #061226;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 950;
}

.site-alert-item span,
.site-alert-empty {
  margin: 0;
  color: #5c6b7c;
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.35;
}

.site-menu {
  position: relative;
}

.site-menu-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 2px solid #55bd13;
  border-radius: 8px;
  padding: 0 15px;
  color: #4f9c05;
  background: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.site-menu-toggle i,
.site-menu-toggle i::before,
.site-menu-toggle i::after {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.site-menu-toggle i {
  position: relative;
}

.site-menu-toggle i::before,
.site-menu-toggle i::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-menu-toggle i::before {
  top: -6px;
}

.site-menu-toggle i::after {
  top: 6px;
}

.site-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  width: min(340px, calc(100vw - 28px));
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 14px;
  padding: 12px;
  color: #07172d;
  background: #fff;
  box-shadow: 0 22px 60px rgba(16, 32, 51, 0.22);
}

.site-menu-user {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  padding: 10px;
  background: #f3f7f2;
}

.site-menu-profile-link {
  color: inherit;
  text-decoration: none;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.site-menu-profile-link:hover {
  background: #edf8ee;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.12);
  transform: translateY(-1px);
}

.site-menu-user > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 999px;
  color: #041008;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  font-size: 0.82rem;
  font-weight: 900;
}

.site-menu-user strong,
.site-menu-user small,
.site-menu-user em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-menu-user em {
  margin-bottom: 1px;
  color: #16a34a;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.site-menu-user strong {
  color: #07172d;
  font-size: 0.92rem;
  font-weight: 900;
  white-space: nowrap;
}

.site-menu-user small {
  color: #5c6b7c;
  font-size: 0.74rem;
  font-weight: 600;
}

.site-menu-info {
  display: grid;
  gap: 7px;
  margin: 10px 0;
}

.site-menu-info p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  border-bottom: 1px solid #eef2f6;
  padding: 0 2px 7px;
}

.site-menu-info span {
  color: #6d7b8c;
  font-size: 0.72rem;
  font-weight: 700;
}

.site-menu-info strong {
  color: #07172d;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: right;
}

.site-menu-links {
  display: grid;
  gap: 7px;
}

.site-menu-links a {
  min-height: 38px;
  display: flex;
  align-items: center;
  border: 1px solid #e5ebf1;
  border-radius: 10px;
  padding: 0 12px;
  color: #07172d;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.site-menu-links a:hover {
  border-color: #55bd13;
  color: #347e02;
  background: #f6fff1;
}

.site-menu-links .site-menu-winner {
  min-height: 58px;
  display: grid;
  align-items: center;
  gap: 2px;
  border-color: #d9a800;
  color: #141002;
  background: linear-gradient(135deg, #ffd94d, #16d47f);
  box-shadow: 0 12px 26px rgba(255, 204, 51, 0.22);
}

.site-menu-links .site-menu-winner:hover {
  border-color: #b58900;
  color: #141002;
  background: linear-gradient(135deg, #ffe177, #20e392);
}

.site-menu-winner strong,
.site-menu-winner span {
  display: block;
}

.site-menu-winner strong {
  font-size: 0.9rem;
  font-weight: 950;
}

.site-menu-winner span {
  color: rgba(20, 16, 2, 0.76);
  font-size: 0.72rem;
  font-weight: 850;
}

.button,
button.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  color: #041008;
  background: var(--primary);
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.button:hover,
button.button:hover {
  transform: translateY(-1px);
  background: #22db73;
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.11);
}

.button.gold {
  background: var(--gold);
}

.button.danger {
  color: #fff;
  background: var(--danger);
}

.raffle-promo-banner {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--page-bg, var(--bg));
}

.raffle-promo-media {
  width: min(1280px, 100%);
  margin: 0 auto;
  background: #050505;
}

.raffle-promo-media-link,
.campaign-card-media {
  display: block;
  color: inherit;
  text-decoration: none;
}

.raffle-promo-media img {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

.raffle-promo-media-link img,
.campaign-card-media img {
  display: block;
  transition: filter .18s ease, transform .18s ease;
}

.raffle-promo-media-link:hover img,
.campaign-card-media:hover img {
  filter: brightness(1.06);
}

.home-promo-banner + main .section-title {
  margin-top: 4px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 17, 13, 0.95) 0%, rgba(7, 17, 13, 0.82) 35%, rgba(7, 17, 13, 0.24) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: 70px 0 86px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 204, 51, 0.45);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(255, 204, 51, 0.08);
  font-size: 0.86rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 5.3vw, 5.15rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin-bottom: 26px;
  color: #d4e5db;
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
}

.stat-pill {
  min-height: 76px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 22, 17, 0.72);
}

.stat-pill strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.18rem;
}

.stat-pill span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  padding: 42px 0;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  letter-spacing: 0;
}

.raffle-purchase-head {
  align-items: center;
  margin-bottom: 18px;
}

.raffle-purchase-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.08rem);
  line-height: 1.08;
}

.raffle-purchase-head .badge {
  flex: 0 0 auto;
  min-height: 42px;
  justify-content: center;
  padding: 0 13px;
  text-align: center;
  white-space: nowrap;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 26, 21, 0.86);
  box-shadow: var(--shadow);
}

.card-body {
  padding: 20px;
}

.campaign-card {
  overflow: hidden;
}

.campaign-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.result-card .card-body {
  display: grid;
  gap: 14px;
}

.result-card h3,
.result-card p {
  margin: 0;
}

.result-winner-box {
  display: grid;
  gap: 4px;
  border: 1px solid var(--combo-border-featured, var(--gold));
  border-radius: 8px;
  padding: 13px;
  background: color-mix(in srgb, var(--btn-primary-bg, var(--primary)) 12%, var(--card-bg, rgba(16, 26, 21, .86)));
}

.result-winner-box span {
  color: var(--card-muted, var(--muted));
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.result-winner-box strong {
  color: var(--combo-border-featured, var(--gold));
  font-size: 1.45rem;
  line-height: 1;
}

.result-winner-box em {
  color: var(--card-title, var(--text));
  font-style: normal;
  font-weight: 700;
}

.campaign-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
}

.badge.success { background: rgba(23, 201, 100, 0.18); color: #71f0a8; }
.badge.warning { background: rgba(255, 204, 51, 0.16); color: var(--gold); }
.badge.danger { background: rgba(255, 90, 95, 0.16); color: #ff9a9d; }
.badge.primary { background: rgba(101, 183, 255, 0.16); color: var(--info); }
.badge.secondary { background: rgba(255, 255, 255, 0.12); color: #dce6df; }
.badge.info { background: rgba(101, 183, 255, 0.16); color: var(--info); }

.progress-track {
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--gold));
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.settings-general-panel .card-body {
  display: grid;
  gap: 16px;
}

.settings-block {
  display: grid;
  gap: 14px;
  border: 1px solid var(--admin-border, var(--line));
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.settings-block-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 2px;
}

.settings-block-head h2 {
  margin: 0 0 4px;
  color: var(--admin-text, var(--text));
  font-size: 1.02rem;
  line-height: 1.2;
}

.settings-block-head p {
  margin: 0;
  max-width: 780px;
  line-height: 1.45;
}

.settings-grid {
  display: grid;
  gap: 14px;
}

.settings-grid.one {
  grid-template-columns: 1fr;
}

.settings-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.settings-upload-field,
.settings-contact-card {
  align-content: start;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.settings-upload-wide {
  grid-column: auto;
}

.settings-general-panel input[type="file"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--input-border, var(--line));
  border-radius: 10px;
  padding: 8px 10px;
  background: var(--input-bg, #fff);
  color: var(--input-text, #07172d);
}

.settings-contact-card {
  display: grid;
  gap: 12px;
}

.settings-contact-card .admin-check {
  min-height: 40px;
  align-items: center;
  margin: 0;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.64);
}

.raffle-admin-form .card-body {
  display: grid;
  gap: 16px;
}

.admin-form-block {
  display: grid;
  gap: 14px;
  border: 1px solid var(--admin-border, var(--line));
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.admin-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-form-head h2 {
  margin: 0 0 4px;
  color: var(--admin-text, var(--text));
  font-size: 1.02rem;
  line-height: 1.2;
}

.admin-form-head p {
  margin: 0;
  max-width: 820px;
  line-height: 1.45;
}

.admin-form-grid {
  display: grid;
  gap: 14px;
}

.admin-form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-option-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  padding: 14px;
  color: var(--admin-text, var(--text));
  background: rgba(255, 255, 255, 0.72);
}

.admin-option-card input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.admin-option-card span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.admin-option-card strong {
  color: var(--admin-text, var(--text));
  font-size: 0.9rem;
}

.admin-option-card small {
  color: var(--admin-muted, var(--muted));
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
}

.brand-upload-preview {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.brand-upload-preview img {
  width: 72px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 4px;
}

.brand-upload-preview.favicon img {
  width: 42px;
  height: 42px;
}

.brand-upload-preview.horizontal-logo-preview img {
  width: min(240px, 100%);
  height: 54px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
}

.raffle-banner-preview img {
  width: min(420px, 100%);
  max-height: 170px;
  object-fit: contain;
  background: #050505;
}

.brand-upload-preview label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.gateway-section {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.gateway-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.gateway-heading h2 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.admin-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d8e8df;
  font-weight: 800;
}

.admin-check input {
  width: 22px;
  min-height: 22px;
  accent-color: var(--primary);
}

label {
  color: #d8e8df;
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  margin: 0;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--primary);
}

textarea {
  min-height: 120px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(23, 201, 100, 0.7);
}

select option,
select optgroup {
  color: #102033;
  background: #fff;
}

select option:checked {
  color: #fff;
  background: #1768e8;
}

.number-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  margin-bottom: 14px;
}

.combo-offers {
  margin: 18px 0;
  border: 1px solid rgba(23, 201, 100, 0.28);
  border-radius: 12px;
  padding: 14px;
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 204, 51, 0.16), transparent 10rem),
    radial-gradient(circle at 86% 18%, rgba(23, 201, 100, 0.18), transparent 12rem),
    rgba(255, 255, 255, 0.075);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.combo-offers-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.combo-offers-head h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.06rem;
  font-weight: 800;
}

.combo-offers-head span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.combo-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.combo-offer-card {
  position: relative;
  min-height: 132px;
  display: grid;
  gap: 6px;
  border: 2px solid #3f4b5b;
  border-radius: 10px;
  padding: 16px 14px 14px;
  color: #102033;
  background: rgba(255, 255, 255, 0.97);
  font-family: Inter, Arial, Helvetica, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.combo-offer-card:hover,
.combo-offer-card.selected {
  border-color: #67c820;
  box-shadow: 0 14px 32px rgba(18, 76, 24, 0.24);
  transform: translateY(-2px);
}

.combo-offer-card small {
  position: absolute;
  left: 14px;
  top: -11px;
  border-radius: 999px;
  padding: 3px 10px;
  color: #fff;
  background: #4d980a;
  font-size: 0.7rem;
  font-weight: 900;
}

.combo-offer-card b {
  position: absolute;
  right: 12px;
  top: -10px;
  border-radius: 999px 999px 999px 0;
  padding: 4px 10px;
  color: #fff;
  background: #c62828;
  font-size: 0.68rem;
  font-weight: 900;
}

.combo-offer-card.featured {
  border-color: #67c820;
}

.combo-offer-card strong {
  color: #07172d;
  font-size: 1.05rem;
  font-weight: 800;
}

.combo-offer-card span {
  color: #243f5d;
  font-size: 0.81rem;
  font-weight: 700;
  line-height: 1.25;
}

.combo-offer-card em,
.combo-offer-card p {
  margin: 0;
  color: #24415d;
  font-style: normal;
  font-size: 0.84rem;
  line-height: 1.2;
}

.combo-offer-card mark {
  color: #327b02;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 900;
}

.combo-offer-card .combo-unit-price {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  padding: 4px 9px;
  color: #0b4120;
  background: #e6f8d8;
  font-size: 0.76rem;
  font-weight: 800;
}

.combo-offer-card .combo-unit-price strong {
  display: inline;
  margin: 0 3px;
  color: #246f00;
  font-size: inherit;
}

.selected-combo-panel {
  margin: 14px 0 18px;
  border: 1px solid rgba(103, 200, 32, 0.42);
  border-radius: 12px;
  padding: 14px;
  background:
    radial-gradient(circle at 0 0, rgba(103, 200, 32, 0.16), transparent 16rem),
    linear-gradient(90deg, rgba(35, 65, 32, 0.94), rgba(39, 51, 26, 0.96));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.selected-combo-head,
.selected-combo-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.selected-combo-head {
  margin-bottom: 12px;
}

.selected-combo-head span,
.selected-combo-bonus > strong {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  font-weight: 800;
}

.selected-combo-values span {
  display: block;
  color: #526174;
  font-size: 0.76rem;
  font-weight: 900;
}

.selected-combo-head strong {
  display: block;
  color: #f7fff8;
  font-size: 1.02rem;
  font-weight: 800;
}

.selected-combo-head mark {
  border-radius: 999px;
  padding: 5px 10px;
  color: #fff;
  background: #67b91f;
  font-weight: 900;
}

.selected-combo-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
}

.selected-combo-values strong {
  display: block;
  margin-top: 3px;
  color: #07172d;
  font-size: 1rem;
  font-weight: 800;
}

.selected-combo-values div:last-child strong {
  color: #2f8100;
  font-size: 1.12rem;
}

.selected-combo-bonus {
  margin-top: 12px;
}

.selected-combo-bonus > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.selected-combo-bonus span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  color: #006a45;
  background: #cff4e2;
  font-size: 0.76rem;
  font-weight: 800;
}

.selected-combo-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.selected-combo-details article {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border: 1px solid rgba(103, 200, 32, 0.24);
  border-radius: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: #102033;
}

.selected-combo-details article > span {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 24px;
  border-radius: 999px;
  padding: 0;
  background: #e6f8d8;
  color: #24415d;
  font-size: 0.9rem;
  line-height: 1;
}

.selected-combo-details strong {
  display: block;
  color: #07172d;
  font-size: 0.82rem;
  font-weight: 900;
}

.selected-combo-details p {
  margin: 3px 0 0;
  color: #3e5368;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.3;
}

.manual-numbers-toggle {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border: 1px solid rgba(255, 204, 51, 0.42);
  border-radius: 12px;
  padding: 0 16px;
  color: #fff8cf;
  background: rgba(255, 204, 51, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  text-align: left;
  cursor: pointer;
}

.manual-numbers-toggle span {
  font-size: 0.88rem;
  font-weight: 900;
}

.manual-numbers-toggle:hover {
  border-color: var(--gold);
  background: rgba(255, 204, 51, 0.16);
}

.manual-numbers-toggle[aria-expanded="true"] {
  color: #07120a;
  background: var(--gold);
}

.number-batch-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.number-batch-panel[hidden] {
  display: none;
}

.number-batch-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 204, 51, 0.36);
  border-radius: 12px;
  background: rgba(255, 204, 51, 0.08);
}

.number-batch-head strong {
  display: block;
  color: #fff8cf;
  font-size: 0.94rem;
  font-weight: 900;
}

.number-batch-head span,
.number-batch-head small {
  display: block;
  color: #d8e7d9;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.number-batches {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}

.number-batch-button {
  flex: 0 0 auto;
  min-width: 132px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 10px 12px;
  color: #dff8e8;
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
  cursor: pointer;
}

.number-batch-button span,
.number-batch-button small {
  display: block;
}

.number-batch-button span {
  font-size: 0.82rem;
  font-weight: 900;
}

.number-batch-button small {
  margin-top: 3px;
  color: #9fb4a6;
  font-size: 0.68rem;
  font-weight: 800;
}

.number-batch-button.active,
.number-batch-button:hover {
  border-color: var(--gold);
  color: #07120a;
  background: var(--gold);
}

.number-batch-button.active small,
.number-batch-button:hover small {
  color: rgba(7, 18, 10, 0.76);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
  gap: 8px;
  max-height: 440px;
  overflow: auto;
  padding-right: 4px;
}

.number-chip {
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #dff8e8;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
}

.number-chip input {
  display: none;
}

.number-chip:has(input:checked) {
  border-color: var(--gold);
  color: #041008;
  background: var(--gold);
}

.number-chip.sold,
.number-chip.reserved {
  cursor: not-allowed;
  opacity: 0.66;
}

.number-chip.sold {
  background: rgba(255, 90, 95, 0.17);
  color: #ffb2b4;
}

.number-chip.reserved {
  background: rgba(255, 204, 51, 0.13);
  color: #ffe18a;
}

.summary-box {
  position: sticky;
  top: 94px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-line:last-child {
  border-bottom: 0;
}

.copy-box {
  display: grid;
  gap: 10px;
}

.pix-code {
  min-height: 120px;
  padding: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: #dce7df;
  background: rgba(0, 0, 0, 0.22);
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
}

.qr-frame {
  display: grid;
  place-items: center;
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.qr-frame img {
  width: 220px;
  height: 220px;
}

.pix-code.visually-compact {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.checkout-family {
  min-height: calc(100vh - 70px);
  padding: 36px 10px 52px;
  color: #102033;
  background: #eaf0f8;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.checkout-wrap {
  width: min(660px, 100%);
  margin: 0 auto;
}

.checkout-family .muted {
  color: #475569;
}

.checkout-family label {
  color: #102033;
}

.checkout-family input,
.checkout-family select,
.checkout-family textarea {
  color: #102033;
  background: #fff;
  border-color: #c9d3e1;
}

.checkout-family input::placeholder,
.checkout-family textarea::placeholder {
  color: #64748b;
}

.checkout-card,
.checkout-details,
.checkout-legal {
  width: 100%;
  margin-bottom: 8px;
  border: 1px solid #d4deeb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.08), 0 1px 0 rgba(16, 32, 51, 0.08);
}

.checkout-card {
  padding: 18px 24px;
}

.checkout-brand-card {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding-top: 12px;
}

.checkout-logo {
  display: grid;
  justify-items: center;
  color: #0b1f35;
  line-height: 1.05;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.checkout-logo .brand-mark {
  margin-bottom: 5px;
  width: 34px;
  height: 34px;
}

.checkout-logo .brand-mark.has-image {
  width: 52px;
  height: 52px;
  background: transparent;
  box-shadow: none;
}

.checkout-logo small {
  margin-top: 3px;
  color: #64b600;
  font-size: 0.62rem;
  text-transform: none;
}

.checkout-logo.compact {
  margin-bottom: 14px;
}

.checkout-steps {
  width: 100%;
  color: #4d9600;
  font-size: 0.78rem;
}

.checkout-steps strong {
  color: #101828;
}

.checkout-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.checkout-user-row strong,
.checkout-user-row span {
  display: block;
}

.checkout-user-row span {
  margin-top: 6px;
  color: #475569;
  font-size: 0.92rem;
}

.checkout-user-row a {
  color: #223a5a;
  font-size: 0.9rem;
  text-decoration: underline;
}

.checkout-card h2,
.checkout-details h2 {
  margin-bottom: 14px;
  color: #06182d;
  font-size: 1.1rem;
}

.payment-method {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid #51b300;
  border-radius: 7px;
  padding: 12px 14px;
  color: #142238;
}

.payment-radio {
  position: relative;
  width: 24px;
  height: 24px;
  border: 2px solid #76bd19;
  border-radius: 50%;
}

.payment-radio::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #8ac81e;
}

.payment-method strong,
.payment-method small {
  display: block;
}

.payment-method small {
  margin-top: 5px;
  color: #475569;
}

.checkout-card-title,
.checkout-summary-line,
.checkout-receive {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.checkout-card-title h2 {
  margin: 0;
}

.checkout-summary-line {
  min-height: 42px;
  border-bottom: 1px solid #d8e1ec;
  color: #475569;
  font-size: 0.92rem;
}

.checkout-summary-line strong {
  color: #172337;
}

.checkout-summary-line strong.checkout-subtotal-old {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: currentColor;
}

.checkout-summary-line.success strong {
  color: #438d08;
}

.checkout-summary-line.total strong {
  color: #101828;
  font-weight: 900;
}

.checkout-receive {
  margin-top: 16px;
  border-radius: 999px;
  padding: 6px 12px;
  color: #283a55;
  background: #f5f6f8;
  font-size: 0.78rem;
  font-weight: 800;
}

.checkout-receive strong {
  color: #7bd000;
  font-size: 1rem;
}

.coupon-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  margin-top: 16px;
}

.coupon-row input {
  color: #102033;
  background: #fff;
  border-color: #c9d3e1;
}

.checkout-bonus-line {
  padding: 14px 0;
  color: #172337;
  text-align: center;
  font-size: 0.9rem;
}

.checkout-bonus-line strong {
  color: #06182d;
}

.checkout-confirm,
.checkout-copy {
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #438609;
  box-shadow: inset 0 -3px 0 #2f7302;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
}

.checkout-confirm.small {
  width: min(335px, 100%);
  min-height: 52px;
}

.checkout-pay-card {
  padding: 0;
  overflow: hidden;
}

.payment-countdown {
  border-top: 3px solid #1769c2;
  padding: 12px 18px;
  color: #06182d;
  background: #e3e7ec;
  text-align: center;
  font-weight: 900;
}

.payment-panel {
  margin: 0 24px 20px;
  border: 1px solid #dce1e8;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  padding: 20px 24px 14px;
}

.payment-panel h1 {
  margin-bottom: 16px;
  color: #3a4556;
  text-align: center;
  font-size: 1.25rem;
}

.payment-panel p {
  color: #344054;
  text-align: center;
}

.payment-panel ol {
  display: grid;
  gap: 12px;
  margin: 18px 0 28px;
  padding-left: 24px;
  color: #344054;
  line-height: 1.45;
}

.checkout-copy {
  min-height: 56px;
  box-shadow: none;
}

.checkout-qr-toggle {
  width: 100%;
  min-height: 56px;
  margin-top: 16px;
  border: 1px solid #111;
  border-radius: 8px;
  color: #06182d;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.checkout-qr {
  width: max-content;
  margin: 16px auto 0;
  background: #fff;
}

.payment-retry {
  margin: 10px 0 16px;
  border: 1px solid #c7ccd5;
  border-radius: 18px;
  padding: 14px;
  color: #111827;
  background: #e2e5ea;
  text-align: center;
}

.payment-retry button {
  border: 0;
  color: #111827;
  background: transparent;
  text-decoration: underline;
  cursor: pointer;
}

.manual-proof {
  margin: 0 24px 22px;
  border-top: 1px solid #e4e7ec;
  padding-top: 16px;
}

.checkout-family .manual-proof label,
.checkout-family .manual-proof input {
  color: #102033;
}

.checkout-family .manual-proof .button.secondary {
  color: #102033;
  background: #fff;
  border-color: #cfd6e2;
}

.checkout-legal {
  margin-top: 18px;
  padding: 18px 24px;
  color: #172337;
  font-size: 0.84rem;
  line-height: 1.45;
  text-align: center;
}

.checkout-processed h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  color: #06182d;
  font-size: 1.35rem;
}

.checkout-processed h1 span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 2px solid #8ac81e;
  border-radius: 50%;
  color: #5fa600;
}

.checkout-bonus-banner {
  min-height: 310px;
  display: grid;
  align-items: center;
  justify-items: center;
  align-content: center;
  gap: 18px;
  margin: 8px 0 18px;
  border: 8px solid #fff;
  border-radius: 16px;
  padding: 32px 12px;
  background-position: center;
  background-size: cover;
}

.checkout-bonus-banner div {
  min-width: min(295px, 100%);
  border: 2px solid #f4d20b;
  border-radius: 8px;
  padding: 18px 20px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 232, 45, 0.15), transparent 9rem),
    rgba(10, 90, 18, 0.9);
  text-align: center;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.checkout-bonus-banner strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checkout-bonus-banner h2 {
  margin: 4px 0;
  color: #ffe82d;
  font-size: 1.6rem;
  line-height: 1;
  text-transform: uppercase;
}

.checkout-bonus-stars {
  display: block;
  color: #fff;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.checkout-bonus-banner p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 0;
}

.checkout-bonus-banner em {
  border: 1px solid rgba(255, 232, 45, 0.42);
  border-radius: 999px;
  padding: 4px 9px;
  color: #fff9bb;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.checkout-bonus-banner a.checkout-bonus-scroll {
  min-width: min(295px, 100%);
  margin-top: 14px;
  border: 2px solid #f4d20b;
  border-radius: 999px;
  padding: 11px 22px 12px;
  color: #fff;
  background: linear-gradient(180deg, #4da80a 0%, #347e02 100%);
  text-align: center;
  font-weight: 900;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.34);
  box-shadow: 0 18px 34px rgba(30, 89, 6, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.checkout-bonus-banner a.checkout-bonus-scroll:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.checkout-bonus-scroll span {
  display: inline-block;
  margin-left: 8px;
  font-size: 1.1rem;
  animation: bonusArrowBounce 1.05s ease-in-out infinite;
}

@keyframes bonusArrowBounce {
  0%,
  100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(5px);
  }
}

.bonus-hub {
  scroll-margin-top: 90px;
  display: grid;
  gap: 14px;
}

.bonus-hub .checkout-card-title {
  align-items: center;
}

.bonus-hub .checkout-card-title span {
  color: #438609;
  font-weight: 900;
}

#meus-bonus .bonus-hub > h3,
#meus-bonus .bonus-hub .checkout-card-title h2 {
  color: #f8fff9;
}

.bonus-game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bonus-game-card {
  min-height: 132px;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid #cfd8e6;
  border-radius: 10px;
  padding: 14px;
  color: #102033;
  background: linear-gradient(135deg, #ffffff, #f4f8ff);
}

.bonus-game-card.roulette {
  border-color: rgba(30, 105, 232, 0.36);
  background: linear-gradient(135deg, #ffffff, #edf4ff);
}

.bonus-game-card.chest {
  border-color: rgba(186, 122, 10, 0.42);
  background: linear-gradient(135deg, #ffffff, #fff7df);
}

.bonus-game-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #1768e8;
  font-size: 1.65rem;
  font-weight: 900;
}

.bonus-game-card.chest .bonus-game-icon {
  background: #e2a31a;
}

.bonus-game-card strong,
.bonus-game-card small,
.bonus-game-card em {
  display: block;
}

.bonus-game-card small {
  margin-top: 4px;
  color: #56657a;
  font-style: normal;
}

.bonus-game-card em {
  grid-column: 1 / -1;
  color: #1768e8;
  font-style: normal;
  font-weight: 900;
}

.bonus-game-summary {
  align-items: start;
}

.bonus-game-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.bonus-game-stats span {
  border: 1px solid rgba(23, 104, 232, 0.12);
  border-radius: 8px;
  padding: 8px;
  color: #56657a;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
}

.bonus-game-stats strong {
  color: #1768e8;
  font-size: 1rem;
}

.bonus-game-card form {
  grid-column: 1 / -1;
}

.bonus-game-card button,
.bonus-game-card > .button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #1768e8;
  font-weight: 900;
  cursor: pointer;
  grid-column: 1 / -1;
}

.bonus-game-card button:disabled {
  opacity: 0.56;
  cursor: not-allowed;
}

.bonus-game-card.chest button,
.bonus-game-card.chest > .button {
  background: #d79713;
}

.bonus-play-modal[hidden] {
  display: none;
}

.bonus-play-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.bonus-play-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 6, 12, 0.72);
  backdrop-filter: blur(4px);
}

.bonus-play-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid rgba(255, 214, 93, 0.26);
  border-radius: 16px;
  padding: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 214, 93, 0.18), transparent 14rem),
    linear-gradient(145deg, #07110e 0%, #09291d 48%, #03100c 100%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.bonus-play-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
}

.bonus-play-pill {
  width: max-content;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 214, 93, 0.72);
  border-radius: 999px;
  padding: 5px 12px;
  color: #fff7a8;
  background: rgba(255, 214, 93, 0.12);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bonus-play-dialog h2 {
  margin: 12px 0 4px;
  color: #fff;
  font-size: 1.45rem;
}

.bonus-play-dialog p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.76);
}

.bonus-play-meter {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 12px;
  margin: 12px 0 14px;
  border: 1px solid rgba(255, 214, 93, 0.42);
  border-radius: 14px;
  padding: 12px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 214, 93, 0.2), transparent 7rem),
    rgba(255, 255, 255, 0.08);
}

.bonus-play-meter[hidden] {
  display: none;
}

.bonus-play-meter > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #0b2719;
  background: linear-gradient(135deg, #fff8a8, #ffd21d 58%, #68db63);
  font-size: 1.6rem;
  font-weight: 1000;
  box-shadow: 0 12px 30px rgba(255, 214, 93, 0.24);
}

.bonus-play-meter strong,
.bonus-play-meter small,
.bonus-play-meter em {
  display: block;
}

.bonus-play-meter strong {
  color: #fff;
  font-size: 1.02rem;
  font-weight: 1000;
}

.bonus-play-meter small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
}

.bonus-play-meter em {
  margin-top: 5px;
  color: #fff7a8;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 900;
}

.public-bonus-wheel-stage {
  width: min(340px, 78vw);
  margin-top: 2px;
}

.bonus-wheel-controls {
  display: flex;
  justify-content: center;
  margin: -6px 0 14px;
}

.bonus-wheel-controls[hidden] {
  display: none;
}

.bonus-autoplay-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 214, 10, 0.48);
  border-radius: 999px;
  color: #fff8c7;
  background: rgba(255, 214, 10, 0.1);
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
  user-select: none;
}

.bonus-autoplay-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #ffd60a;
}

.bonus-autoplay-toggle:has(input:checked) {
  color: #102116;
  background: linear-gradient(135deg, #ffdf57, #65d613);
  box-shadow: 0 10px 22px rgba(101, 214, 19, 0.25);
}

.bonus-play-result {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.bonus-play-result > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #3f7df4, #6148e8);
  font-size: 1.4rem;
  font-weight: 900;
}

.bonus-play-result small,
.bonus-play-result strong,
.bonus-play-result em {
  display: block;
}

.bonus-play-result small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
}

.bonus-play-result strong {
  margin-top: 2px;
  color: #fff;
  font-size: 1rem;
}

.bonus-play-result em {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-size: 0.82rem;
}

.bonus-special-burst {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  pointer-events: none;
  animation: bonusSpecialFade 2800ms ease forwards;
}

.bonus-special-burst::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 214, 10, 0.32), transparent 17rem),
    radial-gradient(circle at 50% 52%, rgba(34, 197, 94, 0.2), transparent 23rem);
  animation: bonusSpecialPulse 900ms ease-out both;
}

.bonus-special-card {
  position: relative;
  z-index: 2;
  width: min(420px, calc(100vw - 34px));
  border: 1px solid rgba(255, 214, 10, 0.82);
  border-radius: 18px;
  padding: 18px 18px 20px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 214, 10, 0.28), transparent 9rem),
    linear-gradient(145deg, rgba(7, 17, 14, 0.98), rgba(6, 58, 34, 0.98));
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.52),
    0 0 42px rgba(255, 214, 10, 0.28);
  animation: bonusSpecialCard 900ms cubic-bezier(0.17, 0.92, 0.18, 1.18) both;
}

.bonus-special-card small {
  display: inline-flex;
  border: 1px solid rgba(255, 247, 173, 0.72);
  border-radius: 999px;
  padding: 5px 10px;
  color: #3b2600;
  background: linear-gradient(135deg, #fff7ad, #ffd21d);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.bonus-special-card strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: clamp(1.35rem, 5vw, 2.25rem);
  font-weight: 1000;
  line-height: 1.05;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.48);
}

.bonus-special-card span {
  display: block;
  margin-top: 8px;
  color: #fff7ad;
  font-size: 0.92rem;
  font-weight: 850;
}

.bonus-special-burst > i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, #fff7ad, #ffd21d 50%, #22c55e);
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(0);
  opacity: 0;
  animation: bonusSpecialParticle 1100ms ease-out var(--delay) forwards;
}

.bonus-special-burst > i:nth-of-type(3n) {
  background: linear-gradient(180deg, #60a5fa, #22c55e);
}

.bonus-special-burst > i:nth-of-type(4n) {
  background: linear-gradient(180deg, #f472b6, #ffd21d);
}

@keyframes bonusSpecialFade {
  0%, 76% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes bonusSpecialPulse {
  0% { opacity: 0; transform: scale(0.82); }
  55% { opacity: 1; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.06); }
}

@keyframes bonusSpecialCard {
  0% { opacity: 0; transform: translateY(18px) scale(0.82) rotate(-1deg); }
  62% { opacity: 1; transform: translateY(-4px) scale(1.04) rotate(0.5deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

@keyframes bonusSpecialParticle {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--a)) translateY(0) scale(0.6);
  }
  18% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--d) * -1)) scale(1) rotate(34deg);
  }
}

.bonus-round-history {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  border: 1px solid rgba(255, 214, 93, 0.22);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.bonus-round-history[hidden] {
  display: none;
}

.bonus-round-history > strong {
  color: #fff7a8;
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.bonus-round-total {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 214, 93, 0.28);
  border-radius: 10px;
  padding: 9px 10px;
  background: linear-gradient(135deg, rgba(255, 214, 93, 0.14), rgba(34, 197, 94, 0.12));
}

.bonus-round-total[hidden] {
  display: none;
}

.bonus-round-total.is-empty {
  background: rgba(255, 255, 255, 0.06);
}

.bonus-round-total span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.bonus-round-total strong {
  color: #fff7a8;
  font-size: 0.9rem;
  font-weight: 1000;
}

.bonus-round-history-list {
  max-height: 170px;
  display: grid;
  gap: 7px;
  overflow: auto;
}

.bonus-round-history article {
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 9px;
  background: rgba(2, 6, 12, 0.22);
}

.bonus-round-history article.is-win {
  border-color: rgba(34, 197, 94, 0.34);
  background: rgba(34, 197, 94, 0.12);
}

.bonus-round-history article > span {
  min-height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #0b2719;
  background: linear-gradient(135deg, #fff8a8, #68db63);
  font-size: 0.72rem;
  font-weight: 950;
}

.bonus-round-history strong,
.bonus-round-history small {
  display: block;
}

.bonus-round-history article div strong {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 950;
}

.bonus-round-history small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.74rem;
  font-weight: 700;
}

.bonus-release-modal[hidden] {
  display: none;
}

.bonus-release-modal {
  position: fixed;
  inset: 0;
  z-index: 92;
  display: grid;
  place-items: center;
  padding: 18px;
}

.bonus-release-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 6, 12, 0.66);
  backdrop-filter: blur(3px);
}

.bonus-release-dialog {
  position: relative;
  width: min(430px, 100%);
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 214, 93, 0.32);
  border-radius: 16px;
  padding: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 214, 93, 0.18), transparent 11rem),
    linear-gradient(145deg, #07110e 0%, #09291d 58%, #03100c 100%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
}

.bonus-release-dialog h2 {
  margin: 2px 0 0;
  color: #fff;
  font-size: 1.35rem;
}

.bonus-release-dialog p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

.bonus-release-total {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 214, 93, 0.36);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.bonus-release-total > span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #0b2719;
  background: linear-gradient(135deg, #fff8a8, #ffd21d 58%, #68db63);
  font-size: 1.55rem;
  font-weight: 1000;
}

.bonus-release-total strong,
.bonus-release-total small {
  display: block;
}

.bonus-release-total strong {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 950;
}

.bonus-release-total small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.bonus-release-list {
  max-height: 190px;
  display: grid;
  gap: 7px;
  overflow: auto;
}

.bonus-release-list article {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 10px;
  padding: 9px;
  background: rgba(34, 197, 94, 0.1);
}

.bonus-release-list span {
  min-height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #0b2719;
  background: linear-gradient(135deg, #fff8a8, #68db63);
  font-size: 0.72rem;
  font-weight: 950;
}

.bonus-release-list strong {
  color: #fff;
  font-size: 0.84rem;
  font-weight: 950;
}

.bonus-redeem-panel {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid rgba(255, 214, 93, 0.26);
  border-radius: 12px;
  padding: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.bonus-redeem-panel[hidden] {
  display: none;
}

.bonus-redeem-panel strong {
  display: block;
  color: #fff;
  font-size: 1rem;
}

.bonus-redeem-panel p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}

.bonus-redeem-panel .checkout-confirm,
.bonus-release-dialog .checkout-confirm,
.bonus-next-panel .checkout-confirm.is-bonus-claim-action,
.bonus-next-panel .checkout-confirm.is-bonus-continue-action,
.bonus-next-panel .checkout-confirm.is-bonus-exit-action {
  color: #fff;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: 0;
  background: linear-gradient(135deg, #56d900 0%, #239600 50%, #ffde3b 100%);
  border: 1px solid rgba(255, 236, 120, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 16px 30px rgba(58, 184, 22, 0.34),
    0 0 22px rgba(255, 222, 59, 0.26);
  animation: bonusRedeemPulse 1.35s ease-in-out infinite;
}

.bonus-next-panel .checkout-confirm.is-bonus-continue-action {
  background: linear-gradient(135deg, #7be31b 0%, #339800 54%, #fff04a 100%);
}

.bonus-next-panel .checkout-confirm.is-bonus-exit-action {
  background: linear-gradient(135deg, #13c55e 0%, #10803d 55%, #ffcf32 100%);
}

.bonus-redeem-panel .checkout-confirm:hover,
.bonus-release-dialog .checkout-confirm:hover,
.bonus-next-panel .checkout-confirm.is-bonus-claim-action:hover,
.bonus-next-panel .checkout-confirm.is-bonus-continue-action:hover,
.bonus-next-panel .checkout-confirm.is-bonus-exit-action:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

@keyframes bonusRedeemPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08) inset,
      0 16px 30px rgba(58, 184, 22, 0.34),
      0 0 18px rgba(255, 222, 59, 0.24);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.12) inset,
      0 20px 38px rgba(58, 184, 22, 0.46),
      0 0 32px rgba(255, 222, 59, 0.42);
  }
}

.bonus-next-panel {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid rgba(34, 197, 94, 0.32);
  border-radius: 12px;
  padding: 14px;
  color: #fff;
  background: rgba(34, 197, 94, 0.1);
}

.bonus-leave-panel {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid rgba(255, 214, 93, 0.48);
  border-radius: 12px;
  padding: 14px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 214, 93, 0.18), rgba(239, 68, 68, 0.12));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.bonus-next-panel[hidden],
.bonus-leave-panel[hidden] {
  display: none;
}

.bonus-next-panel strong,
.bonus-leave-panel strong {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 900;
}

.bonus-next-panel p,
.bonus-leave-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.bonus-next-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.bonus-redeem-auto {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 800;
}

.bonus-redeem-auto input {
  width: 18px;
  height: 18px;
  accent-color: #22c55e;
}

.bonus-redeem-panel textarea {
  width: 100%;
  min-height: 76px;
  resize: vertical;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(2, 6, 12, 0.4);
  font: inherit;
}

.bonus-redeem-panel textarea:disabled {
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.bonus-redeem-panel textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.wallet-list {
  display: grid;
  gap: 8px;
}

.bonus-entry-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bonus-entry-summary article,
.bonus-entry-history article {
  position: relative;
  display: grid;
  gap: 5px;
  border: 1px solid #cad7e8;
  border-radius: 10px;
  padding: 12px;
  color: #102033;
  background: #f7fbff;
}

.bonus-entry-summary article::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -38px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(23, 104, 232, 0.1);
  pointer-events: none;
}

.bonus-entry-summary .bonus-available-card {
  border-color: #a7f3d0;
  background:
    radial-gradient(circle at 85% 12%, rgba(34, 197, 94, 0.22), transparent 6rem),
    linear-gradient(135deg, #f0fff8, #eef6ff);
}

.bonus-entry-summary .bonus-available-card strong {
  color: #12a150;
}

.bonus-entry-summary strong {
  color: #1768e8;
  font-size: 1.35rem;
  line-height: 1;
}

.bonus-entry-summary span,
.bonus-entry-history strong {
  color: #102033;
  font-weight: 900;
}

.bonus-entry-summary small,
.bonus-entry-history small {
  color: #475569;
}

.mini-link {
  width: max-content;
  color: #1768e8;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.mini-link:hover {
  text-decoration: underline;
}

.bonus-primary-action {
  border-radius: 999px;
  padding: 6px 10px;
  color: #064e3b;
  background: #bbf7d0;
  text-decoration: none;
}

.bonus-primary-action:hover {
  color: #033526;
  background: #9bf0bd;
  text-decoration: none;
}

.pending-bonus-list,
.wallet-section,
.prize-claims-list {
  display: grid;
  gap: 10px;
}

.pending-bonus-list h3,
.wallet-section h3 {
  margin: 2px 0;
  color: #f8fff9;
  font-size: 1rem;
}

.pending-bonus-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #b7d7ff;
  border-radius: 12px;
  padding: 12px;
  color: #102033;
  background: linear-gradient(135deg, #f5faff, #eef6ff);
}

.pending-bonus-list article .pending-bonus-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #1768e8, #6148e8);
  font-size: 1.4rem;
  font-weight: 900;
}

.pending-bonus-list article div {
  display: grid;
  gap: 3px;
  flex: 1;
}

.pending-bonus-list article strong {
  font-weight: 900;
}

.pending-bonus-list article span {
  color: #475569;
  font-size: 0.86rem;
}

.pending-bonus-list article small {
  color: #7a8798;
  font-size: 0.78rem;
}

.pending-bonus-list article .button.secondary {
  color: #0b4fd8;
  background: #eef5ff;
  border-color: #9fc2ff;
  font-weight: 900;
}

.pending-bonus-list article .button.secondary:hover {
  color: #08368f;
  background: #deebff;
}

.bonus-use-form {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(160px, 0.6fr);
  align-items: start;
  gap: 12px;
  border: 1px solid #cad7e8;
  border-radius: 12px;
  padding: 14px;
  background: #f8fbff;
}

.bonus-use-highlight {
  border-color: #9fc2ff;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 214, 10, 0.2), transparent 9rem),
    linear-gradient(135deg, #f8fbff, #f1f7ff);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.bonus-use-intro {
  grid-column: 1 / -1;
  display: grid;
  gap: 3px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 12px;
  color: #102033;
  background: #eff6ff;
}

.bonus-use-intro strong {
  color: #0b4fd8;
  font-size: 1rem;
  font-weight: 1000;
}

.bonus-use-intro span {
  color: #42526a;
  font-size: 0.86rem;
}

.bonus-quantity-help {
  display: block;
  margin-top: -2px;
  color: #526174;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.15;
}

#usar-rifas-bonus .field {
  gap: 6px;
}

#usar-rifas-bonus select,
#usar-rifas-bonus #bonusQuantityInput {
  min-height: 60px;
}

#usar-rifas-bonus .bonus-quantity-field {
  align-self: stretch;
}

.bonus-quantity-notice {
  grid-column: 1 / -1;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 10px 12px;
  color: #173456;
  background: #eff6ff;
  font-size: 0.86rem;
  font-weight: 800;
}

.bonus-quantity-notice.success {
  border-color: #86efac;
  color: #065f46;
  background: #ecfdf5;
}

.bonus-quantity-notice.warning {
  border-color: #fbbf24;
  color: #7c2d12;
  background: #fff7ed;
}

.bonus-use-form label,
.wallet-actions-grid .bonus-use-form label,
.prize-claim-form label {
  color: #102033;
}

.bonus-use-form input,
.bonus-use-form select,
.bonus-use-form textarea,
.wallet-actions-grid .bonus-use-form input,
.wallet-actions-grid .bonus-use-form select,
.wallet-actions-grid .bonus-use-form textarea,
.prize-claim-form input,
.prize-claim-form select,
.prize-claim-form textarea {
  border-color: #cfd9e8;
  color: #102033;
  background: #fff;
}

.bonus-use-form input::placeholder,
.bonus-use-form textarea::placeholder,
.wallet-actions-grid .bonus-use-form input::placeholder,
.wallet-actions-grid .bonus-use-form textarea::placeholder,
.prize-claim-form input::placeholder,
.prize-claim-form textarea::placeholder {
  color: #64748b;
}

.bonus-use-form input:disabled,
.bonus-use-form textarea:disabled,
.wallet-actions-grid .bonus-use-form input:disabled,
.wallet-actions-grid .bonus-use-form textarea:disabled {
  color: #475569;
  background: #eef4fb;
  -webkit-text-fill-color: #475569;
  opacity: 1;
}

.bonus-use-form .muted,
.bonus-use-form small,
.wallet-actions-grid .bonus-use-form .muted,
.wallet-actions-grid .bonus-use-form small {
  color: #526174;
}

.bonus-use-form .bonus-auto-choice,
.bonus-use-form .bonus-manual-numbers,
.bonus-use-form .bonus-number-picker-toggle,
.bonus-use-form .bonus-number-batch-panel,
.bonus-use-form .button {
  grid-column: 1 / -1;
}

.bonus-number-picker-toggle {
  margin-top: 2px;
}

.bonus-number-batch-panel {
  padding: 10px;
  border: 1px solid rgba(255, 204, 51, 0.26);
  border-radius: 14px;
  background: #07150d;
}

.bonus-number-batch-panel .numbers-grid {
  max-height: 430px;
}

.bonus-auto-choice {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #102033;
  font-weight: 900;
}

.bonus-auto-choice input {
  width: 20px;
  height: 20px;
  accent-color: #1768e8;
}

.bonus-entry-history {
  display: grid;
  gap: 8px;
}

.bonus-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bonus-entry-history h3 {
  margin: 2px 0 4px;
  color: #f8fff9;
  font-size: 1rem;
}

.bonus-history-head span {
  color: #9fb0c6;
  font-size: 0.76rem;
  font-weight: 850;
}

.bonus-history-more {
  width: max-content;
  min-height: 36px;
  padding: 0 14px;
  color: #0b4fd8;
  background: #eef5ff;
  border-color: #9fc2ff;
  font-size: 0.82rem;
  font-weight: 900;
}

.customer-bonus-page {
  color: #f8fff9;
}

.bonus-open-hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 93, 0.28);
  border-radius: 16px;
  padding: 22px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 214, 10, 0.22), transparent 14rem),
    radial-gradient(circle at 12% 78%, rgba(34, 197, 94, 0.22), transparent 13rem),
    linear-gradient(135deg, #07110e, #10243f 54%, #06100c);
  box-shadow: 0 18px 52px rgba(2, 6, 12, 0.28);
}

.bonus-open-kicker {
  width: max-content;
  display: inline-flex;
  border: 1px solid rgba(255, 214, 93, 0.58);
  border-radius: 999px;
  padding: 5px 12px;
  color: #fff7a8;
  background: rgba(255, 214, 93, 0.12);
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.bonus-open-hero h1 {
  max-width: 760px;
  margin: 12px 0 8px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.bonus-open-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

.bonus-open-score {
  min-width: 210px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.bonus-open-score strong {
  color: #ffd60a;
  font-size: 2.7rem;
  line-height: 1;
}

.bonus-open-score span {
  font-weight: 1000;
}

.bonus-open-score small {
  color: rgba(255, 255, 255, 0.72);
}

.bonus-open-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.bonus-open-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 18px;
  color: #102033;
  background:
    radial-gradient(circle at 92% 0%, rgba(23, 104, 232, 0.14), transparent 9rem),
    #f8fbff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.bonus-open-card.chest {
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 214, 10, 0.2), transparent 9rem),
    #f7fff8;
}

.bonus-open-card .pending-bonus-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #1768e8, #6148e8);
  font-size: 1.7rem;
  font-weight: 1000;
  box-shadow: 0 16px 26px rgba(23, 104, 232, 0.2);
}

.bonus-open-card.chest .pending-bonus-icon {
  background: linear-gradient(135deg, #16a34a, #f5b700);
  box-shadow: 0 16px 26px rgba(22, 163, 74, 0.18);
}

.bonus-open-card div {
  display: grid;
  gap: 5px;
}

.bonus-open-card strong {
  color: #071426;
  font-size: 1.1rem;
  font-weight: 1000;
}

.bonus-open-card p {
  margin: 0;
  color: #334155;
}

.bonus-open-card b {
  color: #0b4fd8;
}

.bonus-open-card small {
  color: #64748b;
  font-weight: 800;
}

.bonus-open-card > .button {
  min-width: 126px;
  color: #041008;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.bonus-open-card.chest > .button.secondary {
  border-color: rgba(22, 163, 74, 0.28);
  color: #052e16;
  background: linear-gradient(135deg, #bbf7d0, #facc15);
}

.bonus-open-card > .button:disabled {
  opacity: 1;
  border-color: rgba(148, 163, 184, 0.42);
  color: #334155;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  box-shadow: none;
  cursor: not-allowed;
}

.bonus-open-card.chest > .button:disabled {
  border-color: rgba(22, 163, 74, 0.26);
  color: #14532d;
  background: linear-gradient(135deg, #dcfce7, #fef3c7);
}

.bonus-open-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.profile-page {
  color: #f8fff9;
}

.profile-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 214, 93, 0.24);
  border-radius: 16px;
  padding: 20px;
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 214, 10, 0.18), transparent 13rem),
    linear-gradient(135deg, #07110e, #10243f 58%, #06100c);
  box-shadow: 0 18px 52px rgba(2, 6, 12, 0.24);
}

.profile-hero > span {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  flex: 0 0 68px;
  border-radius: 20px;
  color: #041008;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  font-size: 1rem;
  font-weight: 1000;
}

.profile-hero div {
  min-width: 0;
  flex: 1;
}

.profile-hero small {
  display: block;
  color: #fff7a8;
  font-size: 0.76rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.profile-hero h1 {
  margin: 4px 0 2px;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.profile-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.profile-tabs {
  display: flex;
  gap: 8px;
  margin: 16px 0;
  overflow-x: auto;
}

.profile-tabs button {
  min-height: 42px;
  border: 1px solid #cfd8e6;
  border-radius: 999px;
  padding: 0 16px;
  color: #102033;
  background: #f8fbff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 950;
  white-space: nowrap;
  cursor: pointer;
}

.profile-tabs button.active {
  border-color: #16a34a;
  color: #041008;
  background: linear-gradient(135deg, #bbf7d0, #ffd94d);
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.16);
}

.profile-panel {
  display: grid;
  gap: 14px;
}

.profile-panel[hidden] {
  display: none;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 14px;
}

.profile-card {
  border: 1px solid #cfd8e6;
  border-radius: 14px;
  padding: 16px;
  color: #102033;
  background: #f8fbff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.profile-card h2,
.profile-section-title h2 {
  margin: 0;
  color: #071426;
  font-size: 1.15rem;
  font-weight: 1000;
}

.profile-notification-card {
  grid-column: 1 / -1;
}

.notification-preferences {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.notification-toggle-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  padding: 13px 14px;
  background: #fff;
}

.notification-toggle-row strong {
  display: block;
  margin-bottom: 4px;
  color: #071426;
  font-weight: 950;
}

.notification-toggle-row span {
  color: #526174;
  font-size: .9rem;
}

.notification-toggle-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--btn-primary-bg, var(--primary));
}

.notification-device-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.notification-preference-status {
  display: block;
  min-height: 20px;
  margin-top: 10px;
  color: #0f766e;
  font-weight: 900;
}

.profile-data-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

.profile-data-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e3ebf4;
  padding-bottom: 8px;
}

.profile-data-list dt {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 850;
}

.profile-data-list dd {
  margin: 0;
  color: #071426;
  font-weight: 950;
  text-align: right;
}

.profile-balance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.profile-balance-grid div {
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.profile-balance-grid strong {
  display: block;
  color: #12a150;
  font-size: 1.15rem;
  font-weight: 1000;
}

.profile-balance-grid span,
.profile-card p,
.profile-section-title p {
  color: #526174;
  font-size: 0.86rem;
}

.profile-actions,
.profile-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-actions {
  justify-content: flex-end;
}

.profile-section-title {
  border: 1px solid #cfd8e6;
  border-radius: 14px;
  padding: 16px;
  color: #102033;
  background: #f8fbff;
}

.profile-section-title p {
  margin: 4px 0 0;
}

.profile-withdrawal-list {
  display: grid;
  gap: 10px;
}

.profile-withdrawal-list article {
  display: grid;
  gap: 5px;
  border: 1px solid #cfd8e6;
  border-radius: 12px;
  padding: 14px;
  color: #102033;
  background: #f8fbff;
}

.profile-withdrawal-list strong {
  color: #071426;
  font-size: 1.2rem;
  font-weight: 1000;
}

.profile-withdrawal-list p,
.profile-withdrawal-list small,
.profile-withdrawal-list em {
  margin: 0;
  color: #526174;
}

.profile-withdrawal-list em {
  border-radius: 8px;
  padding: 8px 10px;
  background: #eff6ff;
  font-style: normal;
  font-weight: 800;
}

.wallet-list div {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #cfd8e6;
  border-radius: 8px;
  padding: 10px 12px;
  color: #102033;
  background: #f7fbff;
}

.wallet-list strong {
  color: #438609;
}

.wallet-list span {
  font-weight: 800;
}

.wallet-list small {
  color: #475569;
}

.wallet-section {
  border-top: 1px solid #cfd8e6;
  padding-top: 14px;
}

.bonus-hub .wallet-section {
  border-top-color: #cfd8e6;
}

.wallet-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.wallet-actions-grid .bonus-use-form {
  grid-template-columns: 1fr;
  align-content: start;
}

.wallet-estimate {
  grid-column: 1 / -1;
  color: #1768e8;
  font-weight: 900;
}

.success-pop {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: grid;
  place-items: center;
  padding: 18px;
}

.success-pop-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 8, 7, 0.72);
  backdrop-filter: blur(4px);
}

.success-pop-dialog {
  position: relative;
  width: min(460px, 100%);
  display: grid;
  gap: 12px;
  border: 1px solid rgba(23, 201, 100, 0.4);
  border-radius: 16px;
  padding: 24px;
  color: #102033;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.success-pop-dialog strong {
  color: #07863b;
  font-size: 1.25rem;
  font-weight: 900;
}

.success-pop-dialog p {
  margin: 0;
  color: #475569;
  line-height: 1.45;
}

.success-pop-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid #dce5ef;
  border-radius: 999px;
  color: #102033;
  background: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 900;
}

.prize-claim-item {
  display: grid;
  gap: 12px;
  border: 1px solid #cad7e8;
  border-radius: 14px;
  padding: 14px;
  color: #102033;
  background: #f8fbff;
}

.prize-claim-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.prize-claim-head div {
  display: grid;
  gap: 4px;
}

.prize-claim-head strong {
  font-size: 1.04rem;
  font-weight: 900;
}

.prize-claim-head span {
  color: #475569;
  font-size: 0.86rem;
}

.prize-claim-head b {
  color: #438609;
  white-space: nowrap;
}

.prize-claim-form {
  display: grid;
  gap: 12px;
}

.claim-product-fields,
.claim-cash-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.claim-cash-fields p {
  grid-column: 1 / -1;
  margin: 0;
}

.prize-track-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.92fr);
  gap: 12px;
}

.prize-track-grid > div {
  display: grid;
  align-content: start;
  gap: 7px;
  border: 1px solid #cfd8e6;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.prize-track-grid strong {
  color: #102033;
  font-weight: 900;
}

.prize-track-grid small {
  color: #475569;
  line-height: 1.42;
}

.winner-page {
  padding: 28px 0 46px;
}

.winner-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 204, 51, 0.28);
  border-radius: 18px;
  padding: 24px;
  color: #f8fff9;
  background:
    linear-gradient(135deg, rgba(255, 204, 51, 0.16), rgba(23, 201, 100, 0.12)),
    rgba(8, 26, 18, 0.92);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.winner-hero span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  color: #111506;
  background: linear-gradient(135deg, #ffdf52, #17c964);
  font-size: 0.74rem;
  font-weight: 950;
}

.winner-hero h1 {
  margin: 12px 0 8px;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1.02;
}

.winner-hero p {
  max-width: 760px;
  margin: 0;
  color: #c9d8cc;
  font-weight: 650;
}

.winner-card {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 20px;
  color: #f8fff9;
  background: rgba(8, 26, 18, 0.92);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.2);
}

.winner-card + .winner-card {
  margin-top: 18px;
}

.winner-prize-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.winner-prize-head span {
  color: #9edfbf;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.winner-prize-head h2 {
  margin: 4px 0;
  color: #fff;
  font-size: 1.55rem;
}

.winner-prize-head p {
  margin: 0;
  color: #b9c8be;
}

.winner-prize-head > strong {
  color: #a9ff5e;
  font-size: 1.2rem;
  white-space: nowrap;
}

.winner-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.winner-steps article {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.winner-steps b {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #101506;
  background: #ffcc33;
}

.winner-steps span {
  color: #fff;
  font-weight: 900;
}

.winner-steps small {
  color: #b9c8be;
  line-height: 1.35;
}

.winner-claim-form {
  display: grid;
  gap: 14px;
}

.winner-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.winner-choice-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.winner-choice-card:has(input:checked) {
  border-color: #ffcc33;
  background: rgba(255, 204, 51, 0.12);
}

.winner-choice-card input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: #ffcc33;
}

.winner-choice-card span,
.winner-choice-card small {
  grid-column: 2;
}

.winner-choice-card span {
  font-weight: 950;
}

.winner-choice-card small {
  color: #c8d6cc;
  line-height: 1.36;
}

.winner-choice-note,
.winner-confirm-note,
.winner-panel-copy {
  border: 1px solid rgba(255, 204, 51, 0.24);
  border-radius: 14px;
  padding: 13px;
  color: #f8fff9;
  background: rgba(255, 204, 51, 0.08);
}

.winner-choice-note strong,
.winner-confirm-note strong,
.winner-panel-copy strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-weight: 950;
}

.winner-choice-note p,
.winner-confirm-note p,
.winner-panel-copy p {
  margin: 0;
  color: #c8d6cc;
  line-height: 1.42;
}

.winner-form-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.winner-form-panel[hidden] {
  display: none;
}

.winner-panel-copy,
.winner-confirm-note {
  grid-column: 1 / -1;
}

.winner-form-panel label {
  color: #f8fff9;
}

.winner-form-panel input,
.winner-form-panel select {
  border-color: rgba(255, 255, 255, 0.18);
  color: #102033;
  background: #fff;
}

.winner-submit {
  min-height: 52px;
}

.winner-empty {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.winner-empty strong {
  color: #fff;
  font-size: 1.2rem;
}

.winner-empty p {
  margin: 0;
  color: #c8d6cc;
}

.winner-bonus-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.winner-bonus-list article {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(154, 255, 127, 0.24);
  border-radius: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.winner-bonus-list strong,
.winner-bonus-list span,
.winner-bonus-list small {
  display: block;
}

.winner-bonus-list strong {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 950;
}

.winner-bonus-list span {
  color: #dce8f3;
  font-size: 0.82rem;
  font-weight: 750;
}

.winner-bonus-list small {
  color: #a8b9c9;
  font-size: 0.76rem;
  font-weight: 650;
}

.checkout-community {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.whatsapp-bubble {
  width: 92px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #2fc45d;
  font-size: 2rem;
}

.checkout-details {
  padding: 10px 0 22px;
}

.checkout-details h2 {
  padding: 0 14px;
}

.checkout-product,
.checkout-buyer,
.checkout-numbers {
  margin: 8px;
  border-radius: 10px;
  padding: 14px 24px;
  background: #fff;
}

.checkout-product {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 10px;
}

.checkout-product img {
  width: 130px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}

.checkout-product span,
.checkout-buyer p {
  color: #475467;
  font-size: 0.84rem;
}

.checkout-buyer h3,
.checkout-numbers h3 {
  color: #172337;
}

.checkout-buyer p {
  margin-bottom: 8px;
}

.green {
  color: #438609;
}

.blue {
  color: #1768e8;
}

.checkout-number-list {
  max-height: 220px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: auto;
  padding-right: 8px;
}

.checkout-number-list span {
  border-radius: 5px;
  padding: 7px 9px;
  color: #06182d;
  background: #f4f7fb;
  font-size: 0.82rem;
}

.checkout-actions {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 16px;
}

.post-offer-modal[hidden] {
  display: none;
}

.post-offer-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 14px;
}

.post-offer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.66);
  cursor: pointer;
}

.post-offer-dialog {
  position: relative;
  width: min(492px, 100%);
  overflow: visible;
  border-radius: 0 0 16px 16px;
  color: #1768e8;
  background: #fff;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.post-offer-close {
  position: absolute;
  top: -12px;
  right: -14px;
  z-index: 2;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  color: #e59c14;
  background: #eef2f7;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.post-offer-head {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 8px 8px 0 0;
  color: #fff;
  background: #1d6ee9;
  font-size: 1.18rem;
  font-weight: 900;
}

.post-offer-head span {
  font-size: 1.5rem;
}

.post-offer-body {
  padding: 20px 28px 26px;
  text-align: center;
}

.post-offer-timer {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 16px;
  border: 1px solid #f2c767;
  border-radius: 999px;
  padding: 7px 12px;
  color: #7a4700;
  background: #fff7dc;
  font-size: 0.82rem;
  font-weight: 900;
}

.post-offer-timer strong {
  color: #166b08;
}

.post-offer-featured {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 14px;
  border-radius: 999px;
  padding: 7px 12px;
  color: #fff;
  background: #c52b20;
  font-size: 0.78rem;
  font-weight: 900;
}

.post-offer-body h2 {
  margin: 0 0 22px;
  color: #1768e8;
  font-size: 1.48rem;
  line-height: 1.12;
  text-align: left;
  text-transform: uppercase;
}

.post-offer-price-card {
  width: min(264px, 100%);
  margin: 0 auto 24px;
  border: 1px solid #b8b8b8;
  border-radius: 22px;
  padding: 18px 18px 16px;
  color: #111;
  background: #e7e7e7;
  text-align: left;
}

.post-offer-price-card p {
  margin: 0 0 8px;
  color: #111;
  font-size: 1rem;
}

.post-offer-price-card s {
  font-weight: 900;
}

.post-offer-price-card span {
  display: block;
  color: #1768e8;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
}

.post-offer-price-card strong {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: -4px 0 14px;
  color: #1768e8;
  font-size: 4.7rem;
  line-height: .9;
  letter-spacing: 0;
}

.post-offer-price-card small {
  font-size: 2.05rem;
}

.post-offer-price-card sup {
  top: auto;
  font-size: 2rem;
  line-height: 1;
}

.post-offer-price-card em {
  display: block;
  margin-top: 14px;
  color: #1768e8;
  font-size: 1.04rem;
  font-style: normal;
  font-weight: 900;
}

.post-offer-accept {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(180deg, #ebb02a, #d79614);
  font-size: 0.98rem;
  font-weight: 900;
  cursor: pointer;
}

.post-offer-decline {
  margin-top: 18px;
  border: 0;
  color: #1768e8;
  background: transparent;
  font-size: 0.98rem;
  font-weight: 900;
  cursor: pointer;
}

.customer-offers-page {
  color: #102033;
  background: #eef2f7;
}

.customer-offers-page .section-title h2 {
  color: #102033;
}

.customer-offers-page .badge {
  color: #102033;
  background: #dfe8f5;
}

.customer-offers-page .badge.warning {
  color: #6d4a00;
  background: #fff0bd;
}

.customer-offers-hero {
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid rgba(23, 201, 100, 0.22);
  background:
    radial-gradient(circle at 90% 12%, rgba(23, 201, 100, 0.2), transparent 28%),
    linear-gradient(135deg, #07150d, #18331f);
  color: #fff;
}

.customer-offers-hero .eyebrow {
  color: #9bff9a;
}

.customer-offers-hero h1 {
  margin: 8px 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.customer-offers-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.customer-offers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.customer-offer-card {
  display: grid;
  gap: 14px;
  border: 1px solid #dce4ef;
  border-radius: 14px;
  padding: 18px;
  color: #102033;
  background: #fff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.customer-offer-card.active {
  border-color: rgba(23, 201, 100, 0.42);
}

.customer-offer-card.expired {
  opacity: 1;
  background: #f8fafc;
}

.customer-offer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.customer-offer-top span,
.customer-offer-card p,
.customer-offer-value span,
.customer-offer-value small {
  color: #4b5f78;
  font-size: 0.86rem;
}

.customer-offer-top b {
  border-radius: 999px;
  padding: 5px 9px;
  color: #fff;
  background: #15b86c;
  font-size: 0.76rem;
}

.customer-offer-card.expired .customer-offer-top b {
  background: #94a3b8;
}

.customer-offer-card h3 {
  margin: 0;
  color: #07172d;
  font-size: 1.22rem;
  line-height: 1.2;
}

.customer-offer-card p {
  margin: -8px 0 0;
}

.customer-offer-value {
  color: #102033;
  border-radius: 12px;
  padding: 14px;
  background: #f3f7ef;
}

.customer-offer-value span,
.customer-offer-value small {
  display: block;
}

.customer-offer-value strong {
  display: block;
  margin: 3px 0;
  color: #2c7204;
  font-size: 1.58rem;
  line-height: 1;
}

.customer-offer-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-offer-benefits span {
  border-radius: 999px;
  padding: 7px 10px;
  color: #036b42;
  background: #d9f8e9;
  font-size: 0.82rem;
  font-weight: 900;
}

.customer-offer-card .button.secondary {
  color: #102033;
  background: #eef4fb;
  border-color: #cfd9e8;
}

.customer-offer-card .button.secondary:hover {
  color: #07172d;
  background: #dfe9f7;
}

.customer-offers-page .notice.warning {
  color: #6d4a00;
  background: #fff8df;
  border-color: #efc552;
}

.customer-offers-page .notice.success {
  color: #065f46;
  background: #ecfdf5;
  border-color: #86efac;
}

.customer-offers-page .notice.error {
  color: #8a1020;
  background: #fff1f2;
  border-color: #fda4af;
}

.notice {
  margin-bottom: 16px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #eaf8ef;
  background: rgba(255, 255, 255, 0.08);
}

.notice.success { border-color: rgba(23, 201, 100, 0.45); background: rgba(23, 201, 100, 0.13); }
.notice.error { border-color: rgba(255, 90, 95, 0.45); background: rgba(255, 90, 95, 0.13); }
.notice.warning { border-color: rgba(255, 204, 51, 0.45); background: rgba(255, 204, 51, 0.13); }
.notice.info { border-color: rgba(59, 130, 246, 0.36); background: rgba(59, 130, 246, 0.12); }

.bonus-hub .notice.success,
.prize-claims-card .notice.success {
  color: #065f46;
  background: #ecfdf5;
  border-color: #86efac;
}

.bonus-hub .notice.warning,
.prize-claims-card .notice.warning {
  color: #6d4a00;
  background: #fff8df;
  border-color: #efc552;
}

.bonus-hub .notice.error,
.prize-claims-card .notice.error {
  color: #8a1020;
  background: #fff1f2;
  border-color: #fda4af;
}

.checkout-family .notice.warning {
  color: #6d4a00;
  background: #fff8df;
  border-color: #efc552;
}

.checkout-family .notice.error {
  color: #8a1020;
  background: #fff0f1;
  border-color: #f7a8ae;
}

.checkout-family .notice.success {
  color: #0d5f33;
  background: #eafff1;
  border-color: #7ee3a3;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #d9e8df;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.public-numbers-cell {
  min-width: 150px;
}

.public-numbers-summary {
  width: 100%;
  min-height: 54px;
  display: grid;
  justify-items: start;
  gap: 3px;
  border: 1px solid rgba(101, 183, 255, 0.42);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(101, 183, 255, 0.08);
  text-align: left;
  cursor: pointer;
}

.public-numbers-summary:hover {
  border-color: rgba(101, 183, 255, 0.72);
  background: rgba(101, 183, 255, 0.14);
}

.public-numbers-summary strong {
  color: #f8fff9;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
}

.public-numbers-summary span {
  color: #9ed0ff;
  font-size: 0.76rem;
  font-weight: 800;
}

.public-numbers-modal[hidden] {
  display: none;
}

.public-numbers-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 16px;
}

.public-numbers-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 8, 7, 0.74);
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.public-numbers-dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  padding: 22px;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 0%, rgba(23, 201, 100, 0.14), transparent 18rem),
    linear-gradient(145deg, #0b1712, #07100d);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}

.public-numbers-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
}

.public-numbers-dialog h2 {
  margin: 0 46px 6px 0;
  color: var(--text);
  font-size: 1.24rem;
}

.public-numbers-dialog p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.public-numbers-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 12px;
}

.public-numbers-toolbar strong {
  color: #f8fff9;
  font-size: 1rem;
}

.public-numbers-toolbar div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.public-numbers-list {
  max-height: min(58vh, 520px);
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.public-numbers-list span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 3px 7px;
  color: #f7fff9;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.muted {
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--muted);
  background: #060b09;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.mobile-bottom-nav,
.mobile-more-panel {
  display: none;
}

.social-float {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 94;
  display: grid;
  gap: 10px;
}

.social-float-button {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--combo-border-featured, var(--gold)) 72%, rgba(255, 255, 255, .28));
  border-radius: 999px;
  color: var(--btn-primary-text, #fff);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, .34), transparent 34%),
    linear-gradient(135deg, var(--btn-primary-bg, var(--primary)), var(--combo-border-featured, var(--gold)));
  box-shadow: 0 16px 34px color-mix(in srgb, var(--btn-primary-bg, var(--primary)) 28%, rgba(0, 0, 0, .26));
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.social-float-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 20px 42px color-mix(in srgb, var(--btn-primary-bg, var(--primary)) 34%, rgba(0, 0, 0, .32));
}

.social-float-button svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.admin-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 258px 1fr;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  background: #08100c;
}

.admin-nav {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.admin-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-radius: 8px;
  color: #dce9e1;
  font-weight: 800;
}

.admin-nav a.active,
.admin-nav a:hover {
  background: rgba(23, 201, 100, 0.14);
  color: #8af5b6;
}

.admin-main {
  min-width: 0;
}

.admin-top {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 13, 0.78);
  backdrop-filter: blur(14px);
}

.admin-content {
  padding: 28px;
}

.admin-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.admin-title h1 {
  margin: 0;
  font-size: 1.7rem;
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(460px, 100%);
}

html[data-admin-theme="dark"] .admin-page {
  --admin-bg: #0c1424;
  --admin-bg-soft: #10192b;
  --admin-sidebar: #0f182a;
  --admin-panel: #111b2e;
  --admin-panel-2: #162238;
  --admin-text: #f8fbff;
  --admin-muted: #9faec5;
  --admin-line: rgba(162, 179, 207, 0.18);
  --admin-shadow: 0 22px 55px rgba(0, 0, 0, 0.24);
  --admin-field: rgba(255, 255, 255, 0.055);
  --admin-field-text: #f8fbff;
  --admin-badge-bg: rgba(148, 163, 184, 0.16);
  --admin-badge-text: #f8fbff;
  --admin-badge-line: rgba(162, 179, 207, 0.24);
}

html[data-admin-theme="light"] .admin-page {
  --admin-bg: #eef3f9;
  --admin-bg-soft: #e7eef7;
  --admin-sidebar: #f7fbff;
  --admin-panel: #ffffff;
  --admin-panel-2: #eef5fc;
  --admin-text: #101827;
  --admin-muted: #475569;
  --admin-line: rgba(15, 23, 42, 0.18);
  --admin-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  --admin-field: #f8fbff;
  --admin-field-text: #151d2f;
  --admin-badge-bg: #e7edf6;
  --admin-badge-text: #172337;
  --admin-badge-line: #c7d2e2;
}

.admin-page {
  font-family: "Be Vietnam Pro", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 0.812rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--admin-text);
  background:
    radial-gradient(circle at 82% 0%, rgba(76, 81, 255, 0.14), transparent 28rem),
    linear-gradient(180deg, var(--admin-bg) 0%, var(--admin-bg-soft) 100%);
}

.admin-page .muted {
  color: var(--admin-muted);
}

.admin-page .card,
.admin-panel {
  border: 1px solid var(--admin-line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--admin-panel) 94%, transparent);
  box-shadow: var(--admin-shadow);
}

html[data-admin-theme="light"] .admin-page .card,
html[data-admin-theme="light"] .admin-panel {
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.admin-page .card-body {
  padding: 24px;
}

.admin-page .button {
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #3f7df4, #6148e8);
  box-shadow: 0 10px 24px rgba(77, 79, 235, 0.24);
}

.admin-page .button:hover {
  background: linear-gradient(135deg, #4b86ff, #6a54ff);
}

.admin-page .button.secondary {
  color: var(--admin-text);
  background: var(--admin-field);
  border-color: var(--admin-line);
  box-shadow: none;
}

.admin-page .button.gold {
  color: #fff;
  background: linear-gradient(135deg, #466efa, #6045e7);
}

.admin-page label,
.admin-page th {
  color: var(--admin-text);
}

.admin-page input,
.admin-page select,
.admin-page textarea {
  color: var(--admin-field-text);
  background: var(--admin-field);
  border-color: var(--admin-line);
}

html[data-admin-theme="light"] .admin-page input,
html[data-admin-theme="light"] .admin-page select,
html[data-admin-theme="light"] .admin-page textarea {
  border-color: rgba(15, 23, 42, 0.22);
  background: #fff;
}

.admin-page table {
  color: var(--admin-text);
}

.admin-page td,
.admin-page th {
  border-bottom-color: var(--admin-line);
}

.admin-page .notice {
  color: var(--admin-text);
  background: var(--admin-panel);
  border-color: var(--admin-line);
}

.admin-page .notice.info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e3a8a;
}

.admin-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 246px 1fr;
  background: transparent;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: 16px 7px 12px;
  border-right: 1px solid var(--admin-line);
  background: color-mix(in srgb, var(--admin-sidebar) 94%, transparent);
  backdrop-filter: blur(18px);
}

.admin-logo {
  min-height: 72px;
  display: grid;
  align-content: center;
  justify-items: center;
  color: #3e6cff;
  line-height: 0.82;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

html[data-admin-theme="dark"] .admin-logo {
  color: #fff;
}

.admin-logo strong,
.admin-logo span {
  display: block;
  font-size: 2.72rem;
  font-weight: 900;
}

.admin-logo span {
  transform: skewX(-10deg);
}

.admin-logo.has-image {
  gap: 7px;
  padding: 8px 4px;
  color: var(--admin-text);
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: none;
}

.admin-logo.has-image img {
  display: block;
  max-width: 142px;
  max-height: 52px;
  object-fit: contain;
}

.admin-logo.has-image span {
  max-width: 170px;
  color: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  text-align: center;
  text-transform: none;
  transform: none;
}

.admin-notice-card {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  padding: 14px 20px;
  background: color-mix(in srgb, var(--admin-panel-2) 88%, #14c58b 12%);
}

.admin-notice-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: #12c48a;
  font-weight: 900;
}

.admin-notice-card strong,
.admin-notice-card a {
  display: block;
}

.admin-notice-card a {
  margin-top: 4px;
  color: #12c48a;
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-nav {
  display: grid;
  align-content: start;
  gap: 7px;
  margin: 0;
  overflow: auto;
  padding-right: 4px;
}

.admin-nav a {
  --nav-accent: #64748b;
  --nav-accent-strong: #3f7df4;
  min-height: 54px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  padding: 0 16px;
  color: var(--admin-muted);
  font-weight: 850;
}

.admin-nav a[data-nav-key="dashboard"] {
  --nav-accent: #3f7df4;
  --nav-accent-strong: #2563eb;
}

.admin-nav a[data-nav-key="raffles"] {
  --nav-accent: #f59e0b;
  --nav-accent-strong: #d97706;
}

.admin-nav a[data-nav-key="orders"] {
  --nav-accent: #14b8a6;
  --nav-accent-strong: #0f9488;
}

.admin-nav a[data-nav-key="participants"] {
  --nav-accent: #06b6d4;
  --nav-accent-strong: #0891b2;
}

.admin-nav a[data-nav-key="draw"],
.admin-nav a[data-nav-key="prize_claims"] {
  --nav-accent: #8b5cf6;
  --nav-accent-strong: #6d28d9;
}

.admin-nav a[data-nav-key="coupons"] {
  --nav-accent: #ef4444;
  --nav-accent-strong: #dc2626;
}

.admin-nav a[data-nav-key="combos"] {
  --nav-accent: #6366f1;
  --nav-accent-strong: #4f46e5;
}

.admin-nav a[data-nav-key="affiliates"] {
  --nav-accent: #22c55e;
  --nav-accent-strong: #16a34a;
}

.admin-nav a[data-nav-key="bonus"] {
  --nav-accent: #ec4899;
  --nav-accent-strong: #db2777;
}

.admin-nav a[data-nav-key="notifications"] {
  --nav-accent: #f97316;
  --nav-accent-strong: #ea580c;
}

.admin-nav a[data-nav-key="withdrawals"],
.admin-nav a[data-nav-key="payments"] {
  --nav-accent: #10b981;
  --nav-accent-strong: #059669;
}

.admin-nav a[data-nav-key="settings"] {
  --nav-accent: #94a3b8;
  --nav-accent-strong: #64748b;
}

.admin-nav a.active,
.admin-nav a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--nav-accent), var(--nav-accent-strong));
  box-shadow: 0 14px 28px color-mix(in srgb, var(--nav-accent) 28%, transparent);
}

.admin-nav a small {
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 7px;
  color: #fff;
  background: #13c58b;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.admin-nav-badge {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  padding: 0 7px;
  color: #fff;
  background: #ef4444;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.28);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
}

.admin-nav a.active .admin-nav-badge,
.admin-nav a:hover .admin-nav-badge {
  color: var(--nav-accent-strong);
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.admin-nav-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--nav-accent) 24%, transparent);
  border-radius: 10px;
  color: var(--nav-accent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--nav-accent) 20%, transparent), color-mix(in srgb, var(--nav-accent-strong) 7%, transparent));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.admin-nav a.active .admin-nav-icon,
.admin-nav a:hover .admin-nav-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.admin-nav-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-user-card {
  display: grid;
  grid-template-columns: 50px 1fr 40px 40px;
  align-items: center;
  gap: 10px;
  border-radius: 18px;
  padding: 10px;
  background: color-mix(in srgb, var(--admin-panel-2) 92%, transparent);
}

.admin-avatar {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #5147e8, #6a55ff);
  font-size: 1.22rem;
  font-weight: 900;
}

.admin-user-card strong,
.admin-user-card small {
  display: block;
}

.admin-user-card small {
  margin-top: 3px;
  color: var(--admin-muted);
  font-size: 0.72rem;
}

.admin-theme-toggle,
.admin-user-logout {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: var(--admin-text);
  background: var(--admin-field);
  cursor: pointer;
}

html[data-admin-theme="dark"] [data-theme-icon="light"],
html[data-admin-theme="light"] [data-theme-icon="dark"] {
  display: none;
}

.admin-main {
  min-width: 0;
}

.admin-top {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 28px;
  border-bottom: 1px solid var(--admin-line);
  background: color-mix(in srgb, var(--admin-bg) 88%, transparent);
  backdrop-filter: blur(18px);
}

.admin-top > strong {
  color: var(--admin-text);
  font-size: 1.58rem;
  font-weight: 900;
}

.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-open-site {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--admin-line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--admin-text);
  background: color-mix(in srgb, var(--admin-panel) 84%, transparent);
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(18, 39, 72, 0.08);
}

.admin-open-site:hover {
  color: #fff;
  border-color: color-mix(in srgb, #3f7df4 42%, var(--admin-line));
  background: linear-gradient(135deg, #3f7df4, #6045e7);
}

.admin-open-site svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-rank {
  color: var(--admin-muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-goal {
  position: relative;
  min-width: 220px;
  min-height: 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--admin-line);
  border-radius: 999px;
  color: #fff;
  background: color-mix(in srgb, var(--admin-muted) 20%, transparent);
}

.admin-goal span {
  position: absolute;
  inset: 0 auto 0 0;
  min-width: 24px;
  border-radius: inherit;
  background: linear-gradient(90deg, #2fc78f, #3d7dfa);
}

.admin-goal b {
  position: relative;
  z-index: 1;
  font-size: 0.76rem;
}

html[data-admin-theme="light"] .admin-top {
  background: rgba(248, 251, 255, 0.94);
}

html[data-admin-theme="light"] .admin-goal {
  color: #172337;
  border-color: rgba(15, 23, 42, 0.22);
  background: #dbe3ef;
}

html[data-admin-theme="light"] .admin-goal b {
  color: #172337;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

html[data-admin-theme="light"] .summary-line,
html[data-admin-theme="light"] .checkout-summary-line,
html[data-admin-theme="light"] .admin-page td,
html[data-admin-theme="light"] .admin-page th {
  border-bottom-color: rgba(15, 23, 42, 0.16);
}

.admin-content {
  padding: 20px 32px 34px;
}

.admin-alert {
  width: min(672px, 100%);
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid color-mix(in srgb, #3f7df4 30%, var(--admin-line));
  border-radius: 6px;
  padding: 11px 14px;
  color: color-mix(in srgb, #74a7ff 72%, var(--admin-text));
  background: color-mix(in srgb, #3f7df4 7%, var(--admin-panel));
}

.admin-alert span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
}

.admin-alert p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
}

.combo-admin-form {
  margin-bottom: 20px;
}

.promotion-scope-panel {
  margin-bottom: 20px;
}

.promotion-scope-panel .section-title.compact {
  align-items: flex-start;
  margin-bottom: 16px;
}

.promotion-scope-panel .section-title.compact h2 {
  font-size: 1.15rem;
}

.promotion-scope-panel .section-title.compact p {
  margin: 5px 0 0;
  max-width: 780px;
  color: var(--admin-muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.promotion-scope-title-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.promotion-scope-title-actions .button {
  min-height: 38px;
  padding: 0 16px;
}

.combo-config-head {
  align-items: flex-start;
  margin-bottom: 16px;
}

.combo-config-head h2 {
  font-size: 1.15rem;
}

.combo-config-head p {
  margin: 5px 0 0;
  max-width: 760px;
  color: var(--admin-muted);
  font-size: 0.84rem;
  font-weight: 650;
}

.combo-config-actions {
  flex-wrap: wrap;
}

.combo-config-subsection {
  margin-top: 28px;
}

.combo-group-manager {
  margin-bottom: 22px;
}

.combo-group-switch {
  display: grid;
  gap: 6px;
  min-width: min(380px, 100%);
}

.combo-group-switch label {
  color: var(--admin-muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.combo-group-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid color-mix(in srgb, #13c58b 32%, var(--admin-line));
  border-radius: 16px;
  padding: 14px;
  background:
    radial-gradient(circle at 0 0, rgba(19, 197, 139, 0.12), transparent 13rem),
    color-mix(in srgb, var(--admin-panel-2) 78%, transparent);
}

.combo-group-summary strong {
  display: block;
  margin-top: 6px;
  color: var(--admin-text);
  font-size: 1rem;
}

.combo-group-summary p {
  margin: 4px 0 0;
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.combo-group-summary-actions,
.combo-group-save-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.combo-group-bulk-form {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.combo-inline-block {
  border: 1px solid var(--admin-line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--admin-panel) 88%, transparent);
  overflow: hidden;
}

.combo-inline-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--admin-line);
}

.combo-inline-title h3 {
  margin: 0;
  color: var(--admin-text);
  font-size: 0.98rem;
}

.combo-inline-title p {
  margin: 4px 0 0;
  color: var(--admin-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.combo-inline-scroll {
  overflow-x: auto;
}

.combo-inline-editor {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
}

.combo-inline-editor th,
.combo-inline-editor td {
  border-bottom: 1px solid var(--admin-line);
  padding: 9px 10px;
  vertical-align: top;
  text-align: left;
}

.combo-inline-editor th {
  color: var(--admin-muted);
  background: color-mix(in srgb, var(--admin-panel-2) 78%, transparent);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.combo-inline-editor td:first-child {
  width: 70px;
}

.combo-inline-editor input,
.combo-inline-editor select {
  min-height: 34px;
  padding: 7px 9px;
  font-size: 0.78rem;
}

.combo-inline-meta {
  display: block;
  margin-top: 4px;
  color: var(--admin-muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.combo-inline-editor td:first-child input {
  max-width: 58px;
}

.combo-inline-bonus {
  display: grid;
  min-width: 250px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.combo-inline-bonus label,
.mini-check {
  display: grid;
  gap: 4px;
  color: var(--admin-muted);
  font-size: 0.68rem;
  font-weight: 850;
}

.mini-check {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: var(--admin-text);
  white-space: nowrap;
}

.mini-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 16px;
  padding: 0;
}

.combo-group-empty-state {
  border: 1px dashed var(--admin-line);
  border-radius: 16px;
  padding: 18px;
  color: var(--admin-muted);
  background: color-mix(in srgb, var(--admin-panel-2) 64%, transparent);
}

.combo-group-empty-state strong {
  display: block;
  color: var(--admin-text);
}

.combo-group-empty-state p {
  margin: 6px 0 0;
  font-size: 0.82rem;
  font-weight: 700;
}

.combo-config-dialog {
  width: min(1120px, 100%);
}

.combo-config-dialog .combo-admin-form {
  margin-bottom: 0;
}

.combo-config-form-body {
  display: block;
}

.promotion-scope-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 24px;
}

.promotion-scope-modal.is-open {
  display: grid;
}

.promotion-scope-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 8, 18, 0.68);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.promotion-scope-dialog {
  position: relative;
  width: min(1040px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  border: 1px solid var(--admin-line);
  border-radius: 20px;
  padding: 20px;
  color: var(--admin-text);
  background: var(--admin-panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.promotion-scope-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.promotion-scope-dialog-head h2 {
  margin: 0;
  color: var(--admin-text);
  font-size: 1.18rem;
}

.promotion-scope-dialog-head p {
  margin: 4px 0 0;
  color: var(--admin-muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.promotion-scope-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  color: var(--admin-text);
  background: var(--admin-field);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.promotion-scope-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.promotion-scope-grid {
  align-items: end;
}

.promotion-scope-list select {
  min-height: 158px;
  padding: 10px;
}

.promotion-scope-list small,
.combo-admin-form .field small {
  color: var(--admin-muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.35;
}

.promotion-scope-transfer {
  border: 1px solid var(--admin-line);
  border-radius: 16px;
  padding: 14px;
  background: color-mix(in srgb, var(--admin-panel-2) 70%, transparent);
}

.promotion-scope-transfer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.promotion-scope-transfer-head strong {
  display: block;
  color: var(--admin-text);
  font-size: 0.95rem;
}

.promotion-scope-transfer-head small {
  display: block;
  margin-top: 2px;
  color: var(--admin-muted);
  font-weight: 700;
}

.promotion-transfer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.promotion-transfer-list {
  display: grid;
  gap: 7px;
}

.promotion-transfer-list select {
  min-height: 188px;
  padding: 10px;
}

.promotion-transfer-list option {
  padding: 6px 8px;
  color: var(--admin-field-text);
  background: var(--admin-field);
}

.promotion-transfer-list small {
  color: var(--admin-muted);
  font-size: 0.73rem;
  font-weight: 700;
}

.promotion-transfer-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.promotion-transfer-actions .button {
  min-width: 116px;
  min-height: 38px;
  white-space: nowrap;
}

.promotion-scope-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 420px));
  gap: 12px;
  margin-top: 18px;
  align-items: start;
}

.promotion-scope-card {
  position: relative;
  display: grid;
  gap: 12px;
  border: 1px solid var(--admin-line);
  border-radius: 16px;
  padding: 14px 14px 14px;
  background: color-mix(in srgb, var(--admin-panel-2) 78%, transparent);
}

.promotion-scope-status {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 26px;
  box-shadow: 0 10px 22px rgba(19, 197, 139, 0.18);
}

.promotion-scope-status.badge.success {
  color: #006b45;
  background: #bff8da;
}

.promotion-scope-status.badge.secondary {
  color: var(--admin-text);
  background: color-mix(in srgb, var(--admin-muted) 18%, var(--admin-panel));
}

.promotion-scope-card span,
.promotion-scope-card p,
.promotion-scope-card small {
  color: var(--admin-muted);
}

.promotion-scope-card strong {
  display: block;
  margin: 2px 0 4px;
  padding-right: 78px;
  color: var(--admin-text);
  font-size: 0.96rem;
}

.promotion-scope-card p,
.promotion-scope-card small {
  display: block;
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
}

.promotion-scope-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid var(--admin-line);
}

.promotion-scope-actions .button {
  min-height: 32px;
  padding: 0 12px;
}

.promotion-scope-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--admin-line);
  border-radius: 14px;
  padding: 16px;
  color: var(--admin-muted);
  background: color-mix(in srgb, var(--admin-panel-2) 58%, transparent);
  font-weight: 700;
}

.combo-admin-preview {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 14px;
  margin-top: 18px;
  border: 1px solid color-mix(in srgb, #13c58b 28%, var(--admin-line));
  border-radius: 18px;
  padding: 16px;
  background:
    radial-gradient(circle at 0 0, rgba(19, 197, 139, 0.14), transparent 12rem),
    color-mix(in srgb, var(--admin-panel) 92%, #13c58b);
}

.combo-admin-preview-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.combo-admin-preview-main > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff;
  background: #13c58b;
  font-size: 0.82rem;
  font-weight: 900;
}

.combo-admin-preview small,
.combo-admin-preview-values small {
  display: block;
  color: var(--admin-muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.combo-admin-preview strong {
  display: block;
  color: var(--admin-text);
}

.combo-admin-preview-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.combo-admin-preview-values > div {
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  padding: 10px;
  background: color-mix(in srgb, var(--admin-panel) 82%, transparent);
}

.combo-admin-preview-values strong {
  margin-top: 4px;
}

.combo-admin-preview-values > div:last-child strong {
  color: #13c58b;
}

.combo-admin-preview-benefits {
  grid-column: 1 / -1;
}

.combo-admin-preview-benefits > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.combo-admin-preview-benefits span {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  color: #078255;
  background: rgba(19, 197, 139, 0.16);
  font-size: 0.76rem;
  font-weight: 900;
}

.combo-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.combo-admin-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  padding: 18px;
  background: var(--admin-panel);
  box-shadow: var(--admin-shadow);
}

.combo-admin-card.featured {
  border-color: color-mix(in srgb, #13c58b 48%, var(--admin-line));
}

.combo-admin-card > div:first-child span,
.combo-admin-card p,
.combo-admin-price em {
  color: var(--admin-muted);
}

.combo-admin-card strong,
.combo-admin-price b {
  display: block;
  color: var(--admin-text);
}

.combo-admin-card p {
  margin: 4px 0 0;
  font-size: 0.84rem;
  font-weight: 700;
}

.combo-admin-price {
  text-align: right;
}

.combo-admin-price small {
  display: inline-flex;
  border-radius: 999px;
  padding: 3px 8px;
  color: #fff;
  background: #13c58b;
  font-size: 0.68rem;
  font-weight: 900;
}

.combo-admin-price b {
  margin-top: 6px;
  font-size: 1.2rem;
}

.combo-admin-price em {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
}

.combo-admin-price .combo-admin-unit {
  margin-top: 3px;
  color: #13a872;
  font-weight: 800;
}

.combo-admin-price em s {
  text-decoration-thickness: 1.5px;
  text-decoration-color: currentColor;
}

.combo-admin-benefits {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkout-combo-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 2px;
}

.combo-admin-benefits span,
.checkout-combo-benefits span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  color: #078255;
  background: rgba(19, 197, 139, 0.14);
  font-size: 0.76rem;
  font-weight: 900;
}

.combo-admin-card .actions-row {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.affiliate-settings-card,
.affiliate-admin-form {
  margin-bottom: 18px;
}

.affiliate-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.affiliate-admin-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  padding: 18px;
  background: var(--admin-panel);
  box-shadow: var(--admin-shadow);
}

.affiliate-admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.affiliate-admin-head span,
.affiliate-admin-head small,
.affiliate-admin-stats small {
  display: block;
  color: var(--admin-muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.affiliate-admin-head strong,
.affiliate-admin-stats strong {
  display: block;
  color: var(--admin-text);
}

.affiliate-admin-head mark {
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(248, 113, 113, 0.16);
  color: #ef4444;
  font-size: 0.72rem;
  font-weight: 900;
}

.affiliate-admin-head mark.active {
  background: rgba(19, 197, 139, 0.16);
  color: #078255;
}

.affiliate-admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.affiliate-admin-stats > div {
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  padding: 10px;
  background: color-mix(in srgb, var(--admin-panel) 82%, transparent);
}

.affiliate-link-box,
.affiliate-commission-action {
  display: flex;
  align-items: center;
  gap: 8px;
}

.affiliate-link-box input,
.affiliate-commission-action input {
  min-width: 0;
  flex: 1;
}

.affiliate-commission-action select {
  min-width: 130px;
}

.affiliate-page {
  display: grid;
  gap: 18px;
}

.affiliate-hero .card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.affiliate-hero h1 {
  margin: 4px 0;
}

.affiliate-code-card {
  min-width: 180px;
  border: 1px solid rgba(19, 197, 139, 0.25);
  border-radius: 14px;
  padding: 14px;
  background: rgba(19, 197, 139, 0.12);
  text-align: right;
}

.affiliate-code-card span,
.affiliate-stats-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.affiliate-code-card strong {
  display: block;
  color: var(--text);
  font-size: 1.45rem;
}

.affiliate-public-link {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
}

.affiliate-campaign-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.affiliate-campaign-links article {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(219, 226, 238, 0.55);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.affiliate-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.affiliate-stats-grid article {
  border: 1px solid rgba(219, 226, 238, 0.55);
  border-radius: 14px;
  padding: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.affiliate-stats-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 1.15rem;
}

.admin-dashboard-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0 12px;
}

.admin-pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 7px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, #5948ef, #6b54ff);
  box-shadow: 0 10px 22px rgba(84, 72, 239, 0.24);
  font-weight: 900;
}

.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 32px;
}

.admin-metric-card {
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--admin-line);
  border-radius: 22px;
  padding: 24px;
  background: var(--admin-panel);
  box-shadow: var(--admin-shadow);
}

.admin-metric-card span,
.admin-metric-card small {
  display: block;
  color: var(--admin-muted);
}

.admin-metric-card span {
  margin-bottom: 6px;
  color: var(--metric-color);
  font-weight: 900;
  white-space: nowrap;
}

.admin-metric-card strong {
  display: block;
  color: var(--admin-text);
  font-size: 1.65rem;
  line-height: 1.05;
}

.admin-metric-card small {
  margin-top: 6px;
  font-size: 0.82rem;
}

.admin-metric-card i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: color-mix(in srgb, var(--metric-color) 20%, transparent);
}

.admin-metric-card i::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 3px solid var(--metric-color);
  border-radius: 5px;
}

.admin-metric-card.violet { --metric-color: #6a64ff; }
.admin-metric-card.green { --metric-color: #28c88d; }
.admin-metric-card.amber { --metric-color: #f6a609; }
.admin-metric-card.purple { --metric-color: #8b5cf6; }

.admin-push-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-push-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 12, .72);
  backdrop-filter: blur(8px);
}

.admin-push-modal-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
  border: 1px solid rgba(246, 166, 9, .42);
  border-radius: 18px;
  padding: 24px;
  color: var(--admin-text);
  background:
    radial-gradient(circle at 88% 8%, rgba(246, 166, 9, .16), transparent 13rem),
    var(--admin-panel);
  box-shadow: 0 32px 90px rgba(0, 0, 0, .46);
}

.admin-push-modal-card h2 {
  margin: 0;
  color: var(--admin-text);
  font-size: 1.45rem;
}

.admin-push-modal-card p {
  margin: 0;
  color: var(--admin-muted);
  line-height: 1.55;
}

.admin-push-modal-card p strong {
  color: var(--admin-text);
}

.admin-analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.admin-panel {
  padding: 24px;
}

.admin-panel h2 {
  margin-bottom: 18px;
  color: var(--admin-text);
  font-size: 1.18rem;
}

.admin-line-chart {
  min-height: 292px;
}

.admin-line-chart svg {
  width: 100%;
  height: 260px;
  display: block;
}

.grid-lines line {
  stroke: color-mix(in srgb, var(--admin-muted) 22%, transparent);
  stroke-width: 1;
}

.chart-area {
  fill: rgba(88, 80, 255, 0.18);
}

.chart-line {
  fill: none;
  stroke: #584cff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-dot {
  fill: var(--admin-panel);
  stroke: #584cff;
  stroke-width: 2.6;
}

.chart-labels {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 4px;
  color: var(--admin-muted);
  font-size: 0.76rem;
  text-align: center;
}

.admin-donut-wrap {
  min-height: 292px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
}

.admin-donut {
  width: 254px;
  height: 254px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--admin-panel) 0 42%, transparent 43%),
    conic-gradient(
      #f59e0b 0 var(--pending-end),
      #3f7df4 var(--pending-end) var(--paid-end),
      #12c48a var(--paid-end) 100%
    );
}

.admin-donut-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: var(--admin-muted);
  font-size: 0.82rem;
}

.admin-donut-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.admin-donut-legend i {
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.admin-donut-legend .pending { background: #f59e0b; }
.admin-donut-legend .paid { background: #3f7df4; }
.admin-donut-legend .returned { background: #12c48a; }

.admin-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.admin-quick-card {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--admin-line);
  border-radius: 22px;
  padding: 16px;
  background: var(--admin-panel);
  box-shadow: var(--admin-shadow);
}

.admin-quick-card > span {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--quick-a), var(--quick-b));
}

.admin-quick-card strong,
.admin-quick-card small {
  display: block;
}

.admin-quick-card strong {
  color: var(--admin-text);
  font-size: 1rem;
}

.admin-quick-card small {
  margin-top: 4px;
  color: var(--admin-muted);
}

.admin-quick-card.blue { --quick-a: #3f7df4; --quick-b: #5948ef; }
.admin-quick-card.green { --quick-a: #12c48a; --quick-b: #183f47; }
.admin-quick-card.pink { --quick-a: #d13dc2; --quick-b: #d72783; }
.admin-quick-card.gold { --quick-a: #f9be50; --quick-b: #8a5b0b; }

.admin-split-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
}

.admin-title.compact {
  margin-bottom: 16px;
}

.admin-title.compact h1 {
  font-size: 1.15rem;
}

.admin-raffle-list {
  display: grid;
  gap: 10px;
}

.admin-raffle-list a {
  display: grid;
  gap: 7px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  padding: 14px;
  background: var(--admin-field);
}

.admin-raffle-list .badge {
  justify-self: start;
}

.admin-raffle-list strong {
  color: var(--admin-text);
}

.admin-raffle-progress {
  position: relative;
  min-height: 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--admin-line);
  border-radius: 999px;
  background: linear-gradient(180deg, #e8edf4, #d7dee8);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.12);
}

.admin-raffle-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent);
  pointer-events: none;
}

.admin-raffle-progress > span {
  position: absolute;
  inset-block: 0;
  min-width: 0;
}

.admin-raffle-progress > span.paid {
  inset-inline-start: 0;
  width: var(--paid, 0%);
  background: linear-gradient(90deg, #13c58b, #67e8a5);
}

.admin-raffle-progress > span.pending {
  inset-inline-start: var(--paid, 0%);
  width: var(--pending, 0%);
  background: linear-gradient(90deg, #facc15, #f59e0b);
}

.admin-raffle-progress b {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.admin-raffle-progress.compact {
  width: min(220px, 100%);
  min-height: 18px;
  margin-top: 5px;
}

.admin-raffle-progress.compact b {
  font-size: 0.66rem;
}

.admin-raffle-progress-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--admin-muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.admin-raffle-progress-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.admin-raffle-progress-meta i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.admin-raffle-progress-meta i.paid {
  background: #13c58b;
}

.admin-raffle-progress-meta i.pending {
  background: #f59e0b;
}

.order-info-button {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  margin-left: 7px;
  border: 1px solid color-mix(in srgb, #3f7df4 45%, var(--admin-line));
  border-radius: 50%;
  color: #3f7df4;
  background: color-mix(in srgb, #3f7df4 10%, var(--admin-panel));
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.order-info-button:hover {
  color: #fff;
  background: #3f7df4;
}

.client-cell {
  min-width: 160px;
}

.client-whatsapp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.client-whatsapp-actions a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, #18b56b 42%, var(--admin-line));
  border-radius: 7px;
  padding: 0 9px;
  color: #18b56b;
  background: color-mix(in srgb, #18b56b 9%, var(--admin-panel));
  font-size: 0.74rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.client-whatsapp-actions a:hover {
  color: #fff;
  background: #18b56b;
}

.numbers-cell {
  min-width: 150px;
}

.numbers-cell.compact {
  min-width: 142px;
  max-width: 176px;
}

.order-numbers-summary {
  width: 100%;
  min-height: 52px;
  display: grid;
  justify-items: start;
  gap: 2px;
  border: 1px solid color-mix(in srgb, #3f7df4 42%, var(--admin-line));
  border-radius: 9px;
  padding: 9px 11px;
  color: var(--admin-text);
  background: color-mix(in srgb, #3f7df4 8%, var(--admin-panel));
  text-align: left;
  cursor: pointer;
}

.order-numbers-summary:hover {
  border-color: #3f7df4;
  background: color-mix(in srgb, #3f7df4 14%, var(--admin-panel));
}

.order-numbers-summary strong {
  color: #3f7df4;
  font-size: 1.15rem;
  line-height: 1;
}

.order-numbers-summary span {
  font-size: 0.8rem;
  font-weight: 900;
}

.order-numbers-summary small {
  color: var(--admin-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.order-numbers-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 12px;
}

.order-numbers-toolbar strong {
  color: var(--admin-text);
}

.order-numbers-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.order-numbers-modal-list {
  max-height: min(56vh, 520px);
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px;
  overflow: auto;
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  padding: 12px;
  background: var(--admin-field);
}

.order-numbers-modal-list span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--admin-line);
  border-radius: 6px;
  padding: 3px 7px;
  color: var(--admin-text);
  background: var(--admin-panel);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.participant-numbers-cell {
  min-width: 330px;
  max-width: 680px;
}

.participant-numbers-curtain {
  display: grid;
  gap: 8px;
}

.participant-numbers-preview {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.participant-number-chip {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--admin-accent) 34%, var(--admin-line));
  border-radius: 7px;
  padding: 4px 8px;
  color: var(--admin-text);
  background: color-mix(in srgb, var(--admin-accent) 7%, var(--admin-field));
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.participant-numbers-count {
  color: var(--admin-muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.participant-numbers-details {
  overflow: hidden;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--admin-accent) 5%, var(--admin-panel));
}

.participant-numbers-details summary {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  color: var(--admin-text);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
  list-style: none;
}

.participant-numbers-details summary::-webkit-details-marker {
  display: none;
}

.participant-numbers-details summary span {
  color: var(--admin-muted);
  font-size: 0.74rem;
  font-weight: 850;
}

.participant-numbers-details summary::after {
  content: "+";
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #fff;
  background: var(--admin-accent);
  font-size: 0.9rem;
  line-height: 1;
}

.participant-numbers-details[open] summary::after {
  content: "-";
}

.participant-numbers-full {
  max-height: 220px;
  overflow: auto;
  border-top: 1px solid var(--admin-line);
  padding: 11px 12px;
  color: var(--admin-text);
  background: var(--admin-field);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.65;
  word-break: break-word;
}

.participant-numbers-empty {
  color: var(--admin-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-number-curtain {
  display: grid;
  gap: 8px;
}

.admin-number-list,
.admin-number-more {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.admin-number-list span:not(.admin-number-more),
.admin-number-more span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border: 1px solid var(--admin-line);
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--admin-text);
  background: var(--admin-field);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.admin-number-more[hidden] {
  display: none;
}

.number-curtain-toggle {
  width: max-content;
  min-height: 30px;
  border: 1px solid color-mix(in srgb, #3f7df4 40%, var(--admin-line));
  border-radius: 7px;
  padding: 0 10px;
  color: #3f7df4;
  background: color-mix(in srgb, #3f7df4 8%, var(--admin-panel));
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.number-curtain-toggle:hover {
  color: #fff;
  background: #3f7df4;
}

.admin-action-modal[hidden] {
  display: none;
}

.admin-action-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 18px;
}

.admin-action-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 8, 18, 0.68);
  cursor: pointer;
}

.admin-action-dialog {
  position: relative;
  width: min(560px, 100%);
  border: 1px solid var(--admin-line);
  border-radius: 22px;
  padding: 24px;
  color: var(--admin-text);
  background: var(--admin-panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.admin-action-dialog.order-numbers-dialog {
  width: min(860px, 100%);
}

.admin-action-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  color: var(--admin-text);
  background: var(--admin-field);
  font-size: 1.35rem;
  cursor: pointer;
}

.admin-action-dialog h2 {
  margin: 0 48px 8px 0;
  color: var(--admin-text);
  font-size: 1.32rem;
}

.admin-action-dialog textarea {
  min-height: 130px;
}

.draw-dialog {
  width: min(620px, 100%);
}

.draw-step {
  display: grid;
  gap: 16px;
}

.draw-step[hidden] {
  display: none;
}

.draw-kicker {
  width: max-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in srgb, #3f7df4 34%, var(--admin-line));
  border-radius: 999px;
  padding: 0 11px;
  color: #3f7df4;
  background: color-mix(in srgb, #3f7df4 10%, var(--admin-panel));
  font-size: 0.72rem;
  font-weight: 800;
}

.draw-kicker.success {
  border-color: color-mix(in srgb, #12c48a 44%, var(--admin-line));
  color: #12a56d;
  background: color-mix(in srgb, #12c48a 12%, var(--admin-panel));
}

.draw-kicker.danger {
  border-color: color-mix(in srgb, #ef4d56 44%, var(--admin-line));
  color: #ef4d56;
  background: color-mix(in srgb, #ef4d56 10%, var(--admin-panel));
}

.draw-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.draw-summary article {
  display: grid;
  gap: 6px;
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  padding: 12px;
  background: color-mix(in srgb, var(--admin-field) 72%, transparent);
}

.draw-summary span,
.draw-winner-card span {
  color: var(--admin-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.draw-summary strong {
  color: var(--admin-text);
  font-size: 1rem;
}

.draw-loading-step {
  justify-items: center;
  text-align: center;
  padding: 22px 0 8px;
}

.draw-spinner {
  width: 74px;
  height: 74px;
  border: 6px solid color-mix(in srgb, var(--admin-muted) 18%, transparent);
  border-top-color: #3f7df4;
  border-right-color: #12c48a;
  border-radius: 50%;
  animation: draw-spin 0.85s linear infinite;
}

.draw-result-step {
  text-align: center;
}

.draw-winner-number {
  display: block;
  color: var(--admin-text);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.draw-winner-card,
.draw-winner-more {
  display: grid;
  gap: 8px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  padding: 14px;
  text-align: left;
  background: color-mix(in srgb, var(--admin-field) 72%, transparent);
}

.draw-winner-card strong {
  color: var(--admin-text);
  font-size: 1.15rem;
}

.draw-winner-card small {
  color: var(--admin-muted);
  font-size: 0.82rem;
}

.draw-winner-more[hidden] {
  display: none;
}

.draw-result-step .actions-row {
  justify-content: center;
}

@keyframes draw-spin {
  to {
    transform: rotate(360deg);
  }
}

.order-history-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.order-history-list article {
  display: grid;
  gap: 6px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  padding: 14px;
  background: var(--admin-field);
}

.order-history-list strong {
  color: var(--admin-text);
}

.order-history-list span,
.order-history-list small {
  color: var(--admin-muted);
}

.order-history-list p {
  margin: 4px 0 0;
  color: var(--admin-text);
  line-height: 1.45;
}

.admin-subtabs {
  margin-top: -4px;
}

.orders-history-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.orders-history-head h2 {
  margin: 0 0 5px;
  color: var(--admin-text);
  font-size: 1.12rem;
}

.orders-history-head p {
  margin: 0;
  max-width: 820px;
}

.orders-history-table {
  border-top: 1px solid var(--admin-line);
}

.orders-history-table table {
  min-width: 1180px;
}

.history-action-cell {
  min-width: 190px;
}

.history-action-cell strong,
.history-order-link {
  color: var(--admin-text);
  font-weight: 900;
}

.history-action-cell span {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  color: var(--admin-muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.history-action-cell em {
  font-style: normal;
}

.history-action-cell b {
  color: #3f7df4;
}

.history-order-link {
  text-decoration: none;
}

.history-order-link:hover {
  color: #3f7df4;
}

.history-reason-box {
  min-width: 260px;
  max-width: 420px;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--admin-text);
  background: var(--admin-field);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
}

.history-detail-list {
  display: grid;
  gap: 7px;
  min-width: 230px;
  margin: 0;
}

.history-detail-list div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.history-detail-list dt {
  color: var(--admin-muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.history-detail-list dd {
  min-width: 0;
  margin: 0;
  color: var(--admin-text);
  font-size: 0.78rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

/* Tipografia compacta no estilo do painel 723ub. */
.admin-page button,
.admin-page input,
.admin-page select,
.admin-page textarea {
  font-family: inherit;
  font-size: 0.812rem;
  font-weight: 400;
}

.admin-page .button {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.812rem;
  font-weight: 600;
}

.admin-page label,
.admin-page .admin-check {
  font-size: 0.78rem;
  font-weight: 600;
}

.admin-page input,
.admin-page select {
  min-height: 40px;
}

.admin-page input[type="checkbox"],
.admin-page .admin-check input[type="checkbox"],
.admin-page .check-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  margin: 0;
  padding: 0;
  border-radius: 4px;
  accent-color: #1768e8;
}

.admin-page .admin-check,
.admin-page .check-row {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  align-self: end;
  width: fit-content;
  max-width: 100%;
  color: var(--admin-text);
  line-height: 1.25;
}

.admin-page .admin-check span,
.admin-page .check-row span {
  min-width: 0;
}

.admin-page textarea {
  font-size: 0.812rem;
}

.admin-page .card-body,
.admin-panel {
  padding: 20px;
}

.admin-page table {
  font-size: 0.812rem;
  line-height: 1.35;
}

.admin-page th,
.admin-page td {
  padding: 10px 12px;
}

.admin-page th {
  font-size: 0.72rem;
  font-weight: 600;
}

.admin-page td strong {
  font-weight: 600;
}

.admin-page .badge {
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--admin-badge-line);
  color: var(--admin-badge-text);
  background: var(--admin-badge-bg);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.admin-page .badge.success {
  color: #065f46;
  border-color: #86efac;
  background: #bbf7d0;
}

.admin-page .badge.warning {
  color: #8a4d00;
  border-color: #facc15;
  background: #fef3c7;
}

.admin-page .badge.danger {
  color: #991b1b;
  border-color: #fca5a5;
  background: #fee2e2;
}

.admin-page .badge.primary {
  color: #1d4ed8;
  border-color: #93c5fd;
  background: #dbeafe;
}

.admin-page .badge.info {
  color: #075985;
  border-color: #7dd3fc;
  background: #e0f2fe;
}

.admin-page .badge.secondary {
  color: #334155;
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.admin-top {
  min-height: 58px;
  padding: 0 24px;
}

.admin-top > strong,
.admin-title h1 {
  font-size: 1.25rem;
  font-weight: 600;
}

.admin-content {
  padding: 18px 28px 30px;
}

.admin-logo {
  min-height: 62px;
}

.admin-logo strong,
.admin-logo span {
  font-size: 2.32rem;
  font-weight: 800;
}

.admin-logo.has-image span {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: none;
  transform: none;
}

.admin-notice-card {
  min-height: 64px;
  gap: 10px;
  padding: 12px 16px;
}

.admin-notice-icon {
  width: 36px;
  height: 36px;
  font-weight: 700;
}

.admin-notice-card strong {
  font-weight: 600;
}

.admin-notice-card a {
  font-size: 0.76rem;
  font-weight: 600;
}

.admin-nav {
  gap: 6px;
}

.admin-nav a {
  min-height: 45px;
  grid-template-columns: 32px 1fr auto;
  gap: 9px;
  padding: 0 12px;
  font-size: 0.812rem;
  font-weight: 500;
}

.admin-nav a small {
  min-height: 18px;
  padding: 0 6px;
  font-size: 0.58rem;
  font-weight: 700;
}

.admin-nav-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  font-size: 0.64rem;
}

.admin-nav-icon {
  width: 32px;
  height: 32px;
}

.admin-user-card {
  grid-template-columns: 44px 1fr 36px 36px;
  gap: 8px;
}

.admin-avatar {
  width: 44px;
  height: 44px;
  font-size: 1.02rem;
  font-weight: 700;
}

.admin-user-card strong {
  font-weight: 600;
}

.admin-user-card small {
  font-size: 0.68rem;
}

.admin-theme-toggle,
.admin-user-logout {
  width: 36px;
  height: 36px;
}

.admin-open-site {
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.72rem;
  font-weight: 600;
}

.admin-open-site svg {
  width: 15px;
  height: 15px;
}

.admin-rank {
  font-size: 0.76rem;
  font-weight: 600;
}

.admin-goal {
  min-height: 22px;
}

.admin-goal b {
  font-size: 0.7rem;
  font-weight: 600;
}

.admin-alert p {
  font-size: 0.78rem;
}

.admin-pill {
  min-height: 36px;
  font-weight: 600;
}

.admin-metric-card {
  min-height: 112px;
  padding: 20px;
}

.admin-metric-card span {
  font-weight: 600;
}

.admin-metric-card strong {
  font-size: 1.42rem;
  font-weight: 600;
}

.admin-metric-card small,
.admin-donut-legend,
.chart-labels {
  font-size: 0.75rem;
}

.admin-panel h2 {
  font-size: 1.02rem;
  font-weight: 600;
}

.admin-quick-card strong {
  font-size: 0.92rem;
  font-weight: 600;
}

.order-info-button {
  width: 22px;
  height: 22px;
  font-size: 0.72rem;
  font-weight: 600;
}

.client-whatsapp-actions {
  gap: 5px;
  margin-top: 7px;
}

.client-whatsapp-actions a {
  min-height: 25px;
  padding: 0 8px;
  font-size: 0.68rem;
  font-weight: 600;
}

.numbers-cell.compact {
  min-width: 126px;
  max-width: 150px;
}

.order-numbers-summary {
  min-height: 46px;
  border-radius: 7px;
  padding: 7px 10px;
}

.order-numbers-summary strong {
  font-size: 1rem;
  font-weight: 600;
}

.order-numbers-summary span {
  font-size: 0.72rem;
  font-weight: 600;
}

.order-numbers-summary small {
  font-size: 0.66rem;
  font-weight: 500;
}

.order-numbers-toolbar strong {
  font-weight: 600;
}

.order-numbers-modal-list span {
  min-height: 24px;
  padding: 3px 7px;
  font-size: 0.74rem;
  font-weight: 600;
}

.admin-action-dialog {
  border-radius: 14px;
  padding: 22px;
}

.admin-action-close {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 1.12rem;
}

.admin-action-dialog h2 {
  font-size: 1.08rem;
  font-weight: 600;
}

.order-history-list strong {
  font-weight: 600;
}

.bonus-settings-card {
  margin-bottom: 18px;
}

.bonus-settings-body {
  display: grid;
  gap: 16px;
}

.bonus-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bonus-config-panel,
.bonus-cycle-curtain {
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--admin-field) 72%, transparent);
  overflow: hidden;
}

.bonus-config-summary,
.bonus-curtain-summary,
.bonus-cycle-summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.bonus-config-summary::-webkit-details-marker,
.bonus-curtain-summary::-webkit-details-marker,
.bonus-cycle-summary::-webkit-details-marker {
  display: none;
}

.bonus-config-summary::after,
.bonus-curtain-summary::after,
.bonus-cycle-summary::after {
  content: "›";
  flex: 0 0 auto;
  color: var(--admin-muted);
  font-size: 1.22rem;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 0.18s ease;
}

.bonus-config-panel[open] > .bonus-config-summary::after,
.bonus-curtain[open] > .bonus-curtain-summary::after,
.bonus-cycle-curtain[open] > .bonus-cycle-summary::after {
  transform: rotate(90deg);
}

.bonus-config-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  color: var(--admin-text);
}

.bonus-config-summary > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 3px;
}

.bonus-config-summary strong {
  font-size: 0.92rem;
  font-weight: 700;
}

.bonus-config-summary small {
  color: var(--admin-muted);
  font-size: 0.72rem;
}

.bonus-config-pill,
.bonus-curtain-count {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--admin-line);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--admin-muted);
  background: var(--admin-field);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.bonus-config-pill.is-on {
  border-color: color-mix(in srgb, #12c48a 42%, var(--admin-line));
  color: #12a56d;
  background: color-mix(in srgb, #12c48a 12%, var(--admin-panel));
}

.bonus-config-pill.is-off {
  border-color: color-mix(in srgb, #ef4d56 34%, var(--admin-line));
  color: #ef4d56;
  background: color-mix(in srgb, #ef4d56 10%, var(--admin-panel));
}

.bonus-config-content {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
}

.bonus-settings-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--admin-line);
  padding-top: 14px;
}

.bonus-settings-footer p {
  margin: 0;
  font-size: 0.76rem;
}

.bonus-settings-footer .button {
  min-width: 220px;
}

.bonus-prize-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.bonus-prize-section {
  overflow: auto;
}

.bonus-section-head {
  min-width: 980px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 10px;
}

.bonus-section-head h2 {
  margin: 0 0 4px;
  color: var(--admin-text);
  font-size: 1.02rem;
  font-weight: 600;
}

.bonus-section-head p {
  margin: 0;
  font-size: 0.76rem;
}

.bonus-curtain-summary {
  padding-right: 20px;
}

.bonus-curtain-summary > div {
  flex: 1 1 auto;
  min-width: 0;
}

.bonus-curtain-actions {
  min-width: 980px;
  justify-content: flex-start;
  padding: 0 20px 12px;
}

.bonus-cycle-curtain {
  min-width: 980px;
  margin: 0 20px 12px;
}

.bonus-cycle-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--admin-text);
}

.bonus-cycle-summary span {
  font-size: 0.84rem;
  font-weight: 700;
}

.bonus-cycle-summary strong {
  color: var(--admin-muted);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.bonus-cycle-body {
  padding: 0 14px 14px;
}

.bonus-cycle-curtain .bonus-distribution-alert {
  min-width: 0;
  margin: 0 0 12px;
}

.bonus-cycle-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.bonus-cycle-row {
  display: grid;
  gap: 8px;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  padding: 10px;
  background: color-mix(in srgb, var(--admin-panel) 78%, transparent);
}

.bonus-cycle-row > div:first-child {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.bonus-cycle-row strong {
  color: var(--admin-text);
  font-size: 0.78rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.bonus-cycle-row span {
  color: var(--admin-muted);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.bonus-cycle-meter {
  height: 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--admin-muted) 14%, transparent);
  overflow: hidden;
}

.bonus-cycle-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3f7df4, #12c48a);
}

.bonus-section-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.bonus-section-actions > span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--admin-line);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--admin-muted);
  background: var(--admin-field);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.bonus-section-actions .button {
  min-height: 32px;
}

.bonus-section-actions form {
  margin: 0;
}

.bonus-distribution-alert {
  min-width: 980px;
  margin: 0 20px 12px;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--admin-text);
  background: var(--admin-field);
  font-size: 0.78rem;
  font-weight: 600;
}

.bonus-distribution-alert.ok {
  border-color: color-mix(in srgb, #12c48a 46%, var(--admin-line));
  color: #12a56d;
  background: color-mix(in srgb, #12c48a 12%, var(--admin-panel));
}

.bonus-distribution-alert.under,
.bonus-distribution-alert.cycle {
  border-color: color-mix(in srgb, #f5b700 48%, var(--admin-line));
  color: #b87b00;
  background: color-mix(in srgb, #f5b700 14%, var(--admin-panel));
}

.bonus-distribution-alert.over {
  border-color: color-mix(in srgb, #ef4d56 52%, var(--admin-line));
  color: #ef4d56;
  background: color-mix(in srgb, #ef4d56 12%, var(--admin-panel));
}

.bonus-inline-table {
  min-width: 1190px;
}

.bonus-inline-table td {
  vertical-align: middle;
}

.bonus-order-cell {
  width: 78px;
}

.bonus-title-cell {
  min-width: 245px;
}

.bonus-title-cell small {
  display: block;
  margin-top: 5px;
  font-size: 0.7rem;
}

.bonus-inline-table [data-bonus-field="prize_type"] {
  min-width: 168px;
}

.bonus-inline-table [data-bonus-field="quantity"],
.bonus-inline-table [data-bonus-field="cash_amount"],
.bonus-inline-table [data-bonus-field="weight"],
.bonus-inline-table [data-bonus-field="cycle_quota"] {
  min-width: 92px;
}

.bonus-effect-cell {
  text-align: center;
}

.bonus-effect-toggle {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.bonus-effect-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #f5b700;
  cursor: pointer;
}

.bonus-inline-input {
  width: 100%;
  min-height: 34px !important;
  border-radius: 7px !important;
  padding: 0 9px !important;
  font-size: 0.78rem !important;
}

.muted-inline-field .bonus-inline-input {
  opacity: 0.45;
  cursor: not-allowed;
}

.bonus-inline-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.bonus-save-state {
  min-width: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}

.bonus-save-state.saved {
  color: #12a56d;
  background: color-mix(in srgb, #12c48a 13%, var(--admin-panel));
}

.bonus-save-state.saving {
  color: #3f7df4;
  background: color-mix(in srgb, #3f7df4 12%, var(--admin-panel));
}

.bonus-save-state.error {
  color: #ef4d56;
  background: color-mix(in srgb, #ef4d56 12%, var(--admin-panel));
}

.bonus-add-form {
  min-width: 1190px;
  border-top: 1px solid var(--admin-line);
  padding: 16px 20px 18px;
  background: color-mix(in srgb, var(--admin-field) 58%, transparent);
}

.bonus-add-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.bonus-add-head strong {
  color: var(--admin-text);
  font-size: 0.9rem;
  font-weight: 600;
}

.bonus-add-head span {
  font-size: 0.72rem;
}

.bonus-add-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(240px, 1.4fr) repeat(5, minmax(96px, 0.65fr)) auto auto auto;
  gap: 10px;
  align-items: end;
}

.bonus-add-grid .field {
  gap: 5px;
}

.bonus-add-grid input,
.bonus-add-grid select {
  min-height: 36px;
}

.bonus-add-active,
.bonus-add-effect {
  min-height: 36px;
  align-items: center;
}

.bonus-history-card table {
  min-width: 900px;
}

.muted-inline-field input,
.muted-inline-field select {
  opacity: 0.45;
  cursor: not-allowed;
}

.bonus-test-dialog {
  width: min(720px, 100%);
}

.bonus-wheel-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(360px, 78vw);
  aspect-ratio: 1;
  margin: 8px auto 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(255, 214, 10, 0.16), transparent 68%);
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.28));
}

.bonus-wheel-stage[hidden] {
  display: none;
}

.bonus-wheel {
  position: relative;
  width: 100%;
  height: 100%;
  border: 10px solid #f8fafc;
  border-radius: 50%;
  outline: 8px solid rgba(77, 69, 18, 0.92);
  overflow: hidden;
  background: conic-gradient(#ef334d, #ff6b00, #22c55e, #7c2be8, #3b82f6, #ef334d);
  box-shadow:
    inset 0 0 0 1px rgba(17, 24, 39, 0.35),
    inset 0 0 24px rgba(0, 0, 0, 0.22);
  transform: rotate(0deg);
  will-change: transform;
}

.bonus-wheel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at center, transparent 0 17%, rgba(255, 255, 255, 0.92) 17.4% 18%, transparent 18.3%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.38), transparent 18% 82%, rgba(0, 0, 0, 0.2));
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.bonus-wheel::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff8b7 0 28%, #ffe75c 60%, #f8c41f 100%);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.76),
    0 10px 22px rgba(0, 0, 0, 0.24);
  transform: translate(-50%, -50%);
}

.bonus-wheel-start {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  width: 82px;
  height: 82px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  color: #513b00;
  background:
    radial-gradient(circle at 35% 26%, #fffbd0 0 26%, #ffe969 58%, #f5bd1d 100%);
  box-shadow:
    0 0 0 3px rgba(255, 214, 93, 0.38),
    0 14px 28px rgba(0, 0, 0, 0.26),
    inset 0 3px 8px rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.bonus-wheel-start:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translate(-50%, -50%) scale(1.04);
}

.bonus-wheel-start:disabled {
  opacity: 0.84;
  cursor: wait;
}

.bonus-wheel-start[hidden] {
  display: none;
}

.bonus-wheel-pointer {
  position: absolute;
  top: -18px;
  left: 50%;
  z-index: 4;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 38px solid #ffd60a;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.3));
  transform: translateX(-50%);
}

.bonus-wheel-label {
  position: absolute;
  z-index: 2;
  width: 78px;
  min-height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-shadow:
    0 2px 2px rgba(0, 0, 0, 0.62),
    0 0 1px rgba(0, 0, 0, 0.72);
  backface-visibility: hidden;
  pointer-events: none;
  transform-origin: center center;
}

.bonus-roulette-start {
  min-width: 138px;
}

.bonus-roulette-start:disabled {
  opacity: 0.72;
  cursor: wait;
}

.bonus-wheel-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(48, 57, 73, 0.8);
  border-radius: 50%;
  background: #f8fafc;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.bonus-chest-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(248, 208, 68, 0.22);
  border-radius: 14px;
  padding: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 42%, rgba(248, 208, 68, 0.18), transparent 18rem),
    radial-gradient(circle at 28% 74%, rgba(20, 184, 166, 0.18), transparent 14rem),
    linear-gradient(145deg, #07110e 0%, #09291d 48%, #03100c 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 48px rgba(0, 0, 0, 0.22);
}

.bonus-chest-stage[hidden] {
  display: none;
}

.bonus-chest-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.2) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 28%, rgba(187, 247, 208, 0.16) 0 1px, transparent 2px),
    radial-gradient(circle at 68% 78%, rgba(255, 214, 93, 0.14) 0 1px, transparent 2px);
  background-size: 120px 120px, 160px 160px, 145px 145px;
  opacity: 0.72;
  pointer-events: none;
}

.bonus-chest-head {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.bonus-chest-head span {
  width: max-content;
  border: 1px solid rgba(255, 214, 93, 0.72);
  border-radius: 999px;
  padding: 5px 12px;
  color: #fff7a8;
  background: rgba(255, 214, 93, 0.12);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.bonus-chest-head strong {
  color: #fff;
  font-size: 1.22rem;
  font-weight: 800;
}

.bonus-chest-head p,
.bonus-chest-head b {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.bonus-chest-head b {
  color: #fff;
  font-weight: 800;
}

.bonus-chest-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bonus-chest-retry {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border-radius: 10px;
  font-weight: 950;
}

.bonus-chest-retry[hidden] {
  display: none;
}

.bonus-chest-card {
  position: relative;
  min-height: 126px;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 93, 0.24);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 50%, rgba(53, 211, 153, 0.34), transparent 36%),
    linear-gradient(145deg, #042317 0%, #08351f 52%, #020b08 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 -16px 34px rgba(0, 0, 0, 0.3);
  isolation: isolate;
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.bonus-chest-card:not(.is-open) {
  cursor: pointer;
}

.bonus-chest-card:not(.is-open):hover {
  border-color: rgba(255, 214, 93, 0.62);
  transform: translateY(-2px);
}

.bonus-chest-card.is-revealed {
  opacity: 0.82;
}

.bonus-chest-card:nth-child(3n+2) {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 214, 93, 0.32), transparent 35%),
    linear-gradient(145deg, #173116 0%, #0b4b2b 50%, #06100b 100%);
}

.bonus-chest-card:nth-child(4n) {
  background:
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.26), transparent 36%),
    linear-gradient(145deg, #062118 0%, #0a3b2d 52%, #020b08 100%);
}

.bonus-chest-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 22%, rgba(236, 255, 246, 0.2) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 76%, rgba(255, 214, 93, 0.15) 0 1px, transparent 2px);
  background-size: 70px 70px, 92px 92px;
  opacity: 0.7;
}

.bonus-chest-card.is-open {
  border-color: rgba(255, 214, 93, 0.86);
  box-shadow:
    0 0 0 1px rgba(255, 214, 93, 0.22),
    0 0 34px rgba(255, 214, 93, 0.2),
    inset 0 -16px 34px rgba(0, 0, 0, 0.26);
  transform: translateY(-2px);
}

.bonus-chest-card.is-player-open {
  border-color: rgba(34, 197, 94, 0.95);
  background:
    radial-gradient(circle at 50% 48%, rgba(74, 222, 128, 0.42), transparent 38%),
    linear-gradient(145deg, #05351f 0%, #076633 52%, #03150d 100%);
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.32),
    0 0 34px rgba(34, 197, 94, 0.24),
    inset 0 -16px 34px rgba(0, 0, 0, 0.24);
}

.bonus-chest-card.is-auto-revealed {
  border-color: rgba(148, 163, 184, 0.48);
  opacity: 0.68;
  background:
    radial-gradient(circle at 50% 48%, rgba(148, 163, 184, 0.18), transparent 38%),
    linear-gradient(145deg, #13201d 0%, #1f2a24 52%, #070d0b 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 -16px 34px rgba(0, 0, 0, 0.34);
  filter: saturate(0.72);
}

.bonus-chest-card.is-fim {
  border-color: rgba(255, 214, 93, 0.98);
  opacity: 1;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 214, 93, 0.5), transparent 37%),
    radial-gradient(circle at 50% 78%, rgba(239, 68, 68, 0.28), transparent 55%),
    linear-gradient(145deg, #37110f 0%, #7a2018 54%, #170806 100%);
  box-shadow:
    0 0 0 1px rgba(255, 214, 93, 0.34),
    0 0 38px rgba(255, 214, 93, 0.32),
    inset 0 -16px 34px rgba(0, 0, 0, 0.26);
  filter: none;
}

.bonus-chest-card.is-player-open::after,
.bonus-chest-card.is-auto-revealed::after,
.bonus-chest-card.is-fim::after {
  content: attr(data-state-label);
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 5;
  max-width: calc(100% - 16px);
  border-radius: 999px;
  padding: 4px 8px;
  color: #052e16;
  background: linear-gradient(135deg, #bbf7d0, #22c55e);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.26);
  font-size: 0.58rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bonus-chest-card.is-auto-revealed::after {
  color: #e2e8f0;
  background: rgba(51, 65, 85, 0.92);
}

.bonus-chest-card.is-fim::after {
  left: 50%;
  color: #3b1603;
  background: linear-gradient(135deg, #fff7ad, #ffd21d 58%, #fb923c);
  transform: translateX(-50%);
}

.bonus-chest-art {
  position: absolute;
  left: 17%;
  top: 30%;
  width: 66%;
  height: 46%;
  filter: drop-shadow(0 18px 12px rgba(0, 0, 0, 0.42));
}

.bonus-chest-glow {
  position: absolute;
  left: 50%;
  top: 37%;
  width: 74%;
  height: 30%;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 222, 0.96), rgba(255, 217, 82, 0.72) 32%, rgba(255, 159, 24, 0.12) 70%, transparent 78%);
  filter: blur(9px);
  opacity: 0;
  transform: translateX(-50%) scale(0.42);
  transition: opacity 420ms ease, transform 620ms cubic-bezier(0.18, 0.89, 0.28, 1.45);
}

.bonus-chest-lid,
.bonus-chest-base,
.bonus-chest-lock {
  position: absolute;
  display: block;
}

.bonus-chest-lid {
  left: 5%;
  top: 2%;
  z-index: 3;
  width: 90%;
  height: 38%;
  border: 3px solid rgba(38, 12, 6, 0.88);
  border-radius: 20px 20px 8px 8px;
  background:
    linear-gradient(90deg, transparent 0 13%, rgba(255, 241, 156, 0.76) 13% 17%, transparent 17% 83%, rgba(255, 241, 156, 0.76) 83% 87%, transparent 87%),
    linear-gradient(180deg, #c66a36 0%, #8d421f 48%, #5a2514 100%);
  box-shadow:
    inset 0 8px 12px rgba(255, 235, 179, 0.16),
    inset 0 -8px 12px rgba(0, 0, 0, 0.28),
    0 6px 0 rgba(53, 18, 9, 0.78);
  transform-origin: 50% 100%;
  transition: transform 680ms cubic-bezier(0.17, 0.92, 0.18, 1.18), top 680ms cubic-bezier(0.17, 0.92, 0.18, 1.18);
}

.bonus-chest-lid::after,
.bonus-chest-base::after {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  border: 3px solid rgba(38, 12, 6, 0.82);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff5a6, #ffcb37 44%, #c97800);
  box-shadow: inset 0 4px 5px rgba(255, 255, 255, 0.34), 0 4px 8px rgba(0, 0, 0, 0.28);
}

.bonus-chest-lid::after {
  bottom: -18%;
  height: 28%;
}

.bonus-chest-base {
  left: 3%;
  top: 32%;
  z-index: 2;
  width: 94%;
  height: 58%;
  overflow: hidden;
  border: 3px solid rgba(38, 12, 6, 0.88);
  border-radius: 8px 8px 22px 22px;
  background:
    linear-gradient(90deg, transparent 0 14%, rgba(255, 241, 156, 0.78) 14% 18%, transparent 18% 82%, rgba(255, 241, 156, 0.78) 82% 86%, transparent 86%),
    linear-gradient(180deg, #b95b2c, #8d421f 48%, #5a2514 100%);
  box-shadow: inset 0 12px 15px rgba(255, 236, 181, 0.12), inset 0 -16px 20px rgba(0, 0, 0, 0.32);
}

.bonus-chest-base::after {
  top: -5%;
  height: 22%;
}

.bonus-chest-lock {
  left: 50%;
  top: 47%;
  z-index: 4;
  width: 15%;
  height: 20%;
  border: 3px solid rgba(38, 12, 6, 0.86);
  border-radius: 6px;
  background: linear-gradient(180deg, #f8d565, #b87810);
  transform: translateX(-50%);
}

.bonus-chest-card.is-open .bonus-chest-glow {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.bonus-chest-card.is-open .bonus-chest-lid {
  top: -18%;
  transform: rotateX(62deg);
}

.bonus-chest-label {
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: 4;
  max-width: calc(100% - 18px);
  border: 1px solid rgba(255, 241, 156, 0.62);
  border-radius: 999px;
  padding: 5px 10px;
  color: #fff;
  background: rgba(28, 36, 16, 0.7);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.24);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
}

.bonus-chest-card.is-open .bonus-chest-label {
  color: #fff9c8;
  background: rgba(58, 52, 19, 0.86);
}

.bonus-chest-card.is-player-open .bonus-chest-label {
  color: #ecfdf5;
  border-color: rgba(187, 247, 208, 0.74);
  background: rgba(5, 80, 39, 0.92);
}

.bonus-chest-card.is-auto-revealed .bonus-chest-label {
  color: #dbeafe;
  border-color: rgba(148, 163, 184, 0.58);
  background: rgba(15, 23, 42, 0.82);
}

.bonus-chest-card.is-fim .bonus-chest-label {
  color: #3b1603;
  border-color: rgba(255, 247, 173, 0.86);
  background: linear-gradient(135deg, #fff7ad, #ffd21d 58%, #fb923c);
}

.public-bonus-chest-stage {
  margin: 10px 0 14px;
}

@media (max-width: 560px) {
  .bonus-chest-stage {
    padding: 12px;
  }

  .bonus-chest-grid {
    gap: 7px;
  }

  .bonus-chest-card {
    min-height: 96px;
    border-radius: 8px;
  }

  .bonus-chest-art {
    left: 14%;
    top: 31%;
    width: 72%;
  }

  .bonus-chest-label {
    bottom: 6px;
    padding: 4px 7px;
    font-size: 0.62rem;
  }

  .bonus-chest-card.is-player-open::after,
  .bonus-chest-card.is-auto-revealed::after,
  .bonus-chest-card.is-fim::after {
    top: 6px;
    left: 6px;
    padding: 3px 6px;
    font-size: 0.48rem;
  }

  .bonus-chest-card.is-fim::after {
    left: 50%;
  }
}

.bonus-test-result {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  padding: 14px;
  background: var(--admin-field);
}

.bonus-test-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #3f7df4, #6148e8);
  font-size: 1.35rem;
  font-weight: 700;
}

.bonus-test-result small,
.bonus-test-result strong,
.bonus-test-result span {
  display: block;
}

.bonus-test-result small {
  color: var(--admin-muted);
  font-size: 0.72rem;
}

.bonus-test-result strong {
  margin-top: 3px;
  color: var(--admin-text);
  font-size: 1.12rem;
  font-weight: 600;
}

.bonus-test-result span {
  margin-top: 4px;
  color: var(--admin-muted);
}

.bonus-test-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 10px;
}

.bonus-test-meta span {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  color: var(--admin-muted);
  background: var(--admin-field);
  font-size: 0.72rem;
  font-weight: 600;
}

.bonus-test-chances {
  max-height: 260px;
  display: grid;
  gap: 8px;
  overflow: auto;
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  padding: 10px;
  background: color-mix(in srgb, var(--admin-field) 78%, transparent);
}

.bonus-test-chances article {
  display: grid;
  gap: 3px;
  border: 1px solid var(--admin-line);
  border-radius: 9px;
  padding: 9px 10px;
  background: var(--admin-panel);
}

.bonus-test-chances strong {
  color: var(--admin-text);
  font-size: 0.78rem;
  font-weight: 600;
}

.bonus-test-chances span,
.bonus-test-chances small {
  color: var(--admin-muted);
  font-size: 0.72rem;
}

@media (max-width: 900px) {
  .promotion-scope-cards {
    grid-template-columns: 1fr;
  }

  .promotion-scope-card {
    grid-template-columns: 1fr;
  }

  .promotion-scope-actions {
    align-items: center;
  }

  .promotion-scope-actions .button {
    width: auto;
  }

  .promotion-scope-panel .section-title.compact,
  .combo-config-head,
  .promotion-scope-title-actions {
    align-items: flex-start;
  }

  .promotion-scope-panel .section-title.compact,
  .combo-config-head {
    flex-direction: column;
  }

  .promotion-scope-title-actions,
  .combo-config-actions {
    width: 100%;
    justify-content: space-between;
  }

  .combo-group-summary {
    flex-direction: column;
  }

  .combo-group-summary-actions,
  .combo-group-save-row {
    width: 100%;
    justify-content: flex-start;
  }

  .combo-group-switch {
    width: 100%;
  }

  .combo-inline-title {
    flex-direction: column;
  }

  .promotion-scope-modal {
    padding: 10px;
  }

  .promotion-scope-dialog {
    max-height: 92vh;
    padding: 14px;
  }

  .promotion-transfer-grid {
    grid-template-columns: 1fr;
  }

  .promotion-transfer-actions {
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .topbar-inner {
    height: 64px;
    min-height: 64px;
    align-items: center;
    flex-direction: row;
    padding: 0;
  }

  .nav-actions {
    width: auto;
    margin-left: auto;
  }

  .brand-name {
    max-width: 150px;
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-horizontal-logo {
    height: 40px;
    max-width: min(168px, 34vw);
  }

  .header-buy-button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.76rem;
  }

  .site-alert-toggle {
    width: 40px;
    height: 40px;
  }

  .site-alert-panel {
    right: -54px;
  }

  .site-menu-toggle {
    width: 42px;
    min-height: 40px;
    padding: 0;
    font-size: 0.78rem;
  }

  .site-menu-toggle span {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 52px 0 64px;
  }

  .winner-hero h1 {
    font-size: 2rem;
  }

  .stats-row,
  .grid.two,
  .grid.three,
  .form-grid,
  .combo-offer-grid,
  .combo-admin-grid,
  .customer-offers-grid,
  .affiliate-admin-grid,
  .affiliate-admin-stats,
  .affiliate-public-link,
  .affiliate-campaign-links article,
  .affiliate-stats-grid,
  .selected-combo-details,
  .combo-admin-preview,
  .combo-admin-preview-values,
  .bonus-settings-grid {
    grid-template-columns: 1fr;
  }

  .selected-combo-values {
    grid-template-columns: 1fr;
  }

  .bonus-settings-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .bonus-settings-footer .button {
    width: 100%;
  }

	  .bonus-entry-summary,
	  .bonus-open-grid,
	  .bonus-use-form,
	  .wallet-actions-grid,
	  .profile-grid,
	  .profile-balance-grid,
	  .winner-steps,
  .winner-choice-grid,
  .winner-form-panel,
  .prize-track-grid,
  .claim-product-fields,
  .claim-cash-fields {
    grid-template-columns: 1fr;
  }

	  .pending-bonus-list article,
	  .bonus-open-hero,
	  .bonus-open-card,
	  .bonus-open-footer,
	  .profile-hero,
	  .profile-actions,
	  .profile-section-title,
	  .prize-claim-head,
  .winner-hero,
  .winner-prize-head {
    align-items: flex-start;
    flex-direction: column;
  }

	  .bonus-open-score,
	  .bonus-open-card .button,
	  .bonus-open-footer .button,
	  .profile-hero .button,
	  .profile-actions .button,
	  .profile-section-title .button {
	    width: 100%;
	  }

	  .bonus-open-card {
	    grid-template-columns: 1fr;
	  }

	  .profile-data-list div {
	    align-items: flex-start;
	    flex-direction: column;
	    gap: 3px;
	  }

	  .profile-data-list dd {
	    text-align: left;
	  }

  .selected-combo-head,
  .selected-combo-values,
  .affiliate-hero .card-body,
  .affiliate-link-box,
  .affiliate-commission-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .affiliate-code-card {
    width: 100%;
    text-align: left;
  }

  .number-toolbar {
    grid-template-columns: 1fr;
  }

  .public-numbers-dialog {
    padding: 18px;
  }

  .public-numbers-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-numbers-toolbar div,
  .public-numbers-toolbar .button {
    width: 100%;
  }

  .public-numbers-list {
    max-height: 54vh;
  }

  .summary-box {
    position: static;
  }

  .footer-inner {
    flex-direction: column;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-top,
  .admin-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .admin-metric-grid,
  .admin-analytics-grid,
  .admin-quick-grid,
  .admin-split-grid {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    gap: 12px;
  }

  .admin-logo {
    min-height: 58px;
    justify-items: start;
    padding-left: 16px;
  }

  .admin-logo strong,
  .admin-logo span {
    display: inline;
    font-size: 2rem;
  }

  .admin-notice-card,
  .admin-user-card {
    margin: 0 8px;
  }

  .admin-top {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .admin-top-actions,
  .admin-goal {
    width: 100%;
  }

  .admin-top-actions {
    flex-wrap: wrap;
  }

  .admin-goal {
    flex: 1 1 100%;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .brand-name {
    display: none;
  }

  .brand-horizontal-logo {
    max-width: min(148px, 37vw);
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .button {
    width: 100%;
  }

  .number-batch-head {
    flex-direction: column;
  }

  .number-batch-button {
    min-width: 118px;
  }

  .numbers-grid {
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  }

  .admin-content {
    padding: 14px 12px 28px;
  }

  .admin-dashboard-toolbar,
  .admin-title {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-nav {
    grid-template-columns: 1fr;
  }

  .admin-metric-card,
  .admin-quick-card {
    border-radius: 16px;
  }

  .admin-panel {
    border-radius: 16px;
    padding: 16px;
  }

  .admin-donut {
    width: 210px;
    height: 210px;
  }
}

.auth-page {
  min-height: 100vh;
  color: #050505;
  background: #fff;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.auth-page:not(.auth-embedded) {
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 0%, rgba(23, 201, 100, 0.2), transparent 30rem),
    linear-gradient(180deg, #07110d 0%, #0b1410 100%);
}

body.modal-open {
  overflow: hidden;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 10px;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.76);
  cursor: pointer;
}

.auth-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(750px, calc(100vw - 20px));
  height: min(var(--auth-dialog-height, 390px), calc(100vh - 20px));
  overflow: hidden;
  border: 0;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  transition: height .18s ease;
}

.auth-modal-dialog iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.auth-modal-close {
  position: absolute;
  top: 8px;
  right: 9px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 6px;
  color: #24364a;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.auth-modal-close:hover {
  background: #f2f5f8;
}

.auth-shell {
  width: min(100%, 750px);
  min-height: 100vh;
  padding: 30px 42px 44px;
}

.auth-page:not(.auth-embedded) .auth-shell {
  width: min(750px, 100%);
  min-height: auto;
  padding: 0;
}

.auth-page:not(.auth-embedded) .auth-panel {
  width: 100%;
  padding: 20px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.auth-embedded {
  min-height: auto;
  overflow: auto;
}

.auth-embedded .auth-shell {
  width: 100%;
  min-height: auto;
  padding: 20px;
}

.auth-embedded .auth-panel,
.auth-embedded .notice {
  width: 100%;
}

.auth-panel {
  width: 100%;
}

.auth-panel h1 {
  margin: 0 0 10px;
  color: #000;
  font-size: 1.62rem;
  line-height: 1.2;
  font-weight: 900;
}

.auth-panel p {
  margin-bottom: 36px;
  color: #000;
  font-size: 1.16rem;
  line-height: 1.45;
}

.auth-form {
  display: grid;
  gap: 26px;
}

.auth-field {
  display: grid;
  gap: 12px;
}

.auth-field label {
  color: #173354;
  font-size: 0.92rem;
  font-weight: 400;
}

.auth-field input,
.auth-field select,
.ddi-wrap select {
  height: 60px;
  border: 1px solid #d9e0e8;
  border-radius: 6px;
  padding: 0 25px;
  color: #2f405d;
  background: #f8fafc;
  font-size: 1.02rem;
  font-weight: 800;
}

.auth-field input::placeholder {
  color: #2f405d;
  opacity: 1;
}

.auth-field small {
  color: #8494bd;
  font-size: 0.92rem;
}

.auth-panel-cpf h1 {
  margin-bottom: 18px;
  padding-right: 42px;
  color: #0b2644;
  font-size: 1.28rem;
  line-height: 1.25;
  font-weight: 700;
}

.auth-panel-cpf p {
  margin-bottom: 18px;
  color: #5f6d82;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 400;
}

.auth-form-cpf {
  gap: 16px;
}

.auth-form-cpf .auth-field {
  gap: 3px;
}

.auth-form-cpf .auth-field input {
  height: 48px;
  border: 1px solid #4b596c;
  border-radius: 7px;
  padding: 0 15px;
  color: #22344c;
  background: #fff;
  font-size: 1rem;
  font-weight: 400;
}

.auth-button {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px solid #d5d9df;
  border-radius: 7px;
  padding: 0 28px;
  color: #000;
  background: #d5d9df;
  font-weight: 900;
  cursor: pointer;
}

.auth-button-green {
  width: 100%;
  height: 45px;
  border-color: #448609;
  color: #fff;
  background: #448609;
  box-shadow: 0 7px 14px rgba(68, 134, 9, 0.14);
  font-weight: 700;
}

.auth-button-green:hover {
  background: #3d7b08;
}

.turnstile-real,
.turnstile-preview {
  width: 100%;
  min-height: 65px;
}

.turnstile-preview {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #d9d9d9;
  padding: 0 8px;
  color: #172337;
  background: #fafafa;
}

.turnstile-preview strong {
  font-size: 0.83rem;
  font-weight: 400;
}

.turnstile-check {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #2f9b58;
}

.turnstile-check::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(-45deg);
}

.turnstile-brand {
  margin-left: auto;
  display: grid;
  justify-items: center;
  gap: 0;
  min-width: 78px;
  color: #111;
  line-height: 1;
}

.turnstile-brand b {
  font-size: 0.62rem;
  letter-spacing: .12em;
}

.turnstile-brand small {
  margin-top: 3px;
  color: #444;
  font-size: 0.55rem;
}

.turnstile-cloud {
  position: relative;
  width: 48px;
  height: 20px;
  margin-bottom: 1px;
}

.turnstile-cloud::before,
.turnstile-cloud::after {
  content: "";
  position: absolute;
  background: #f58220;
}

.turnstile-cloud::before {
  left: 3px;
  bottom: 1px;
  width: 38px;
  height: 11px;
  border-radius: 12px;
}

.turnstile-cloud::after {
  left: 13px;
  bottom: 5px;
  width: 25px;
  height: 15px;
  border-radius: 16px 16px 10px 10px;
  box-shadow: 13px 5px 0 -3px #f58220;
}

.auth-button.compact {
  min-width: 142px;
}

.auth-button.outline {
  color: #f4a000;
  border-color: #ff9f00;
  background: #fff;
}

.security-note {
  margin-top: 4px;
  color: #666;
  font-size: 0.78rem;
}

.social-check {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  color: #000;
  font-size: 0.98rem;
  font-weight: 500;
}

.social-check input {
  width: 29px;
  height: 29px;
  accent-color: #111;
}

.phone-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: end;
}

.ddi-wrap {
  display: grid;
  gap: 10px;
}

.ddi-wrap label {
  padding-left: 27px;
  color: #000;
  font-size: 0.88rem;
}

.ddi-wrap select {
  padding: 0 16px;
  color: #000;
  font-weight: 500;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 62px;
}

.password-field button {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 30px;
  height: 30px;
  border: 0;
  color: transparent;
  background: transparent;
  cursor: pointer;
}

.password-field button::before {
  content: "";
  position: absolute;
  inset: 7px 4px;
  border: 3px solid #060606;
  border-radius: 50% 50% 45% 45%;
  transform: rotate(45deg);
}

.password-field button::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: 11px;
  top: 11px;
  border-radius: 50%;
  background: #060606;
}

.auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}

.auth-page .notice {
  width: min(100%, 914px);
  color: #111;
  background: #fff7e6;
}

@media (max-width: 720px) {
  .checkout-family {
    padding: 16px 8px 34px;
  }

  .checkout-card,
  .checkout-legal {
    padding: 16px;
  }

  .coupon-row {
    grid-template-columns: 1fr;
  }

  .payment-panel {
    margin: 0 12px 16px;
    padding: 18px 14px 14px;
  }

  .checkout-product {
    grid-template-columns: 1fr;
  }

  .checkout-product img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 8;
  }

  .checkout-bonus-banner {
    justify-items: center;
  }

  .bonus-game-grid,
  .wallet-list div,
  .bonus-game-stats,
  .bonus-next-actions {
    grid-template-columns: 1fr;
  }

  .bonus-game-card {
    grid-template-columns: 48px 1fr;
  }

  .wallet-list div {
    align-items: start;
  }

  .post-offer-modal {
    padding: 12px;
  }

  .post-offer-close {
    top: -10px;
    right: -8px;
    width: 46px;
    height: 46px;
  }

  .post-offer-body {
    padding: 18px 16px 24px;
  }

  .post-offer-body h2 {
    font-size: 1.28rem;
  }

  .post-offer-price-card strong {
    font-size: 3.9rem;
  }

  .post-offer-price-card small,
  .post-offer-price-card sup {
    font-size: 1.6rem;
  }

  .auth-modal {
    padding: 10px;
  }

  .auth-modal-dialog {
    height: min(720px, calc(100vh - 20px));
  }

  .auth-modal-close {
    top: 8px;
    right: 8px;
  }

  .auth-shell {
    padding: 26px 18px 36px;
  }

  .auth-embedded .auth-shell {
    padding: 28px 18px 32px;
  }

  .auth-panel h1 {
    font-size: 1.42rem;
  }

  .auth-panel p {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .phone-row {
    grid-template-columns: 1fr;
  }

  .auth-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .auth-button {
    width: 100%;
  }
}

/* Professional platform themes. These tokens keep campaign components readable in every palette. */
body.platform-theme-emerald-luxury {
  --page-bg: #06110c;
  --section-bg: #0b1f16;
  --card-bg: #102c20;
  --card-bg-hover: #143a2a;
  --card-border: #2b6048;
  --card-title: #f4fff8;
  --card-text: #d8f3e3;
  --card-muted: #a9c7b7;
  --card-price-bg: #12b76a;
  --card-price-text: #ffffff;
  --card-old-price: #7fa08e;
  --hero-overlay: linear-gradient(90deg, rgba(3, 15, 10, .92), rgba(3, 15, 10, .68), rgba(3, 15, 10, .18));
  --hero-title: #f4fff8;
  --hero-subtitle: #d8f3e3;
  --hero-badge-bg: #1a2e18;
  --hero-badge-text: #f5c451;
  --combo-bg: #102c20;
  --combo-border: #2b6048;
  --combo-border-featured: #f5c451;
  --combo-title: #f4fff8;
  --combo-text: #d8f3e3;
  --combo-muted: #a9c7b7;
  --combo-price-bg: #12b76a;
  --combo-price-text: #ffffff;
  --combo-pill-bg: #e9f8dd;
  --combo-pill-text: #163b24;
  --combo-discount-bg: #55a900;
  --combo-discount-text: #ffffff;
  --identity-box-bg: #0f2a1e;
  --identity-box-text: #e9fff2;
  --identity-box-border: #2b6048;
  --manual-box-bg: #0d2419;
  --manual-box-text: #e8fff1;
  --manual-box-muted: #a9c7b7;
  --manual-box-border: #2b6048;
  --number-available-bg: #123524;
  --number-available-text: #e8fff1;
  --number-available-border: #2b6048;
  --number-selected-bg: #12b76a;
  --number-selected-text: #ffffff;
  --number-selected-border: #12b76a;
  --number-reserved-bg: #4a1d1d;
  --number-reserved-text: #ffd6d6;
  --number-reserved-border: #9f3a3a;
  --number-paid-bg: #33201b;
  --number-paid-text: #ffd8c8;
  --number-paid-border: #8a4336;
  --number-disabled-bg: #16261d;
  --number-disabled-text: #8ca99a;
  --lot-tab-bg: #102c20;
  --lot-tab-text: #d8f3e3;
  --lot-tab-active-bg: #12b76a;
  --lot-tab-active-text: #ffffff;
  --lot-tab-border: #2b6048;
  --summary-bg: #102c20;
  --summary-text: #f4fff8;
  --summary-muted: #a9c7b7;
  --summary-border: #2b6048;
  --summary-value: #ffffff;
  --summary-progress-bg: #1c3d2d;
  --summary-progress-fill: #12b76a;
  --input-bg: #0b1f16;
  --input-text: #f4fff8;
  --input-border: #2b6048;
  --input-placeholder: #a9c7b7;
  --input-focus-border: #12b76a;
  --input-focus-shadow: 0 0 0 3px rgba(18, 183, 106, .22);
  --btn-primary-bg: #12b76a;
  --btn-primary-text: #ffffff;
  --btn-primary-hover-bg: #0e9f5d;
  --btn-secondary-bg: #143a2a;
  --btn-secondary-text: #e8fff1;
  --btn-secondary-hover-bg: #1a4b36;
  --btn-warning-bg: #f5c451;
  --btn-warning-text: #17210c;
  --btn-danger-bg: #d64545;
  --btn-danger-text: #ffffff;
  --theme-shadow: 0 22px 58px rgba(0, 0, 0, .36);
}

body.platform-theme-royal-dark {
  --page-bg: #070b18;
  --section-bg: #0e1730;
  --card-bg: #16213f;
  --card-bg-hover: #1b2a52;
  --card-border: #334a7d;
  --card-title: #f4f7ff;
  --card-text: #dde6ff;
  --card-muted: #aebbdd;
  --card-price-bg: #3b82f6;
  --card-price-text: #ffffff;
  --card-old-price: #8390b5;
  --hero-overlay: linear-gradient(90deg, rgba(5, 9, 24, .94), rgba(8, 15, 40, .70), rgba(8, 15, 40, .18));
  --hero-title: #f4f7ff;
  --hero-subtitle: #dde6ff;
  --hero-badge-bg: #111a33;
  --hero-badge-text: #7dd3fc;
  --combo-bg: #16213f;
  --combo-border: #334a7d;
  --combo-border-featured: #06b6d4;
  --combo-title: #f4f7ff;
  --combo-text: #dde6ff;
  --combo-muted: #aebbdd;
  --combo-price-bg: #3b82f6;
  --combo-price-text: #ffffff;
  --combo-pill-bg: #ddf8ff;
  --combo-pill-text: #073241;
  --combo-discount-bg: #54a800;
  --combo-discount-text: #ffffff;
  --identity-box-bg: #101d3a;
  --identity-box-text: #eef4ff;
  --identity-box-border: #334a7d;
  --manual-box-bg: #111d38;
  --manual-box-text: #eef4ff;
  --manual-box-muted: #aebbdd;
  --manual-box-border: #334a7d;
  --number-available-bg: #16284a;
  --number-available-text: #eef6ff;
  --number-available-border: #334a7d;
  --number-selected-bg: #3b82f6;
  --number-selected-text: #ffffff;
  --number-selected-border: #3b82f6;
  --number-reserved-bg: #4a1d2a;
  --number-reserved-text: #ffd7e0;
  --number-reserved-border: #9f3a55;
  --number-paid-bg: #332a16;
  --number-paid-text: #ffe9b7;
  --number-paid-border: #8b6a28;
  --number-disabled-bg: #111827;
  --number-disabled-text: #8fa0c2;
  --lot-tab-bg: #16213f;
  --lot-tab-text: #dde6ff;
  --lot-tab-active-bg: #3b82f6;
  --lot-tab-active-text: #ffffff;
  --lot-tab-border: #334a7d;
  --summary-bg: #16213f;
  --summary-text: #f4f7ff;
  --summary-muted: #aebbdd;
  --summary-border: #334a7d;
  --summary-value: #ffffff;
  --summary-progress-bg: #25375f;
  --summary-progress-fill: #06b6d4;
  --input-bg: #0e1730;
  --input-text: #f4f7ff;
  --input-border: #334a7d;
  --input-placeholder: #aebbdd;
  --input-focus-border: #06b6d4;
  --input-focus-shadow: 0 0 0 3px rgba(6, 182, 212, .22);
  --btn-primary-bg: #3b82f6;
  --btn-primary-text: #ffffff;
  --btn-primary-hover-bg: #2563eb;
  --btn-secondary-bg: #1b2a52;
  --btn-secondary-text: #eef4ff;
  --btn-secondary-hover-bg: #223668;
  --btn-warning-bg: #f59e0b;
  --btn-warning-text: #111827;
  --btn-danger-bg: #e05266;
  --btn-danger-text: #ffffff;
  --theme-shadow: 0 22px 58px rgba(0, 0, 0, .38);
}

body.platform-theme-clean-premium {
  --page-bg: #f3f7f5;
  --section-bg: #ffffff;
  --card-bg: #ffffff;
  --card-bg-hover: #f8fcfa;
  --card-border: #d4e2dc;
  --card-title: #0b1f18;
  --card-text: #18362b;
  --card-muted: #536b61;
  --card-price-bg: #047857;
  --card-price-text: #ffffff;
  --card-old-price: #647a70;
  --hero-overlay: linear-gradient(90deg, rgba(5, 20, 14, .86), rgba(5, 20, 14, .55), rgba(5, 20, 14, .10));
  --hero-title: #ffffff;
  --hero-subtitle: #eafbf1;
  --hero-badge-bg: #fff3d2;
  --hero-badge-text: #6f3d00;
  --combo-bg: #ffffff;
  --combo-border: #d4e2dc;
  --combo-border-featured: #d97706;
  --combo-title: #0b1f18;
  --combo-text: #18362b;
  --combo-muted: #536b61;
  --combo-price-bg: #047857;
  --combo-price-text: #ffffff;
  --combo-pill-bg: #e7f8dc;
  --combo-pill-text: #173a23;
  --combo-discount-bg: #3f9700;
  --combo-discount-text: #ffffff;
  --identity-box-bg: #eaf8f1;
  --identity-box-text: #123528;
  --identity-box-border: #96d8b7;
  --manual-box-bg: #ffffff;
  --manual-box-text: #10201a;
  --manual-box-muted: #52645c;
  --manual-box-border: #d4e2dc;
  --number-available-bg: #ffffff;
  --number-available-text: #286451;
  --number-available-border: #bfd8cf;
  --number-selected-bg: #047857;
  --number-selected-text: #ffffff;
  --number-selected-border: #047857;
  --number-reserved-bg: #fde2e2;
  --number-reserved-text: #b42318;
  --number-reserved-border: #f5b5b5;
  --number-paid-bg: #fff1d6;
  --number-paid-text: #8a4b00;
  --number-paid-border: #f1c47b;
  --number-disabled-bg: #eef4f1;
  --number-disabled-text: #667a72;
  --lot-tab-bg: #ffffff;
  --lot-tab-text: #34574a;
  --lot-tab-active-bg: #047857;
  --lot-tab-active-text: #ffffff;
  --lot-tab-border: #c9ddd5;
  --summary-bg: #ffffff;
  --summary-text: #0b1f18;
  --summary-muted: #536b61;
  --summary-border: #d4e2dc;
  --summary-value: #0b1f18;
  --summary-progress-bg: #ddeae5;
  --summary-progress-fill: #047857;
  --input-bg: #ffffff;
  --input-text: #10201a;
  --input-border: #c9ddd5;
  --input-placeholder: #667a72;
  --input-focus-border: #047857;
  --input-focus-shadow: 0 0 0 3px rgba(4, 120, 87, .18);
  --btn-primary-bg: #047857;
  --btn-primary-text: #ffffff;
  --btn-primary-hover-bg: #065f46;
  --btn-secondary-bg: #ffffff;
  --btn-secondary-text: #123528;
  --btn-secondary-hover-bg: #eaf8f1;
  --btn-warning-bg: #b45309;
  --btn-warning-text: #ffffff;
  --btn-danger-bg: #b42318;
  --btn-danger-text: #ffffff;
  --theme-shadow: 0 18px 42px rgba(18, 52, 38, .12);
}

body.platform-theme-orange-black {
  --page-bg: #080604;
  --section-bg: #130d08;
  --card-bg: #1e140c;
  --card-bg-hover: #2a1a0e;
  --card-border: #6b3a16;
  --card-title: #fff7ed;
  --card-text: #f6d8be;
  --card-muted: #c79c75;
  --card-price-bg: #f97316;
  --card-price-text: #ffffff;
  --card-old-price: #a97650;
  --hero-overlay: linear-gradient(90deg, rgba(6, 4, 2, .94), rgba(22, 11, 4, .72), rgba(39, 18, 5, .18));
  --hero-title: #fff7ed;
  --hero-subtitle: #f6d8be;
  --hero-badge-bg: #2b1708;
  --hero-badge-text: #fdba74;
  --combo-bg: #1e140c;
  --combo-border: #6b3a16;
  --combo-border-featured: #fb923c;
  --combo-title: #fff7ed;
  --combo-text: #f6d8be;
  --combo-muted: #c79c75;
  --combo-price-bg: #f97316;
  --combo-price-text: #ffffff;
  --combo-pill-bg: #ffe8d2;
  --combo-pill-text: #4a1d06;
  --combo-discount-bg: #ea580c;
  --combo-discount-text: #ffffff;
  --identity-box-bg: #241205;
  --identity-box-text: #fff1e6;
  --identity-box-border: #6b3a16;
  --manual-box-bg: #160d07;
  --manual-box-text: #fff1e6;
  --manual-box-muted: #c79c75;
  --manual-box-border: #6b3a16;
  --number-available-bg: #2a160a;
  --number-available-text: #ffecdc;
  --number-available-border: #6b3a16;
  --number-selected-bg: #f97316;
  --number-selected-text: #ffffff;
  --number-selected-border: #f97316;
  --number-reserved-bg: #4a1d1d;
  --number-reserved-text: #ffd6d6;
  --number-reserved-border: #9f3a3a;
  --number-paid-bg: #3b2910;
  --number-paid-text: #ffe7b0;
  --number-paid-border: #8a5a1b;
  --number-disabled-bg: #221911;
  --number-disabled-text: #9f836a;
  --lot-tab-bg: #1e140c;
  --lot-tab-text: #f6d8be;
  --lot-tab-active-bg: #f97316;
  --lot-tab-active-text: #ffffff;
  --lot-tab-border: #6b3a16;
  --summary-bg: #1e140c;
  --summary-text: #fff7ed;
  --summary-muted: #c79c75;
  --summary-border: #6b3a16;
  --summary-value: #ffffff;
  --summary-progress-bg: #3a2412;
  --summary-progress-fill: #f97316;
  --input-bg: #130d08;
  --input-text: #fff7ed;
  --input-border: #6b3a16;
  --input-placeholder: #c79c75;
  --input-focus-border: #f97316;
  --input-focus-shadow: 0 0 0 3px rgba(249, 115, 22, .24);
  --btn-primary-bg: #f97316;
  --btn-primary-text: #ffffff;
  --btn-primary-hover-bg: #ea580c;
  --btn-secondary-bg: #2a1a0e;
  --btn-secondary-text: #fff1e6;
  --btn-secondary-hover-bg: #3a2412;
  --btn-warning-bg: #fdba74;
  --btn-warning-text: #2a1205;
  --btn-danger-bg: #dc2626;
  --btn-danger-text: #ffffff;
  --theme-shadow: 0 22px 58px rgba(0, 0, 0, .4);
}

body.platform-theme-yellow-black {
  --page-bg: #070705;
  --section-bg: #111009;
  --card-bg: #1c1a0d;
  --card-bg-hover: #292513;
  --card-border: #5a5120;
  --card-title: #fffce8;
  --card-text: #f3ecb8;
  --card-muted: #beb47a;
  --card-price-bg: #facc15;
  --card-price-text: #171100;
  --card-old-price: #9c925f;
  --hero-overlay: linear-gradient(90deg, rgba(5, 5, 2, .94), rgba(19, 17, 5, .74), rgba(45, 36, 5, .18));
  --hero-title: #fffce8;
  --hero-subtitle: #f3ecb8;
  --hero-badge-bg: #2e2605;
  --hero-badge-text: #fde68a;
  --combo-bg: #1c1a0d;
  --combo-border: #5a5120;
  --combo-border-featured: #facc15;
  --combo-title: #fffce8;
  --combo-text: #f3ecb8;
  --combo-muted: #beb47a;
  --combo-price-bg: #facc15;
  --combo-price-text: #171100;
  --combo-pill-bg: #fff7bf;
  --combo-pill-text: #423500;
  --combo-discount-bg: #ca8a04;
  --combo-discount-text: #ffffff;
  --identity-box-bg: #252109;
  --identity-box-text: #fff9d1;
  --identity-box-border: #5a5120;
  --manual-box-bg: #151307;
  --manual-box-text: #fff9d1;
  --manual-box-muted: #beb47a;
  --manual-box-border: #5a5120;
  --number-available-bg: #292513;
  --number-available-text: #fff7bf;
  --number-available-border: #5a5120;
  --number-selected-bg: #facc15;
  --number-selected-text: #171100;
  --number-selected-border: #facc15;
  --number-reserved-bg: #4a1d1d;
  --number-reserved-text: #ffd6d6;
  --number-reserved-border: #9f3a3a;
  --number-paid-bg: #3c2f08;
  --number-paid-text: #fff0a3;
  --number-paid-border: #8a6d0a;
  --number-disabled-bg: #202011;
  --number-disabled-text: #9d9567;
  --lot-tab-bg: #1c1a0d;
  --lot-tab-text: #f3ecb8;
  --lot-tab-active-bg: #facc15;
  --lot-tab-active-text: #171100;
  --lot-tab-border: #5a5120;
  --summary-bg: #1c1a0d;
  --summary-text: #fffce8;
  --summary-muted: #beb47a;
  --summary-border: #5a5120;
  --summary-value: #ffffff;
  --summary-progress-bg: #36310f;
  --summary-progress-fill: #facc15;
  --input-bg: #111009;
  --input-text: #fffce8;
  --input-border: #5a5120;
  --input-placeholder: #beb47a;
  --input-focus-border: #facc15;
  --input-focus-shadow: 0 0 0 3px rgba(250, 204, 21, .22);
  --btn-primary-bg: #facc15;
  --btn-primary-text: #171100;
  --btn-primary-hover-bg: #eab308;
  --btn-secondary-bg: #292513;
  --btn-secondary-text: #fff9d1;
  --btn-secondary-hover-bg: #38320f;
  --btn-warning-bg: #fde68a;
  --btn-warning-text: #171100;
  --btn-danger-bg: #dc2626;
  --btn-danger-text: #ffffff;
  --theme-shadow: 0 22px 58px rgba(0, 0, 0, .42);
}

body.platform-theme-purple-orange {
  --page-bg: #0d0615;
  --section-bg: #180b26;
  --card-bg: #241137;
  --card-bg-hover: #31194a;
  --card-border: #654088;
  --card-title: #fff7ff;
  --card-text: #e9d7ff;
  --card-muted: #c2a5dd;
  --card-price-bg: #f97316;
  --card-price-text: #ffffff;
  --card-old-price: #9c7db8;
  --hero-overlay: linear-gradient(90deg, rgba(12, 5, 22, .94), rgba(30, 10, 51, .72), rgba(95, 37, 11, .18));
  --hero-title: #fff7ff;
  --hero-subtitle: #e9d7ff;
  --hero-badge-bg: #2b143f;
  --hero-badge-text: #fdba74;
  --combo-bg: #241137;
  --combo-border: #654088;
  --combo-border-featured: #f97316;
  --combo-title: #fff7ff;
  --combo-text: #e9d7ff;
  --combo-muted: #c2a5dd;
  --combo-price-bg: #f97316;
  --combo-price-text: #ffffff;
  --combo-pill-bg: #f3e8ff;
  --combo-pill-text: #3b145c;
  --combo-discount-bg: #c2410c;
  --combo-discount-text: #ffffff;
  --identity-box-bg: #2a1641;
  --identity-box-text: #f6eafe;
  --identity-box-border: #654088;
  --manual-box-bg: #1a0d29;
  --manual-box-text: #f6eafe;
  --manual-box-muted: #c2a5dd;
  --manual-box-border: #654088;
  --number-available-bg: #30174a;
  --number-available-text: #f6eafe;
  --number-available-border: #654088;
  --number-selected-bg: #f97316;
  --number-selected-text: #ffffff;
  --number-selected-border: #f97316;
  --number-reserved-bg: #4a1d2a;
  --number-reserved-text: #ffd7e0;
  --number-reserved-border: #9f3a55;
  --number-paid-bg: #3a2412;
  --number-paid-text: #ffe3c7;
  --number-paid-border: #9a5421;
  --number-disabled-bg: #24172f;
  --number-disabled-text: #a991ba;
  --lot-tab-bg: #241137;
  --lot-tab-text: #e9d7ff;
  --lot-tab-active-bg: #f97316;
  --lot-tab-active-text: #ffffff;
  --lot-tab-border: #654088;
  --summary-bg: #241137;
  --summary-text: #fff7ff;
  --summary-muted: #c2a5dd;
  --summary-border: #654088;
  --summary-value: #ffffff;
  --summary-progress-bg: #3a2055;
  --summary-progress-fill: #f97316;
  --input-bg: #180b26;
  --input-text: #fff7ff;
  --input-border: #654088;
  --input-placeholder: #c2a5dd;
  --input-focus-border: #f97316;
  --input-focus-shadow: 0 0 0 3px rgba(249, 115, 22, .22);
  --btn-primary-bg: #f97316;
  --btn-primary-text: #ffffff;
  --btn-primary-hover-bg: #ea580c;
  --btn-secondary-bg: #31194a;
  --btn-secondary-text: #f6eafe;
  --btn-secondary-hover-bg: #412160;
  --btn-warning-bg: #fdba74;
  --btn-warning-text: #2a1205;
  --btn-danger-bg: #e05266;
  --btn-danger-text: #ffffff;
  --theme-shadow: 0 22px 58px rgba(0, 0, 0, .42);
}

body[class*="platform-theme-"] {
  color: var(--card-text);
  background: var(--page-bg);
}

body[class*="platform-theme-"] .site-shell,
body[class*="platform-theme-"] .section {
  background: var(--page-bg);
}

body[class*="platform-theme-"] .topbar {
  border-color: var(--card-border);
  background: color-mix(in srgb, var(--section-bg) 92%, transparent);
  backdrop-filter: blur(18px);
}

body[class*="platform-theme-"] .brand,
body[class*="platform-theme-"] .brand-name,
body[class*="platform-theme-"] .site-menu-toggle,
body[class*="platform-theme-"] .site-alert-toggle {
  color: var(--card-title);
}

body[class*="platform-theme-"] .brand-name small,
body[class*="platform-theme-"] .site-menu-user small,
body[class*="platform-theme-"] .site-alert-empty {
  color: var(--card-muted);
}

body[class*="platform-theme-"] .brand-mark {
  color: var(--btn-primary-text);
  background: var(--btn-primary-bg);
}

body[class*="platform-theme-"] .site-menu-panel,
body[class*="platform-theme-"] .site-alert-panel {
  border-color: var(--card-border);
  background: var(--card-bg);
  box-shadow: var(--theme-shadow);
}

body[class*="platform-theme-"] .site-menu-user,
body[class*="platform-theme-"] .site-alert-item,
body[class*="platform-theme-"] .site-menu-info {
  border-color: var(--card-border);
  color: var(--card-text);
  background: var(--card-bg-hover);
}

body[class*="platform-theme-"] .site-menu-profile-link:hover {
  background: var(--card-bg-hover);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--btn-primary-bg) 18%, transparent);
}

body[class*="platform-theme-"] .site-menu-user > span {
  color: var(--btn-primary-text);
  background: var(--btn-primary-bg);
}

body[class*="platform-theme-"] .site-menu-user em {
  color: var(--btn-primary-bg);
}

body[class*="platform-theme-"] .site-menu-user strong,
body[class*="platform-theme-"] .site-menu-info strong {
  color: var(--card-title);
}

body[class*="platform-theme-"] .site-menu-info p {
  border-bottom-color: var(--card-border);
}

body[class*="platform-theme-"] .site-menu-info span {
  color: var(--card-muted);
}

body[class*="platform-theme-"] .site-alert-item:hover {
  border-color: var(--input-focus-border);
  background: var(--card-bg-hover);
}

body[class*="platform-theme-"] .site-alert-item.winner,
body[class*="platform-theme-"] .site-alert-item.bonus-prize {
  border-color: var(--combo-border-featured);
  color: var(--combo-pill-text);
  background: var(--combo-pill-bg);
}

body[class*="platform-theme-"] .site-alert-item em {
  color: var(--card-title);
}

body[class*="platform-theme-"] .site-alert-item span {
  color: var(--card-muted);
}

body[class*="platform-theme-"] .site-alert-item.winner em,
body[class*="platform-theme-"] .site-alert-item.winner span,
body[class*="platform-theme-"] .site-alert-item.bonus-prize em,
body[class*="platform-theme-"] .site-alert-item.bonus-prize span {
  color: currentColor;
}

body[class*="platform-theme-"] .site-menu-links a {
  border-color: var(--card-border);
  color: var(--btn-secondary-text);
  background: var(--btn-secondary-bg);
}

body[class*="platform-theme-"] .site-menu-links a:hover {
  border-color: var(--input-focus-border);
  color: var(--btn-secondary-text);
  background: var(--btn-secondary-hover-bg);
}

body[class*="platform-theme-"] .site-menu-links .site-menu-winner {
  border-color: var(--combo-border-featured);
  color: var(--combo-pill-text);
  background: var(--combo-pill-bg);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--btn-primary-bg) 22%, transparent);
}

body[class*="platform-theme-"] .site-menu-links .site-menu-winner:hover {
  border-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  background: var(--btn-primary-bg);
}

body[class*="platform-theme-"] .site-menu-winner span {
  color: currentColor;
  opacity: .78;
}

body[class*="platform-theme-"] .site-menu-toggle,
body[class*="platform-theme-"] .site-alert-toggle {
  border-color: var(--card-border);
  color: var(--btn-secondary-text);
  background: var(--btn-secondary-bg);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--card-text) 9%, transparent);
}

body[class*="platform-theme-"] .site-menu-toggle:hover,
body[class*="platform-theme-"] .site-alert-toggle:hover {
  border-color: var(--input-focus-border);
  color: var(--btn-secondary-text);
  background: var(--btn-secondary-hover-bg);
}

body[class*="platform-theme-"] .header-buy-button,
body[class*="platform-theme-"] .button.gold,
body[class*="platform-theme-"] .button:not(.secondary):not(.danger),
body[class*="platform-theme-"] button.button:not(.secondary):not(.danger),
body[class*="platform-theme-"] .btn-primary {
  border-color: transparent;
  color: var(--btn-primary-text);
  background: var(--btn-primary-bg);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--btn-primary-bg) 28%, transparent);
}

body[class*="platform-theme-"] .header-buy-button:hover,
body[class*="platform-theme-"] .button.gold:hover,
body[class*="platform-theme-"] .button:not(.secondary):not(.danger):hover,
body[class*="platform-theme-"] button.button:not(.secondary):not(.danger):hover,
body[class*="platform-theme-"] .btn-primary:hover {
  color: var(--btn-primary-text);
  background: var(--btn-primary-hover-bg);
}

body[class*="platform-theme-"] .checkout-bonus-banner a.checkout-bonus-scroll {
  border-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  background: var(--btn-primary-bg);
  text-shadow: none;
  box-shadow: 0 18px 34px color-mix(in srgb, var(--btn-primary-bg) 28%, transparent);
}

body[class*="platform-theme-"] .checkout-bonus-banner a.checkout-bonus-scroll:hover {
  color: var(--btn-primary-text);
  background: var(--btn-primary-hover-bg);
}

body[class*="platform-theme-"] .button.secondary,
body[class*="platform-theme-"] .btn-secondary,
body[class*="platform-theme-"] .btn-outline {
  border-color: var(--card-border);
  color: var(--btn-secondary-text);
  background: var(--btn-secondary-bg);
  box-shadow: none;
}

body[class*="platform-theme-"] .button.secondary:hover,
body[class*="platform-theme-"] .btn-secondary:hover,
body[class*="platform-theme-"] .btn-outline:hover {
  color: var(--btn-secondary-text);
  background: var(--btn-secondary-hover-bg);
}

body[class*="platform-theme-"] .button.danger,
body[class*="platform-theme-"] .btn-danger {
  color: var(--btn-danger-text);
  background: var(--btn-danger-bg);
}

body[class*="platform-theme-"] .btn-warning {
  color: var(--btn-warning-text);
  background: var(--btn-warning-bg);
}

body[class*="platform-theme-"] .hero {
  color: var(--hero-title);
  border-color: var(--card-border);
  background: var(--page-bg);
}

body[class*="platform-theme-"] .hero-media {
  z-index: 0;
}

body[class*="platform-theme-"] .hero-media::after {
  z-index: 1;
  background: var(--hero-overlay);
}

body[class*="platform-theme-"] .hero-content {
  position: relative;
  z-index: 2;
}

body[class*="platform-theme-"] .hero h1 {
  color: var(--hero-title);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

body[class*="platform-theme-"] .hero p {
  color: var(--hero-subtitle);
}

body[class*="platform-theme-"] .eyebrow,
body[class*="platform-theme-"] .badge.warning {
  border: 1px solid var(--hero-badge-bg);
  color: var(--hero-badge-text);
  background: var(--hero-badge-bg);
}

body[class*="platform-theme-"] .badge {
  border: 1px solid var(--card-border);
  color: var(--card-text);
  background: var(--card-bg-hover);
}

body[class*="platform-theme-"] .badge.success,
body[class*="platform-theme-"] .notice.success {
  border-color: var(--identity-box-border);
  color: var(--identity-box-text);
  background: var(--identity-box-bg);
}

body[class*="platform-theme-"] .badge.warning,
body[class*="platform-theme-"] .notice.warning {
  border-color: var(--hero-badge-bg);
  color: var(--hero-badge-text);
  background: var(--hero-badge-bg);
}

body[class*="platform-theme-"] .badge.danger,
body[class*="platform-theme-"] .notice.error {
  border-color: var(--number-reserved-border);
  color: var(--number-reserved-text);
  background: var(--number-reserved-bg);
}

body[class*="platform-theme-"] .badge.primary,
body[class*="platform-theme-"] .badge.info,
body[class*="platform-theme-"] .badge.secondary,
body[class*="platform-theme-"] .notice {
  border-color: var(--card-border);
  color: var(--card-text);
  background: var(--card-bg-hover);
}

body[class*="platform-theme-"] .card,
body[class*="platform-theme-"] .auth-panel,
body[class*="platform-theme-"] .auth-modal-dialog {
  border-color: var(--card-border);
  color: var(--card-text);
  background: var(--card-bg);
  box-shadow: var(--theme-shadow);
}

body[class*="platform-theme-"] .card h1,
body[class*="platform-theme-"] .card h2,
body[class*="platform-theme-"] .card h3,
body[class*="platform-theme-"] .section-title h2,
body[class*="platform-theme-"] .auth-panel h1 {
  color: var(--card-title);
}

body[class*="platform-theme-"] .card p,
body[class*="platform-theme-"] .auth-panel p {
  color: var(--card-text);
}

body[class*="platform-theme-"] .muted,
body[class*="platform-theme-"] .card small,
body[class*="platform-theme-"] .auth-field small,
body[class*="platform-theme-"] .section-title span {
  color: var(--card-muted);
}

body[class*="platform-theme-"] input,
body[class*="platform-theme-"] select,
body[class*="platform-theme-"] textarea {
  border-color: var(--input-border);
  color: var(--input-text);
  background: var(--input-bg);
}

body[class*="platform-theme-"] input::placeholder,
body[class*="platform-theme-"] textarea::placeholder {
  color: var(--input-placeholder);
}

body[class*="platform-theme-"] input:focus,
body[class*="platform-theme-"] select:focus,
body[class*="platform-theme-"] textarea:focus {
  border-color: var(--input-focus-border);
  box-shadow: var(--input-focus-shadow);
}

body[class*="platform-theme-"] .auth-modal-backdrop {
  background: color-mix(in srgb, #000000 78%, var(--page-bg) 22%);
}

body[class*="platform-theme-"] .auth-modal-dialog,
body[class*="platform-theme-"] .auth-modal-dialog iframe {
  background: var(--card-bg);
}

body[class*="platform-theme-"].auth-page {
  color: var(--card-text);
  background:
    radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--btn-primary-bg) 14%, transparent), transparent 26rem),
    var(--page-bg);
}

body[class*="platform-theme-"].auth-embedded {
  background: var(--card-bg);
}

body[class*="platform-theme-"] .auth-modal-close {
  color: var(--input-focus-border);
}

body[class*="platform-theme-"] .auth-modal-close:hover {
  color: var(--btn-primary-text);
  background: var(--btn-primary-bg);
}

body[class*="platform-theme-"] .auth-panel-cpf h1,
body[class*="platform-theme-"] .auth-panel h1 {
  color: var(--card-title);
}

body[class*="platform-theme-"] .auth-panel-cpf p,
body[class*="platform-theme-"] .auth-panel p {
  color: var(--card-text);
}

body[class*="platform-theme-"] .auth-field label {
  color: var(--card-muted);
}

body[class*="platform-theme-"] .social-check,
body[class*="platform-theme-"] .ddi-wrap label {
  color: var(--card-text);
}

body[class*="platform-theme-"] .social-check input {
  border-color: var(--input-border);
  accent-color: var(--btn-primary-bg);
}

body[class*="platform-theme-"] .auth-form-cpf .auth-field input,
body[class*="platform-theme-"] .auth-field input,
body[class*="platform-theme-"] .auth-field select,
body[class*="platform-theme-"] .ddi-wrap select {
  border-color: var(--input-border);
  color: var(--input-text);
  background: var(--input-bg);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 5%, transparent);
}

body[class*="platform-theme-"] .auth-field input::placeholder {
  color: var(--input-placeholder);
  opacity: 1;
}

body[class*="platform-theme-"] .auth-form-cpf .auth-field input:focus,
body[class*="platform-theme-"] .auth-field input:focus,
body[class*="platform-theme-"] .auth-field select:focus,
body[class*="platform-theme-"] .ddi-wrap select:focus {
  border-color: var(--input-focus-border);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--input-focus-border) 16%, transparent),
    inset 0 1px 0 color-mix(in srgb, #ffffff 7%, transparent);
}

body[class*="platform-theme-"] .password-field button::before {
  border-color: var(--card-muted);
}

body[class*="platform-theme-"] .password-field button::after {
  background: var(--card-muted);
}

body[class*="platform-theme-"] .password-field button:hover::before {
  border-color: var(--input-focus-border);
}

body[class*="platform-theme-"] .password-field button:hover::after {
  background: var(--input-focus-border);
}

body[class*="platform-theme-"] .auth-button,
body[class*="platform-theme-"] .auth-button-green {
  border-color: color-mix(in srgb, var(--btn-primary-bg) 82%, #ffffff 18%);
  color: var(--btn-primary-text);
  background: var(--btn-primary-bg);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--btn-primary-bg) 24%, transparent);
}

body[class*="platform-theme-"] .auth-button:hover,
body[class*="platform-theme-"] .auth-button-green:hover {
  color: var(--btn-primary-text);
  background: var(--btn-primary-hover-bg);
}

body[class*="platform-theme-"] .auth-button.outline {
  border-color: var(--card-border);
  color: var(--btn-secondary-text);
  background: var(--btn-secondary-bg);
  box-shadow: none;
}

body[class*="platform-theme-"] .auth-button.outline:hover {
  border-color: var(--input-focus-border);
  color: var(--btn-secondary-text);
  background: var(--btn-secondary-hover-bg);
}

body[class*="platform-theme-"].auth-page .notice {
  border-color: var(--card-border);
  color: var(--card-text);
  background: var(--card-bg-hover);
}

body[class*="platform-theme-"] .turnstile-preview {
  border-color: var(--card-border);
  color: var(--card-text);
  background: var(--card-bg-hover);
}

body[class*="platform-theme-"] .turnstile-check {
  background: var(--btn-primary-bg);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--btn-primary-bg) 18%, transparent);
}

body[class*="platform-theme-"] .turnstile-brand {
  color: var(--card-title);
}

body[class*="platform-theme-"] .turnstile-brand small {
  color: var(--card-muted);
}

body[class*="platform-theme-"] .turnstile-cloud::before,
body[class*="platform-theme-"] .turnstile-cloud::after {
  background: var(--input-focus-border);
}

body[class*="platform-theme-"] .turnstile-cloud::after {
  box-shadow: 13px 5px 0 -3px var(--input-focus-border);
}

body.auth-page[class*="platform-theme-"] .auth-panel,
body.auth-page[class*="platform-theme-"] .auth-form {
  color: var(--card-text);
}

body.auth-page[class*="platform-theme-"] .social-check,
body.auth-page[class*="platform-theme-"] .social-check span,
body.auth-page[class*="platform-theme-"] .ddi-wrap label,
body.auth-page[class*="platform-theme-"] .auth-field small,
body.auth-page[class*="platform-theme-"] .security-note {
  color: var(--card-muted);
}

body.auth-page[class*="platform-theme-"] .social-check span {
  color: var(--card-text);
}

body.auth-page[class*="platform-theme-"] .auth-field input,
body.auth-page[class*="platform-theme-"] .auth-field select,
body.auth-page[class*="platform-theme-"] .ddi-wrap select {
  border-width: 1px;
  border-color: color-mix(in srgb, var(--input-border) 78%, transparent);
  color: var(--input-text);
  background: color-mix(in srgb, var(--input-bg) 92%, #000 8%);
  box-shadow: none;
}

body.auth-page[class*="platform-theme-"] .auth-field input:focus,
body.auth-page[class*="platform-theme-"] .auth-field select:focus,
body.auth-page[class*="platform-theme-"] .ddi-wrap select:focus {
  border-color: color-mix(in srgb, var(--input-focus-border) 58%, var(--input-border));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--input-focus-border) 14%, transparent);
}

body.auth-page[class*="platform-theme-"] .auth-field input::placeholder {
  color: var(--input-placeholder);
}

body.auth-page[class*="platform-theme-"] .social-check input {
  accent-color: var(--btn-primary-bg);
}

body[class*="platform-theme-"] .identity-box {
  border-color: var(--identity-box-border);
  color: var(--identity-box-text);
  background: var(--identity-box-bg);
}

body[class*="platform-theme-"] .identity-box strong {
  color: inherit;
}

body[class*="platform-theme-"] .combo-offers {
  border-color: var(--combo-border);
  color: var(--combo-text);
  background: var(--section-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

body[class*="platform-theme-"] .combo-offers-head h3 {
  color: var(--combo-title);
}

body[class*="platform-theme-"] .combo-offers-head span {
  color: var(--combo-muted);
}

body[class*="platform-theme-"] .combo-offer-card {
  border-color: var(--combo-border);
  color: var(--combo-text);
  background: var(--combo-bg);
  box-shadow: none;
}

body[class*="platform-theme-"] .combo-offer-card:hover,
body[class*="platform-theme-"] .combo-offer-card.selected {
  border-color: var(--combo-border-featured);
  background: var(--card-bg-hover);
  box-shadow: 0 0 0 1px var(--combo-border-featured), 0 16px 40px rgba(0, 0, 0, .18);
}

body[class*="platform-theme-"] .combo-offer-card.featured {
  border-color: var(--combo-border-featured);
}

body[class*="platform-theme-"] .combo-offer-card strong {
  color: var(--combo-title);
}

body[class*="platform-theme-"] .combo-offer-card span,
body[class*="platform-theme-"] .combo-offer-card p,
body[class*="platform-theme-"] .combo-offer-card li,
body[class*="platform-theme-"] .combo-benefit,
body[class*="platform-theme-"] .combo-description {
  color: var(--combo-text);
}

body[class*="platform-theme-"] .combo-offer-card em,
body[class*="platform-theme-"] .combo-offer-card small,
body[class*="platform-theme-"] .combo-muted,
body[class*="platform-theme-"] .combo-old-price {
  color: var(--combo-muted);
}

body[class*="platform-theme-"] .combo-offer-card small {
  color: var(--combo-discount-text);
  background: var(--combo-discount-bg);
}

body[class*="platform-theme-"] .combo-offer-card b {
  color: var(--btn-warning-text);
  background: var(--combo-border-featured);
}

body[class*="platform-theme-"] .combo-offer-card mark,
body[class*="platform-theme-"] .combo-price,
body[class*="platform-theme-"] .price-highlight {
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--combo-price-text);
  background: var(--combo-price-bg);
}

body[class*="platform-theme-"] .combo-offer-card s {
  color: var(--card-old-price);
}

body[class*="platform-theme-"] .combo-offer-card .combo-unit-price,
body[class*="platform-theme-"] .combo-unit-pill {
  color: var(--combo-pill-text);
  background: var(--combo-pill-bg);
}

body[class*="platform-theme-"] .combo-offer-card .combo-unit-price strong {
  color: var(--combo-pill-text);
}

body[class*="platform-theme-"] .selected-combo-panel {
  border-color: var(--combo-border-featured);
  color: var(--combo-text);
  background: var(--combo-bg);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
}

body[class*="platform-theme-"] .selected-combo-head span,
body[class*="platform-theme-"] .selected-combo-bonus > strong {
  color: var(--combo-muted);
}

body[class*="platform-theme-"] .selected-combo-head strong {
  color: var(--combo-title);
}

body[class*="platform-theme-"] .selected-combo-head mark {
  color: var(--combo-discount-text);
  background: var(--combo-discount-bg);
}

body[class*="platform-theme-"] .selected-combo-values,
body[class*="platform-theme-"] .selected-combo-details article {
  border-color: var(--card-border);
  color: var(--card-text);
  background: var(--card-bg-hover);
}

body[class*="platform-theme-"] .selected-combo-values span,
body[class*="platform-theme-"] .selected-combo-details p {
  color: var(--card-muted);
}

body[class*="platform-theme-"] .selected-combo-values strong,
body[class*="platform-theme-"] .selected-combo-details strong {
  color: var(--card-title);
}

body[class*="platform-theme-"] .selected-combo-values div:last-child strong {
  color: var(--card-price-bg);
}

body[class*="platform-theme-"] .selected-combo-bonus span,
body[class*="platform-theme-"] .selected-combo-details article > span {
  color: var(--combo-pill-text);
  background: var(--combo-pill-bg);
}

body[class*="platform-theme-"] .manual-numbers-toggle {
  border-color: var(--manual-box-border);
  color: var(--btn-secondary-text);
  background: var(--btn-secondary-bg);
}

body[class*="platform-theme-"] .manual-numbers-toggle:hover,
body[class*="platform-theme-"] .manual-numbers-toggle[aria-expanded="true"] {
  border-color: var(--input-focus-border);
  color: var(--btn-secondary-text);
  background: var(--btn-secondary-hover-bg);
}

body[class*="platform-theme-"] .number-batch-panel {
  border: 1px solid var(--manual-box-border);
  border-radius: 14px;
  padding: 12px;
  color: var(--manual-box-text);
  background: var(--manual-box-bg);
}

body[class*="platform-theme-"] .number-batch-head {
  border-color: var(--manual-box-border);
  background: var(--card-bg-hover);
}

body[class*="platform-theme-"] .number-batch-head strong {
  color: var(--manual-box-text);
}

body[class*="platform-theme-"] .number-batch-head span,
body[class*="platform-theme-"] .number-batch-head small {
  color: var(--manual-box-muted);
}

body[class*="platform-theme-"] .number-batch-button {
  border-color: var(--lot-tab-border);
  color: var(--lot-tab-text);
  background: var(--lot-tab-bg);
}

body[class*="platform-theme-"] .number-batch-button small {
  color: var(--manual-box-muted);
}

body[class*="platform-theme-"] .number-batch-button.active,
body[class*="platform-theme-"] .number-batch-button:hover {
  border-color: var(--lot-tab-active-bg);
  color: var(--lot-tab-active-text);
  background: var(--lot-tab-active-bg);
}

body[class*="platform-theme-"] .number-batch-button.active small,
body[class*="platform-theme-"] .number-batch-button:hover small {
  color: var(--lot-tab-active-text);
}

body[class*="platform-theme-"] .number-chip {
  border-color: var(--number-available-border);
  color: var(--number-available-text);
  background: var(--number-available-bg);
  opacity: 1;
}

body[class*="platform-theme-"] .number-chip:has(input:checked) {
  border-color: var(--number-selected-border);
  color: var(--number-selected-text);
  background: var(--number-selected-bg);
}

body[class*="platform-theme-"] .number-chip.reserved {
  border-color: var(--number-reserved-border);
  color: var(--number-reserved-text);
  background: var(--number-reserved-bg);
  opacity: 1;
}

body[class*="platform-theme-"] .number-chip.sold {
  border-color: var(--number-paid-border);
  color: var(--number-paid-text);
  background: var(--number-paid-bg);
  opacity: 1;
}

body[class*="platform-theme-"] .number-chip.disabled,
body[class*="platform-theme-"] .number-chip[aria-disabled="true"] {
  border-color: var(--number-disabled-bg);
  color: var(--number-disabled-text);
  background: var(--number-disabled-bg);
  opacity: 1;
}

body[class*="platform-theme-"] .summary-box {
  border-color: var(--summary-border);
  color: var(--summary-text);
  background: var(--summary-bg);
}

body[class*="platform-theme-"] .summary-box h2 {
  color: var(--summary-text);
}

body[class*="platform-theme-"] .summary-line {
  border-color: var(--summary-border);
  color: var(--summary-text);
}

body[class*="platform-theme-"] .summary-line .muted {
  color: var(--summary-muted);
}

body[class*="platform-theme-"] .summary-line strong {
  color: var(--summary-value);
}

body[class*="platform-theme-"] .progress-track {
  background: var(--summary-progress-bg);
}

body[class*="platform-theme-"] .progress-bar {
  background: var(--summary-progress-fill);
}

body[class*="platform-theme-"] .checkout-family,
body[class*="platform-theme-"] .customer-offers-page,
body[class*="platform-theme-"] .customer-bonus-page,
body[class*="platform-theme-"] .affiliate-page,
body[class*="platform-theme-"] .profile-page,
body[class*="platform-theme-"] .winner-page {
  color: var(--card-text);
  background: var(--page-bg);
}

body[class*="platform-theme-"] .checkout-card,
body[class*="platform-theme-"] .checkout-details,
body[class*="platform-theme-"] .checkout-legal,
body[class*="platform-theme-"] .checkout-product,
body[class*="platform-theme-"] .checkout-buyer,
body[class*="platform-theme-"] .checkout-numbers,
body[class*="platform-theme-"] .profile-card,
body[class*="platform-theme-"] .profile-section-title,
body[class*="platform-theme-"] .affiliate-campaign-links article,
body[class*="platform-theme-"] .affiliate-stats-grid article,
body[class*="platform-theme-"] .customer-offer-card,
body[class*="platform-theme-"] .winner-card,
body[class*="platform-theme-"] .bonus-entry-summary article,
body[class*="platform-theme-"] .bonus-entry-history article,
body[class*="platform-theme-"] .pending-bonus-list article,
body[class*="platform-theme-"] .bonus-use-form,
body[class*="platform-theme-"] .prize-claim-item,
body[class*="platform-theme-"] .prize-track-grid > div {
  border-color: var(--card-border);
  color: var(--card-text);
  background: var(--card-bg);
  box-shadow: var(--theme-shadow);
}

body[class*="platform-theme-"] .notification-toggle-row {
  border-color: var(--card-border);
  color: var(--card-text);
  background: var(--card-bg-hover);
}

body[class*="platform-theme-"] .notification-toggle-row strong {
  color: var(--card-title);
}

body[class*="platform-theme-"] .notification-toggle-row span {
  color: var(--card-muted);
}

body[class*="platform-theme-"] .notification-preference-status {
  color: var(--combo-border-featured);
}

body[class*="platform-theme-"] .checkout-logo,
body[class*="platform-theme-"] .checkout-card h2,
body[class*="platform-theme-"] .checkout-details h2,
body[class*="platform-theme-"] .checkout-processed h1,
body[class*="platform-theme-"] .checkout-steps strong,
body[class*="platform-theme-"] .checkout-buyer h3,
body[class*="platform-theme-"] .checkout-numbers h3,
body[class*="platform-theme-"] .payment-method strong,
body[class*="platform-theme-"] .checkout-summary-line strong,
body[class*="platform-theme-"] .checkout-summary-line.total strong,
body[class*="platform-theme-"] .checkout-bonus-line strong,
body[class*="platform-theme-"] .payment-panel h1,
body[class*="platform-theme-"] .profile-card h2,
body[class*="platform-theme-"] .profile-section-title h2,
body[class*="platform-theme-"] .profile-data-list dd,
body[class*="platform-theme-"] .profile-withdrawal-list strong,
body[class*="platform-theme-"] .affiliate-hero h1,
body[class*="platform-theme-"] .affiliate-link-panel h2,
body[class*="platform-theme-"] .affiliate-campaign-links article strong,
body[class*="platform-theme-"] .affiliate-code-card strong,
body[class*="platform-theme-"] .wallet-list span,
body[class*="platform-theme-"] .bonus-entry-summary span,
body[class*="platform-theme-"] .bonus-entry-history strong,
body[class*="platform-theme-"] .pending-bonus-list h3,
body[class*="platform-theme-"] .pending-bonus-list article strong,
body[class*="platform-theme-"] .bonus-entry-history h3,
body[class*="platform-theme-"] .bonus-use-intro strong,
body[class*="platform-theme-"] .prize-claim-head strong,
body[class*="platform-theme-"] .prize-track-grid strong,
body[class*="platform-theme-"] .customer-offers-page .section-title h2,
body[class*="platform-theme-"] .customer-offer-card h3,
body[class*="platform-theme-"] .winner-hero h1,
body[class*="platform-theme-"] .winner-prize-head h2,
body[class*="platform-theme-"] .winner-steps span,
body[class*="platform-theme-"] .winner-choice-card span,
body[class*="platform-theme-"] .winner-choice-note strong,
body[class*="platform-theme-"] .winner-confirm-note strong,
body[class*="platform-theme-"] .winner-panel-copy strong,
body[class*="platform-theme-"] .winner-empty strong,
body[class*="platform-theme-"] .winner-bonus-list strong {
  color: var(--card-title);
}

body[class*="platform-theme-"] .checkout-logo small,
body[class*="platform-theme-"] .checkout-steps,
body[class*="platform-theme-"] .checkout-user-row span,
body[class*="platform-theme-"] .checkout-card-title span,
body[class*="platform-theme-"] .checkout-product span,
body[class*="platform-theme-"] .checkout-buyer p,
body[class*="platform-theme-"] .checkout-family .muted,
body[class*="platform-theme-"] .checkout-summary-line,
body[class*="platform-theme-"] .checkout-bonus-line,
body[class*="platform-theme-"] .payment-method small,
body[class*="platform-theme-"] .payment-panel p,
body[class*="platform-theme-"] .payment-panel ol,
body[class*="platform-theme-"] .profile-data-list dt,
body[class*="platform-theme-"] .profile-card p,
body[class*="platform-theme-"] .profile-section-title p,
body[class*="platform-theme-"] .profile-balance-grid span,
body[class*="platform-theme-"] .profile-withdrawal-list p,
body[class*="platform-theme-"] .profile-withdrawal-list small,
body[class*="platform-theme-"] .profile-withdrawal-list em,
body[class*="platform-theme-"] .affiliate-hero p,
body[class*="platform-theme-"] .affiliate-code-card span,
body[class*="platform-theme-"] .affiliate-stats-grid span,
body[class*="platform-theme-"] .wallet-list small,
body[class*="platform-theme-"] .bonus-entry-summary small,
body[class*="platform-theme-"] .bonus-entry-history small,
body[class*="platform-theme-"] .bonus-history-head span,
body[class*="platform-theme-"] .pending-bonus-list article span,
body[class*="platform-theme-"] .pending-bonus-list article small,
body[class*="platform-theme-"] .bonus-use-intro span,
body[class*="platform-theme-"] .bonus-quantity-help,
body[class*="platform-theme-"] .bonus-use-form .muted,
body[class*="platform-theme-"] .bonus-use-form small,
body[class*="platform-theme-"] .wallet-actions-grid .bonus-use-form .muted,
body[class*="platform-theme-"] .wallet-actions-grid .bonus-use-form small,
body[class*="platform-theme-"] .prize-claim-head span,
body[class*="platform-theme-"] .prize-track-grid small,
body[class*="platform-theme-"] .customer-offer-top span,
body[class*="platform-theme-"] .customer-offer-card p,
body[class*="platform-theme-"] .customer-offer-value span,
body[class*="platform-theme-"] .customer-offer-value small,
body[class*="platform-theme-"] .winner-hero p,
body[class*="platform-theme-"] .winner-prize-head p,
body[class*="platform-theme-"] .winner-steps small,
body[class*="platform-theme-"] .winner-choice-card small,
body[class*="platform-theme-"] .winner-choice-note p,
body[class*="platform-theme-"] .winner-confirm-note p,
body[class*="platform-theme-"] .winner-panel-copy p,
body[class*="platform-theme-"] .winner-empty p,
body[class*="platform-theme-"] .winner-bonus-list span,
body[class*="platform-theme-"] .winner-bonus-list small {
  color: var(--card-muted);
}

body[class*="platform-theme-"] .checkout-family label,
body[class*="platform-theme-"] .bonus-use-form label,
body[class*="platform-theme-"] .wallet-actions-grid .bonus-use-form label,
body[class*="platform-theme-"] .prize-claim-form label,
body[class*="platform-theme-"] .winner-form-panel label {
  color: var(--card-text);
}

body[class*="platform-theme-"] .checkout-family input,
body[class*="platform-theme-"] .checkout-family select,
body[class*="platform-theme-"] .checkout-family textarea,
body[class*="platform-theme-"] .coupon-row input,
body[class*="platform-theme-"] .bonus-use-form input,
body[class*="platform-theme-"] .bonus-use-form select,
body[class*="platform-theme-"] .bonus-use-form textarea,
body[class*="platform-theme-"] .wallet-actions-grid .bonus-use-form input,
body[class*="platform-theme-"] .wallet-actions-grid .bonus-use-form select,
body[class*="platform-theme-"] .wallet-actions-grid .bonus-use-form textarea,
body[class*="platform-theme-"] .prize-claim-form input,
body[class*="platform-theme-"] .prize-claim-form select,
body[class*="platform-theme-"] .prize-claim-form textarea,
body[class*="platform-theme-"] .winner-form-panel input,
body[class*="platform-theme-"] .winner-form-panel select {
  border-color: var(--input-border);
  color: var(--input-text);
  background: var(--input-bg);
}

body[class*="platform-theme-"] .checkout-family input::placeholder,
body[class*="platform-theme-"] .checkout-family textarea::placeholder,
body[class*="platform-theme-"] .bonus-use-form input::placeholder,
body[class*="platform-theme-"] .bonus-use-form textarea::placeholder,
body[class*="platform-theme-"] .wallet-actions-grid .bonus-use-form input::placeholder,
body[class*="platform-theme-"] .wallet-actions-grid .bonus-use-form textarea::placeholder,
body[class*="platform-theme-"] .prize-claim-form input::placeholder,
body[class*="platform-theme-"] .prize-claim-form textarea::placeholder {
  color: var(--input-placeholder);
}

body[class*="platform-theme-"] .checkout-family input:disabled,
body[class*="platform-theme-"] .checkout-family textarea:disabled,
body[class*="platform-theme-"] .bonus-use-form input:disabled,
body[class*="platform-theme-"] .bonus-use-form textarea:disabled,
body[class*="platform-theme-"] .wallet-actions-grid .bonus-use-form input:disabled,
body[class*="platform-theme-"] .wallet-actions-grid .bonus-use-form textarea:disabled {
  color: var(--card-muted);
  background: var(--card-bg-hover);
  -webkit-text-fill-color: var(--card-muted);
  opacity: 1;
}

body[class*="platform-theme-"] .payment-method,
body[class*="platform-theme-"] .payment-method.selected {
  border-color: var(--input-focus-border);
  color: var(--card-text);
  background: var(--card-bg-hover);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--input-focus-border) 14%, transparent);
}

body[class*="platform-theme-"] .payment-radio {
  border-color: var(--input-focus-border);
}

body[class*="platform-theme-"] .payment-radio::after {
  background: var(--input-focus-border);
}

body[class*="platform-theme-"] .checkout-summary-line,
body[class*="platform-theme-"] .checkout-product,
body[class*="platform-theme-"] .checkout-buyer,
body[class*="platform-theme-"] .checkout-numbers,
body[class*="platform-theme-"] .profile-data-list div,
body[class*="platform-theme-"] .wallet-section,
body[class*="platform-theme-"] .bonus-hub .wallet-section,
body[class*="platform-theme-"] .manual-proof {
  border-color: var(--card-border);
}

body[class*="platform-theme-"] .checkout-summary-line.success strong,
body[class*="platform-theme-"] .checkout-receive strong,
body[class*="platform-theme-"] .profile-balance-grid strong,
body[class*="platform-theme-"] .wallet-list strong,
body[class*="platform-theme-"] .affiliate-stats-grid strong,
body[class*="platform-theme-"] .bonus-hub .checkout-card-title span,
body[class*="platform-theme-"] .bonus-entry-summary strong,
body[class*="platform-theme-"] .bonus-entry-summary .bonus-available-card strong,
body[class*="platform-theme-"] .bonus-open-score strong,
body[class*="platform-theme-"] .bonus-open-card b,
body[class*="platform-theme-"] .wallet-estimate,
body[class*="platform-theme-"] .prize-claim-head b,
body[class*="platform-theme-"] .customer-offer-value strong,
body[class*="platform-theme-"] .winner-prize-head > strong,
body[class*="platform-theme-"] .winner-prize-head span,
body[class*="platform-theme-"] .green,
body[class*="platform-theme-"] .blue {
  color: var(--card-price-bg);
}

body[class*="platform-theme-"] .checkout-receive,
body[class*="platform-theme-"] .checkout-combo-benefits span,
body[class*="platform-theme-"] .customer-offer-benefits span,
body[class*="platform-theme-"] .bonus-primary-action,
body[class*="platform-theme-"] .profile-tabs button.active,
body[class*="platform-theme-"] .winner-hero span,
body[class*="platform-theme-"] .winner-steps b {
  border-color: var(--combo-border-featured);
  color: var(--combo-pill-text);
  background: var(--combo-pill-bg);
}

body[class*="platform-theme-"] .checkout-confirm,
body[class*="platform-theme-"] .checkout-copy,
body[class*="platform-theme-"] .bonus-redeem-panel .checkout-confirm,
body[class*="platform-theme-"] .bonus-release-dialog .checkout-confirm,
body[class*="platform-theme-"] .bonus-next-panel .checkout-confirm.is-bonus-claim-action,
body[class*="platform-theme-"] .bonus-next-panel .checkout-confirm.is-bonus-continue-action,
body[class*="platform-theme-"] .bonus-next-panel .checkout-confirm.is-bonus-exit-action {
  border: 1px solid color-mix(in srgb, var(--btn-primary-bg) 82%, #ffffff 18%);
  color: var(--btn-primary-text);
  background: var(--btn-primary-bg);
  box-shadow: 0 16px 30px color-mix(in srgb, var(--btn-primary-bg) 28%, transparent);
}

body[class*="platform-theme-"] .checkout-confirm:hover,
body[class*="platform-theme-"] .checkout-copy:hover {
  color: var(--btn-primary-text);
  background: var(--btn-primary-hover-bg);
}

body[class*="platform-theme-"] .payment-countdown {
  border-top-color: var(--input-focus-border);
  color: var(--card-title);
  background: var(--card-bg-hover);
}

body[class*="platform-theme-"] .payment-panel,
body[class*="platform-theme-"] .manual-proof {
  border-color: var(--card-border);
}

body[class*="platform-theme-"] .pix-code {
  border-color: var(--card-border);
  color: var(--card-text);
  background: var(--card-bg-hover);
}

body[class*="platform-theme-"] .checkout-qr,
body[class*="platform-theme-"] .qr-frame {
  border-color: var(--card-border);
  background: #fff;
}

body[class*="platform-theme-"] .checkout-qr-toggle,
body[class*="platform-theme-"] .payment-retry,
body[class*="platform-theme-"] .payment-retry button,
body[class*="platform-theme-"] .profile-tabs button,
body[class*="platform-theme-"] .checkout-family .manual-proof .button.secondary,
body[class*="platform-theme-"] .pending-bonus-list article .button.secondary,
body[class*="platform-theme-"] .bonus-history-more,
body[class*="platform-theme-"] .customer-offer-card .button.secondary {
  border-color: var(--card-border);
  color: var(--btn-secondary-text);
  background: var(--btn-secondary-bg);
}

body[class*="platform-theme-"] .checkout-qr-toggle:hover,
body[class*="platform-theme-"] .checkout-family .manual-proof .button.secondary:hover,
body[class*="platform-theme-"] .pending-bonus-list article .button.secondary:hover,
body[class*="platform-theme-"] .bonus-history-more:hover,
body[class*="platform-theme-"] .customer-offer-card .button.secondary:hover {
  border-color: var(--input-focus-border);
  color: var(--btn-secondary-text);
  background: var(--btn-secondary-hover-bg);
}

body[class*="platform-theme-"] .profile-tabs button.active {
  border-color: var(--combo-border-featured);
  color: var(--combo-pill-text);
  background: var(--combo-pill-bg);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--btn-primary-bg) 18%, transparent);
}

body[class*="platform-theme-"] .payment-retry button {
  border: 0;
  color: var(--input-focus-border);
  background: transparent;
  text-decoration-color: currentColor;
}

body[class*="platform-theme-"] .bonus-auto-choice,
body[class*="platform-theme-"] #meus-bonus .bonus-hub > h3,
body[class*="platform-theme-"] #meus-bonus .bonus-hub .checkout-card-title h2 {
  color: var(--card-title);
}

body[class*="platform-theme-"] .mini-link,
body[class*="platform-theme-"] .checkout-user-row a {
  color: var(--input-focus-border);
}

body[class*="platform-theme-"] .bonus-primary-action {
  color: var(--combo-pill-text);
}

body[class*="platform-theme-"] .mini-link:hover {
  color: var(--input-focus-border);
}

body[class*="platform-theme-"] .bonus-primary-action:hover {
  color: var(--combo-pill-text);
  background: var(--btn-primary-bg);
}

body[class*="platform-theme-"] .checkout-number-list span {
  color: var(--number-available-text);
  background: var(--number-available-bg);
}

body[class*="platform-theme-"] .bonus-entry-summary article::after {
  background: color-mix(in srgb, var(--input-focus-border) 14%, transparent);
}

body[class*="platform-theme-"] .bonus-entry-summary .bonus-available-card,
body[class*="platform-theme-"] .bonus-use-highlight,
body[class*="platform-theme-"] .bonus-use-intro,
body[class*="platform-theme-"] .bonus-quantity-notice,
body[class*="platform-theme-"] .bonus-quantity-notice.success,
body[class*="platform-theme-"] .bonus-quantity-notice.warning,
body[class*="platform-theme-"] .customer-offer-value,
body[class*="platform-theme-"] .affiliate-code-card,
body[class*="platform-theme-"] .winner-choice-note,
body[class*="platform-theme-"] .winner-confirm-note,
body[class*="platform-theme-"] .winner-panel-copy,
body[class*="platform-theme-"] .profile-withdrawal-list em {
  border-color: var(--input-focus-border);
  color: var(--card-text);
  background: color-mix(in srgb, var(--btn-primary-bg) 10%, var(--card-bg-hover));
}

body[class*="platform-theme-"] .pending-bonus-list article .pending-bonus-icon,
body[class*="platform-theme-"] .bonus-open-card .pending-bonus-icon,
body[class*="platform-theme-"] .bonus-open-card.chest .pending-bonus-icon {
  color: var(--btn-primary-text);
  background: var(--btn-primary-bg);
  box-shadow: 0 16px 26px color-mix(in srgb, var(--btn-primary-bg) 22%, transparent);
}

body[class*="platform-theme-"] .bonus-number-batch-panel {
  border-color: var(--manual-box-border);
  background: var(--manual-box-bg);
}

body[class*="platform-theme-"] .bonus-auto-choice input,
body[class*="platform-theme-"] .bonus-redeem-auto input,
body[class*="platform-theme-"] .winner-choice-card input {
  accent-color: var(--input-focus-border);
}

body[class*="platform-theme-"] .bonus-open-hero,
body[class*="platform-theme-"] .customer-offers-hero,
body[class*="platform-theme-"] .winner-hero {
  border-color: var(--input-focus-border);
  color: var(--hero-title);
  background:
    radial-gradient(circle at 90% 12%, color-mix(in srgb, var(--btn-primary-bg) 22%, transparent), transparent 30%),
    linear-gradient(135deg, color-mix(in srgb, var(--btn-primary-bg) 16%, var(--card-bg)), var(--card-bg));
  box-shadow: var(--theme-shadow);
}

body[class*="platform-theme-"] .bonus-open-kicker,
body[class*="platform-theme-"] .customer-offers-page .badge,
body[class*="platform-theme-"] .customer-offer-top b {
  border-color: var(--combo-border-featured);
  color: var(--combo-pill-text);
  background: var(--combo-pill-bg);
}

body[class*="platform-theme-"] .customer-offers-page .badge.warning,
body[class*="platform-theme-"] .customer-offer-card.expired .customer-offer-top b {
  border-color: var(--card-border);
  color: var(--card-muted);
  background: var(--card-bg-hover);
}

body[class*="platform-theme-"] .bonus-open-hero h1,
body[class*="platform-theme-"] .customer-offers-hero h1 {
  color: var(--hero-title);
}

body[class*="platform-theme-"] .bonus-open-hero p,
body[class*="platform-theme-"] .customer-offers-hero p {
  color: var(--hero-subtitle);
}

body[class*="platform-theme-"] .bonus-open-score,
body[class*="platform-theme-"] .bonus-open-card,
body[class*="platform-theme-"] .bonus-open-card.chest,
body[class*="platform-theme-"] .winner-steps article,
body[class*="platform-theme-"] .winner-choice-card,
body[class*="platform-theme-"] .winner-form-panel,
body[class*="platform-theme-"] .winner-bonus-list article {
  border-color: var(--card-border);
  color: var(--card-text);
  background: var(--card-bg-hover);
}

body[class*="platform-theme-"] .bonus-open-card strong,
body[class*="platform-theme-"] .bonus-open-score span {
  color: var(--card-title);
}

body[class*="platform-theme-"] .bonus-open-card p,
body[class*="platform-theme-"] .bonus-open-card small,
body[class*="platform-theme-"] .bonus-open-score small {
  color: var(--card-muted);
}

body[class*="platform-theme-"] .bonus-open-card.chest > .button.secondary {
  border-color: var(--card-border);
  color: var(--btn-secondary-text);
  background: var(--btn-secondary-bg);
}

body[class*="platform-theme-"] .bonus-open-card > .button:disabled,
body[class*="platform-theme-"] .bonus-open-card.chest > .button:disabled {
  border-color: var(--card-border);
  color: var(--card-muted);
  background: var(--card-bg-hover);
  box-shadow: none;
}

body[class*="platform-theme-"] .customer-offer-card.active {
  border-color: var(--input-focus-border);
}

body[class*="platform-theme-"] .customer-offer-card.expired {
  background: var(--card-bg);
}

body[class*="platform-theme-"] .winner-choice-card:has(input:checked) {
  border-color: var(--input-focus-border);
  background: color-mix(in srgb, var(--btn-primary-bg) 14%, var(--card-bg-hover));
}

body[class*="platform-theme-"] .winner-submit {
  border-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  background: var(--btn-primary-bg);
}

body[class*="platform-theme-"] {
  font-family: var(--font-public);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body[class*="platform-theme-"] .combo-offer-card,
body[class*="platform-theme-"] .selected-combo-panel,
body[class*="platform-theme-"] .button,
body[class*="platform-theme-"] button,
body[class*="platform-theme-"] input,
body[class*="platform-theme-"] select,
body[class*="platform-theme-"] textarea {
  font-family: var(--font-public);
}

body[class*="platform-theme-"] h1,
body[class*="platform-theme-"] h2,
body[class*="platform-theme-"] h3,
body[class*="platform-theme-"] .brand-name,
body[class*="platform-theme-"] .hero h1,
body[class*="platform-theme-"] .section-title h2,
body[class*="platform-theme-"] .card h1,
body[class*="platform-theme-"] .card h2,
body[class*="platform-theme-"] .card h3,
body[class*="platform-theme-"] .campaign-card h3,
body[class*="platform-theme-"] .checkout-card-title h2,
body[class*="platform-theme-"] .summary-box h2,
body[class*="platform-theme-"] .combo-offers-head h3,
body[class*="platform-theme-"] .combo-offer-card > strong,
body[class*="platform-theme-"] .selected-combo-head strong {
  font-weight: 700 !important;
}

body[class*="platform-theme-"] .brand,
body[class*="platform-theme-"] .brand-mark,
body[class*="platform-theme-"] strong,
body[class*="platform-theme-"] mark,
body[class*="platform-theme-"] .header-buy-button,
body[class*="platform-theme-"] .button,
body[class*="platform-theme-"] button.button,
body[class*="platform-theme-"] .btn-primary,
body[class*="platform-theme-"] .btn-secondary,
body[class*="platform-theme-"] .btn-outline,
body[class*="platform-theme-"] .site-menu-toggle,
body[class*="platform-theme-"] .site-alert-toggle,
body[class*="platform-theme-"] .site-menu-links a,
body[class*="platform-theme-"] .site-menu-winner strong,
body[class*="platform-theme-"] .site-alert-item em,
body[class*="platform-theme-"] .combo-offer-card mark,
body[class*="platform-theme-"] .combo-offer-card .combo-unit-price strong,
body[class*="platform-theme-"] .selected-combo-head mark,
body[class*="platform-theme-"] .selected-combo-values strong,
body[class*="platform-theme-"] .selected-combo-details strong,
body[class*="platform-theme-"] .summary-line strong {
  font-weight: 700 !important;
}

body[class*="platform-theme-"] .eyebrow,
body[class*="platform-theme-"] .badge,
body[class*="platform-theme-"] b,
body[class*="platform-theme-"] button,
body[class*="platform-theme-"] .site-menu-user em,
body[class*="platform-theme-"] .site-menu-info span,
body[class*="platform-theme-"] .site-menu-info strong,
body[class*="platform-theme-"] .site-alert-item span,
body[class*="platform-theme-"] .combo-offers-head span,
body[class*="platform-theme-"] .combo-offer-card small,
body[class*="platform-theme-"] .combo-offer-card b,
body[class*="platform-theme-"] .combo-offer-card span,
body[class*="platform-theme-"] .combo-offer-card .combo-unit-price,
body[class*="platform-theme-"] .selected-combo-head span,
body[class*="platform-theme-"] .selected-combo-bonus > strong,
body[class*="platform-theme-"] .selected-combo-bonus span,
body[class*="platform-theme-"] .selected-combo-values span,
body[class*="platform-theme-"] .selected-combo-details article > span,
body[class*="platform-theme-"] .number-batch-button span,
body[class*="platform-theme-"] .number-batch-button small,
body[class*="platform-theme-"] .number-chip,
body[class*="platform-theme-"] .theme-preview-ui span,
body[class*="platform-theme-"] .theme-preview-ui mark {
  font-weight: 600 !important;
}

body[class*="platform-theme-"] p,
body[class*="platform-theme-"] small,
body[class*="platform-theme-"] .muted,
body[class*="platform-theme-"] .card p,
body[class*="platform-theme-"] .auth-panel p,
body[class*="platform-theme-"] .combo-offer-card em,
body[class*="platform-theme-"] .combo-offer-card p,
body[class*="platform-theme-"] .selected-combo-details p,
body[class*="platform-theme-"] .section-title span {
  font-weight: 400 !important;
}

.header-app-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--combo-border-featured, var(--gold));
  border-radius: 8px;
  padding: 0 13px;
  color: var(--btn-secondary-text, #07172d);
  background: var(--btn-secondary-bg, #fff);
  box-shadow: 0 10px 22px rgba(16, 32, 51, .08);
  font-size: .8rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-app-button:hover {
  background: var(--btn-secondary-hover-bg, rgba(255, 255, 255, .92));
}

.app-install-banner {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 92;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--combo-border-featured, var(--gold));
  border-radius: 14px;
  padding: 12px;
  color: var(--card-text, #f6fff9);
  background: color-mix(in srgb, var(--card-bg, #102c20) 94%, #000 6%);
  box-shadow: var(--theme-shadow, 0 22px 58px rgba(0, 0, 0, .36));
}

.app-install-banner[hidden] {
  display: none;
}

.app-install-banner div {
  min-width: 0;
  display: grid;
  gap: 2px;
  flex: 1;
}

.app-install-banner strong {
  color: var(--card-title, #f4fff8);
  font-size: .92rem;
  font-weight: 800;
}

.app-install-banner span {
  color: var(--card-muted, #a9c7b7);
  font-size: .78rem;
  line-height: 1.25;
}

.app-install-banner button {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 11px;
  color: var(--btn-primary-text, #fff);
  background: var(--btn-primary-bg, var(--primary));
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
}

.app-install-banner button[data-app-install-dismiss] {
  color: var(--btn-secondary-text, var(--card-text));
  background: var(--btn-secondary-bg, transparent);
  border-color: var(--card-border, var(--line));
}

.push-permission-prompt {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 18px;
}

.push-permission-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, .62);
}

.push-permission-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(440px, 100%);
  border: 1px solid var(--combo-border-featured, var(--gold));
  border-radius: 18px;
  padding: 22px;
  color: var(--card-title, #fff);
  background: var(--card-bg, #102C20);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
}

.push-permission-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  color: var(--card-muted, #ccd);
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.push-permission-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--btn-primary-text, #111);
  background: var(--btn-primary-bg, var(--primary));
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
}

.push-permission-card h2 {
  margin: 0;
  max-width: 360px;
  color: var(--card-title, #fff);
  font-size: 1.3rem;
  letter-spacing: 0;
}

.push-permission-card p {
  margin: 0;
  color: var(--card-text, #eaf8ef);
  line-height: 1.5;
}

.push-permission-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.push-permission-card small {
  color: var(--card-muted, #b7c6bd);
}

.push-permission-card em {
  min-height: 18px;
  color: var(--combo-border-featured, var(--gold));
  font-style: normal;
  font-weight: 800;
}

.app-download-page {
  min-height: calc(100vh - 68px);
  color: var(--card-text, var(--text));
  background:
    radial-gradient(circle at 8% 10%, color-mix(in srgb, var(--btn-primary-bg, var(--primary)) 24%, transparent), transparent 30rem),
    radial-gradient(circle at 88% 2%, color-mix(in srgb, var(--combo-border-featured, var(--gold)) 18%, transparent), transparent 28rem),
    linear-gradient(180deg, var(--page-bg, #07110d), var(--section-bg, #0b1f16));
}

.app-download-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 44px;
}

.app-download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, .72fr);
  gap: 34px;
  align-items: center;
}

.app-download-copy {
  display: grid;
  gap: 20px;
}

.app-download-kicker {
  width: fit-content;
  border: 1px solid var(--combo-border-featured, var(--gold));
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--btn-primary-text, #fff);
  background: var(--btn-primary-bg, var(--primary));
  font-size: .76rem;
  font-weight: 800;
}

.app-download-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-download-logo {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  color: var(--btn-primary-text, #fff);
  background: linear-gradient(135deg, var(--btn-primary-bg, var(--primary)), var(--combo-border-featured, var(--gold)));
  font-size: .95rem;
  font-weight: 900;
}

.app-download-logo.has-image {
  background: var(--card-bg, #fff);
}

.app-download-logo img,
.app-phone-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-download-brand strong {
  display: block;
  color: var(--card-title, #fff);
  font-size: 1.02rem;
  font-weight: 800;
}

.app-download-brand small {
  display: block;
  max-width: 520px;
  color: var(--card-muted, #b6c7bd);
  line-height: 1.35;
}

.app-download-copy h1 {
  max-width: 700px;
  margin: 0;
  color: var(--hero-title, var(--card-title));
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  line-height: .98;
  letter-spacing: 0;
}

.app-download-copy p {
  max-width: 650px;
  margin: 0;
  color: var(--hero-subtitle, var(--card-text));
  font-size: 1.05rem;
  line-height: 1.55;
}

.app-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.app-install-main {
  min-width: 190px;
  color: var(--btn-primary-text, #fff);
  background: var(--btn-primary-bg, var(--primary));
}

.app-install-main:hover {
  background: var(--btn-primary-hover-bg, var(--primary-dark));
}

.app-install-main:disabled {
  cursor: default;
  opacity: .7;
  transform: none;
}

.app-install-status {
  width: fit-content;
  max-width: 640px;
  border: 1px solid var(--card-border, var(--line));
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--card-title, #fff);
  background: color-mix(in srgb, var(--card-bg, #102c20) 80%, transparent);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.35;
}

.app-phone-preview {
  justify-self: center;
  width: min(100%, 360px);
}

.app-phone-frame {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 610px;
  border: 1px solid var(--card-border, var(--line));
  border-radius: 34px;
  padding: 22px;
  color: var(--card-text, #fff);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card-bg, #102c20) 94%, #fff 6%), var(--section-bg, #0b1f16));
  box-shadow: var(--theme-shadow, 0 30px 70px rgba(0, 0, 0, .34));
}

.app-phone-frame::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 92px;
  height: 5px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-muted, #b6c7bd) 54%, transparent);
  transform: translateX(-50%);
}

.app-phone-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  font-weight: 800;
}

.app-phone-logo {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  color: var(--btn-primary-text, #fff);
  background: linear-gradient(135deg, var(--btn-primary-bg, var(--primary)), var(--combo-border-featured, var(--gold)));
  font-size: .72rem;
  font-weight: 900;
}

.app-phone-card,
.app-phone-ticket {
  display: grid;
  gap: 7px;
  border: 1px solid var(--card-border, var(--line));
  border-radius: 16px;
  padding: 18px;
  background: color-mix(in srgb, var(--card-bg-hover, var(--card-bg, #102c20)) 84%, transparent);
}

.app-phone-card small,
.app-phone-ticket span {
  color: var(--card-muted, #b6c7bd);
  font-size: .8rem;
}

.app-phone-card strong {
  color: var(--card-title, #fff);
  font-size: 1.35rem;
}

.app-phone-card span {
  color: var(--card-text, #fff);
  font-size: .92rem;
}

.app-phone-lines {
  display: grid;
  gap: 9px;
}

.app-phone-lines i,
.app-phone-lines b,
.app-phone-lines em {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-muted, #b6c7bd) 58%, transparent);
}

.app-phone-lines i {
  width: 84%;
}

.app-phone-lines b {
  width: 62%;
}

.app-phone-lines em {
  width: 72%;
  background: var(--btn-primary-bg, var(--primary));
}

.app-phone-ticket strong {
  color: var(--combo-border-featured, var(--gold));
  font-size: 2rem;
}

.app-phone-button {
  min-height: 50px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--btn-primary-text, #fff);
  background: var(--btn-primary-bg, var(--primary));
  font-size: .88rem;
  font-weight: 900;
}

.app-download-section {
  padding-top: 20px;
}

.app-benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.app-benefit-grid article {
  display: grid;
  gap: 10px;
  border: 1px solid var(--card-border, var(--line));
  border-radius: 14px;
  padding: 18px;
  background: color-mix(in srgb, var(--card-bg, #102c20) 88%, transparent);
}

.app-benefit-grid span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--btn-primary-text, #fff);
  background: var(--btn-primary-bg, var(--primary));
  font-size: .78rem;
  font-weight: 800;
}

.app-benefit-grid strong {
  color: var(--card-title, #fff);
  font-size: .95rem;
}

.app-benefit-grid p {
  margin: 0;
  color: var(--card-muted, #b6c7bd);
  font-size: .86rem;
  line-height: 1.42;
}

.app-instructions-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1fr);
  gap: 22px;
  margin-top: 18px;
  border: 1px solid var(--combo-border-featured, var(--gold));
  border-radius: 16px;
  padding: 22px;
  background: color-mix(in srgb, var(--card-bg, #102c20) 90%, transparent);
}

.app-instructions-card h2 {
  margin: 12px 0 8px;
  color: var(--card-title, #fff);
  font-size: 1.5rem;
}

.app-instructions-card p {
  margin: 0;
  color: var(--card-muted, #b6c7bd);
  line-height: 1.5;
}

.app-instructions-card ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: var(--card-text, #fff);
}

.app-instructions-card li {
  line-height: 1.45;
}

.settings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.settings-tabs a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(203, 213, 225, .72);
  border-radius: 10px;
  padding: 0 16px;
  color: #34445c;
  background: rgba(255, 255, 255, .76);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 800;
  transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.settings-tabs a:hover,
.settings-tabs a.active {
  border-color: #7c8ea8;
  color: #0f1f35;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

html[data-admin-theme="dark"] .settings-tabs a {
  border-color: rgba(148, 163, 184, .22);
  color: #cbd5e1;
  background: rgba(15, 23, 42, .64);
}

html[data-admin-theme="dark"] .settings-tabs a:hover,
html[data-admin-theme="dark"] .settings-tabs a.active {
  border-color: rgba(45, 212, 191, .5);
  color: #f8fafc;
  background: rgba(30, 41, 59, .9);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
}

html[data-admin-theme="dark"] .settings-block {
  border-color: rgba(148, 163, 184, .18);
  background: rgba(15, 23, 42, .56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

html[data-admin-theme="dark"] .settings-upload-field,
html[data-admin-theme="dark"] .settings-contact-card,
html[data-admin-theme="dark"] .settings-contact-card .admin-check {
  border-color: rgba(148, 163, 184, .16);
  background: rgba(15, 23, 42, .42);
}

html[data-admin-theme="dark"] .admin-form-block {
  border-color: rgba(148, 163, 184, .18);
  background: rgba(15, 23, 42, .56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

html[data-admin-theme="dark"] .admin-option-card {
  border-color: rgba(148, 163, 184, .16);
  background: rgba(15, 23, 42, .42);
}

.settings-theme-panel .card-body {
  display: grid;
  gap: 16px;
}

.settings-theme-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.settings-theme-head h2 {
  margin: 0 0 5px;
  font-size: 1.2rem;
}

.settings-theme-head p {
  margin: 0;
}

.settings-theme-grid {
  margin-top: 0;
}

.app-settings-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}

.theme-color-panel {
  display: grid;
  gap: 14px;
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}

.theme-color-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.theme-color-head strong {
  display: block;
  margin-bottom: 5px;
  color: var(--admin-text);
  font-size: 1rem;
}

.theme-color-head p {
  margin: 0;
  max-width: 720px;
}

.theme-color-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.theme-color-grid input[type="color"] {
  min-height: 44px;
  padding: 4px;
  cursor: pointer;
}

.theme-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.theme-preview-card {
  display: grid;
  gap: 10px;
  min-height: 230px;
  border: 1px solid var(--preview-border);
  border-radius: 8px;
  padding: 12px;
  color: var(--preview-title);
  background: var(--preview-bg);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.theme-preview-card:hover,
.theme-preview-card.active {
  transform: translateY(-2px);
  border-color: var(--preview-accent);
  box-shadow: 0 0 0 1px var(--preview-accent), 0 16px 34px rgba(0, 0, 0, .18);
}

.theme-preview-surface {
  display: grid;
  gap: 7px;
  border: 1px solid var(--preview-border);
  border-radius: 8px;
  padding: 10px;
  background: var(--preview-panel);
}

.theme-preview-surface i,
.theme-preview-surface b,
.theme-preview-surface em {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: var(--preview-muted);
  opacity: .85;
}

.theme-preview-surface i {
  width: 62%;
  background: var(--preview-title);
}

.theme-preview-surface b {
  width: 86%;
}

.theme-preview-surface em {
  width: 52%;
  background: var(--preview-primary);
  opacity: 1;
}

.theme-preview-card strong {
  color: var(--preview-title);
  font-size: .96rem;
}

.theme-preview-card small {
  color: var(--preview-muted);
  line-height: 1.4;
}

.theme-preview-ui {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.theme-preview-ui span {
  color: var(--preview-title);
  font-size: .76rem;
  font-weight: 900;
}

.theme-preview-ui mark {
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--preview-price-text, #fff);
  background: var(--preview-primary);
  font-size: .76rem;
  font-weight: 900;
}

@media (max-width: 900px) {
  .app-download-grid,
  .app-instructions-card {
    grid-template-columns: 1fr;
  }

  .app-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .settings-theme-head {
    display: grid;
  }

  .theme-color-head,
  .theme-color-grid {
    grid-template-columns: 1fr;
  }

  .settings-grid.two,
  .settings-grid.three,
  .admin-form-grid.two,
  .admin-form-grid.three {
    grid-template-columns: 1fr;
  }

  .settings-upload-wide {
    grid-column: auto;
  }

  .theme-color-head {
    display: grid;
  }

  .theme-preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-shell {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .footer {
    padding-bottom: calc(98px + env(safe-area-inset-bottom));
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    min-height: calc(66px + env(safe-area-inset-bottom));
    padding: 4px 7px calc(5px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--combo-border-featured, var(--gold));
    border-radius: 18px 18px 0 0;
    color: var(--card-muted, var(--muted));
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--card-bg, #101a15) 94%, transparent), color-mix(in srgb, var(--page-bg, #07110d) 96%, #000 4%));
    box-shadow: 0 -18px 42px rgba(0, 0, 0, .32);
    backdrop-filter: blur(18px);
  }

  .mobile-nav-item {
    position: relative;
    min-width: 0;
    min-height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    border: 0;
    padding: 0 2px 1px;
    color: inherit;
    background: transparent;
    font: inherit;
    text-align: center;
    cursor: pointer;
  }

  .mobile-nav-item > span:last-child {
    max-width: 100%;
    overflow: hidden;
    font-size: .67rem;
    font-weight: 700;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-nav-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: currentColor;
  }

  .mobile-nav-icon svg,
  .mobile-nav-buy-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  .mobile-nav-item.active,
  .mobile-nav-item:hover {
    color: var(--combo-border-featured, var(--gold));
  }

  .mobile-nav-buy {
    justify-content: flex-end;
    gap: 3px;
    transform: none;
  }

  .mobile-nav-buy-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-top: -27px;
    margin-bottom: 0;
    border: 3px solid color-mix(in srgb, var(--btn-primary-text, #fff) 52%, transparent);
    border-radius: 999px;
    color: var(--btn-primary-text, #041008);
    background:
      radial-gradient(circle at 28% 18%, rgba(255, 255, 255, .38), transparent 32%),
      linear-gradient(135deg, var(--btn-primary-bg, var(--primary)), var(--combo-border-featured, var(--gold)));
    box-shadow: 0 10px 24px color-mix(in srgb, var(--btn-primary-bg, var(--primary)) 32%, transparent);
  }

  .mobile-nav-buy > span:last-child {
    color: var(--card-title, #fff);
    font-weight: 800;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .28);
  }

  .mobile-more-panel {
    position: fixed;
    inset: 0;
    z-index: 96;
    display: block;
  }

  .mobile-more-panel[hidden] {
    display: none;
  }

  .mobile-more-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, .48);
  }

  .mobile-more-sheet {
    position: absolute;
    right: 10px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    left: 10px;
    overflow: hidden;
    border: 1px solid var(--combo-border-featured, var(--gold));
    border-radius: 18px;
    color: var(--card-text, var(--text));
    background: color-mix(in srgb, var(--card-bg, #101a15) 96%, #000 4%);
    box-shadow: var(--theme-shadow, 0 22px 58px rgba(0, 0, 0, .36));
  }

  .mobile-more-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--card-border, var(--line));
    padding: 14px 16px;
  }

  .mobile-more-head strong {
    color: var(--card-title, #fff);
    font-size: .98rem;
    font-weight: 800;
  }

  .mobile-more-head button {
    width: 34px;
    height: 34px;
    border: 1px solid var(--card-border, var(--line));
    border-radius: 999px;
    color: var(--card-title, #fff);
    background: var(--btn-secondary-bg, transparent);
    font: inherit;
    font-size: 1.35rem;
    line-height: 1;
  }

  .mobile-more-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    padding: 14px;
  }

  .mobile-more-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border: 1px solid var(--card-border, var(--line));
    border-radius: 12px;
    padding: 0 12px;
    color: var(--card-title, #fff);
    background: var(--btn-secondary-bg, rgba(255, 255, 255, .06));
    font-size: .82rem;
    font-weight: 700;
  }

  .mobile-more-links a:hover {
    border-color: var(--combo-border-featured, var(--gold));
    background: var(--btn-secondary-hover-bg, rgba(255, 255, 255, .1));
  }

  body.mobile-more-open {
    overflow: hidden;
  }

  .app-install-banner {
    bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .social-float {
    right: 12px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    gap: 8px;
  }

  .social-float-button {
    width: 46px;
    height: 46px;
  }

  .social-float-button svg {
    width: 24px;
    height: 24px;
  }

  .push-permission-prompt {
    align-items: end;
    justify-items: center;
    padding: 12px 10px calc(78px + env(safe-area-inset-bottom));
  }

  .push-permission-card {
    width: min(480px, 100%);
    border-radius: 18px;
    padding: 18px;
  }

  .push-permission-actions {
    grid-template-columns: 1fr;
  }

  .notification-toggle-row {
    align-items: center;
    gap: 10px;
  }

  .notification-device-actions .button {
    flex: 1 1 150px;
  }
}

@media (max-width: 640px) {
  .raffle-promo-media {
    width: 100%;
  }

  .raffle-promo-media img {
    max-height: none;
  }

  .header-app-button {
    display: none;
  }

  .app-install-banner {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr auto auto;
  }

  .app-download-hero {
    padding: 32px 0 26px;
  }

  .app-download-actions .button,
  .app-download-actions button.button {
    width: 100%;
  }

  .app-phone-frame {
    min-height: 500px;
    border-radius: 26px;
  }

  .app-benefit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .app-install-banner {
    grid-template-columns: 1fr 1fr;
  }

  .app-install-banner div {
    grid-column: 1 / -1;
  }

  .app-install-banner button {
    width: 100%;
  }
}
