:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --panel: #ffffff;
  --ink: #1f2937;
  --muted: #667085;
  --line: #d8dee9;
  --brand: #0f766e;
  --brand-strong: #115e59;
  --accent: #b45309;
  --danger: #b42318;
}

/* Active coupon waiting levels */
.coupons-page .active-coupon-status {
  grid-template-columns: minmax(220px, .9fr) repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(94, 234, 212, .24);
  border-radius: 8px;
  background: #0f172a;
}
.coupons-page .status-title {
  align-content: center;
}
.coupons-page .status-title h2 {
  color: #f8fafc;
  font-size: 24px;
  line-height: 1.08;
}
.coupons-page .status-title span {
  color: #b6c4d8;
  font-size: 11px;
}
.coupons-page .active-coupon-status article {
  min-height: 90px;
  border-color: rgba(94, 234, 212, .25);
  background: rgba(2, 6, 23, .28);
  padding: 14px;
}
.coupons-page .active-coupon-status article span {
  color: #b6c4d8;
  font-size: 12px;
  text-transform: none;
}
.coupons-page .active-coupon-status article strong {
  color: #5eead4;
  font-size: 30px;
  line-height: 1;
}
.coupons-page .active-coupon-status article em {
  color: #b6c4d8;
  font-size: 13px;
}
.coupons-page .active-coupon-status .pending-level-15 strong,
.coupons-page .active-coupon-status .pending-level-12 strong {
  color: #22c55e;
}
.coupons-page .active-coupon-status .pending-level-13 strong {
  color: #a5b4fc;
}
.coupons-page .active-coupon-status .pending-level-14 strong {
  color: #22d3ee;
}

@media (max-width: 980px) {
  .coupons-page .active-coupon-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .coupons-page .status-title {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

@media (max-width: 560px) {
  .coupons-page .active-coupon-status {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px;
  }
  .coupons-page .status-title {
    grid-template-columns: 1fr;
  }
  .coupons-page .status-title h2 {
    font-size: 22px;
  }
  .coupons-page .active-coupon-status article {
    min-height: 86px;
    padding: 12px;
  }
  .coupons-page .active-coupon-status article strong {
    font-size: 28px;
  }
}

* { box-sizing: border-box; }
.hidden { display: none !important; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
.app-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar {
  background: #102a43;
  color: #f8fafc;
  padding: 24px 18px;
}
.brand { font-size: 22px; font-weight: 700; margin-bottom: 28px; }
.nav a {
  display: block;
  padding: 11px 12px;
  border-radius: 6px;
  color: #dbeafe;
  margin-bottom: 4px;
}
.nav a:hover, .nav a.active { background: rgba(255,255,255,.12); color: #fff; }
.content { padding: 28px; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.page-title { font-size: 26px; margin: 0; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 16px; }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.metric { font-size: 28px; font-weight: 700; margin-top: 8px; }
.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.table th, .table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.table th { background: #eef2f7; color: #344054; font-size: 13px; }
.actions { display: flex; gap: 8px; align-items: center; }
.btn {
  border: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}
.btn.secondary { background: #475467; }
.btn.warning { background: var(--accent); }
.btn.danger { background: var(--danger); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: #344054; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 11px;
  font: inherit;
  background: #fff;
}
.field textarea { min-height: 90px; resize: vertical; }
.alert { padding: 12px 14px; border-radius: 6px; margin-bottom: 14px; }
.alert.ok { background: #ecfdf3; color: #05603a; border: 1px solid #abefc6; }
.alert.error { background: #fef3f2; color: #912018; border: 1px solid #fecdca; }
.alert.info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.alert strong, .alert span { display: block; }
.alert span { margin-top: 4px; }
.auth-success {
  padding: 12px 14px;
  border-radius: 7px;
  background: #ecfdf3;
  color: #05603a;
  border: 1px solid #abefc6;
  font-weight: 800;
  line-height: 1.45;
}
.badge { display: inline-block; padding: 4px 8px; border-radius: 999px; background: #e0f2fe; color: #075985; font-size: 12px; font-weight: 700; }
.badge.is-active {
  background: #0f766e;
  color: #fff;
}
.finance-filter-card {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}
.finance-quick-filters,
.finance-filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}
.finance-filter-form .field {
  min-width: 180px;
}
.finance-kpis {
  margin-bottom: 16px;
}
.finance-section-grid {
  margin-top: 16px;
}
.finance-section-grid h2,
.finance-detail-card h2 {
  margin-top: 0;
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
}
.finance-table {
  min-width: 760px;
}
.finance-table strong {
  color: #101828;
}
.finance-subline {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.finance-detail-card {
  margin-top: 16px;
}
.admin-hero-card {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, .85fr));
  gap: 14px;
  margin-bottom: 16px;
}
.admin-hero-card > div,
.admin-info-card,
.admin-finance-summary > div,
.admin-module-notes article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 16px;
}
.admin-hero-card > div {
  position: relative;
  overflow: hidden;
}
.admin-hero-card > div::after {
  content: "";
  position: absolute;
  inset: auto 14px 0 14px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #0f766e, #facc15);
}
.admin-hero-card > div.primary {
  background: linear-gradient(135deg, #102a43, #0f766e);
  color: #fff;
}
.admin-hero-card > div.primary .muted,
.admin-hero-card > div.primary p,
.admin-hero-card > div.primary em {
  color: #d1fae5;
}
.admin-hero-card > div.primary strong {
  color: #fff;
}
.admin-hero-card strong {
  display: block;
  margin-top: 8px;
  color: #101828;
  font-size: 26px;
}
.admin-hero-card em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.admin-hero-card p,
.admin-info-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}
.admin-metric-grid {
  margin-bottom: 16px;
}
.admin-dashboard-grid,
.admin-latest-card {
  margin-top: 16px;
}
.admin-finance-summary,
.admin-module-notes {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
.admin-finance-summary strong {
  display: block;
  margin: 5px 0;
  color: #101828;
  font-size: 22px;
}
.admin-finance-summary span,
.admin-module-notes strong {
  font-weight: 800;
}
.admin-finance-summary em,
.admin-module-notes span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}
.admin-user-table {
  min-width: 1080px;
}
.dealer-status-form select {
  min-width: 138px;
}
.admin-formula-note {
  align-self: end;
  color: var(--muted);
  line-height: 1.5;
}
.formula-admin-list .actions strong {
  width: 34px;
}
.admin-author-cell,
.admin-platform-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.admin-author-cell strong,
.admin-platform-cell span {
  color: #101828;
  font-weight: 800;
}
.admin-author-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #0f766e);
  border: 2px solid #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .16);
}
.admin-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-author-avatar b {
  color: #f8fafc;
  font-size: 13px;
  letter-spacing: 0;
}
.admin-platform-cell img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e4e7ec;
  padding: 2px;
}
.admin-upload-field small {
  display: block;
  margin: 8px 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.admin-audio-cell {
  display: grid;
  gap: 5px;
}
.admin-audio-cell strong {
  color: #101828;
  font-size: 13px;
}
.match-list { display: grid; gap: 10px; }
.match-row { display: grid; grid-template-columns: 44px minmax(220px, 1fr) minmax(220px, 1fr) 180px; gap: 10px; align-items: end; }
.footer-note { margin-top: 24px; color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .grid.cols-4, .grid.cols-2, .form-grid { grid-template-columns: 1fr; }
  .match-row { grid-template-columns: 38px 1fr; }
  .admin-hero-card { grid-template-columns: 1fr; }
}

.public-body {
  background: #07110f;
  color: #eefcf7;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 2vw, 20px);
  min-height: 64px;
  padding: 10px clamp(12px, 3vw, 42px);
  background: rgba(7, 17, 15, .94);
  border-bottom: 1px solid rgba(45, 212, 191, .25);
  backdrop-filter: blur(14px);
}
.site-brand, .site-nav, .site-actions, .hero-actions, .trust-row {
  display: flex;
  align-items: center;
}
.site-brand {
  flex: 0 0 auto;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: #22c55e;
  color: #052e16;
}
.site-nav {
  justify-content: center;
  gap: clamp(5px, 1.2vw, 14px);
  color: #c7d2fe;
  font-size: 13px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar {
  display: none;
}
.site-nav > a,
.nav-coupon-link > a:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 8px;
  border-radius: 7px;
  color: #dbeafe;
  font-weight: 850;
  white-space: nowrap;
}
.site-nav > a:hover,
.nav-coupon-link > a:first-child:hover {
  background: rgba(45, 212, 191, .12);
  color: #5eead4;
}
.site-nav > a.is-active,
.nav-coupon-link > a.is-active {
  background: rgba(45, 212, 191, .16);
  color: #5eead4;
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .24);
}
.nav-coupon-link {
  display: grid;
  gap: 3px;
  justify-items: center;
  line-height: 1;
}
.nav-verify-badge {
  display: inline-grid;
  place-items: center;
  min-height: 18px;
  border: 1px solid rgba(248, 113, 113, .5);
  border-radius: 999px;
  padding: 0 8px;
  color: #fecaca !important;
  background: rgba(127, 29, 29, .34);
  font-size: 10px;
  font-weight: 950;
}
.site-actions {
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
  white-space: nowrap;
}
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 7px;
  padding: 0 13px;
  background: rgba(15, 23, 42, .66);
  color: #d1fae5;
  font-size: 14px;
  font-weight: 900;
}
.ghost-link:hover {
  border-color: rgba(94, 234, 212, .48);
  color: #5eead4;
}
.nav-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 7px;
  padding: 0 12px;
  background: #22c55e;
  color: #052e16;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(34, 197, 94, .18);
}
.nav-primary-action:hover {
  background: #5eead4;
  color: #042f2e;
}
.inline-form {
  display: inline-flex;
  flex: 0 0 auto;
  margin: 0;
}
.ghost-submit {
  min-height: 36px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 7px;
  padding: 0 11px;
  background: #0f172a;
  color: #d1fae5;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}
.user-pill {
  flex: 0 1 116px;
  max-width: 116px;
  overflow: hidden;
  padding: 8px 10px;
  border: 1px solid rgba(94, 234, 212, .3);
  border-radius: 999px;
  color: #d1fae5;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-button, .ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 7px;
  font-weight: 800;
}
.site-button {
  color: #042f2e;
  background: #2dd4bf;
}
.site-button.large { min-height: 50px; padding: 0 22px; }
.ghost-button {
  border: 1px solid rgba(94, 234, 212, .35);
  color: #d1fae5;
}
@media (min-width: 901px) {
  .site-header {
    min-height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
    background:
      linear-gradient(90deg, rgba(6, 78, 59, .22), transparent 34%, rgba(120, 53, 15, .12)),
      rgba(7, 17, 15, .96);
  }

  .site-nav {
    justify-self: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(94, 234, 212, .16);
    border-radius: 10px;
    background: rgba(15, 23, 42, .42);
    overflow: visible;
  }

  .site-nav > a,
  .nav-coupon-link > a:first-child {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
  }

  .site-nav > a:hover,
  .nav-coupon-link > a:first-child:hover {
    transform: translateY(-1px);
  }

  .site-nav .nav-create-link {
    background: linear-gradient(135deg, #22c55e, #5eead4);
    color: #042f2e;
    box-shadow: 0 12px 30px rgba(45, 212, 191, .18);
  }

  .site-nav .nav-create-link:hover,
  .site-nav .nav-create-link.is-active {
    color: #042f2e;
    background: linear-gradient(135deg, #facc15, #5eead4);
    box-shadow: 0 14px 34px rgba(250, 204, 21, .2);
  }

  .site-nav > a.is-active,
  .nav-coupon-link > a.is-active {
    border-color: rgba(94, 234, 212, .3);
    background: rgba(20, 184, 166, .18);
  }
}
.hero-surface {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 540px);
  gap: clamp(20px, 3.5vw, 48px);
  align-items: center;
  min-height: calc(100vh - 64px);
  padding: clamp(34px, 6vw, 84px) clamp(16px, 5vw, 72px);
  background:
    linear-gradient(115deg, rgba(7, 17, 15, .82), rgba(3, 7, 18, .58)),
    url("https://images.unsplash.com/photo-1508098682722-e99c43a406b2?auto=format&fit=crop&w=1800&q=80") center/cover;
}
.hero-partner {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  margin-bottom: 20px;
  padding: 9px 16px 9px 10px;
  border: 1px solid rgba(250, 204, 21, .34);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(6, 24, 18, .88), rgba(15, 23, 42, .78));
  box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
}
.hero-partner-logo {
  display: grid;
  place-items: center;
  width: clamp(118px, 12vw, 158px);
  padding: 7px;
  border-radius: 7px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08);
}
.hero-partner-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-partner-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  color: #fef3c7;
  font-weight: 900;
  text-transform: uppercase;
}
.hero-partner-copy em {
  color: #d1fae5;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .08em;
  line-height: 1.1;
}
.hero-partner-copy strong {
  color: #fde047;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1;
}
.hero-partner-copy span {
  color: #ecfccb;
  font-size: clamp(12px, 1.2vw, 15px);
  line-height: 1.25;
}
.week-countdown {
  display: inline-grid;
  gap: 6px;
  margin-top: 22px;
  max-width: 100%;
  padding: 15px 18px;
  border: 1px solid rgba(250, 204, 21, .32);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 23, 42, .92), rgba(20, 83, 45, .7));
  box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
}
.week-countdown span,
.week-countdown em {
  color: #cbd5e1;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}
.week-countdown strong {
  color: #fde047;
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.eyebrow {
  margin: 0 0 10px;
  color: #5eead4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(40px, 6.4vw, 74px);
  line-height: .95;
  letter-spacing: 0;
}
.hero-week-label {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(94, 234, 212, .34);
  border-radius: 8px;
  background: rgba(15, 23, 42, .72);
  color: #a7f3d0;
  font-size: clamp(15px, 2vw, 20px);
  line-height: 1.2;
}
.hero-lede {
  max-width: 720px;
  margin: 22px 0 0;
  color: #dbeafe;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}
.hero-actions { gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.trust-row {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.trust-row div {
  min-width: 132px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 8px;
  background: rgba(15, 23, 42, .6);
}
.trust-row strong { display: block; color: #fef3c7; font-size: 20px; }
.trust-row span { display: block; color: #cbd5e1; font-size: 12px; margin-top: 4px; }
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr);
  gap: 28px;
  padding: clamp(28px, 5vw, 58px) clamp(16px, 5vw, 72px);
  border-top: 1px solid rgba(94, 234, 212, .18);
  background: #050b0a;
  color: #e5f7f3;
}
.footer-brand {
  display: grid;
  gap: 14px;
  align-content: start;
  max-width: 760px;
}
.footer-brand p,
.footer-brand small {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.6;
}
.footer-brand small { color: #fef3c7; }
.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer-links a {
  color: #c7d2fe;
  font-weight: 850;
}
.footer-links a:hover { color: #5eead4; }
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(148, 163, 184, .14);
  padding-top: 16px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
}
.footer-legal-warning {
  grid-column: 1 / -1;
  margin: 0;
  border-top: 1px solid rgba(148, 163, 184, .12);
  padding-top: 12px;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.55;
}
.footer-legal-warning strong {
  color: #cbd5e1;
}
.legal-shell {
  display: grid;
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 76px) clamp(16px, 5vw, 42px);
  color: #eefcf7;
}
.legal-shell h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.04;
}
.legal-shell h2 {
  margin: 14px 0 0;
  color: #d1fae5;
  font-size: clamp(20px, 3vw, 28px);
}
.legal-shell p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.7;
}
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.legal-grid article,
.legal-note,
.access-confirmation {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(94, 234, 212, .22);
  border-radius: 8px;
  background: #0f172a;
  padding: 18px;
}
.legal-grid h2 { margin: 0; }
.legal-note,
.access-confirmation strong { color: #fef3c7; }
.access-confirmation {
  max-width: 920px;
  margin: 0 auto;
  border-color: rgba(45, 212, 191, .42);
  background: rgba(13, 148, 136, .18);
  text-align: center;
}
.access-confirmation span {
  color: #cbd5e1;
  line-height: 1.55;
}
.coupon-preview {
  overflow: hidden;
  border: 1px solid rgba(94, 234, 212, .25);
  border-radius: 8px;
  background: rgba(5, 11, 26, .92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}
.preview-top, .preview-row, .formula-cards {
  display: grid;
  align-items: center;
}
.preview-top {
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(20, 184, 166, .13);
  color: #a7f3d0;
  font-size: 13px;
}
.preview-top strong {
  color: #022c22;
  background: #34d399;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
}
.preview-grid { padding: 10px 12px; }
.preview-empty {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(94, 234, 212, .2);
  border-radius: 8px;
  background: rgba(15, 23, 42, .72);
}
.preview-empty strong {
  color: #fef3c7;
}
.preview-empty span {
  color: #cbd5e1;
  line-height: 1.45;
}
.preview-row {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 43px;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
}
.preview-row span { color: #64748b; font-size: 12px; }
.preview-row b {
  overflow: hidden;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bulletin-preview-card .preview-row {
  grid-template-columns: 28px minmax(0, 1fr) 76px 74px;
}
.bulletin-preview-card .preview-grid {
  max-height: none;
  overflow: visible;
}
.bulletin-preview-card .preview-row {
  min-height: 38px;
}
.bulletin-preview-card time {
  color: #94a3b8;
  font-size: 12px;
  text-align: right;
}
.result-pill {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  min-height: 26px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 999px;
  background: #eef2ff;
  color: #475569;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}
.result-pill.is-final {
  border-color: rgba(20, 184, 166, .45);
  background: #ccfbf1;
  color: #0f766e;
}
.bulletin-preview-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px;
  border-top: 1px solid rgba(148, 163, 184, .14);
}
.bulletin-preview-steps div {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(94, 234, 212, .22);
  border-radius: 8px;
  background: #0f172a;
}
.bulletin-preview-steps strong {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #2dd4bf;
  color: #042f2e;
}
.bulletin-preview-steps span {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 800;
}
.bulletin-preview-action {
  display: grid;
  grid-template-columns: minmax(180px, auto) 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-top: 1px solid rgba(148, 163, 184, .14);
  background: rgba(15, 23, 42, .72);
}
.bulletin-preview-action .site-button,
.bulletin-preview-action .ghost-button {
  width: 100%;
}
.bulletin-preview-action span {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}
.pick-set { display: grid; grid-template-columns: repeat(3, 32px); gap: 5px; }
.pick-set em {
  display: grid;
  place-items: center;
  height: 28px;
  border-radius: 6px;
  background: #111827;
  color: #94a3b8;
  font-style: normal;
  font-weight: 900;
  font-size: 12px;
}
.pick-set em.on { background: #20e3b2; color: #042f2e; }
.formula-cards {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px;
}
.formula-cards div {
  padding: 13px;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 8px;
  background: #0f172a;
}
.formula-cards .selected {
  border-color: rgba(45, 212, 191, .65);
  background: rgba(13, 148, 136, .22);
}
.formula-cards small, .formula-cards span { display: block; color: #94a3b8; font-size: 12px; }
.formula-cards strong { display: block; margin: 7px 0 4px; color: #f8fafc; font-size: 18px; }
.metric-strip {
  padding: 22px clamp(16px, 5vw, 72px);
  background: linear-gradient(135deg, #f8fafc, #ecfdf5);
  color: #0f172a;
}
.metric-strip div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}
.metric-strip strong {
  color: #0f766e;
  font-size: clamp(28px, 5vw, 46px);
}
.active-site-columns {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 5vw, 54px) clamp(16px, 5vw, 72px);
  background: #07110f;
  border-top: 1px solid rgba(45, 212, 191, .18);
  border-bottom: 1px solid rgba(45, 212, 191, .18);
}
.active-site-columns .section-head {
  max-width: 1180px;
  margin: 0 auto;
}
.active-site-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}
.active-site-grid article,
.best-coupon-strip {
  border: 1px solid rgba(94, 234, 212, .22);
  border-radius: 8px;
  background: #0f172a;
  padding: 16px;
}
.active-site-grid article {
  display: grid;
  gap: 6px;
}
.active-site-grid span,
.best-coupon-strip span {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.active-site-grid strong {
  color: #5eead4;
  font-size: clamp(28px, 5vw, 44px);
}
.active-site-grid em {
  color: #d1fae5;
  font-style: normal;
  font-weight: 850;
}
.best-coupon-strip {
  display: grid;
  gap: 14px;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}
.best-coupon-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.best-coupon-head strong {
  color: #d1fae5;
  font-size: 13px;
}
.best-coupon-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.best-coupon-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 96px;
  padding: 14px;
  border: 1px solid rgba(250, 204, 21, .24);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(20, 83, 45, .5), rgba(15, 23, 42, .9));
}
.best-coupon-list i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fde047;
  color: #14532d;
  font-style: normal;
  font-weight: 950;
}
.best-coupon-list div {
  min-width: 0;
}
.best-coupon-list strong {
  display: block;
  color: #fef3c7;
  font-size: clamp(18px, 2vw, 24px);
}
.best-coupon-list span {
  display: block;
  margin-top: 3px;
  color: #d1fae5;
  font-size: 13px;
  font-weight: 800;
  text-transform: none;
}
.best-coupon-list em {
  grid-column: 1 / -1;
  color: #94a3b8;
  font-style: normal;
  font-weight: 850;
}
.best-coupon-strip > b {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border-radius: 8px;
  padding: 0 12px;
  color: #042f2e;
  background: #5eead4;
  font-size: 13px;
}
.bulletin-showcase {
  padding: clamp(44px, 7vw, 78px) clamp(16px, 5vw, 72px);
  background: #fff;
  color: #172033;
}
.bulletin-table {
  display: grid;
  max-width: 1120px;
  border: 1px solid #d8dee9;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.bulletin-table div {
  display: grid;
  grid-template-columns: 42px 160px minmax(0, 1fr) minmax(0, 1fr) 116px;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-bottom: 1px solid #e5e7eb;
}
.bulletin-table div:nth-child(even) { background: #f8fafc; }
.bulletin-table div:last-child { border-bottom: 0; }
.bulletin-table span {
  color: #0f766e;
  font-weight: 900;
}
.bulletin-table time {
  color: #667085;
  font-size: 13px;
}
.bulletin-table strong, .bulletin-table em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bulletin-table em {
  color: #344054;
  font-style: normal;
}
.bulletin-action { margin-top: 18px; }
.results-user-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto auto;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(94, 234, 212, .26);
  border-radius: 8px;
  background: rgba(15, 23, 42, .86);
}
.results-user-summary span {
  color: #cbd5e1;
  font-weight: 850;
}
.results-user-summary strong {
  color: #5eead4;
}
.results-user-summary em {
  color: #fef3c7;
  font-style: normal;
  font-weight: 900;
}
.results-user-summary.guest {
  grid-template-columns: minmax(0, 1fr) auto auto;
}
.results-level-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1040px;
  margin-top: 12px;
}
.results-level-summary span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 8px;
  background: #f0fdfa;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}
.results-level-summary b {
  color: #0f766e;
}
.results-home {
  border-top: 1px solid #e5e7eb;
  background: #f8fafc;
}
.coupon-closed-landing {
  min-height: calc(100vh - 64px);
}
.closed-week-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(94, 234, 212, .24);
  border-radius: 8px;
  background: #0f172a;
  color: #e2e8f0;
}
.closed-week-panel article {
  display: grid;
  gap: 6px;
}
.closed-week-panel span {
  color: #5eead4;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.closed-week-panel strong {
  color: #f8fafc;
  font-size: clamp(24px, 4vw, 38px);
}
.closed-week-panel p {
  margin: 0;
  color: #cbd5e1;
}
.closed-week-panel > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.shared-coupon-page {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 5vw, 54px) clamp(12px, 5vw, 72px);
  background: #f8fafc;
  color: #172033;
}
.shared-coupon-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: clamp(20px, 4vw, 34px);
  border-radius: 8px;
  background: #07110f;
  color: #eefcf7;
}
.shared-coupon-hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
}
.shared-coupon-hero p {
  margin: 12px 0 0;
  color: #cbd5e1;
  font-size: 16px;
}
.shared-coupon-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.shared-coupon-actions form {
  margin: 0;
}
.shared-coupon-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.shared-coupon-meta article {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid #d8dee9;
  border-radius: 8px;
  background: #fff;
}
.shared-coupon-meta span {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.shared-coupon-meta strong {
  color: #0f766e;
  font-size: 24px;
}
.shared-preferences {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.shared-preferences div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}
.shared-preferences span {
  color: #0f766e;
  font-weight: 950;
}
.shared-preferences strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shared-preferences b {
  color: #0f172a;
}
.results-archive {
  border-top: 1px solid #e5e7eb;
}
.compact-results {
  max-width: 1040px;
}
.page-hero {
  padding: clamp(44px, 7vw, 80px) clamp(16px, 5vw, 72px);
  background: #07110f;
  color: #eefcf7;
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1;
}
.page-hero p:not(.eyebrow) {
  max-width: 780px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.6;
}
.results-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.result-week-card {
  display: grid;
  gap: 10px;
  min-height: 172px;
  border: 1px solid rgba(15, 118, 110, .22);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .06);
}
.result-week-card span {
  color: #0f766e;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.result-week-card strong {
  color: #172033;
  font-size: 22px;
  line-height: 1.12;
}
.result-week-card em {
  color: #667085;
  font-style: normal;
}
.result-week-card b {
  align-self: end;
  justify-self: start;
  border-radius: 999px;
  background: #ccfbf1;
  color: #0f766e;
  padding: 7px 11px;
  font-size: 12px;
}
.result-week-card:hover {
  border-color: rgba(20, 184, 166, .56);
  transform: translateY(-1px);
}
.prize-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.prize-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(15, 118, 110, .2);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}
.prize-grid span {
  color: #0f766e;
  font-size: 13px;
  font-weight: 950;
}
.prize-grid strong {
  color: #172033;
  font-size: 28px;
}
.prize-grid em {
  color: #b42318;
  font-style: normal;
  font-weight: 950;
}
.section-band, .access-section, .tool-shell {
  padding: clamp(44px, 7vw, 86px) clamp(16px, 5vw, 72px);
}
.section-band {
  background: #f1f5f9;
  color: #172033;
}
.section-head { max-width: 820px; margin-bottom: 26px; }
.section-head.compact { margin-inline: auto; text-align: center; }
.section-head h1, .section-head h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}
.section-head p:not(.eyebrow) { color: #667085; font-size: 17px; line-height: 1.55; }
.feature-grid, .access-cards, .method-grid, .pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feature-grid article, .access-cards article, .method-card, .pricing-grid article, .empty-state, .verify-flow {
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: #0f766e;
  color: #fff;
  font-weight: 900;
}
.feature-grid h3, .access-cards h3, .method-card h2, .pricing-grid h2 { margin: 16px 0 8px; }
.feature-grid p, .access-cards li, .method-card p, .pricing-grid p { color: #667085; line-height: 1.5; }
.access-section, .tool-shell {
  background: #07110f;
  color: #eefcf7;
}
.access-section {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: start;
}
.access-copy p:not(.eyebrow) { color: #cbd5e1; line-height: 1.6; }
.access-copy h2 { margin: 0; font-size: clamp(30px, 5vw, 52px); }
.access-cards, .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.access-cards article, .pricing-grid article, .method-card, .empty-state, .verify-flow {
  background: #0f172a;
  color: #f8fafc;
}
.featured-access { border-color: rgba(45, 212, 191, .72) !important; background: rgba(13, 148, 136, .2) !important; }
.access-cards ul { margin: 12px 0 0; padding-left: 18px; }
.tool-shell.narrow { max-width: 900px; margin: 0 auto; }
.method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin: 0 auto; }
.method-card span { font-size: 36px; }
.method-card b { color: #5eead4; }
.pricing-grid { max-width: 980px; margin: 0 auto; }
.pricing-grid strong { display: block; margin-top: 18px; color: #5eead4; font-size: 24px; }
.empty-state {
  display: grid;
  justify-items: start;
  gap: 12px;
  max-width: 620px;
  margin: 0 auto;
}
.empty-state span { color: #cbd5e1; line-height: 1.55; }
.verify-flow {
  display: grid;
  gap: 12px;
}
.verify-flow div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: rgba(15, 23, 42, .9);
}
.verify-flow b {
  display: grid;
  place-items: center;
  height: 36px;
  border-radius: 7px;
  background: #2dd4bf;
  color: #042f2e;
}
.auth-shell {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 72px) 16px;
  background:
    linear-gradient(120deg, rgba(7, 17, 15, .94), rgba(15, 23, 42, .9)),
    url("https://images.unsplash.com/photo-1517927033932-b3d18e61fb3a?auto=format&fit=crop&w=1600&q=80") center/cover;
}
.auth-panel {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 28px;
  width: min(940px, 100%);
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(94, 234, 212, .25);
  border-radius: 8px;
  background: rgba(15, 23, 42, .92);
}
.auth-panel h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
}
.auth-panel p { color: #cbd5e1; line-height: 1.55; }
.auth-form {
  display: grid;
  gap: 14px;
}
.auth-form label {
  display: grid;
  gap: 7px;
}
.auth-form label span {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 800;
}
.auth-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 7px;
  padding: 0 12px;
  background: #111827;
  color: #f8fafc;
  font: inherit;
}
.auth-form .password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.auth-form .password-field input {
  min-width: 0;
}
.auth-form .password-field button {
  min-height: 46px;
  border: 1px solid rgba(94, 234, 212, .3);
  border-radius: 7px;
  padding: 0 12px;
  background: rgba(13, 148, 136, .16);
  color: #d1fae5;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.field-error {
  color: #fecaca;
  font-size: 12px;
  font-weight: 850;
}
.field-error.hidden {
  display: none;
}
.auth-form .check-line {
  grid-template-columns: 20px 1fr;
  align-items: start;
}
.auth-form .check-line input {
  min-height: 0;
  margin-top: 3px;
}
.auth-error {
  padding: 11px 12px;
  border: 1px solid rgba(248, 113, 113, .45);
  border-radius: 7px;
  background: rgba(127, 29, 29, .28);
  color: #fecaca;
}
.auth-switch {
  margin: 0;
  text-align: center;
}
.auth-switch a { color: #5eead4; font-weight: 900; }
.method-hero {
  padding-top: clamp(54px, 8vw, 96px);
}
.path-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.start-panel {
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}
.start-option {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 132px;
  padding: 20px;
  border: 1px solid rgba(94, 234, 212, .24);
  border-radius: 8px;
  background: #0f172a;
  color: #f8fafc;
}
.start-option.active {
  background: linear-gradient(135deg, rgba(13, 148, 136, .42), #0f172a);
  border-color: rgba(45, 212, 191, .75);
  box-shadow: 0 18px 48px rgba(20, 184, 166, .12);
}
.option-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 8px;
  background: #2dd4bf;
  color: #042f2e;
  font-weight: 950;
}
.start-option small {
  color: #5eead4;
  font-weight: 900;
  text-transform: uppercase;
}
.start-option h2 {
  margin: 6px 0 6px;
  font-size: clamp(22px, 3vw, 34px);
}
.start-option p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.5;
}
.start-option b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  min-height: 44px;
  border-radius: 7px;
  background: rgba(45, 212, 191, .16);
  color: #5eead4;
}
.path-card {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(94, 234, 212, .24);
  border-radius: 8px;
  background: #0f172a;
  color: #f8fafc;
}
.path-card small {
  color: #5eead4;
  font-weight: 800;
  text-transform: uppercase;
}
.path-card h2 {
  margin: 16px 0 10px;
  font-size: 28px;
}
.path-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.55;
}
.path-card span {
  margin-top: auto;
  color: #34d399;
  font-weight: 900;
}
.primary-path {
  background: linear-gradient(145deg, rgba(13, 148, 136, .42), #0f172a);
  border-color: rgba(45, 212, 191, .75);
}
.mode-section {
  padding: clamp(44px, 7vw, 86px) clamp(16px, 5vw, 72px);
  background: #f8fafc;
  color: #172033;
}
.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.mode-grid article, .bulletin-wait div {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, .3);
  border-radius: 8px;
  background: #fff;
}
.mode-grid b, .bulletin-wait strong { color: #0f766e; }
.mode-grid span, .bulletin-wait span { color: #667085; line-height: 1.5; }
.bulletin-wait {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.coupon-studio {
  min-height: calc(100vh - 64px);
  padding: clamp(20px, 4vw, 44px) clamp(12px, 4vw, 42px);
  background: #07110f;
  color: #eefcf7;
}

.coupon-workbench {
  min-height: calc(100vh - 64px);
  padding: clamp(18px, 3vw, 34px);
  background: #07110f;
  color: #eefcf7;
}
.coupon-titlebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  max-width: 1540px;
  margin: 0 auto 14px;
}
.coupon-titlebar h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}
.coupon-titlebar p:not(.eyebrow) {
  margin: 10px 0 0;
  color: #cbd5e1;
}
.coupon-status {
  display: grid;
  gap: 5px;
  min-width: 190px;
  padding: 13px 15px;
  border: 1px solid rgba(94, 234, 212, .35);
  border-radius: 8px;
  background: #0f172a;
}
.coupon-status span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.coupon-status strong { color: #5eead4; }
.coupon-tabs {
  display: flex;
  gap: 8px;
  max-width: 1540px;
  margin: 0 auto 12px;
  overflow-x: auto;
  padding-bottom: 3px;
}
.coupon-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 7px;
  background: #0f172a;
  color: #cbd5e1;
  font: inherit;
  font-weight: 900;
  white-space: nowrap;
}
.coupon-tabs button.active {
  border-color: #5eead4;
  background: #14b8a6;
  color: #042f2e;
}
.coupon-tabs button:disabled {
  cursor: not-allowed;
  opacity: .48;
}
.workbench-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 14px;
  align-items: start;
  max-width: 1540px;
  margin: 0 auto;
}
.selection-panel {
  min-width: 0;
}
.formula-panel, .selection-panel, .live-summary {
  border: 1px solid rgba(94, 234, 212, .22);
  border-radius: 8px;
  background: #0b1324;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}
.formula-panel, .live-summary {
  position: sticky;
  top: 82px;
}
.formula-panel {
  grid-column: 1 / -1;
  position: static;
  display: grid;
  grid-template-columns: 220px repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}
.panel-title {
  display: grid;
  gap: 4px;
  padding: 4px 2px 8px;
  border-right: 1px solid rgba(148, 163, 184, .18);
  border-bottom: 0;
}
.panel-title span {
  color: #f8fafc;
  font-weight: 950;
}
.panel-title small { color: #94a3b8; line-height: 1.35; }
.formula-tile {
  display: grid;
  gap: 7px;
  width: 100%;
  min-height: 86px;
  padding: 13px;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 8px;
  background: #111827;
  color: #94a3b8;
  font: inherit;
  text-align: left;
}
.formula-tile span {
  color: #e5e7eb;
  font-size: 15px;
  font-weight: 950;
}
.formula-tile strong {
  color: #64748b;
  font-size: 18px;
}
.formula-tile em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}
.formula-tile small {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
}
.formula-tile.available {
  cursor: pointer;
  border-color: rgba(94, 234, 212, .42);
  color: #e0f2fe;
}
.formula-tile.available strong { color: #5eead4; }
.formula-tile.available small { color: #fef3c7; }
.formula-tile.active {
  border-color: #67e8f9;
  background: linear-gradient(135deg, rgba(45, 212, 191, .34), rgba(14, 116, 144, .28));
  box-shadow: inset 4px 0 0 #5eead4;
}
.formula-info {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(15, 23, 42, .75);
}
.formula-info strong { color: #fef3c7; }
.formula-info span {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.45;
}
.selection-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  padding: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, .16);
}
.selection-toolbar button {
  min-height: 38px;
  border: 1px solid rgba(94, 234, 212, .28);
  border-radius: 7px;
  background: rgba(13, 148, 136, .18);
  color: #5eead4;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}
.selection-toolbar button:nth-child(2) {
  border-color: rgba(56, 189, 248, .34);
  background: rgba(14, 116, 144, .18);
  color: #bae6fd;
}
.selection-toolbar button:nth-child(3) {
  border-color: rgba(248, 113, 113, .38);
  background: rgba(127, 29, 29, .22);
  color: #fecaca;
}
.mode-help {
  margin: 0 12px 10px;
  padding: 10px 12px;
  border: 1px solid rgba(94, 234, 212, .22);
  border-radius: 8px;
  background: rgba(13, 148, 136, .12);
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.45;
}
.mode-help.hidden { display: none; }
.selection-header, .selection-row {
  display: grid;
  grid-template-columns: 34px 112px minmax(280px, 1fr) repeat(3, 68px);
  gap: 10px;
  align-items: center;
}
.selection-header {
  min-height: 36px;
  padding: 0 12px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.selection-header span:nth-child(n+4) { text-align: center; }
.selection-row {
  min-height: 70px;
  margin: 0 10px 8px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 8px;
  background: rgba(15, 23, 42, .58);
}
.selection-row:nth-child(even) { background: rgba(15, 23, 42, .72); }
.row-no {
  color: #64748b;
  font-weight: 950;
}
.row-date {
  color: #94a3b8;
  font-size: 12px;
}
.team-cell {
  display: grid;
  gap: 8px;
  min-width: 0;
  justify-items: start;
}
.team-trigger {
  overflow: hidden;
  width: auto;
  max-width: 100%;
  border: 1px solid rgba(94, 234, 212, .14);
  border-radius: 7px;
  padding: 7px 9px;
  background: rgba(15, 23, 42, .52);
  overflow: hidden;
  color: #f8fafc;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  text-align: left;
  text-overflow: ellipsis;
  white-space: normal;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .5);
}
.team-trigger:hover {
  border-color: rgba(45, 212, 191, .48);
  background: rgba(13, 148, 136, .15);
  color: #5eead4;
}
.tap-hint {
  display: block;
  margin-top: 3px;
  color: #67e8f9;
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
  animation: tapHintPulse 2.2s ease-in-out infinite;
}
@keyframes tapHintPulse {
  0%, 100% { opacity: .62; text-shadow: 0 0 0 rgba(103, 232, 249, 0); }
  50% { opacity: 1; text-shadow: 0 0 12px rgba(103, 232, 249, .75); }
}
.team-pair {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  max-width: 100%;
}
.team-side {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.team-side img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, .9);
}
.team-side b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-side small {
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  padding: 0 5px;
  border-radius: 5px;
  background: rgba(45, 212, 191, .14);
  color: #99f6e4;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0;
}
.team-separator {
  color: #94a3b8;
  font-weight: 900;
}
.odds-strip {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(54px, 1fr));
  align-items: center;
  gap: 7px;
  width: min(100%, 420px);
}
.iddaa-badge {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 18px;
  border-radius: 4px;
  background: #facc15;
  color: #166534;
  font-size: 10px;
  font-weight: 950;
}
.odds-strip em {
  min-width: 0;
  padding: 5px 7px;
  border: 1px solid rgba(94, 234, 212, .25);
  border-radius: 5px;
  color: #ccfbf1;
  background: rgba(20, 184, 166, .14);
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  text-align: center;
}
.odds-strip small {
  grid-column: 1 / -1;
  color: #94a3b8;
  font-size: 11px;
}
.percentage-inputs {
  display: none;
}
.choice-btn {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 50px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 7px;
  background: #111827;
  color: #cbd5e1;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 950;
}
.choice-btn b {
  line-height: 1;
}
.choice-btn small {
  color: #94a3b8;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}
.choice-btn:hover {
  border-color: rgba(94, 234, 212, .7);
}
.choice-btn.selected {
  border-color: #5eead4;
  background: linear-gradient(180deg, #5eead4, #14b8a6);
  color: #042f2e;
  box-shadow: 0 8px 20px rgba(45, 212, 191, .18);
}
.choice-btn.selected small {
  color: #064e3b;
}
.analysis-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99999;
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  padding: 18px;
  background: rgba(2, 6, 23, .72);
  backdrop-filter: blur(10px);
}
.analysis-modal.hidden {
  display: none;
}
.analysis-dialog {
  position: relative;
  z-index: 100000;
  display: grid;
  gap: 16px;
  width: min(960px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid rgba(94, 234, 212, .34);
  border-radius: 8px;
  background: #0b1324;
  color: #f8fafc;
  padding: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}
.analysis-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.analysis-team {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 8px;
  background: rgba(15, 23, 42, .72);
  padding: 14px;
}
.analysis-team img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 4px;
}
.analysis-team strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}
.analysis-versus {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}
.season-code {
  display: grid;
  gap: 3px;
  min-width: 220px;
  border: 1px solid rgba(250, 204, 21, .28);
  border-radius: 8px;
  background: rgba(250, 204, 21, .08);
  padding: 9px 12px;
}
.season-code span {
  color: #fde68a;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}
.season-code strong {
  color: #fef3c7;
  font-size: 13px;
  line-height: 1.25;
}
.form-badges {
  display: flex;
  gap: 5px;
  min-height: 24px;
}
.form-badges b {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 6px;
  color: #06130f;
  font-size: 11px;
  font-weight: 950;
}
.form-badges em {
  color: #94a3b8;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}
.form-win { background: #34d399; }
.form-draw { background: #facc15; }
.form-loss { background: #fb7185; }
.analysis-splits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.analysis-splits > div, .standings-card {
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 8px;
  background: #0f172a;
  padding: 14px;
}
.analysis-splits span {
  display: block;
  margin-bottom: 10px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.analysis-splits ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.analysis-splits li {
  display: grid;
  grid-template-columns: 24px 44px minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: center;
  color: #cbd5e1;
  font-size: 12px;
}
.analysis-splits li b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  color: #06130f;
  font-size: 10px;
}
.analysis-splits li strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #e2e8f0;
}
.analysis-splits li em {
  color: #5eead4;
  font-style: normal;
  font-weight: 950;
  text-align: right;
}
.analysis-splits li.recent-empty {
  display: block;
  border: 1px dashed rgba(148, 163, 184, .28);
  border-radius: 8px;
  color: #cbd5e1;
  line-height: 1.45;
  padding: 12px;
}
.standings-card {
  display: block;
}
.standing-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.standing-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(94, 234, 212, .18);
  border-radius: 8px;
  background: rgba(20, 184, 166, .08);
  color: #ccfbf1;
  padding: 10px 12px;
}
.standing-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
}
.standing-row strong {
  color: #5eead4;
  font-size: 15px;
  font-weight: 950;
}
.standing-row em {
  border-radius: 999px;
  background: rgba(94, 234, 212, .12);
  color: #e0f2fe;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  padding: 5px 8px;
}
.standing-empty {
  border: 1px dashed rgba(148, 163, 184, .28);
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
  padding: 12px;
}
.analysis-close {
  justify-self: end;
  min-height: 34px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 7px;
  background: #111827;
  color: #cbd5e1;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.analysis-dialog h2 {
  margin: 0;
  font-size: clamp(22px, 4vw, 34px);
}
.analysis-dialog p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.55;
}
.analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.analysis-grid div {
  display: grid;
  gap: 8px;
  min-height: 106px;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 8px;
  background: #0f172a;
  padding: 14px;
}
.analysis-grid span {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.analysis-grid strong {
  color: #d1fae5;
  font-size: 13px;
  line-height: 1.45;
}
.analysis-disclaimer {
  border-top: 1px solid rgba(148, 163, 184, .16);
  padding-top: 12px;
  font-size: 12px;
}
.percent-choice {
  display: none;
  gap: 7px;
  min-height: 58px;
  border: 1px solid rgba(56, 189, 248, .28);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(14, 116, 144, .24), rgba(15, 23, 42, .9));
  color: #bae6fd;
  font-size: 10px;
  font-weight: 950;
}
.percent-choice span {
  justify-self: start;
  color: #99f6e4;
  font-size: 11px;
  font-weight: 950;
}
.percent-choice input[type="number"] {
  width: 58px;
  min-height: 30px;
  border: 1px solid rgba(94, 234, 212, .26);
  border-radius: 7px;
  padding: 0 6px;
  background: rgba(2, 6, 23, .62);
  color: #f8fafc;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  text-align: center;
}
.percent-choice input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  height: 22px;
  accent-color: #2dd4bf;
  cursor: pointer;
}
.percent-choice small {
  justify-self: end;
  color: #67e8f9;
  font-size: 11px;
  font-weight: 950;
}
.percent-row-total {
  display: none;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 850;
}
.percent-row-total.complete {
  color: #5eead4;
}
.percent-row-total.warning {
  color: #fbbf24;
}
.coupon-workbench[data-mode="percentage"] .choice-btn {
  display: none;
}
.coupon-workbench[data-mode="percentage"] .percent-choice {
  display: grid;
}
.coupon-workbench[data-mode="percentage"] .selection-header,
.coupon-workbench[data-mode="percentage"] .selection-row {
  grid-template-columns: 34px 104px minmax(260px, 1fr) repeat(3, minmax(150px, 1fr)) 82px;
}
.coupon-workbench[data-mode="percentage"] .percent-choice {
  grid-template-columns: auto minmax(54px, 62px) auto;
  align-items: center;
  justify-items: stretch;
  padding: 9px 10px;
  border-color: rgba(45, 212, 191, .34);
}
.coupon-workbench[data-mode="percentage"] .percent-choice input[type="number"] {
  width: 100%;
}
.coupon-workbench[data-mode="percentage"] .percent-choice input[type="range"] {
  min-height: 20px;
}
.coupon-workbench[data-mode="percentage"] .percent-row-total {
  display: grid;
  place-items: center;
  min-height: 58px;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 7px;
  background: rgba(15, 23, 42, .72);
  text-align: center;
  padding: 8px;
}
.live-summary {
  display: grid;
  gap: 11px;
  padding: 12px;
}
.coupon-name {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(94, 234, 212, .28);
  border-radius: 8px;
  background: rgba(13, 148, 136, .12);
}
.coupon-name span {
  color: #5eead4;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.coupon-name input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 7px;
  padding: 0 11px;
  background: #111827;
  color: #f8fafc;
  font: inherit;
}
.coupon-name small {
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.35;
}
.coupon-name-nudge {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px dashed rgba(250, 204, 21, .4);
  border-radius: 8px;
  background: rgba(250, 204, 21, .08);
}
.coupon-name-nudge strong {
  color: #fef3c7;
  font-size: 13px;
}
.coupon-name-nudge span {
  color: #cbd5e1;
  font-size: 12px;
}
.coupon-name-nudge.is-muted {
  border-style: solid;
  border-color: rgba(94, 234, 212, .22);
  background: rgba(13, 148, 136, .08);
}
.quick-count {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.quick-count div, .money-box, .saving-box, .limit-box, .percentage-box, .health-box {
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 8px;
  background: #0f172a;
}
.quick-count div {
  display: grid;
  gap: 5px;
  padding: 10px;
}
.quick-count span, .money-box span, .saving-box span, .limit-box span, .percentage-box span, .health-box span {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.quick-count strong {
  color: #f8fafc;
  font-size: 18px;
}
.quick-count b { color: #5eead4; }
.money-box, .saving-box, .limit-box, .percentage-box, .health-box {
  display: grid;
  gap: 7px;
  padding: 13px;
}
.money-box strong, .saving-box strong, .limit-box strong, .percentage-box strong, .health-box strong {
  color: #f8fafc;
  font-size: 19px;
}
.money-box em, .saving-box em, .limit-box em, .percentage-box em, .health-box em {
  font-style: normal;
  font-weight: 950;
}
.percentage-box {
  border-color: rgba(56, 189, 248, .32);
  background: rgba(14, 116, 144, .16);
}
.percentage-box em {
  color: #bae6fd;
  font-size: 12px;
  line-height: 1.4;
}
.health-box {
  border-color: rgba(251, 191, 36, .42);
  background: linear-gradient(135deg, rgba(120, 53, 15, .24), rgba(15, 23, 42, .94));
}
.health-box strong {
  color: #fef3c7;
}
.health-box em {
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.45;
}
.money-box small {
  color: #fef3c7;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}
.money-box.normal em { color: #fecaca; }
.money-box.formula {
  border-color: rgba(45, 212, 191, .48);
  background: rgba(13, 148, 136, .2);
}
.money-box.formula em, .saving-box strong, .saving-box em { color: #5eead4; }
.saving-box {
  grid-template-columns: 1fr auto;
  align-items: center;
}
.saving-box span { grid-column: 1 / -1; }
.limit-box {
  border-color: rgba(45, 212, 191, .34);
  background: rgba(6, 78, 59, .22);
}
.limit-box em { color: #5eead4; }
.limit-box.over-limit {
  border-color: rgba(248, 113, 113, .55);
  background: rgba(127, 29, 29, .26);
}
.limit-box.over-limit em { color: #fecaca; }
.limit-box.full-over-limit {
  border-color: rgba(251, 191, 36, .48);
  background: rgba(120, 53, 15, .22);
}
.limit-box.full-over-limit em { color: #fef3c7; }
.summary-buttons {
  display: grid;
  gap: 9px;
}
.summary-buttons .site-button, .summary-buttons .ghost-button { width: 100%; }
.summary-buttons .ghost-button {
  background: #111827;
  color: #d1fae5;
}
.summary-buttons button:disabled {
  cursor: not-allowed;
  opacity: .48;
}
.access-hint {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(251, 191, 36, .28);
  border-radius: 8px;
  background: rgba(120, 53, 15, .2);
}
.access-hint strong {
  color: #fef3c7;
  font-size: 14px;
}
.access-hint span {
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.45;
}
.access-hint a {
  color: #5eead4;
  font-size: 12px;
  font-weight: 950;
}
.status-text {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.45;
}
.account-shell {
  min-height: calc(100vh - 64px);
  padding: clamp(28px, 5vw, 68px) clamp(16px, 5vw, 72px);
  background: #07110f;
  color: #eefcf7;
}
.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 18px;
}
.account-hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
}
.account-hero p {
  max-width: 760px;
  color: #cbd5e1;
  line-height: 1.55;
}
.account-badge {
  display: grid;
  gap: 6px;
  min-width: 190px;
  padding: 14px;
  border: 1px solid rgba(251, 191, 36, .34);
  border-radius: 8px;
  background: rgba(120, 53, 15, .22);
}
.account-badge.ok {
  border-color: rgba(45, 212, 191, .42);
  background: rgba(13, 148, 136, .2);
}
.account-badge.danger {
  border-color: rgba(248, 113, 113, .48);
  background: rgba(127, 29, 29, .24);
}
.account-badge span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.account-badge strong { color: #fef3c7; }
.account-badge.ok strong { color: #5eead4; }
.account-badge.danger strong { color: #fecaca; }
.email-verify-card {
  border-color: rgba(251, 191, 36, .36);
  background: linear-gradient(180deg, rgba(251, 191, 36, .13), rgba(15, 23, 42, .18));
}
.email-verify-card h2 {
  color: #fef3c7;
}
.email-verify-card p {
  color: #fde68a;
}
.email-verify-card form {
  margin-top: 14px;
}
.membership-pill {
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  border-radius: 6px;
  padding: 0 9px;
  font-weight: 950;
}
.membership-pill.ok {
  border: 1px solid rgba(45, 212, 191, .42);
  color: #5eead4;
  background: rgba(13, 148, 136, .18);
}
.membership-pill.danger {
  border: 1px solid rgba(248, 113, 113, .48);
  color: #fecaca;
  background: rgba(127, 29, 29, .24);
}
.membership-pill.bronze {
  border: 1px solid rgba(251, 191, 36, .42);
  color: #fef3c7;
  background: rgba(120, 53, 15, .22);
}
.membership-page {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 6vw, 70px) clamp(14px, 5vw, 48px);
}
.membership-hero,
.dealer-steps,
.active-coupon-status {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(94, 234, 212, .24);
  border-radius: 8px;
  background: #0f172a;
  padding: clamp(18px, 4vw, 34px);
}
.membership-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.02;
}
.membership-hero p,
.dealer-steps p {
  max-width: 820px;
  color: #cbd5e1;
  line-height: 1.6;
}
.membership-types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}
.membership-types article,
.dealer-steps {
  display: grid;
  gap: 12px;
}
.membership-types article {
  border: 1px solid rgba(94, 234, 212, .22);
  border-radius: 8px;
  background: #0b1324;
  padding: 20px;
}
.membership-types article > span {
  color: #5eead4;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.membership-types h2,
.dealer-steps h2 {
  margin: 0;
}
.membership-types p,
.membership-types li {
  color: #cbd5e1;
  line-height: 1.55;
}
.membership-types ul,
.dealer-steps ol {
  margin: 0;
  padding-left: 20px;
}
.dealer-steps {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px) auto;
  align-items: center;
}
.dealer-steps li {
  margin: 4px 0;
  color: #d1fae5;
  line-height: 1.45;
}
.account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}
.account-grid.single { grid-template-columns: minmax(0, 620px); justify-content: center; }
.account-card {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid rgba(94, 234, 212, .22);
  border-radius: 8px;
  background: #0f172a;
  padding: 20px;
}
.account-card.featured {
  border-color: rgba(45, 212, 191, .54);
  background: rgba(13, 148, 136, .18);
}
.account-card h2 { margin: 0; }
.account-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.55;
}
.account-card strong {
  color: #5eead4;
  font-size: 24px;
}
.play-access-state {
  display: grid;
  gap: 2px;
  line-height: 1.08;
}
.play-access-state span {
  display: block;
}
.play-shell {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 6vw, 70px) clamp(14px, 5vw, 48px);
}
.play-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: end;
  border: 1px solid rgba(94, 234, 212, .22);
  border-radius: 8px;
  background: #0f172a;
  padding: clamp(18px, 4vw, 34px);
}
.play-hero h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.04;
}
.play-hero p {
  max-width: 760px;
  color: #cbd5e1;
  line-height: 1.6;
}
.play-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.play-preflight {
  border-color: rgba(45, 212, 191, .42);
  background: rgba(13, 148, 136, .18);
}
.connector-guide {
  margin-top: 16px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 8px;
  background: rgba(2, 6, 23, .22);
  padding: 14px;
  color: #cbd5e1;
}
.connector-guide strong {
  display: block;
  color: #ecfeff;
  margin-bottom: 8px;
}
.connector-guide ol {
  margin: 0 0 10px 18px;
  padding: 0;
  line-height: 1.6;
}
.connector-guide p {
  margin: 0;
  color: #94a3b8;
}
.copy-control {
  cursor: pointer;
  font: inherit;
}
.play-coupon-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 14px;
}
.coupon-delete-form {
  margin: 0;
}
.danger-button {
  border-color: rgba(248, 113, 113, .78) !important;
  background: #dc2626 !important;
  color: #fff !important;
}
.danger-button:hover {
  border-color: rgba(248, 113, 113, .8) !important;
  background: #b91c1c !important;
  color: #fff !important;
}
.profile-list {
  display: grid;
  gap: 10px;
  margin: 0;
}
.profile-list div {
  display: grid;
  gap: 4px;
}
.profile-list dt {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.profile-list dd { margin: 0; }
.coupons-card {
  max-width: 1180px;
  margin: 14px auto 0;
}
.account-hero.compact {
  align-items: center;
}
.coupons-page .account-hero {
  margin-bottom: 14px;
}
.active-coupon-status {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  margin-bottom: 14px;
}
.status-title {
  display: grid;
  align-content: center;
  gap: 4px;
}
.status-title h2 {
  margin: 0;
}
.status-title span,
.active-coupon-status article span,
.coupon-status-line span {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.active-coupon-status article {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(94, 234, 212, .2);
  border-radius: 8px;
  background: rgba(2, 6, 23, .28);
  padding: 12px;
}
.active-coupon-status article strong {
  color: #5eead4;
  font-size: 26px;
}
.active-coupon-status article em {
  color: #d1fae5;
  font-style: normal;
  font-weight: 800;
}
.ghost-button.disabled {
  pointer-events: none;
  opacity: .62;
}
.coupon-list-pro {
  max-width: 1180px;
  margin: 0 auto;
}
.coupon-status-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 14px 12px;
}
.coupon-status-line div {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 7px;
  background: rgba(15, 23, 42, .82);
  padding: 10px;
}
.coupon-status-line strong {
  color: #5eead4;
  font-size: 20px;
}
.coupon-status-line strong.ok { color: #22c55e; }
.coupon-status-line strong.bad { color: #f87171; }
.coupon-share-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, auto);
  gap: 10px;
  align-items: center;
  margin: 0 14px 14px;
  padding: 12px;
  border: 1px solid rgba(94, 234, 212, .22);
  border-radius: 8px;
  background: rgba(13, 148, 136, .1);
}
.coupon-share-panel div {
  display: grid;
  gap: 4px;
}
.coupon-share-panel strong {
  color: #f8fafc;
}
.coupon-share-panel span {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.4;
}
.coupon-preference-matrix {
  display: grid;
  grid-template-columns: 42px repeat(15, minmax(22px, 1fr)) minmax(64px, 1.2fr);
  gap: 4px;
  align-items: end;
  min-width: 660px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(148, 163, 184, .13);
}
.coupon-preference-matrix .preference-label,
.coupon-preference-matrix strong,
.coupon-preference-matrix b,
.coupon-preference-matrix .preference-spacer {
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-weight: 950;
}
.coupon-preference-matrix .preference-label {
  justify-items: start;
  min-height: 34px;
  background: rgba(15, 23, 42, .92);
  color: #cbd5e1;
  padding: 0 8px;
  font-size: 12px;
  line-height: 1.1;
  text-align: left;
  white-space: normal;
}
.coupon-preference-matrix .preference-label.is-wide {
  color: #fef3c7;
  font-size: 11px;
  word-break: normal;
  overflow-wrap: anywhere;
}
.coupon-preference-matrix strong {
  min-height: 122px;
  padding: 8px 4px;
  background: rgba(15, 23, 42, .46);
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.15;
  text-align: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.coupon-preference-matrix b {
  min-height: 34px;
  color: #042f2e;
  background: rgba(94, 234, 212, .9);
  font-size: 12px;
}
.coupon-preference-matrix .preference-spacer {
  min-height: 34px;
  color: #94a3b8;
  background: rgba(15, 23, 42, .82);
  font-size: 11px;
}
.coupon-preference-matrix b.ok { color: #052e16; background: #22c55e; }
.coupon-preference-matrix b.bad { color: #fecaca; background: rgba(127, 29, 29, .72); }
.coupon-preference-matrix b.pending { color: #042f2e; background: #5eead4; }
.share-button {
  min-width: 96px;
}
.inline-analysis-link {
  display: inline-flex;
  margin-left: 6px;
  color: #5eead4;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pro-columns .columns-header b {
  color: #94a3b8;
  background: rgba(15, 23, 42, .82);
}
.saved-columns b.ok { color: #052e16; background: #22c55e; }
.saved-columns b.bad { color: #fecaca; background: rgba(127, 29, 29, .72); }
.saved-columns b.pending { color: #042f2e; background: #5eead4; }
.saved-columns b.is-live {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 4px;
  white-space: nowrap;
  font-size: 11px;
}
.live-hourglass {
  font-size: 12px;
  line-height: 1;
}
.saved-coupon-list {
  display: grid;
  gap: 10px;
}
.saved-coupon {
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 8px;
  background: #0b1324;
  overflow: hidden;
}
.saved-coupon summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  cursor: pointer;
}
.saved-coupon summary span {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.saved-coupon summary strong {
  color: #f8fafc;
}
.saved-coupon summary em {
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
}
.saved-coupon summary b {
  color: #5eead4;
}
.saved-coupon-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 14px 12px;
}
.saved-coupon-meta div {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 7px;
  background: rgba(15, 23, 42, .82);
  padding: 10px;
}
.saved-coupon-meta span {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.saved-coupon-meta strong {
  color: #d1fae5;
}
.saved-columns {
  display: grid;
  gap: 6px;
  max-height: 420px;
  overflow: auto;
  padding: 0 14px 14px;
}
.saved-columns div {
  display: grid;
  grid-template-columns: 42px repeat(15, minmax(22px, 1fr)) minmax(64px, 1.2fr);
  gap: 4px;
  align-items: center;
}
.saved-columns span,
.saved-columns b {
  display: grid;
  place-items: center;
  min-height: 28px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 950;
}
.saved-columns span {
  color: #94a3b8;
  background: rgba(15, 23, 42, .82);
}
.saved-columns b {
  color: #042f2e;
  background: #5eead4;
}
.play-preview-columns div {
  grid-template-columns: 42px repeat(15, minmax(22px, 1fr));
}
.live-track-page {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 6vw, 70px) clamp(14px, 5vw, 48px);
}
.live-hero,
.live-summary-grid,
.live-two-column,
.live-coupon-list {
  width: min(1180px, 100%);
  margin: 0 auto;
}
.live-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 18px;
  align-items: end;
  border: 1px solid rgba(94, 234, 212, .24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 184, 166, .18), transparent 42%),
    #0b1324;
  padding: clamp(18px, 4vw, 34px);
}
.live-hero h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.02;
}
.live-hero p {
  max-width: 780px;
  color: #cbd5e1;
  line-height: 1.6;
}
.live-refresh-card,
.live-best-card,
.live-login-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(94, 234, 212, .26);
  border-radius: 8px;
  background: rgba(2, 6, 23, .38);
  padding: 16px;
}
.live-refresh-card .ghost-button {
  border-color: rgba(94, 234, 212, .52);
  background: #5eead4;
  color: #042f2e;
  font-weight: 950;
}
.live-refresh-card .ghost-button:hover {
  background: #2dd4bf;
  color: #042f2e;
}
.live-refresh-card span,
.live-best-card span,
.live-table-note,
.live-panel-title span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
}
.live-refresh-card strong,
.live-best-card strong {
  color: #5eead4;
  font-size: 28px;
}
.live-best-card em {
  color: #d1fae5;
  font-style: normal;
  font-weight: 800;
}
.live-summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.live-guest-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(1180px, 100%);
  margin: 0 auto;
}
.live-guest-strip article {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(250, 204, 21, .28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(120, 53, 15, .28), rgba(15, 23, 42, .76));
  padding: 16px;
}
.live-guest-strip span {
  color: #fde68a;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.live-guest-strip strong {
  color: #f8fafc;
  font-size: 20px;
  line-height: 1.15;
}
.live-summary-grid article,
.live-coupon-stats article {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(94, 234, 212, .22);
  border-radius: 8px;
  background: #0f172a;
  padding: 14px;
}
.live-summary-grid article span,
.live-coupon-stats article span {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.live-summary-grid article strong,
.live-coupon-stats article strong {
  color: #5eead4;
  font-size: 28px;
}
.live-summary-grid article.danger,
.live-coupon-stats article.danger {
  border-color: rgba(248, 113, 113, .34);
  background: rgba(127, 29, 29, .2);
}
.live-summary-grid article.danger strong,
.live-coupon-stats article.danger strong {
  color: #fecaca;
}
.live-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 14px;
}
.live-panel,
.live-coupon-card {
  border: 1px solid rgba(94, 234, 212, .22);
  border-radius: 8px;
  background: #0b1324;
  overflow: hidden;
}
.live-panel {
  padding: 16px;
}
.live-panel-title {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 12px;
}
.live-panel-title h2 {
  margin: 0;
}
.live-match-list {
  display: grid;
  gap: 8px;
}
.live-match-list article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 86px;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 8px;
  background: rgba(15, 23, 42, .66);
  padding: 10px;
}
.live-match-list article > span,
.live-match-list article > b {
  display: grid;
  place-items: center;
  min-height: 30px;
  border-radius: 6px;
  font-weight: 950;
}
.live-match-list article > span {
  color: #94a3b8;
  background: rgba(2, 6, 23, .42);
}
.live-match-list strong {
  color: #f8fafc;
}
.live-match-list em {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
}
.live-match-list article > b {
  color: #042f2e;
  background: #5eead4;
}
.live-match-list article.is-final > b {
  color: #052e16;
  background: #22c55e;
}
.live-login-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.55;
}
.live-coupon-list {
  display: grid;
  gap: 12px;
}
.live-coupon-card summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  padding: 16px;
}
.live-coupon-card summary span {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.live-coupon-card summary strong {
  color: #f8fafc;
}
.live-coupon-card summary em {
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
}
.live-coupon-card summary > b {
  color: #5eead4;
  font-size: 20px;
}
.live-coupon-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px 14px;
}
.live-column-board {
  display: grid;
  gap: 6px;
  max-height: 560px;
  overflow: auto;
  padding: 0 16px 16px;
  -webkit-overflow-scrolling: touch;
}
.live-column-row {
  display: grid;
  grid-template-columns: 48px repeat(15, minmax(28px, 1fr)) minmax(104px, 1.25fr);
  gap: 4px;
  min-width: 820px;
  align-items: center;
}
.live-column-row span,
.live-column-row b,
.live-column-row strong {
  display: grid;
  place-items: center;
  min-height: 30px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 950;
}
.live-column-row span,
.live-column-row.header b,
.live-column-row.header strong {
  color: #94a3b8;
  background: rgba(15, 23, 42, .86);
}
.live-column-row b {
  color: #042f2e;
  background: #5eead4;
}
.live-column-row b.ok,
.live-column-row strong.ok {
  color: #052e16;
  background: #22c55e;
}
.live-column-row b.bad,
.live-column-row strong.bad {
  color: #fecaca;
  background: rgba(127, 29, 29, .76);
}
.live-column-row b.pending,
.live-column-row strong.pending {
  color: #042f2e;
  background: #5eead4;
}
.live-column-row strong.is-live {
  grid-auto-flow: column;
  gap: 4px;
  white-space: nowrap;
}
.live-table-note {
  margin: -6px 16px 16px;
  color: #94a3b8;
}
.dealer-start { margin-top: 18px; }
.dealer-verify-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
.dealer-verify-form label {
  display: grid;
  gap: 6px;
  text-align: left;
}
.dealer-verify-form label span {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 900;
}
.dealer-verify-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(148, 163, 184, .26);
  border-radius: 8px;
  background: #0f172a;
  color: #f8fafc;
  padding: 0 12px;
  font: inherit;
}
.dealer-password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.dealer-password-field button {
  min-height: 44px;
  border: 1px solid rgba(94, 234, 212, .3);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(13, 148, 136, .16);
  color: #d1fae5;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.dealer-start.priority-verify .dealer-password-field button {
    border-color: rgba(15, 23, 42, .22);
    background: #0f172a;
    color: #fff;
}
.dealer-verify-form .site-button {
  grid-column: 1 / -1;
  width: 100%;
}
.studio-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}
.studio-head h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.05;
}
.studio-head p:not(.eyebrow) {
  max-width: 860px;
  margin: 12px 0 0;
  color: #cbd5e1;
  line-height: 1.55;
}
.program-pill {
  display: grid;
  gap: 5px;
  min-width: 230px;
  padding: 13px 15px;
  border: 1px solid rgba(94, 234, 212, .35);
  border-radius: 8px;
  background: #0f172a;
}
.program-pill span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.program-pill strong { color: #5eead4; }
.studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}
.match-board, .coupon-summary {
  border: 1px solid rgba(94, 234, 212, .24);
  border-radius: 8px;
  background: #0b1324;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}
.match-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, .18);
}
.match-toolbar button {
  min-height: 38px;
  border: 1px solid rgba(94, 234, 212, .28);
  border-radius: 7px;
  background: rgba(13, 148, 136, .18);
  color: #5eead4;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.match-toolbar button:nth-child(2) {
  border-color: rgba(56, 189, 248, .35);
  background: rgba(14, 116, 144, .18);
  color: #bae6fd;
}
.match-toolbar button:nth-child(3) {
  border-color: rgba(248, 113, 113, .35);
  background: rgba(127, 29, 29, .2);
  color: #fecaca;
}
.board-header, .coupon-match {
  display: grid;
  grid-template-columns: 38px 132px minmax(220px, 1fr) 68px 68px 68px;
  gap: 8px;
  align-items: center;
}
.board-header {
  min-height: 36px;
  padding: 0 12px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.board-header span:nth-child(n+4) { text-align: center; }
.coupon-match {
  min-height: 54px;
  padding: 7px 12px;
  border-top: 1px solid rgba(148, 163, 184, .13);
}
.coupon-match:nth-child(even) { background: rgba(15, 23, 42, .45); }
.match-no {
  color: #64748b;
  font-weight: 900;
}
.match-date {
  color: #9ca3af;
  font-size: 12px;
}
.coupon-match strong {
  overflow: hidden;
  color: #f8fafc;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pick-button {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 7px;
  background: #111827;
  color: #cbd5e1;
  cursor: pointer;
}
.pick-button b {
  font-size: 16px;
  line-height: 1;
}
.pick-button small {
  margin-top: 3px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
}
.pick-button.selected {
  border-color: #5eead4;
  background: linear-gradient(180deg, #5eead4, #14b8a6);
  color: #042f2e;
  box-shadow: 0 7px 18px rgba(45, 212, 191, .18);
}
.pick-button.selected small { color: #064e3b; }
.coupon-summary {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 12px;
  padding: 14px;
}
.summary-card, .summary-money, .summary-stats div, .formula-choice {
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 8px;
  background: #0f172a;
}
.summary-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 15px;
}
.summary-card span, .summary-money span, .summary-stats span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.summary-card strong {
  color: #5eead4;
  font-size: 24px;
}
.summary-card em { font-style: normal; }
.summary-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.summary-stats div {
  display: grid;
  gap: 6px;
  padding: 12px;
}
.summary-stats strong { color: #f8fafc; font-size: 20px; }
.summary-money {
  display: grid;
  gap: 12px;
  padding: 14px;
}
.summary-money div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.summary-money strong { color: #fecaca; }
.formula-stack {
  display: grid;
  gap: 8px;
}
.formula-choice {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  min-height: 58px;
  padding: 12px;
  color: #94a3b8;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.formula-choice span {
  color: #cbd5e1;
  font-weight: 900;
}
.formula-choice strong {
  justify-self: end;
  color: #64748b;
  font-size: 13px;
}
.formula-choice.available {
  border-color: rgba(45, 212, 191, .58);
  background: rgba(13, 148, 136, .2);
}
.formula-choice.available strong { color: #5eead4; }
.summary-actions {
  display: grid;
  gap: 10px;
}
.summary-actions .site-button, .summary-actions .ghost-button { width: 100%; }
.assistant-primary-link {
  background: #14b8a6;
  color: #03231f !important;
  border: 1px solid rgba(45, 212, 191, .72);
  box-shadow: 0 12px 26px rgba(20, 184, 166, .18);
}
.assistant-primary-link:hover {
  background: #5eead4;
  color: #042f2e !important;
}
.summary-note {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.45;
}
.authorized-play-card {
  display: grid;
  gap: 18px;
  border-color: rgba(45, 212, 191, .58);
  background: linear-gradient(145deg, rgba(15, 23, 42, .96), rgba(5, 46, 37, .72));
}
.authorized-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}
.authorized-head h2 {
  margin: 0;
  color: #f8fafc;
}
.authorized-head strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(45, 212, 191, .48);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(20, 184, 166, .16);
  color: #5eead4;
  white-space: nowrap;
}
.authorized-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.authorized-form label {
  display: grid;
  gap: 7px;
}
.authorized-form label span {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 900;
}
.authorized-form input,
.authorized-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(148, 163, 184, .3);
  border-radius: 7px;
  padding: 0 12px;
  background: #0f172a;
  color: #f8fafc;
  font: inherit;
}
.authorized-form .consent-check {
  grid-column: 1 / -1;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  border: 1px solid rgba(251, 191, 36, .38);
  border-radius: 8px;
  padding: 12px;
  background: rgba(120, 53, 15, .18);
}
.authorized-form .consent-check input {
  min-height: 18px;
  margin-top: 2px;
}
.authorized-form .consent-check span {
  display: block;
  min-width: 0;
  color: #fef3c7;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.authorized-form .consent-check span strong {
  display: block;
  margin-bottom: 6px;
  color: #fde68a;
  font-size: 13px;
  line-height: 1.25;
}
.authorized-form .site-button {
  grid-column: 1 / -1;
  width: 100%;
}
.authorized-progress {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(45, 212, 191, .34);
  border-radius: 8px;
  padding: 16px;
  background: rgba(2, 6, 23, .38);
}
.authorized-progress.hidden { display: none; }
.authorized-progress.running {
  border-color: rgba(94, 234, 212, .72);
  box-shadow: 0 18px 42px rgba(20, 184, 166, .16);
}
.authorized-wait-counter {
  display: grid;
  min-height: 72px;
  place-items: center;
  border: 1px solid rgba(94, 234, 212, .35);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 45%, rgba(94, 234, 212, .18), transparent 58%),
    rgba(15, 23, 42, .78);
  color: #5eead4;
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 0 22px rgba(94, 234, 212, .45);
}
.progress-line {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, .2);
}
.progress-line span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5eead4, #22c55e, #facc15, #5eead4);
  background-size: 220% 100%;
  animation: progressShine 1.7s linear infinite;
  transition: width .25s ease;
}
@keyframes progressShine {
  from { background-position: 0 0; }
  to { background-position: 220% 0; }
}
.authorized-good-luck {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.authorized-good-luck span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(94, 234, 212, .22);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(15, 23, 42, .56);
  color: #d1fae5;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}
.authorized-progress strong {
  color: #5eead4;
}
.authorized-progress p {
  margin: 0;
  color: #cbd5e1;
}
.authorized-finish {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  padding: clamp(18px, 4vw, 34px);
}
.authorized-finish strong {
  color: #22c55e;
  font-size: clamp(28px, 6vw, 56px);
  font-weight: 950;
  line-height: 1.05;
  text-shadow: 0 0 28px rgba(34, 197, 94, .26);
}
.authorized-finish div {
  display: grid;
  gap: 5px;
  width: min(100%, 520px);
  border: 1px solid rgba(94, 234, 212, .24);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(15, 23, 42, .64);
}
.authorized-finish span {
  color: #d1fae5;
  font-size: 14px;
  font-weight: 900;
}
.authorized-finish .site-button {
  width: min(100%, 260px);
}
.authorized-log {
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
}
.authorized-log-item {
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 7px;
  padding: 9px 10px;
  background: rgba(15, 23, 42, .66);
  color: #cbd5e1;
  font-size: 13px;
}
.authorized-log-item.ok {
  border-color: rgba(34, 197, 94, .42);
  color: #bbf7d0;
}
.authorized-log-item.info {
  border-color: rgba(56, 189, 248, .42);
  color: #bae6fd;
}
.authorized-log-item.error {
  border-color: rgba(248, 113, 113, .5);
  color: #fecaca;
}
.inline-admin-form select {
  min-height: 34px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 7px;
  background: #0f172a;
  color: #e5e7eb;
  font: inherit;
}
.inline-admin-form button {
  min-height: 34px;
  border: 1px solid rgba(248, 113, 113, .28);
  border-radius: 7px;
  background: rgba(127, 29, 29, .22);
  color: #fecaca;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.verify-started {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(94, 234, 212, .32);
  border-radius: 8px;
  background: rgba(13, 148, 136, .16);
  padding: 12px;
}
.verify-started.hidden {
  display: none;
}
.verify-started strong {
  color: #5eead4;
}
.verify-started span {
  color: #cbd5e1;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; }
  .site-nav { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .nav-coupon-link { min-width: 78px; }
  .hero-surface, .access-section { grid-template-columns: 1fr; }
  .coupon-preview { max-width: 620px; }
  .bulletin-preview-card .preview-grid { max-height: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prize-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coupon-titlebar, .workbench-grid { grid-template-columns: 1fr; }
  .account-hero, .account-grid, .play-hero, .play-grid, .membership-types, .dealer-steps, .active-coupon-status { grid-template-columns: 1fr; }
  .formula-panel, .live-summary { position: static; }
  .selection-panel { order: 1; }
  .formula-panel { order: 2; }
  .live-summary { order: 3; }
  .formula-panel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .panel-title, .formula-info {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, .18);
  }
  .studio-head, .studio-layout { grid-template-columns: 1fr; }
  .coupon-summary { position: static; }
  .board-header, .coupon-match {
    grid-template-columns: 34px minmax(0, 1fr) repeat(3, 58px);
  }
  .board-header span:nth-child(2), .match-date { display: none; }
  .selection-header, .selection-row {
    grid-template-columns: 32px minmax(0, 1fr) repeat(3, 58px);
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
  }
  .site-nav {
    justify-content: flex-start;
  }
  .desktop-membership-link,
  .site-actions .nav-primary-action {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding-inline: 12px;
  }
  .site-brand { font-size: 17px; }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .site-nav {
    justify-content: flex-start;
    order: 3;
    grid-column: 1 / -1;
    overflow-x: auto;
    padding-bottom: 2px;
    width: 100%;
    gap: 6px;
  }
  .site-nav a[href="/sonuclar"],
  .desktop-membership-link {
    display: none;
  }
  .site-actions .site-button,
  .site-actions .ghost-button,
  .site-actions .ghost-link,
  .site-actions .nav-primary-action {
    width: auto;
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }
  .site-actions {
    justify-content: flex-end;
    gap: 7px;
    max-width: 48vw;
    overflow: hidden;
  }
  .user-pill { max-width: 118px; padding-inline: 8px; }
  .ghost-submit { min-height: 34px; padding-inline: 9px; }
  .site-button, .ghost-button { width: 100%; }
  .nav-coupon-link {
    display: inline-grid;
  }
  .site-nav .nav-create-link {
    min-height: 36px;
    padding: 0 12px;
    background: #22c55e;
    color: #052e16;
    box-shadow: 0 10px 22px rgba(34, 197, 94, .22);
  }
  .membership-hero,
  .dealer-steps,
  .active-coupon-status {
    padding: 16px;
  }
  .membership-types article {
    padding: 16px;
  }
  .active-coupon-status article strong {
    font-size: 22px;
  }
  .active-site-grid {
    grid-template-columns: 1fr;
  }
  .best-coupon-strip {
    display: grid;
  }
  .best-coupon-head {
    display: grid;
  }
  .best-coupon-list {
    grid-template-columns: 1fr;
  }
  .coupon-status-line,
  .saved-coupon-meta {
    grid-template-columns: 1fr;
  }
  .coupon-share-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .coupon-share-panel .ghost-button {
    width: 100%;
  }
  .saved-columns {
    overflow-x: auto;
  }
  .saved-columns div {
    min-width: 660px;
  }
  .desktop-iddaa-link { display: none; }
  .play-shell {
    gap: 12px;
    padding-top: 18px;
  }
  .play-grid {
    gap: 10px;
  }
  .play-summary-card .play-mobile-hidden,
  .play-formula-card {
    display: none;
  }
  .play-access-card p {
    display: none;
  }
  .play-access-card {
    gap: 6px;
    padding: 14px;
  }
  .play-access-card h2 {
    font-size: 15px;
  }
  .play-access-state {
    font-size: 22px;
  }
  .authorized-head { grid-template-columns: 1fr; }
  .authorized-form { grid-template-columns: 1fr; }
  .authorized-good-luck { grid-template-columns: 1fr; }
  .hero-surface { min-height: auto; }
  .hero-partner {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
    text-align: left;
  }
  .hero-partner-logo {
    width: min(138px, 38vw);
    flex: 0 0 auto;
  }
  .hero-partner-copy strong {
    font-size: 22px;
  }
  .hero-partner-copy span {
    font-size: 11px;
  }
  .week-countdown {
    width: 100%;
  }
  .hero-actions { align-items: stretch; }
  .trust-row div { flex: 1 1 100%; }
  .site-footer {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    display: grid;
  }
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .preview-row,
  .bulletin-preview-card .preview-row {
    grid-template-columns: 22px minmax(0, 1fr) 70px;
  }
  .bulletin-preview-card .preview-row .result-pill {
    grid-column: 2 / -1;
    justify-self: start;
  }
  .bulletin-preview-action {
    grid-template-columns: 1fr;
  }
  .pick-set { grid-column: 2; }
  .formula-cards, .feature-grid, .access-cards, .method-grid, .pricing-grid { grid-template-columns: 1fr; }
  .results-list, .prize-grid { grid-template-columns: 1fr; }
  .path-grid, .mode-grid, .bulletin-wait { grid-template-columns: 1fr; }
  .results-user-summary {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .results-user-summary.guest {
    grid-template-columns: 1fr;
  }
  .results-level-summary {
    display: grid;
  }
  .closed-week-panel,
  .shared-coupon-hero,
  .shared-coupon-meta,
  .shared-preferences {
    grid-template-columns: 1fr;
  }
  .closed-week-panel > div,
  .shared-coupon-actions {
    justify-content: stretch;
  }
  .shared-coupon-actions .site-button,
  .shared-coupon-actions .ghost-button,
  .shared-coupon-actions form,
  .closed-week-panel .site-button,
  .closed-week-panel .ghost-button {
    width: 100%;
  }
  .auth-panel { grid-template-columns: 1fr; }
  .start-option { grid-template-columns: 1fr; }
  .start-option b { width: 100%; }
  .coupon-workbench { padding: 12px 8px; }
  .coupon-titlebar {
    gap: 10px;
    padding: 14px;
  }
  .coupon-titlebar h1 {
    font-size: 26px;
    line-height: 1.08;
  }
  .coupon-titlebar p {
    font-size: 13px;
  }
  .coupon-status { min-width: 0; }
  .coupon-tabs {
    gap: 6px;
    padding: 0 2px 6px;
  }
  .coupon-tabs button {
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }
  .formula-panel {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
  }
  .panel-title, .formula-info { grid-column: 1 / -1; }
  .formula-tile { min-height: 78px; padding: 11px; }
  .formula-tile strong { font-size: 15px; }
  .selection-toolbar { grid-template-columns: 1fr; }
  .selection-panel {
    overflow: visible;
    border-radius: 8px;
  }
  .selection-header, .selection-row {
    grid-template-columns: 28px minmax(0, 1fr) repeat(3, 44px);
    gap: 6px;
  }
  .selection-header span:nth-child(2), .row-date { display: none; }
  .selection-row {
    min-height: 0;
    margin: 0 8px 10px;
    padding: 10px;
  }
  .selection-header {
    display: none;
  }
  .selection-row {
    grid-template-columns: 26px repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
  }
  .row-no {
    align-self: start;
    padding-top: 2px;
  }
  .team-cell {
    grid-column: 2 / -1;
    gap: 7px;
  }
  .team-trigger {
    font-size: 13px;
    white-space: normal;
  }
  .odds-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    width: 100%;
  }
  .iddaa-badge {
    grid-column: 1 / -1;
    justify-self: start;
    min-width: 38px;
  }
  .odds-strip em {
    min-width: 0;
    width: 100%;
    padding: 4px 5px;
    font-size: 10px;
  }
  .odds-strip small {
    grid-column: 1 / -1;
    flex-basis: 100%;
    font-size: 10px;
  }
  .choice-btn {
    grid-row: 2;
    min-width: 0;
  }
  .choice-btn[data-pick="1"],
  .percent-choice[data-percent-cell="1"] {
    grid-column: 2;
  }
  .choice-btn[data-pick="X"],
  .percent-choice[data-percent-cell="X"] {
    grid-column: 3;
  }
  .choice-btn[data-pick="2"],
  .percent-choice[data-percent-cell="2"] {
    grid-column: 4;
  }
  .coupon-workbench[data-mode="percentage"] .selection-header,
  .coupon-workbench[data-mode="percentage"] .selection-row {
    grid-template-columns: 26px repeat(3, minmax(0, 1fr));
  }
  .coupon-workbench[data-mode="percentage"] .team-cell {
    grid-column: 2 / -1;
    grid-row: 1;
  }
  .coupon-workbench[data-mode="percentage"] .percent-choice {
    grid-row: 2;
    min-height: 64px;
    gap: 5px;
    padding: 7px;
    grid-template-columns: minmax(0, 1fr) 42px;
  }
  .coupon-workbench[data-mode="percentage"] .percent-choice span {
    font-size: 10px;
  }
  .coupon-workbench[data-mode="percentage"] .percent-choice input[type="number"] {
    min-height: 26px;
    font-size: 12px;
  }
  .coupon-workbench[data-mode="percentage"] .percent-choice input[type="range"] {
    grid-column: 1 / -1;
    height: 18px;
  }
  .coupon-workbench[data-mode="percentage"] .percent-choice small {
    display: none;
  }
  .coupon-workbench[data-mode="percentage"] .percent-row-total {
    grid-column: 2 / -1;
    grid-row: 3;
    min-height: 34px;
  }
  .choice-btn {
    min-height: 48px;
    font-size: 15px;
  }
  .percent-choice { min-width: 0; }
  .analysis-grid {
    grid-template-columns: 1fr;
  }
  .analysis-splits, .standing-lines {
    grid-template-columns: 1fr;
  }
  .analysis-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .analysis-versus {
    grid-column: 1 / -1;
    order: -1;
  }
  .analysis-dialog {
    max-height: calc(100vh - 28px);
    overflow: auto;
    padding: 14px;
    gap: 12px;
  }
  .analysis-close {
    min-height: 38px;
    padding: 0 12px;
  }
  .analysis-team {
    padding: 10px 8px;
  }
  .analysis-team img {
    width: 46px;
    height: 46px;
  }
  .analysis-team strong {
    font-size: 13px;
    white-space: normal;
    text-align: center;
  }
  .season-code {
    width: 100%;
    min-width: 0;
    padding: 8px 10px;
  }
  .analysis-dialog h2 {
    font-size: 22px;
    line-height: 1.15;
  }
  .analysis-splits li {
    grid-template-columns: 24px 38px minmax(0, 1fr) 38px;
    gap: 6px;
    font-size: 11px;
  }
  .standing-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .standing-row em {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .saved-coupon summary {
    grid-template-columns: 1fr;
  }
  .saved-coupon-meta {
    grid-template-columns: 1fr;
  }
  .saved-columns {
    overflow-x: auto;
  }
  .saved-columns div {
    width: max-content;
    min-width: 720px;
    grid-template-columns: 40px repeat(15, 38px);
  }
  .saved-columns .coupon-preference-matrix {
    width: max-content;
    min-width: 780px;
    grid-template-columns: 42px repeat(15, 38px) minmax(68px, 86px);
  }
  .quick-count { grid-template-columns: repeat(2, 1fr); }
  .bulletin-table div {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 6px 10px;
  }
  .bulletin-table time {
    grid-column: 2;
    grid-row: 2;
  }
  .bulletin-table strong {
    grid-column: 2;
    white-space: normal;
  }
  .bulletin-table em {
    grid-column: 2;
    white-space: normal;
  }
  .bulletin-table .result-pill {
    grid-column: 2;
    justify-self: start;
  }
  .match-toolbar { grid-template-columns: 1fr; }
  .board-header, .coupon-match {
    grid-template-columns: 28px minmax(0, 1fr);
  }
  .board-header span:nth-child(n+4) { display: none; }
  .coupon-match strong { white-space: normal; }
  .pick-button {
    grid-row: 2;
    min-height: 46px;
  }
  .coupon-match .pick-button:nth-of-type(1) { grid-column: 2; }
  .coupon-match .pick-button:nth-of-type(2) { grid-column: 2; margin-left: calc(33.33% + 4px); width: calc(33.33% - 5px); }
  .coupon-match .pick-button:nth-of-type(3) { grid-column: 2; margin-left: calc(66.66% + 8px); width: calc(33.33% - 6px); }
  .coupon-match .pick-button:nth-of-type(1) { width: calc(33.33% - 5px); }
  .summary-stats { grid-template-columns: 1fr 1fr 1fr; }
  .dealer-verify-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pro-columns > div:not(.coupon-preference-matrix) {
    width: max-content;
    min-width: 780px;
    grid-template-columns: 42px repeat(15, 38px) minmax(68px, 86px);
  }

  .play-preview-columns div {
    width: max-content;
    min-width: 650px;
    grid-template-columns: 42px repeat(15, 38px);
  }
}

@media (max-width: 380px) {
  .site-actions {
    max-width: 54vw;
  }
}
.site-flash {
    max-width: 1180px;
    margin: 18px auto 0;
    padding: 14px 18px;
    border: 1px solid rgba(20, 184, 166, .28);
    background: rgba(240, 253, 250, .95);
    color: #134e4a;
    display: grid;
    gap: 4px;
}

.site-flash.ok {
    border-color: rgba(34, 197, 94, .35);
    background: rgba(240, 253, 244, .96);
    color: #14532d;
}

.site-flash strong {
    font-size: 15px;
}

.site-flash span {
    font-size: 14px;
}

.premium-offer-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(15, 23, 42, .62);
}

.premium-offer-dialog {
    width: min(560px, 100%);
    position: relative;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .12);
    box-shadow: 0 24px 80px rgba(15, 23, 42, .24);
    display: grid;
    gap: 16px;
}

.premium-offer-dialog h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.08;
    color: #0f172a;
}

.premium-offer-dialog p {
    margin: 0;
    color: #1f2937;
    line-height: 1.55;
}

.premium-offer-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    font-weight: 700;
}

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

.premium-offer-grid span {
    padding: 11px 12px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, .08);
    color: #0f172a;
    font-weight: 700;
    font-size: 14px;
}

.premium-offer-dialog .eyebrow {
    color: #78350f;
    font-weight: 900;
}

.premium-offer-dialog .ghost-button {
    color: #0f172a;
    border-color: rgba(15, 23, 42, .28);
    background: #fff;
    font-weight: 900;
}

.membership-types .premium-gold-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(202, 138, 4, .52) !important;
    background:
        linear-gradient(135deg, rgba(255, 251, 235, .98), rgba(254, 243, 199, .94) 42%, rgba(255, 255, 255, .96)),
        #fff7ed !important;
    box-shadow: 0 22px 70px rgba(146, 64, 14, .18);
}

.membership-types .premium-gold-card::before {
    content: "FULL ERİŞİM";
    position: absolute;
    top: 18px;
    right: -44px;
    width: 190px;
    transform: rotate(32deg);
    text-align: center;
    padding: 7px 0;
    background: linear-gradient(90deg, #92400e, #f59e0b, #facc15);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    box-shadow: 0 10px 24px rgba(146, 64, 14, .22);
}

.membership-types .premium-gold-card > span {
    background: #92400e;
    color: #fff7ed;
}

.membership-types .premium-gold-card h2 {
    color: #78350f;
}

.membership-types .premium-gold-card p,
.membership-types .premium-gold-card li {
    color: #451a03;
}

.membership-types .premium-gold-card li {
    font-weight: 800;
}

.dealer-start.priority-verify {
    margin: 0 0 18px;
    border-color: rgba(37, 99, 235, .28);
    background: linear-gradient(180deg, #eff6ff, #fff);
    color: #0f172a;
}

.dealer-start.priority-verify strong,
.dealer-start.priority-verify > span,
.dealer-start.priority-verify label span {
    color: #0f172a;
}

.dealer-start.priority-verify > span {
    font-weight: 700;
}

.verify-flow {
    color: #0f172a;
}

.verify-flow span {
    color: #334155;
}

@media (max-width: 640px) {
    .site-flash {
        margin: 12px;
    }

    .premium-offer-dialog {
        padding: 24px 18px;
    }

    .premium-offer-grid {
        grid-template-columns: 1fr;
    }

    .premium-offer-dialog h2 {
        font-size: 23px;
    }

    .membership-types .premium-gold-card::before {
        right: -54px;
        top: 14px;
        font-size: 11px;
    }
}

.analysis-audio-card,
.writer-comments-card {
    margin-top: 16px;
    border: 1px solid rgba(15, 23, 42, .1);
    background: #fff;
    border-radius: 8px;
    padding: 16px;
}

.analysis-audio-card {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(260px, 1.4fr);
    gap: 14px;
    align-items: center;
}

.analysis-audio-card span,
.writer-comments-title span {
    display: block;
    font-size: 12px;
    font-weight: 900;
    color: #b45309;
    text-transform: uppercase;
}

.analysis-audio-card strong,
.writer-comments-title strong {
    display: block;
    color: #0f172a;
    font-size: 17px;
    margin-top: 3px;
}

.analysis-audio-card audio {
    width: 100%;
}

.writer-comments-title {
    margin-bottom: 14px;
}

#analysisWriterList {
    display: grid;
    gap: 12px;
}

.writer-comment {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #f8fafc;
}

.writer-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #0f766e);
    color: #f8fafc;
    display: grid;
    place-items: center;
    font-weight: 900;
    border: 2px solid #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
}

.writer-avatar span {
    font-size: 13px;
    letter-spacing: 0;
}

.writer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.writer-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.writer-meta strong {
    color: #0f172a;
    font-size: 15px;
}

.writer-meta em {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
}

.writer-meta em img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.writer-comment p {
    margin: 0;
    color: #1f2937;
    line-height: 1.55;
}

@media (max-width: 720px) {
    .analysis-audio-card {
        grid-template-columns: 1fr;
    }

    .writer-comment {
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 12px;
    }

    .writer-avatar {
        width: 44px;
        height: 44px;
    }
}

/* iOS Chrome uses Safari/WebKit; these guards prevent mobile overflow drift. */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
video,
audio,
canvas,
svg,
iframe {
    max-width: 100%;
}

input,
select,
textarea,
button {
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
}

.public-body,
.site-header,
.site-main,
.site-footer,
.coupon-workbench,
.live-track-page,
.tool-shell,
.auth-page,
.membership-page,
.coupon-list-pro,
.results-page,
.app-shell,
.content,
.card,
.table,
.selection-panel,
.selection-row,
.team-cell,
.team-trigger,
.team-pair,
.analysis-dialog,
.analysis-hero,
.analysis-team,
.analysis-splits,
.analysis-grid,
.writer-comment,
.saved-coupon,
.saved-columns,
.authorized-play-shell {
    min-width: 0;
    max-width: 100%;
}

.team-side,
.team-side b,
.site-brand,
.site-actions,
.summary-line,
.saved-coupon summary,
.writer-meta,
.admin-author-cell,
.admin-platform-cell {
    min-width: 0;
}

.site-nav,
.coupon-tabs,
.saved-columns,
.table-scroll,
.columns-scroll {
    -webkit-overflow-scrolling: touch;
}

.site-nav > a,
.nav-coupon-link > a:first-child,
.site-actions a,
.site-actions button,
.coupon-tabs button,
.team-trigger,
.choice-btn,
.percent-choice,
.formula-tile,
.site-button,
.ghost-button {
    overflow-wrap: anywhere;
}

.analysis-modal {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
}

.analysis-dialog {
    width: min(960px, 100%);
    max-width: calc(100vw - 24px);
}

@supports (height: 100svh) {
    .app-shell {
        min-height: 100svh;
    }

    .hero-full,
    .auth-page,
    .classic-page,
    .coupon-workbench,
    .account-page {
        min-height: calc(100svh - 64px);
    }

    .analysis-dialog {
        max-height: calc(100svh - 28px);
    }
}

@media (max-width: 640px) {
    body {
        width: 100%;
    }

  .site-header,
  .site-main,
  .coupon-workbench,
  .live-track-page,
  .tool-shell,
    .membership-page,
    .coupon-list-pro,
    .results-page {
        width: 100%;
    }

    .site-header {
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }

    .site-brand span:last-child,
    .site-actions strong,
    .team-side b,
    .coupon-titlebar h1,
    .analysis-dialog h2 {
        overflow-wrap: anywhere;
    }

    .analysis-dialog {
        width: 100%;
        max-width: calc(100vw - 24px);
        padding: 14px;
    }

    .analysis-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .analysis-versus {
        order: -1;
    }

    .analysis-team {
        width: 100%;
    }

    .table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 640px) {
    .analysis-hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        align-items: stretch;
    }

    .analysis-versus {
        grid-column: 1 / -1;
        order: -1;
    }

    .analysis-team {
        width: 100%;
        padding: 9px 6px;
        gap: 6px;
    }

    .analysis-team img {
        width: 42px;
        height: 42px;
        padding: 3px;
    }

    .analysis-team strong {
        font-size: 12px;
        line-height: 1.2;
        white-space: normal;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .analysis-team .form-badges {
        justify-content: center;
        gap: 3px;
        min-height: 20px;
    }

    .analysis-team .form-badges b {
        width: 19px;
        height: 19px;
        border-radius: 5px;
        font-size: 10px;
    }

    .season-code {
        padding: 7px 8px;
    }

    .season-code strong {
        font-size: 12px;
        line-height: 1.2;
    }
}

.guide-hub,
.guide-article-shell {
    display: grid;
    gap: 18px;
    padding: clamp(32px, 6vw, 76px) clamp(16px, 5vw, 42px);
    color: #eefcf7;
}

.guide-hero,
.guide-seo-panel,
.guide-article-hero,
.guide-article-layout,
.guide-card-grid {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.guide-hero,
.guide-article-hero {
    display: grid;
    gap: 14px;
    border: 1px solid rgba(94, 234, 212, .24);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(20, 184, 166, .18), transparent 44%), #0f172a;
    padding: clamp(20px, 4vw, 38px);
}

.guide-hero h1,
.guide-article-hero h1 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(34px, 6vw, 68px);
    line-height: 1.03;
}

.guide-hero p,
.guide-article-hero p,
.guide-seo-panel p,
.guide-article-content p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.72;
}

.guide-card-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.guide-card {
    display: grid;
    gap: 10px;
    align-content: start;
    min-height: 260px;
    border: 1px solid rgba(94, 234, 212, .2);
    border-radius: 8px;
    background: #0b1324;
    padding: 18px;
}

.guide-card:hover {
    border-color: rgba(94, 234, 212, .46);
    background: #102033;
}

.guide-card span {
    color: #5eead4;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.guide-card h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 21px;
    line-height: 1.15;
}

.guide-card p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.55;
}

.guide-card strong {
    align-self: end;
    color: #fef3c7;
}

.guide-seo-panel {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 18px;
    border: 1px solid rgba(250, 204, 21, .24);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(120, 53, 15, .24), rgba(15, 23, 42, .82));
    padding: clamp(18px, 4vw, 30px);
}

.guide-seo-panel h2 {
    margin: 0;
    font-size: clamp(24px, 4vw, 40px);
}

.guide-back-link {
    justify-self: start;
    color: #5eead4;
    font-weight: 900;
}

.guide-article-actions,
.guide-home-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.guide-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 16px;
    align-items: start;
}

.guide-article-content {
    display: grid;
    gap: 14px;
}

.guide-article-content section,
.guide-sidebar,
.guide-home-band {
    border: 1px solid rgba(94, 234, 212, .2);
    border-radius: 8px;
    background: #0f172a;
    padding: 20px;
}

.guide-article-content h2 {
    margin: 0 0 10px;
    color: #d1fae5;
    font-size: clamp(22px, 3vw, 30px);
}

.guide-sidebar {
    position: sticky;
    top: 90px;
    display: grid;
    gap: 10px;
}

.guide-sidebar strong {
    color: #fef3c7;
}

.guide-sidebar a {
    color: #c7d2fe;
    font-weight: 850;
    line-height: 1.35;
}

.guide-sidebar a:hover {
    color: #5eead4;
}

.guide-home-band {
    display: grid;
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(20, 184, 166, .13), rgba(15, 23, 42, .86)), #0f172a;
}

.guide-home-links a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    border: 1px solid rgba(94, 234, 212, .26);
    border-radius: 8px;
    padding: 0 14px;
    color: #d1fae5;
    font-weight: 900;
    background: rgba(2, 6, 23, .28);
}

.guide-home-links a:hover {
    border-color: rgba(94, 234, 212, .54);
    color: #5eead4;
}

@media (max-width: 980px) {
    .guide-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guide-seo-panel,
    .guide-article-layout {
        grid-template-columns: 1fr;
    }

    .guide-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .site-header {
        grid-template-columns: 1fr auto;
        overflow: visible;
    }

    .site-nav {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 6px;
        max-width: 100%;
        overflow: visible;
        padding-bottom: 0;
    }

    .site-nav > a,
    .nav-coupon-link {
        flex: 0 0 auto;
    }

    .site-nav > a,
    .nav-coupon-link > a:first-child {
        min-height: 34px;
        padding: 0 10px;
        font-size: 12px;
        white-space: nowrap;
    }

    .desktop-membership-link {
        display: none;
    }

    .site-nav a[href="/sonuclar"] {
        display: inline-flex;
    }

    .site-header::after {
        content: none;
    }

    .guide-hub,
    .guide-article-shell {
        padding: 20px 12px 34px;
    }

    .guide-card-grid {
        grid-template-columns: 1fr;
    }

    .guide-hero,
    .guide-article-hero,
    .guide-seo-panel,
    .guide-article-content section,
    .guide-sidebar,
    .guide-home-band {
        padding: 16px;
    }

    .guide-card {
        min-height: 0;
    }
}

@media (max-width: 900px) {
  .live-hero,
  .live-two-column {
    grid-template-columns: 1fr;
  }

  .live-summary-grid,
  .live-guest-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-coupon-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .live-track-page {
    padding: 18px max(12px, env(safe-area-inset-right)) 28px max(12px, env(safe-area-inset-left));
  }

  .live-hero,
  .live-panel {
    padding: 14px;
  }

  .live-hero h1 {
    font-size: 36px;
  }

  .live-summary-grid,
  .live-guest-strip {
    grid-template-columns: 1fr;
  }

  .live-match-list article {
    grid-template-columns: 30px minmax(0, 1fr) 72px;
    gap: 8px;
    padding: 8px;
  }

  .live-match-list strong {
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .live-coupon-card summary {
    grid-template-columns: 1fr;
  }

  .live-coupon-card summary > b {
    justify-self: start;
  }

  .live-coupon-stats {
    grid-template-columns: 1fr;
    padding: 0 12px 12px;
  }

  .live-column-board {
    padding: 0 12px 14px;
  }
}

/* Active coupon waiting levels - final override */
.coupons-page .active-coupon-status {
  grid-template-columns: minmax(220px, .9fr) repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(94, 234, 212, .24);
  border-radius: 8px;
  background: #0f172a;
}
.coupons-page .status-title {
  align-content: center;
}
.coupons-page .status-title h2 {
  color: #f8fafc;
  font-size: 24px;
  line-height: 1.08;
}
.coupons-page .status-title span {
  color: #b6c4d8;
  font-size: 11px;
}
.coupons-page .active-coupon-status article {
  min-height: 90px;
  border-color: rgba(94, 234, 212, .25);
  background: rgba(2, 6, 23, .28);
  padding: 14px;
}
.coupons-page .active-coupon-status article span {
  color: #b6c4d8;
  font-size: 12px;
  text-transform: none;
}
.coupons-page .active-coupon-status article strong {
  color: #5eead4;
  font-size: 30px;
  line-height: 1;
}
.coupons-page .active-coupon-status article em {
  color: #b6c4d8;
  font-size: 13px;
}
.coupons-page .active-coupon-status .pending-level-15 strong,
.coupons-page .active-coupon-status .pending-level-12 strong {
  color: #22c55e;
}
.coupons-page .active-coupon-status .pending-level-13 strong {
  color: #a5b4fc;
}
.coupons-page .active-coupon-status .pending-level-14 strong {
  color: #22d3ee;
}
@media (max-width: 980px) {
  .coupons-page .active-coupon-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .coupons-page .status-title {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}
@media (max-width: 560px) {
  .coupons-page .active-coupon-status {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px;
  }
  .coupons-page .status-title {
    grid-template-columns: 1fr;
  }
  .coupons-page .status-title h2 {
    font-size: 22px;
  }
  .coupons-page .active-coupon-status article {
    min-height: 86px;
    padding: 12px;
  }
  .coupons-page .active-coupon-status article strong {
    font-size: 28px;
  }
}
