﻿:root {
  --page-bg: #edf2f8;
  --header: #103861;
  --header-2: #0f3256;
  --card: #ffffff;
  --line: #d5deea;
  --ink: #1d3552;
  --muted: #5d7087;
  --blue-btn: #1d5a94;
  --green-btn: #2e9b53;
  --green-btn-2: #218143;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(16, 43, 73, 0.08);
  --accent-color: #5b7cff;
  --accent-color-strong: #4a63e0;
}

* { box-sizing: border-box; }
html,
body {
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page-bg);
}
body.has-site-bg {
  background:
    linear-gradient(180deg, rgba(6, 14, 26, 0.78), rgba(6, 14, 26, 0.78)),
    var(--site-bg-image) center / cover fixed no-repeat;
  background-color: #07111d;
}

a { color: inherit; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Public site */
.public-shell {
  max-width: 1320px;
  margin: 0 auto 18px;
  padding: 0 14px 16px;
  display: grid;
  gap: 12px;
}
.public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(7, 28, 50, 0.94), rgba(9, 34, 60, 0.9));
  border-color: rgba(109, 155, 201, 0.45);
  box-shadow: 0 6px 18px rgba(2, 10, 20, 0.45);
  margin-bottom:10px;
}
.brand-line {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.brand-mark {
  width: auto;
  height: 52px;
  max-width: 360px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 10px rgba(40, 180, 255, 0.45));
}
.brand-name {
  font-family: "Space Grotesk", sans-serif;
  color: #f2f7ff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  display: none;
}
.public-nav { display: flex; gap: 6px; }
.public-nav a {
  text-decoration: none;
  color: #c9d7ea;
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 5px;
  font-weight: 700;
}
.public-nav a.active,
.public-nav a:hover { background: #194a7c; color: #fff; }

.btn-ghost,
.signin,
.saved-item a,
.library-toggle,
.wishlist-toggle,
.feature-actions a,
.feature-actions button,
.deal-actions a {
  text-decoration: none;
  border: 1px solid #2a6ea9;
  background: linear-gradient(180deg, #2d77b4, #236498);
  color: #fff;
  border-radius: 6px;
  min-height: 32px;
  padding: 6px 11px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.public-hero {
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(16, 56, 97, 0.72), rgba(16, 56, 97, 0.72)),
    linear-gradient(140deg, #2f5274, #1d3652);
  color: #f5f9ff;
}
.public-hero h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(26px, 3.4vw, 40px);
}
.public-hero p { margin: 6px 0 0; color: #d6e3f2; }
.hero-updated {
  display: block;
  margin-top: 8px;
  color: #bcd2ea;
  font-size: 12px;
}

.quick-filter {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 8px;
}
.quick-filter.quick-filter-compact {
  grid-template-columns: minmax(220px, 1fr) minmax(200px, 1fr) auto;
}
.quick-filter input,
.quick-filter select,
.quick-filter button,
.settings-form input,
.settings-form select,
.settings-form button,
.auth-form input,
.auth-form button,
.auth-inline-form input,
.auth-inline-form button,
.note-input {
  min-height: 36px;
  border-radius: 6px;
  border: 1px solid #c7d5e6;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0 10px;
}
.quick-filter button,
.settings-form button,
.auth-form button,
.auth-inline-form button {
  background: linear-gradient(180deg, #319d54, #238846);
  border-color: #1f7a3d;
  color: #fff;
  font-weight: 800;
}

.kpi-row,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.kpi-row .card,
.stats-grid .card { padding: 12px; }
.metric {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
}

.kpi-row-inline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 2px;
}

.kpi-row-inline .card {
  min-height: 66px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(104, 156, 232, 0.48);
  background: rgba(7, 24, 49, 0.9) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.kpi-row-inline .metric {
  font-size: 18px;
  line-height: 1;
  margin-bottom: 4px;
  color: #f3f8ff !important;
}

.kpi-row-inline .card p:not(.metric) {
  font-size: 11px;
  color: #b9d2f3 !important;
  margin: 0;
}

.home-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 10px; }
.section-block { padding: 12px; }
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.section-title h2 { margin: 0; font-size: 25px; font-family: "Space Grotesk", sans-serif; }
.section-title a { color: #1b5f98; text-decoration: none; font-weight: 700; }
.section-title small { color: var(--muted); font-size: 12px; font-weight: 700; }

.ad-slot-row {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 248, 255, 0.9));
  border: 1px solid rgba(89, 132, 233, 0.32);
}

.ad-slot {
  border: 1px dashed rgba(84, 125, 218, 0.44);
  border-radius: 10px;
  padding: 10px 12px;
  color: #476197;
  background: rgba(235, 245, 255, 0.8);
  font-size: 13px;
}
.sponsor-slot-list {
  scroll-margin-top: 104px;
  border: 1px solid rgba(93, 132, 221, 0.28);
  background: linear-gradient(180deg, rgba(252, 254, 255, 0.97), rgba(238, 246, 255, 0.9));
}
.sponsor-slot-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.sponsor-slot-item {
  --sponsor-accent: #2070f2;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 94px;
  padding: 10px;
  border: 1px solid rgba(131, 161, 229, 0.35);
  border-radius: 10px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--sponsor-accent) 10%, transparent), transparent 58%),
    rgba(245, 250, 255, 0.95);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.sponsor-slot-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--sponsor-accent);
}
.sponsor-slot-art {
  width: 112px;
  height: 72px;
  border-radius: 8px;
  border: 1px solid rgba(131, 161, 229, 0.38);
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--sponsor-accent) 38%, #0b1f38), #071323);
  background-position: center;
  background-size: cover;
  color: #ffffff;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  position: relative;
}
.sponsor-slot-art b {
  position: relative;
  z-index: 1;
}
.sponsor-slot-img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: #ffffff;
}
.sponsor-slot-img.is-snapshot {
  object-fit: cover;
}
.sponsor-slot-img.is-logo {
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: contain;
  border-radius: 5px;
}
.sponsor-slot-copy {
  min-width: 0;
}
.sponsor-slot-item strong {
  display: block;
  color: #263a66;
  font-size: 15px;
  line-height: 1.15;
}
.sponsor-slot-item small {
  display: block;
  margin-top: 2px;
  color: #60759d;
  font-size: 12px;
  line-height: 1.25;
}
.sponsor-slot-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid rgba(96, 116, 217, 0.44);
  border-radius: 999px;
  padding: 3px 9px;
  color: color-mix(in srgb, var(--sponsor-accent) 72%, #12213b);
  background: #eef7ff;
  font-size: 11px;
  font-weight: 800;
}
.sponsor-slot-cta {
  justify-self: end;
  align-self: end;
  min-width: 70px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 7px;
  color: #ffffff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--sponsor-accent) 86%, #ffffff), var(--sponsor-accent));
  font-size: 12px;
  font-weight: 900;
}
.sponsor-slot-item:hover {
  background: #eef4ff;
  border-color: color-mix(in srgb, var(--sponsor-accent) 58%, #c5d4ee);
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  .sponsor-slot-items {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .sponsor-slot-item {
    grid-template-columns: 84px minmax(0, 1fr);
  }
  .sponsor-slot-art {
    width: 84px;
    height: 62px;
  }
  .sponsor-slot-cta {
    grid-column: 2;
    justify-self: start;
  }
}

.tile-grid,
.feature-row,
.library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.game-tile,
.feature-card,
.library-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  background: #f8fbff;
}
.tile-art,
.feature-image,
.library-art,
.deal-thumb {
  background-color: #20476d;
}
.tile-art,
.feature-image,
.deal-thumb,
.platform-spotlight-image,
.platform-spotlight-thumb,
.recent-chip-art {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.tile-art { height: 92px; }
.feature-image,
.library-art { height: 126px; position: relative; }
.tile-meta,
.feature-body,
.library-body { padding: 8px; }
.tile-meta span,
.feature-body p,
.library-body p,
.saved-item small,
.muted { color: var(--muted); font-size: 13px; }
.stack-list,
.headline-list,
.saved-list,
.trend-list { display: grid; gap: 8px; }

.source-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  min-width: 18px;
  border-radius: 999px;
  padding: 2px 7px;
  border: 1px solid rgba(102, 141, 192, 0.36);
  background: rgba(233, 242, 252, 0.82);
  vertical-align: middle;
}
.source-pill img {
  height: 14px;
  width: auto;
  max-width: 84px;
  object-fit: contain;
  display: block;
}
.source-pill-text {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #2d4d74;
  white-space: nowrap;
}
.stack-item,
.headline-item,
.saved-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
  background: #f7fbff;
  text-decoration: none;
}

.deal-list { display: grid; gap: 8px; }
.deal-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
}
.deal-thumb { width: 120px; height: 66px; border-radius: 6px; }
.deal-thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1d4874, #123557);
}
.news-fallback-text {
  color: #d9e8f8;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 0 8px;
}
.deal-copy h3 { margin: 0; font-size: 20px; font-family: "Space Grotesk", sans-serif; }
.deal-copy p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.deal-actions { display: flex; align-items: center; justify-content: flex-end; }
.deal-actions a { background: linear-gradient(180deg, #32a457, #248948); border-color: #1e7740; }

.news-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.public-footer {
  padding: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  background: linear-gradient(180deg, #f4f8fd, #e8f0f9);
}
.public-footer p { margin: 0; }
.public-footer small { color: var(--muted); }
.public-footer nav { display: flex; gap: 8px; flex-wrap: wrap; }

.public-body .fullsite-header {
  border-radius: 0;
  padding: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 1px solid rgba(111, 151, 221, 0.42);
  background:
    radial-gradient(110% 170% at 0% 0%, rgba(84, 73, 224, 0.28), transparent 62%),
    linear-gradient(180deg, rgba(6, 24, 49, 0.98), rgba(7, 28, 56, 0.96));
  box-shadow: 0 10px 26px rgba(3, 11, 24, 0.44);
}
.public-body .fullsite-band-inner {
  width: min(1320px, calc(100vw - 28px));
  margin: 0 auto;
}
.public-body .fullbleed-band {
  width: calc(100% + 28px);
  margin-left: -14px;
  margin-right: -14px;
}
.public-body .fullsite-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}
.public-body .fullsite-header .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.public-body .fullsite-header .top-metric-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}
.public-body .fullsite-header .top-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(157, 201, 255, 0.42);
  background: linear-gradient(120deg, rgba(49, 78, 177, 0.6), rgba(87, 60, 164, 0.5));
  color: #e5f1ff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(240, 245, 255, 0.2);
  white-space: nowrap;
}
.public-body .fullsite-header .header-user-email {
  color: #dce8fb;
  font-weight: 700;
  white-space: nowrap;
}

.public-body .fullsite-header.is-dashboard-header .fullsite-header-inner {
  justify-content: space-between;
}

.public-body .fullsite-header.is-dashboard-header .brand-line {
  flex: 0 0 auto;
}

.public-body .fullsite-header.is-dashboard-header .header-actions {
  margin-left: auto;
}

.public-body .fullsite-header.is-dashboard-header .header-user-name {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.public-body .fullsite-header .public-nav {
  gap: 8px;
}
.public-body .fullsite-header .public-nav a {
  padding: 7px 10px;
  border-radius: 8px;
}
.public-body .fullsite-header.is-dashboard-header .public-nav {
  gap: 4px;
  opacity: 0.9;
}
.public-body .fullsite-header.is-dashboard-header .public-nav a {
  padding: 5px 8px;
  font-size: 11px;
  color: #b4c8e6;
}
.public-body .fullsite-header.is-dashboard-header .public-nav a.active,
.public-body .fullsite-header.is-dashboard-header .public-nav a:hover {
  background: rgba(72, 119, 184, 0.45);
  color: #eef5ff;
}

.public-body .fullsite-footer {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  padding: 0;
  background:
    radial-gradient(120% 170% at 0% 0%, rgba(86, 74, 226, 0.2), transparent 60%),
    linear-gradient(170deg, rgba(6, 24, 49, 0.985), rgba(7, 22, 45, 0.985));
  border-top: 1px solid rgba(105, 145, 210, 0.44);
  box-shadow: 0 -10px 28px rgba(2, 10, 22, 0.34);
}
.public-body .fullsite-footer-inner {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.2fr;
  gap: 22px;
  align-items: start;
  padding: 24px 0 20px;
}
.public-body .fullsite-footer .footer-col {
  display: grid;
  gap: 8px;
}
.public-body .fullsite-footer .footer-col h4 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  letter-spacing: .01em;
  color: #f1f6ff;
}
.public-body .fullsite-footer .footer-brand-col p {
  margin: 0;
  color: #d0dcf5;
  max-width: 320px;
}
.public-body .fullsite-footer .footer-brand-col .brand-mark {
  height: 60px;
  max-width: 380px;
}
.public-body .fullsite-footer .footer-brand-col small {
  color: #a8bee0;
}
.public-body .fullsite-footer .footer-links {
  display: grid;
  gap: 6px;
}
.public-body .fullsite-footer .footer-links a {
  display: inline-block;
  width: fit-content;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #cfe1ff;
  box-shadow: none;
  font-weight: 600;
  text-decoration: none;
}
.public-body .fullsite-footer .footer-links a,
.public-body .fullsite-footer .footer-connect-col small a {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
  padding: 0 !important;
}
.public-body .fullsite-footer .footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.public-body .fullsite-footer .footer-connect-col {
  gap: 10px;
}
.public-body .fullsite-footer .footer-socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.public-body .fullsite-footer .footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(126, 165, 233, 0.45);
  background: rgba(18, 45, 86, 0.82);
  color: #cfe1ff;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(232, 243, 255, 0.13);
  transition: transform .16s ease, border-color .16s ease, color .16s ease, background .16s ease, box-shadow .16s ease;
}
.public-body .fullsite-footer .footer-socials a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.public-body .fullsite-footer .footer-socials a:hover {
  color: #fff;
  border-color: rgba(176, 205, 255, 0.84);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(20, 66, 138, 0.33), inset 0 1px 0 rgba(232, 243, 255, 0.18);
}
.public-body .fullsite-footer .footer-socials a[aria-label="Facebook"]:hover {
  background: linear-gradient(140deg, #1877f2, #0e5fd4);
}
.public-body .fullsite-footer .footer-socials a[aria-label="X"]:hover {
  background: linear-gradient(140deg, #101317, #090b0e);
}
.public-body .fullsite-footer .footer-socials a[aria-label="YouTube"]:hover {
  background: linear-gradient(140deg, #ff3b30, #e61b11);
}
.public-body .fullsite-footer .footer-socials a[aria-label="Instagram"]:hover {
  background: linear-gradient(140deg, #f58529, #dd2a7b 48%, #8134af);
}
.public-body .fullsite-footer .footer-socials a[aria-label="Discord"]:hover {
  background: linear-gradient(140deg, #5865f2, #4752d6);
}
.public-body .fullsite-footer .footer-connect-copy {
  margin: 0;
  color: #d7e6ff;
}
.public-body .fullsite-footer .footer-newsletter-btn {
  width: fit-content;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 126, 151, 0.44);
  background: linear-gradient(135deg, #ef4b72, #ff5f54);
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(173, 50, 72, 0.36);
}
.public-body .fullsite-footer .footer-newsletter-btn:hover {
  filter: brightness(1.05);
}
.public-body .fullsite-footer .footer-newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.public-body .fullsite-footer .footer-newsletter-form input[type="email"] {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(127, 164, 231, 0.42);
  background: rgba(10, 35, 69, 0.86);
  color: #e4efff;
  padding: 9px 12px;
  font: inherit;
}
.public-body .fullsite-footer .footer-newsletter-form input[type="email"]::placeholder {
  color: #9db7df;
}
.public-body .fullsite-footer .footer-newsletter-form .footer-newsletter-btn {
  width: auto;
  min-height: 40px;
}
.public-body .fullsite-footer .footer-newsletter-status {
  min-height: 16px;
  color: #b9cff0;
}
.public-body .fullsite-footer .footer-legal-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px 12px;
  padding-top: 6px;
  border-top: 1px solid rgba(113, 154, 220, 0.22);
}
.public-body .fullsite-footer .footer-legal-row small {
  color: #9bb7dd;
}
.public-body .fullsite-footer .footer-legal-row small:last-child {
  color: rgba(155, 183, 221, 0.88);
}
.public-body .fullsite-footer .footer-legal-row a {
  color: #cfe1ff;
  text-decoration: none;
}
.public-body .fullsite-footer .footer-legal-row a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 980px) {
  .public-body .fullsite-header-inner {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .public-body .fullsite-header .public-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .public-body .fullsite-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .public-body .fullsite-header.is-dashboard-header .public-nav {
    justify-content: flex-start;
    opacity: 1;
  }
  .public-body .fullsite-header.is-dashboard-header .public-nav a {
    font-size: 12px;
  }
  .public-body .fullsite-header .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
@media (max-width: 640px) {
  .public-body .fullsite-band-inner {
    width: calc(100vw - 20px);
  }
  .public-body .fullbleed-band {
    width: calc(100% + 20px);
    margin-left: -10px;
    margin-right: -10px;
  }
  .public-body .fullsite-header-inner {
    padding: 10px 0;
  }
  .public-body .fullsite-header .brand-mark {
    height: 46px;
    max-width: 260px;
  }
  .public-body .fullsite-header .header-user-email {
    display: none;
  }
  .public-body .fullsite-footer-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 0 16px;
  }
  .public-body .fullsite-footer .footer-newsletter-form {
    grid-template-columns: 1fr;
  }
  .public-body .fullsite-footer .footer-legal-row {
    gap: 6px;
  }
}

.countdown { color: #1e7e44; font-weight: 800; }
.fav {
  position: absolute;
  right: 8px;
  top: 8px;
  border: 1px solid #2b79b7;
  border-radius: 6px;
  background: #f0f7ff;
  color: #1d5f98;
  padding: 4px 8px;
  font: inherit;
  font-weight: 700;
}
.fav.is-on { background: #e6f8eb; border-color: #2b9a53; color: #1f8045; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: #1c486f;
  color: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  opacity: 0;
  transition: opacity .15s ease;
  pointer-events: none;
  z-index: 40;
}
.toast.show { opacity: 1; }

.consent-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: min(420px, calc(100vw - 24px));
  border: 1px solid rgba(93, 136, 220, 0.5);
  border-radius: 14px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(98, 86, 233, 0.22), transparent 62%),
    linear-gradient(160deg, rgba(8, 28, 56, 0.96), rgba(8, 23, 50, 0.96));
  box-shadow: 0 18px 34px rgba(7, 17, 38, 0.42), inset 0 1px 0 rgba(173, 205, 255, 0.18);
  padding: 14px;
  z-index: 80;
}
.consent-banner p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #d8e6ff;
}
.consent-banner-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.consent-banner-actions button {
  border-radius: 10px;
  border: 1px solid rgba(137, 173, 244, 0.45);
  padding: 7px 12px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.consent-banner-actions #consentAccept {
  background: linear-gradient(135deg, #5f86ff, #6e5cf2);
  color: #f8fbff;
  box-shadow: 0 8px 20px rgba(46, 74, 170, 0.36);
}
.consent-banner-actions #consentDecline {
  background: rgba(20, 40, 83, 0.78);
  color: #d0e2ff;
}
.consent-banner-actions button:hover {
  transform: translateY(-1px);
  border-color: rgba(180, 206, 255, 0.8);
}

@media (max-width: 700px) {
  .consent-banner {
    right: 10px;
    left: 10px;
    bottom: 10px;
    width: auto;
    border-radius: 12px;
    padding: 12px;
  }
  .consent-banner-actions {
    gap: 6px;
  }
  .consent-banner-actions button {
    flex: 1;
    padding: 8px 10px;
  }
}

.game-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.game-modal[hidden] { display: none !important; }
.game-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 32, 54, 0.55);
}
.game-modal-card {
  position: relative;
  width: min(900px, 96vw);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(7, 26, 44, 0.28);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.game-modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #d4deeb;
  background: #f5f9ff;
  color: #173652;
  font-weight: 800;
}
.game-modal-media {
  min-height: 360px;
  background-size: cover;
  background-position: center;
  background-color: #1d456b;
}
.game-modal-body { padding: 26px; }
.game-modal-body h3 {
  margin: 0;
  font-size: 46px;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.05;
}
.game-modal-body p { margin: 8px 0 0; color: var(--muted); }
.game-modal-desc {
  margin-top: 12px;
  color: #254564;
  font-size: 14px;
  line-height: 1.5;
}
.game-modal-facts {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}
.game-modal-facts span {
  display: block;
  border: 1px solid #d2deec;
  border-radius: 8px;
  background: #f8fbff;
  color: #355171;
  font-size: 13px;
  padding: 7px 9px;
}
.game-modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.game-modal-primary {
  background: linear-gradient(180deg, #35ab5d, #238a47);
  border: 1px solid #1f7c40;
  color: #fff;
  border-radius: 8px;
  min-height: 42px;
  padding: 9px 16px;
  font-weight: 800;
  text-decoration: none;
}
.game-modal-secondary {
  border: 1px solid #2a6ea9;
  border-radius: 8px;
  background: linear-gradient(180deg, #2d77b4, #236498);
  color: #fff;
  min-height: 42px;
  padding: 9px 16px;
  font: inherit;
  font-weight: 800;
}

/* Auth/legal */
.site-shell.auth-shell,
.site-shell.legal-shell,
.site-shell.admin-shell { max-width: 980px; margin: 0 auto; padding: 20px; }
.public-shell.auth-shell,
.public-shell.legal-shell { max-width: 1200px; margin: 0 auto; padding: 0 14px 20px; gap: 12px; }
.auth-card,
.legal-card { max-width: 560px; margin: 36px auto; padding: 16px; }
.auth-card h1,
.legal-card h1 { margin: 0; font-family: "Space Grotesk", sans-serif; }
.public-shell.auth-shell .auth-card,
.public-shell.legal-shell .legal-card {
  max-width: 760px;
  width: 100%;
  margin: 0;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(98, 142, 211, 0.46);
  background:
    radial-gradient(140% 150% at 12% -10%, rgba(90, 78, 214, 0.22), transparent 56%),
    linear-gradient(160deg, rgba(8, 29, 56, 0.95), rgba(8, 24, 49, 0.95));
  box-shadow: 0 16px 30px rgba(3, 11, 24, 0.32);
}
.public-shell.auth-shell .auth-card h1,
.public-shell.legal-shell .legal-card h1 {
  color: #f3f7ff;
}
.public-shell.auth-shell .auth-card p,
.public-shell.legal-shell .legal-card p,
.public-shell.auth-shell .auth-card a,
.public-shell.legal-shell .legal-card a {
  color: #d2e2ff;
}
.auth-error { color: #c5384f; }
.auth-warning { color: #8d6a16; }
.auth-form,
.auth-inline-form { display: grid; gap: 9px; margin: 12px 0; }
.auth-form label,
.auth-inline-form label { display: grid; gap: 4px; }

.legal-hero h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: #f2f7ff;
}
.legal-hero .kicker {
  margin: 0 0 6px;
}
.public-shell.legal-shell .legal-hero {
  width: 100%;
  margin: 0;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(98, 142, 211, 0.46);
  background:
    radial-gradient(140% 150% at 12% -10%, rgba(90, 78, 214, 0.22), transparent 56%),
    linear-gradient(160deg, rgba(8, 29, 56, 0.95), rgba(8, 24, 49, 0.95));
  box-shadow: 0 16px 30px rgba(3, 11, 24, 0.32);
  color: #e2eeff;
}
.public-shell.legal-shell .legal-hero h1 {
  color: #f3f7ff;
}
.public-shell.legal-shell .legal-hero .kicker {
  color: #9fbdf0;
}
.public-shell.legal-shell .legal-hero .muted {
  color: #b7cdef;
}
.legal-points {
  display: grid;
  gap: 10px;
}
.legal-point-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(108, 145, 208, 0.35);
  border-radius: 10px;
  background: rgba(11, 36, 66, 0.66);
}
.legal-point-index {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, #5f84ff, #6f5ef4);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.legal-point-row p {
  margin: 0;
  color: #d5e4ff;
}

/* Legal page polish */
.public-body.legal-page {
  background:
    radial-gradient(1000px 520px at 12% 0%, rgba(31, 111, 235, 0.18), transparent 62%),
    linear-gradient(180deg, #07111f 0%, #091523 58%, #081321 100%) !important;
  color: #dce8ff;
}

.public-body.legal-page .fullsite-header {
  position: sticky;
  top: 0;
  z-index: 60;
}

.public-body.legal-page .legal-shell {
  width: min(100% - 32px, 1240px);
  max-width: 1240px;
  display: grid;
  gap: 16px;
  margin: 0 auto;
  padding: 16px 0 54px;
}

.legal-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: stretch;
  padding: 26px;
  border: 1px solid rgba(82, 144, 229, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 31, 58, 0.98), rgba(10, 22, 40, 0.94)),
    linear-gradient(90deg, rgba(31, 111, 235, 0.18), transparent);
  box-shadow: 0 22px 44px rgba(1, 8, 18, 0.34);
}

.legal-hero-panel span {
  display: inline-block;
  margin-bottom: 10px;
  color: #76c7ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-hero-panel h1 {
  margin: 0;
  color: #f6fbff;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
}

.legal-hero-panel p {
  max-width: 760px;
  margin: 14px 0 0;
  color: #b8cae8;
  font-size: 17px;
  line-height: 1.5;
}

.legal-hero-panel aside {
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(127, 176, 241, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.legal-hero-panel aside small {
  color: #88a4cc;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-hero-panel aside strong {
  color: #ffffff;
  font-size: 20px;
}

.legal-content-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.legal-side-panel,
.legal-document-panel {
  border: 1px solid rgba(82, 144, 229, 0.28);
  border-radius: 8px;
  background: rgba(8, 22, 40, 0.72);
  box-shadow: 0 16px 34px rgba(1, 8, 18, 0.22);
}

.legal-side-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.legal-side-panel strong {
  color: #ffffff;
  font-size: 14px;
}

.legal-side-panel a {
  min-height: 38px;
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 11px;
  color: #b8cae8;
  font-weight: 800;
  text-decoration: none;
}

.legal-side-panel a:hover,
.legal-side-panel a.is-active {
  border-color: rgba(82, 144, 229, 0.34);
  background: rgba(47, 117, 255, 0.16);
  color: #ffffff;
}

.legal-document-panel {
  padding: 18px;
}

.legal-document-head {
  display: flex;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
  border-bottom: 1px solid rgba(127, 176, 241, 0.22);
  padding-bottom: 14px;
}

.legal-document-head h2 {
  margin: 0;
  color: #f6fbff;
  font-size: 26px;
}

.legal-document-head p {
  max-width: 560px;
  margin: 0;
  color: #8fa8cc;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.public-body.legal-page .legal-points {
  gap: 10px;
  margin-top: 14px;
}

.public-body.legal-page .legal-point-row {
  grid-template-columns: 38px 1fr;
  align-items: center;
  border-color: rgba(127, 176, 241, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 14px;
}

.public-body.legal-page .legal-point-index {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #2f75ff, #27d0a0);
}

.public-body.legal-page .legal-point-row p {
  color: #dce8ff;
  font-size: 16px;
  line-height: 1.5;
}

.public-body.legal-page .legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

@media (max-width: 860px) {
  .legal-hero-panel,
  .legal-content-grid,
  .legal-document-head {
    grid-template-columns: 1fr;
  }

  .legal-side-panel {
    position: static;
  }

  .legal-document-head {
    display: grid;
  }

  .legal-document-head p {
    text-align: left;
  }
}

.admin-login-page .auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 20px;
}

.admin-login-page .admin-login-card {
  width: min(100%, 560px);
  margin: 0;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(106, 153, 204, 0.45);
  background:
    radial-gradient(circle at 88% 14%, rgba(90, 162, 255, 0.2), transparent 40%),
    linear-gradient(165deg, rgba(7, 28, 50, 0.96), rgba(8, 33, 58, 0.94));
  box-shadow: 0 20px 42px rgba(2, 10, 20, 0.44);
}

.admin-login-page .admin-login-head {
  margin-bottom: 8px;
}

.admin-login-page .admin-login-kicker {
  margin: 0 0 4px;
  color: #8db7e7;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.admin-login-page .admin-login-card h1 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 44px);
  line-height: 1.02;
  color: #f2f8ff;
}

.admin-login-page .admin-login-sub {
  margin: 8px 0 0;
  color: #adc9e8;
}

.admin-login-page .auth-form {
  margin: 14px 0 10px;
  gap: 10px;
}

.admin-login-page .auth-form label {
  color: #d3e6ff;
  font-weight: 700;
}

.admin-login-page .auth-form input {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(124, 169, 255, 0.5);
  background: rgba(6, 28, 50, 0.76);
  color: #e7f2ff;
  padding: 10px 12px;
}

.admin-login-page .auth-form input::placeholder {
  color: #88acd1;
}

.admin-login-page .auth-form button {
  min-height: 44px;
  border-radius: 10px;
  font-size: 21px;
  font-weight: 800;
}

.admin-login-page .auth-error {
  color: #ff8ca8;
}

.admin-login-page .auth-warning {
  color: #ffce78;
}

.admin-login-page .admin-login-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #b9d9ff;
  font-weight: 700;
  text-decoration: none;
}

.admin-login-page .admin-login-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Admin */
.admin-body { color: #deecff; }
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: linear-gradient(180deg, #081e36, #0a2747 55%, #081d35);
  color: #deebf9;
  padding: 18px 14px;
  border-right: 1px solid rgba(84, 126, 170, 0.34);
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
}
.admin-brand-wrap p {
  margin: 4px 0 14px;
  color: #9fc0e6;
  font-size: 12px;
}
.admin-brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  margin-bottom: 0;
  color: #fff;
  letter-spacing: .02em;
}
.admin-nav-group {
  margin: 10px 6px 2px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #7ea5d3;
  font-weight: 800;
}
.admin-sidebar nav { display: grid; gap: 6px; }
.admin-sidebar nav a {
  text-decoration: none;
  color: #c9d8ec;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
}
.admin-sidebar nav a:hover {
  background: rgba(37, 92, 146, 0.4);
  color: #fff;
  border-color: rgba(106, 154, 202, 0.42);
}
.admin-sidebar nav a.is-active {
  background: linear-gradient(180deg, rgba(45, 119, 180, 0.42), rgba(35, 100, 152, 0.35));
  color: #fff;
  border-color: rgba(117, 170, 222, 0.64);
}
.admin-side-foot {
  margin-top: 16px;
  font-size: 13px;
  padding-top: 10px;
  border-top: 1px solid rgba(114, 152, 195, 0.28);
}
.admin-main {
  padding: 16px;
  display: grid;
  gap: 12px;
  max-width: 1200px;
  align-content: start;
  grid-auto-rows: max-content;
}
.admin-header {
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(10, 39, 67, 0.9), rgba(8, 31, 55, 0.88));
  border-color: rgba(83, 127, 172, 0.42);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.admin-header h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: #f2f7ff;
}
.admin-header p { margin: 6px 0 0; color: #a9c7e8; }
.admin-header-link {
  text-decoration: none;
  border: 1px solid #2a6ea9;
  background: linear-gradient(180deg, #2d77b4, #236498);
  color: #fff;
  border-radius: 8px;
  min-height: 36px;
  padding: 7px 12px;
  font-weight: 700;
  white-space: nowrap;
}
.admin-main .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.admin-main .stats-grid .card {
  padding: 12px;
  background: linear-gradient(180deg, rgba(7, 29, 52, 0.88), rgba(9, 36, 62, 0.82));
  border-color: rgba(102, 143, 188, 0.44);
  height: auto;
}
.admin-main .stats-grid { align-items: start; }
.admin-main .stats-grid .metric { color: #f1f7ff; }
.admin-main .stats-grid p { color: #9ec0e4; }
.admin-overview {
  display: grid;
  gap: 12px;
}
.admin-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.admin-kpi-list {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  color: #b4cee9;
}
.admin-kpi-list p { margin: 0; }
.admin-ring {
  --pro-pct: 0;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: conic-gradient(#3ea9ff calc(var(--pro-pct) * 1%), #1f3550 0);
  display: grid;
  place-items: center;
  margin-top: 6px;
}
.admin-ring span {
  width: 100px;
  height: 100px;
  border-radius: 999px;
  background: rgba(8, 31, 55, 0.96);
  display: grid;
  place-items: center;
  text-align: center;
  color: #d9ebff;
  font-size: 12px;
  font-weight: 700;
}
.admin-bars {
  display: grid;
  gap: 8px;
}
.admin-bar-row {
  display: grid;
  gap: 4px;
}
.admin-bar-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: #bad4ee;
}
.admin-bar {
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(109, 146, 184, 0.45);
  background: rgba(11, 35, 58, 0.9);
  overflow: hidden;
}
.admin-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2f85c8, #3ba55d);
  border-radius: 999px;
}
.admin-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.admin-chip {
  border: 1px solid rgba(115, 150, 187, 0.42);
  border-radius: 8px;
  background: rgba(8, 32, 56, 0.85);
  padding: 8px;
  display: grid;
  gap: 4px;
}
.admin-chip strong { color: #f2f7ff; }
.admin-chip span { color: #9fc0e6; font-size: 13px; }
.admin-subheading {
  margin: 0 0 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #8eb4dc;
}
.panel {
  padding: 14px;
  background: linear-gradient(180deg, rgba(7, 29, 52, 0.9), rgba(10, 34, 58, 0.88));
  border-color: rgba(102, 143, 188, 0.44);
}
.admin-section[hidden] { display: none !important; }
.dashboard-shell [data-dash-section][hidden] { display: none !important; }
.panel h2 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  color: #f2f7ff;
  font-size: 30px;
}
.admin-main .auth-warning {
  color: #f8ca67;
  margin: 0 0 8px;
  font-size: 13px;
}
.admin-section-lead {
  margin: -4px 0 10px;
  color: #95badf;
  font-size: 13px;
}
.panel-list { margin: 10px 0 0; color: #a9c7e8; padding-left: 20px; }
.panel-list li { margin-bottom: 4px; }
.settings-form {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.settings-group-title {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(124, 161, 201, 0.32);
  color: #8db4dc;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.settings-form label {
  display: grid;
  gap: 5px;
  font-size: 13px;
  color: #b7d0ec;
}
.settings-form label[hidden],
.settings-form .is-hidden {
  display: none !important;
}
.settings-form button {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 38px;
  border-radius: 8px;
  padding: 8px 14px;
}
.settings-form input,
.settings-form select,
.settings-form textarea {
  border-color: rgba(121, 156, 196, 0.48);
  background: rgba(8, 32, 56, 0.9);
  color: #f1f6ff;
}
.settings-form input::placeholder { color: #8eaed1; }
.settings-form textarea {
  min-height: 110px;
  width: 100%;
  resize: vertical;
  font-family: inherit;
  border-radius: 8px;
  padding: 10px;
}
.admin-note-block {
  grid-column: 1 / -1;
  border: 1px dashed rgba(117, 151, 188, 0.52);
  border-radius: 8px;
  padding: 10px;
  background: rgba(9, 32, 56, 0.6);
  color: #b7d0ec;
  font-size: 12px;
}
.admin-note-block p {
  margin: 0 0 6px;
}
.admin-note-block code {
  font-size: 11px;
}
.admin-log-actions {
  margin-bottom: 10px;
  align-items: end;
}
.admin-log-actions label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: #b7d0ec;
}
.postback-status {
  display: inline-block;
  min-width: 78px;
  text-align: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.postback-status-accepted {
  color: #ddffef;
  background: rgba(19, 148, 93, 0.55);
  border: 1px solid rgba(31, 197, 126, 0.62);
}
.postback-status-duplicate {
  color: #ffeecf;
  background: rgba(166, 117, 15, 0.55);
  border: 1px solid rgba(237, 181, 54, 0.6);
}
.postback-status-rejected {
  color: #ffe2e2;
  background: rgba(173, 48, 48, 0.58);
  border: 1px solid rgba(230, 90, 90, 0.65);
}
.postback-status-error {
  color: #e9dfff;
  background: rgba(116, 72, 173, 0.58);
  border: 1px solid rgba(154, 105, 225, 0.64);
}
.admin-toast {
  position: fixed;
  right: 22px;
  top: 20px;
  z-index: 120;
  min-width: 220px;
  max-width: min(88vw, 460px);
  border-radius: 10px;
  border: 1px solid rgba(39, 121, 84, 0.52);
  background: linear-gradient(180deg, rgba(29, 143, 93, 0.98), rgba(22, 122, 80, 0.97));
  color: #f5fff8;
  padding: 10px 14px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(6, 31, 20, 0.3);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.admin-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.admin-toast.is-success {
  border-color: rgba(39, 121, 84, 0.52);
  background: linear-gradient(180deg, rgba(29, 143, 93, 0.98), rgba(22, 122, 80, 0.97));
  color: #f5fff8;
}
.admin-toast.is-error {
  border-color: rgba(168, 66, 66, 0.55);
  background: linear-gradient(180deg, rgba(186, 68, 88, 0.98), rgba(159, 49, 68, 0.97));
  color: #fff4f6;
}
.admin-toast.is-info {
  border-color: rgba(75, 103, 167, 0.55);
  background: linear-gradient(180deg, rgba(76, 108, 191, 0.98), rgba(62, 93, 175, 0.97));
  color: #f4f7ff;
}
.bg-option-list {
  grid-column: 1 / -1;
  border: 1px dashed rgba(117, 151, 188, 0.56);
  border-radius: 8px;
  padding: 8px;
  display: grid;
  gap: 6px;
  background: rgba(7, 28, 50, 0.68);
}
.bg-option {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(123, 158, 197, 0.42);
  border-radius: 6px;
  padding: 6px 8px;
  background: rgba(10, 36, 62, 0.76);
  color: #deebf9;
}
.bg-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
}
.bg-option-thumb {
  width: 66px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(121, 157, 197, 0.56);
}
.admin-table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(106, 143, 182, 0.42);
  border-radius: 8px;
}
.admin-table th,
.admin-table td {
  border-bottom: 1px solid rgba(85, 125, 168, 0.32);
  padding: 9px;
  font-size: 13px;
  text-align: left;
  background: rgba(8, 32, 56, 0.76);
  color: #d7e7fa;
}
.admin-table th {
  background: rgba(12, 43, 72, 0.95);
  color: #f1f7ff;
  font-weight: 700;
}
.admin-table tbody tr:hover td { background: rgba(13, 41, 69, 0.94); }
.admin-table form { margin: 0; }
.admin-table button {
  text-decoration: none;
  border: 1px solid #2a6ea9;
  background: linear-gradient(180deg, #2d77b4, #236498);
  color: #fff;
  border-radius: 7px;
  min-height: 32px;
  padding: 5px 11px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.admin-bg-upload {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: end;
  margin: 8px 0 12px;
}

.admin-bg-field {
  display: grid;
  gap: 6px;
}

.admin-bg-field input[type="text"],
.admin-bg-field input[type="file"] {
  min-height: 40px;
  border: 1px solid rgba(93, 136, 187, 0.44);
  border-radius: 8px;
  background: rgba(8, 29, 49, 0.78);
  color: #e7f3ff;
  padding: 0 10px;
  font: inherit;
}

.admin-bg-field input[type="file"] {
  padding: 6px 10px;
}

.admin-bg-upload button {
  min-height: 40px;
  text-decoration: none;
  border: 1px solid #2a6ea9;
  background: linear-gradient(180deg, #2d77b4, #236498);
  color: #fff;
  border-radius: 7px;
  padding: 0 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.admin-bg-status {
  min-height: 20px;
  margin: -4px 0 10px;
  font-size: 13px;
  color: #a8c7e8;
}

.admin-bg-status.is-success {
  color: #5de3a5;
}

.admin-bg-status.is-error {
  color: #ff9ba6;
}

/* User dashboard */
.dashboard-shell {
  max-width: 1240px;
  margin: 16px auto;
  padding: 0 10px 12px;
  display: grid;
  gap: 10px;
}
.dashboard-topbar {
  padding: 8px 12px;
  background: linear-gradient(180deg, rgba(7, 28, 50, 0.94), rgba(9, 34, 60, 0.9));
  border-color: rgba(109, 155, 201, 0.45);
  box-shadow: 0 6px 18px rgba(2, 10, 20, 0.45);
  color: #f3f8ff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dashboard-topbar .brand-name { color: #fff; }
.dashboard-user-line { display: flex; align-items: center; gap: 8px; }

.user-board {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px;
}
.user-board-side {
  padding: 12px;
  background: linear-gradient(180deg, #103b67, #0d3156);
  border-color: #0e355c;
  color: #d7e7fa;
  align-self: start;
  position: sticky;
  top: 12px;
}
.user-board-side h3 { margin: 0 0 10px; color: #fff; font-family: "Space Grotesk", sans-serif; }
.user-board-side nav { display: grid; gap: 6px; }
.user-board-side nav a {
  text-decoration: none;
  color: #c8d9ee;
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 14px;
}
.user-board-side nav a:hover { background: #1f5282; color: #fff; }
.user-board-main { display: grid; gap: 10px; }
.user-board-side nav a {
  border: 1px solid transparent;
}
.user-board-side nav a:hover {
  border-color: rgba(120, 166, 212, 0.5);
}

.dashboard-hero {
  padding: 14px;
  background: #fff;
}
.dashboard-hero-lite {
  padding: 16px;
  background: linear-gradient(180deg, rgba(10, 39, 67, 0.9), rgba(8, 31, 55, 0.88));
  border-color: rgba(83, 127, 172, 0.42);
  color: #eaf3ff;
  display: grid;
  gap: 12px;
}
.dashboard-hero-lite h1 {
  margin: 2px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 3.2vw, 42px);
  color: #fff;
}
.dashboard-hero-lite .muted { color: #b6d0ea; font-size: 14px; }
.dashboard-quicknav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dashboard-quicknav a {
  text-decoration: none;
  border: 1px solid #2a6ea9;
  background: linear-gradient(180deg, #2d77b4, #236498);
  color: #fff;
  border-radius: 8px;
  min-height: 34px;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 700;
}
.dashboard-hero h1 {
  margin: 2px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(22px, 2.6vw, 34px);
}
.kicker {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  color: #1d5f98;
  font-weight: 800;
  letter-spacing: .06em;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}
.dashboard-stats .card {
  padding: 10px;
  background: linear-gradient(180deg, rgba(7, 29, 52, 0.88), rgba(9, 36, 62, 0.82));
  border-color: rgba(102, 143, 188, 0.44);
}
.dashboard-stats .metric { color: #f1f7ff; }
.dashboard-stats p { color: #9ec0e4; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dashboard-zone { margin-top: 2px; }
.dashboard-shell .section-block {
  background: linear-gradient(180deg, rgba(7, 29, 52, 0.9), rgba(10, 34, 58, 0.88));
  border-color: rgba(102, 143, 188, 0.44);
  color: #deecff;
}
.dashboard-shell .section-title a,
.dashboard-shell .muted,
.dashboard-shell .saved-item small { color: #a9c7e8; }
.dashboard-shell .feature-card {
  border-color: rgba(123, 158, 197, 0.42);
  background: rgba(10, 36, 62, 0.82);
}
.dashboard-shell .feature-body {
  background: transparent;
}
.dashboard-shell .feature-body h3 {
  color: #eaf3ff;
  margin: 0 0 4px;
}
.dashboard-shell .feature-body p {
  color: #a9c7e8;
}
.dashboard-shell .feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dashboard-shell .feature-actions a,
.dashboard-shell .feature-actions button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
}
.dashboard-shell .feature-image .fav {
  border-color: rgba(117, 170, 222, 0.6);
}
.dashboard-shell .feature-image .fav.is-on {
  background: linear-gradient(180deg, #37a95c, #288d49);
  border-color: #2f9c54;
  color: #fff;
}
.dashboard-shell .saved-empty {
  border-color: rgba(117, 151, 188, 0.56);
  background: rgba(7, 28, 50, 0.68);
  color: #b7d0ec;
}
.dashboard-shell .saved-item {
  border-color: rgba(123, 158, 197, 0.42);
  background: rgba(10, 36, 62, 0.76);
  color: #deebf9;
}
.dashboard-shell .stack-item {
  border-color: rgba(123, 158, 197, 0.42);
  background: rgba(10, 36, 62, 0.76);
}
.dashboard-shell .trend-bar {
  border: 1px solid rgba(109, 146, 184, 0.45);
  background: rgba(11, 35, 58, 0.9);
}
.dashboard-shell .note-input {
  border-color: rgba(121, 156, 196, 0.48);
  background: rgba(8, 32, 56, 0.9);
  color: #f1f6ff;
}
.dashboard-shell .settings-form button {
  width: 100%;
}
.dashboard-shell .reward-task-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.dashboard-shell #growth-zone {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 12px;
}
.dashboard-shell .growth-card {
  border-radius: 14px;
}
.dashboard-shell .growth-card-tasks {
  align-self: start;
}
.dashboard-shell .reward-panel {
  display: grid;
  gap: 10px;
}
.dashboard-shell .reward-panel-block {
  border: 1px solid rgba(107, 146, 192, 0.3);
  border-radius: 12px;
  background: rgba(7, 30, 52, 0.42);
  padding: 10px;
}
.dashboard-shell .reward-panel-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #a9c7e8;
}
.dashboard-shell .reward-task-card {
  min-height: 66px;
  border-radius: 12px;
  border: 1px solid rgba(112, 149, 207, 0.65);
  background: linear-gradient(180deg, rgba(86, 120, 232, 0.28), rgba(52, 82, 186, 0.24));
  box-shadow: inset 0 1px 0 rgba(221, 233, 255, 0.28), 0 8px 16px rgba(16, 30, 66, 0.26);
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 2px;
  padding: 10px 12px;
  text-align: left;
}
.dashboard-shell .reward-task-card .reward-task-title {
  display: block;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.1;
  color: #f2f7ff;
}
.dashboard-shell .reward-task-card .reward-task-meta {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  color: #b8d1ef;
}
.dashboard-shell .reward-task-card:hover:not([disabled]) {
  transform: translateY(-1px);
  border-color: rgba(143, 181, 242, 0.8);
  box-shadow: inset 0 1px 0 rgba(227, 238, 255, 0.4), 0 12px 20px rgba(18, 34, 72, 0.34);
}
.dashboard-shell .reward-task-card[disabled] {
  opacity: 0.52;
  filter: saturate(0.7);
  cursor: not-allowed;
}
.dashboard-shell .reward-offerwall-links {
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.dashboard-shell .reward-offerwall-links .library-toggle {
  border-radius: 10px;
  min-height: 38px;
  padding: 0 14px;
}
.dashboard-shell .reward-rules .micro-news p {
  font-size: 13px;
  color: #b8d1ef;
}
.dashboard-shell .reward-task-list {
  display: grid;
  gap: 8px;
}
.dashboard-shell .reward-task-item {
  width: 100%;
  border: 1px solid rgba(109, 149, 202, 0.52);
  background: linear-gradient(180deg, rgba(16, 44, 78, 0.88), rgba(12, 38, 68, 0.88));
  border-radius: 12px;
  min-height: 64px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  color: #eaf3ff;
  cursor: pointer;
}
.dashboard-shell .reward-task-item:hover:not([disabled]) {
  border-color: rgba(146, 186, 241, 0.78);
  background: linear-gradient(180deg, rgba(24, 58, 101, 0.9), rgba(16, 49, 86, 0.9));
}
.dashboard-shell .reward-task-item[disabled] {
  opacity: 0.48;
  cursor: not-allowed;
}
.dashboard-shell .reward-task-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
  text-align: left;
}
.dashboard-shell .reward-task-copy strong {
  font-size: 18px;
  line-height: 1.15;
}
.dashboard-shell .reward-task-copy small {
  font-size: 12px;
  color: #a9c7e8;
}
.dashboard-shell .reward-task-points {
  border: 1px solid rgba(119, 159, 224, 0.62);
  background: linear-gradient(180deg, rgba(88, 120, 228, 0.95), rgba(64, 97, 209, 0.95));
  border-radius: 999px;
  min-width: 60px;
  min-height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}
.dashboard-shell .reward-offerwall-links {
  margin-top: 10px !important;
}
.dashboard-shell .reward-offerwall-grid {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}
.dashboard-shell .reward-offerwall-card {
  width: 100%;
  border: 1px solid rgba(109, 149, 202, 0.52);
  background: linear-gradient(180deg, rgba(16, 44, 78, 0.88), rgba(12, 38, 68, 0.88));
  border-radius: 12px;
  min-height: 74px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  color: #eaf3ff;
  text-decoration: none;
}
.dashboard-shell .reward-offerwall-card:hover {
  border-color: rgba(146, 186, 241, 0.78);
  background: linear-gradient(180deg, rgba(24, 58, 101, 0.9), rgba(16, 49, 86, 0.9));
  text-decoration: none;
}
.dashboard-shell .reward-offerwall-card--ogads {
  background:
    radial-gradient(360px 110px at 12% 12%, rgba(88, 140, 255, 0.2), transparent 68%),
    linear-gradient(150deg, rgba(15, 39, 79, 0.9), rgba(10, 31, 62, 0.9));
}
.dashboard-shell .reward-offerwall-card--torox {
  background:
    radial-gradient(360px 110px at 12% 12%, rgba(97, 197, 245, 0.21), transparent 68%),
    linear-gradient(150deg, rgba(13, 45, 70, 0.9), rgba(8, 34, 56, 0.9));
}
.dashboard-shell .reward-offerwall-card--adblue {
  background:
    radial-gradient(360px 110px at 12% 12%, rgba(173, 111, 246, 0.2), transparent 68%),
    linear-gradient(150deg, rgba(21, 34, 77, 0.9), rgba(12, 27, 65, 0.9));
}
.dashboard-shell .reward-offerwall-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #f2f7ff;
  border: 1px solid rgba(200, 225, 255, 0.35);
  background: linear-gradient(125deg, rgba(73, 121, 255, 0.5), rgba(177, 96, 255, 0.46));
  box-shadow: inset 0 1px 0 rgba(251, 251, 255, 0.35);
}
.dashboard-shell .reward-offerwall-icon--ogads {
  background: linear-gradient(125deg, rgba(70, 140, 255, 0.72), rgba(86, 98, 247, 0.72));
}
.dashboard-shell .reward-offerwall-icon--torox {
  background: linear-gradient(125deg, rgba(44, 193, 213, 0.72), rgba(57, 132, 242, 0.72));
}
.dashboard-shell .reward-offerwall-icon--adblue {
  background: linear-gradient(125deg, rgba(160, 108, 255, 0.72), rgba(98, 112, 247, 0.72));
}
.dashboard-shell .reward-offerwall-card .reward-task-right {
  min-width: 160px;
}
.dashboard-shell .reward-offerwall-card .reward-task-points {
  font-size: 12px;
  min-height: 26px;
  padding: 0 9px;
}
.dashboard-shell .reward-offerwall-card .reward-task-cta {
  min-width: 128px;
  min-height: 34px;
}
.dashboard-shell .reward-rule-chips {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dashboard-shell .reward-rule-chips span {
  border: 1px solid rgba(103, 142, 187, 0.45);
  background: rgba(10, 35, 60, 0.66);
  color: #b8d1ef;
  border-radius: 999px;
  font-size: 12px;
  padding: 4px 10px;
}
.dashboard-shell .reward-admin-note {
  margin-top: 8px;
}
.dashboard-shell #growth-zone .saved-actions .library-toggle,
.dashboard-shell #growth-zone .saved-actions button {
  min-height: 40px;
  border-radius: 12px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
  border: 1px solid rgba(112, 149, 207, 0.65);
  background: linear-gradient(180deg, rgba(86, 120, 232, 0.28), rgba(52, 82, 186, 0.24));
  color: #f2f7ff;
  box-shadow: inset 0 1px 0 rgba(221, 233, 255, 0.28), 0 8px 16px rgba(16, 30, 66, 0.26);
}
.dashboard-shell #growth-zone .saved-actions .library-toggle:hover,
.dashboard-shell #growth-zone .saved-actions button:hover {
  transform: translateY(-1px);
  border-color: rgba(143, 181, 242, 0.8);
  box-shadow: inset 0 1px 0 rgba(227, 238, 255, 0.4), 0 12px 20px rgba(18, 34, 72, 0.34);
}
.dashboard-shell #action-zone .library-toggle,
.dashboard-shell #saved-area .library-toggle,
.dashboard-shell #saved-history-zone .library-toggle,
.dashboard-shell #saved-recs-zone .library-toggle,
.dashboard-shell #action-zone .saved-item .saved-actions button,
.dashboard-shell #saved-area .saved-item .saved-actions button,
.dashboard-shell #saved-history-zone .saved-item .saved-actions button,
.dashboard-shell #saved-recs-zone .saved-item .saved-actions button {
  min-height: 38px;
  border-radius: 11px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
  border: 1px solid rgba(112, 149, 207, 0.65);
  background: linear-gradient(180deg, rgba(86, 120, 232, 0.28), rgba(52, 82, 186, 0.24));
  color: #f2f7ff;
  box-shadow: inset 0 1px 0 rgba(221, 233, 255, 0.28), 0 8px 16px rgba(16, 30, 66, 0.26);
}
.dashboard-shell #action-zone .library-toggle:hover,
.dashboard-shell #saved-area .library-toggle:hover,
.dashboard-shell #saved-history-zone .library-toggle:hover,
.dashboard-shell #saved-recs-zone .library-toggle:hover,
.dashboard-shell #action-zone .saved-item .saved-actions button:hover,
.dashboard-shell #saved-area .saved-item .saved-actions button:hover,
.dashboard-shell #saved-history-zone .saved-item .saved-actions button:hover,
.dashboard-shell #saved-recs-zone .saved-item .saved-actions button:hover {
  transform: translateY(-1px);
  border-color: rgba(143, 181, 242, 0.8);
  box-shadow: inset 0 1px 0 rgba(227, 238, 255, 0.4), 0 12px 20px rgba(18, 34, 72, 0.34);
}

.trend-row { display: grid; gap: 6px; }
.trend-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}
.trend-bar {
  height: 8px;
  border: 1px solid #c9d8ea;
  border-radius: 999px;
  background: #eff5fb;
  overflow: hidden;
}
.trend-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f85c8, #3ba55d);
}

.saved-list { display: grid; gap: 8px; }
.saved-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.saved-item > div:first-child {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.saved-item strong {
  display: block;
  line-height: 1.25;
  font-size: 19px;
}
.saved-item small {
  display: block;
  line-height: 1.25;
}
.saved-item .saved-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.saved-item .saved-actions a,
.saved-item .saved-actions button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  white-space: nowrap;
}
.saved-item .saved-actions .pill {
  min-height: 28px;
  padding: 4px 10px;
}
.saved-item .saved-actions .note-input {
  min-height: 36px;
  min-width: 240px;
  flex: 1 1 240px;
}
.saved-item .saved-actions .note-save {
  text-decoration: none;
  border: 1px solid #2a6ea9;
  background: linear-gradient(180deg, #2d77b4, #236498);
  color: #fff;
  border-radius: 6px;
  padding: 0 12px;
  min-height: 36px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.referral-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.referral-actions .referral-input {
  grid-column: 1 / -1;
  min-width: 0;
  width: 100%;
}
.referral-actions .referral-btn {
  width: 100%;
}
.library-toggle.is-active,
.wishlist-toggle.is-active { border-color: #2f9c54; background: linear-gradient(180deg, #37a95c, #288d49); }
.sponsored-item { border-color: #a8bdd9; background: linear-gradient(180deg, #f3f8ff, #eaf2fb); }
.note-input { min-width: 220px; }
.settings-form input[type="checkbox"] { min-height: 0; width: auto; margin-right: 6px; }
.reminder-option { display: flex !important; align-items: center; gap: 6px; }
.saved-empty {
  border: 1px dashed #c4d3e4;
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px;
  color: var(--muted);
}

@media (max-width: 1020px) {
  .public-header { flex-wrap: wrap; }
  .quick-filter { grid-template-columns: 1fr; }
  .kpi-row,
  .stats-grid,
  .home-layout,
  .dashboard-grid,
  .news-layout,
  .feature-row,
  .library-grid,
  .tile-grid { grid-template-columns: 1fr; }
  .deal-row { grid-template-columns: 90px 1fr; }
  .deal-thumb { width: 90px; height: 60px; }
  .deal-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .saved-item {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .saved-item .saved-actions {
    justify-content: flex-start;
  }
  .dashboard-shell .reward-task-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-shell #growth-zone {
    grid-template-columns: 1fr;
  }
  .dashboard-shell .reward-task-item {
    grid-template-columns: 1fr auto;
  }
  .referral-actions {
    grid-template-columns: 1fr;
  }
  .referral-actions .referral-input {
    grid-column: 1;
  }
  .game-modal-card { grid-template-columns: 1fr; }
  .game-modal-media { min-height: 180px; }
  .game-modal-body h3 { font-size: 30px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar {
    border-right: 0;
    border-bottom: 1px solid #1a4874;
    position: static;
    height: auto;
  }
  .admin-header { flex-wrap: wrap; }
  .settings-form { grid-template-columns: 1fr; }
  .admin-bg-upload { grid-template-columns: 1fr; }
  .admin-main .stats-grid { grid-template-columns: 1fr 1fr; }
  .admin-overview-grid { grid-template-columns: 1fr; }
  .admin-chip-grid { grid-template-columns: 1fr 1fr; }
  .user-board { grid-template-columns: 1fr; }
  .user-board-side { position: static; }
  .dashboard-hero-lite h1 { font-size: clamp(24px, 8vw, 34px); }
  .dashboard-quicknav { display: grid; grid-template-columns: 1fr; }
}

/* Happy gaming theme refresh */
:root {
  --page-bg: #ebf8ff;
  --header: #142a82;
  --header-2: #0f1f62;
  --card: rgba(255, 255, 255, 0.92);
  --line: rgba(72, 111, 224, 0.28);
  --ink: #182350;
  --muted: #4a5f8d;
  --blue-btn: #2f6bff;
  --green-btn: #1dbb7a;
  --green-btn-2: #149e66;
  --radius: 14px;
  --shadow: 0 14px 30px rgba(22, 54, 140, 0.14);
}

body {
  background:
    radial-gradient(circle at 8% 14%, rgba(89, 201, 255, 0.24), transparent 34%),
    radial-gradient(circle at 90% 18%, rgba(255, 171, 88, 0.22), transparent 32%),
    radial-gradient(circle at 35% 82%, rgba(102, 255, 205, 0.2), transparent 36%),
    linear-gradient(165deg, #ecf8ff 0%, #ecedff 48%, #e7f6ff 100%);
}

body.has-site-bg {
  background:
    radial-gradient(circle at 12% 12%, rgba(103, 234, 255, 0.18), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(255, 187, 114, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(7, 16, 54, 0.38), rgba(8, 14, 48, 0.4)),
    var(--site-bg-image) center / cover fixed no-repeat;
  background-color: #141a4d;
}

.card {
  backdrop-filter: blur(5px);
  border-radius: 14px;
}

.public-header,
.dashboard-topbar {
  background:
    linear-gradient(145deg, rgba(7, 28, 50, 0.97), rgba(8, 33, 58, 0.96) 55%, rgba(10, 41, 72, 0.95)),
    linear-gradient(180deg, #0b2743, #091f36);
  border: 1px solid rgba(109, 155, 201, 0.42);
  box-shadow: 0 14px 28px rgba(2, 10, 20, 0.45);
}

.brand-name {
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
}

.public-nav a {
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.public-nav a.active,
.public-nav a:hover {
  background: linear-gradient(180deg, rgba(41, 88, 140, 0.75), rgba(23, 57, 96, 0.66));
  border-color: rgba(130, 176, 219, 0.58);
  box-shadow: 0 6px 14px rgba(4, 20, 43, 0.35);
  transform: translateY(-1px);
}

.btn-ghost,
.signin,
.public-footer nav a,
.saved-item a,
.library-toggle,
.wishlist-toggle,
.feature-actions a,
.feature-actions button,
.deal-actions a,
.dashboard-quicknav a,
.admin-header-link,
.admin-table button {
  border: 1px solid rgba(86, 132, 255, 0.5);
  background: linear-gradient(135deg, #2f71ff, #4865ff 58%, #2daefc);
  box-shadow: 0 8px 16px rgba(48, 83, 220, 0.28);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.admin-user-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 12px 0 14px;
}

.admin-user-search input[type="text"] {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(124, 169, 255, 0.5);
  background: rgba(6, 28, 50, 0.75);
  color: #d7e9ff;
  padding: 10px 12px;
}

.admin-inline-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(124px, 1fr));
  gap: 6px;
}

.admin-inline-actions form {
  margin: 0;
  width: 100%;
}

.admin-inline-actions button {
  width: 100%;
  min-height: 34px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.admin-user-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid rgba(119, 162, 255, 0.45);
  text-shadow: none;
}

.admin-user-pill.is-pro {
  background: linear-gradient(135deg, rgba(24, 202, 142, 0.48), rgba(56, 224, 168, 0.34));
  color: #0a4837;
  border-color: rgba(27, 142, 102, 0.72);
}

.admin-user-pill.is-free {
  background: linear-gradient(135deg, rgba(70, 132, 255, 0.46), rgba(49, 99, 214, 0.34));
  color: #153a6f;
  border-color: rgba(58, 109, 200, 0.72);
}

.admin-user-pill.is-supporter {
  background: linear-gradient(135deg, rgba(255, 177, 74, 0.56), rgba(255, 123, 79, 0.4));
  color: #703604;
  border-color: rgba(195, 124, 44, 0.76);
}

.admin-tier-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.admin-tier-form select {
  min-width: 96px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(119, 162, 255, 0.45);
  background: rgba(12, 35, 64, 0.9);
  color: #e5f2ff;
  padding: 0 8px;
}

.admin-inline-actions .danger {
  background: linear-gradient(135deg, #cf3d63, #ba2e54 58%, #9a2246);
  border-color: rgba(255, 151, 178, 0.45);
  box-shadow: 0 8px 14px rgba(170, 28, 67, 0.28);
}

@media (max-width: 860px) {
  .admin-inline-actions {
    grid-template-columns: 1fr;
  }
}

.btn-ghost:hover,
.signin:hover,
.public-footer nav a:hover,
.saved-item a:hover,
.library-toggle:hover,
.wishlist-toggle:hover,
.feature-actions a:hover,
.feature-actions button:hover,
.deal-actions a:hover,
.dashboard-quicknav a:hover,
.admin-header-link:hover,
.admin-table button:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 12px 20px rgba(44, 76, 204, 0.34);
}

.quick-filter button,
.settings-form button,
.auth-form button,
.auth-inline-form button,
.game-modal-primary {
  background: linear-gradient(140deg, #18ca8e, #17c96d 55%, #63db50);
  border-color: rgba(17, 157, 104, 0.64);
  box-shadow: 0 10px 20px rgba(24, 180, 121, 0.3);
}

.public-hero {
  background:
    radial-gradient(circle at 16% 18%, rgba(109, 252, 255, 0.4), transparent 34%),
    radial-gradient(circle at 89% 12%, rgba(255, 220, 129, 0.36), transparent 28%),
    linear-gradient(130deg, #2848d8, #4838d6 52%, #0f95d7);
  border: 1px solid rgba(144, 190, 255, 0.45);
}

.public-hero h1,
.section-title h2,
.deal-copy h3,
.game-modal-body h3,
.dashboard-hero h1,
.dashboard-hero-lite h1,
.admin-header h1,
.panel h2,
.metric {
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  letter-spacing: 0.01em;
}

.section-block,
.panel,
.dashboard-shell .section-block,
.dashboard-hero-lite,
.admin-main .stats-grid .card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(243, 250, 255, 0.88));
  border: 1px solid rgba(88, 133, 245, 0.26);
  box-shadow: 0 10px 26px rgba(44, 75, 176, 0.16);
  color: #1c2b5c;
}

.dashboard-shell .section-title a,
.dashboard-shell .muted,
.dashboard-shell .saved-item small,
.dashboard-stats p,
.admin-main .stats-grid p,
.admin-kpi-list,
.admin-chip span,
.admin-bar-label,
.panel-list,
.admin-brand-wrap p,
.admin-header p {
  color: #5167a0;
}

.feature-card,
.game-tile,
.library-card,
.stack-item,
.headline-item,
.saved-item,
.deal-row,
.admin-chip {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 248, 255, 0.86));
  border: 1px solid rgba(92, 133, 230, 0.26);
  box-shadow: 0 10px 20px rgba(43, 74, 168, 0.14);
}

.game-tile,
.feature-card,
.deal-row,
.stack-item,
.saved-item,
.admin-chip {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.game-tile:hover,
.feature-card:hover,
.deal-row:hover,
.stack-item:hover,
.saved-item:hover,
.admin-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(69, 120, 245, 0.52);
  box-shadow: 0 14px 26px rgba(37, 71, 175, 0.2);
}

.feature-image,
.tile-art,
.library-art,
.deal-thumb,
.game-modal-media {
  background-color: #202f8d;
}

.fav {
  border-color: rgba(87, 128, 245, 0.56);
  background: rgba(255, 255, 255, 0.9);
  color: #2a46bb;
}

.fav.is-on,
.library-toggle.is-active,
.wishlist-toggle.is-active {
  border-color: rgba(21, 168, 106, 0.72);
  background: linear-gradient(140deg, #16cb8d, #13ad74);
  color: #fff;
}

.countdown {
  color: #0fae71;
}

.deal-thumb-fallback {
  background: linear-gradient(140deg, #2b6eff, #5f4fff, #0cb7d8);
}

.news-fallback-text {
  color: #f2f8ff;
}

.public-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(236, 246, 255, 0.86));
  border: 1px solid rgba(94, 139, 236, 0.24);
}

.admin-sidebar,
.user-board-side {
  background:
    radial-gradient(circle at 18% 12%, rgba(122, 225, 255, 0.24), transparent 34%),
    linear-gradient(160deg, #1d2f9c, #2a2381 55%, #0f82b8);
  border-color: rgba(148, 184, 255, 0.36);
}

.admin-sidebar nav a:hover,
.user-board-side nav a:hover,
.admin-sidebar nav a.is-active {
  background: linear-gradient(140deg, rgba(110, 151, 255, 0.4), rgba(104, 104, 255, 0.34));
  border-color: rgba(178, 208, 255, 0.58);
}

.admin-ring {
  background: conic-gradient(#36dcff calc(var(--pro-pct) * 1%), #6f51ff 0);
  box-shadow: 0 10px 24px rgba(54, 81, 223, 0.34);
}

.admin-ring span {
  background: rgba(255, 255, 255, 0.92);
  color: #2c3f8e;
}

.admin-bar i,
.trend-bar i {
  background: linear-gradient(90deg, #2aa9ff, #6270ff 58%, #17c98f);
}

.toast {
  background: linear-gradient(140deg, #3949d6, #1a81c0);
  box-shadow: 0 10px 24px rgba(42, 73, 193, 0.42);
}

.game-modal-backdrop {
  background: rgba(14, 18, 60, 0.52);
}

.game-modal-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(241, 247, 255, 0.95));
  border: 1px solid rgba(96, 141, 243, 0.32);
  box-shadow: 0 26px 58px rgba(33, 58, 151, 0.34);
}

.game-modal-facts span {
  background: rgba(231, 241, 255, 0.86);
  border-color: rgba(95, 133, 227, 0.32);
  color: #365097;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(77, 124, 245, 0.42);
  background: linear-gradient(140deg, rgba(64, 109, 255, 0.16), rgba(81, 225, 255, 0.16));
  color: #2946aa;
  font-weight: 700;
  font-size: 12px;
}

.public-shell,
.dashboard-shell,
.admin-main {
  animation: riseIn .45s ease;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-shell,
  .dashboard-shell,
  .admin-main,
  .game-tile,
  .feature-card,
  .deal-row,
  .stack-item,
  .saved-item,
  .admin-chip,
  .btn-ghost,
  .signin,
  .public-footer nav a,
  .saved-item a,
  .library-toggle,
  .wishlist-toggle,
  .feature-actions a,
  .feature-actions button,
  .deal-actions a,
  .dashboard-quicknav a,
  .admin-header-link,
  .admin-table button {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* Final bright-theme overrides for legacy high-specificity rules */
.public-body,
.admin-body {
  color: #1a2a5e;
}

.muted,
.tile-meta span,
.feature-body p,
.library-body p,
.saved-item small,
.public-footer small {
  color: #4f659a !important;
}

.public-body .consent-banner p {
  color: #d8e6ff !important;
}

.public-footer p {
  color: #243878;
}

.kicker {
  color: #2b45b2;
}

.section-title a {
  color: #2950c2;
}

.dashboard-shell .section-block,
.dashboard-shell .feature-card,
.dashboard-shell .saved-item,
.dashboard-shell .stack-item,
.dashboard-shell .saved-empty,
.dashboard-shell .trend-bar,
.dashboard-shell .note-input,
.dashboard-shell .feature-body,
.dashboard-shell .feature-body h3,
.dashboard-shell .feature-body p {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 247, 255, 0.9)) !important;
  border-color: rgba(86, 129, 233, 0.3) !important;
  color: #1f3270 !important;
}

.dashboard-shell .section-title a,
.dashboard-shell .muted,
.dashboard-shell .saved-item small {
  color: #5168a3 !important;
}

.dashboard-shell .feature-image .fav {
  border-color: rgba(87, 128, 245, 0.56) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #2a46bb !important;
}

.dashboard-shell .feature-image .fav.is-on {
  background: linear-gradient(140deg, #16cb8d, #13ad74) !important;
  border-color: rgba(21, 168, 106, 0.72) !important;
  color: #fff !important;
}

.dashboard-shell .dashboard-stats .card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(236, 246, 255, 0.9)) !important;
  border-color: rgba(89, 132, 233, 0.34) !important;
}

.dashboard-shell .dashboard-stats .metric,
.admin-main .stats-grid .metric {
  color: #22367f !important;
}

.dashboard-shell .dashboard-stats p,
.admin-main .stats-grid p {
  color: #5871ad !important;
}

.settings-form input,
.settings-form select,
.settings-form textarea,
.quick-filter input,
.quick-filter select,
.auth-form input,
.auth-inline-form input,
.note-input {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(91, 134, 235, 0.38) !important;
  color: #1f3270 !important;
}

.settings-form input::placeholder,
.settings-form textarea::placeholder,
.quick-filter input::placeholder,
.auth-form input::placeholder,
.auth-inline-form input::placeholder,
.note-input::placeholder {
  color: #6a7fb1 !important;
}

.admin-header,
.panel,
.admin-main .stats-grid .card,
.admin-chip {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 247, 255, 0.9)) !important;
  border-color: rgba(90, 133, 235, 0.34) !important;
}

.admin-header h1,
.panel h2,
.admin-chip strong {
  color: #22357e !important;
}

.admin-kpi-list,
.admin-chip span,
.admin-subheading,
.panel-list,
.admin-bar-label,
.admin-main .auth-warning {
  color: #5269a3 !important;
}

.admin-table th,
.admin-table td {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #243b7d !important;
  border-bottom-color: rgba(95, 138, 235, 0.24) !important;
}

.admin-table th {
  background: linear-gradient(180deg, rgba(232, 242, 255, 0.98), rgba(222, 236, 255, 0.95)) !important;
}

.admin-table tbody tr:hover td {
  background: rgba(240, 248, 255, 0.98) !important;
}

.game-modal-desc {
  color: #355094;
}

.game-modal-close {
  border-color: rgba(94, 136, 235, 0.35);
  background: rgba(246, 251, 255, 0.96);
  color: #2a44ae;
}

/* Dashboard stabilization pass (kept at end intentionally). */
.public-body .dashboard-shell {
  max-width: 1240px;
}

.dashboard-frame {
  border: 1px solid rgba(85, 132, 186, 0.46);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(5, 24, 43, 0.82), rgba(6, 27, 48, 0.76));
  box-shadow: 0 18px 36px rgba(2, 13, 27, 0.45);
  padding: 12px;
}

.user-board-side {
  min-height: 560px;
}

.user-side-head {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(120, 166, 212, 0.35);
}

.side-kicker {
  margin: 0 0 4px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .06em;
  color: #88b6e3;
  font-weight: 800;
}

.side-email {
  margin: 4px 0 0;
  font-size: 12px;
  color: #a9c9ea;
  word-break: break-word;
}

.user-side-meta {
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(114, 158, 201, 0.34);
  background: rgba(10, 37, 62, 0.56);
  display: grid;
  gap: 6px;
}

.user-side-meta p {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: #d4e6fa;
}

.user-side-actions {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.user-side-actions a {
  text-decoration: none;
  color: #ddedff;
  font-size: 13px;
  border: 1px solid rgba(118, 163, 208, 0.35);
  border-radius: 8px;
  padding: 8px 9px;
  background: rgba(10, 38, 64, 0.55);
}

.user-side-actions a:hover {
  background: rgba(17, 52, 84, 0.72);
  border-color: rgba(132, 179, 224, 0.56);
}

.dashboard-page-hero {
  padding: 14px;
  background: linear-gradient(180deg, rgba(10, 39, 67, 0.9), rgba(8, 31, 55, 0.88));
  border-color: rgba(83, 127, 172, 0.42);
  color: #eaf3ff;
  display: grid;
  gap: 12px;
}

.dashboard-page-hero h1 {
  margin: 2px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  color: #f8fbff;
  text-shadow: 0 3px 14px rgba(4, 15, 32, 0.5);
}

.dashboard-page-hero .muted {
  color: #c0d8ef;
}

.dashboard-hero-lite h1 {
  color: #f8fbff !important;
  text-shadow: 0 3px 14px rgba(4, 15, 32, 0.5);
}

.dashboard-hero-lite .muted {
  color: #c0d8ef !important;
}

.user-board-side nav a.is-active {
  background: linear-gradient(180deg, rgba(48, 114, 179, 0.45), rgba(29, 76, 125, 0.6));
  color: #fff;
  border-color: rgba(133, 180, 226, 0.62);
}

.public-body .dashboard-shell .section-block,
.public-body .dashboard-shell .feature-card,
.public-body .dashboard-shell .saved-item,
.public-body .dashboard-shell .stack-item,
.public-body .dashboard-shell .saved-empty,
.public-body .dashboard-shell .trend-bar,
.public-body .dashboard-shell .note-input,
.public-body .dashboard-shell .feature-body,
.public-body .dashboard-shell .feature-body h3,
.public-body .dashboard-shell .feature-body p,
.public-body .dashboard-shell .dashboard-stats .card {
  background: linear-gradient(180deg, rgba(7, 29, 52, 0.9), rgba(10, 34, 58, 0.88)) !important;
  border-color: rgba(102, 143, 188, 0.44) !important;
  color: #deecff !important;
}

.public-body .dashboard-shell .section-title h2,
.public-body .dashboard-shell .saved-item strong,
.public-body .dashboard-shell .dashboard-stats .metric {
  color: #f1f7ff !important;
}

.public-body .dashboard-shell .section-title a,
.public-body .dashboard-shell .muted,
.public-body .dashboard-shell .saved-item small,
.public-body .dashboard-shell .dashboard-stats p {
  color: #a9c7e8 !important;
}

@media (max-width: 1020px) {
  .dashboard-frame {
    padding: 9px;
  }
  .user-board-side {
    min-height: 0;
  }
}

/* Dashboard density + background consistency overrides */
body.has-site-bg {
  background:
    linear-gradient(180deg, rgba(5, 14, 26, 0.66), rgba(5, 14, 26, 0.66)),
    var(--site-bg-image) center center / cover no-repeat !important;
  background-attachment: scroll !important;
  background-color: #07111d !important;
}

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

.dashboard-shell .section-block {
  padding: 10px;
}

.compact-block .saved-item {
  padding: 8px;
}

.compact-block .saved-item strong {
  font-size: 16px;
}

.compact-block .saved-item .saved-actions a,
.compact-block .saved-item .saved-actions button {
  min-height: 32px;
  padding: 0 10px;
}

.dashboard-shell .saved-item strong {
  font-size: 17px;
}

.dashboard-shell .saved-list,
.dashboard-shell .stack-list,
.dashboard-shell .trend-list,
.dashboard-shell .micro-news {
  display: grid;
  gap: 7px;
}

.dashboard-shell .section-title h2 {
  font-size: 20px;
}

@media (max-width: 1240px) {
  .dashboard-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1020px) {
  .dashboard-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Dashboard refinement pass: cleaner hierarchy, calmer surfaces, better organization */
.dashboard-shell {
  gap: 12px;
}

.dashboard-frame {
  padding: 14px;
}

.user-board {
  grid-template-columns: 210px 1fr;
  gap: 12px;
}

.user-board-main {
  gap: 12px;
}

.dashboard-hero-lite {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(7, 27, 49, 0.94), rgba(8, 31, 55, 0.9)) !important;
  border-color: rgba(102, 143, 188, 0.42) !important;
}

.dashboard-hero-headline .kicker {
  color: #7eb4e9;
}

.dashboard-hero-lite h1 {
  margin: 2px 0 4px;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.04;
  text-shadow: none !important;
}

.dashboard-hero-lite .muted {
  font-size: 14px;
  color: #afcde9 !important;
}

.dashboard-hero-actions {
  justify-content: flex-end;
}

.dashboard-quicknav a {
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 13px;
}

.dashboard-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-stats .card {
  padding: 9px 10px;
}

.dashboard-stats .metric {
  margin: 0;
  font-size: 38px;
  line-height: 1;
}

.dashboard-stats p {
  margin: 6px 0 0;
  font-size: 13px;
}

.dashboard-grid-3 {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 10px;
}

.overview-layout .overview-primary {
  grid-row: span 2;
}

.dashboard-shell .section-block {
  padding: 10px 11px;
}

.dashboard-shell .section-title {
  margin-bottom: 8px;
}

.dashboard-shell .section-title h2 {
  font-size: 22px;
  line-height: 1.1;
}

.compact-block .saved-item,
.dashboard-shell .saved-item {
  padding: 8px 10px;
  border-radius: 10px;
}

.dashboard-shell .saved-item strong {
  font-size: 16px;
  line-height: 1.2;
}

.dashboard-shell .saved-item small {
  font-size: 13px;
}

.dashboard-shell .saved-item .saved-actions a,
.dashboard-shell .saved-item .saved-actions button {
  min-height: 30px;
  padding: 0 10px;
  font-size: 13px;
}

.dashboard-shell .stack-item {
  padding: 8px 10px;
  border-radius: 10px;
}

.dashboard-shell .urgent-item {
  display: grid;
  gap: 6px;
}

.dashboard-shell .urgent-title {
  display: block;
  font-size: 18px;
  line-height: 1.18;
  color: #dcecff;
  font-weight: 700;
}

.dashboard-shell .urgent-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dashboard-shell .urgent-store.pill {
  padding: 2px 10px;
  font-size: 12px;
  line-height: 1.1;
  color: #d8ecff;
  border-color: rgba(120, 172, 226, 0.62);
  background: linear-gradient(140deg, rgba(52, 122, 198, 0.34), rgba(39, 98, 168, 0.32));
}

.dashboard-shell .urgent-time {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.dashboard-shell .overview-next-card,
.dashboard-shell .overview-timeline-card {
  min-height: 200px;
}

.dashboard-shell .overview-next-copy {
  margin-top: 4px;
}

.dashboard-shell .overview-next-copy p + p {
  margin-top: 6px;
}

.dashboard-shell .overview-health-row {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.dashboard-shell .overview-health-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid rgba(121, 168, 214, 0.52);
  background: rgba(34, 74, 121, 0.45);
  color: #d8ecff;
}

.dashboard-shell .overview-health-chip.is-ok {
  border-color: rgba(75, 189, 133, 0.65);
  background: rgba(35, 112, 80, 0.35);
  color: #dcffe9;
}

.dashboard-shell .overview-health-chip.is-degraded {
  border-color: rgba(224, 180, 85, 0.7);
  background: rgba(127, 91, 28, 0.38);
  color: #fff2cf;
}

.dashboard-shell .overview-health-chip.is-delayed {
  border-color: rgba(224, 108, 108, 0.72);
  background: rgba(140, 41, 41, 0.35);
  color: #ffe0e0;
}

.dashboard-shell .plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 4px 11px 4px 8px;
  border: 1px solid rgba(121, 168, 214, 0.52);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.dashboard-shell .plan-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.dashboard-shell .plan-badge.is-pro {
  color: #dfffee;
  border-color: rgba(71, 194, 126, 0.7);
  background: linear-gradient(140deg, rgba(39, 137, 86, 0.4), rgba(24, 99, 63, 0.45));
}

.dashboard-shell .plan-badge.is-pro i {
  background: #4de08d;
}

.dashboard-shell .plan-badge.is-free {
  color: #d8e9ff;
  border-color: rgba(114, 165, 220, 0.62);
  background: linear-gradient(140deg, rgba(48, 112, 182, 0.34), rgba(30, 80, 139, 0.42));
}

.dashboard-shell .plan-badge.is-free i {
  background: #7cc3ff;
}

.dashboard-shell .micro-news p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.user-side-meta {
  gap: 5px;
}

.user-side-meta p {
  font-size: 12px;
}

/* Keep section action buttons from colliding with text content. */
.dashboard-shell .section-block > .saved-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(101, 141, 186, 0.3);
}

.dashboard-shell .section-block > .saved-actions .library-toggle,
.dashboard-shell .section-block > .saved-actions button {
  min-height: 32px;
  padding: 0 12px;
}

@media (max-width: 1320px) {
  .dashboard-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1020px) {
  .dashboard-frame {
    padding: 10px;
  }

  .dashboard-hero-lite {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .dashboard-hero-actions {
    justify-content: flex-start;
  }

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

  .dashboard-grid-3 {
    grid-template-columns: 1fr;
  }

  .overview-layout .overview-primary {
    grid-row: auto;
  }
}

.shared-shell {
  max-width: 980px;
}

.shared-hero h1 {
  margin: 0 0 6px;
}

.shared-hero .muted {
  margin: 0;
}

.shared-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.home-hero-strip {
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 14px;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(16, 56, 97, 0.72), rgba(16, 56, 97, 0.72)),
    linear-gradient(140deg, #2f5274, #1d3652) !important;
  border: 1px solid rgba(109, 155, 201, 0.45) !important;
  box-shadow: 0 8px 18px rgba(2, 10, 20, 0.34);
}

.home-hero-copy h1 {
  margin: 0 0 5px;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  color: #f0f8ff;
  line-height: 1.03;
}

.home-hero-copy p {
  margin: 0;
  color: #c2ddf6;
}

.home-trending-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px !important;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(116, 162, 208, 0.5);
  background: linear-gradient(140deg, rgba(33, 86, 146, 0.38), rgba(21, 59, 102, 0.46));
  color: #cde6ff !important;
  font-size: 12px;
  font-weight: 700;
}

.home-trending-pill strong {
  color: #ffffff;
  font-weight: 800;
}

.home-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.home-hero-stats article {
  border: 1px solid rgba(123, 168, 212, 0.46);
  border-radius: 10px;
  padding: 7px 8px;
  background: rgba(20, 53, 84, 0.68);
  display: grid;
  gap: 2px;
}

.home-hero-stats strong {
  color: #f2f8ff;
  font-size: 28px;
  line-height: 1;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
}

.home-hero-stats span {
  color: #c1dbf4;
  font-size: 12px;
}

.home-backplate {
  position: relative;
  background: transparent !important;
  box-shadow: none;
}

/* Featured Picks uses `card section-block home-backplate` on the same element.
   Keep it on a light surface like giveaway page cards. */
.card.section-block.home-backplate {
  background: var(--card) !important;
  border-color: var(--line) !important;
  box-shadow: var(--shadow) !important;
}

.home-backplate .section-block {
  background: var(--card) !important;
  border-color: var(--line) !important;
}

.home-platform-spotlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.platform-spotlights-shell .home-platform-spotlights {
  margin-top: 4px;
}

.recent-strip {
  background: var(--card) !important;
  border-color: var(--line) !important;
  border-width: 2px !important;
  border-style: solid !important;
  box-shadow: 0 10px 24px rgba(28, 72, 126, 0.2) !important;
  position: relative;
  overflow: hidden;
}

.recent-strip::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #2d77b4, #3d8bff, #2dc7a1);
  pointer-events: none;
}

.recent-strip .section-title {
  margin-bottom: 12px;
}

.recent-strip .section-title h2 {
  font-size: 38px;
  color: #1c3362;
}

.recent-strip .section-title a {
  color: #2c68b4 !important;
  font-weight: 800;
}

.recent-strip-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.recent-chip {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, #f8fbff, #eef5ff);
  padding: 6px;
}

.recent-chip-art {
  width: 44px;
  height: 34px;
  border-radius: 7px;
  border: 1px solid rgba(118, 159, 198, 0.48);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #19436f;
}

.recent-chip-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.recent-chip-copy strong {
  font-size: 15px;
  line-height: 1.2;
  color: #1d3552;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.recent-chip-copy small {
  font-size: 12px;
  color: #5d7087;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.platform-spotlight-card {
  background: #f8fbff !important;
  border-color: var(--line) !important;
  display: grid;
  gap: 8px;
  align-content: start;
  height: 100%;
}

.platform-spotlight-lead {
  position: relative;
  display: block;
  height: 172px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
}

.platform-spotlight-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 68, 120, 0.78), rgba(16, 45, 82, 0.78));
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

.platform-spotlight-overlay {
  position: relative;
  z-index: 2;
  height: 172px;
  padding: 10px;
  display: grid;
  align-content: end;
  gap: 4px;
  background: linear-gradient(180deg, rgba(15, 36, 57, 0.02), rgba(12, 28, 42, 0.42) 74%);
}

.platform-meta {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.platform-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  color: #e8f4ff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.platform-meta i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(109, 155, 201, 0.58);
  background: linear-gradient(140deg, rgba(45, 119, 180, 0.5), rgba(35, 100, 152, 0.48));
  color: #ecfbff;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0 7px;
}

.platform-meta b {
  font-weight: 800;
}

.platform-meta small {
  font-size: 11px;
  color: #d6ecff;
  font-weight: 700;
}

.platform-spotlight-overlay h3 {
  margin: 0;
  color: #ffffff;
  font-size: 25px;
  line-height: 1.08;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.58);
}

.platform-spotlight-overlay p {
  margin: 0;
  color: #d9efff;
  font-size: 13px;
  font-weight: 700;
}

.platform-spotlight-list {
  display: grid;
  gap: 7px;
}

.platform-spotlight-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7fbff;
  padding: 6px;
  text-decoration: none;
}

.platform-spotlight-item:hover {
  border-color: #bdd0e5;
  background: #eef5ff;
}

.platform-spotlight-thumb {
  width: 48px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(140deg, rgba(26, 74, 124, 0.82), rgba(16, 44, 78, 0.82));
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  border: 1px solid rgba(118, 159, 199, 0.46);
}

.platform-spotlight-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.platform-spotlight-copy strong {
  color: #1d3552;
  font-size: 16px;
  line-height: 1.15;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.platform-spotlight-copy small {
  color: #5d7087;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.platform-spotlight-footer {
  display: grid;
  gap: 4px;
  margin-top: 2px;
}

.platform-spotlight-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid #c7d5e6;
  border-radius: 10px;
  padding: 7px 10px;
  color: #1d3552;
  text-decoration: none;
  font-weight: 700;
  background: #f7fbff;
}

.platform-spotlight-footer a:hover {
  color: #123d64;
  border-color: #9ab7d5;
  background: #e9f3ff;
}

.platform-spotlight-footer small {
  color: #5d7087;
  font-size: 12px;
  text-align: center;
}

.public-body .home-backplate .section-title h2 {
  color: #1d3552 !important;
  text-shadow: none;
}

.public-body .home-backplate .section-title a {
  color: #1b5f98 !important;
}

.public-body .game-tile .tile-art,
.public-body .feature-card .feature-image {
  position: relative;
  overflow: hidden;
}

.public-body .game-tile .tile-art::after,
.public-body .feature-card .feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 16, 30, 0.03), rgba(4, 16, 30, 0.24));
  pointer-events: none;
}

.public-body .home-backplate .feature-card,
.public-body .home-backplate .game-tile {
  background: #f8fbff !important;
  border-color: var(--line) !important;
}

.public-body .home-backplate .feature-body h3,
.public-body .home-backplate .tile-meta strong {
  color: #1d3552 !important;
}

.public-body .home-backplate .feature-body p,
.public-body .home-backplate .tile-meta span {
  color: #5d7087 !important;
}

.public-body .home-backplate .stack-item {
  background: #f7fbff !important;
  border-color: var(--line) !important;
}

.public-body .home-backplate .stack-item span {
  color: #1d3552 !important;
}

.public-body .home-backplate .stack-item small {
  color: #5d7087 !important;
}

.public-body .home-backplate .feature-actions .copylink {
  border-color: rgba(98, 141, 186, 0.44) !important;
  background: rgba(11, 34, 58, 0.64) !important;
  color: #b9dbfb !important;
}

.public-body .home-backplate .feature-actions .copylink:hover {
  border-color: rgba(130, 175, 219, 0.7) !important;
  color: #e8f5ff !important;
}

.public-body .home-backplate .feature-actions .open-game-modal {
  background: linear-gradient(180deg, #3f8cff, #2f74e2) !important;
  border-color: #3f8cff !important;
  color: #ffffff !important;
}

.platform-spotlight-card,
.recent-chip,
.game-tile,
.feature-card {
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.platform-spotlight-card:hover,
.game-tile:hover,
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(2, 12, 24, 0.38);
}

.smart-feed-form {
  margin-bottom: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}

.smart-feed-form button {
  width: 100%;
}

.pro-analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.pro-analytic-kpi {
  border: 1px solid rgba(100, 145, 189, 0.4);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(9, 33, 57, 0.82), rgba(8, 29, 50, 0.85));
  padding: 8px 9px;
}

.pro-analytic-label {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #95bce3;
  font-weight: 700;
}

.pro-analytic-value {
  margin: 4px 0 0;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: 30px;
  line-height: 1;
  color: #f0f8ff;
}

.pro-analytics-trends {
  margin-top: 4px;
}

@media (max-width: 1020px) {
  .shared-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-hero-stats {
    grid-template-columns: 1fr;
  }

  .home-platform-spotlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .platform-spotlight-overlay h3 {
    font-size: 20px;
  }

  .platform-spotlight-copy strong {
    font-size: 16px;
  }

  .smart-feed-form {
    grid-template-columns: 1fr;
  }

  .pro-analytics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  .recent-strip-list {
    grid-template-columns: 1fr;
  }

  .home-platform-spotlights {
    grid-template-columns: 1fr;
  }
}

/* Homepage polish pass */
.home-shell {
  --home-surface: #f9fbfe;
  --home-surface-soft: #f1f5fb;
  --home-border: #c8d5e6;
  --home-text: #1a2a43;
  --home-muted: #5a6f8a;
  --home-primary: #2e6fd6;
  --home-primary-strong: #255ec0;
  --home-secondary: #179a8a;
  --home-secondary-strong: #0d7d70;
}

.public-shell > .home-hero-strip {
  padding: 18px 20px;
  border-radius: 12px;
  gap: 18px;
  background:
    radial-gradient(70% 140% at 6% 0%, rgba(33, 156, 172, 0.2), transparent 60%),
    radial-gradient(64% 120% at 100% 0%, rgba(84, 134, 226, 0.32), transparent 58%),
    linear-gradient(135deg, #18365f, #204579 54%, #1f4f82) !important;
  border-color: rgba(106, 152, 212, 0.55) !important;
}

.home-hero-copy {
  max-width: 740px;
}

.home-hero-copy h1 {
  font-size: clamp(34px, 3.8vw, 48px);
  line-height: 1.02;
  margin-bottom: 8px;
}

.home-hero-copy p {
  font-size: 15px;
  line-height: 1.5;
  max-width: 62ch;
  color: #d4e4fa;
}

.home-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.home-hero-cta-primary,
.home-hero-cta-secondary {
  text-decoration: none;
  border-radius: 10px;
  min-height: 36px;
  padding: 8px 13px;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-hero-cta-primary {
  border: 1px solid rgba(113, 170, 255, 0.9);
  color: #ffffff;
  background: linear-gradient(160deg, var(--home-primary), var(--home-primary-strong));
  box-shadow: 0 12px 24px rgba(26, 79, 173, 0.38);
}

.home-hero-cta-secondary {
  border: 1px solid rgba(112, 209, 195, 0.56);
  color: #dcecff;
  background: linear-gradient(165deg, rgba(18, 98, 105, 0.56), rgba(14, 76, 82, 0.6));
}

.home-hero-cta-primary:hover,
.home-hero-cta-secondary:hover {
  transform: translateY(-1px);
}

.public-shell > .section-block {
  border-radius: 12px;
}

.public-shell > .home-hero-strip + .section-block,
.public-shell > .home-layout,
.public-shell > .home-backplate,
.public-shell > .recent-strip,
.public-shell > .platform-spotlights-shell {
  margin-top: 8px;
}

.home-shell .home-backplate .section-block,
.home-shell .home-backplate .feature-card,
.home-shell .home-backplate .game-tile,
.home-shell .home-backplate .stack-item,
.home-shell .platform-spotlight-card,
.home-shell .recent-chip,
.home-shell .sponsor-slot-item {
  background: linear-gradient(180deg, var(--home-surface), var(--home-surface-soft)) !important;
  border-color: var(--home-border) !important;
  box-shadow: 0 10px 22px rgba(32, 61, 106, 0.1);
}

.home-shell .home-backplate .section-title h2 {
  font-size: 29px;
  color: var(--home-text) !important;
}

.home-shell .home-backplate .section-title a {
  font-size: 12px;
  color: var(--home-primary-strong) !important;
}

.home-shell .home-backplate .tile-meta strong,
.home-shell .home-backplate .feature-body h3 {
  font-size: 16px !important;
  line-height: 1.26;
  color: var(--home-text) !important;
}

.home-shell .home-backplate .tile-meta span,
.home-shell .home-backplate .feature-body p,
.recent-chip-copy small {
  font-size: 12px !important;
  line-height: 1.45;
  color: var(--home-muted) !important;
}

.home-shell .home-backplate .feature-actions {
  gap: 6px;
}

.home-shell .home-backplate .feature-actions .open-game-modal,
.home-shell .home-backplate .feature-actions .copylink {
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11px;
}

.home-shell .home-backplate .feature-actions .open-game-modal {
  background: linear-gradient(145deg, var(--home-primary), var(--home-primary-strong)) !important;
  border-color: rgba(67, 128, 220, 0.85) !important;
  color: #ffffff !important;
}

.home-shell .home-backplate .feature-actions .copylink {
  background: #e9f2fb !important;
  border-color: #b6cae1 !important;
  color: #2c4d78 !important;
}

.home-shell .home-backplate .feature-actions .copylink:hover {
  background: #dbeaf9 !important;
  border-color: #95b4d7 !important;
}

.home-shell .home-backplate .feature-row {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  align-items: stretch;
}

/* Home cards: fill image area (no blue side gutters) with gentle crop, never stretch */
.home-shell .tile-art,
.home-shell .feature-image,
.home-shell .platform-spotlight-image,
.home-shell .platform-spotlight-thumb,
.home-shell .recent-chip-art,
.home-shell .deal-thumb {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Match card media height closer to source banner ratios to reduce cropping */
.home-shell .tile-art {
  height: 108px;
}

.home-shell .feature-image {
  height: 152px;
}

.home-shell .home-backplate .feature-row .feature-card:first-child {
  grid-column: auto;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(89, 141, 223, 0.16), transparent 60%),
    linear-gradient(180deg, #fdfefe, #eef4fc) !important;
  border-color: #9fb9d8 !important;
}

.home-shell .home-backplate .feature-row .feature-card:first-child .feature-image {
  height: 166px;
}

.home-shell .home-backplate .feature-row .feature-card:first-child .feature-body h3 {
  font-size: 18px !important;
}

.recent-strip {
  padding: 14px !important;
  background: linear-gradient(180deg, #f8fbff, #edf4fd) !important;
  border-color: #bfd0e3 !important;
}

.recent-strip .section-title h2 {
  font-size: 32px;
  color: var(--home-text);
}

.recent-strip-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.recent-strip-list .recent-chip:nth-child(n + 5) {
  display: none;
}

.home-shell .recent-chip-copy strong {
  color: var(--home-text) !important;
}

.home-shell .recent-chip-art {
  border-color: #a9c0db;
}

.home-shell .platform-spotlight-overlay {
  background: linear-gradient(180deg, rgba(7, 19, 41, 0.16), rgba(7, 19, 41, 0.78));
}

.home-shell .platform-spotlight-overlay h3 {
  color: #f7fbff;
}

.home-shell .platform-spotlight-footer a {
  background: #eef4fb;
  border-color: #bfd1e6;
  color: #1f436e;
}

.home-shell .platform-spotlight-footer a:hover {
  background: #e2edf9;
  color: #16395f;
}

.home-shell .home-platform-spotlights {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.home-shell .featured-count-1 .feature-row {
  grid-template-columns: 1fr;
}

.home-shell .featured-count-2 .feature-row,
.home-shell .featured-count-4 .feature-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-shell .featured-count-3 .feature-row,
.home-shell .featured-count-5 .feature-row,
.home-shell .featured-count-6 .feature-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-shell .platform-spotlights-shell.platform-count-1 .home-platform-spotlights {
  grid-template-columns: 1fr;
}

.home-shell .platform-spotlights-shell.platform-count-2 .home-platform-spotlights {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-shell .platform-spotlights-shell.platform-count-3 .home-platform-spotlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-shell .platform-spotlights-shell.platform-count-4 .home-platform-spotlights {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-shell .sponsor-slot-item span {
  border-color: rgba(29, 140, 122, 0.36);
  color: var(--home-secondary-strong);
  background: #e6f7f2;
}

/* Tone Variant: Esports */
.home-shell.home-tone-esports {
  --home-surface: #111a2d;
  --home-surface-soft: #18253b;
  --home-border: #2f4f78;
  --home-text: #e8f2ff;
  --home-muted: #9ab3d4;
  --home-primary: #7d4dff;
  --home-primary-strong: #6233df;
  --home-secondary: #15c6b4;
  --home-secondary-strong: #0ea494;
}

.home-shell.home-tone-esports .home-hero-strip {
  background:
    radial-gradient(80% 140% at 0% 0%, rgba(132, 84, 255, 0.34), transparent 58%),
    radial-gradient(75% 125% at 100% 0%, rgba(28, 196, 255, 0.28), transparent 54%),
    linear-gradient(135deg, #0f1730, #172549 54%, #11305a) !important;
  border-color: rgba(96, 123, 205, 0.65) !important;
}

.home-shell.home-tone-esports .home-hero-copy p {
  color: #bdd0f1;
}

.home-shell.home-tone-esports .home-hero-cta-primary {
  background: linear-gradient(160deg, #7d4dff, #5e2edb) !important;
  border-color: rgba(162, 132, 255, 0.85) !important;
}

.home-shell.home-tone-esports .home-hero-cta-secondary {
  background: linear-gradient(165deg, rgba(16, 114, 130, 0.6), rgba(12, 91, 103, 0.66)) !important;
  border-color: rgba(73, 202, 189, 0.55) !important;
  color: #d8f7f2;
}

.home-shell.home-tone-esports .home-backplate .section-block,
.home-shell.home-tone-esports .home-backplate .feature-card,
.home-shell.home-tone-esports .home-backplate .game-tile,
.home-shell.home-tone-esports .home-backplate .stack-item,
.home-shell.home-tone-esports .platform-spotlight-card,
.home-shell.home-tone-esports .recent-strip,
.home-shell.home-tone-esports .recent-chip,
.home-shell.home-tone-esports .sponsor-slot-item {
  background:
    linear-gradient(180deg, rgba(18, 30, 50, 0.95), rgba(15, 26, 44, 0.95)) !important;
  border-color: rgba(62, 92, 142, 0.86) !important;
  box-shadow: 0 14px 28px rgba(3, 8, 18, 0.42);
}

.home-shell.home-tone-esports .home-backplate .section-title h2,
.home-shell.home-tone-esports .home-backplate .tile-meta strong,
.home-shell.home-tone-esports .home-backplate .feature-body h3,
.home-shell.home-tone-esports .recent-chip-copy strong {
  color: #edf4ff !important;
}

.home-shell.home-tone-esports .home-backplate .tile-meta span,
.home-shell.home-tone-esports .home-backplate .feature-body p,
.home-shell.home-tone-esports .recent-chip-copy small,
.home-shell.home-tone-esports .platform-spotlight-copy small,
.home-shell.home-tone-esports .platform-spotlight-footer small {
  color: #a9c0e0 !important;
}

.home-shell.home-tone-esports .home-backplate .section-title a,
.home-shell.home-tone-esports .recent-strip .section-title a {
  color: #9dc4ff !important;
}

.home-shell.home-tone-esports .home-backplate .feature-actions .open-game-modal {
  background: linear-gradient(145deg, #7d4dff, #6233df) !important;
  border-color: rgba(162, 132, 255, 0.85) !important;
}

.home-shell.home-tone-esports .home-backplate .feature-actions .copylink {
  background: rgba(27, 44, 74, 0.92) !important;
  border-color: rgba(87, 118, 170, 0.84) !important;
  color: #d8e8ff !important;
}

.home-shell.home-tone-esports .home-backplate .feature-actions .copylink:hover {
  background: rgba(33, 54, 89, 0.95) !important;
}

.home-shell.home-tone-esports .home-backplate .feature-row .feature-card:first-child {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(128, 86, 255, 0.3), transparent 62%),
    linear-gradient(180deg, rgba(23, 36, 58, 0.98), rgba(18, 30, 49, 0.98)) !important;
  border-color: rgba(109, 136, 205, 0.92) !important;
}

.home-shell.home-tone-esports .recent-strip::before {
  background: linear-gradient(90deg, #7d4dff, #3e7fff, #1dbfae);
}

.home-shell.home-tone-esports .recent-chip {
  background: linear-gradient(180deg, rgba(21, 35, 58, 0.96), rgba(16, 27, 46, 0.96)) !important;
}

.home-shell.home-tone-esports .platform-spotlight-footer a {
  background: rgba(21, 37, 63, 0.95);
  border-color: rgba(77, 107, 158, 0.86);
  color: #dceafe;
}

.home-shell.home-tone-esports .platform-spotlight-footer a:hover {
  background: rgba(27, 45, 75, 0.96);
  color: #f2f7ff;
}

.home-shell.home-tone-esports .sponsor-slot-item span {
  border-color: rgba(34, 185, 163, 0.46);
  color: #a8f2e7;
  background: rgba(17, 97, 86, 0.42);
}

.home-shell.home-tone-esports .source-pill {
  border-color: rgba(96, 125, 187, 0.55);
  background: rgba(22, 39, 66, 0.88);
}
.home-shell.home-tone-esports .source-pill-text {
  color: #c5ddff;
}

.expired-section .section-title {
  align-items: center;
}
.expired-section .section-title button {
  min-width: 86px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(58, 127, 255, 0.56) !important;
  border-radius: 7px;
  background: linear-gradient(180deg, #0d213a, #071526) !important;
  color: #dcecff !important;
  box-shadow: 0 8px 18px rgba(2, 12, 24, 0.18), inset 0 1px 0 rgba(161, 199, 255, 0.14);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.expired-section .section-title button:hover {
  transform: translateY(-1px);
  border-color: rgba(112, 169, 255, 0.9) !important;
  background: linear-gradient(180deg, #12305a, #0a1b31) !important;
}
.expired-section .section-title button.is-collapsed {
  border-color: rgba(83, 194, 106, 0.58) !important;
  color: #78e68e !important;
}
.expired-section #homeExpiredList.is-hidden {
  display: none !important;
}
.expired-section.is-collapsed {
  padding-bottom: 12px;
}
.expired-section.is-collapsed .section-title {
  margin-bottom: 0;
}

.public-body .fullsite-footer .footer-col p,
.public-body .fullsite-footer small {
  font-size: 13px;
  line-height: 1.5;
}

.public-body .fullsite-footer .footer-newsletter-form input[type="email"] {
  min-height: 42px;
}

.public-body .fullsite-footer .footer-newsletter-form .footer-newsletter-btn {
  min-height: 42px;
}

@media (max-width: 1020px) {
  .public-shell > .home-hero-strip {
    padding: 14px 14px;
  }

  .home-hero-copy h1 {
    font-size: clamp(30px, 6vw, 38px);
  }

  .home-shell .home-backplate .feature-row .feature-card:first-child {
    grid-column: auto;
  }

  .home-shell .home-backplate .feature-row .feature-card:first-child .feature-image {
    height: 126px;
  }

  .recent-strip-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recent-strip-list .recent-chip:nth-child(n + 5) {
    display: grid;
  }
}

/* Admin accent color wiring */
.btn-ghost,
.feature-actions a,
.feature-actions button,
.deal-actions a,
.public-footer nav a,
.signin,
.library-toggle,
.wishlist-toggle,
.dashboard-quicknav a,
.admin-header-link,
.admin-table button {
  border-color: var(--accent-color) !important;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-color-strong)) !important;
}

.section-title a,
.public-body .home-backplate .section-title a,
.recent-strip .section-title a {
  color: var(--accent-color-strong) !important;
}
/* Sneat-like Admin Skin */
.admin-body.admin-v2 {
  background: #f3f5fc !important;
  color: #4e5878 !important;
}
.admin-body.admin-v2::before {
  display: none !important;
}
.admin-body.admin-v2 .admin-layout {
  grid-template-columns: 270px 1fr !important;
  gap: 0 !important;
  min-height: 100vh;
  max-width: none !important;
}
.admin-body.admin-v2 .admin-sidebar {
  background: linear-gradient(180deg, #273b57, #22344e) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 0 !important;
  padding: 16px 14px !important;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.admin-body.admin-v2 .admin-brand {
  color: #f8fbff !important;
  font-size: 36px !important;
}
.admin-body.admin-v2 .admin-brand-wrap p {
  color: #9fb2d2 !important;
}
.admin-body.admin-v2 .admin-nav-group {
  color: #8da3c7 !important;
  letter-spacing: .08em;
  margin-top: 16px;
  margin-bottom: 6px;
}
.admin-body.admin-v2 .admin-sidebar nav a {
  border-radius: 10px !important;
  border: 1px solid transparent !important;
  color: #d5e2f6 !important;
  background: transparent !important;
  padding: 11px 12px !important;
  font-weight: 600;
}
.admin-body.admin-v2 .admin-sidebar nav {
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
  padding-right: 4px;
}
.admin-body.admin-v2 .admin-sidebar nav::-webkit-scrollbar {
  width: 8px;
}
.admin-body.admin-v2 .admin-sidebar nav::-webkit-scrollbar-thumb {
  background: rgba(160, 180, 230, 0.35);
  border-radius: 999px;
}
.admin-body.admin-v2 .admin-sidebar nav a[hidden],
.admin-body.admin-v2 .admin-sidebar .admin-nav-group[hidden] {
  display: none !important;
}
.admin-body.admin-v2 .admin-sidebar nav a:hover {
  background: rgba(97, 120, 255, 0.18) !important;
  border-color: rgba(131, 151, 255, 0.45) !important;
}
.admin-body.admin-v2 .admin-sidebar nav a.is-active {
  background: linear-gradient(180deg, #6d70ff, #5e62ef) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(75, 84, 215, 0.35);
}
.admin-body.admin-v2 .admin-side-foot {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
  color: #d2dff5 !important;
  margin-top: 10px;
  padding-top: 12px;
  flex: 0 0 auto;
  background: linear-gradient(180deg, rgba(35, 52, 78, 0), rgba(35, 52, 78, 0.9) 35%);
}
.admin-body.admin-v2 .admin-main {
  max-width: none !important;
  padding: 14px 18px 22px !important;
  gap: 14px !important;
}
.admin-body.admin-v2 .admin-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px !important;
}
.admin-body.admin-v2 .admin-search-wrap {
  flex: 1;
  position: relative;
}
.admin-body.admin-v2 .admin-search-wrap input {
  width: 100%;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid #dbe3f3;
  background: #f9fbff;
  color: #536082;
  font: inherit;
  padding: 0 14px;
}
.admin-body.admin-v2 .admin-search-results {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  gap: 6px;
  max-height: min(430px, 70vh);
  overflow: auto;
  padding: 8px;
  border: 1px solid #d7dff0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(30, 45, 82, 0.16);
}
.admin-body.admin-v2 .admin-search-results[hidden] {
  display: none;
}
.admin-body.admin-v2 .admin-search-results button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--admin-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.admin-body.admin-v2 .admin-search-results button:hover,
.admin-body.admin-v2 .admin-search-results button[data-first-result="1"] {
  border-color: #cbd6ff;
  background: #f3f6ff;
}
.admin-body.admin-v2 .admin-search-results span {
  font-size: 13px;
  font-weight: 900;
}
.admin-body.admin-v2 .admin-search-results small {
  flex: 0 0 auto;
  color: #71809c;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-body.admin-v2 .admin-search-results p {
  margin: 0;
  padding: 10px;
  color: #71809c;
  font-size: 13px;
  font-weight: 800;
}
.admin-body.admin-v2 .admin-utility-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-body.admin-v2 .admin-utility-actions button {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid #d7dff0;
  background: #ffffff;
  color: #5f6d8a;
  font: inherit;
  font-size: 15px;
}
.admin-body.admin-v2 .admin-icon-btn:hover {
  background: #f2f6ff;
  border-color: #c7d4ec;
}
.admin-body.admin-v2 .admin-avatar-pill {
  text-decoration: none;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #d7dff0;
  background: #ffffff;
  padding: 0 12px;
  color: #5a6784;
  font-weight: 700;
}
.admin-body.admin-v2 .admin-header,
.admin-body.admin-v2 .panel,
.admin-body.admin-v2 .admin-main .stats-grid .card,
.admin-body.admin-v2 .admin-utility {
  background: #ffffff !important;
  border: 1px solid #e4e9f4 !important;
  box-shadow: 0 6px 16px rgba(28, 39, 84, 0.05);
}
.admin-body.admin-v2 .panel h2,
.admin-body.admin-v2 .admin-header h1 {
  color: #3f4a67 !important;
}
.admin-body.admin-v2 .admin-header p,
.admin-body.admin-v2 .admin-section-lead,
.admin-body.admin-v2 .admin-kpi-list,
.admin-body.admin-v2 .admin-bar-label,
.admin-body.admin-v2 .panel-list,
.admin-body.admin-v2 .admin-subheading {
  color: #7c89a6 !important;
}
.admin-body.admin-v2 .admin-main .stats-grid .metric {
  color: #495476 !important;
}
.admin-body.admin-v2 .admin-main .stats-grid p {
  color: #8c9ab8 !important;
}
.admin-body.admin-v2 .admin-chip {
  background: #f6f8fd !important;
  border-color: #e2e8f5 !important;
}
.admin-body.admin-v2 .admin-chip strong {
  color: #48526f !important;
}
.admin-body.admin-v2 .admin-chip span {
  color: #8795b2 !important;
}
.admin-body.admin-v2 .settings-group-title {
  border-top-color: #e2e8f3 !important;
  color: #8b97b3 !important;
}
.admin-body.admin-v2 .settings-form label,
.admin-body.admin-v2 .admin-log-actions label {
  color: #6c7a99 !important;
}
.admin-body.admin-v2 .settings-form input,
.admin-body.admin-v2 .settings-form select,
.admin-body.admin-v2 .settings-form textarea,
.admin-body.admin-v2 .admin-user-search input {
  background: #f9fbff !important;
  border: 1px solid #dbe3f3 !important;
  color: #4f5d7e !important;
}
.admin-body.admin-v2 .settings-form select[multiple] {
  min-height: 280px;
  padding: 8px;
}
.admin-body.admin-v2 .creator-picker-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(150px, 1fr)) auto auto auto auto;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}
.admin-body.admin-v2 .creator-picker-toolbar .btn {
  min-height: 36px;
  padding: 7px 12px;
}
.admin-body.admin-v2 .creator-inline-check {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin: 0 !important;
  color: #647497 !important;
  font-size: 12px;
  font-weight: 700;
}
.admin-body.admin-v2 .creator-inline-check input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0;
}
.admin-body.admin-v2 .creator-picker-meta {
  margin: 0 0 6px;
  color: #7a88a7;
  font-size: 12px;
  font-weight: 700;
}
.admin-body.admin-v2 #creatorGamePicker {
  min-height: 320px;
}
.admin-body.admin-v2 .settings-form input::placeholder,
.admin-body.admin-v2 .settings-form textarea::placeholder {
  color: #97a5bf !important;
}
.admin-body.admin-v2 .admin-note-block {
  background: #f8faff !important;
  border-color: #dbe4f4 !important;
  color: #667795 !important;
}
.admin-body.admin-v2 .admin-table {
  border-color: #e0e7f3 !important;
}
.admin-body.admin-v2 .admin-table th,
.admin-body.admin-v2 .admin-table td {
  background: #ffffff !important;
  border-bottom-color: #e8edf6 !important;
  color: #4f5c79 !important;
}
.admin-body.admin-v2 .admin-table th {
  background: #f7f9fd !important;
  color: #6d7a98 !important;
}
.admin-body.admin-v2 .admin-table tbody tr:hover td {
  background: #f2f6fd !important;
}
.admin-body.admin-v2 .admin-header-link,
.admin-body.admin-v2 .admin-table button,
.admin-body.admin-v2 .settings-form button,
.admin-body.admin-v2 .library-toggle,
.admin-body.admin-v2 .signin {
  background: linear-gradient(180deg, #6f72ff, #5c61ec) !important;
  border-color: rgba(92, 97, 236, 0.65) !important;
  color: #fff !important;
  box-shadow: 0 8px 16px rgba(89, 96, 221, 0.26);
}
.admin-body.admin-v2 .btn {
  text-decoration: none;
  border-radius: 10px;
  min-height: 38px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}
.admin-body.admin-v2 .btn.btn-primary {
  background: linear-gradient(180deg, #6f72ff, #5c61ec) !important;
  border-color: rgba(92, 97, 236, 0.65) !important;
  color: #fff !important;
  box-shadow: 0 8px 16px rgba(89, 96, 221, 0.26);
}
.admin-body.admin-v2 .btn.btn-secondary {
  background: linear-gradient(180deg, #eef3ff, #e4ecfb) !important;
  border-color: #cdd9f0 !important;
  color: #4f5e80 !important;
  box-shadow: 0 4px 10px rgba(31, 53, 112, 0.1);
}
.admin-body.admin-v2 .btn.btn-danger {
  background: linear-gradient(180deg, #ef5a6b, #d84455) !important;
  border-color: rgba(208, 57, 76, 0.65) !important;
  color: #fff !important;
  box-shadow: 0 8px 14px rgba(213, 68, 85, 0.25);
}
.admin-body.admin-v2 .admin-inline-actions .danger,
.admin-body.admin-v2 .admin-log-actions .danger {
  background: linear-gradient(180deg, #ef5a6b, #d84455) !important;
  border-color: rgba(208, 57, 76, 0.65) !important;
}
.admin-body.admin-v2 .admin-inline-actions {
  gap: 4px;
  flex-wrap: wrap;
  display: flex !important;
  align-items: center;
}
.admin-body.admin-v2 .admin-inline-actions form {
  margin: 0;
  width: auto !important;
  display: inline-flex;
  flex: 0 0 auto;
}
.admin-body.admin-v2 .admin-inline-actions .btn,
.admin-body.admin-v2 .admin-inline-actions button.btn,
.admin-body.admin-v2 .admin-inline-actions a.btn,
.admin-body.admin-v2 .admin-table button.btn {
  width: auto !important;
  flex: 0 0 auto;
}
.admin-body.admin-v2 .btn-compact {
  min-height: 24px !important;
  padding: 2px 8px !important;
  border-radius: 7px !important;
  font-size: 11px !important;
  line-height: 1.2;
  font-weight: 700 !important;
}
.admin-body.admin-v2 .btn-compact .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  margin-right: 4px;
  font-family: "Segoe UI Symbol", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: currentColor;
  opacity: 0.95;
  line-height: 1;
}
.admin-body.admin-v2 .btn-compact:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.admin-body.admin-v2 .admin-table td {
  vertical-align: top;
}
.admin-body.admin-v2 .admin-subheading {
  margin-bottom: 12px;
}
.admin-body.admin-v2 .settings-form-compact {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.admin-body.admin-v2 .settings-form-wide {
  grid-template-columns: 1fr;
}
.admin-body.modal-open {
  overflow: hidden;
}
.admin-body.admin-v2 .admin-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.admin-body.admin-v2 .admin-modal[hidden] {
  display: none !important;
}
.admin-body.admin-v2 .admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 24, 46, 0.55);
}
.admin-body.admin-v2 .admin-modal-card {
  position: relative;
  z-index: 1;
  width: min(760px, 96vw);
  max-height: 90vh;
  overflow: auto;
  padding: 14px;
}
.admin-source-logo-thumb {
  width: auto;
  max-width: 120px;
  height: 28px;
  object-fit: contain;
  display: block;
}
.admin-body.admin-v2 .admin-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.admin-body.admin-v2 .admin-modal-head h3 {
  margin: 0;
  color: #475372;
}
.admin-body.admin-v2 .admin-modal-close {
  border: 1px solid #d2dcef;
  background: #f4f7ff;
  color: #4d5d80;
  border-radius: 8px;
  min-height: 28px;
  min-width: 28px;
  padding: 0 8px;
  font-weight: 700;
  cursor: pointer;
}
.admin-body.admin-v2 .monetization-stack {
  display: grid;
  gap: 10px;
}
.admin-body.admin-v2 .monetization-block {
  border: 1px solid #dde6f4;
  border-radius: 12px;
  background: #f9fbff;
  padding: 0;
  overflow: hidden;
}
.admin-body.admin-v2 .monetization-block summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  color: #4f5c79;
  background: #f2f6fd;
  padding: 10px 12px;
  border-bottom: 1px solid #e1e9f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-body.admin-v2 .monetization-block summary::-webkit-details-marker {
  display: none;
}
.admin-body.admin-v2 .monetization-block summary::after {
  content: "+";
  color: #6a7da6;
  font-size: 16px;
}
.admin-body.admin-v2 .monetization-block[open] summary::after {
  content: "-";
}
.admin-body.admin-v2 .monetization-block form,
.admin-body.admin-v2 .monetization-block .panel-list {
  margin: 0;
  padding: 12px;
}
.admin-body.admin-v2 .monetization-block .panel-list {
  border-top: 1px dashed #dbe4f3;
}
.admin-body.admin-v2 .network-security-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.admin-body.admin-v2 .network-security-card {
  border: 1px solid #e0e8f5;
  border-radius: 12px;
  background: #f7faff;
  padding: 12px;
  display: grid;
  gap: 8px;
}
.admin-body.admin-v2 .network-security-card h3 {
  margin: 0 0 4px;
  color: #495577;
  font-size: 15px;
  font-weight: 800;
}
.admin-body.admin-v2 .network-security-accordion summary {
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  color: #495577;
  margin: -4px -4px 2px;
  padding: 6px 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-body.admin-v2 .network-security-accordion summary::-webkit-details-marker {
  display: none;
}
.admin-body.admin-v2 .network-security-accordion summary::after {
  content: "+";
  font-size: 18px;
  color: #6d7fb0;
}
.admin-body.admin-v2 .network-security-accordion[open] summary::after {
  content: "-";
}
.admin-body.admin-v2 .network-security-accordion .network-security-body {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}
.admin-body.admin-v2 .network-security-accordion:not([open]) .network-security-body {
  display: none;
}
.admin-body.admin-v2 .network-security-card label {
  display: grid;
  gap: 4px;
  margin: 0;
}
.admin-body.admin-v2 .source-toggle-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}
.admin-body.admin-v2 .source-toggle-card {
  border: 1px solid #dbe3f3;
  background: #f9fbff;
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin: 0;
}
.admin-body.admin-v2 .source-toggle-card input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}
.admin-body.admin-v2 .source-toggle-meta {
  display: grid;
  gap: 2px;
}
.admin-body.admin-v2 .source-toggle-meta strong {
  color: #495577;
  font-size: 13px;
}
.admin-body.admin-v2 .source-toggle-meta small {
  color: #8896b2;
  font-size: 12px;
}
.admin-body.admin-v2 .source-toggle-state {
  border: 1px solid #cfd9ef;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #5b6886;
  background: #ffffff;
}
.admin-body.admin-v2 .source-toggle-card.is-on {
  border-color: #bfd2ef;
  background: #f5f9ff;
}
.admin-body.admin-v2 .source-toggle-card.is-on .source-toggle-state {
  color: #1c7f52;
  border-color: #b9e6cf;
  background: #e7faef;
}
.admin-body.admin-v2 .source-toggle-card.is-off .source-toggle-state {
  color: #946120;
  border-color: #edd9b6;
  background: #fff6e6;
}
.admin-body.admin-v2 .admin-sidebar nav a.has-dirty {
  position: relative;
}
.admin-body.admin-v2 .admin-section-hidden-submit {
  display: none !important;
}
.admin-body.admin-v2 .admin-section-save-wrap {
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
}
.admin-body.admin-v2 .admin-sidebar nav a.has-dirty::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd166;
  box-shadow: 0 0 0 2px rgba(255, 209, 102, 0.25);
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
}
.admin-body.admin-v2 .postback-status-accepted {
  color: #1a7f4f !important;
  background: #dff8eb !important;
  border-color: #b8ebcf !important;
}
.admin-body.admin-v2 .postback-status-duplicate {
  color: #9c6d12 !important;
  background: #fff2d8 !important;
  border-color: #f0deb4 !important;
}
.admin-body.admin-v2 .postback-status-rejected {
  color: #b03d4e !important;
  background: #ffe4e8 !important;
  border-color: #f8c5cd !important;
}
.admin-body.admin-v2 .postback-status-error {
  color: #7252bb !important;
  background: #ece3ff !important;
  border-color: #d9c9ff !important;
}
@media (max-width: 980px) {
  .admin-body.admin-v2 .admin-layout {
    grid-template-columns: 1fr !important;
  }
  .admin-body.admin-v2 .admin-sidebar {
    position: static;
    height: auto;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    overflow: visible;
  }
  .admin-body.admin-v2 .admin-sidebar nav {
    overflow: visible;
  }
  .admin-body.admin-v2 .admin-main .stats-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .admin-body.admin-v2 .network-security-grid {
    grid-template-columns: 1fr;
  }
  .admin-body.admin-v2 .creator-picker-toolbar {
    grid-template-columns: 1fr 1fr;
  }
}

/* Admin command center polish pass */
.admin-body.admin-v2 {
  --admin-bg: #eef3fb;
  --admin-surface: #ffffff;
  --admin-surface-soft: #f7f9fd;
  --admin-ink: #27324d;
  --admin-muted: #6e7d9d;
  --admin-line: #dfe7f5;
  --admin-accent: #5968f2;
  --admin-accent-2: #19a879;
  --admin-warn: #b87a1d;
  background:
    linear-gradient(180deg, #edf3fb 0, #f7f9fd 340px, #f5f7fb 100%) !important;
}

.admin-body.admin-v2 .admin-sidebar {
  background:
    radial-gradient(120% 70% at 20% -10%, rgba(91, 116, 255, 0.35), transparent 48%),
    linear-gradient(180deg, #17233a 0%, #202d47 58%, #162238 100%) !important;
  box-shadow: 16px 0 36px rgba(25, 38, 70, 0.12);
}

.admin-body.admin-v2 .admin-brand {
  font-size: 30px !important;
  line-height: 1.02;
  letter-spacing: 0;
}

.admin-body.admin-v2 .admin-brand-wrap {
  padding: 2px 4px 14px;
}

.admin-body.admin-v2 .admin-brand-wrap p {
  margin: 6px 0 0;
  line-height: 1.4;
}

.admin-body.admin-v2 .admin-nav-group {
  margin: 18px 8px 7px;
  color: #91a3c4 !important;
  font-size: 10px;
}

.admin-body.admin-v2 .admin-sidebar nav a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 11px !important;
  border-radius: 9px !important;
  font-size: 13px;
}

.admin-body.admin-v2 .admin-sidebar nav a:hover {
  background: rgba(116, 138, 255, 0.16) !important;
  transform: translateX(2px);
}

.admin-body.admin-v2 .admin-sidebar nav a.is-active {
  background: linear-gradient(135deg, #6374ff, #4f5ee8) !important;
  box-shadow: 0 10px 22px rgba(59, 73, 196, 0.32);
}

.admin-body.admin-v2 .admin-side-foot {
  margin: 12px -2px 0;
  padding: 13px 6px 0;
}

.admin-body.admin-v2 .admin-main {
  padding: 18px 22px 28px !important;
  gap: 16px !important;
}

.admin-body.admin-v2 .admin-utility {
  position: sticky;
  top: 0;
  z-index: 20;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(14px);
}

.admin-body.admin-v2 .admin-search-wrap input {
  min-height: 42px;
  border-radius: 11px;
  padding-left: 40px;
  background:
    linear-gradient(90deg, transparent 0 34px, rgba(223, 231, 245, 0.86) 34px 35px, transparent 35px),
    #f8fbff !important;
}

.admin-body.admin-v2 .admin-search-wrap::before {
  content: "\2315";
  position: absolute;
  margin: 10px 0 0 14px;
  color: #8796b5;
  font-weight: 800;
  pointer-events: none;
}

.admin-body.admin-v2 .admin-current-section {
  display: inline-grid;
  gap: 1px;
  min-width: 150px;
  padding: 6px 11px;
  border: 1px solid var(--admin-line);
  border-radius: 11px;
  background: var(--admin-surface-soft);
}

.admin-body.admin-v2 .admin-current-section span {
  color: #8b98b2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .admin-current-section strong {
  color: var(--admin-ink);
  font-size: 13px;
  line-height: 1.2;
}

.admin-body.admin-v2 .admin-icon-btn {
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.admin-body.admin-v2 .admin-icon-btn:hover {
  color: var(--admin-accent);
  transform: translateY(-1px);
}

.admin-body.admin-v2 .admin-header {
  align-items: stretch;
  padding: 18px 20px !important;
  border-radius: 16px !important;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(89, 104, 242, 0.13), transparent 54%),
    var(--admin-surface) !important;
}

.admin-body.admin-v2 .admin-header h1 {
  color: var(--admin-ink) !important;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
}

.admin-body.admin-v2 .admin-header p {
  max-width: 720px;
  color: var(--admin-muted) !important;
}

.admin-body.admin-v2 .admin-main .stats-grid {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
}

.admin-body.admin-v2 .admin-main .stats-grid .card {
  position: relative;
  overflow: hidden;
  min-height: 104px;
  padding: 15px !important;
  border-radius: 14px !important;
}

.admin-body.admin-v2 .admin-main .stats-grid .card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--admin-accent), #36b8f2, var(--admin-accent-2));
}

.admin-body.admin-v2 .admin-main .stats-grid .metric {
  margin: 8px 0 3px;
  color: var(--admin-ink) !important;
  font-size: 34px;
  line-height: 1;
}

.admin-body.admin-v2 .admin-main .stats-grid p:not(.metric) {
  margin: 0;
  color: var(--admin-muted) !important;
  font-size: 12px;
  font-weight: 800;
}

.admin-body.admin-v2 .admin-header,
.admin-body.admin-v2 .panel,
.admin-body.admin-v2 .admin-main .stats-grid .card,
.admin-body.admin-v2 .admin-utility {
  border-color: var(--admin-line) !important;
  box-shadow: 0 12px 28px rgba(30, 45, 82, 0.07);
}

.admin-body.admin-v2 .panel {
  border-radius: 14px !important;
  padding: 15px !important;
}

.admin-body.admin-v2 .panel h2 {
  margin-bottom: 5px;
  color: var(--admin-ink) !important;
  font-size: 22px;
  line-height: 1.1;
}

.admin-body.admin-v2 .admin-section-lead {
  margin-top: 0;
  font-size: 13px;
}

.admin-body.admin-v2 .admin-overview-grid {
  gap: 14px;
}

.admin-body.admin-v2 .admin-kpi-list p,
.admin-body.admin-v2 .admin-note-block p,
.admin-body.admin-v2 .panel-list li {
  line-height: 1.45;
}

.admin-body.admin-v2 .admin-chip-grid {
  gap: 8px;
}

.admin-body.admin-v2 .admin-chip {
  border-radius: 11px;
  padding: 11px;
}

.admin-body.admin-v2 .admin-bar {
  height: 8px;
  border-radius: 999px;
  background: #e8eef8;
}

.admin-body.admin-v2 .admin-bar i {
  border-radius: inherit;
  background: linear-gradient(90deg, var(--admin-accent), #27b8d2, var(--admin-accent-2));
}

.admin-body.admin-v2 .settings-form {
  gap: 12px;
}

.admin-body.admin-v2 .settings-form label,
.admin-body.admin-v2 .admin-log-actions label,
.admin-body.admin-v2 .admin-bg-field {
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
}

.admin-body.admin-v2 .settings-form input,
.admin-body.admin-v2 .settings-form select,
.admin-body.admin-v2 .settings-form textarea,
.admin-body.admin-v2 .admin-user-search input,
.admin-body.admin-v2 .admin-log-actions input,
.admin-body.admin-v2 .admin-log-actions select,
.admin-body.admin-v2 .admin-bg-field input,
.admin-body.admin-v2 .admin-bg-field select {
  min-height: 40px;
  border-radius: 10px;
  border-color: #d8e2f2 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.admin-body.admin-v2 .settings-form textarea {
  min-height: 104px;
  line-height: 1.45;
}

.admin-body.admin-v2 .settings-form input:focus,
.admin-body.admin-v2 .settings-form select:focus,
.admin-body.admin-v2 .settings-form textarea:focus,
.admin-body.admin-v2 .admin-user-search input:focus,
.admin-body.admin-v2 .admin-search-wrap input:focus {
  outline: 3px solid rgba(89, 104, 242, 0.16);
  border-color: rgba(89, 104, 242, 0.55) !important;
}

.admin-body.admin-v2 .btn,
.admin-body.admin-v2 .admin-header-link,
.admin-body.admin-v2 .admin-table button,
.admin-body.admin-v2 .settings-form button,
.admin-body.admin-v2 .library-toggle,
.admin-body.admin-v2 .signin {
  border-radius: 9px !important;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.admin-body.admin-v2 .btn:hover,
.admin-body.admin-v2 .admin-header-link:hover,
.admin-body.admin-v2 .admin-table button:hover,
.admin-body.admin-v2 .settings-form button:hover,
.admin-body.admin-v2 .library-toggle:hover,
.admin-body.admin-v2 .signin:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.admin-body.admin-v2 .admin-table-wrap {
  border: 1px solid var(--admin-line);
  border-radius: 13px;
  overflow: auto;
  background: var(--admin-surface);
}

.admin-body.admin-v2 .admin-table {
  min-width: 780px;
  border: 0 !important;
}

.admin-body.admin-v2 .admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .admin-table th,
.admin-body.admin-v2 .admin-table td {
  padding: 10px 12px;
}

.admin-body.admin-v2 .admin-user-pill {
  border-radius: 999px;
  font-size: 11px;
}

.admin-body.admin-v2 .admin-user-pill.is-pro {
  color: #3555d4;
  background: #e9edff;
  border-color: #cbd5ff;
}

.admin-body.admin-v2 .admin-user-pill.is-free {
  color: #5f6f8d;
  background: #edf2f8;
  border-color: #d9e3f0;
}

.admin-body.admin-v2 .admin-user-pill.is-supporter {
  color: #14764f;
  background: #e4f8ee;
  border-color: #bfead2;
}

.admin-body.admin-v2 .auth-warning {
  padding: 9px 11px;
  border: 1px solid #f0ddb6;
  border-radius: 10px;
  background: #fff8e8;
  color: var(--admin-warn) !important;
}

.admin-body.admin-v2 #backgrounds {
  overflow: hidden;
}

.admin-body.admin-v2 .admin-bg-console {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(220px, 0.8fr);
  gap: 12px;
  margin: 12px 0;
}

.admin-body.admin-v2 .admin-bg-preview {
  min-height: 230px;
  border-radius: 16px;
  border: 1px solid #cfdcf0;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 16px 32px rgba(32, 48, 82, 0.12);
}

.admin-body.admin-v2 .admin-bg-preview-copy {
  width: 100%;
  padding: 16px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(13, 22, 39, 0), rgba(13, 22, 39, 0.74));
}

.admin-body.admin-v2 .admin-bg-preview-copy span {
  display: block;
  margin-bottom: 5px;
  color: #9de7ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .admin-bg-preview-copy strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  line-height: 1.05;
}

.admin-body.admin-v2 .admin-bg-preview-copy small {
  display: block;
  margin-top: 6px;
  color: #d7e7ff;
  font-weight: 700;
}

.admin-body.admin-v2 .admin-bg-status-grid {
  display: grid;
  gap: 10px;
}

.admin-body.admin-v2 .admin-bg-status-grid div {
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 13px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(89, 104, 242, 0.1), transparent 58%),
    var(--admin-surface-soft);
}

.admin-body.admin-v2 .admin-bg-status-grid span {
  display: block;
  color: #8795b2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .admin-bg-status-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--admin-ink);
  font-size: 24px;
  line-height: 1;
}

.admin-body.admin-v2 .admin-bg-upload {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 1.1fr) auto;
  gap: 10px;
  align-items: end;
  margin: 12px 0 8px;
  padding: 12px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: var(--admin-surface-soft);
}

.admin-body.admin-v2 .admin-bg-status {
  min-height: 20px;
  margin: 4px 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.admin-body.admin-v2 .bg-option-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.admin-body.admin-v2 .bg-option {
  position: relative;
  display: grid;
  grid-template-columns: 18px 84px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 9px;
  border: 1px solid var(--admin-line);
  border-radius: 13px;
  background: #ffffff;
  color: var(--admin-ink);
  box-shadow: 0 8px 18px rgba(30, 45, 82, 0.05);
  cursor: pointer;
}

.admin-body.admin-v2 .bg-option:hover,
.admin-body.admin-v2 .bg-option.is-selected {
  border-color: rgba(89, 104, 242, 0.48);
  box-shadow: 0 12px 24px rgba(64, 82, 180, 0.1);
}

.admin-body.admin-v2 .bg-option.is-selected::after {
  content: "Selected";
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #e9edff;
  color: #4054d6;
  font-size: 10px;
  font-weight: 900;
}

.admin-body.admin-v2 .bg-option-thumb {
  width: 84px;
  height: 52px;
  border-radius: 10px;
  border-color: #d5e0f0;
}

.admin-body.admin-v2 .bg-option span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.admin-body.admin-v2 .bg-option strong {
  color: var(--admin-ink);
  font-size: 13px;
}

.admin-body.admin-v2 .bg-option small {
  overflow: hidden;
  color: var(--admin-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-body.has-site-bg {
  background:
    linear-gradient(180deg, rgba(5, 12, 24, 0.5), rgba(5, 12, 24, 0.72)),
    var(--site-bg-image) center center / cover no-repeat fixed !important;
  background-color: #07111d !important;
}

.admin-login-page.has-site-bg {
  background:
    linear-gradient(180deg, rgba(5, 12, 24, 0.58), rgba(5, 12, 24, 0.74)),
    var(--site-bg-image) center center / cover no-repeat fixed !important;
  background-color: #07111d !important;
}

.admin-body.admin-v2 .admin-modal-backdrop {
  background: rgba(20, 30, 52, 0.6);
  backdrop-filter: blur(4px);
}

.admin-body.admin-v2 .admin-modal-card {
  border-radius: 16px !important;
  padding: 18px !important;
  box-shadow: 0 26px 80px rgba(20, 30, 52, 0.28);
}

.admin-body.admin-v2 .admin-modal-head {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--admin-line);
}

.admin-body.admin-v2 .admin-toast {
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(25, 38, 70, 0.24);
}

.admin-body.admin-v2.admin-density-compact .admin-main {
  gap: 10px !important;
}

.admin-body.admin-v2.admin-density-compact .panel,
.admin-body.admin-v2.admin-density-compact .admin-header,
.admin-body.admin-v2.admin-density-compact .admin-utility {
  padding: 11px 13px !important;
}

.admin-body.admin-v2.admin-density-compact .admin-table th,
.admin-body.admin-v2.admin-density-compact .admin-table td {
  padding: 7px 9px;
}

.admin-body.admin-v2.admin-density-compact .settings-form {
  gap: 8px;
}

@media (max-width: 1180px) {
  .admin-body.admin-v2 .admin-main .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-body.admin-v2 .admin-current-section {
    display: none;
  }
}

@media (max-width: 760px) {
  .admin-body.admin-v2 .admin-main {
    padding: 12px !important;
  }
  .admin-body.admin-v2 .admin-utility,
  .admin-body.admin-v2 .admin-header {
    display: grid;
  }
  .admin-body.admin-v2 .admin-utility-actions {
    justify-content: space-between;
  }
  .admin-body.admin-v2 .admin-main .stats-grid,
  .admin-body.admin-v2 .admin-overview-grid,
  .admin-body.admin-v2 .admin-bg-console,
  .admin-body.admin-v2 .admin-bg-upload,
  .admin-body.admin-v2 .creator-picker-toolbar {
    grid-template-columns: 1fr !important;
  }
}

/* Dashboard spacing + button alignment consistency pass */
.dashboard-shell .dashboard-stats,
.dashboard-shell .dashboard-grid-3 {
  gap: 12px;
}

.dashboard-shell .section-block {
  padding: 12px 14px;
}

.dashboard-shell .section-title {
  margin-bottom: 10px;
}

.dashboard-shell .section-block > .saved-actions,
.dashboard-shell .saved-item .saved-actions {
  gap: 8px;
}

.dashboard-shell .saved-list,
.dashboard-shell .stack-list,
.dashboard-shell .trend-list {
  gap: 10px;
}

.dashboard-shell .saved-item,
.dashboard-shell .stack-item {
  padding: 10px 12px;
  border-radius: 10px;
}

.dashboard-shell .library-toggle,
.dashboard-shell .saved-actions a,
.dashboard-shell .saved-actions button,
.dashboard-shell .saved-item .saved-actions a,
.dashboard-shell .saved-item .saved-actions button,
.dashboard-shell .feature-actions a,
.dashboard-shell .feature-actions button {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}

.dashboard-shell .saved-actions .note-input {
  min-height: 40px;
}

.dashboard-shell .reward-task-item {
  min-height: 84px;
}

.dashboard-shell .reward-task-points {
  min-height: 34px;
  min-width: 64px;
  line-height: 1;
}

/* Action Center alignment and spacing tune-up */
.dashboard-shell #action-zone .section-block {
  display: grid;
  gap: 10px;
  align-content: start;
}

.dashboard-shell #action-zone .section-title {
  margin-bottom: 6px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 4px;
}

.dashboard-shell #action-zone .section-title .muted {
  line-height: 1.25;
  font-size: 13px;
}

.dashboard-shell #action-zone .settings-form {
  display: grid;
  gap: 8px;
}

.dashboard-shell #action-zone .settings-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dashboard-shell #action-zone .queue-filter-form {
  grid-template-columns: 1fr 1fr;
  align-items: end;
}

.dashboard-shell #action-zone .action-critical-item {
  display: grid;
  gap: 8px;
}

.dashboard-shell #action-zone .action-critical-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
 }

.dashboard-shell #action-zone .settings-form .reminder-option {
  min-height: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.dashboard-shell #action-zone .settings-form input[type="checkbox"] {
  margin: 0;
}

.dashboard-shell #action-zone .settings-form button,
.dashboard-shell #action-zone .settings-form .library-toggle,
.dashboard-shell #action-zone .settings-form .saved-actions a,
.dashboard-shell #action-zone .settings-form .saved-actions button {
  width: 100%;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}

.dashboard-shell #action-zone .saved-actions {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.dashboard-shell #action-zone .compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-shell #action-zone .compact-actions .library-toggle,
.dashboard-shell #action-zone .compact-actions button {
  width: auto;
  min-width: 170px;
  flex: 1 1 170px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 780px) {
  .dashboard-shell #action-zone .settings-row,
  .dashboard-shell #action-zone .queue-filter-form {
    grid-template-columns: 1fr;
  }
}

/* Action Center polish pass: all sections */
.public-body .dashboard-shell #action-zone .section-block {
  padding: 14px !important;
  border-radius: 12px !important;
  gap: 10px !important;
  overflow: visible !important;
}

.public-body .dashboard-shell #action-zone .section-title {
  margin-bottom: 8px !important;
  gap: 4px !important;
}

.public-body .dashboard-shell #action-zone .section-title h2 {
  font-size: 30px !important;
  line-height: 0.98 !important;
}

.public-body .dashboard-shell #action-zone .micro-news {
  display: grid;
  gap: 4px;
}

.public-body .dashboard-shell #action-zone .micro-news p {
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.public-body .dashboard-shell #action-zone .stack-list {
  gap: 10px !important;
}

.public-body .dashboard-shell #action-zone .action-critical-item,
.public-body .dashboard-shell #action-zone .stack-item {
  padding: 10px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(76, 140, 220, 0.52) !important;
}

.public-body .dashboard-shell #action-zone .action-critical-link {
  align-items: flex-start;
}

.public-body .dashboard-shell #action-zone .action-critical-link > span {
  min-width: 0;
  font-size: 15px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.public-body .dashboard-shell #action-zone .stack-item > span {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  font-size: 15px;
  line-height: 1.2;
}

.public-body .dashboard-shell #action-zone .countdown {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
}

.public-body .dashboard-shell #action-zone .stack-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.public-body .dashboard-shell #action-zone .settings-form label {
  gap: 6px;
}

.public-body .dashboard-shell #action-zone .settings-form {
  grid-template-columns: minmax(0, 1fr) !important;
}

/* Hard lock Reminder Settings layout to one column on all widths */
.public-body .dashboard-shell #action-zone #reminderPrefsForm {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
}

.public-body .dashboard-shell #action-zone #reminderPrefsForm > label,
.public-body .dashboard-shell #action-zone #reminderPrefsForm .settings-row,
.public-body .dashboard-shell #action-zone #reminderPrefsForm .reminder-option {
  width: 100% !important;
  min-width: 0 !important;
}

.public-body .dashboard-shell #action-zone #reminderPrefsForm .settings-row {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

.public-body .dashboard-shell #action-zone #reminderPrefsForm .reminder-option {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.public-body .dashboard-shell #action-zone .settings-form input,
.public-body .dashboard-shell #action-zone .settings-form select {
  min-height: 38px !important;
  border-radius: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.public-body .dashboard-shell #action-zone .queue-filter-form {
  gap: 10px !important;
}

.public-body .dashboard-shell #action-zone .saved-actions.compact-actions {
  gap: 8px !important;
}

.public-body .dashboard-shell #action-zone .saved-actions.compact-actions .library-toggle,
.public-body .dashboard-shell #action-zone .saved-actions.compact-actions button {
  min-height: 38px !important;
  border-radius: 10px !important;
}

.public-body .dashboard-shell #action-zone #reminderTestStatusLine {
  font-size: 12px;
  line-height: 1.3;
  margin: -2px 0 2px;
}

.public-body .dashboard-shell #action-zone .action-column,
.public-body .dashboard-shell #action-zone .action-column-right,
.public-body .dashboard-shell #action-zone .section-block {
  min-width: 0 !important;
}

.public-body .dashboard-shell #action-zone .action-column-right .section-block {
  overflow: visible !important;
}

@media (max-width: 900px) {
  .public-body .dashboard-shell #action-zone .section-title h2 {
    font-size: 24px !important;
  }
}

@media (max-width: 640px) {
  .public-body .dashboard-shell #action-zone .section-block {
    padding: 12px !important;
  }

  .public-body .dashboard-shell #action-zone .action-critical-item,
  .public-body .dashboard-shell #action-zone .stack-item {
    padding: 10px !important;
    gap: 8px !important;
  }

  .public-body .dashboard-shell #action-zone .action-critical-link,
  .public-body .dashboard-shell #action-zone .stack-item {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .public-body .dashboard-shell #action-zone .stack-item > span {
    gap: 6px;
  }

  .public-body .dashboard-shell #action-zone .action-critical-link .countdown,
  .public-body .dashboard-shell #action-zone .stack-item .countdown {
    justify-self: start;
  }

  .public-body .dashboard-shell #action-zone .settings-form {
    gap: 10px !important;
  }

  .public-body .dashboard-shell #action-zone .saved-actions.compact-actions .library-toggle,
  .public-body .dashboard-shell #action-zone .saved-actions.compact-actions button,
  .public-body .dashboard-shell #action-zone .settings-form button {
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 100% !important;
  }

  .public-body .dashboard-shell #action-zone .section-title h2 {
    font-size: 22px !important;
  }

  .public-body .dashboard-shell #action-zone .settings-form .reminder-option {
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
}

.dashboard-shell #action-zone .overview-health-chip {
  margin-left: 6px;
  vertical-align: middle;
}

/* Library tab reflow: mixed-size cards to reduce dead space and crowding */
.dashboard-shell .library-zone-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  grid-auto-flow: dense;
  align-items: start;
}

.dashboard-shell #library-zone.library-zone-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
}

.dashboard-shell #library-zone .library-left-stack {
  display: grid;
  gap: 12px;
}

.dashboard-shell #library-zone .wishlist-card,
.dashboard-shell #library-zone .snapshot-card,
.dashboard-shell #library-zone .sponsored-card {
  grid-area: auto;
  grid-column: auto;
}

.dashboard-shell #saved-area .creator-card {
  grid-column: auto;
}

.dashboard-shell #saved-area .pulse-card,
.dashboard-shell #saved-area .workflow-card {
  grid-column: auto;
}

.dashboard-shell #saved-area.library-zone-layout {
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
  align-items: start;
}

.dashboard-shell #saved-area .saved-left-stack,
.dashboard-shell #saved-area .saved-right-stack {
  display: grid;
  gap: 12px;
  align-content: start;
}

/* Keep snapshot compact so it doesn't create a large dead zone under top-left cards. */
.dashboard-shell #library-zone .snapshot-card .trend-list {
  max-height: 190px;
  overflow: auto;
  padding-right: 2px;
}

.dashboard-shell #library-zone .snapshot-card .trend-row {
  gap: 4px;
}

.dashboard-shell #saved-history-zone .saved-games-card {
  grid-column: span 7;
}

.dashboard-shell #saved-history-zone .redeemed-card {
  grid-column: span 5;
}

.dashboard-shell #saved-history-zone .totals-card {
  grid-column: span 12;
}

.dashboard-shell #saved-history-zone .totals-card .micro-news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

@media (max-width: 1240px) {
  .dashboard-shell .library-zone-layout {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .dashboard-shell #library-zone.library-zone-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-shell #library-zone .library-left-stack {
    gap: 10px;
  }

  .dashboard-shell #saved-area.library-zone-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-shell #saved-area .saved-left-stack,
  .dashboard-shell #saved-area .saved-right-stack {
    gap: 10px;
  }
}

@media (max-width: 1020px) {
  .dashboard-shell .library-zone-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-shell #library-zone.library-zone-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-shell #saved-area .saved-left-stack,
  .dashboard-shell #saved-area .saved-right-stack,
  .dashboard-shell #saved-area .totals-card {
    grid-column: span 1;
  }
}

/* Library tabs restructure */
.dashboard-shell .library-tabs-zone {
  display: grid;
  gap: 12px;
}

.dashboard-shell .library-tabs-shell {
  padding: 12px;
}

.dashboard-shell .library-tabs-shell .section-title {
  margin-bottom: 10px;
}

.dashboard-shell .library-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-shell .library-tab-btn {
  appearance: none;
  border: 1px solid rgba(145, 197, 255, 0.35);
  color: #b9d8ff;
  background: linear-gradient(180deg, rgba(27, 58, 109, 0.84), rgba(11, 33, 74, 0.9));
  border-radius: 999px;
  min-height: 36px;
  padding: 0 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.18s ease;
}

.dashboard-shell .library-tab-btn:hover {
  border-color: rgba(141, 192, 255, 0.7);
  color: #ffffff;
}

.dashboard-shell .library-tab-btn.is-active {
  border-color: rgba(157, 208, 255, 0.9);
  color: #ffffff;
  background: linear-gradient(180deg, #5b87ff, #5f63f2 72%);
  box-shadow: 0 10px 20px rgba(43, 70, 158, 0.35);
}

.dashboard-shell .library-tab-panel[hidden] {
  display: none !important;
}

/* Rewards tabs */
.dashboard-shell .growth-cosmos.growth-tabs-zone {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dashboard-shell .growth-tabs-zone .growth-tabs-shell {
  width: 100%;
}

.dashboard-shell .growth-tabs-zone .growth-tabs-shell .section-title {
  margin-bottom: 10px;
}

.dashboard-shell .growth-tabs-zone [data-growth-tab-card] {
  width: 100%;
  margin: 0;
}

.dashboard-shell .growth-tabs-zone [data-growth-tab-card][hidden] {
  display: none !important;
}

.public-body .dashboard-shell .growth-cosmos.growth-tabs-zone {
  display: flex !important;
  flex-direction: column;
  gap: 14px;
}

.public-body .dashboard-shell .growth-cosmos.growth-tabs-zone[hidden] {
  display: none !important;
}

.public-body .dashboard-shell .growth-cosmos.growth-tabs-zone .growth-tabs-shell,
.public-body .dashboard-shell .growth-cosmos.growth-tabs-zone [data-growth-tab-card] {
  grid-column: auto !important;
  grid-row: auto !important;
  width: 100%;
}

.dashboard-shell .library-tab-grid {
  display: grid;
  gap: 12px;
}

.dashboard-shell .library-tab-grid-overview {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
}

.dashboard-shell .library-tab-grid-overview .snapshot-card {
  grid-column: span 2;
}

.dashboard-shell .library-tab-grid-overview .totals-card .micro-news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.dashboard-shell .library-tab-grid-collection {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-shell .library-tab-grid-collection .wishlist-card {
  grid-column: span 2;
}

.dashboard-shell .library-tab-grid-discover {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.dashboard-shell .library-tab-grid-insights {
  grid-template-columns: 1fr;
}

.dashboard-shell .library-tab-grid-insights .pulse-card .trend-list {
  max-height: 360px;
  overflow: auto;
  padding-right: 2px;
}

@media (max-width: 1200px) {
.dashboard-shell .library-tab-grid-overview,
.dashboard-shell .library-tab-grid-collection,
.dashboard-shell .library-tab-grid-discover {
  grid-template-columns: 1fr;
}

.dashboard-shell .library-tab-grid-overview .snapshot-card,
.dashboard-shell .library-tab-grid-collection .wishlist-card {
  grid-column: span 1;
  grid-row: auto;
}
}

@media (max-width: 760px) {
  .dashboard-shell .library-tabs-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .dashboard-shell .library-tab-btn {
    justify-content: center;
    text-align: center;
  }
}

/* Recommendation card action polish */
.dashboard-shell #saved-recs-zone .feature-card {
  cursor: pointer;
}

.dashboard-shell #saved-recs-zone .feature-image .feature-state-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(150, 178, 224, 0.55);
  background: linear-gradient(180deg, rgba(45, 73, 116, 0.95), rgba(30, 52, 88, 0.95));
  color: #d8e8ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.dashboard-shell #saved-recs-zone .feature-image .feature-state-badge.is-new {
  color: #d8e8ff;
}

.dashboard-shell #saved-recs-zone .feature-image .feature-state-badge.is-saved {
  color: #e8f4ff;
  border-color: rgba(148, 204, 255, 0.75);
  background: linear-gradient(180deg, rgba(74, 137, 233, 0.95), rgba(57, 103, 186, 0.95));
}

.dashboard-shell #saved-recs-zone .feature-image .feature-state-badge.is-wishlisted {
  color: #fff0f8;
  border-color: rgba(245, 175, 236, 0.82);
  background: linear-gradient(180deg, rgba(213, 104, 206, 0.95), rgba(167, 73, 165, 0.95));
}

.dashboard-shell #saved-recs-zone .feature-image .feature-state-badge.is-redeemed {
  color: #ecfff7;
  border-color: rgba(146, 234, 193, 0.8);
  background: linear-gradient(180deg, rgba(55, 182, 133, 0.96), rgba(38, 136, 99, 0.96));
}

.dashboard-shell #saved-recs-zone .feature-image .feature-state-badge.is-hidden {
  color: #ffeaf2;
  border-color: rgba(237, 163, 186, 0.75);
  background: linear-gradient(180deg, rgba(176, 90, 126, 0.95), rgba(133, 66, 95, 0.95));
}

.dashboard-shell #saved-recs-zone .feature-image .action-save-badge {
  min-width: 40px;
  min-height: 40px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  padding: 0;
  font-size: 19px;
  line-height: 1;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d8e8ff;
  border: 1px solid rgba(148, 196, 255, 0.7);
  background: linear-gradient(180deg, rgba(90, 118, 230, 0.95), rgba(60, 84, 180, 0.95));
}

.dashboard-shell #saved-recs-zone .feature-image .action-save-badge.is-on,
.dashboard-shell #saved-recs-zone .feature-image .action-save-badge.is-active {
  color: #ffe58a;
  border-color: rgba(255, 229, 138, 0.8);
  background: linear-gradient(180deg, rgba(95, 168, 255, 0.98), rgba(79, 124, 235, 0.98));
}

.dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact .action-chip {
  min-width: 0;
  width: 100%;
  min-height: 34px;
  height: 34px;
  border-radius: 10px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #d8e7ff;
  border: 1px solid rgba(140, 174, 225, 0.45);
  background: linear-gradient(180deg, rgba(47, 74, 122, 0.96), rgba(30, 53, 95, 0.96));
}

.dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact .action-chip span[aria-hidden="true"] {
  opacity: 0.95;
}

.dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact .action-chip-redeem {
  color: #a8f5d5;
}

.dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact .action-chip-redeem.is-active {
  color: #e9fff5;
  background: linear-gradient(180deg, rgba(47, 184, 139, 0.97), rgba(39, 145, 111, 0.97));
  border-color: rgba(116, 230, 184, 0.82);
}

.dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact .action-chip-hide {
  color: #cad5ea;
}

.dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact .action-chip-hide.is-active {
  color: #ffe4ec;
  background: linear-gradient(180deg, rgba(164, 83, 118, 0.95), rgba(123, 61, 93, 0.95));
  border-color: rgba(235, 148, 183, 0.74);
}

.dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact .action-chip-wishlist {
  color: #e8c6ff;
}

.dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact .action-chip-wishlist.is-active {
  color: #fff0f9;
  background: linear-gradient(180deg, rgba(224, 98, 180, 0.98), rgba(175, 64, 150, 0.98));
  border-color: rgba(255, 180, 226, 0.85);
}

@media (max-width: 720px) {
  .dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact .action-chip span:last-child {
    display: none;
  }

  .dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact .action-chip {
    padding: 0;
    font-size: 15px;
  }
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.checkout-modal[hidden] { display: none !important; }

.checkout-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 24, 0.72);
  backdrop-filter: blur(3px);
}

.checkout-modal-card {
  position: relative;
  width: min(980px, 96vw);
  max-height: 92vh;
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(112, 168, 255, 0.35);
  background: linear-gradient(155deg, #071a34 0%, #062449 100%);
  box-shadow: 0 28px 60px rgba(5, 12, 30, 0.65);
  padding: 18px 18px 16px;
}

.checkout-modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(149, 189, 255, 0.45);
  background: rgba(14, 40, 84, 0.9);
  color: #eef6ff;
  font-weight: 700;
  cursor: pointer;
}

.checkout-modal-head {
  padding-right: 44px;
  margin-bottom: 10px;
}

.checkout-modal-head h3 {
  margin: 0;
  color: #f3f8ff;
  font-size: 30px;
}

.checkout-modal-head .muted {
  margin: 6px 0 0;
}

.checkout-modal-body {
  border-radius: 14px;
  border: 1px solid rgba(101, 153, 233, 0.25);
  background: rgba(4, 20, 41, 0.82);
  padding: 12px;
}

#stripeEmbeddedCheckout {
  min-height: 520px;
}

body.checkout-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .checkout-modal { padding: 10px; }
  .checkout-modal-card { width: min(100%, 100vw); max-height: 95vh; }
  .checkout-modal-head h3 { font-size: 24px; }
  #stripeEmbeddedCheckout { min-height: 460px; }
}

/* Dashboard Visual Refresh */
.public-body .dashboard-shell {
  position: relative;
  background:
    radial-gradient(1200px 520px at 88% -10%, rgba(74, 140, 255, 0.16), transparent 58%),
    radial-gradient(900px 460px at 8% 8%, rgba(35, 208, 255, 0.12), transparent 62%),
    linear-gradient(164deg, #0b223c 0%, #0f2d4b 42%, #112f4a 100%);
  border: 1px solid rgba(126, 170, 227, 0.28);
  box-shadow: 0 24px 60px rgba(8, 18, 40, 0.45), inset 0 1px 0 rgba(203, 233, 255, 0.16);
}

.public-body .dashboard-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(165, 206, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(165, 206, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.35;
}

.public-body .dashboard-shell .dashboard-topbar {
  background: linear-gradient(96deg, rgba(6, 27, 58, 0.95), rgba(7, 36, 70, 0.92));
  border: 1px solid rgba(117, 176, 247, 0.3);
  box-shadow: 0 10px 22px rgba(3, 14, 30, 0.35), inset 0 1px 0 rgba(210, 238, 255, 0.12);
}

.public-body .dashboard-shell .user-board-side {
  background: linear-gradient(178deg, rgba(55, 58, 185, 0.9), rgba(22, 118, 196, 0.88));
  border: 1px solid rgba(133, 180, 255, 0.42);
  box-shadow: 0 14px 30px rgba(5, 20, 54, 0.35), inset 0 1px 0 rgba(224, 238, 255, 0.2);
}

.public-body .dashboard-shell .user-board-side nav a {
  border-radius: 12px;
  transition: all 180ms ease;
}

.public-body .dashboard-shell .user-board-side nav a:hover {
  transform: translateX(2px);
  background: linear-gradient(90deg, rgba(82, 132, 238, 0.45), rgba(61, 123, 244, 0.18));
}

.public-body .dashboard-shell .user-board-side nav a.is-active {
  background: linear-gradient(92deg, rgba(86, 140, 255, 0.5), rgba(76, 121, 235, 0.24));
  box-shadow: inset 0 0 0 1px rgba(167, 205, 255, 0.4), 0 8px 18px rgba(24, 56, 122, 0.25);
}

.public-body .dashboard-shell .section-block,
.public-body .dashboard-shell .feature-card,
.public-body .dashboard-shell .saved-item,
.public-body .dashboard-shell .stack-item,
.public-body .dashboard-shell .saved-empty,
.public-body .dashboard-shell .trend-bar,
.public-body .dashboard-shell .note-input,
.public-body .dashboard-shell .dashboard-stats .card {
  background:
    linear-gradient(160deg, rgba(8, 36, 72, 0.94), rgba(6, 29, 58, 0.96)) !important;
  border: 1px solid rgba(115, 170, 243, 0.28) !important;
  box-shadow: 0 12px 28px rgba(7, 18, 44, 0.26), inset 0 1px 0 rgba(197, 226, 255, 0.1) !important;
}

.public-body .dashboard-shell .section-block {
  border-radius: 18px;
  overflow: hidden;
}

.public-body .dashboard-shell .section-title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(119, 172, 241, 0.22);
}

.public-body .dashboard-shell .section-title h2 {
  letter-spacing: 0.2px;
  font-size: 22px;
}

.public-body .dashboard-shell .micro-news p {
  line-height: 1.5;
}

.public-body .dashboard-shell .saved-item,
.public-body .dashboard-shell .stack-item {
  border-radius: 13px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.public-body .dashboard-shell .saved-item:hover,
.public-body .dashboard-shell .stack-item:hover {
  transform: translateY(-1px);
  border-color: rgba(133, 192, 255, 0.45) !important;
  box-shadow: 0 14px 26px rgba(9, 22, 52, 0.32), inset 0 1px 0 rgba(223, 242, 255, 0.12) !important;
}

.public-body .dashboard-shell .library-toggle,
.public-body .dashboard-shell .saved-actions a,
.public-body .dashboard-shell .saved-actions button,
.public-body .dashboard-shell .feature-actions a,
.public-body .dashboard-shell .feature-actions button {
  background: linear-gradient(94deg, #4f73f0, #587dff) !important;
  border: 1px solid rgba(176, 202, 255, 0.42) !important;
  box-shadow: 0 10px 18px rgba(47, 78, 170, 0.34), inset 0 1px 0 rgba(232, 241, 255, 0.24) !important;
  transition: transform 170ms ease, filter 170ms ease, box-shadow 170ms ease;
}

.public-body .dashboard-shell .library-toggle:hover,
.public-body .dashboard-shell .saved-actions a:hover,
.public-body .dashboard-shell .saved-actions button:hover,
.public-body .dashboard-shell .feature-actions a:hover,
.public-body .dashboard-shell .feature-actions button:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
  box-shadow: 0 14px 24px rgba(47, 80, 176, 0.42), inset 0 1px 0 rgba(236, 245, 255, 0.28) !important;
}

.public-body .dashboard-shell .reward-task-item {
  background: linear-gradient(140deg, rgba(11, 45, 87, 0.92), rgba(9, 33, 65, 0.96));
  border: 1px solid rgba(106, 169, 245, 0.26);
}

.public-body .dashboard-shell .reward-task-points {
  background: linear-gradient(120deg, #3866db, #5b82ff);
  box-shadow: inset 0 1px 0 rgba(232, 243, 255, 0.2);
}

.public-body .dashboard-shell .reward-rule-chips span {
  background: rgba(16, 47, 87, 0.68);
  border: 1px solid rgba(104, 160, 236, 0.36);
}

@media (max-width: 1020px) {
  .public-body .dashboard-shell::before { opacity: 0.2; }
  .public-body .dashboard-shell .section-title h2 { font-size: 20px; }
}

/* Dashboard readability + button alignment refinement */
.public-body .dashboard-shell .section-title h2,
.public-body .dashboard-shell .saved-item strong,
.public-body .dashboard-shell .reward-task-copy strong,
.public-body .dashboard-shell .dashboard-stats .metric {
  color: #f2f8ff !important;
}

.public-body .dashboard-shell .muted,
.public-body .dashboard-shell .saved-item small,
.public-body .dashboard-shell .micro-news p {
  color: #bfd7f2 !important;
}

.public-body .dashboard-shell .micro-news {
  display: grid;
  gap: 7px;
}

.public-body .dashboard-shell .micro-news p {
  margin: 0;
  line-height: 1.42;
}

.public-body .dashboard-shell .section-block > .saved-actions,
.public-body .dashboard-shell .saved-item .saved-actions,
.public-body .dashboard-shell .feature-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.public-body .dashboard-shell .library-toggle,
.public-body .dashboard-shell .saved-actions a,
.public-body .dashboard-shell .saved-actions button,
.public-body .dashboard-shell .feature-actions a,
.public-body .dashboard-shell .feature-actions button {
  min-height: 42px;
  padding: 0 18px !important;
  border-radius: 13px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #f7fbff !important;
  background: linear-gradient(95deg, #5a7df3 0%, #6e90ff 100%) !important;
  border: 1px solid rgba(208, 225, 255, 0.52) !important;
  box-shadow: 0 10px 18px rgba(35, 62, 148, 0.34), inset 0 1px 0 rgba(242, 248, 255, 0.32) !important;
}

.public-body .dashboard-shell .library-toggle:hover,
.public-body .dashboard-shell .saved-actions a:hover,
.public-body .dashboard-shell .saved-actions button:hover,
.public-body .dashboard-shell .feature-actions a:hover,
.public-body .dashboard-shell .feature-actions button:hover {
  filter: brightness(1.08) saturate(1.05);
}

.public-body .dashboard-shell .library-toggle[disabled],
.public-body .dashboard-shell .saved-actions button[disabled],
.public-body .dashboard-shell .feature-actions button[disabled] {
  opacity: 0.58;
  cursor: not-allowed;
  filter: grayscale(0.15);
}

.public-body .dashboard-shell #growth-zone .section-block > .saved-actions {
  margin-top: 14px;
}

.public-body .dashboard-shell .reward-task-item {
  min-height: 92px;
  padding: 16px 18px;
}

.public-body .dashboard-shell .reward-task-copy small {
  color: #abc9eb;
}

.public-body .dashboard-shell .reward-task-points {
  min-width: 66px;
  justify-content: center;
  color: #f3f8ff;
}

.public-body .dashboard-shell .reward-rule-chips {
  margin-top: 12px;
}

/* Cosmic Rewards Redesign */
.public-body .dashboard-shell .dashboard-topbar {
  background:
    radial-gradient(900px 280px at 20% 10%, rgba(140, 92, 255, 0.3), transparent 54%),
    radial-gradient(720px 240px at 86% -8%, rgba(58, 173, 255, 0.18), transparent 58%),
    linear-gradient(95deg, rgba(5, 17, 40, 0.95), rgba(8, 20, 46, 0.96));
}

.public-body .dashboard-shell .dashboard-user-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.public-body .dashboard-shell .top-metric-pills {
  display: flex;
  gap: 8px;
  margin-right: 4px;
}

.public-body .dashboard-shell .top-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(157, 201, 255, 0.42);
  background: linear-gradient(120deg, rgba(49, 78, 177, 0.6), rgba(87, 60, 164, 0.5));
  color: #e5f1ff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(240, 245, 255, 0.2);
}

.public-body .dashboard-shell .growth-cosmos {
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr);
  gap: 14px;
}

.public-body .dashboard-shell .growth-cosmos .growth-card {
  background:
    radial-gradient(680px 250px at 10% 8%, rgba(153, 73, 255, 0.18), transparent 62%),
    radial-gradient(540px 220px at 88% 100%, rgba(28, 179, 255, 0.16), transparent 64%),
    linear-gradient(160deg, rgba(8, 20, 52, 0.96), rgba(5, 17, 42, 0.96)) !important;
  border: 1px solid rgba(130, 183, 255, 0.36) !important;
  box-shadow: 0 16px 34px rgba(4, 12, 30, 0.36), inset 0 0 0 1px rgba(167, 116, 255, 0.15) !important;
}

.public-body .dashboard-shell .growth-cosmos .growth-card-upgrade {
  grid-column: 2;
  grid-row: 1;
}

.public-body .dashboard-shell .growth-cosmos .growth-card-tasks {
  grid-column: 1;
  grid-row: 1;
}

.public-body .dashboard-shell .growth-cosmos .growth-card-snapshot {
  grid-column: 2;
  grid-row: 2;
}

.public-body .dashboard-shell .growth-cosmos .growth-card-redeem {
  grid-column: 1;
  grid-row: 2;
}

.public-body .dashboard-shell .growth-cosmos .growth-card-alerts,
.public-body .dashboard-shell .growth-cosmos .growth-card-referral,
.public-body .dashboard-shell .growth-cosmos .growth-card-analytics {
  grid-column: 2;
}

.public-body .dashboard-shell .pro-perks-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.public-body .dashboard-shell .pro-perks-list li {
  color: #d8e9ff;
  font-weight: 600;
  padding-left: 26px;
  position: relative;
}

.public-body .dashboard-shell .pro-perks-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #d3f7ff;
  background: linear-gradient(135deg, rgba(67, 128, 246, 0.72), rgba(126, 74, 239, 0.72));
}

.public-body .dashboard-shell .pro-upgrade-btn {
  width: 100%;
  margin-top: 16px;
  font-size: 24px !important;
}

.public-body .dashboard-shell .upgrade-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
  margin-top: 14px;
}

.public-body .dashboard-shell .upgrade-actions .library-toggle {
  width: 100%;
}

.public-body .dashboard-shell .upgrade-pricing-copy {
  margin-top: 12px;
}

.public-body .dashboard-shell .plan-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.public-body .dashboard-shell .plan-offer-item {
  border-radius: 12px;
  border: 1px solid rgba(136, 183, 255, 0.34);
  background: linear-gradient(158deg, rgba(15, 37, 78, 0.82), rgba(22, 26, 74, 0.84));
  padding: 10px 11px;
  display: grid;
  gap: 4px;
}

.public-body .dashboard-shell .plan-offer-card {
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  appearance: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.public-body .dashboard-shell .plan-offer-card:hover:not([disabled]) {
  transform: translateY(-1px);
  border-color: rgba(172, 208, 255, 0.52);
  box-shadow: 0 12px 20px rgba(17, 34, 76, 0.3);
  filter: brightness(1.05);
}

.public-body .dashboard-shell .plan-offer-card[disabled] {
  opacity: 0.58;
  cursor: not-allowed;
  filter: grayscale(0.2);
}

.public-body .dashboard-shell .plan-offer-item h4 {
  margin: 0;
  font-size: 14px;
  color: #e8f3ff;
}

.public-body .dashboard-shell .plan-offer-item p {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #f7fbff;
}

.public-body .dashboard-shell .plan-offer-item small {
  color: #b9d3f0;
  line-height: 1.35;
}

.public-body .dashboard-shell .plan-offer-cta {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(178, 210, 255, 0.38);
  background: linear-gradient(98deg, rgba(92, 123, 243, 0.92), rgba(144, 96, 246, 0.88));
  color: #f6fbff;
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
}

.public-body .dashboard-shell .pro-active-badge {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #e0edff;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(110deg, rgba(58, 116, 231, 0.4), rgba(120, 80, 244, 0.35));
  border: 1px solid rgba(165, 200, 255, 0.38);
}

.public-body .dashboard-shell .reward-task-list {
  display: grid;
  gap: 12px;
}

.public-body .dashboard-shell .reward-task-item {
  position: relative;
  min-height: 118px;
  padding: 16px 20px 18px 20px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  column-gap: 14px;
  row-gap: 10px;
  text-align: left;
}

.public-body .dashboard-shell .reward-task-item[data-task="visit_sponsor"] {
  background:
    radial-gradient(420px 120px at 8% 40%, rgba(255, 128, 76, 0.2), transparent 65%),
    linear-gradient(140deg, rgba(52, 28, 29, 0.88), rgba(71, 33, 33, 0.86)) !important;
}

.public-body .dashboard-shell .reward-task-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: linear-gradient(125deg, rgba(73, 121, 255, 0.5), rgba(177, 96, 255, 0.46));
  border: 1px solid rgba(200, 225, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(251, 251, 255, 0.35);
}

.public-body .dashboard-shell .reward-task-right {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.public-body .dashboard-shell .reward-task-points {
  border-radius: 999px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.public-body .dashboard-shell .supporter-bonus-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 213, 153, 0.45);
  background: linear-gradient(100deg, rgba(251, 164, 79, 0.86), rgba(243, 117, 64, 0.82));
  color: #fff7ed;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15px;
}

.public-body .dashboard-shell .reward-task-cta {
  min-width: 146px;
  min-height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #f4f9ff;
  font-weight: 700;
  background: linear-gradient(100deg, rgba(85, 120, 255, 0.95), rgba(168, 89, 246, 0.9));
  border: 1px solid rgba(226, 232, 255, 0.35);
}

.public-body .dashboard-shell .reward-task-item[data-task="visit_sponsor"] .reward-task-cta {
  background: linear-gradient(100deg, rgba(250, 145, 58, 0.95), rgba(224, 97, 50, 0.92));
}

.public-body .dashboard-shell .reward-task-track {
  grid-column: 2 / -1;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(16, 42, 84, 0.9);
  border: 1px solid rgba(121, 176, 251, 0.24);
}

.public-body .dashboard-shell .reward-task-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffce56, #b56fff 62%, #51c9ff);
}

.public-body .dashboard-shell .reward-offerwall-grid {
  margin-top: 12px;
  gap: 10px;
}

.public-body .dashboard-shell .reward-offerwall-card {
  min-height: 86px;
  padding: 14px 16px;
  border-radius: 14px;
  background:
    radial-gradient(420px 120px at 12% 10%, rgba(153, 73, 255, 0.16), transparent 68%),
    linear-gradient(145deg, rgba(12, 35, 75, 0.92), rgba(10, 27, 60, 0.92));
}
.public-body .dashboard-shell .reward-offerwall-card--ogads {
  background:
    radial-gradient(430px 128px at 11% 10%, rgba(95, 149, 255, 0.23), transparent 68%),
    linear-gradient(145deg, rgba(14, 40, 86, 0.93), rgba(11, 30, 68, 0.93));
}
.public-body .dashboard-shell .reward-offerwall-card--torox {
  background:
    radial-gradient(430px 128px at 11% 10%, rgba(82, 226, 224, 0.2), transparent 68%),
    linear-gradient(145deg, rgba(10, 44, 72, 0.93), rgba(9, 33, 62, 0.93));
}
.public-body .dashboard-shell .reward-offerwall-card--adblue {
  background:
    radial-gradient(430px 128px at 11% 10%, rgba(185, 122, 255, 0.22), transparent 68%),
    linear-gradient(145deg, rgba(18, 37, 82, 0.93), rgba(12, 31, 70, 0.93));
}

.public-body .dashboard-shell .reward-offerwall-card .reward-task-copy strong {
  font-size: 20px;
}

.public-body .dashboard-shell .reward-offerwall-card .reward-task-copy small {
  font-size: 13px;
}

.public-body .dashboard-shell .redeem-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.public-body .dashboard-shell .redeem-card {
  border-radius: 14px;
  border: 1px solid rgba(126, 172, 252, 0.32);
  background: linear-gradient(150deg, rgba(13, 35, 77, 0.9), rgba(22, 25, 70, 0.88));
  padding: 14px;
  display: grid;
  gap: 8px;
}

.public-body .dashboard-shell .redeem-card h3 {
  margin: 0;
  font-size: 18px;
  color: #e9f4ff;
}

.public-body .dashboard-shell .redeem-card p {
  margin: 0;
  color: #bbd4f3;
  font-size: 14px;
}

.public-body .dashboard-shell .redeem-card .library-toggle {
  width: 100%;
}

@media (max-width: 1180px) {
  .public-body .dashboard-shell .growth-cosmos {
    grid-template-columns: 1fr;
  }
  .public-body .dashboard-shell .growth-cosmos .growth-card-upgrade,
  .public-body .dashboard-shell .growth-cosmos .growth-card-tasks,
  .public-body .dashboard-shell .growth-cosmos .growth-card-snapshot,
  .public-body .dashboard-shell .growth-cosmos .growth-card-redeem,
  .public-body .dashboard-shell .growth-cosmos .growth-card-alerts,
  .public-body .dashboard-shell .growth-cosmos .growth-card-referral,
  .public-body .dashboard-shell .growth-cosmos .growth-card-analytics {
    grid-column: auto;
    grid-row: auto;
  }
  .public-body .dashboard-shell .redeem-cards-grid {
    grid-template-columns: 1fr;
  }
  .public-body .dashboard-shell .upgrade-actions {
    grid-template-columns: 1fr;
  }
  .public-body .dashboard-shell .plan-offer-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-shell .reward-offerwall-card {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .dashboard-shell .reward-offerwall-card .reward-task-right {
    min-width: 0;
    justify-items: start;
  }
}

@media (max-width: 860px) {
  .public-body .dashboard-shell .dashboard-user-line {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .public-body .dashboard-shell .reward-task-item {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .public-body .dashboard-shell .reward-task-right {
    justify-items: start;
  }
  .public-body .dashboard-shell .reward-task-track {
    grid-column: auto;
  }
}

/* Requested tweak: wider shell + transparent main container */
.public-body .dashboard-shell {
  max-width: 1340px !important;
}

.public-body .dashboard-shell .dashboard-frame,
.dashboard-frame {
  border: 1px solid rgba(85, 132, 186, 0.46) !important;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(5, 24, 43, 0.82), rgba(6, 27, 48, 0.76)) !important;
  box-shadow: 0 18px 36px rgba(2, 13, 27, 0.45) !important;
}

/* Remove marked sidebar block color + empty filler space */
.public-body .dashboard-shell .user-board-side,
.user-board-side {
  background: linear-gradient(178deg, rgba(55, 58, 185, 0.9), rgba(22, 118, 196, 0.88)) !important;
  border: 1px solid rgba(133, 180, 255, 0.42) !important;
  box-shadow: 0 14px 30px rgba(5, 20, 54, 0.35), inset 0 1px 0 rgba(224, 238, 255, 0.2) !important;
  min-height: 0 !important;
  align-self: start;
}

/* Requested tweak: remove dashboard-shell backdrop */
.public-body .dashboard-shell {
  background: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

.public-body .dashboard-shell::before {
  display: none !important;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 2300;
  display: grid;
  place-items: center;
  padding: 20px;
}

.confirm-modal[hidden] { display: none !important; }

.confirm-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 28, 0.72);
  backdrop-filter: blur(3px);
}

.confirm-modal-card {
  position: relative;
  width: min(560px, 95vw);
  border-radius: 16px;
  border: 1px solid rgba(132, 184, 255, 0.4);
  background:
    radial-gradient(450px 180px at 80% -10%, rgba(145, 88, 255, 0.22), transparent 60%),
    linear-gradient(165deg, rgba(8, 26, 56, 0.98), rgba(5, 20, 44, 0.98));
  box-shadow: 0 24px 52px rgba(4, 11, 28, 0.55);
  padding: 18px 18px 16px;
}

.confirm-modal-card h3 {
  margin: 0 0 8px;
  color: #f0f7ff;
  font-size: 32px;
}

.confirm-modal-list {
  margin: 10px 0;
  padding: 0 0 0 18px;
  color: #d6e9ff;
  display: grid;
  gap: 6px;
}

.confirm-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

.confirm-modal-actions .library-toggle.danger {
  background: linear-gradient(100deg, #d15a6f, #c44357) !important;
  border-color: rgba(255, 200, 210, 0.45) !important;
}

.confirm-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(151, 193, 255, 0.45);
  background: rgba(15, 43, 87, 0.88);
  color: #f3f8ff;
  cursor: pointer;
}

body.plan-downgrade-modal-open {
  overflow: hidden;
}

@media (max-width: 740px) {
  .confirm-modal-actions {
    flex-direction: column;
  }
  .confirm-modal-actions .library-toggle {
    width: 100%;
  }
}

/* PlayRadar public discovery redesign */
:root {
  --radar-bg: #09111f;
  --radar-bg-2: #0d1a2b;
  --radar-panel: #ffffff;
  --radar-panel-soft: #f3f7fb;
  --radar-line: #d8e2ee;
  --radar-ink: #142033;
  --radar-muted: #617086;
  --radar-blue: #2f75ff;
  --radar-blue-2: #1f5fd6;
  --radar-mint: #19ad78;
  --radar-amber: #ffb84d;
}

.public-body {
  background:
    linear-gradient(180deg, #0a1424 0, #101c2e 330px, #ecf2f8 331px, #f6f8fb 100%) !important;
  color: var(--radar-ink);
}

.public-shell {
  max-width: 1360px;
  gap: 16px;
  padding: 0 18px 22px;
}

.public-body .fullsite-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    linear-gradient(180deg, rgba(8, 18, 32, 0.94), rgba(8, 18, 32, 0.84)) !important;
  border-bottom: 1px solid rgba(152, 183, 225, 0.22);
  box-shadow: 0 12px 26px rgba(2, 8, 18, 0.28);
  backdrop-filter: blur(16px);
}

.public-body .fullsite-header-inner {
  padding: 10px 0;
}

.public-body .brand-line {
  min-width: 0;
}

.public-body .brand-mark {
  height: 48px;
  max-width: 300px;
  filter: drop-shadow(0 8px 20px rgba(47, 117, 255, 0.24));
}

.public-body .public-nav {
  align-items: center;
  border: 1px solid rgba(144, 177, 220, 0.22);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 8px;
  padding: 4px;
}

.public-body .public-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  color: #c6d5eb;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 13px;
}

.public-body .public-nav a.active,
.public-body .public-nav a:hover {
  background: #f4f8ff;
  color: #10223a;
}

.public-body .btn-ghost,
.public-body .signin {
  min-height: 38px;
  border-radius: 8px;
  border-color: rgba(90, 151, 255, 0.42);
  background: linear-gradient(180deg, rgba(47, 117, 255, 0.96), rgba(31, 95, 214, 0.96));
  box-shadow: 0 10px 18px rgba(17, 82, 201, 0.22);
}

.home-command-center,
.public-shell > .home-hero-strip.home-command-center {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 22px;
  align-items: stretch;
  min-height: 430px;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid rgba(121, 166, 232, 0.24);
  background:
    linear-gradient(90deg, rgba(8, 18, 32, 0.96), rgba(11, 29, 53, 0.92)),
    linear-gradient(135deg, #0a1424, #132642 68%, #0e2832) !important;
  box-shadow: 0 24px 54px rgba(3, 10, 24, 0.32);
}

.home-command-center::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(136, 177, 235, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(136, 177, 235, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.88), transparent 72%);
  pointer-events: none;
}

.home-command-center > * {
  position: relative;
  z-index: 1;
}

.home-hero-copy {
  align-content: center;
}

.home-hero-copy .kicker {
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(105, 166, 255, 0.38);
  background: rgba(47, 117, 255, 0.12);
  color: #9ec5ff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-hero-copy h1 {
  max-width: 620px;
  margin: 0;
  color: #f7fbff;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.96;
}

.home-hero-copy > p:not(.kicker):not(.home-trending-pill) {
  max-width: 610px;
  margin: 16px 0 0;
  color: #b9c9de;
  font-size: 18px;
  line-height: 1.55;
}

.home-hero-filter {
  margin-top: 22px;
  grid-template-columns: minmax(220px, 1.4fr) minmax(150px, 0.85fr) minmax(140px, 0.75fr) auto;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(140, 180, 235, 0.28);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-hero-filter input,
.home-hero-filter select,
.home-hero-filter button {
  min-height: 46px;
  border-radius: 6px;
}

.home-hero-filter input,
.home-hero-filter select {
  border-color: rgba(160, 192, 232, 0.28);
  background: rgba(246, 250, 255, 0.96);
  color: #15243a;
}

.home-hero-filter button {
  border-color: rgba(49, 202, 142, 0.75);
  background: linear-gradient(180deg, #20bd82, #168e63);
  box-shadow: 0 10px 20px rgba(22, 142, 99, 0.26);
}

.home-hero-ctas {
  margin-top: 18px;
  gap: 10px;
}

.home-hero-cta-primary,
.home-hero-cta-secondary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px !important;
  padding: 0 16px !important;
}

.home-hero-cta-primary {
  background: linear-gradient(180deg, var(--radar-blue), var(--radar-blue-2)) !important;
  border-color: rgba(116, 168, 255, 0.72) !important;
}

.home-hero-cta-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(159, 194, 239, 0.32) !important;
  color: #dbe8f8 !important;
}

.home-trending-pill {
  width: fit-content;
  margin-top: 14px !important;
  padding: 8px 10px;
  border: 1px solid rgba(255, 184, 77, 0.32);
  border-radius: 8px;
  background: rgba(255, 184, 77, 0.1);
  color: #ffdb9a !important;
}

.home-radar-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(164, 197, 238, 0.28);
  background: rgba(246, 250, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.home-radar-panel-head,
.home-hero-stats {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.home-radar-panel-head span {
  color: #f5f9ff;
  font-weight: 800;
}

.home-radar-panel-head strong {
  color: #ffcf78;
  font-size: 13px;
}

.home-radar-list {
  display: grid;
  gap: 10px;
  align-content: center;
}

.home-radar-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 104px;
  padding: 9px;
  border-radius: 8px;
  border: 1px solid rgba(164, 197, 238, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 253, 0.98));
  color: var(--radar-ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.home-radar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 117, 255, 0.42);
  box-shadow: 0 16px 28px rgba(2, 10, 24, 0.24);
}

.home-radar-art {
  width: 112px;
  height: 72px;
  border-radius: 7px;
  border: 1px solid #d2deeb;
  background-color: #17263a;
  background-size: cover;
  background-position: center;
}

.home-radar-copy {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.home-radar-copy strong {
  overflow: hidden;
  color: var(--radar-ink);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 18px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-radar-copy small {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: var(--radar-muted);
}

.home-radar-claim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 7px;
  background: #e7f8f1;
  color: #0f7b55;
  font-size: 12px;
  font-weight: 900;
}

.home-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-hero-stats article {
  min-height: 76px;
  border-radius: 8px;
  border: 1px solid rgba(164, 197, 238, 0.2);
  background: rgba(5, 14, 28, 0.42);
}

.home-hero-stats article strong {
  color: #ffffff;
}

.home-hero-stats article span {
  color: #aebfd6;
}

.home-layout.home-backplate {
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.8fr);
}

.home-shell .section-block,
.home-shell .recent-strip,
.home-shell .platform-spotlights-shell,
.public-shell > .section-block {
  border-radius: 8px;
  border-color: var(--radar-line) !important;
  background: var(--radar-panel) !important;
  box-shadow: 0 12px 26px rgba(18, 32, 51, 0.08) !important;
}

.home-shell .section-title h2,
.section-title h2 {
  color: var(--radar-ink) !important;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: 0;
}

.home-shell .section-title a,
.section-title a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 7px;
  background: #eef4ff;
  color: var(--radar-blue-2) !important;
}

.home-shell .game-tile,
.home-shell .feature-card,
.home-shell .stack-item,
.deal-row,
.recent-chip,
.platform-spotlight-card {
  border-radius: 8px !important;
  border-color: var(--radar-line) !important;
  background: #ffffff !important;
  box-shadow: 0 8px 18px rgba(18, 32, 51, 0.06);
}

.home-shell .game-tile,
.home-shell .feature-card {
  overflow: hidden;
}

.home-shell .tile-art,
.home-shell .feature-image,
.deal-thumb {
  background-color: #132034;
  background-size: cover !important;
  background-position: center !important;
}

.home-shell .tile-art {
  height: 126px;
}

.home-shell .feature-image {
  height: 168px;
}

.home-shell .tile-meta,
.home-shell .feature-body {
  padding: 12px;
}

.home-shell .tile-meta strong,
.home-shell .feature-body h3,
.deal-copy h3,
.stack-item span {
  color: var(--radar-ink) !important;
}

.home-shell .tile-meta span,
.home-shell .feature-body p,
.deal-copy p,
.stack-item small {
  color: var(--radar-muted) !important;
}

.stack-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 54px;
}

.feature-actions a,
.feature-actions button,
.deal-actions a,
.game-modal-primary,
.game-modal-secondary {
  border-radius: 8px !important;
}

.deal-list {
  gap: 10px;
}

.deal-row {
  grid-template-columns: 156px minmax(0, 1fr) auto;
  min-height: 104px;
  padding: 10px;
}

.deal-thumb {
  width: 156px;
  height: 88px;
  border-radius: 7px;
  border: 1px solid var(--radar-line);
}

.public-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 18px;
  align-items: end;
  padding: 22px;
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(8, 18, 32, 0.96), rgba(16, 37, 65, 0.92)) !important;
}

.public-hero .quick-filter {
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(128px, 0.65fr)) auto;
}

.game-modal-card {
  border-radius: 8px;
  border-color: rgba(151, 181, 222, 0.42);
}

.game-modal-primary {
  background: linear-gradient(180deg, #20bd82, #168e63) !important;
  border-color: rgba(49, 202, 142, 0.75) !important;
}

@media (max-width: 1120px) {
  .home-command-center,
  .public-shell > .home-hero-strip.home-command-center,
  .public-hero {
    grid-template-columns: 1fr;
  }

  .home-hero-filter,
  .public-hero .quick-filter {
    grid-template-columns: 1fr 1fr;
  }

  .home-hero-filter input,
  .public-hero .quick-filter input {
    grid-column: 1 / -1;
  }

  .home-hero-filter button,
  .public-hero .quick-filter button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .public-body {
    background:
      linear-gradient(180deg, #0a1424 0, #101c2e 430px, #ecf2f8 431px, #f6f8fb 100%) !important;
  }

  .public-shell {
    padding: 0 10px 16px;
  }

  .home-command-center,
  .public-shell > .home-hero-strip.home-command-center {
    min-height: 0;
    padding: 18px;
  }

  .home-hero-copy h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .public-hero .quick-filter,
  .home-layout.home-backplate {
    grid-template-columns: 1fr;
  }

  .home-hero-filter {
    grid-template-columns: 1fr 1fr;
  }

  .home-hero-filter input,
  .home-hero-filter button {
    grid-column: 1 / -1;
  }

  .home-hero-copy > p:not(.kicker):not(.home-trending-pill) {
    font-size: 15px;
    line-height: 1.45;
  }

  .home-hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-radar-panel {
    padding: 10px;
    gap: 9px;
  }

  .home-radar-list {
    gap: 8px;
  }

  .home-radar-card:nth-child(n + 3),
  .home-radar-panel .home-hero-stats {
    display: none;
  }

  .home-radar-card {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 86px;
  }

  .home-radar-art {
    width: 86px;
    height: 58px;
  }

  .home-radar-claim {
    display: none;
  }

  .deal-row {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .deal-thumb {
    width: 100px;
    height: 64px;
  }
}

/* Concept fidelity pass: dark game radar composition */
.public-body {
  background:
    linear-gradient(180deg, rgba(2, 9, 18, 0.96) 0, rgba(4, 15, 29, 0.96) 58%, #eef2f7 58%, #f7f9fc 100%),
    linear-gradient(rgba(43, 126, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 126, 255, 0.06) 1px, transparent 1px) !important;
  background-size: auto, 72px 72px, 72px 72px !important;
}

.public-body .fullsite-header {
  background: rgba(4, 12, 24, 0.96) !important;
  border-bottom: 1px solid rgba(70, 126, 199, 0.28) !important;
}

.public-body .fullsite-header-inner {
  min-height: 82px;
}

.public-body .brand-mark {
  height: 58px;
  max-width: 320px;
}

.public-body .public-nav {
  background: transparent;
  border: 0;
  gap: 14px;
  padding: 0;
}

.public-body .public-nav a {
  position: relative;
  min-height: 52px;
  padding: 0 4px;
  border-radius: 0;
  color: #d7deea;
  font-size: 15px;
  font-weight: 800;
}

.public-body .public-nav a.active,
.public-body .public-nav a:hover {
  background: transparent;
  color: #ffffff;
}

.public-body .public-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 4px;
  border-radius: 999px;
  background: #1e73ff;
  box-shadow: 0 0 16px rgba(30, 115, 255, 0.76);
}

.public-body .header-actions {
  gap: 18px;
}

.watchlist-link,
.header-gear {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d9e2f0;
  font-weight: 800;
  text-decoration: none;
}

.header-gear {
  font-size: 21px;
  color: #b9c6da;
}

.public-body .btn-ghost {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 7px;
  background: linear-gradient(180deg, #1470ff, #075de7);
  border-color: rgba(79, 145, 255, 0.82);
}

.radar-live-rail {
  display: grid;
  grid-template-columns: 130px repeat(4, minmax(0, 1fr));
  align-items: center;
  min-height: 54px;
  border: 1px solid rgba(70, 126, 199, 0.34);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(5, 20, 38, 0.98), rgba(6, 21, 39, 0.86)),
    linear-gradient(90deg, transparent, rgba(36, 116, 255, 0.08), transparent);
  box-shadow: inset 0 1px 0 rgba(177, 208, 255, 0.08), 0 16px 34px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.radar-live-rail article {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 26px;
  color: #d8e3f2;
  border-right: 1px solid rgba(91, 144, 207, 0.22);
  white-space: nowrap;
}

.radar-live-rail article:last-child {
  border-right: 0;
}

.radar-live-rail strong,
.radar-live-rail b {
  color: #ffffff;
  font-size: 20px;
}

.radar-live-rail span {
  color: #b7c3d2;
  font-weight: 700;
}

.radar-live-rail article > span[aria-hidden="true"] {
  color: #2d7dff;
  font-size: 23px;
}

.radar-live-rail article:nth-child(4) > span[aria-hidden="true"] {
  color: #67df86;
}

.rail-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #66dc7b;
  box-shadow: 0 0 14px rgba(102, 220, 123, 0.8);
}

.home-command-center,
.public-shell > .home-hero-strip.home-command-center {
  min-height: 460px;
  grid-template-columns: minmax(0, 1.04fr) minmax(520px, 0.96fr);
  gap: 12px;
  align-items: start;
  padding: 18px 20px 0;
  border: 1px solid rgba(70, 126, 199, 0.32);
  border-radius: 0;
  background:
    linear-gradient(rgba(55, 133, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 133, 255, 0.06) 1px, transparent 1px),
    radial-gradient(900px 380px at 24% 30%, rgba(15, 90, 180, 0.22), transparent 62%),
    linear-gradient(140deg, #04101f, #061526 58%, #071927) !important;
  background-size: 80px 80px, 80px 80px, auto, auto !important;
  box-shadow: none;
}

.home-command-center::before {
  opacity: 0.9;
  background-image:
    linear-gradient(135deg, transparent 48%, rgba(40, 123, 255, 0.22) 49%, transparent 50%),
    linear-gradient(rgba(60, 137, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 137, 255, 0.055) 1px, transparent 1px);
  background-size: 260px 260px, 40px 40px, 40px 40px;
  mask-image: none;
}

.home-hero-copy {
  align-content: start;
  padding: 20px 4px 0 6px;
}

.home-hero-copy .kicker {
  display: none;
}

.home-hero-copy h1 {
  max-width: 650px;
  color: #ffffff;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: clamp(50px, 4.8vw, 70px);
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.52);
}

.home-hero-copy h1 span {
  display: inline-block;
  color: #2077ff;
  text-shadow: 0 0 24px rgba(32, 119, 255, 0.36);
  white-space: nowrap;
}

.home-hero-copy > p:not(.kicker):not(.home-trending-pill) {
  max-width: 590px;
  margin-top: 12px;
  color: #d5deeb;
  font-size: 18px;
  line-height: 1.42;
}

.home-hero-copy em {
  color: #29a2ff;
  font-style: normal;
}

.home-hero-copy mark {
  padding: 0;
  background: transparent;
  color: #ffb33f;
}

.home-hero-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 0 15px;
  border-radius: 7px 0 0 7px;
  background: #f5f7fb;
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #263244;
}

.hero-search-field > span[aria-hidden="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  line-height: 1;
  color: #697d9f;
  font-size: 13px;
}

.hero-search-field input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 54px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 15px;
}

.hero-filter-button {
  min-height: 58px !important;
  border-radius: 0 7px 7px 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-left: 1px solid #d7dde8 !important;
  background: #f5f7fb !important;
  color: #283548 !important;
  box-shadow: none !important;
}

.home-hero-filter select,
.filter-clear {
  min-height: 38px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(135, 160, 193, 0.38) !important;
  background: rgba(5, 16, 31, 0.82) !important;
  color: #eef4ff !important;
  padding: 0 14px !important;
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.home-hero-filter select:nth-of-type(1) {
  grid-column: 1;
}

.filter-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  text-decoration: none;
  color: #aab5c7 !important;
  background: transparent !important;
  border-color: transparent !important;
}

.home-hero-ctas {
  margin-top: 14px;
}

.home-hero-cta-primary {
  min-width: 290px;
  min-height: 56px;
  border-radius: 7px !important;
  font-size: 16px;
  font-weight: 900;
  background: linear-gradient(180deg, #1470ff, #075de7) !important;
  box-shadow: 0 16px 26px rgba(7, 93, 231, 0.3);
}

.hero-benefit-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 16px;
  margin-bottom: 0;
  border: 1px solid rgba(97, 148, 213, 0.32);
  border-radius: 8px;
  background: rgba(4, 14, 27, 0.76);
  overflow: hidden;
}

.hero-benefit-strip span {
  min-height: 66px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 10px;
  align-content: center;
  padding: 10px 14px;
  border-right: 1px solid rgba(97, 148, 213, 0.24);
}

.hero-benefit-strip span:last-child {
  border-right: 0;
}

.hero-benefit-strip b {
  grid-row: span 2;
  align-self: center;
  color: #2b82ff;
  font-size: 25px;
}

.hero-benefit-strip strong {
  color: #f4f8ff;
  font-size: 13px;
}

.hero-benefit-strip small {
  color: #aeb9ca;
  font-size: 12px;
}

.home-radar-panel {
  padding: 16px 0 10px;
  border: 1px solid rgba(97, 148, 213, 0.32);
  border-radius: 8px;
  background: rgba(3, 11, 23, 0.7);
}

.home-radar-list {
  gap: 10px;
  align-content: start;
}

.home-radar-card {
  grid-template-columns: 166px minmax(0, 1fr) 118px;
  min-height: 124px;
  margin: 0 10px;
  padding: 8px;
  border-color: rgba(102, 151, 210, 0.32);
  background: linear-gradient(180deg, rgba(6, 18, 33, 0.98), rgba(4, 13, 25, 0.98));
  color: #f6f9ff;
}

.home-radar-art {
  width: 166px;
  height: 106px;
  border-color: rgba(149, 178, 218, 0.24);
  border-radius: 7px;
}

.home-radar-copy {
  align-content: center;
  gap: 7px;
}

.radar-store-line {
  display: flex !important;
  gap: 8px;
  align-items: center;
}

.radar-store-line i {
  padding: 3px 7px;
  border-radius: 5px;
  border: 1px solid rgba(91, 225, 123, 0.54);
  color: #61e37b;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-radar-copy strong {
  color: #ffffff;
  font-size: 18px;
  white-space: normal;
}

.radar-price-line {
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 900;
}

.home-radar-side {
  display: grid;
  gap: 7px;
  justify-items: end;
  align-content: center;
}

.home-radar-side small {
  display: block;
  width: 100%;
  padding: 6px 8px 0;
  border: 1px solid rgba(83, 194, 106, 0.32);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  color: #70e083;
  background: rgba(29, 116, 49, 0.22);
  text-align: center;
  text-transform: uppercase;
  font-weight: 900;
}

.home-radar-side .countdown {
  display: block;
  width: 100%;
  margin-top: -7px;
  padding: 0 8px 8px;
  border: 1px solid rgba(83, 194, 106, 0.32);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  color: #70e083;
  background: rgba(29, 116, 49, 0.22);
  text-align: center;
  font-size: 16px;
}

.home-radar-claim {
  width: 100%;
  min-height: 34px;
  border-radius: 6px;
  background: linear-gradient(180deg, #49b95a, #28883f);
  color: #ffffff;
}

.home-layout.home-backplate {
  grid-template-columns: minmax(0, 1.95fr) minmax(390px, 1.05fr);
  gap: 4px;
}

.home-shell .section-block,
.home-shell .recent-strip,
.home-shell .platform-spotlights-shell,
.public-shell > .section-block {
  border-radius: 8px;
  background: #ffffff !important;
  border-color: rgba(190, 199, 214, 0.9) !important;
}

.home-shell .section-title {
  min-height: 44px;
  border-bottom: 1px solid #dce2ec;
  margin-bottom: 10px;
}

.home-shell .section-title h2,
.section-title h2 {
  color: #111c31 !important;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: 19px;
  text-transform: uppercase;
}

.home-shell .section-title h2::before {
  content: "\26A1";
  margin-right: 10px;
  color: #101b2f;
}

.home-shell .section-title a,
.section-title a {
  background: transparent;
  color: #075de7 !important;
  text-decoration: underline;
}

.home-shell .tile-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-shell .game-tile,
.home-shell .feature-card {
  border-color: #dce2ec !important;
  background: #ffffff !important;
  box-shadow: none;
}

.home-shell .tile-art {
  height: 192px;
}

.home-shell .tile-meta {
  min-height: 126px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.home-shell .tile-meta strong {
  font-size: 16px;
}

.home-shell .tile-meta .countdown {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 4px;
  background: #07111f;
  color: #ffce55;
}

.stack-list {
  gap: 0;
}

.stack-item {
  grid-template-columns: 28px 98px minmax(0, 1fr) 48px 72px;
  min-height: 74px;
  padding: 9px 0;
  border: 0 !important;
  border-bottom: 1px solid #e0e5ee !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.stack-rank {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #1369ef;
  color: #ffffff;
  font-size: 12px;
}

.stack-thumb {
  width: 92px;
  height: 50px;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
}

.stack-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.stack-copy strong {
  overflow: hidden;
  color: #111c31;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stack-copy small {
  color: #5c6878;
  font-size: 12px;
}

.stack-free {
  color: #1d8f3b;
  font-weight: 900;
}

.stack-play {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b9c8df;
  border-radius: 4px;
  color: #075de7;
  font-size: 11px;
  font-weight: 900;
}

.store-tracker-rail {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 7px;
  border: 1px solid #d7dee9;
  background: #ffffff;
  color: #3b4656;
  overflow-x: auto;
}

.store-tracker-rail strong {
  color: #1b2638;
  font-size: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

.store-tracker-rail span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b4656;
  font-size: 12px;
  white-space: nowrap;
}

.store-tracker-rail .source-pill {
  padding: 0;
  background: transparent;
  border: 0;
}

.store-tracker-rail small {
  color: #5c6878;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .radar-live-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-command-center,
  .public-shell > .home-hero-strip.home-command-center,
  .home-layout.home-backplate {
    grid-template-columns: 1fr;
  }

  .home-radar-card {
    grid-template-columns: 180px minmax(0, 1fr) 130px;
  }

  .home-radar-art {
    width: 180px;
  }

  .home-shell .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .public-body .fullsite-header-inner {
    min-height: 0;
  }

  .watchlist-link,
  .header-gear {
    display: none;
  }

  .radar-live-rail {
    grid-template-columns: 1fr 1fr;
  }

  .radar-live-rail article {
    min-height: 46px;
    padding: 0 12px;
    gap: 7px;
  }

  .radar-live-rail article:first-child {
    grid-column: 1 / -1;
  }

  .radar-live-rail b,
  .radar-live-rail strong {
    font-size: 16px;
  }

  .home-command-center,
  .public-shell > .home-hero-strip.home-command-center {
    padding: 14px;
  }

  .home-hero-copy {
    padding: 6px 0 0;
  }

  .home-hero-copy h1 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .home-hero-filter {
    grid-template-columns: 1fr;
  }

  .hero-search-field,
  .hero-filter-button {
    border-radius: 7px !important;
  }

  .home-hero-filter select,
  .filter-clear {
    width: 100%;
  }

  .hero-benefit-strip {
    display: none;
  }

  .hero-benefit-strip span {
    min-height: 64px;
  }

  .home-radar-card {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 90px;
  }

  .home-radar-art {
    width: 92px;
    height: 66px;
  }

  .home-radar-side {
    grid-column: 1 / -1;
    display: none;
    justify-items: stretch;
  }

  .home-radar-side small,
  .home-radar-side .countdown {
    display: none;
  }

  .home-shell .tile-grid {
    grid-template-columns: 1fr;
  }

  .stack-item {
    grid-template-columns: 28px 72px minmax(0, 1fr);
  }

  .stack-thumb {
    width: 66px;
    height: 42px;
  }

  .stack-free,
  .stack-play {
    display: none;
  }
}

/* Fixes from visual QA: alignment, live rail, hero overlap, and filter behavior */
.public-body .fullsite-header-inner {
  align-items: center;
}

.public-body .public-nav {
  align-self: center;
  align-items: center;
}

.public-body .public-nav a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 12px;
  border-radius: 7px;
}

.public-body .public-nav a.active {
  border: 1px solid rgba(118, 169, 255, 0.52);
  background: rgba(15, 36, 64, 0.72);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.22);
}

.radar-live-rail {
  grid-template-columns: 130px repeat(4, minmax(0, 1fr));
  min-height: 50px;
}

.radar-live-rail article {
  min-height: 50px;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  line-height: 1;
}

.radar-live-rail article:first-child {
  justify-content: center;
}

.radar-live-rail strong,
.radar-live-rail b {
  font-size: 17px;
  line-height: 1;
}

.radar-live-rail span {
  font-size: 14px;
  line-height: 1;
}

.radar-live-rail article > span[aria-hidden="true"] {
  font-size: 18px;
}

.rail-dot {
  animation: radarPulse 1.25s ease-in-out infinite;
}

@keyframes radarPulse {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.62;
    box-shadow: 0 0 0 0 rgba(102, 220, 123, 0.66), 0 0 12px rgba(102, 220, 123, 0.7);
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
    box-shadow: 0 0 0 7px rgba(102, 220, 123, 0), 0 0 18px rgba(102, 220, 123, 0.95);
  }
}

.home-command-center,
.public-shell > .home-hero-strip.home-command-center {
  grid-template-columns: minmax(0, 1fr) minmax(540px, 0.92fr);
  padding-bottom: 18px;
  overflow: hidden;
}

.home-hero-copy {
  min-width: 0;
}

.home-hero-copy h1 {
  max-width: 600px;
  font-size: clamp(44px, 4.15vw, 60px);
  line-height: 1.03;
}

.home-hero-copy h1 span {
  white-space: normal;
}

.home-hero-filter {
  max-width: 650px;
}

.home-hero-cta-primary {
  appearance: none;
  border: 1px solid rgba(79, 145, 255, 0.82) !important;
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  text-decoration: none;
}

.hero-benefit-strip {
  max-width: none;
}

.hero-benefit-strip span {
  padding: 9px 14px;
}

@media (max-width: 1180px) {
  .home-command-center,
  .public-shell > .home-hero-strip.home-command-center {
    grid-template-columns: 1fr;
  }

  .home-hero-copy h1,
  .home-hero-filter,
  .hero-benefit-strip {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .public-body .public-nav a {
    min-height: 40px;
    padding: 0 10px;
  }

  .radar-live-rail article {
    justify-content: flex-start;
  }

  .home-hero-copy h1 {
    font-size: clamp(34px, 10vw, 46px);
  }
}

/* Button text centering fix */
.public-body .header-actions .btn-ghost,
.public-body .btn-ghost,
.hero-filter-button,
.home-hero-cta-primary,
.home-radar-claim,
.deal-actions a,
.feature-actions a,
.feature-actions button,
.stack-play {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  text-align: center !important;
  vertical-align: middle !important;
}

.public-body .header-actions .btn-ghost,
.public-body .btn-ghost {
  height: 52px;
  min-height: 52px;
  padding: 0 24px !important;
  white-space: nowrap;
}

.hero-filter-button {
  gap: 7px;
  padding: 0 18px !important;
}

.home-hero-cta-primary {
  gap: 9px;
  padding: 0 22px !important;
}

/* Short-page layout: continuous dark background + sticky footer */
html {
  min-height: 100%;
  background: #07111f;
}

body.public-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(4, 12, 23, 0.98) 0%, rgba(7, 17, 31, 0.98) 48%, rgba(7, 17, 31, 1) 100%),
    linear-gradient(rgba(43, 126, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 126, 255, 0.05) 1px, transparent 1px) !important;
  background-size: auto, 72px 72px, 72px 72px !important;
  background-color: #07111f !important;
}

.public-body .public-shell {
  flex: 1 0 auto;
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 28px;
  align-content: start;
  grid-auto-rows: auto;
}

.public-body .public-shell > .card,
.public-body .kpi-row > .card,
.public-body .stats-grid > .card,
.public-body .section-block {
  align-self: start;
}

.public-body .fullsite-footer {
  margin-top: auto;
  flex-shrink: 0;
}

.public-body .fullsite-footer-inner {
  padding-top: 18px;
  padding-bottom: 16px;
}

/* Radar-style game modal + delayed redirect state */
.game-modal {
  z-index: 120;
  padding: 22px;
}

.game-modal-backdrop {
  background:
    radial-gradient(900px 500px at 50% 20%, rgba(38, 111, 255, 0.18), transparent 58%),
    rgba(1, 8, 17, 0.82) !important;
  backdrop-filter: blur(8px);
}

.game-modal-card {
  width: min(1060px, 96vw);
  min-height: 560px;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  border-radius: 10px !important;
  border: 1px solid rgba(92, 151, 229, 0.42) !important;
  background:
    linear-gradient(135deg, rgba(5, 16, 31, 0.98), rgba(6, 18, 35, 0.98)) !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(190, 219, 255, 0.08) !important;
}

.game-modal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(55, 133, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 133, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.65;
}

.game-modal-close {
  right: 14px;
  top: 14px;
  width: 38px;
  height: 38px;
  border-radius: 8px !important;
  border: 1px solid rgba(111, 169, 247, 0.42) !important;
  background: rgba(7, 21, 40, 0.9) !important;
  color: #d8e8ff !important;
  cursor: pointer;
}

.game-modal-close:hover {
  border-color: rgba(143, 190, 255, 0.8) !important;
  color: #ffffff !important;
}

.game-modal-media {
  position: relative;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  background-color: #071525 !important;
}

.game-modal-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 62%, rgba(5, 16, 31, 0.92)),
    linear-gradient(180deg, rgba(4, 12, 24, 0.08), rgba(4, 12, 24, 0.34));
}

.game-modal-body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  padding: 42px 34px 34px;
  color: #eaf3ff;
}

.game-modal-body h3 {
  color: #ffffff;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0;
}

.game-modal-body p {
  color: #b8c9e2;
}

#gameModalMeta {
  width: fit-content;
  margin-top: 14px;
  padding: 6px 9px;
  border: 1px solid rgba(92, 151, 229, 0.38);
  border-radius: 999px;
  background: rgba(19, 44, 77, 0.72);
  color: #d9e8ff;
  font-size: 13px;
  font-weight: 800;
}

#gameModalEnds {
  color: #71e187 !important;
  font-weight: 900;
}

.game-modal-desc {
  color: #c6d6eb !important;
  font-size: 15px;
  line-height: 1.55;
}

.game-modal-facts {
  gap: 8px;
}

.game-modal-facts span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(92, 151, 229, 0.35) !important;
  border-radius: 8px !important;
  background: rgba(8, 24, 44, 0.86) !important;
  color: #dbe8f8 !important;
  box-shadow: inset 0 1px 0 rgba(205, 228, 255, 0.06);
}

.game-modal-facts .source-pill {
  background: rgba(218, 232, 255, 0.94);
  border-color: rgba(170, 198, 236, 0.65);
}

.game-modal-actions {
  gap: 10px;
  margin-top: 18px;
}

.game-modal-primary,
.game-modal-secondary {
  min-height: 48px;
  border-radius: 8px !important;
  padding: 0 18px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.game-modal-primary {
  min-width: 170px;
  background: linear-gradient(180deg, #20bd82, #168e63) !important;
  border-color: rgba(57, 220, 154, 0.72) !important;
  box-shadow: 0 14px 28px rgba(22, 142, 99, 0.28) !important;
}

.game-modal-primary.is-counting-down {
  background: linear-gradient(180deg, #2076f2, #145fd1) !important;
  border-color: rgba(118, 170, 255, 0.72) !important;
}

.game-modal-secondary {
  background: rgba(18, 45, 79, 0.92) !important;
  border-color: rgba(102, 159, 236, 0.48) !important;
  color: #dcecff !important;
}

@media (max-width: 860px) {
  .game-modal-card {
    grid-template-columns: 1fr;
    min-height: 0;
    max-height: 92vh;
    overflow-y: auto;
  }

  .game-modal-media {
    min-height: 240px;
  }

  .game-modal-media::after {
    background: linear-gradient(180deg, transparent, rgba(5, 16, 31, 0.72));
  }

  .game-modal-body {
    padding: 26px 18px 20px;
  }
}

/* Data-backed home polish: readable logos, live timers, cleaner media frames */
.source-pill {
  gap: 5px;
  min-height: 24px;
  min-width: 24px;
  padding: 3px 8px;
  background: rgba(246, 250, 255, 0.96);
  border-color: rgba(126, 159, 205, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.source-pill img {
  height: 16px;
  max-width: 72px;
}

.source-pill-text {
  color: #0e2037;
  font-size: 11px;
  font-weight: 900;
}

.home-shell .tile-art,
.home-shell .feature-image,
.home-shell .stack-thumb,
.home-shell .deal-thumb {
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #07111f !important;
}

.home-shell .tile-art,
.home-shell .feature-image {
  background-image:
    linear-gradient(135deg, rgba(20, 46, 82, 0.98), rgba(4, 13, 25, 0.98)),
    var(--game-art);
}

.home-shell .tile-art {
  height: 176px;
}

.home-shell .feature-image {
  height: 168px;
}

.home-shell .home-backplate .tile-meta {
  min-height: 108px;
}

.home-shell .tile-meta .countdown,
.home-shell .top-story-item .countdown,
.home-shell .home-radar-side .countdown {
  min-width: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border: 1px solid rgba(45, 132, 255, 0.48);
  border-radius: 6px;
  background: linear-gradient(180deg, #071526, #04101e);
  color: #78e68e !important;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.12);
}

.home-shell .tile-meta > span {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.top-story-panel {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid #dce2ec;
}

.top-story-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.top-story-title strong {
  color: #111c31;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: 15px;
  text-transform: uppercase;
}

.top-story-title small {
  color: #5c6878;
  font-size: 11px;
}

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

.top-story-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 9px;
  padding: 9px;
  border: 1px solid #d8e1ed;
  border-radius: 7px;
  background: #f7fbff;
  text-decoration: none;
}

.top-story-item > span {
  grid-row: span 2;
  align-self: center;
}

.top-story-item strong {
  overflow: hidden;
  color: #111c31;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-story-item small {
  color: #5c6878;
  font-size: 12px;
}

.store-tracker-rail .source-pill {
  min-height: 26px;
  padding: 4px 8px;
}

.store-tracker-rail b {
  min-width: 22px;
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #0e63e8;
  color: #ffffff;
  font-size: 11px;
}

.game-modal-facts .source-pill {
  min-height: 34px;
  padding: 6px 10px;
  background: #f8fbff !important;
  border-color: rgba(152, 186, 233, 0.95) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.game-modal-facts .source-pill img {
  height: 20px;
  max-width: 96px;
}

.game-modal-facts .source-pill-text {
  color: #07111f;
  font-size: 12px;
}

/* Right-column ad slot + wrapped store tracker polish */
.home-layout.home-backplate {
  align-items: start;
}

.home-layout.home-backplate > .section-block {
  align-self: start;
}

.home-side-ad {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #d7e0ed;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(32, 112, 242, 0.09), transparent 56%),
    #f7fbff;
}

.home-side-ad-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.home-side-ad-heading strong {
  color: #111c31;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: 15px;
  text-transform: uppercase;
}

.home-side-ad-heading small {
  padding: 3px 7px;
  border: 1px solid #bfd0e3;
  border-radius: 999px;
  color: #51627b;
  background: #ffffff;
  font-size: 10px;
  font-weight: 900;
}

.home-side-ad-slot {
  min-height: 96px;
  display: grid;
  place-items: center;
  border: 1px dashed #b8c9df;
  border-radius: 7px;
  background: #ffffff;
  color: #51627b;
  text-align: center;
}

.store-tracker-rail {
  display: grid;
  grid-template-columns: auto repeat(auto-fit, minmax(118px, max-content)) auto;
  justify-content: center;
  gap: 8px 10px;
  min-height: 0;
  padding: 10px 14px;
  overflow: visible;
}

.store-tracker-rail > span {
  gap: 7px;
  padding: 4px 8px;
  border: 1px solid #d9e2ee;
  border-radius: 999px;
  background: #f7fbff;
}

.store-tracker-rail > strong,
.store-tracker-rail > small {
  align-self: center;
}

.store-tracker-rail::-webkit-scrollbar {
  display: none;
}

@media (max-width: 900px) {
  .store-tracker-rail {
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
  }

  .store-tracker-rail > strong,
  .store-tracker-rail > small {
    grid-column: 1 / -1;
    text-align: center;
  }
}

/* Final homepage top-section balance */
.home-layout.home-backplate {
  align-items: stretch !important;
  gap: 8px !important;
}

.home-layout.home-backplate > .section-block {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-self: stretch !important;
}

.home-layout.home-backplate .tile-grid {
  align-content: start;
}

.home-layout.home-backplate .stack-list {
  flex: 0 0 auto;
}

.home-side-ad {
  margin-top: auto;
}

.home-shell .tile-art,
.home-shell .feature-image,
.home-shell .stack-thumb,
.home-shell .deal-thumb {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #07111f !important;
}

.home-shell .tile-art {
  height: 152px !important;
}

.home-shell .feature-image {
  height: 150px !important;
}

.home-shell .stack-thumb {
  background-size: cover !important;
}

.home-shell .game-tile {
  display: grid;
  grid-template-rows: 152px 1fr;
}

.home-shell .home-backplate .tile-meta {
  min-height: 118px;
}

.home-shell .game-tile .tile-art {
  position: relative;
}

.home-shell .game-tile .tile-art::after {
  background:
    linear-gradient(180deg, rgba(4, 16, 30, 0.02), rgba(4, 16, 30, 0.16)) !important;
}

.tile-source-badge {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 2;
  display: inline-flex;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.36));
}

.tile-source-badge .source-pill {
  min-height: 25px;
  padding: 3px 8px;
  border-color: rgba(198, 219, 247, 0.86);
  background: rgba(248, 251, 255, 0.94);
}

.home-shell .tile-meta > .tile-countdown-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.home-shell .tile-meta .tile-countdown-row .countdown {
  min-width: 82px;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(83, 194, 106, 0.36);
  border-radius: 6px;
  background: linear-gradient(180deg, #071526, #04101e);
  color: #70e083 !important;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.16), inset 0 1px 0 rgba(122, 231, 142, 0.12);
}

.store-tracker-rail {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  min-height: 48px !important;
  padding: 7px 22px 7px 14px !important;
  overflow: visible !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, #ffffff, #f5f8fc) !important;
  box-shadow: inset 0 -1px 0 rgba(190, 205, 226, 0.65);
}

.store-tracker-rail strong {
  flex: 0 0 auto;
  margin-right: 4px;
  color: #111c31;
  font-size: 12px;
}

.store-tracker-rail > span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 3px 8px !important;
  border: 1px solid #d5dfec !important;
  border-radius: 999px !important;
  background: #f8fbff !important;
  color: #1b2638;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.store-tracker-rail .source-pill {
  min-height: 22px;
  padding: 2px 5px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.store-tracker-rail .source-pill img {
  height: 15px;
}

.store-tracker-rail .source-pill-text {
  font-size: 11px;
}

.store-tracker-rail b {
  min-width: 21px;
  min-height: 21px;
  font-size: 10px;
}

.store-tracker-rail small {
  flex: 0 0 auto;
  margin-left: 4px;
  padding: 0 10px 0 4px;
  color: #5c6878;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .store-tracker-rail {
    overflow-x: auto !important;
    scrollbar-width: none;
  }

  .store-tracker-rail::-webkit-scrollbar {
    display: none;
  }
}

/* Dashboard overview polish */
.public-body .dashboard-shell .user-board-main {
  min-width: 0;
}

.public-body .dashboard-shell .dashboard-hero-lite {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 34%);
  align-items: stretch;
  gap: 16px;
  min-height: 156px;
  padding: 14px !important;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(16, 118, 255, 0.16), rgba(7, 18, 35, 0.7) 56%),
    #06182b !important;
}

.public-body .dashboard-shell .dashboard-hero-headline {
  align-self: center;
}

.public-body .dashboard-shell .dashboard-hero-lite h1 {
  margin: 2px 0 8px;
  font-size: clamp(28px, 3.7vw, 42px);
  line-height: 0.95;
}

.public-body .dashboard-shell .dashboard-hero-art {
  position: relative;
  display: flex;
  min-height: 128px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  overflow: hidden;
  border: 1px solid rgba(83, 149, 224, 0.55);
  border-radius: 8px;
  background-color: #081526;
  background-position: center;
  background-size: cover;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.public-body .dashboard-shell .dashboard-hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 9, 19, 0.08), rgba(2, 9, 19, 0.86)),
    linear-gradient(90deg, rgba(4, 18, 34, 0.12), rgba(4, 18, 34, 0.74));
}

.public-body .dashboard-shell .dashboard-hero-art span,
.public-body .dashboard-shell .dashboard-hero-art strong {
  position: relative;
  z-index: 1;
  margin-inline: 12px;
}

.public-body .dashboard-shell .dashboard-hero-art span {
  margin-bottom: 0;
  color: #72e68c;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.public-body .dashboard-shell .dashboard-hero-art strong {
  margin-bottom: 12px;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: 18px;
  line-height: 1.05;
}

.public-body .dashboard-shell .overview-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.95fr) !important;
  align-items: start;
}

.public-body .dashboard-shell .overview-primary {
  grid-column: 1;
  grid-row: 1;
}

.public-body .dashboard-shell .overview-layout > article:nth-of-type(2) {
  grid-column: 2;
  grid-row: 1;
}

.public-body .dashboard-shell .overview-layout > article:nth-of-type(3) {
  grid-column: 2;
  grid-row: 2;
}

.public-body .dashboard-shell .overview-next-card {
  grid-column: 1;
  grid-row: 2;
}

.public-body .dashboard-shell .overview-timeline-card {
  grid-column: 2;
  grid-row: 3;
}

.public-body .dashboard-shell .section-block {
  min-width: 0;
}

.public-body .dashboard-shell .dashboard-game-row,
.public-body .dashboard-shell .saved-item.dashboard-game-row,
.public-body .dashboard-shell .saved-item.dashboard-library-row,
.public-body .dashboard-shell .dashboard-news-row,
.public-body .dashboard-shell .stack-item.dashboard-game-row {
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 10px !important;
  border: 1px solid rgba(71, 133, 205, 0.62) !important;
  border-radius: 9px !important;
  background:
    linear-gradient(90deg, rgba(18, 79, 144, 0.22), rgba(8, 25, 45, 0.72)),
    rgba(4, 16, 31, 0.82) !important;
  color: #eef6ff !important;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.public-body .dashboard-shell .saved-item.dashboard-game-row,
.public-body .dashboard-shell .saved-item.dashboard-library-row,
.public-body .dashboard-shell .dashboard-news-row {
  color: #eef6ff;
}

.public-body .dashboard-shell .dashboard-game-row:hover,
.public-body .dashboard-shell .saved-item.dashboard-game-row:hover,
.public-body .dashboard-shell .saved-item.dashboard-library-row:hover,
.public-body .dashboard-shell .dashboard-news-row:hover {
  border-color: rgba(45, 135, 255, 0.92) !important;
  background:
    linear-gradient(90deg, rgba(24, 105, 190, 0.3), rgba(9, 30, 53, 0.82)),
    rgba(5, 18, 34, 0.9) !important;
}

.public-body .dashboard-shell .dashboard-game-art,
.public-body .dashboard-shell .dashboard-news-art {
  display: block;
  width: 92px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(168, 203, 244, 0.38);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(31, 129, 255, 0.32), rgba(20, 235, 222, 0.12)),
    #102137;
  background-position: center;
  background-size: cover;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
}

.public-body .dashboard-shell .dashboard-news-art {
  width: 74px;
  height: 50px;
}

.public-body .dashboard-shell .dashboard-news-row {
  grid-template-columns: 74px minmax(0, 1fr) auto;
}

.public-body .dashboard-shell .dashboard-news-art-fallback {
  display: grid;
  place-items: center;
  color: #74e7ff;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
}

.public-body .dashboard-shell .dashboard-game-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.public-body .dashboard-shell .dashboard-game-copy strong,
.public-body .dashboard-shell .urgent-title {
  display: block;
  min-width: 0;
  color: #f5f9ff !important;
  font-size: 15px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.public-body .dashboard-shell .dashboard-game-copy small {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  color: #b9cce5;
}

.public-body .dashboard-shell .dashboard-game-copy .source-pill,
.public-body .dashboard-shell .dashboard-game-row .source-pill,
.public-body .dashboard-shell .dashboard-news-row .source-pill {
  flex: 0 0 auto;
  align-self: center;
  max-width: 100%;
  min-height: 24px;
  padding: 3px 8px;
  background: rgba(239, 247, 255, 0.96);
}

.public-body .dashboard-shell .dashboard-game-meta {
  gap: 8px;
  white-space: normal;
  overflow: visible;
}

.public-body .dashboard-shell .dashboard-game-meta .dashboard-type-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(77, 143, 226, 0.6);
  background: rgba(10, 35, 66, 0.92);
  color: #d9ecff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.public-body .dashboard-shell .dashboard-game-time,
.public-body .dashboard-shell .urgent-time {
  justify-self: end;
  min-width: 88px;
  padding: 7px 9px;
  border: 1px solid rgba(91, 214, 116, 0.38);
  border-radius: 7px;
  background: linear-gradient(180deg, #071526, #04101e);
  color: #70e083 !important;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.14), inset 0 1px 0 rgba(122, 231, 142, 0.14);
}

.public-body .dashboard-shell .saved-actions {
  align-items: center;
  justify-content: flex-end;
}

.public-body .dashboard-shell .saved-actions a,
.public-body .dashboard-shell .saved-actions button,
.public-body .dashboard-shell .library-toggle {
  border-color: rgba(111, 163, 255, 0.55);
  background: linear-gradient(180deg, #6f8cff, #286df1);
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(37, 111, 241, 0.22);
}

.public-body .dashboard-shell .overview-next-card,
.public-body .dashboard-shell .overview-timeline-card {
  min-height: 176px;
}

.public-body .dashboard-shell .overview-next-copy {
  padding: 12px;
  border: 1px solid rgba(71, 133, 205, 0.45);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(29, 117, 220, 0.18), transparent 62%),
    rgba(4, 16, 31, 0.64);
}

.public-body .dashboard-shell .dashboard-library-row {
  grid-template-columns: 86px minmax(0, 1fr) auto !important;
}

.public-body .dashboard-shell .dashboard-library-row .dashboard-game-art {
  width: 86px;
  height: 54px;
}

@media (max-width: 1050px) {
  .public-body .dashboard-shell .dashboard-hero-lite,
  .public-body .dashboard-shell .overview-layout {
    grid-template-columns: 1fr !important;
  }

  .public-body .dashboard-shell .overview-primary {
    grid-row: auto;
  }

  .public-body .dashboard-shell .overview-layout > article,
  .public-body .dashboard-shell .overview-next-card,
  .public-body .dashboard-shell .overview-timeline-card {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .public-body .dashboard-shell .dashboard-game-row,
  .public-body .dashboard-shell .saved-item.dashboard-game-row,
  .public-body .dashboard-shell .saved-item.dashboard-library-row,
  .public-body .dashboard-shell .dashboard-news-row,
  .public-body .dashboard-shell .stack-item.dashboard-game-row {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .public-body .dashboard-shell .dashboard-game-time,
  .public-body .dashboard-shell .saved-actions {
    grid-column: 2;
    justify-self: start;
  }

  .public-body .dashboard-shell .dashboard-game-art {
    width: 78px;
    height: 56px;
  }

  .public-body .dashboard-shell .overview-fresh-wide .dashboard-fresh-row {
    grid-template-columns: 78px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px !important;
    min-height: 0 !important;
  }

  .public-body .dashboard-shell .overview-fresh-wide .dashboard-game-art {
    width: 84px !important;
    height: 62px !important;
    border-radius: 8px !important;
  }

  .public-body .dashboard-shell .overview-fresh-wide .dashboard-game-copy {
    align-content: center !important;
    gap: 7px !important;
    min-width: 0;
    padding-top: 2px;
  }

  .public-body .dashboard-shell .overview-fresh-wide .dashboard-game-copy strong {
    font-size: 15px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .public-body .dashboard-shell .overview-fresh-wide .dashboard-game-meta {
    flex-wrap: wrap !important;
    white-space: normal !important;
    gap: 6px !important;
  }

  .public-body .dashboard-shell .overview-fresh-wide .saved-actions {
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
    width: 100% !important;
    margin-top: 8px !important;
  }

  .public-body .dashboard-shell .overview-fresh-wide .saved-actions a,
  .public-body .dashboard-shell .overview-fresh-wide .saved-actions button {
    width: 100% !important;
    justify-content: center !important;
    min-height: 36px !important;
    border-radius: 10px !important;
  }

  /* Urgent Expiring mobile polish */
  .public-body .dashboard-shell .overview-primary .urgent-item {
    grid-template-columns: 84px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 12px !important;
    padding: 12px !important;
    min-height: 0 !important;
  }

  .public-body .dashboard-shell .overview-primary .urgent-item .dashboard-game-art {
    width: 84px !important;
    height: 62px !important;
    border-radius: 8px !important;
  }

  .public-body .dashboard-shell .overview-primary .urgent-item .urgent-title {
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  .public-body .dashboard-shell .overview-primary .urgent-item .dashboard-game-time {
    grid-column: 1 / -1 !important;
    justify-self: start !important;
    margin-top: 6px !important;
  }

  /* News Pulse mobile polish */
  .public-body .dashboard-shell .overview-column-right .dashboard-news-row {
    grid-template-columns: 84px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 12px !important;
    padding: 12px !important;
    min-height: 0 !important;
  }

  .public-body .dashboard-shell .overview-column-right .dashboard-news-row .dashboard-news-art {
    width: 84px !important;
    height: 62px !important;
    border-radius: 8px !important;
  }

  .public-body .dashboard-shell .overview-column-right .dashboard-news-row .dashboard-game-copy {
    gap: 6px !important;
  }

  .public-body .dashboard-shell .overview-column-right .dashboard-news-row .dashboard-game-copy strong {
    font-size: 15px !important;
    line-height: 1.2 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .public-body .dashboard-shell .overview-column-right .dashboard-news-row .saved-actions {
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
    width: 100% !important;
    margin-top: 8px !important;
  }

  .public-body .dashboard-shell .overview-column-right .dashboard-news-row .saved-actions a {
    width: 100% !important;
    justify-content: center !important;
    min-height: 36px !important;
    border-radius: 10px !important;
  }

  /* Recent Activity mobile polish */
  .public-body .dashboard-shell .overview-timeline-card .saved-item {
    grid-template-columns: 1fr !important;
    align-items: start !important;
    gap: 8px !important;
    padding: 12px !important;
    min-height: 0 !important;
  }

  .public-body .dashboard-shell .overview-timeline-card .saved-item strong {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  .public-body .dashboard-shell .overview-timeline-card .saved-item small {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .public-body .dashboard-shell .overview-timeline-card .saved-item .saved-actions {
    justify-self: start !important;
    width: 100% !important;
    margin-top: 0 !important;
  }
}

/* Dashboard overview uses independent columns to avoid grid row gaps. */
.public-body .dashboard-shell .overview-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.95fr) !important;
  gap: 14px !important;
  align-items: start !important;
}

.public-body .dashboard-shell .overview-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
}

.public-body .dashboard-shell .overview-column > .section-block {
  width: 100%;
}

.public-body .dashboard-shell .overview-primary,
.public-body .dashboard-shell .overview-next-card,
.public-body .dashboard-shell .overview-timeline-card,
.public-body .dashboard-shell .overview-layout > article:nth-of-type(2),
.public-body .dashboard-shell .overview-layout > article:nth-of-type(3) {
  grid-column: auto !important;
  grid-row: auto !important;
}

@media (max-width: 1050px) {
  .public-body .dashboard-shell .overview-layout {
    grid-template-columns: 1fr !important;
  }
}

/* Full-width fresh band: lets Urgent Expiring and News Pulse start level. */
.public-body .dashboard-shell .overview-fresh-wide {
  grid-column: 1 / -1 !important;
}

.public-body .dashboard-shell .overview-fresh-wide .saved-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}

.public-body .dashboard-shell .overview-fresh-wide .dashboard-fresh-row {
  min-height: 76px;
}

.public-body .dashboard-shell .overview-fresh-wide .dashboard-game-art {
  width: 104px;
  height: 58px;
}

/* Fresh This Week: enforce clean 2-line content layout */
.public-body .dashboard-shell .overview-fresh-wide .dashboard-game-copy {
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 8px;
}

.public-body .dashboard-shell .overview-fresh-wide .dashboard-game-copy strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.public-body .dashboard-shell .overview-fresh-wide .dashboard-game-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  white-space: nowrap;
  overflow: visible;
}

.public-body .dashboard-shell .overview-fresh-wide .dashboard-game-meta .source-pill {
  min-height: 22px;
  padding: 2px 7px;
}

/* In compact fresh rows, show logo chip + giveaway badge without extra text clutter. */
.public-body .dashboard-shell .overview-fresh-wide .dashboard-game-meta .source-pill-text {
  display: none;
}

@media (min-width: 1051px) {
  .public-body .dashboard-shell .overview-fresh-wide .dashboard-game-row {
    grid-template-columns: 104px minmax(0, 1fr) auto;
  }
}

/* Keep dashboard sidebar navigation authoritative after late display overrides. */
.public-body .dashboard-shell [data-dash-section][hidden],
.public-body .dashboard-shell .dashboard-zone[hidden],
.public-body .dashboard-shell .dashboard-hero-lite[hidden],
.public-body .dashboard-shell .dashboard-stats[hidden] {
  display: none !important;
}

/* Action Center uses independent columns so tall settings cards do not reserve empty rows. */
.public-body .dashboard-shell .action-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.96fr) !important;
  align-items: start !important;
  gap: 14px !important;
}

.public-body .dashboard-shell .action-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
}

.public-body .dashboard-shell .action-column > .section-block {
  width: 100%;
}

.public-body .dashboard-shell .action-old-upcoming[hidden] {
  display: none !important;
}

@media (max-width: 1050px) {
  .public-body .dashboard-shell .action-layout {
    grid-template-columns: 1fr !important;
  }
}

/* Library overview balance */
.public-body .dashboard-shell .library-tab-grid-overview {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.95fr) !important;
  grid-template-areas:
    "snapshot totals"
    "snapshot workflow";
  align-items: start;
  gap: 14px !important;
}

.public-body .dashboard-shell .library-tab-grid-overview .snapshot-card {
  grid-area: snapshot;
  grid-column: auto !important;
}

.public-body .dashboard-shell .library-tab-grid-overview .totals-card {
  grid-area: totals;
}

.public-body .dashboard-shell .library-tab-grid-overview .workflow-card {
  grid-area: workflow;
}

.public-body .dashboard-shell .library-tab-grid-overview .section-block {
  width: 100%;
}

@media (max-width: 1050px) {
  .public-body .dashboard-shell .library-tab-grid-overview {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "snapshot"
      "totals"
      "workflow";
  }
}

/* Personalized recommendations polish */
.public-body .dashboard-shell #saved-recs-zone {
  overflow: hidden;
  padding: 14px !important;
  border-color: rgba(76, 151, 242, 0.6);
  background:
    radial-gradient(circle at 20% 0%, rgba(42, 132, 255, 0.2), transparent 32%),
    linear-gradient(180deg, rgba(7, 30, 57, 0.96), rgba(4, 16, 31, 0.96)) !important;
}

.public-body .dashboard-shell #saved-recs-zone .section-title {
  margin-bottom: 12px;
}

.public-body .dashboard-shell #saved-recs-zone .smart-feed-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr)) minmax(180px, 0.75fr);
  align-items: end;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid rgba(86, 151, 231, 0.38);
  border-radius: 9px;
  background: rgba(2, 14, 28, 0.46);
}

.public-body .dashboard-shell #saved-recs-zone .smart-feed-form label {
  display: grid;
  gap: 6px;
  margin: 0;
}

.public-body .dashboard-shell #saved-recs-zone .smart-feed-form select {
  min-height: 40px;
}

.public-body .dashboard-shell #saved-recs-zone .smart-feed-form button {
  min-height: 40px;
  border: 1px solid rgba(91, 214, 116, 0.55);
  border-radius: 8px;
  background: linear-gradient(180deg, #3fdb63, #19b978);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(25, 185, 120, 0.2);
}

.public-body .dashboard-shell #saved-recs-zone .feature-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.public-body .dashboard-shell #saved-recs-zone .feature-card {
  display: grid;
  grid-template-rows: 160px 1fr;
  overflow: hidden;
  min-height: 0;
  border: 1px solid rgba(89, 153, 232, 0.56) !important;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(10, 38, 70, 0.96), rgba(5, 19, 35, 0.98)) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.public-body .dashboard-shell #saved-recs-zone .feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(71, 154, 255, 0.94) !important;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28), 0 0 22px rgba(32, 118, 242, 0.12);
}

.public-body .dashboard-shell #saved-recs-zone .feature-image {
  position: relative;
  width: 100%;
  height: 160px !important;
  border-radius: 0;
  background-color: #07111f;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.public-body .dashboard-shell #saved-recs-zone .feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 8, 17, 0.02), rgba(1, 8, 17, 0.24));
  pointer-events: none;
}

.public-body .dashboard-shell #saved-recs-zone .feature-body {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 9px;
  padding: 12px;
}

.public-body .dashboard-shell #saved-recs-zone .feature-body h3 {
  margin: 0;
  color: #f5f9ff;
  font-size: 18px;
  line-height: 1.12;
}

.public-body .dashboard-shell #saved-recs-zone .feature-body p {
  margin: 0;
  color: #c4d6ef;
}

.public-body .dashboard-shell #saved-recs-zone .feature-actions {
  margin-top: auto;
}

@media (max-width: 1100px) {
  .public-body .dashboard-shell #saved-recs-zone .smart-feed-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .public-body .dashboard-shell #saved-recs-zone .smart-feed-form,
  .public-body .dashboard-shell #saved-recs-zone .feature-row {
    grid-template-columns: 1fr;
  }
}

/* Keep Library and Rewards at the same full dashboard width as Home/Action Center. */
.public-body .dashboard-shell .user-board-main > [data-dash-section],
.public-body .dashboard-shell #library-zone,
.public-body .dashboard-shell #growth-zone,
.public-body .dashboard-shell .library-tabs-zone,
.public-body .dashboard-shell .growth-cosmos.growth-tabs-zone,
.public-body .dashboard-shell .library-tab-panel,
.public-body .dashboard-shell #saved-recs-zone {
  width: 100% !important;
  max-width: none !important;
  justify-self: stretch !important;
  align-self: stretch !important;
}

.public-body .dashboard-shell .library-tabs-zone {
  display: grid !important;
  grid-template-columns: 1fr !important;
}

.public-body .dashboard-shell .growth-cosmos.growth-tabs-zone {
  display: flex !important;
}

.public-body .dashboard-shell #saved-recs-zone .feature-row {
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)) !important;
  gap: 14px !important;
}

.public-body .dashboard-shell #saved-recs-zone .feature-card {
  grid-template-rows: 190px 1fr !important;
}

.public-body .dashboard-shell #saved-recs-zone .feature-image {
  height: 190px !important;
}

.public-body .dashboard-shell #saved-recs-zone .feature-body {
  padding: 14px !important;
}

.public-body .dashboard-shell #saved-recs-zone .feature-body h3 {
  font-size: 20px;
}

@media (max-width: 820px) {
  .public-body .dashboard-shell #saved-recs-zone .feature-row {
    grid-template-columns: 1fr !important;
  }
}

/* Final dashboard frame width override. Keep all dashboard tabs on the same wide canvas. */
.public-body .dashboard-shell {
  width: min(1360px, calc(100vw - 28px)) !important;
  max-width: 1360px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.public-body .dashboard-shell .dashboard-frame,
.dashboard-frame {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

.public-body .dashboard-shell .user-board {
  width: 100% !important;
  grid-template-columns: 230px minmax(0, 1fr) !important;
}

.public-body .dashboard-shell .user-board-main {
  width: 100% !important;
}

@media (max-width: 1020px) {
  .public-body .dashboard-shell {
    width: min(100%, calc(100vw - 20px)) !important;
  }

  .public-body .dashboard-shell .user-board {
    grid-template-columns: 1fr !important;
  }
}

/* Real guides section */
.guides-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  border-color: rgba(61, 137, 239, 0.42);
  background:
    radial-gradient(circle at 16% 0%, rgba(32, 112, 242, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(7, 28, 50, 0.96), rgba(5, 17, 32, 0.94));
  color: #eaf3ff;
}

.guides-hero h1 {
  margin: 4px 0 8px;
  color: #ffffff;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.95;
}

.guides-hero p {
  max-width: 780px;
  margin: 0;
  color: #c8d9ee;
  font-size: 16px;
}

.guides-hero-panel {
  display: grid;
  place-content: center;
  gap: 4px;
  border: 1px solid rgba(105, 171, 255, 0.45);
  border-radius: 10px;
  background: rgba(3, 15, 30, 0.58);
  text-align: center;
}

.guides-hero-panel strong {
  color: #6ee7ff;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: 46px;
  line-height: 1;
}

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

.guide-card {
  --guide-accent: #2070f2;
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  min-height: 190px;
  padding: 16px;
  overflow: hidden;
  text-decoration: none;
  border-color: rgba(91, 150, 232, 0.36);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--guide-accent) 14%, transparent), transparent 54%),
    #f5f9ff;
}

.guide-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--guide-accent);
}

.guide-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--guide-accent) 52%, #b7c7dd);
}

.guide-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid color-mix(in srgb, var(--guide-accent) 35%, #cbd8ea);
  border-radius: 999px;
  padding: 4px 9px;
  background: #ffffff;
  color: #12213b;
  font-size: 11px;
  font-weight: 900;
}

.guide-card-mark {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  align-self: center;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--guide-accent), #13d6c8);
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 900;
}

.guide-card-copy {
  min-width: 0;
  align-self: center;
}

.guide-card-copy small {
  color: #60759d;
  font-weight: 800;
}

.guide-card-copy h2 {
  margin: 7px 0;
  color: #152238;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: 24px;
  line-height: 1.05;
}

.guide-card-copy p {
  margin: 0;
  color: #536883;
}

.guide-card-cta {
  grid-column: 2;
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--guide-accent) 82%, #ffffff), var(--guide-accent));
  font-weight: 900;
}

.guides-playbook {
  background: #f5f9ff;
}

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

.guide-quick-steps article,
.guide-tip-grid p {
  padding: 14px;
  border: 1px solid #d5e0ef;
  border-radius: 8px;
  background: #ffffff;
}

.guide-quick-steps b {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #2070f2;
  color: #ffffff;
}

.guide-quick-steps strong {
  display: block;
  color: #152238;
}

.guide-quick-steps span {
  color: #536883;
}

.guide-detail-shell {
  max-width: 980px;
}

.guide-article {
  padding: 24px;
  border-color: color-mix(in srgb, var(--guide-accent) 42%, #cbd8ea);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--guide-accent) 10%, transparent), transparent 42%),
    #ffffff;
}

.guide-back-link {
  color: #2070f2;
  font-weight: 900;
}

.guide-article h1 {
  max-width: 800px;
  margin: 12px 0;
  color: #152238;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.95;
}

.guide-deck {
  max-width: 760px;
  color: #536883;
  font-size: 18px;
}

.guide-article-section {
  margin-top: 22px;
}

.guide-article-section h2 {
  color: #152238;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
}

.guide-article ol {
  display: grid;
  gap: 10px;
  padding-left: 24px;
}

.guide-article li {
  color: #24324a;
}

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

.guide-related-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.guide-related-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 8px;
  background: #2070f2;
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
}

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

.compact-guides-grid .guide-card {
  grid-template-columns: 1fr;
  min-height: 150px;
}

@media (max-width: 860px) {
  .guides-hero,
  .guides-grid,
  .guide-quick-steps,
  .guide-tip-grid,
  .compact-guides-grid {
    grid-template-columns: 1fr;
  }

  .guide-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .guide-card-mark {
    width: 64px;
    height: 64px;
  }
}

/* News page: featured story hero + external redirect countdown */
.news-command {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  gap: 16px;
  padding: 18px;
  overflow: hidden;
  border-color: rgba(82, 143, 225, 0.46);
  background:
    radial-gradient(720px 360px at 78% -10%, rgba(32, 112, 242, 0.28), transparent 58%),
    linear-gradient(135deg, rgba(7, 23, 43, 0.98), rgba(8, 30, 55, 0.96));
  color: #eaf3ff;
}

.news-command-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 8px;
}

.news-command-copy h1 {
  margin: 0;
  color: #ffffff;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.94;
}

.news-command-copy > p:not(.kicker) {
  max-width: 560px;
  margin: 0;
  color: #b9cbe5;
  font-size: 16px;
  line-height: 1.5;
}

.news-command-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-command-stats span {
  min-width: 130px;
  padding: 10px 12px;
  border: 1px solid rgba(91, 151, 229, 0.38);
  border-radius: 8px;
  background: rgba(7, 20, 38, 0.76);
}

.news-command-stats strong,
.news-command-stats small {
  display: block;
}

.news-command-stats strong {
  color: #ffffff;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: 28px;
  line-height: 1;
}

.news-command-stats small {
  color: #93add0;
  font-weight: 800;
}

.news-lead-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(102, 165, 247, 0.5);
  border-radius: 10px;
  background: #071525;
  color: #ffffff;
  text-decoration: none;
}

.news-lead-art,
.news-lead-shade,
.news-lead-copy {
  position: absolute;
  inset: 0;
}

.news-lead-art {
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.news-lead-art.is-empty,
.news-brief-art.is-empty {
  background:
    radial-gradient(circle at 20% 20%, rgba(45, 132, 255, 0.7), transparent 36%),
    linear-gradient(135deg, #071525, #123b67);
}

.news-lead-shade {
  background:
    linear-gradient(90deg, rgba(3, 11, 22, 0.88), rgba(3, 11, 22, 0.2) 56%, rgba(3, 11, 22, 0.82)),
    linear-gradient(180deg, transparent 34%, rgba(2, 8, 17, 0.88));
}

.news-lead-copy {
  display: grid;
  align-content: end;
  gap: 9px;
  padding: 22px;
}

.news-lead-copy small,
.news-brief-copy small {
  color: #9ec2f2;
  font-weight: 900;
}

.news-lead-copy strong {
  max-width: 780px;
  color: #ffffff;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.02;
}

.news-lead-copy em {
  max-width: 720px;
  color: #c7d7eb;
  font-style: normal;
}

.news-lead-copy b,
.news-brief-cta,
.news-row .deal-actions a {
  width: fit-content;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(118, 170, 255, 0.62);
  border-radius: 8px;
  background: linear-gradient(180deg, #2b79ff, #1767df);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(23, 103, 223, 0.28);
  font-weight: 900;
}

.news-briefing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.news-source-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  background: #f8fbff;
}

.news-source-tabs strong {
  margin-right: 4px;
  color: #101d34;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  text-transform: uppercase;
}

.news-source-tabs a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid #d4e0ef;
  border-radius: 999px;
  background: #ffffff;
  color: #263a5b;
  text-decoration: none;
  font-weight: 900;
}

.news-source-tabs a b {
  min-width: 22px;
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #2070f2;
  color: #ffffff;
  font-size: 11px;
}

.news-source-tabs a.is-active {
  border-color: rgba(52, 127, 255, 0.62);
  background: linear-gradient(180deg, #eef6ff, #dfeeff);
  color: #0f3b83;
  box-shadow: 0 8px 20px rgba(32, 112, 242, 0.14);
}

.news-brief-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  text-decoration: none;
}

.news-brief-art {
  position: relative;
  width: 120px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-color: #071525;
}

.news-brief-art b {
  position: absolute;
  inset: auto 8px 8px auto;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(4, 13, 25, 0.78);
  color: #ffffff;
  font-size: 11px;
}

.news-brief-copy {
  min-width: 0;
}

.news-brief-copy strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #17233a;
  font-size: 16px;
  line-height: 1.2;
}

.news-list-section {
  background: #f5f9ff;
}

.news-feed-list {
  gap: 10px;
}

.news-row {
  grid-template-columns: 150px minmax(0, 1fr) auto;
  min-height: 118px;
  padding: 10px;
}

.news-row-thumb {
  width: 150px;
  height: 92px;
  border-radius: 8px;
}

.news-row .deal-copy h3 {
  font-size: 20px;
}

.news-row .deal-copy p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-redirect-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.news-redirect-modal[hidden] {
  display: none !important;
}

.news-redirect-card {
  position: relative;
  width: min(860px, 94vw);
  min-height: 440px;
  max-height: calc(100dvh - 24px);
  overflow: hidden;
  border: 1px solid rgba(92, 151, 229, 0.46);
  border-radius: 10px;
  background:
    linear-gradient(rgba(55, 133, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 133, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, rgba(5, 16, 31, 0.98), rgba(7, 24, 45, 0.98));
  background-size: 44px 44px, 44px 44px, auto;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(190, 219, 255, 0.08);
  color: #eaf3ff;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.news-preview-art {
  min-height: 440px;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #071525;
}

.news-preview-art.is-empty {
  background:
    radial-gradient(circle at 25% 20%, rgba(45, 132, 255, 0.5), transparent 38%),
    linear-gradient(135deg, #071525, #123b67);
}

.news-preview-body {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto auto auto;
  align-content: start;
  align-items: start;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 22px calc(18px + env(safe-area-inset-bottom));
}

.news-redirect-card h3 {
  margin: 6px 44px 8px 0;
  color: #ffffff;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-redirect-card p:not(.kicker) {
  margin: 0;
  color: #b8c9e2;
}

.news-preview-summary {
  margin-top: 4px !important;
  color: #d1def0 !important;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-redirect-dial {
  display: grid;
  place-items: center;
  gap: 4px;
  width: 104px;
  height: 104px;
  margin: 18px 0;
  border: 1px solid rgba(57, 220, 154, 0.54);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(24, 202, 142, 0.18), rgba(7, 21, 40, 0.88) 68%);
  box-shadow: 0 0 36px rgba(24, 202, 142, 0.16);
}

.news-redirect-dial strong {
  color: #78e68e;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: 42px;
  line-height: 0.9;
}

.news-redirect-dial span {
  color: #9fb7d5;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-redirect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  position: sticky;
  bottom: calc(-1 * env(safe-area-inset-bottom));
  margin-top: 2px;
  padding-top: 10px;
  padding-bottom: calc(2px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(7, 24, 45, 0), rgba(7, 24, 45, 0.96) 24%);
}

@media (max-width: 900px) {
  .news-command,
  .news-briefing-grid,
  .news-redirect-card {
    grid-template-columns: 1fr;
  }

  .news-preview-art {
    min-height: 190px;
    height: 190px;
  }

  .news-brief-card,
  .news-row {
    grid-template-columns: 1fr;
  }

  .news-brief-art,
  .news-row-thumb {
    width: 100%;
  }

  .news-redirect-card {
    width: min(100%, 560px);
    max-height: calc(100dvh - 20px);
  }

  .news-preview-body {
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
    gap: 8px;
  }

  .news-redirect-card h3 {
    margin: 4px 36px 4px 0;
    font-size: 34px;
    line-height: 0.92;
    -webkit-line-clamp: 4;
  }

  .news-preview-summary {
    -webkit-line-clamp: 5;
    font-size: 12px;
  }

  .news-redirect-dial {
    width: 84px;
    height: 84px;
    margin: 8px 0 2px;
  }

  .news-redirect-dial strong {
    font-size: 34px;
  }

  .news-redirect-actions {
    gap: 8px;
    padding-top: 8px;
  }

  .news-redirect-actions .game-modal-primary,
  .news-redirect-actions .game-modal-secondary {
    min-height: 40px;
    padding: 0 14px;
  }
}

@media (max-width: 760px) {
  .news-command {
    padding: 12px;
    gap: 10px;
    border-radius: 10px;
  }

  .news-command-copy h1 {
    font-size: 28px;
    line-height: 1.02;
    margin: 2px 0 6px;
  }

  .news-command-copy > p:not(.kicker) {
    font-size: 14px;
    line-height: 1.35;
  }

  .news-command-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .news-command-stats span {
    min-height: 60px;
    padding: 8px 10px;
  }

  .news-lead-card {
    min-height: 200px;
    border-radius: 10px;
  }

  .news-lead-copy {
    padding: 12px;
    gap: 8px;
  }

  .news-lead-copy small {
    font-size: 11px;
    line-height: 1.25;
    opacity: 0.9;
  }

  .news-lead-copy strong {
    font-size: 16px;
    line-height: 1.18;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-wrap: balance;
  }

  .news-lead-copy em {
    font-size: 13px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
  }

  .news-briefing-grid {
    gap: 8px;
  }

  .news-brief-card {
    padding: 10px;
    gap: 10px;
    border-radius: 10px;
  }

  .news-brief-art {
    min-height: 120px;
    border-radius: 8px;
  }

  .news-source-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding: 10px;
    scrollbar-width: thin;
  }

  .news-source-tabs strong {
    display: none;
  }

  .news-source-tabs a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 999px;
  }

  .news-lead-copy b {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    width: fit-content;
    max-width: 100%;
    align-self: start;
  }

  .news-list-section .section-title h2 {
    font-size: 22px;
    line-height: 1.08;
  }

  .news-row {
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 10px;
  }

  .news-row-thumb {
    width: 92px;
    min-width: 92px;
    height: 92px;
    border-radius: 8px;
  }

  .news-row .deal-copy h3 {
    font-size: 18px;
    line-height: 1.15;
  }

  .news-row .deal-copy p {
    font-size: 12px;
    line-height: 1.35;
  }

  .news-row .deal-actions {
    grid-column: 1 / -1;
    margin-top: 8px;
    width: 100%;
  }

  .news-row .deal-actions a {
    width: 100%;
    min-height: 38px;
    border-radius: 999px;
    justify-content: center;
  }

  .guides-hero {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 10px;
    border-radius: 10px;
  }

  .guides-hero h1 {
    font-size: 28px;
    line-height: 1.02;
    margin: 2px 0 6px;
  }

  .guides-hero p {
    font-size: 14px;
    line-height: 1.35;
  }

  .guides-hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    place-content: initial;
    align-items: center;
    text-align: left;
    padding: 10px;
    gap: 6px;
  }

  .guides-hero-panel strong {
    font-size: 28px;
  }

  .guides-grid {
    gap: 8px;
  }

  .guide-card {
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: 0;
    padding: 12px;
    gap: 10px;
    border-radius: 10px;
  }

  .guide-card-mark {
    width: 56px;
    height: 56px;
    font-size: 18px;
    border-radius: 8px;
  }

  .guide-card-badge {
    top: 10px;
    right: 10px;
    font-size: 10px;
    padding: 3px 8px;
  }

  .guide-card-copy h2 {
    font-size: 20px;
    line-height: 1.08;
    margin: 5px 0;
  }

  .guide-card-copy p {
    font-size: 13px;
    line-height: 1.35;
  }

  .guide-card-cta {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    margin-top: 2px;
  }

  .guides-playbook .section-title h2 {
    font-size: 22px;
    line-height: 1.08;
  }

  .guide-quick-steps {
    gap: 8px;
  }

  .guide-quick-steps article {
    padding: 12px;
    border-radius: 8px;
  }
}

/* Dashboard Library workspace polish */
.public-body .dashboard-shell .library-overview-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.92fr);
  gap: 14px;
  align-items: start;
}

.public-body .dashboard-shell .library-overview-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
}

.public-body .dashboard-shell .library-command-card,
.public-body .dashboard-shell .library-actions-card,
.public-body .dashboard-shell .library-spotlight-card {
  border-radius: 12px !important;
  background:
    radial-gradient(520px 240px at 100% -10%, rgba(37, 123, 255, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(7, 29, 52, 0.96), rgba(8, 32, 58, 0.92)) !important;
}

.public-body .dashboard-shell .library-metric-grid,
.public-body .dashboard-shell .library-total-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.public-body .dashboard-shell .library-metric-grid span,
.public-body .dashboard-shell .library-total-grid p {
  min-height: 74px;
  margin: 0;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(91, 151, 229, 0.36);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(35, 111, 224, 0.14), rgba(7, 20, 38, 0.72)),
    rgba(5, 18, 35, 0.72);
}

.public-body .dashboard-shell .library-metric-grid strong,
.public-body .dashboard-shell .library-total-grid strong {
  color: #ffffff;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: 30px;
  line-height: 0.95;
}

.public-body .dashboard-shell .library-metric-grid small,
.public-body .dashboard-shell .library-total-grid span {
  color: #a8c4e5;
  font-weight: 800;
}

.public-body .dashboard-shell .library-store-bars {
  margin-top: 12px;
}

.public-body .dashboard-shell .library-spotlight-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  padding: 0 !important;
}

.public-body .dashboard-shell .library-spotlight-art {
  min-height: 230px;
  background:
    linear-gradient(135deg, rgba(27, 78, 145, 0.32), rgba(4, 13, 25, 0.72)),
    #071525;
  background-size: cover;
  background-position: center;
}

.public-body .dashboard-shell .library-spotlight-copy {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
}

.public-body .dashboard-shell .library-spotlight-copy h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.02;
}

.public-body .dashboard-shell .library-spotlight-copy p {
  margin: 0;
  color: #bed3ec;
}

.public-body .dashboard-shell .library-workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.public-body .dashboard-shell .library-workflow-steps span {
  display: grid;
  gap: 6px;
  padding: 11px;
  border: 1px solid rgba(91, 151, 229, 0.35);
  border-radius: 10px;
  background: rgba(5, 18, 35, 0.72);
}

.public-body .dashboard-shell .library-workflow-steps b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #287cff, #1767df);
  color: #ffffff;
}

.public-body .dashboard-shell .library-workflow-steps strong {
  color: #ffffff;
}

.public-body .dashboard-shell .library-workflow-steps small {
  color: #a8c4e5;
}

.public-body .dashboard-shell .library-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.public-body .dashboard-shell .library-action-grid .library-toggle,
.public-body .dashboard-shell .library-spotlight-copy .library-toggle {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  text-align: center;
}

.public-body .dashboard-shell #saved-recs-zone {
  padding: 14px !important;
  border-radius: 12px !important;
  background:
    radial-gradient(820px 320px at 20% -8%, rgba(32, 112, 242, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(7, 29, 52, 0.96), rgba(8, 32, 58, 0.94)) !important;
}

.public-body .dashboard-shell #saved-recs-zone .recs-title {
  align-items: end;
}

.public-body .dashboard-shell #saved-recs-zone .recs-title h2 {
  margin-bottom: 3px;
}

.public-body .dashboard-shell #saved-recs-zone .smart-feed-form {
  padding: 12px !important;
  border: 1px solid rgba(91, 151, 229, 0.38);
  border-radius: 10px;
  background: rgba(5, 18, 35, 0.68);
}

.public-body .dashboard-shell #saved-recs-zone .smart-feed-form button {
  background: linear-gradient(180deg, #22d487, #18ad70) !important;
  border-color: rgba(57, 220, 154, 0.72) !important;
  box-shadow: 0 14px 28px rgba(22, 142, 99, 0.25);
}

.public-body .dashboard-shell #saved-recs-zone .feature-card {
  overflow: hidden;
  border-radius: 11px !important;
}

.public-body .dashboard-shell #saved-recs-zone .feature-image {
  background-size: cover !important;
  background-position: center !important;
}

@media (max-width: 1180px) {
  .public-body .dashboard-shell .library-overview-layout,
  .public-body .dashboard-shell .library-spotlight-card {
    grid-template-columns: 1fr;
  }

  .public-body .dashboard-shell .library-spotlight-art {
    min-height: 180px;
  }
}

@media (max-width: 720px) {
  .public-body .dashboard-shell .library-metric-grid,
  .public-body .dashboard-shell .library-total-grid,
  .public-body .dashboard-shell .library-workflow-steps,
  .public-body .dashboard-shell .library-action-grid {
    grid-template-columns: 1fr;
  }
}

/* Library workspace v2: balanced rows, no lopsided dead space */
.public-body .dashboard-shell .library-overview-balanced {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  align-items: stretch !important;
}

.public-body .dashboard-shell .library-summary-row,
.public-body .dashboard-shell .library-workspace-row {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 12px;
  align-items: stretch;
}

.public-body .dashboard-shell .library-summary-row > .section-block,
.public-body .dashboard-shell .library-workspace-row > .section-block {
  min-height: 0 !important;
}

.public-body .dashboard-shell .library-command-card,
.public-body .dashboard-shell .library-actions-card {
  padding: 12px !important;
}

.public-body .dashboard-shell .library-metric-grid,
.public-body .dashboard-shell .library-total-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.public-body .dashboard-shell .library-metric-grid span,
.public-body .dashboard-shell .library-total-grid p {
  min-height: 64px !important;
  padding: 9px 10px !important;
}

.public-body .dashboard-shell .library-metric-grid strong,
.public-body .dashboard-shell .library-total-grid strong {
  font-size: 28px !important;
}

.public-body .dashboard-shell .library-store-bars {
  margin-top: 10px !important;
}

.public-body .dashboard-shell #library-zone .snapshot-card .trend-list,
.public-body .dashboard-shell .library-store-bars {
  max-height: none !important;
  overflow: visible !important;
  padding-right: 0 !important;
}

.public-body .dashboard-shell .library-store-bars .trend-row {
  gap: 5px !important;
}

.public-body .dashboard-shell .library-workflow-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.public-body .dashboard-shell .library-workflow-steps span {
  min-height: 92px;
}

.public-body .dashboard-shell .library-action-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.public-body .dashboard-shell .library-spotlight-strip {
  display: grid !important;
  grid-template-columns: 210px minmax(0, 1fr) auto !important;
  align-items: center;
  min-height: 128px !important;
  padding: 0 !important;
}

.public-body .dashboard-shell .library-spotlight-strip .library-spotlight-art {
  min-height: 128px !important;
  height: 128px;
}

.public-body .dashboard-shell .library-spotlight-strip .library-spotlight-copy {
  padding: 14px 16px !important;
}

.public-body .dashboard-shell .library-spotlight-strip .library-spotlight-copy h2 {
  font-size: clamp(22px, 2.2vw, 30px) !important;
}

.public-body .dashboard-shell .library-spotlight-actions {
  padding: 14px 16px 14px 0;
  justify-content: end;
}

.public-body .dashboard-shell .library-spotlight-actions .library-toggle {
  min-width: 88px;
}

@media (max-width: 1080px) {
  .public-body .dashboard-shell .library-summary-row,
  .public-body .dashboard-shell .library-workspace-row,
  .public-body .dashboard-shell .library-spotlight-strip {
    grid-template-columns: 1fr !important;
  }

  .public-body .dashboard-shell .library-spotlight-actions {
    padding: 0 16px 16px;
    justify-content: start;
  }
}

@media (max-width: 760px) {
  .public-body .dashboard-shell .library-metric-grid,
  .public-body .dashboard-shell .library-total-grid,
  .public-body .dashboard-shell .library-workflow-steps,
  .public-body .dashboard-shell .library-action-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* My Collection tab polish */
.public-body .dashboard-shell .library-tab-grid-collection {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr) !important;
  grid-template-areas:
    "wishlist saved"
    "wishlist redeemed" !important;
  gap: 14px !important;
  align-items: start !important;
}

.public-body .dashboard-shell .library-tab-grid-collection .wishlist-card {
  grid-area: wishlist !important;
}

.public-body .dashboard-shell .library-tab-grid-collection .saved-games-card {
  grid-area: saved !important;
}

.public-body .dashboard-shell .library-tab-grid-collection .redeemed-card {
  grid-area: redeemed !important;
}

.public-body .dashboard-shell .library-tab-grid-collection > .section-block {
  padding: 12px !important;
  border-radius: 12px !important;
  background:
    radial-gradient(520px 240px at 100% -10%, rgba(37, 123, 255, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(7, 29, 52, 0.96), rgba(8, 32, 58, 0.92)) !important;
}

.public-body .dashboard-shell .library-tab-grid-collection .saved-list {
  gap: 10px !important;
}

.public-body .dashboard-shell .library-tab-grid-collection .saved-item,
.public-body .dashboard-shell .library-tab-grid-collection .saved-item.dashboard-library-row {
  display: grid !important;
  grid-template-columns: 96px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 84px !important;
  padding: 10px !important;
  border-radius: 10px !important;
  border-color: rgba(77, 139, 218, 0.58) !important;
  background:
    linear-gradient(90deg, rgba(22, 91, 160, 0.24), rgba(5, 18, 35, 0.76)),
    rgba(4, 16, 31, 0.86) !important;
}

.public-body .dashboard-shell .library-tab-grid-collection .dashboard-game-art {
  width: 96px !important;
  height: 60px !important;
  border-radius: 8px !important;
  background-size: cover !important;
  background-position: center !important;
}

.public-body .dashboard-shell .library-tab-grid-collection .dashboard-game-copy strong,
.public-body .dashboard-shell .library-tab-grid-collection .saved-item > div > strong {
  color: #f4f8ff !important;
  font-size: 16px !important;
  line-height: 1.15 !important;
}

.public-body .dashboard-shell .library-tab-grid-collection .saved-actions {
  justify-content: end;
}

.public-body .dashboard-shell .library-tab-grid-collection .saved-actions a,
.public-body .dashboard-shell .library-tab-grid-collection .saved-actions button,
.public-body .dashboard-shell .library-tab-grid-collection .note-save {
  min-height: 38px !important;
  border-radius: 9px !important;
}

.public-body .dashboard-shell .collection-empty-state {
  min-height: 142px;
  display: grid !important;
  align-content: center;
  gap: 8px;
  padding: 18px !important;
  border: 1px dashed rgba(116, 174, 245, 0.52) !important;
  border-radius: 10px !important;
  background:
    linear-gradient(135deg, rgba(32, 112, 242, 0.12), rgba(24, 212, 135, 0.06)),
    rgba(5, 18, 35, 0.66) !important;
}

.public-body .dashboard-shell .collection-empty-state strong {
  color: #ffffff;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: 20px;
}

.public-body .dashboard-shell .collection-empty-state span {
  max-width: 520px;
  color: #b6cce8;
}

.public-body .dashboard-shell .library-tab-grid-collection .redeemed-card .saved-item {
  grid-template-columns: 96px minmax(0, 1fr) auto !important;
}

.public-body .dashboard-shell .library-tab-grid-collection .redeemed-card .note-input {
  min-height: 38px;
  border-radius: 8px;
}

@media (max-width: 1120px) {
  .public-body .dashboard-shell .library-tab-grid-collection {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "wishlist"
      "saved"
      "redeemed" !important;
  }
}

@media (max-width: 720px) {
  .public-body .dashboard-shell .library-tab-grid-collection .saved-item,
  .public-body .dashboard-shell .library-tab-grid-collection .saved-item.dashboard-library-row,
  .public-body .dashboard-shell .library-tab-grid-collection .redeemed-card .saved-item {
    grid-template-columns: 82px minmax(0, 1fr) !important;
  }

  .public-body .dashboard-shell .library-tab-grid-collection .saved-actions {
    grid-column: 2;
    justify-content: start;
  }
}

/* My Collection sub-tabs: one clean collection list at a time */
.public-body .dashboard-shell .collection-subtabs {
  padding: 12px 14px !important;
  border-radius: 12px !important;
  margin-bottom: 0 !important;
  background:
    radial-gradient(520px 240px at 100% -10%, rgba(37, 123, 255, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(7, 29, 52, 0.96), rgba(8, 32, 58, 0.92)) !important;
}

.public-body .dashboard-shell .collection-subtabs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  min-height: 42px;
}

.public-body .dashboard-shell .collection-subtabs h2 {
  margin: 0 0 3px;
  color: #f4f8ff;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: 24px;
  line-height: 1;
}

.public-body .dashboard-shell .collection-subtab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.public-body .dashboard-shell .collection-subtab-btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(121, 177, 245, 0.42);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(18, 48, 89, 0.94), rgba(8, 28, 58, 0.94));
  color: #c8ddf8;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.public-body .dashboard-shell .collection-subtab-btn b {
  min-width: 24px;
  min-height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(41, 124, 255, 0.78);
  color: #ffffff;
  font-size: 12px;
}

.public-body .dashboard-shell .collection-subtab-btn.is-active {
  border-color: rgba(148, 196, 255, 0.86);
  background: linear-gradient(180deg, #6b87ff, #5368ee);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(53, 96, 219, 0.28);
}

.public-body .dashboard-shell .collection-single-column {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: none !important;
  margin-top: -4px !important;
}

.public-body .dashboard-shell .collection-subtab-panel {
  grid-column: auto !important;
  grid-area: auto !important;
  min-height: 420px;
  width: 100% !important;
  max-width: none !important;
  padding: 12px !important;
}

.public-body .dashboard-shell .collection-subtab-panel[hidden] {
  display: none !important;
}

.public-body .dashboard-shell .collection-subtab-panel .saved-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px !important;
  width: 100% !important;
}

.public-body .dashboard-shell .collection-subtab-panel .saved-item,
.public-body .dashboard-shell .collection-subtab-panel .saved-item.dashboard-library-row {
  width: 100% !important;
  grid-template-columns: 112px minmax(0, 1fr) auto !important;
  min-height: 92px !important;
  padding: 12px !important;
}

.public-body .dashboard-shell .collection-subtab-panel .section-title {
  margin-bottom: 10px !important;
}

.public-body .dashboard-shell .collection-subtab-panel .dashboard-game-art {
  width: 112px !important;
  height: 68px !important;
}

.public-body .dashboard-shell .collection-subtab-panel.redeemed-card .saved-item,
.public-body .dashboard-shell .collection-subtab-panel.redeemed-card .saved-item.dashboard-library-row {
  grid-template-columns: 112px minmax(0, 1fr) auto !important;
  align-items: center !important;
}

.public-body .dashboard-shell .collection-subtab-panel.redeemed-card .dashboard-game-copy {
  gap: 7px;
}

.public-body .dashboard-shell .collection-subtab-panel.redeemed-card .saved-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.public-body .dashboard-shell .collection-subtab-panel.redeemed-card .note-input {
  width: min(420px, 100%);
}

@media (max-width: 760px) {
  .public-body .dashboard-shell .collection-subtab-nav {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .public-body .dashboard-shell .collection-subtab-btn {
    justify-content: center;
  }

  .public-body .dashboard-shell .collection-subtab-panel .saved-item,
  .public-body .dashboard-shell .collection-subtab-panel .saved-item.dashboard-library-row,
  .public-body .dashboard-shell .collection-subtab-panel.redeemed-card .saved-item,
  .public-body .dashboard-shell .collection-subtab-panel.redeemed-card .saved-item.dashboard-library-row {
    grid-template-columns: 88px minmax(0, 1fr) !important;
  }

  .public-body .dashboard-shell .collection-subtab-panel .dashboard-game-art {
    width: 88px !important;
    height: 62px !important;
  }
}

/* Hard override for My Collection sub-tabs: disable old two-column placement completely. */
.public-body .dashboard-shell .library-tab-grid-collection.collection-single-column {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

.public-body .dashboard-shell .library-tab-grid-collection.collection-single-column .wishlist-card,
.public-body .dashboard-shell .library-tab-grid-collection.collection-single-column .saved-games-card,
.public-body .dashboard-shell .library-tab-grid-collection.collection-single-column .redeemed-card,
.public-body .dashboard-shell .library-tab-grid-collection.collection-single-column .collection-subtab-panel {
  grid-area: auto !important;
  grid-column: auto !important;
  grid-row: auto !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
}

.public-body .dashboard-shell .library-tab-grid-collection.collection-single-column .collection-subtab-panel:not(.is-active),
.public-body .dashboard-shell .library-tab-grid-collection.collection-single-column .collection-subtab-panel[hidden] {
  display: none !important;
}

.public-body .dashboard-shell .library-tab-grid-collection.collection-single-column .collection-subtab-panel.is-active {
  display: block !important;
}

.public-body .dashboard-shell .collection-subtabs {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.public-body .dashboard-shell .collection-subtabs + .collection-single-column .collection-subtab-panel {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-top-color: rgba(87, 151, 235, 0.32) !important;
}

.public-body .dashboard-shell .collection-subtab-panel .saved-item,
.public-body .dashboard-shell .collection-subtab-panel .saved-item.dashboard-library-row {
  max-width: none !important;
}

/* Library requested cleanup: remove spotlight space and fill the right-side gap. */
.public-body .dashboard-shell .library-overview-balanced .library-spotlight-card,
.public-body .dashboard-shell .library-overview-balanced .library-spotlight-strip {
  display: none !important;
}

.public-body .dashboard-shell .library-overview-balanced {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr) !important;
  grid-template-areas:
    "snapshot totals"
    "workflow actions" !important;
  align-items: stretch !important;
}

.public-body .dashboard-shell .library-summary-row,
.public-body .dashboard-shell .library-workspace-row {
  display: contents !important;
}

.public-body .dashboard-shell .library-summary-row .snapshot-card {
  grid-area: snapshot;
}

.public-body .dashboard-shell .library-summary-row .totals-card {
  grid-area: totals;
}

.public-body .dashboard-shell .library-summary-row .snapshot-card,
.public-body .dashboard-shell .library-summary-row .totals-card {
  height: 100% !important;
  align-self: stretch !important;
}

.public-body .dashboard-shell .library-summary-row .snapshot-card {
  display: grid !important;
  grid-template-rows: auto auto 1fr;
}

.public-body .dashboard-shell .library-summary-row .totals-card {
  display: flex !important;
  flex-direction: column;
}

.public-body .dashboard-shell .library-summary-row .totals-card .library-total-grid {
  flex: 1;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-rows: 1fr;
  gap: 10px !important;
  align-content: stretch;
}

.public-body .dashboard-shell .library-summary-row .totals-card .library-total-grid p {
  height: 100%;
  min-height: 0 !important;
  position: relative;
  overflow: hidden;
  align-content: end;
  padding: 14px !important;
  border-color: rgba(87, 151, 235, 0.48) !important;
  background:
    radial-gradient(90px 70px at 85% 8%, rgba(62, 134, 255, 0.18), transparent 70%),
    linear-gradient(150deg, rgba(13, 40, 75, 0.92), rgba(5, 18, 35, 0.9)) !important;
}

.public-body .dashboard-shell .library-summary-row .totals-card .library-total-grid p::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2d8cff, #22d487);
  opacity: 0.72;
}

.public-body .dashboard-shell .library-summary-row .totals-card .library-total-grid strong {
  font-size: 34px !important;
  line-height: 0.9;
}

.public-body .dashboard-shell .library-summary-row .totals-card .library-total-grid span {
  max-width: 120px;
  line-height: 1.16;
}

.public-body .dashboard-shell .library-summary-row .totals-card .section-title {
  margin-bottom: 12px;
}

.public-body .dashboard-shell .library-workspace-row .workflow-card {
  grid-area: workflow;
}

.public-body .dashboard-shell .library-workspace-row .library-actions-card {
  grid-area: actions;
}

.public-body .dashboard-shell .library-summary-row .totals-card,
.public-body .dashboard-shell .library-workspace-row .library-actions-card {
  min-height: 0 !important;
}

.public-body .dashboard-shell .library-workspace-row .workflow-card,
.public-body .dashboard-shell .library-workspace-row .library-actions-card {
  align-self: stretch !important;
}

.public-body .dashboard-shell .library-workspace-row .library-actions-card {
  display: flex !important;
  flex-direction: column;
}

.public-body .dashboard-shell .library-workspace-row .library-actions-card .library-action-grid {
  flex: 1;
  align-content: center;
}

@media (max-width: 1080px) {
  .public-body .dashboard-shell .library-overview-balanced {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "snapshot"
      "totals"
      "workflow"
      "actions" !important;
  }
}

/* My Collection: polished boosted recommendations and action icon system. */
.public-body .dashboard-shell #saved-recs-zone {
  position: relative;
  overflow: hidden;
  padding: 18px !important;
  border-color: rgba(82, 157, 255, 0.46) !important;
  background:
    radial-gradient(520px 220px at 12% 0%, rgba(46, 126, 255, 0.18), transparent 68%),
    radial-gradient(360px 180px at 94% 10%, rgba(37, 211, 135, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(8, 35, 68, 0.96), rgba(3, 18, 35, 0.98)) !important;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.public-body .dashboard-shell #saved-recs-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(84, 154, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 154, 255, 0.065) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 72%);
}

.public-body .dashboard-shell #saved-recs-zone > * {
  position: relative;
  z-index: 1;
}

.public-body .dashboard-shell #saved-recs-zone .recs-title {
  align-items: center !important;
  padding-bottom: 13px !important;
  margin-bottom: 14px !important;
  border-bottom: 1px solid rgba(103, 165, 255, 0.28) !important;
}

.public-body .dashboard-shell #saved-recs-zone .recs-title h2 {
  font-size: clamp(22px, 2vw, 28px) !important;
  letter-spacing: 0 !important;
  line-height: 1;
}

.public-body .dashboard-shell #saved-recs-zone .recs-title .muted {
  color: #b7ccec !important;
}

.public-body .dashboard-shell #saved-recs-zone .recs-title .pill {
  padding: 8px 13px !important;
  border-color: rgba(56, 139, 255, 0.56) !important;
  background: linear-gradient(135deg, rgba(31, 95, 180, 0.86), rgba(16, 55, 106, 0.86)) !important;
  color: #cfe3ff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.public-body .dashboard-shell #saved-recs-zone .smart-feed-form {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(190px, 0.72fr) !important;
  gap: 10px !important;
  padding: 12px !important;
  margin-bottom: 16px !important;
  border: 1px solid rgba(78, 145, 234, 0.38) !important;
  border-radius: 12px !important;
  background: rgba(1, 14, 29, 0.46) !important;
}

.public-body .dashboard-shell #saved-recs-zone .smart-feed-form label {
  gap: 6px !important;
  color: #c7d8f2 !important;
  font-size: 13px !important;
}

.public-body .dashboard-shell #saved-recs-zone .smart-feed-form select {
  min-height: 42px !important;
  border-radius: 8px !important;
  border-color: rgba(123, 174, 255, 0.42) !important;
  background: #eef4ff !important;
  color: #18325f !important;
}

.public-body .dashboard-shell #saved-recs-zone .smart-feed-form button {
  align-self: end;
  min-height: 42px !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #22c978, #38df5a) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(23, 204, 106, 0.22) !important;
}

.public-body .dashboard-shell #saved-recs-zone .feature-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(250px, 1fr)) !important;
  gap: 14px !important;
}

.public-body .dashboard-shell #saved-recs-zone .feature-card {
  min-height: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(89, 153, 237, 0.48) !important;
  border-radius: 12px !important;
  background:
    linear-gradient(180deg, rgba(9, 36, 70, 0.96), rgba(3, 17, 34, 0.98)) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.public-body .dashboard-shell #saved-recs-zone .feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(69, 166, 255, 0.78) !important;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(54, 144, 255, 0.16);
}

.public-body .dashboard-shell #saved-recs-zone .feature-image {
  position: relative;
  min-height: 150px !important;
  height: 150px !important;
  background-color: #061528 !important;
  background-size: cover !important;
  background-position: center !important;
}

.public-body .dashboard-shell #saved-recs-zone .feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(1, 8, 18, 0.02), rgba(1, 8, 18, 0.26));
}

.public-body .dashboard-shell #saved-recs-zone .feature-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 13px !important;
}

.public-body .dashboard-shell #saved-recs-zone .feature-body h3 {
  min-height: 44px;
  margin: 0 !important;
  color: #f3f8ff !important;
  font-size: 18px !important;
  line-height: 1.18 !important;
}

.public-body .dashboard-shell #saved-recs-zone .feature-body p {
  margin: 0 !important;
}

.public-body .dashboard-shell #saved-recs-zone .action-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.public-body .dashboard-shell #saved-recs-zone .action-save-badge {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 3;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center;
  border: 1px solid rgba(171, 204, 255, 0.58) !important;
  border-radius: 12px !important;
  color: #d9e8ff !important;
  background: rgba(4, 19, 39, 0.76) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.public-body .dashboard-shell #saved-recs-zone .action-save-badge:hover {
  color: #ffffff !important;
  border-color: rgba(83, 161, 255, 0.9) !important;
  background: rgba(19, 75, 143, 0.82) !important;
}

.public-body .dashboard-shell #saved-recs-zone .action-save-badge.is-on,
.public-body .dashboard-shell #saved-recs-zone .action-save-badge.is-active {
  color: #07182c !important;
  background: linear-gradient(135deg, #34e57c, #42a5ff) !important;
  border-color: rgba(154, 239, 196, 0.95) !important;
}

.public-body .dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-top: auto !important;
}

.public-body .dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact .action-chip {
  width: 100% !important;
  min-height: 40px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px !important;
  border: 1px solid rgba(112, 171, 255, 0.48) !important;
  border-radius: 9px !important;
  color: #dceaff !important;
  background: linear-gradient(180deg, rgba(18, 55, 105, 0.92), rgba(8, 29, 58, 0.92)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.public-body .dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact .action-chip:hover {
  border-color: rgba(73, 158, 255, 0.9) !important;
  color: #ffffff !important;
  background: linear-gradient(180deg, rgba(34, 98, 181, 0.96), rgba(13, 47, 93, 0.96)) !important;
}

.public-body .dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact .action-chip-redeem.is-active {
  color: #052314 !important;
  border-color: rgba(93, 240, 151, 0.9) !important;
  background: linear-gradient(135deg, #2ee078, #22ba65) !important;
}

.public-body .dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact .action-chip-hide.is-active {
  color: #fff1f3 !important;
  border-color: rgba(255, 126, 139, 0.78) !important;
  background: linear-gradient(135deg, #b63b51, #7d2539) !important;
}

.public-body .dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact .action-chip-wishlist.is-active {
  color: #ffffff !important;
  border-color: rgba(255, 154, 210, 0.82) !important;
  background: linear-gradient(135deg, #7b5cff, #e24c97) !important;
}

.public-body .dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact .action-chip-wishlist.is-active .action-icon {
  fill: currentColor;
}

@media (max-width: 1180px) {
  .public-body .dashboard-shell #saved-recs-zone .feature-row {
    grid-template-columns: repeat(2, minmax(240px, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .public-body .dashboard-shell #saved-recs-zone .smart-feed-form,
  .public-body .dashboard-shell #saved-recs-zone .feature-row,
  .public-body .dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact {
    grid-template-columns: 1fr !important;
  }
}

/* Keep recommendation action labels contained, especially active "Wishlisted". */
.public-body .dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.82fr) minmax(106px, 1.18fr) !important;
  gap: 7px !important;
}

.public-body .dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact .action-chip {
  min-width: 0 !important;
  padding-inline: 8px !important;
  gap: 6px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  white-space: nowrap;
}

.public-body .dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact .action-chip span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-body .dashboard-shell #saved-recs-zone .feature-actions.feature-actions-compact .action-chip .action-icon {
  width: 15px;
  height: 15px;
  flex-basis: 15px;
}

/* Rewards Workspace polish. */
.public-body .dashboard-shell #growth-zone.growth-tabs-zone {
  gap: 14px !important;
}

.public-body .dashboard-shell #growth-zone .growth-tabs-shell,
.public-body .dashboard-shell #growth-zone .growth-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(82, 157, 255, 0.44) !important;
  background:
    radial-gradient(460px 220px at 8% 0%, rgba(102, 92, 255, 0.16), transparent 66%),
    radial-gradient(320px 180px at 100% 8%, rgba(37, 211, 135, 0.08), transparent 68%),
    linear-gradient(180deg, rgba(8, 35, 68, 0.96), rgba(3, 18, 35, 0.98)) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.public-body .dashboard-shell #growth-zone .growth-tabs-shell::before,
.public-body .dashboard-shell #growth-zone .growth-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(84, 154, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 154, 255, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 78%);
}

.public-body .dashboard-shell #growth-zone .growth-tabs-shell > *,
.public-body .dashboard-shell #growth-zone .growth-card > * {
  position: relative;
  z-index: 1;
}

.public-body .dashboard-shell #growth-zone .growth-tabs-shell .section-title {
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(103, 165, 255, 0.28) !important;
}

.public-body .dashboard-shell #growth-zone .growth-tabs-shell .library-tabs-nav {
  margin-top: 12px !important;
}

.public-body .dashboard-shell #growth-zone .growth-card-tasks {
  padding: 16px !important;
}

.public-body .dashboard-shell #growth-zone .growth-card-tasks .section-title {
  padding-bottom: 12px !important;
  margin-bottom: 14px !important;
  border-bottom: 1px solid rgba(103, 165, 255, 0.25) !important;
}

.public-body .dashboard-shell #growth-zone .reward-task-list {
  display: grid !important;
  gap: 12px !important;
  margin: 0 0 14px !important;
}

.public-body .dashboard-shell #growth-zone .reward-task-item {
  position: relative;
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) minmax(150px, auto) !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 112px !important;
  width: 100% !important;
  padding: 16px 18px 22px !important;
  text-align: left !important;
  border: 1px solid rgba(78, 145, 234, 0.42) !important;
  border-radius: 14px !important;
  color: #eff6ff !important;
  background:
    linear-gradient(135deg, rgba(13, 53, 101, 0.94), rgba(7, 30, 61, 0.94)) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.public-body .dashboard-shell #growth-zone .reward-task-item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(65, 144, 255, 0.14), transparent 46%, rgba(44, 216, 133, 0.08));
  opacity: 0;
  transition: opacity 160ms ease;
}

.public-body .dashboard-shell #growth-zone .reward-task-item:hover:not([disabled]) {
  transform: translateY(-1px);
  border-color: rgba(83, 171, 255, 0.78) !important;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(60, 144, 255, 0.14);
}

.public-body .dashboard-shell #growth-zone .reward-task-item:hover:not([disabled])::before {
  opacity: 1;
}

.public-body .dashboard-shell #growth-zone .reward-task-item[disabled] {
  opacity: 1 !important;
  cursor: not-allowed;
  border-color: rgba(122, 111, 171, 0.34) !important;
  color: rgba(216, 226, 244, 0.56) !important;
  background:
    linear-gradient(135deg, rgba(47, 31, 64, 0.78), rgba(19, 20, 43, 0.86)) !important;
}

.public-body .dashboard-shell #growth-zone .reward-task-icon {
  width: 46px !important;
  height: 46px !important;
  display: grid !important;
  place-items: center;
  border: 1px solid rgba(132, 178, 255, 0.48);
  border-radius: 12px;
  color: #cfe5ff;
  background:
    radial-gradient(circle at 35% 20%, rgba(74, 184, 255, 0.32), transparent 58%),
    linear-gradient(135deg, rgba(61, 104, 219, 0.78), rgba(91, 58, 161, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 24px rgba(0, 0, 0, 0.22);
}

.public-body .dashboard-shell #growth-zone .reward-icon-svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.public-body .dashboard-shell #growth-zone .reward-task-copy {
  display: grid !important;
  gap: 4px !important;
}

.public-body .dashboard-shell #growth-zone .reward-task-copy strong {
  color: #f8fbff !important;
  font-size: 18px !important;
  line-height: 1.15 !important;
}

.public-body .dashboard-shell #growth-zone .reward-task-copy small {
  color: #a9bfde !important;
  font-size: 13px !important;
}

.public-body .dashboard-shell #growth-zone .reward-task-right {
  display: grid !important;
  justify-items: end;
  gap: 7px !important;
}

.public-body .dashboard-shell #growth-zone .reward-task-points {
  min-width: 118px;
  justify-content: center;
  padding: 8px 12px !important;
  border: 1px solid rgba(103, 165, 255, 0.36) !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(77, 120, 255, 0.9), rgba(39, 92, 182, 0.86)) !important;
  box-shadow: 0 10px 22px rgba(42, 100, 218, 0.22);
}

.public-body .dashboard-shell #growth-zone .supporter-bonus-chip {
  padding: 6px 10px !important;
  border: 1px solid rgba(255, 189, 112, 0.42);
  border-radius: 999px;
  color: #ffe6c7 !important;
  background: rgba(173, 91, 38, 0.76) !important;
  font-size: 12px;
  font-weight: 800;
}

.public-body .dashboard-shell #growth-zone .reward-task-cta {
  min-width: 138px;
  justify-content: center;
  padding: 10px 14px !important;
  border: 1px solid rgba(174, 196, 255, 0.42) !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #617eff, #a24edf) !important;
  box-shadow: 0 14px 28px rgba(91, 107, 255, 0.24);
}

.public-body .dashboard-shell #growth-zone .reward-task-item[data-task="visit_site"] .reward-task-cta {
  background: linear-gradient(135deg, #3d8cff, #27d381) !important;
}

.public-body .dashboard-shell #growth-zone .reward-task-item[disabled] .reward-task-cta,
.public-body .dashboard-shell #growth-zone .reward-task-item[disabled] .reward-task-points,
.public-body .dashboard-shell #growth-zone .reward-task-item[disabled] .supporter-bonus-chip {
  filter: saturate(0.45);
  opacity: 0.72;
}

.public-body .dashboard-shell #growth-zone .reward-task-track {
  position: absolute !important;
  left: 88px !important;
  right: 20px !important;
  bottom: 14px !important;
  height: 6px !important;
  overflow: hidden;
  border-radius: 999px !important;
  background: rgba(2, 18, 38, 0.82) !important;
  border: 1px solid rgba(91, 158, 255, 0.18);
}

.public-body .dashboard-shell #growth-zone .reward-task-track i {
  height: 100% !important;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffc64a, #8d66ff, #41c8ff) !important;
  box-shadow: 0 0 18px rgba(73, 186, 255, 0.38);
}

.public-body .dashboard-shell #growth-zone .reward-offerwall-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

.public-body .dashboard-shell #growth-zone .reward-offerwall-card {
  display: grid !important;
  grid-template-columns: 50px minmax(0, 1fr) auto !important;
  align-items: center;
  gap: 12px !important;
  min-height: 92px;
  padding: 13px 16px !important;
  border-radius: 13px !important;
  border: 1px solid rgba(92, 157, 242, 0.45) !important;
  color: #eff6ff !important;
  text-decoration: none;
  background:
    radial-gradient(140px 80px at 12% 15%, rgba(88, 142, 255, 0.22), transparent 68%),
    linear-gradient(135deg, rgba(13, 51, 98, 0.95), rgba(7, 28, 56, 0.98)) !important;
}

.public-body .dashboard-shell #growth-zone .reward-offerwall-card:hover {
  transform: translateY(-1px);
  border-color: rgba(85, 176, 255, 0.78) !important;
}

.public-body .dashboard-shell #growth-zone .reward-offerwall-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  display: grid !important;
  place-items: center;
  font-size: 14px !important;
  font-weight: 900;
  color: #ffffff !important;
  border: 1px solid rgba(199, 217, 255, 0.34);
  background: linear-gradient(135deg, #5275ff, #8a56ef) !important;
}

.public-body .dashboard-shell #growth-zone .reward-offerwall-card .reward-task-points {
  min-width: 0;
  font-size: 12px !important;
  padding: 7px 10px !important;
  background: rgba(71, 122, 221, 0.88) !important;
}

.public-body .dashboard-shell #growth-zone .reward-offerwall-card .reward-task-cta {
  min-width: 128px;
}

.public-body .dashboard-shell #growth-zone .reward-rule-chips {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px !important;
  margin-top: 14px !important;
}

.public-body .dashboard-shell #growth-zone .reward-rule-chips span {
  max-width: 100%;
  padding: 7px 10px !important;
  border: 1px solid rgba(116, 174, 255, 0.42) !important;
  border-radius: 999px !important;
  color: #cfe0f8 !important;
  background: rgba(8, 32, 62, 0.72) !important;
}

.public-body .dashboard-shell #growth-zone .reward-rule-chips code {
  color: #ffffff;
  font-size: 12px;
}

.public-body .dashboard-shell #growth-zone .redeem-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.public-body .dashboard-shell #growth-zone .redeem-card {
  border-color: rgba(91, 158, 255, 0.46) !important;
  background:
    radial-gradient(160px 90px at 80% 0%, rgba(41, 210, 126, 0.14), transparent 68%),
    linear-gradient(160deg, rgba(12, 43, 83, 0.96), rgba(5, 22, 45, 0.98)) !important;
}

@media (max-width: 900px) {
  .public-body .dashboard-shell #growth-zone .reward-task-item,
  .public-body .dashboard-shell #growth-zone .reward-offerwall-card {
    grid-template-columns: 46px minmax(0, 1fr) !important;
  }

  .public-body .dashboard-shell #growth-zone .reward-task-right,
  .public-body .dashboard-shell #growth-zone .reward-offerwall-card .reward-task-right {
    grid-column: 1 / -1;
    justify-items: stretch;
  }

  .public-body .dashboard-shell #growth-zone .reward-task-track {
    left: 16px !important;
  }

  .public-body .dashboard-shell #growth-zone .redeem-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Rewards task bars: keep progress inside the content lane, away from CTAs. */
.public-body .dashboard-shell #growth-zone .reward-task-item {
  grid-template-rows: auto auto !important;
  padding-bottom: 16px !important;
}

.public-body .dashboard-shell #growth-zone .reward-task-icon {
  grid-row: 1 / 3;
}

.public-body .dashboard-shell #growth-zone .reward-task-copy {
  grid-column: 2;
  grid-row: 1;
}

.public-body .dashboard-shell #growth-zone .reward-task-right {
  grid-column: 3;
  grid-row: 1 / 3;
}

.public-body .dashboard-shell #growth-zone .reward-task-track {
  position: static !important;
  grid-column: 2;
  grid-row: 2;
  width: min(100%, 620px) !important;
  height: 6px !important;
  margin-top: 12px !important;
  align-self: end;
}

@media (max-width: 900px) {
  .public-body .dashboard-shell #growth-zone .reward-task-icon,
  .public-body .dashboard-shell #growth-zone .reward-task-copy,
  .public-body .dashboard-shell #growth-zone .reward-task-right,
  .public-body .dashboard-shell #growth-zone .reward-task-track {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .public-body .dashboard-shell #growth-zone .reward-task-track {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
}

/* Rewards additions: wallet, statuses, activity, and redeem readiness. */
.public-body .dashboard-shell #growth-zone .reward-wallet-strip {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.public-body .dashboard-shell #growth-zone .reward-wallet-item {
  position: relative;
  overflow: hidden;
  min-height: 76px;
  padding: 13px 14px;
  border: 1px solid rgba(103, 165, 255, 0.36);
  border-radius: 12px;
  background:
    radial-gradient(130px 70px at 90% 5%, rgba(66, 151, 255, 0.18), transparent 68%),
    linear-gradient(145deg, rgba(10, 39, 76, 0.92), rgba(5, 20, 41, 0.92));
}

.public-body .dashboard-shell #growth-zone .reward-wallet-primary {
  border-color: rgba(48, 221, 137, 0.48);
  background:
    radial-gradient(150px 80px at 90% 8%, rgba(35, 216, 131, 0.2), transparent 68%),
    linear-gradient(145deg, rgba(11, 53, 84, 0.96), rgba(5, 24, 43, 0.96));
}

.public-body .dashboard-shell #growth-zone .reward-wallet-item span {
  display: block;
  color: #a9bfde;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.public-body .dashboard-shell #growth-zone .reward-wallet-item strong {
  display: block;
  margin-top: 8px;
  color: #f8fbff;
  font-size: 24px;
  line-height: 1;
}

.public-body .dashboard-shell #growth-zone .reward-wallet-primary strong {
  font-size: 32px;
  color: #67f5a7;
}

.public-body .dashboard-shell #growth-zone .reward-task-status {
  width: fit-content;
  max-width: 100%;
  margin-top: 4px;
  padding: 5px 9px;
  border: 1px solid rgba(108, 169, 255, 0.38);
  border-radius: 999px;
  color: #d7e7ff;
  background: rgba(8, 32, 62, 0.76);
  font-size: 12px;
  font-weight: 900;
}

.public-body .dashboard-shell #growth-zone .reward-task-status.is-ready {
  border-color: rgba(69, 231, 141, 0.48);
  color: #7ef3ad;
  background: rgba(24, 111, 67, 0.28);
}

.public-body .dashboard-shell #growth-zone .reward-task-status.is-done {
  border-color: rgba(83, 164, 255, 0.48);
  color: #bdd7ff;
  background: rgba(55, 98, 187, 0.3);
}

.public-body .dashboard-shell #growth-zone .reward-task-status.is-locked {
  border-color: rgba(255, 171, 119, 0.42);
  color: #ffd0ac;
  background: rgba(127, 71, 43, 0.3);
}

.public-body .dashboard-shell #growth-zone .offerwall-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 5px;
}

.public-body .dashboard-shell #growth-zone .offerwall-meta-row span {
  padding: 4px 7px;
  border: 1px solid rgba(116, 174, 255, 0.34);
  border-radius: 999px;
  color: #bcd2ef;
  background: rgba(1, 14, 29, 0.42);
  font-size: 11px;
  font-weight: 800;
}

.public-body .dashboard-shell #growth-zone .reward-activity-panel {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(95, 158, 242, 0.38);
  border-radius: 13px;
  background: rgba(1, 14, 29, 0.42);
}

.public-body .dashboard-shell #growth-zone .reward-activity-title {
  padding-bottom: 10px !important;
  margin-bottom: 8px !important;
}

.public-body .dashboard-shell #growth-zone .reward-activity-title h3 {
  margin: 0;
  color: #f3f8ff;
  font-size: 17px;
  line-height: 1;
}

.public-body .dashboard-shell #growth-zone .reward-activity-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(103, 165, 255, 0.16);
}

.public-body .dashboard-shell #growth-zone .reward-activity-row:first-of-type {
  border-top: 0;
}

.public-body .dashboard-shell #growth-zone .reward-activity-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #32e486;
  box-shadow: 0 0 16px rgba(50, 228, 134, 0.7);
}

.public-body .dashboard-shell #growth-zone .reward-activity-row strong {
  color: #f1f7ff;
}

.public-body .dashboard-shell #growth-zone .reward-activity-row small,
.public-body .dashboard-shell #growth-zone .reward-activity-row time,
.public-body .dashboard-shell #growth-zone .reward-activity-empty {
  color: #a9bfde;
  font-size: 12px;
}

.public-body .dashboard-shell #growth-zone .redeem-card {
  position: relative;
  overflow: hidden;
  padding: 18px !important;
  min-height: 170px;
}

.public-body .dashboard-shell #growth-zone .redeem-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(45, 140, 255, 0.14), transparent 58%);
}

.public-body .dashboard-shell #growth-zone .redeem-card.is-affordable {
  border-color: rgba(65, 232, 145, 0.62) !important;
  box-shadow: 0 18px 34px rgba(20, 191, 105, 0.16);
}

.public-body .dashboard-shell #growth-zone .redeem-card h3,
.public-body .dashboard-shell #growth-zone .redeem-card p,
.public-body .dashboard-shell #growth-zone .redeem-card button,
.public-body .dashboard-shell #growth-zone .redeem-card .redeem-card-status {
  position: relative;
  z-index: 1;
}

.public-body .dashboard-shell #growth-zone .redeem-card h3 {
  margin-top: 26px;
  font-size: 22px;
}

.public-body .dashboard-shell #growth-zone .redeem-card-status {
  position: absolute !important;
  top: 12px;
  right: 12px;
  padding: 6px 9px;
  border: 1px solid rgba(116, 174, 255, 0.38);
  border-radius: 999px;
  color: #cfe0f8;
  background: rgba(9, 36, 70, 0.82);
  font-size: 12px;
  font-weight: 900;
}

.public-body .dashboard-shell #growth-zone .redeem-card.is-affordable .redeem-card-status {
  border-color: rgba(67, 232, 143, 0.6);
  color: #6ef3a8;
  background: rgba(16, 96, 58, 0.44);
}

.public-body .dashboard-shell #growth-zone .redeem-card.is-locked .reward-redeem-btn {
  opacity: 0.68;
}

@media (max-width: 980px) {
  .public-body .dashboard-shell #growth-zone .reward-wallet-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .public-body .dashboard-shell #growth-zone .reward-wallet-strip,
  .public-body .dashboard-shell #growth-zone .reward-activity-row {
    grid-template-columns: 1fr;
  }
}

/* Dashboard sidebar polish and sticky-header clearance */
.public-body .dashboard-shell {
  --dashboard-header-offset: 94px;
}

.public-body .dashboard-shell .user-board-side {
  position: sticky;
  top: var(--dashboard-header-offset);
  min-height: 0;
  max-height: calc(100vh - var(--dashboard-header-offset) - 16px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(103, 202, 255, 0.54) rgba(7, 24, 45, 0.48);
  padding: 13px;
  border-radius: 12px;
  border: 1px solid rgba(104, 178, 255, 0.45);
  background:
    radial-gradient(120% 80% at 16% -6%, rgba(70, 226, 255, 0.22), transparent 48%),
    radial-gradient(90% 80% at 100% 22%, rgba(132, 92, 255, 0.2), transparent 56%),
    linear-gradient(180deg, rgba(11, 38, 70, 0.96), rgba(8, 30, 55, 0.98));
  box-shadow:
    0 18px 34px rgba(1, 10, 24, 0.38),
    inset 0 1px 0 rgba(227, 245, 255, 0.12);
}

.public-body .dashboard-shell .user-board-side::-webkit-scrollbar {
  width: 8px;
}

.public-body .dashboard-shell .user-board-side::-webkit-scrollbar-track {
  background: rgba(7, 24, 45, 0.48);
  border-radius: 999px;
}

.public-body .dashboard-shell .user-board-side::-webkit-scrollbar-thumb {
  background: rgba(103, 202, 255, 0.54);
  border-radius: 999px;
}

.public-body .dashboard-shell .user-side-head {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom-color: rgba(121, 194, 255, 0.24);
}

.public-body .dashboard-shell .side-kicker {
  color: #75dbff;
}

.public-body .dashboard-shell .user-board-side h3 {
  margin-bottom: 6px;
  font-size: 20px;
  line-height: 1.05;
}

.public-body .dashboard-shell .side-email {
  color: #b7d7f5;
}

.public-body .dashboard-shell .user-board-side nav {
  gap: 7px;
}

.public-body .dashboard-shell .user-board-side nav a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid transparent;
  color: #d8eaff;
  font-weight: 700;
  background: rgba(4, 19, 38, 0.22);
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.public-body .dashboard-shell .user-board-side nav a:hover,
.public-body .dashboard-shell .user-board-side nav a.is-active {
  color: #ffffff;
  border-color: rgba(135, 207, 255, 0.68);
  background: linear-gradient(135deg, rgba(55, 135, 255, 0.72), rgba(117, 82, 255, 0.62));
  box-shadow: 0 9px 18px rgba(27, 86, 179, 0.22);
}

.public-body .dashboard-shell .user-board-side nav a:hover {
  transform: translateX(2px);
}

.public-body .dashboard-shell .user-side-meta {
  border-color: rgba(104, 178, 255, 0.3);
  background:
    radial-gradient(90% 95% at 8% 0%, rgba(62, 147, 255, 0.18), transparent 52%),
    linear-gradient(180deg, rgba(7, 31, 59, 0.82), rgba(6, 24, 45, 0.76));
  box-shadow:
    inset 0 1px 0 rgba(221, 243, 255, 0.1),
    0 12px 24px rgba(0, 10, 24, 0.22);
  gap: 9px;
}

.public-body .dashboard-shell .side-meta-topline,
.public-body .dashboard-shell .side-bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.public-body .dashboard-shell .side-meta-topline span,
.public-body .dashboard-shell .side-bank-row span,
.public-body .dashboard-shell .side-token-card span {
  color: #9ec5ed;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.public-body .dashboard-shell .side-meta-topline strong {
  padding: 4px 8px;
  border: 1px solid rgba(92, 236, 174, 0.42);
  border-radius: 999px;
  background: rgba(28, 121, 89, 0.28);
  color: #8ff5c0;
  font-size: 11px;
  line-height: 1;
}

.public-body .dashboard-shell .side-supporter-badge {
  margin: -2px 0 0;
  padding: 7px 8px;
  border: 1px solid rgba(255, 207, 125, 0.3);
  border-radius: 8px;
  background: rgba(126, 75, 28, 0.24);
  color: #ffdca4;
  font-size: 12px;
  font-weight: 800;
}

.public-body .dashboard-shell .side-token-card {
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid rgba(90, 208, 255, 0.36);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(32, 123, 255, 0.28), rgba(31, 207, 151, 0.18)),
    rgba(3, 18, 36, 0.42);
}

.public-body .dashboard-shell .side-token-card strong {
  color: #72ffc0;
  font-size: 28px;
  line-height: 1;
  font-family: "Space Grotesk", sans-serif;
  text-shadow: 0 8px 22px rgba(45, 245, 165, 0.18);
}

.public-body .dashboard-shell .side-bank-row {
  padding-top: 2px;
}

.public-body .dashboard-shell .side-bank-row strong {
  color: #f1f7ff;
  font-size: 12px;
  text-align: right;
}

.public-body .dashboard-shell .side-meta-note {
  margin: -2px 0 0;
  color: #abc8e8;
  font-size: 12px;
  line-height: 1.35;
}

.public-body .dashboard-shell .side-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding-top: 2px;
}

.public-body .dashboard-shell .side-mini-stats span {
  display: grid;
  gap: 1px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(104, 178, 255, 0.22);
  border-radius: 8px;
  background: rgba(3, 18, 36, 0.36);
  color: #b8d3ef;
  font-size: 11px;
  font-weight: 700;
}

.public-body .dashboard-shell .side-mini-stats strong {
  color: #f4f9ff;
  font-size: 14px;
  line-height: 1;
}

.public-body .dashboard-shell .user-side-actions a {
  border-color: rgba(104, 178, 255, 0.28);
  background: rgba(7, 33, 61, 0.78);
}

.public-body .dashboard-shell .user-side-actions a:hover {
  background: rgba(17, 64, 103, 0.86);
  border-color: rgba(112, 204, 255, 0.58);
}

.public-body .dashboard-shell .user-side-actions .side-upgrade-cta {
  border-color: rgba(126, 228, 255, 0.78);
  color: #ffffff;
  background:
    radial-gradient(120% 130% at 18% 0%, rgba(62, 235, 255, 0.32), transparent 44%),
    linear-gradient(135deg, rgba(39, 120, 255, 0.98), rgba(127, 82, 255, 0.98));
  box-shadow:
    0 14px 28px rgba(45, 115, 255, 0.34),
    inset 0 1px 0 rgba(240, 250, 255, 0.22);
}

.public-body .dashboard-shell .user-side-actions .side-upgrade-cta:hover {
  border-color: rgba(141, 239, 255, 0.95);
  background:
    radial-gradient(120% 130% at 18% 0%, rgba(79, 245, 255, 0.38), transparent 44%),
    linear-gradient(135deg, rgba(48, 139, 255, 1), rgba(139, 91, 255, 1));
}

.public-body .dashboard-shell .account-settings-zone {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  min-height: 0 !important;
  align-content: flex-start;
}

.public-body .dashboard-shell .account-settings-zone[hidden] {
  display: none;
}

.public-body .dashboard-shell .account-settings-hero,
.public-body .dashboard-shell .account-settings-card,
.public-body .dashboard-shell .account-tabs-shell {
  border-color: rgba(89, 165, 255, 0.36);
  background:
    radial-gradient(90% 110% at 10% 0%, rgba(52, 136, 255, 0.18), transparent 48%),
    radial-gradient(80% 120% at 100% 8%, rgba(33, 214, 170, 0.12), transparent 52%),
    linear-gradient(180deg, rgba(7, 28, 52, 0.96), rgba(4, 18, 34, 0.98));
  box-shadow: 0 18px 42px rgba(0, 8, 22, 0.26), inset 0 1px 0 rgba(219, 241, 255, 0.08);
}

.public-body .dashboard-shell .account-settings-hero .section-title {
  align-items: flex-start;
}

.public-body .dashboard-shell .account-status-pill {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(104, 178, 255, 0.34);
  border-radius: 999px;
  background: rgba(37, 102, 190, 0.18);
  color: #cce7ff;
  font-size: 12px;
  font-weight: 800;
}

.public-body .dashboard-shell .account-status-pill.is-verified {
  border-color: rgba(83, 236, 174, 0.42);
  background: rgba(24, 132, 91, 0.2);
  color: #9cffcc;
}

.public-body .dashboard-shell .account-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.public-body .dashboard-shell .account-summary-grid span {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(104, 178, 255, 0.24);
  border-radius: 10px;
  background: rgba(4, 18, 36, 0.44);
}

.public-body .dashboard-shell .account-summary-grid small,
.public-body .dashboard-shell .account-inline-action small {
  display: block;
  color: #9dbedf;
  font-size: 12px;
  font-weight: 700;
}

.public-body .dashboard-shell .account-summary-grid strong {
  display: block;
  overflow: hidden;
  color: #f4f9ff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-body .dashboard-shell .account-settings-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-height: 0 !important;
}

.public-body .dashboard-shell .account-tabs-shell {
  padding: 12px;
  margin: 0 !important;
}

.public-body .dashboard-shell .account-tabs-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.public-body .dashboard-shell .account-tab-panel {
  width: 100%;
  margin: 0 !important;
  animation: accountPanelIn .16s ease both;
}

.public-body .dashboard-shell .account-tab-panel[hidden] {
  display: none;
}

@keyframes accountPanelIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.public-body .dashboard-shell .account-settings-card-wide {
  grid-column: 1 / -1;
}

.public-body .dashboard-shell .account-form {
  display: grid;
  gap: 10px;
}

.public-body .dashboard-shell .account-form input,
.public-body .dashboard-shell .account-form select {
  min-height: 42px;
}

.public-body .dashboard-shell .account-preferences-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}

.public-body .dashboard-shell .account-preferences-form .settings-row {
  grid-column: span 2;
}

.public-body .dashboard-shell .account-preferences-form button {
  min-height: 42px;
}

.public-body .dashboard-shell .account-pro-alerts-form {
  grid-template-columns: 1fr 220px auto;
  align-items: end;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(104, 178, 255, 0.18);
}

.public-body .dashboard-shell .account-inline-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(104, 178, 255, 0.22);
  border-radius: 10px;
  background: rgba(3, 18, 36, 0.36);
}

.public-body .dashboard-shell .account-inline-action strong {
  color: #f5f9ff;
}

.public-body .dashboard-shell .account-action-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.public-body .dashboard-shell .account-danger-card {
  border-color: rgba(255, 115, 138, 0.34);
  background:
    radial-gradient(80% 110% at 100% 0%, rgba(255, 88, 116, 0.12), transparent 48%),
    linear-gradient(180deg, rgba(36, 14, 30, 0.94), rgba(5, 18, 34, 0.98));
}

.public-body .dashboard-shell .account-danger-card button {
  border-color: rgba(255, 117, 140, 0.44);
  background: linear-gradient(135deg, #ff5579, #8b5cf6);
}

@media (max-width: 900px) {
  .public-body .dashboard-shell .account-summary-grid,
  .public-body .dashboard-shell .account-settings-grid,
  .public-body .dashboard-shell .account-tabs-nav,
  .public-body .dashboard-shell .account-preferences-form,
  .public-body .dashboard-shell .account-pro-alerts-form {
    grid-template-columns: 1fr;
  }

  .public-body .dashboard-shell .account-preferences-form .settings-row {
    grid-column: auto;
  }
}

@media (max-width: 1020px) {
  .public-body .dashboard-shell .user-board-side {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

/* Header auth buttons: match the neon dashboard theme without the generic blocky look. */
.public-body .fullsite-header .header-actions .header-auth-btn {
  position: relative;
  min-width: 116px;
  height: 48px;
  min-height: 48px;
  padding: 0 20px !important;
  border: 1px solid rgba(112, 182, 255, 0.58);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 130% at 20% 0%, rgba(88, 223, 255, 0.3), transparent 42%),
    linear-gradient(135deg, rgba(42, 124, 255, 0.96), rgba(108, 84, 239, 0.96));
  box-shadow:
    0 14px 26px rgba(34, 98, 220, 0.32),
    inset 0 1px 0 rgba(238, 249, 255, 0.24);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, filter .16s ease;
}

.public-body .fullsite-header .header-actions .header-auth-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-120%);
  transition: transform .35s ease;
}

.public-body .fullsite-header .header-actions .header-auth-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(128, 222, 255, 0.82);
  filter: saturate(1.08);
  box-shadow:
    0 18px 34px rgba(36, 125, 255, 0.4),
    0 0 0 3px rgba(82, 161, 255, 0.16),
    inset 0 1px 0 rgba(238, 249, 255, 0.28);
}

.public-body .fullsite-header .header-actions .header-auth-btn:hover::before {
  transform: translateX(120%);
}

.public-body .fullsite-header .header-actions .header-logout-btn {
  border-color: rgba(119, 156, 255, 0.46);
  background:
    radial-gradient(120% 130% at 20% 0%, rgba(91, 221, 255, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(28, 72, 139, 0.94), rgba(63, 82, 181, 0.94));
  box-shadow:
    0 12px 22px rgba(20, 53, 122, 0.24),
    inset 0 1px 0 rgba(238, 249, 255, 0.18);
}

.public-body .fullsite-header .header-actions .header-home-btn {
  min-width: 92px;
  border-color: rgba(112, 182, 255, 0.46);
  background:
    radial-gradient(120% 130% at 20% 0%, rgba(91, 221, 255, 0.16), transparent 42%),
    linear-gradient(135deg, rgba(12, 43, 82, 0.94), rgba(38, 75, 145, 0.94));
  box-shadow:
    0 12px 22px rgba(8, 30, 72, 0.22),
    inset 0 1px 0 rgba(238, 249, 255, 0.16);
}

.public-body .fullsite-header .header-actions .header-upgrade-btn {
  min-width: 104px;
  border-color: rgba(132, 239, 255, 0.82);
  background:
    radial-gradient(120% 140% at 18% 0%, rgba(50, 242, 255, 0.36), transparent 42%),
    linear-gradient(135deg, rgba(33, 198, 161, 0.98), rgba(77, 116, 255, 0.98) 52%, rgba(132, 82, 255, 0.98));
  box-shadow:
    0 18px 36px rgba(31, 175, 214, 0.34),
    0 0 0 1px rgba(160, 243, 255, 0.12),
    inset 0 1px 0 rgba(243, 254, 255, 0.3);
}

/* Final background cascade guard: public pages must show the admin-selected visual. */
body.public-body.has-site-bg {
  background:
    linear-gradient(180deg, rgba(5, 12, 24, 0.5), rgba(5, 12, 24, 0.72)),
    var(--site-bg-image) center center / cover no-repeat fixed !important;
  background-color: #07111d !important;
}

body.admin-login-page.has-site-bg {
  background:
    linear-gradient(180deg, rgba(5, 12, 24, 0.58), rgba(5, 12, 24, 0.74)),
    var(--site-bg-image) center center / cover no-repeat fixed !important;
  background-color: #07111d !important;
}

/* Admin Email Settings polish */
.admin-body.admin-v2 #email-settings,
.admin-body.admin-v2 #outbox {
  overflow: hidden;
}

.admin-body.admin-v2 .email-console {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.admin-body.admin-v2 .email-console div {
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 13px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(89, 104, 242, 0.1), transparent 58%),
    var(--admin-surface-soft);
}

.admin-body.admin-v2 .email-console span {
  display: block;
  color: #8795b2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .email-console strong {
  display: block;
  margin-top: 5px;
  color: var(--admin-ink);
  font-size: 25px;
  line-height: 1;
}

.admin-body.admin-v2 .email-preview-card {
  display: grid;
  gap: 7px;
  margin: 12px 0;
  padding: 18px;
  border: 1px solid rgba(89, 104, 242, 0.25);
  border-radius: 16px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(89, 104, 242, 0.18), transparent 58%),
    linear-gradient(135deg, #18243c, #101a2d);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(20, 31, 56, 0.14);
}

.admin-body.admin-v2 .email-preview-card span {
  width: max-content;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #9de7ff;
  font-size: 11px;
  font-weight: 900;
}

.admin-body.admin-v2 .email-preview-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
}

.admin-body.admin-v2 .email-preview-card p {
  max-width: 720px;
  margin: 0;
  color: #d8e5ff;
  font-size: 13px;
  font-weight: 700;
}

.admin-body.admin-v2 .email-settings-form {
  display: grid;
  gap: 12px;
}

.admin-body.admin-v2 .email-settings-group {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: var(--admin-surface-soft);
}

.admin-body.admin-v2 .email-settings-group legend {
  padding: 0 7px;
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 900;
}

.admin-body.admin-v2 .email-settings-group label {
  margin: 0;
}

.admin-body.admin-v2 .email-field-wide {
  grid-column: 1 / -1;
}

.admin-body.admin-v2 .email-outbox-list {
  display: grid;
  gap: 10px;
}

.admin-body.admin-v2 .email-empty-state {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px dashed #cdd8ec;
  border-radius: 14px;
  background: #f8fbff;
  color: var(--admin-muted);
}

.admin-body.admin-v2 .email-empty-state strong {
  color: var(--admin-ink);
}

.admin-body.admin-v2 .email-outbox-card {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(30, 45, 82, 0.05);
}

.admin-body.admin-v2 .email-outbox-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.admin-body.admin-v2 .email-outbox-meta span,
.admin-body.admin-v2 .email-outbox-meta strong {
  padding: 4px 8px;
  border: 1px solid #dbe4f5;
  border-radius: 999px;
  background: #f7f9fd;
  color: #6f7e9d;
  font-size: 11px;
  font-weight: 900;
}

.admin-body.admin-v2 .email-outbox-card h3 {
  margin: 0;
  color: var(--admin-ink);
  font-size: 17px;
  line-height: 1.2;
}

.admin-body.admin-v2 .email-outbox-card p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
}

@media (max-width: 760px) {
  .admin-body.admin-v2 .email-console,
  .admin-body.admin-v2 .email-settings-group {
    grid-template-columns: 1fr;
  }
}

/* Admin Legal Pages polish */
.admin-body.admin-v2 #legal-pages {
  overflow: hidden;
}

.admin-body.admin-v2 .legal-admin-console {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.admin-body.admin-v2 .legal-admin-console div {
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background:
    radial-gradient(90% 110% at 100% 0%, rgba(91, 124, 255, 0.1), transparent 55%),
    var(--admin-surface-soft);
}

.admin-body.admin-v2 .legal-admin-console span {
  display: block;
  color: #8795b2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .legal-admin-console strong {
  display: block;
  margin-top: 5px;
  color: var(--admin-ink);
  font-size: 20px;
  line-height: 1.15;
}

.admin-body.admin-v2 .legal-admin-form {
  display: grid;
  gap: 12px;
}

.admin-body.admin-v2 .legal-admin-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: var(--admin-surface-soft);
}

.admin-body.admin-v2 .legal-admin-group legend {
  padding: 0 7px;
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 900;
}

.admin-body.admin-v2 .legal-field-wide {
  grid-column: 1 / -1;
}

.admin-body.admin-v2 .legal-admin-group textarea {
  min-height: 150px;
}

.admin-body.admin-v2 .legal-admin-actions {
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .admin-body.admin-v2 .legal-admin-console,
  .admin-body.admin-v2 .legal-admin-group {
    grid-template-columns: 1fr;
  }

  .admin-body.admin-v2 .legal-admin-actions,
  .admin-body.admin-v2 .legal-admin-actions .btn {
    width: 100%;
  }
}

/* Admin Email Marketing polish */
.admin-body.admin-v2 #email-marketing {
  overflow: hidden;
}

.admin-body.admin-v2 .marketing-console {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.admin-body.admin-v2 .marketing-console div,
.admin-body.admin-v2 .marketing-list-card,
.admin-body.admin-v2 .marketing-tool-card,
.admin-body.admin-v2 .marketing-settings-group {
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background:
    radial-gradient(90% 110% at 100% 0%, rgba(34, 197, 154, 0.09), transparent 55%),
    var(--admin-surface-soft);
}

.admin-body.admin-v2 .marketing-console div {
  padding: 14px;
}

.admin-body.admin-v2 .marketing-console span,
.admin-body.admin-v2 .marketing-preview-card span,
.admin-body.admin-v2 .marketing-tool-card > span,
.admin-body.admin-v2 .marketing-list-head span {
  display: block;
  color: #8795b2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .marketing-console strong {
  display: block;
  margin-top: 5px;
  color: var(--admin-ink);
  font-size: 25px;
  line-height: 1;
}

.admin-body.admin-v2 .marketing-tabbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 12px;
  padding: 8px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: #f8fbff;
}

.admin-body.admin-v2 .marketing-tabbar button {
  flex: 0 1 auto;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #647491;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.admin-body.admin-v2 .marketing-tabbar button:hover {
  border-color: #dce5f5;
  background: #ffffff;
  color: var(--admin-ink);
}

.admin-body.admin-v2 .marketing-tabbar button.is-active {
  border-color: rgba(91, 124, 255, 0.34);
  background: linear-gradient(135deg, #5b7cff, #22c59a);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(91, 124, 255, 0.18);
}

.admin-body.admin-v2 .marketing-tab-panel {
  display: grid;
  gap: 12px;
}

.admin-body.admin-v2 .marketing-tab-panel[hidden] {
  display: none;
}

.admin-body.admin-v2 .marketing-panel-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(91, 124, 255, 0.09), transparent 58%),
    #ffffff;
}

.admin-body.admin-v2 .marketing-panel-head h3 {
  margin: 0;
  color: var(--admin-ink);
  font-size: 19px;
}

.admin-body.admin-v2 .marketing-panel-head p {
  margin: 4px 0 0;
  color: var(--admin-muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-body.admin-v2 .marketing-panel-head > span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(34, 197, 154, 0.28);
  border-radius: 999px;
  background: rgba(34, 197, 154, 0.1);
  color: #138369;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .marketing-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  gap: 12px;
  align-items: stretch;
  margin: 0;
}

.admin-body.admin-v2 .marketing-split-grid {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
  gap: 12px;
  align-items: start;
}

.admin-body.admin-v2 .marketing-campaign-form {
  display: grid;
  gap: 12px;
}

.admin-body.admin-v2 .marketing-settings-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 14px;
}

.admin-body.admin-v2 .marketing-settings-group legend {
  padding: 0 7px;
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 900;
}

.admin-body.admin-v2 .marketing-field-wide {
  grid-column: 1 / -1;
}

.admin-body.admin-v2 .marketing-preview-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(91, 124, 255, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(91, 124, 255, 0.24), transparent 55%),
    linear-gradient(145deg, #17233d 0%, #0e1a2d 58%, #081426 100%);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(20, 31, 56, 0.18);
}

.admin-body.admin-v2 .marketing-preview-card span {
  width: max-content;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #85f2dc;
}

.admin-body.admin-v2 .marketing-preview-card strong {
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.04;
}

.admin-body.admin-v2 .marketing-preview-card small {
  color: #a9bdf0;
  font-size: 13px;
  font-weight: 800;
}

.admin-body.admin-v2 .marketing-preview-card p {
  flex: 1;
  margin: 0;
  color: #dce7ff;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.admin-body.admin-v2 .marketing-preview-card a {
  width: max-content;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #5b7cff, #22c59a);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 24px rgba(91, 124, 255, 0.24);
}

.admin-body.admin-v2 .marketing-preview-card a[hidden] {
  display: none;
}

.admin-body.admin-v2 .marketing-actions {
  justify-content: flex-end;
}

.admin-body.admin-v2 .marketing-tools-grid,
.admin-body.admin-v2 .marketing-lists-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.admin-body.admin-v2 .marketing-tool-card,
.admin-body.admin-v2 .marketing-list-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.admin-body.admin-v2 .marketing-test-card {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-body.admin-v2 .marketing-test-card > span,
.admin-body.admin-v2 .marketing-test-card > strong,
.admin-body.admin-v2 .marketing-test-card label:has(textarea),
.admin-body.admin-v2 .marketing-test-card .btn {
  grid-column: 1 / -1;
}

.admin-body.admin-v2 .marketing-tool-card strong {
  color: var(--admin-ink);
  font-size: 16px;
}

.admin-body.admin-v2 .marketing-tool-card label {
  display: grid;
  gap: 5px;
  margin: 0;
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-body.admin-v2 .marketing-tool-card input,
.admin-body.admin-v2 .marketing-tool-card textarea {
  width: 100%;
  border: 1px solid #d8e2f4;
  border-radius: 10px;
  background: #f8fbff;
  color: var(--admin-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.admin-body.admin-v2 .marketing-tool-card input {
  min-height: 38px;
  padding: 0 10px;
}

.admin-body.admin-v2 .marketing-tool-card textarea {
  min-height: 96px;
  padding: 10px;
  resize: vertical;
}

.admin-body.admin-v2 .marketing-template-form,
.admin-body.admin-v2 .marketing-automation-form {
  align-content: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-body.admin-v2 .marketing-template-form > span,
.admin-body.admin-v2 .marketing-template-form > strong,
.admin-body.admin-v2 .marketing-template-form label:has(textarea),
.admin-body.admin-v2 .marketing-template-form .btn,
.admin-body.admin-v2 .marketing-automation-form > span,
.admin-body.admin-v2 .marketing-automation-form > strong,
.admin-body.admin-v2 .marketing-automation-form label:has(textarea),
.admin-body.admin-v2 .marketing-automation-form .btn {
  grid-column: 1 / -1;
}

.admin-body.admin-v2 .marketing-tool-card input:focus,
.admin-body.admin-v2 .marketing-tool-card textarea:focus {
  border-color: rgba(91, 124, 255, 0.7);
  outline: 3px solid rgba(91, 124, 255, 0.16);
}

.admin-body.admin-v2 .marketing-list-head {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--admin-line);
  padding-bottom: 10px;
}

.admin-body.admin-v2 .marketing-list-head h3 {
  margin: 0;
  color: var(--admin-ink);
  font-size: 18px;
}

.admin-body.admin-v2 .marketing-subscriber-list,
.admin-body.admin-v2 .marketing-campaign-list {
  display: grid;
  gap: 8px;
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.admin-body.admin-v2 .marketing-subscriber-list article,
.admin-body.admin-v2 .marketing-campaign-list article,
.admin-body.admin-v2 .marketing-subscriber-list > p,
.admin-body.admin-v2 .marketing-campaign-list > p {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 10px;
  border: 1px solid #dce5f5;
  border-radius: 12px;
  background: #ffffff;
}

.admin-body.admin-v2 .marketing-campaign-list article {
  display: flex;
  align-items: start;
}

.admin-body.admin-v2 .marketing-subscriber-list strong,
.admin-body.admin-v2 .marketing-campaign-list strong {
  display: block;
  color: var(--admin-ink);
  font-size: 13px;
  line-height: 1.25;
  word-break: break-word;
}

.admin-body.admin-v2 .marketing-subscriber-list small,
.admin-body.admin-v2 .marketing-campaign-list small {
  display: block;
  margin-top: 3px;
  color: #71809c;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.admin-body.admin-v2 .marketing-subscriber-list form {
  flex: 0 0 auto;
}

.admin-body.admin-v2 .marketing-subscriber-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.admin-body.admin-v2 .marketing-history-card {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .admin-body.admin-v2 .marketing-workbench,
  .admin-body.admin-v2 .marketing-split-grid,
  .admin-body.admin-v2 .marketing-tools-grid,
  .admin-body.admin-v2 .marketing-lists-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-body.admin-v2 .marketing-console,
  .admin-body.admin-v2 .marketing-settings-group {
    grid-template-columns: 1fr;
  }

  .admin-body.admin-v2 .marketing-tabbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-body.admin-v2 .marketing-tabbar button {
    width: 100%;
  }

  .admin-body.admin-v2 .marketing-panel-head,
  .admin-body.admin-v2 .marketing-campaign-list article {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-body.admin-v2 .marketing-actions {
    justify-content: stretch;
  }

  .admin-body.admin-v2 .marketing-actions .btn,
  .admin-body.admin-v2 .marketing-tool-card .btn {
    width: 100%;
  }

  .admin-body.admin-v2 .marketing-subscriber-list article {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-body.admin-v2 .marketing-test-card,
  .admin-body.admin-v2 .marketing-template-form,
  .admin-body.admin-v2 .marketing-automation-form {
    grid-template-columns: 1fr;
  }
}

/* Admin Creator Lists polish */
.admin-body.admin-v2 #creator-lists {
  overflow: hidden;
}

.admin-body.admin-v2 .creator-console {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.admin-body.admin-v2 .creator-console div {
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 13px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(89, 104, 242, 0.1), transparent 58%),
    var(--admin-surface-soft);
}

.admin-body.admin-v2 .creator-console span {
  display: block;
  color: #8795b2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .creator-console strong {
  display: block;
  margin-top: 5px;
  color: var(--admin-ink);
  font-size: 25px;
  line-height: 1;
}

.admin-body.admin-v2 .creator-list-form {
  display: grid;
  gap: 12px;
}

.admin-body.admin-v2 .creator-list-details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: var(--admin-surface-soft);
}

.admin-body.admin-v2 .creator-list-details legend {
  padding: 0 7px;
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 900;
}

.admin-body.admin-v2 .creator-field-wide {
  grid-column: 1 / -1;
}

.admin-body.admin-v2 .creator-picker-shell {
  grid-column: 1 / -1;
  display: grid !important;
  gap: 9px;
  margin: 0 !important;
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(89, 104, 242, 0.08), transparent 58%),
    var(--admin-surface-soft);
}

.admin-body.admin-v2 .creator-picker-hint {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-body.admin-v2 .creator-picker-toolbar {
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(130px, 1fr)) repeat(2, auto) repeat(3, auto);
  margin: 0;
  padding: 10px;
  border: 1px solid #e1e8f5;
  border-radius: 12px;
  background: #ffffff;
}

.admin-body.admin-v2 .creator-picker-toolbar input,
.admin-body.admin-v2 .creator-picker-toolbar select {
  min-height: 36px;
  border-radius: 9px;
  border: 1px solid #d8e2f2;
  background: #f9fbff;
  color: var(--admin-ink);
  padding: 7px 9px;
}

.admin-body.admin-v2 .creator-picker-meta {
  width: max-content;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid #dbe4f5;
  border-radius: 999px;
  background: #ffffff;
}

.admin-body.admin-v2 #creatorGamePicker {
  min-height: 360px;
  border-radius: 12px;
  border: 1px solid #d8e2f2 !important;
  background: #ffffff !important;
  color: var(--admin-ink) !important;
  font-size: 13px;
  line-height: 1.5;
}

.admin-body.admin-v2 #creatorGamePicker option {
  padding: 7px 9px;
}

.admin-body.admin-v2 .creator-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-body.admin-v2 .creator-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.admin-body.admin-v2 .creator-empty-state {
  display: grid;
  gap: 4px;
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px dashed #cdd8ec;
  border-radius: 14px;
  background: #f8fbff;
  color: var(--admin-muted);
}

.admin-body.admin-v2 .creator-empty-state strong {
  color: var(--admin-ink);
}

.admin-body.admin-v2 .creator-list-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 15px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(89, 104, 242, 0.08), transparent 58%),
    #ffffff;
  box-shadow: 0 10px 24px rgba(30, 45, 82, 0.06);
}

.admin-body.admin-v2 .creator-list-card.is-sponsored {
  border-color: rgba(89, 104, 242, 0.32);
}

.admin-body.admin-v2 .creator-list-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-body.admin-v2 .creator-list-topline span,
.admin-body.admin-v2 .creator-list-topline strong {
  padding: 4px 8px;
  border: 1px solid #dbe4f5;
  border-radius: 999px;
  background: #f7f9fd;
  color: #6f7e9d;
  font-size: 11px;
  font-weight: 900;
}

.admin-body.admin-v2 .creator-list-topline strong {
  color: #4054d6;
  background: #e9edff;
  border-color: #cbd5ff;
}

.admin-body.admin-v2 .creator-list-card h3 {
  margin: 9px 0 4px;
  color: var(--admin-ink);
  font-size: 19px;
  line-height: 1.15;
}

.admin-body.admin-v2 .creator-list-card p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-body.admin-v2 .creator-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.admin-body.admin-v2 .creator-list-actions form {
  margin: 0;
}

@media (max-width: 1180px) {
  .admin-body.admin-v2 .creator-picker-toolbar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .admin-body.admin-v2 .creator-console,
  .admin-body.admin-v2 .creator-list-details,
  .admin-body.admin-v2 .creator-picker-toolbar {
    grid-template-columns: 1fr;
  }
}

/* Admin Source Controls polish */
.admin-body.admin-v2 #sources {
  overflow: hidden;
}

.admin-body.admin-v2 .source-control-console {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.admin-body.admin-v2 .source-control-console div {
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 13px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(89, 104, 242, 0.1), transparent 58%),
    var(--admin-surface-soft);
}

.admin-body.admin-v2 .source-control-console span {
  display: block;
  color: #8795b2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .source-control-console strong {
  display: block;
  margin-top: 5px;
  color: var(--admin-ink);
  font-size: 25px;
  line-height: 1;
}

.admin-body.admin-v2 .source-section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf1f8;
}

.admin-body.admin-v2 .source-section-head h3 {
  margin: 0;
  color: var(--admin-ink);
  font-size: 18px;
}

.admin-body.admin-v2 .source-section-head p {
  margin: 4px 0 0;
  color: var(--admin-muted);
  font-size: 13px;
}

.admin-body.admin-v2 .source-controls-form {
  padding: 13px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: var(--admin-surface-soft);
}

.admin-body.admin-v2 .source-toggle-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.admin-body.admin-v2 .source-toggle-card {
  grid-template-columns: 18px 42px minmax(0, 1fr) auto;
  min-height: 76px;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(30, 45, 82, 0.05);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.admin-body.admin-v2 .source-toggle-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(30, 45, 82, 0.09);
}

.admin-body.admin-v2 .source-toggle-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #dbe4f5;
  border-radius: 11px;
  background: #f6f8fd;
  color: #657392;
  font-size: 12px;
  font-weight: 900;
}

.admin-body.admin-v2 .source-toggle-logo img {
  max-width: 30px;
  max-height: 24px;
  object-fit: contain;
}

.admin-body.admin-v2 .source-toggle-card.is-on {
  border-color: rgba(25, 168, 121, 0.34);
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(25, 168, 121, 0.1), transparent 58%),
    #ffffff;
}

.admin-body.admin-v2 .source-toggle-card.is-off {
  opacity: .78;
}

.admin-body.admin-v2 .source-toggle-state {
  font-weight: 900;
}

.admin-body.admin-v2 .admin-source-logo-upload {
  margin-top: 0;
}

.admin-body.admin-v2 .source-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.admin-body.admin-v2 .source-logo-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 86px;
  padding: 10px;
  border: 1px solid var(--admin-line);
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(30, 45, 82, 0.05);
}

.admin-body.admin-v2 .source-logo-card.has-logo {
  border-color: rgba(89, 104, 242, 0.3);
}

.admin-body.admin-v2 .source-logo-preview {
  display: grid;
  place-items: center;
  width: 74px;
  height: 54px;
  border: 1px solid #dbe4f5;
  border-radius: 11px;
  background: #f7f9fd;
}

.admin-body.admin-v2 .source-logo-preview span {
  color: #657392;
  font-weight: 900;
}

.admin-body.admin-v2 .source-logo-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.admin-body.admin-v2 .source-logo-copy strong {
  color: var(--admin-ink);
  font-size: 13px;
}

.admin-body.admin-v2 .source-logo-copy small {
  overflow: hidden;
  color: var(--admin-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-body.admin-v2 .gog-source-panel {
  padding: 13px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(89, 104, 242, 0.08), transparent 58%),
    var(--admin-surface-soft);
}

.admin-body.admin-v2 .source-refresh-action {
  margin-top: 10px !important;
}

@media (max-width: 980px) {
  .admin-body.admin-v2 .source-control-console {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .admin-body.admin-v2 .source-control-console,
  .admin-body.admin-v2 .source-logo-card {
    grid-template-columns: 1fr;
  }
  .admin-body.admin-v2 .source-logo-card .btn {
    width: max-content !important;
  }
}

/* Admin Site Settings polish */
.admin-body.admin-v2 #site-settings {
  overflow: hidden;
}

.admin-body.admin-v2 .site-settings-preview {
  --site-preview-accent: #5b7cff;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 14px;
  margin: 12px 0;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--site-preview-accent) 24%, var(--admin-line));
  border-radius: 16px;
  background:
    radial-gradient(90% 140% at 100% 0%, color-mix(in srgb, var(--site-preview-accent) 18%, transparent), transparent 58%),
    linear-gradient(135deg, #18243c, #101a2d);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(20, 31, 56, 0.16);
}

.admin-body.admin-v2 .site-preview-brand {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 170px;
}

.admin-body.admin-v2 .site-preview-brand span {
  width: max-content;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: color-mix(in srgb, var(--site-preview-accent) 34%, rgba(255, 255, 255, 0.1));
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.admin-body.admin-v2 .site-preview-brand strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: .95;
}

.admin-body.admin-v2 .site-preview-brand p {
  max-width: 720px;
  margin: 0;
  color: #d7e6ff;
  font-size: 14px;
  font-weight: 700;
}

.admin-body.admin-v2 .site-preview-newsletter {
  align-self: center;
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.admin-body.admin-v2 .site-preview-newsletter span,
.admin-body.admin-v2 .site-preview-newsletter strong {
  min-height: 42px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
}

.admin-body.admin-v2 .site-preview-newsletter span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #bfd1ec;
  background: rgba(255, 255, 255, 0.08);
}

.admin-body.admin-v2 .site-preview-newsletter strong {
  justify-content: center;
  background: var(--site-preview-accent);
  color: #ffffff;
}

.admin-body.admin-v2 .site-settings-form {
  display: grid;
  gap: 12px;
}

.admin-body.admin-v2 .site-settings-group {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: var(--admin-surface-soft);
}

.admin-body.admin-v2 .site-settings-group legend {
  padding: 0 7px;
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 900;
}

.admin-body.admin-v2 .site-settings-group label {
  margin: 0;
}

.admin-body.admin-v2 .site-settings-group .site-field-wide {
  grid-column: 1 / -1;
}

.admin-body.admin-v2 .social-admin-preview {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px;
  border: 1px solid rgba(119, 193, 255, 0.52);
  border-radius: 12px;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(93, 173, 255, 0.26), transparent 58%),
    linear-gradient(180deg, rgba(10, 39, 71, 0.96), rgba(7, 28, 54, 0.98));
  box-shadow: inset 0 1px 0 rgba(224, 242, 255, 0.15), 0 10px 24px rgba(2, 13, 30, 0.2);
}

.admin-body.admin-v2 .social-admin-preview > span {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(118, 202, 255, 0.42);
  background: rgba(39, 105, 175, 0.24);
  color: #d8f1ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .social-admin-preview a {
  text-decoration: none;
  min-height: 30px !important;
  padding: 6px 12px !important;
  border-radius: 999px;
  border: 1px solid rgba(145, 210, 255, 0.62) !important;
  background: linear-gradient(135deg, rgba(42, 118, 206, 0.92), rgba(79, 111, 235, 0.9)) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 16px rgba(18, 83, 158, 0.34), inset 0 1px 0 rgba(235, 247, 255, 0.24) !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(0, 15, 40, 0.2);
}

.admin-body.admin-v2 .social-admin-preview a:hover {
  border-color: rgba(186, 230, 255, 0.88) !important;
  background: linear-gradient(135deg, rgba(58, 144, 237, 0.98), rgba(101, 136, 255, 0.96)) !important;
  transform: translateY(-1px);
}

.admin-body.admin-v2 .social-admin-preview small {
  color: #d2e6fb;
  font-size: 12px;
  font-weight: 700;
}

.admin-body.admin-v2 #siteAccentInput {
  min-height: 40px;
  padding: 4px;
}

@media (max-width: 860px) {
  .admin-body.admin-v2 .site-settings-preview,
  .admin-body.admin-v2 .site-settings-group {
    grid-template-columns: 1fr;
  }
}

/* Admin Sponsored Slots polish */
.admin-body.admin-v2 #sponsored {
  overflow: hidden;
}

.admin-body.admin-v2 .sponsored-console {
  display: grid;
  grid-template-columns: minmax(300px, 1.25fr) minmax(220px, 0.75fr);
  gap: 12px;
  margin: 12px 0;
}

.admin-body.admin-v2 .sponsored-preview-card {
  --sponsored-preview-accent: #2070f2;
  min-height: 230px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(89, 104, 242, 0.25);
  border-radius: 16px;
  background:
    radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--sponsored-preview-accent) 28%, transparent), transparent 58%),
    linear-gradient(135deg, #15223a, #0d182c);
  background-position: center;
  background-size: cover;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(20, 31, 56, 0.18);
  overflow: hidden;
}

.admin-body.admin-v2 .sponsored-preview-card > span {
  width: max-content;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: color-mix(in srgb, var(--sponsored-preview-accent) 38%, rgba(255, 255, 255, 0.12));
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.admin-body.admin-v2 .sponsored-preview-card strong {
  max-width: 620px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.admin-body.admin-v2 .sponsored-preview-card small {
  max-width: 560px;
  color: #d8e5ff;
  font-size: 13px;
  font-weight: 700;
}

.admin-body.admin-v2 .sponsored-preview-card a {
  width: max-content;
  margin-top: 4px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--sponsored-preview-accent);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.admin-body.admin-v2 .sponsored-summary-grid {
  display: grid;
  gap: 10px;
}

.admin-body.admin-v2 .sponsored-summary-grid div {
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 13px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(89, 104, 242, 0.1), transparent 58%),
    var(--admin-surface-soft);
}

.admin-body.admin-v2 .sponsored-summary-grid span {
  display: block;
  color: #8795b2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .sponsored-summary-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--admin-ink);
  font-size: 26px;
  line-height: 1;
}

.admin-body.admin-v2 .sponsored-placement-guide {
  margin: 0 0 12px;
}

.admin-body.admin-v2 .sponsored-editor-form {
  padding: 13px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: var(--admin-surface-soft);
}

.admin-body.admin-v2 .sponsored-editor-form label:has(#sponsoredSlotImageUrl) {
  grid-column: span 2;
}

.admin-body.admin-v2 #sponsoredSlotAccentColor {
  min-height: 40px;
  padding: 4px;
}

.admin-body.admin-v2 .sponsored-slot-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.admin-body.admin-v2 .sponsored-empty-state {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px dashed #cdd8ec;
  border-radius: 14px;
  background: #f8fbff;
  color: var(--admin-muted);
}

.admin-body.admin-v2 .sponsored-empty-state strong {
  color: var(--admin-ink);
}

.admin-body.admin-v2 .sponsored-slot-card {
  --slot-accent: #2070f2;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--admin-line);
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(30, 45, 82, 0.06);
}

.admin-body.admin-v2 .sponsored-slot-card.is-active {
  border-color: color-mix(in srgb, var(--slot-accent) 30%, var(--admin-line));
}

.admin-body.admin-v2 .sponsored-slot-visual {
  height: 88px;
  border-radius: 12px;
  background:
    radial-gradient(90% 110% at 100% 0%, color-mix(in srgb, var(--slot-accent) 36%, transparent), transparent 58%),
    linear-gradient(135deg, #1d2a46, #111d33);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.admin-body.admin-v2 .sponsored-slot-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-body.admin-v2 .sponsored-slot-visual span {
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.admin-body.admin-v2 .sponsored-slot-copy {
  min-width: 0;
}

.admin-body.admin-v2 .sponsored-slot-topline,
.admin-body.admin-v2 .sponsored-slot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.admin-body.admin-v2 .sponsored-slot-topline span,
.admin-body.admin-v2 .sponsored-slot-topline strong,
.admin-body.admin-v2 .sponsored-slot-meta span {
  padding: 4px 8px;
  border: 1px solid #dbe4f5;
  border-radius: 999px;
  background: #f7f9fd;
  color: #6f7e9d;
  font-size: 11px;
  font-weight: 900;
}

.admin-body.admin-v2 .sponsored-slot-topline strong {
  color: #14764f;
  background: #e4f8ee;
  border-color: #bfead2;
}

.admin-body.admin-v2 .sponsored-slot-card.is-inactive .sponsored-slot-topline strong {
  color: #8a5b19;
  background: #fff4dc;
  border-color: #f0ddb6;
}

.admin-body.admin-v2 .sponsored-slot-copy h3 {
  margin: 8px 0 4px;
  color: var(--admin-ink);
  font-size: 18px;
  line-height: 1.15;
}

.admin-body.admin-v2 .sponsored-slot-copy p {
  margin: 0 0 8px;
  color: var(--admin-muted);
  font-size: 13px;
  line-height: 1.35;
}

.admin-body.admin-v2 .sponsored-slot-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.admin-body.admin-v2 .sponsored-slot-actions form {
  margin: 0;
}

@media (max-width: 1180px) {
  .admin-body.admin-v2 .sponsored-console,
  .admin-body.admin-v2 .sponsored-slot-card {
    grid-template-columns: 1fr;
  }
  .admin-body.admin-v2 .sponsored-slot-actions {
    justify-content: flex-start;
  }
}

/* Admin Overview polish */
.admin-body.admin-v2 .admin-overview {
  gap: 16px;
}

.admin-body.admin-v2 .admin-overview-stats {
  grid-template-columns: repeat(4, minmax(170px, 1fr));
}

.admin-body.admin-v2 .overview-stat-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "metric mark"
    "label mark";
  align-items: center;
  min-height: 112px;
  background:
    radial-gradient(100% 130% at 100% 0%, rgba(89, 104, 242, 0.1), transparent 52%),
    #ffffff !important;
}

.admin-body.admin-v2 .overview-stat-card .metric {
  grid-area: metric;
  align-self: end;
  margin: 0 !important;
  font-size: 38px !important;
  letter-spacing: 0;
}

.admin-body.admin-v2 .overview-stat-card p:not(.metric) {
  grid-area: label;
  align-self: start;
  margin-top: 6px !important;
}

.admin-body.admin-v2 .overview-stat-mark {
  grid-area: mark;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #dbe4f5;
  background: #f3f6fd;
  color: #657392;
  font-size: 13px;
  font-weight: 900;
}

.admin-body.admin-v2 .overview-stat-card.is-primary .overview-stat-mark {
  background: #e9edff;
  border-color: #cbd5ff;
  color: #4054d6;
}

.admin-body.admin-v2 .overview-stat-card.is-good .overview-stat-mark {
  background: #e4f8ee;
  border-color: #bfead2;
  color: #14764f;
}

.admin-body.admin-v2 .overview-stat-card.is-pro .overview-stat-mark {
  background: #eef0ff;
  border-color: #d6dcff;
  color: #5a4bd6;
}

.admin-body.admin-v2 .overview-stat-card.is-warn .overview-stat-mark {
  background: #fff4dc;
  border-color: #f0ddb6;
  color: #9b6619;
}

.admin-body.admin-v2 .admin-overview-hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.admin-body.admin-v2 .overview-insight-card,
.admin-body.admin-v2 .overview-chart-card {
  position: relative;
  overflow: hidden;
}

.admin-body.admin-v2 .overview-insight-card::before,
.admin-body.admin-v2 .overview-chart-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--admin-accent), #27b8d2, var(--admin-accent-2));
}

.admin-body.admin-v2 .overview-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf1f8;
}

.admin-body.admin-v2 .overview-panel-head h2 {
  margin: 0 !important;
}

.admin-body.admin-v2 .overview-panel-head span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid #dbe4f5;
  border-radius: 999px;
  background: #f7f9fd;
  color: #6f7e9d;
  font-size: 11px;
  font-weight: 900;
}

.admin-body.admin-v2 .overview-user-health-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 18px;
}

.admin-body.admin-v2 .overview-user-health-card .overview-panel-head {
  grid-column: 1 / -1;
}

.admin-body.admin-v2 .admin-kpi-list {
  margin: 0;
  gap: 8px;
}

.admin-body.admin-v2 .admin-kpi-list p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid #e7edf7;
  border-radius: 10px;
  background: #f8fbff;
}

.admin-body.admin-v2 .admin-kpi-list p span {
  color: #7483a2;
  font-size: 12px;
  font-weight: 800;
}

.admin-body.admin-v2 .admin-kpi-list p strong {
  color: var(--admin-ink);
  font-size: 13px;
  text-align: right;
}

.admin-body.admin-v2 .admin-ring {
  width: 132px;
  height: 132px;
  margin: 0;
  align-self: center;
  background: conic-gradient(var(--admin-accent) calc(var(--pro-pct) * 1%), #e8eef8 0) !important;
  box-shadow: inset 0 0 0 1px #dbe4f5;
}

.admin-body.admin-v2 .admin-ring span {
  width: 92px;
  height: 92px;
  background: #ffffff !important;
  color: var(--admin-ink) !important;
  box-shadow: 0 8px 20px rgba(30, 45, 82, 0.08);
}

.admin-body.admin-v2 .admin-bars {
  display: grid;
  gap: 11px;
}

.admin-body.admin-v2 .admin-bar-row {
  display: grid;
  gap: 7px;
  padding: 8px 0;
  border-bottom: 1px solid #eef2f8;
}

.admin-body.admin-v2 .admin-bar-row:last-child {
  border-bottom: 0;
}

.admin-body.admin-v2 .admin-bar-label span {
  color: var(--admin-ink);
  font-weight: 800;
}

.admin-body.admin-v2 .admin-bar-label small {
  color: #7b8aa7;
  font-weight: 800;
}

.admin-body.admin-v2 .admin-chip-grid {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  margin-bottom: 14px;
}

.admin-body.admin-v2 .admin-chip {
  display: grid;
  gap: 5px;
  min-height: 76px;
  align-content: center;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(89, 104, 242, 0.08), transparent 58%),
    #f8fbff !important;
}

@media (max-width: 1180px) {
  .admin-body.admin-v2 .admin-overview-stats,
  .admin-body.admin-v2 .admin-overview-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .admin-body.admin-v2 .admin-overview-stats,
  .admin-body.admin-v2 .admin-overview-hero-grid {
    grid-template-columns: 1fr !important;
  }
  .admin-body.admin-v2 .overview-user-health-card {
    grid-template-columns: 1fr;
  }
  .admin-body.admin-v2 .admin-ring {
    justify-self: center;
  }
}

/* Admin User Manager polish */
.admin-body.admin-v2 #users {
  overflow: hidden;
}

.admin-body.admin-v2 .user-manager-console {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.admin-body.admin-v2 .user-manager-console > div {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid #dbe4f5;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.98)),
    radial-gradient(90% 120% at 100% 0%, rgba(89, 104, 242, 0.12), transparent 56%);
  box-shadow: 0 12px 28px rgba(30, 45, 82, 0.06);
}

.admin-body.admin-v2 .user-manager-console > div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--admin-accent), #27b8d2);
}

.admin-body.admin-v2 .user-manager-console span,
.admin-body.admin-v2 .user-card-stats span,
.admin-body.admin-v2 .user-card-kicker {
  color: #7483a2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .user-manager-console strong {
  align-self: end;
  color: var(--admin-ink);
  font-size: 28px;
  line-height: 1;
}

.admin-body.admin-v2 .user-manager-toolbar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 20px;
  padding: 12px;
  border: 1px solid #dbe4f5;
  border-radius: 14px;
  background: #f8fbff;
}

.admin-body.admin-v2 .user-manager-toolbar .admin-user-search {
  flex: 1 1 auto;
  margin: 0;
}

.admin-body.admin-v2 .admin-user-search {
  display: flex;
  gap: 10px;
}

.admin-body.admin-v2 .admin-user-search input {
  min-width: 0;
  flex: 1 1 auto;
}

.admin-body.admin-v2 .user-account-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 24px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf1f8;
}

.admin-body.admin-v2 .user-account-section-head h3 {
  margin: 0 0 4px;
  color: var(--admin-ink);
  font-size: 18px;
  letter-spacing: 0;
}

.admin-body.admin-v2 .user-account-section-head p {
  margin: 0;
  color: #71809c;
  font-size: 13px;
}

.admin-body.admin-v2 .user-account-section-head > span {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid #dbe4f5;
  border-radius: 999px;
  background: #ffffff;
  color: #667694;
  font-size: 12px;
  font-weight: 900;
}

.admin-body.admin-v2 .user-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-body.admin-v2 .user-account-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #d8e2f3;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98)),
    radial-gradient(120% 100% at 100% 0%, rgba(39, 184, 210, 0.1), transparent 58%);
  box-shadow: 0 16px 34px rgba(30, 45, 82, 0.07);
}

.admin-body.admin-v2 .admin-account-card {
  border-color: #cfd9ff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 255, 0.98)),
    radial-gradient(120% 110% at 100% 0%, rgba(89, 104, 242, 0.12), transparent 60%);
}

.admin-body.admin-v2 .user-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-body.admin-v2 .user-card-head h4 {
  max-width: 100%;
  margin: 3px 0;
  color: var(--admin-ink);
  font-size: 17px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.admin-body.admin-v2 .user-card-head small,
.admin-body.admin-v2 .user-card-link-row small {
  color: #6f7e9b;
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.admin-body.admin-v2 .user-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid #cbd5ff;
  border-radius: 999px;
  background: #edf1ff;
  color: #4354d6;
  font-size: 11px;
  font-weight: 900;
}

.admin-body.admin-v2 .user-card-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.admin-body.admin-v2 .user-card-stats > div,
.admin-body.admin-v2 .user-library-strip span {
  display: grid;
  gap: 4px;
  min-height: 64px;
  padding: 10px;
  border: 1px solid #e4eaf5;
  border-radius: 12px;
  background: #ffffff;
}

.admin-body.admin-v2 .user-card-stats strong,
.admin-body.admin-v2 .user-library-strip strong {
  color: var(--admin-ink);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.admin-body.admin-v2 .user-card-link-row,
.admin-body.admin-v2 .user-library-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.admin-body.admin-v2 .user-library-strip span {
  flex: 1 1 110px;
  min-height: 58px;
  color: #6f7e9b;
  font-size: 12px;
  font-weight: 800;
}

.admin-body.admin-v2 .user-reward-form {
  align-items: center;
  padding: 10px;
  border: 1px solid #dbe4f5;
  border-radius: 12px;
  background: #f8fbff;
}

.admin-body.admin-v2 .user-reward-input {
  width: 96px;
  min-width: 86px;
}

.admin-body.admin-v2 .user-card-actions {
  align-items: center;
  gap: 8px;
  padding-top: 2px;
}

.admin-body.admin-v2 .user-card-actions form {
  margin: 0;
}

.admin-body.admin-v2 .user-card-actions .admin-tier-form {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.admin-body.admin-v2 .user-card-actions select {
  min-height: 36px;
  max-width: 140px;
  padding: 7px 28px 7px 10px;
  border-radius: 10px;
}

.admin-body.admin-v2 .user-empty-state {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px dashed #cbd7ea;
  border-radius: 14px;
  background: #f8fbff;
  color: #667694;
  font-weight: 800;
}

.admin-body.admin-v2 #users .admin-modal-card {
  border-color: #cfd9ff;
}

@media (max-width: 1180px) {
  .admin-body.admin-v2 .user-manager-console {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .admin-body.admin-v2 .user-account-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-body.admin-v2 .user-manager-console {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-body.admin-v2 .user-manager-toolbar,
  .admin-body.admin-v2 .admin-user-search,
  .admin-body.admin-v2 .user-account-section-head {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-body.admin-v2 .user-manager-toolbar > .btn,
  .admin-body.admin-v2 .admin-user-search .btn {
    width: 100%;
  }
  .admin-body.admin-v2 .user-card-head,
  .admin-body.admin-v2 .user-card-stats {
    grid-template-columns: 1fr;
  }
  .admin-body.admin-v2 .user-card-head {
    display: grid;
  }
}

/* Admin Monetization Center polish */
.admin-body.admin-v2 #monetization {
  overflow: hidden;
}

.admin-body.admin-v2 .monetization-console {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.admin-body.admin-v2 .monetization-status-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid #dbe4f5;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)),
    radial-gradient(100% 120% at 100% 0%, rgba(39, 184, 210, 0.1), transparent 58%);
  box-shadow: 0 14px 30px rgba(30, 45, 82, 0.06);
  overflow: hidden;
}

.admin-body.admin-v2 .monetization-status-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #27b8d2, var(--admin-accent));
}

.admin-body.admin-v2 .monetization-status-card.is-primary::before {
  background: linear-gradient(90deg, var(--admin-accent), var(--admin-accent-2));
}

.admin-body.admin-v2 .monetization-status-card span,
.admin-body.admin-v2 .monetization-preview-card > span,
.admin-body.admin-v2 .monetization-cookie-card > span {
  color: #7483a2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .monetization-status-card strong {
  align-self: end;
  color: var(--admin-ink);
  font-size: 22px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.admin-body.admin-v2 .monetization-preview-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 14px;
  margin: 0 0 16px;
}

.admin-body.admin-v2 .monetization-preview-card,
.admin-body.admin-v2 .monetization-cookie-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 138px;
  padding: 18px;
  border: 1px solid #d8e2f3;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.98)),
    radial-gradient(110% 110% at 100% 0%, rgba(89, 104, 242, 0.1), transparent 60%);
  box-shadow: 0 16px 34px rgba(30, 45, 82, 0.07);
  overflow: hidden;
}

.admin-body.admin-v2 .monetization-preview-card::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 74px;
  height: 44px;
  border: 1px solid #dbe4f5;
  border-radius: 12px;
  background:
    linear-gradient(90deg, #e7edf8 12px, transparent 12px) 12px 12px / 42px 6px no-repeat,
    linear-gradient(90deg, #d2ddf0 32px, transparent 32px) 12px 24px / 50px 6px no-repeat,
    #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.admin-body.admin-v2 .monetization-preview-card strong {
  max-width: calc(100% - 92px);
  color: var(--admin-ink);
  font-size: 22px;
  line-height: 1.1;
}

.admin-body.admin-v2 .monetization-preview-card small,
.admin-body.admin-v2 .monetization-cookie-card p {
  max-width: 680px;
  margin: 0;
  color: #6f7e9b;
  font-size: 13px;
  line-height: 1.45;
}

.admin-body.admin-v2 .monetization-cookie-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.98)),
    radial-gradient(110% 110% at 0% 0%, rgba(39, 184, 210, 0.1), transparent 58%);
}

.admin-body.admin-v2 .monetization-cookie-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-body.admin-v2 .monetization-stack {
  gap: 12px;
}

.admin-body.admin-v2 .monetization-block {
  border-color: #d8e2f3;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(30, 45, 82, 0.06);
}

.admin-body.admin-v2 .monetization-block summary {
  min-height: 58px;
  padding: 14px 16px;
  background:
    linear-gradient(135deg, #f8fbff, #f3f7ff);
  color: var(--admin-ink);
}

.admin-body.admin-v2 .monetization-block summary span {
  font-size: 14px;
  font-weight: 900;
}

.admin-body.admin-v2 .monetization-block summary small {
  margin-left: auto;
  padding-right: 10px;
  color: #71809c;
  font-size: 12px;
  font-weight: 800;
}

.admin-body.admin-v2 .monetization-block summary::after {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #d8e2f3;
  border-radius: 9px;
  background: #ffffff;
  color: #657392;
  font-size: 15px;
  font-weight: 900;
}

.admin-body.admin-v2 .monetization-block form,
.admin-body.admin-v2 .monetization-block .panel-list {
  padding: 16px;
}

.admin-body.admin-v2 .monetization-core-form,
.admin-body.admin-v2 .monetization-cookie-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-body.admin-v2 .monetization-cookie-form label:has(textarea),
.admin-body.admin-v2 .monetization-core-form button,
.admin-body.admin-v2 .monetization-cookie-form button {
  grid-column: 1 / -1;
}

.admin-body.admin-v2 .monetization-code-form textarea,
.admin-body.admin-v2 .monetization-cookie-form textarea {
  min-height: 118px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.45;
}

.admin-body.admin-v2 .monetization-cookie-form textarea {
  font-family: inherit;
  font-size: 13px;
}

.admin-body.admin-v2 .monetization-provider-field.is-hidden {
  display: none !important;
}

.admin-body.admin-v2 .monetization-check-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px dashed #dbe4f3;
  list-style: none;
}

.admin-body.admin-v2 .monetization-check-list li {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 12px;
  border: 1px solid #e3eaf5;
  border-radius: 12px;
  background: #f8fbff;
}

.admin-body.admin-v2 .monetization-check-list li span {
  color: #7483a2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .monetization-check-list li strong {
  color: var(--admin-ink);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .admin-body.admin-v2 .monetization-console {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .admin-body.admin-v2 .monetization-preview-row,
  .admin-body.admin-v2 .monetization-core-form,
  .admin-body.admin-v2 .monetization-cookie-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-body.admin-v2 .monetization-console,
  .admin-body.admin-v2 .monetization-check-list {
    grid-template-columns: 1fr;
  }
  .admin-body.admin-v2 .monetization-block summary {
    align-items: flex-start;
    gap: 8px;
  }
  .admin-body.admin-v2 .monetization-block summary small {
    margin-left: 0;
  }
  .admin-body.admin-v2 .monetization-preview-card strong {
    max-width: 100%;
  }
  .admin-body.admin-v2 .monetization-preview-card::after {
    display: none;
  }
}

/* Admin Pricing & Plans polish */
.admin-body.admin-v2 #growth-pricing {
  overflow: hidden;
}

.admin-body.admin-v2 .pricing-console {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.admin-body.admin-v2 .pricing-console > div {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid #dbe4f5;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)),
    radial-gradient(100% 120% at 100% 0%, rgba(89, 104, 242, 0.1), transparent 58%);
  box-shadow: 0 14px 30px rgba(30, 45, 82, 0.06);
  overflow: hidden;
}

.admin-body.admin-v2 .pricing-console > div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--admin-accent), #27b8d2);
}

.admin-body.admin-v2 .pricing-console span,
.admin-body.admin-v2 .pricing-plan-preview span {
  color: #7483a2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .pricing-console strong {
  align-self: end;
  color: var(--admin-ink);
  font-size: 22px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.admin-body.admin-v2 .pricing-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.admin-body.admin-v2 .pricing-plan-preview {
  position: relative;
  display: grid;
  gap: 9px;
  min-height: 150px;
  align-content: start;
  padding: 16px;
  border: 1px solid #d8e2f3;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98)),
    radial-gradient(110% 110% at 100% 0%, rgba(39, 184, 210, 0.09), transparent 58%);
  box-shadow: 0 16px 34px rgba(30, 45, 82, 0.07);
  overflow: hidden;
}

.admin-body.admin-v2 .pricing-plan-preview::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: #d9e3f5;
}

.admin-body.admin-v2 .pricing-plan-preview.is-featured {
  border-color: #cbd5ff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 255, 0.98)),
    radial-gradient(115% 115% at 100% 0%, rgba(89, 104, 242, 0.13), transparent 60%);
}

.admin-body.admin-v2 .pricing-plan-preview.is-featured::before {
  background: linear-gradient(90deg, var(--admin-accent), var(--admin-accent-2));
}

.admin-body.admin-v2 .pricing-plan-preview.is-supporter::before {
  background: linear-gradient(90deg, #27b8d2, #2ecf8f);
}

.admin-body.admin-v2 .pricing-plan-preview strong {
  color: var(--admin-ink);
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0;
}

.admin-body.admin-v2 .pricing-plan-preview small {
  color: #6f7e9b;
  font-size: 13px;
  line-height: 1.4;
}

.admin-body.admin-v2 .pricing-settings-form {
  display: grid;
  gap: 12px;
}

.admin-body.admin-v2 .pricing-settings-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid #dbe4f5;
  border-radius: 16px;
  background: #f8fbff;
}

.admin-body.admin-v2 .pricing-settings-group legend {
  padding: 0 8px;
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 900;
}

.admin-body.admin-v2 .pricing-settings-form > .btn {
  justify-self: start;
}

@media (max-width: 1180px) {
  .admin-body.admin-v2 .pricing-console {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .admin-body.admin-v2 .pricing-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .admin-body.admin-v2 .pricing-console,
  .admin-body.admin-v2 .pricing-preview-grid,
  .admin-body.admin-v2 .pricing-settings-group {
    grid-template-columns: 1fr;
  }
  .admin-body.admin-v2 .pricing-settings-form > .btn {
    width: 100%;
  }
}

/* Admin Billing Secrets polish */
.admin-body.admin-v2 #growth-billing {
  overflow: hidden;
}

.admin-body.admin-v2 .billing-console {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.admin-body.admin-v2 .billing-console > div {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid #dbe4f5;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)),
    radial-gradient(100% 120% at 100% 0%, rgba(89, 104, 242, 0.1), transparent 58%);
  box-shadow: 0 14px 30px rgba(30, 45, 82, 0.06);
  overflow: hidden;
}

.admin-body.admin-v2 .billing-console > div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: #d9e3f5;
}

.admin-body.admin-v2 .billing-console > div.is-ready::before {
  background: linear-gradient(90deg, #27b8d2, #2ecf8f);
}

.admin-body.admin-v2 .billing-console > div.is-warn::before {
  background: linear-gradient(90deg, #ffbd66, #f07b62);
}

.admin-body.admin-v2 .billing-console span,
.admin-body.admin-v2 .billing-flow-grid article span,
.admin-body.admin-v2 .billing-source-list span {
  color: #7483a2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .billing-console strong {
  align-self: end;
  color: var(--admin-ink);
  font-size: 22px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.admin-body.admin-v2 .billing-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.admin-body.admin-v2 .billing-flow-grid article,
.admin-body.admin-v2 .billing-info-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #d8e2f3;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
  box-shadow: 0 14px 30px rgba(30, 45, 82, 0.06);
}

.admin-body.admin-v2 .billing-flow-grid article span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #cbd5ff;
  border-radius: 10px;
  background: #edf1ff;
  color: #4354d6;
}

.admin-body.admin-v2 .billing-flow-grid article strong {
  color: var(--admin-ink);
  font-size: 16px;
}

.admin-body.admin-v2 .billing-flow-grid article small,
.admin-body.admin-v2 .billing-info-card small {
  color: #6f7e9b;
  font-size: 13px;
  line-height: 1.45;
}

.admin-body.admin-v2 .billing-settings-form {
  display: grid;
  gap: 12px;
}

.admin-body.admin-v2 .billing-settings-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid #dbe4f5;
  border-radius: 16px;
  background: #f8fbff;
}

.admin-body.admin-v2 .billing-clear-group {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background:
    linear-gradient(135deg, #fffaf3, #f8fbff);
}

.admin-body.admin-v2 .billing-settings-group legend {
  padding: 0 8px;
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 900;
}

.admin-body.admin-v2 .billing-field-wide {
  grid-column: 1 / -1;
}

.admin-body.admin-v2 .billing-settings-form > .btn {
  justify-self: start;
}

.admin-body.admin-v2 .billing-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr) minmax(0, 0.95fr);
  gap: 12px;
  margin-top: 16px;
}

.admin-body.admin-v2 .billing-info-card h3 {
  margin: 0;
  color: var(--admin-ink);
  font-size: 16px;
  letter-spacing: 0;
}

.admin-body.admin-v2 .billing-info-card ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #5f6d8a;
  font-size: 13px;
  line-height: 1.45;
}

.admin-body.admin-v2 .billing-source-list {
  display: grid;
  gap: 8px;
}

.admin-body.admin-v2 .billing-source-list p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid #e4eaf5;
  border-radius: 10px;
  background: #ffffff;
}

.admin-body.admin-v2 .billing-source-list strong {
  color: var(--admin-ink);
  font-size: 13px;
  overflow-wrap: anywhere;
  text-align: right;
}

@media (max-width: 1180px) {
  .admin-body.admin-v2 .billing-console {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .admin-body.admin-v2 .billing-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-body.admin-v2 .billing-console,
  .admin-body.admin-v2 .billing-flow-grid,
  .admin-body.admin-v2 .billing-settings-group,
  .admin-body.admin-v2 .billing-clear-group {
    grid-template-columns: 1fr;
  }
  .admin-body.admin-v2 .billing-settings-form > .btn {
    width: 100%;
  }
}

/* Admin Rewarded Revenue polish */
.admin-body.admin-v2 #growth-rewards {
  overflow: hidden;
}

.admin-body.admin-v2 .rewards-console {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.admin-body.admin-v2 .rewards-console > div {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid #dbe4f5;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)),
    radial-gradient(100% 120% at 100% 0%, rgba(39, 184, 210, 0.1), transparent 58%);
  box-shadow: 0 14px 30px rgba(30, 45, 82, 0.06);
  overflow: hidden;
}

.admin-body.admin-v2 .rewards-console > div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #27b8d2, var(--admin-accent));
}

.admin-body.admin-v2 .rewards-console span,
.admin-body.admin-v2 .rewards-preview-card span {
  color: #7483a2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .rewards-console strong {
  align-self: end;
  color: var(--admin-ink);
  font-size: 22px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.admin-body.admin-v2 .rewards-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.admin-body.admin-v2 .rewards-preview-card {
  position: relative;
  display: grid;
  gap: 9px;
  min-height: 132px;
  align-content: start;
  padding: 16px;
  border: 1px solid #d8e2f3;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98)),
    radial-gradient(110% 110% at 100% 0%, rgba(89, 104, 242, 0.1), transparent 58%);
  box-shadow: 0 16px 34px rgba(30, 45, 82, 0.07);
  overflow: hidden;
}

.admin-body.admin-v2 .rewards-preview-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--admin-accent), #27b8d2);
}

.admin-body.admin-v2 .rewards-preview-card strong {
  color: var(--admin-ink);
  font-size: 20px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.admin-body.admin-v2 .rewards-preview-card small {
  color: #6f7e9b;
  font-size: 13px;
  line-height: 1.4;
}

.admin-body.admin-v2 .rewards-settings-form {
  display: grid;
  gap: 12px;
}

.admin-body.admin-v2 .rewards-settings-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid #dbe4f5;
  border-radius: 16px;
  background: #f8fbff;
}

.admin-body.admin-v2 .rewards-url-group,
.admin-body.admin-v2 .rewards-redemption-group {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-body.admin-v2 .rewards-redemption-group {
  background:
    linear-gradient(135deg, #f8fbff, #f4fbff);
}

.admin-body.admin-v2 .rewards-settings-group legend {
  padding: 0 8px;
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 900;
}

.admin-body.admin-v2 .rewards-settings-form > .btn {
  justify-self: start;
}

@media (max-width: 1180px) {
  .admin-body.admin-v2 .rewards-console,
  .admin-body.admin-v2 .rewards-settings-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-body.admin-v2 .rewards-preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-body.admin-v2 .rewards-console,
  .admin-body.admin-v2 .rewards-settings-group,
  .admin-body.admin-v2 .rewards-url-group,
  .admin-body.admin-v2 .rewards-redemption-group {
    grid-template-columns: 1fr;
  }
  .admin-body.admin-v2 .rewards-settings-form > .btn {
    width: 100%;
  }
}

/* Admin Offerwall Links polish */
.admin-body.admin-v2 #growth-offerwalls {
  overflow: hidden;
}

.admin-body.admin-v2 .offerwall-console {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.admin-body.admin-v2 .offerwall-console > div {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid #dbe4f5;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)),
    radial-gradient(100% 120% at 100% 0%, rgba(89, 104, 242, 0.1), transparent 58%);
  box-shadow: 0 14px 30px rgba(30, 45, 82, 0.06);
  overflow: hidden;
}

.admin-body.admin-v2 .offerwall-console > div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--admin-accent), #27b8d2);
}

.admin-body.admin-v2 .offerwall-console span,
.admin-body.admin-v2 .offerwall-admin-card span,
.admin-body.admin-v2 .offerwall-tracking-note span {
  color: #7483a2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .offerwall-console strong {
  align-self: end;
  color: var(--admin-ink);
  font-size: 22px;
  line-height: 1.05;
}

.admin-body.admin-v2 .offerwall-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.admin-body.admin-v2 .offerwall-admin-card {
  position: relative;
  display: grid;
  gap: 9px;
  min-height: 142px;
  align-content: start;
  padding: 16px;
  border: 1px solid #d8e2f3;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98)),
    radial-gradient(110% 110% at 100% 0%, rgba(89, 104, 242, 0.1), transparent 58%);
  box-shadow: 0 16px 34px rgba(30, 45, 82, 0.07);
  overflow: hidden;
}

.admin-body.admin-v2 .offerwall-admin-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #ffbd66, #f07b62);
}

.admin-body.admin-v2 .offerwall-admin-card.is-configured::before {
  background: linear-gradient(90deg, #27b8d2, #2ecf8f);
}

.admin-body.admin-v2 .offerwall-admin-card strong {
  color: var(--admin-ink);
  font-size: 20px;
  line-height: 1.15;
}

.admin-body.admin-v2 .offerwall-admin-card small {
  color: #6f7e9b;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.admin-body.admin-v2 .offerwall-settings-form {
  display: grid;
  gap: 12px;
}

.admin-body.admin-v2 .offerwall-settings-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid #dbe4f5;
  border-radius: 16px;
  background: #f8fbff;
}

.admin-body.admin-v2 .offerwall-settings-group legend {
  padding: 0 8px;
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 900;
}

.admin-body.admin-v2 .offerwall-settings-form > .btn {
  justify-self: start;
}

.admin-body.admin-v2 .offerwall-tracking-note {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #d8e2f3;
  border-radius: 16px;
  background:
    linear-gradient(135deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 30px rgba(30, 45, 82, 0.06);
}

.admin-body.admin-v2 .offerwall-tracking-note > div {
  display: grid;
  gap: 6px;
}

.admin-body.admin-v2 .offerwall-tracking-note strong {
  color: var(--admin-ink);
  font-size: 15px;
  line-height: 1.35;
}

.admin-body.admin-v2 .offerwall-tracking-note p {
  margin: 0;
  color: #5f6d8a;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .admin-body.admin-v2 .offerwall-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-body.admin-v2 .offerwall-console,
  .admin-body.admin-v2 .offerwall-tracking-note {
    grid-template-columns: 1fr;
  }
  .admin-body.admin-v2 .offerwall-settings-form > .btn {
    width: 100%;
  }
}

/* Admin Callback Security polish */
.admin-body.admin-v2 #growth-security {
  overflow: hidden;
}

.admin-body.admin-v2 .callback-console {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.admin-body.admin-v2 .callback-console > div {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid #dbe4f5;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)),
    radial-gradient(100% 120% at 100% 0%, rgba(89, 104, 242, 0.1), transparent 58%);
  box-shadow: 0 14px 30px rgba(30, 45, 82, 0.06);
  overflow: hidden;
}

.admin-body.admin-v2 .callback-console > div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: #d9e3f5;
}

.admin-body.admin-v2 .callback-console > div.is-ready::before,
.admin-body.admin-v2 .callback-network-summary article.is-ready::before {
  background: linear-gradient(90deg, #27b8d2, #2ecf8f);
}

.admin-body.admin-v2 .callback-console > div.is-warn::before,
.admin-body.admin-v2 .callback-network-summary article.is-warn::before {
  background: linear-gradient(90deg, #ffbd66, #f07b62);
}

.admin-body.admin-v2 .callback-console span,
.admin-body.admin-v2 .callback-network-summary span,
.admin-body.admin-v2 .callback-endpoint-panel span {
  color: #7483a2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .callback-console strong {
  align-self: end;
  color: var(--admin-ink);
  font-size: 22px;
  line-height: 1.05;
}

.admin-body.admin-v2 .callback-network-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.admin-body.admin-v2 .callback-network-summary article {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 16px;
  border: 1px solid #d8e2f3;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
  box-shadow: 0 16px 34px rgba(30, 45, 82, 0.07);
  overflow: hidden;
}

.admin-body.admin-v2 .callback-network-summary article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: #d9e3f5;
}

.admin-body.admin-v2 .callback-network-summary strong {
  color: var(--admin-ink);
  font-size: 19px;
}

.admin-body.admin-v2 .callback-network-summary small {
  color: #6f7e9b;
  font-size: 13px;
  line-height: 1.4;
}

.admin-body.admin-v2 .callback-security-form {
  display: grid;
  gap: 14px;
}

.admin-body.admin-v2 .callback-security-form .network-security-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-body.admin-v2 .callback-security-form .network-security-card {
  padding: 0;
  border-color: #d8e2f3;
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(30, 45, 82, 0.06);
}

.admin-body.admin-v2 .callback-security-form .network-security-accordion summary {
  min-height: 58px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #f8fbff, #f3f7ff);
}

.admin-body.admin-v2 .callback-security-form .network-security-accordion summary span {
  color: var(--admin-ink);
  font-size: 14px;
  font-weight: 900;
}

.admin-body.admin-v2 .callback-security-form .network-security-accordion summary small {
  margin-left: auto;
  padding-right: 10px;
  color: #71809c;
  font-size: 12px;
  font-weight: 800;
}

.admin-body.admin-v2 .callback-security-form .network-security-body {
  padding: 16px;
}

.admin-body.admin-v2 .callback-security-form .network-security-body textarea {
  min-height: 90px;
}

.admin-body.admin-v2 .callback-endpoint-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 12px;
  padding: 16px;
  border: 1px solid #d8e2f3;
  border-radius: 16px;
  background:
    linear-gradient(135deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 30px rgba(30, 45, 82, 0.06);
}

.admin-body.admin-v2 .callback-endpoint-panel > div {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.admin-body.admin-v2 .callback-endpoint-panel code {
  display: block;
  max-width: 100%;
  padding: 10px;
  border: 1px solid #dfe7f4;
  border-radius: 10px;
  background: #f5f8fd;
  color: #42506f;
  font-size: 12px;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}

.admin-body.admin-v2 .callback-endpoint-panel p {
  margin: 0;
  color: #5f6d8a;
  font-size: 13px;
  line-height: 1.5;
}

.admin-body.admin-v2 .callback-security-form > .btn {
  justify-self: start;
}

@media (max-width: 1180px) {
  .admin-body.admin-v2 .callback-console,
  .admin-body.admin-v2 .callback-network-summary,
  .admin-body.admin-v2 .callback-security-form .network-security-grid,
  .admin-body.admin-v2 .callback-endpoint-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-body.admin-v2 .callback-security-form > .btn {
    width: 100%;
  }
  .admin-body.admin-v2 .callback-security-form .network-security-accordion summary {
    align-items: flex-start;
    gap: 8px;
  }
  .admin-body.admin-v2 .callback-security-form .network-security-accordion summary small {
    margin-left: 0;
  }
}

/* Admin Reminder Scheduler polish */
.admin-body.admin-v2 #growth-scheduler {
  overflow: hidden;
}

.admin-body.admin-v2 .scheduler-console {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.admin-body.admin-v2 .scheduler-console > div {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid #dbe4f5;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)),
    radial-gradient(100% 120% at 100% 0%, rgba(89, 104, 242, 0.1), transparent 58%);
  box-shadow: 0 14px 30px rgba(30, 45, 82, 0.06);
  overflow: hidden;
}

.admin-body.admin-v2 .scheduler-console > div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: #d9e3f5;
}

.admin-body.admin-v2 .scheduler-console > div.is-ready::before,
.admin-body.admin-v2 .scheduler-console > div.is-running::before {
  background: linear-gradient(90deg, #27b8d2, #2ecf8f);
}

.admin-body.admin-v2 .scheduler-console > div.is-paused::before,
.admin-body.admin-v2 .scheduler-console > div.is-warn::before {
  background: linear-gradient(90deg, #ffbd66, #f07b62);
}

.admin-body.admin-v2 .scheduler-console span,
.admin-body.admin-v2 .scheduler-timeline span,
.admin-body.admin-v2 .scheduler-error-card span,
.admin-body.admin-v2 .scheduler-run-card span {
  color: #7483a2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .scheduler-console strong {
  align-self: end;
  color: var(--admin-ink);
  font-size: 22px;
  line-height: 1.05;
}

.admin-body.admin-v2 .scheduler-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.admin-body.admin-v2 .scheduler-timeline article,
.admin-body.admin-v2 .scheduler-error-card,
.admin-body.admin-v2 .scheduler-run-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #d8e2f3;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 30px rgba(30, 45, 82, 0.06);
}

.admin-body.admin-v2 .scheduler-timeline article.has-error,
.admin-body.admin-v2 .scheduler-error-card {
  border-color: #f0d4c6;
  background: linear-gradient(135deg, #fffaf3, #ffffff);
}

.admin-body.admin-v2 .scheduler-timeline strong,
.admin-body.admin-v2 .scheduler-error-card strong,
.admin-body.admin-v2 .scheduler-run-card strong {
  color: var(--admin-ink);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-body.admin-v2 .scheduler-error-card {
  margin-bottom: 16px;
}

.admin-body.admin-v2 .scheduler-control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 12px;
}

.admin-body.admin-v2 .scheduler-settings-form {
  display: grid;
  gap: 12px;
}

.admin-body.admin-v2 .scheduler-settings-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid #dbe4f5;
  border-radius: 16px;
  background: #f8fbff;
}

.admin-body.admin-v2 .scheduler-settings-group legend {
  padding: 0 8px;
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 900;
}

.admin-body.admin-v2 .scheduler-settings-form > .btn,
.admin-body.admin-v2 .scheduler-run-card .btn {
  justify-self: start;
}

.admin-body.admin-v2 .scheduler-run-card {
  align-content: start;
}

.admin-body.admin-v2 .scheduler-run-card p {
  margin: 0;
  color: #6f7e9b;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .admin-body.admin-v2 .scheduler-console,
  .admin-body.admin-v2 .scheduler-timeline,
  .admin-body.admin-v2 .scheduler-control-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-body.admin-v2 .scheduler-settings-group {
    grid-template-columns: 1fr;
  }
  .admin-body.admin-v2 .scheduler-settings-form > .btn,
  .admin-body.admin-v2 .scheduler-run-card .btn {
    width: 100%;
  }
}

/* Admin Callback Logs polish */
.admin-body.admin-v2 #postback-logs {
  overflow: hidden;
}

.admin-body.admin-v2 .callback-logs-console {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.admin-body.admin-v2 .callback-logs-console > div {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid #dbe4f5;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)),
    radial-gradient(100% 120% at 100% 0%, rgba(89, 104, 242, 0.1), transparent 58%);
  box-shadow: 0 14px 30px rgba(30, 45, 82, 0.06);
  overflow: hidden;
}

.admin-body.admin-v2 .callback-logs-console > div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--admin-accent), #27b8d2);
}

.admin-body.admin-v2 .callback-logs-console > div.is-good::before {
  background: linear-gradient(90deg, #27b8d2, #2ecf8f);
}

.admin-body.admin-v2 .callback-logs-console > div.is-warn::before {
  background: linear-gradient(90deg, #ffbd66, #f07b62);
}

.admin-body.admin-v2 .callback-logs-console span,
.admin-body.admin-v2 .callback-log-toolbar > div:first-child span {
  color: #7483a2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .callback-logs-console strong {
  align-self: end;
  color: var(--admin-ink);
  font-size: 22px;
  line-height: 1.05;
}

.admin-body.admin-v2 .callback-log-toolbar {
  display: grid;
  grid-template-columns: minmax(140px, 0.22fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  margin: 0 0 14px;
}

.admin-body.admin-v2 .callback-log-toolbar > div:first-child {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #dbe4f5;
  border-radius: 14px;
  background: #f8fbff;
}

.admin-body.admin-v2 .callback-log-toolbar > div:first-child strong {
  color: var(--admin-ink);
  font-size: 22px;
}

.admin-body.admin-v2 .callback-log-toolbar .admin-log-actions {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(120px, 0.8fr) minmax(220px, 1.5fr) auto;
  gap: 10px;
  align-items: end;
  margin: 0;
  padding: 12px;
  border: 1px solid #dbe4f5;
  border-radius: 14px;
  background: #f8fbff;
}

.admin-body.admin-v2 .callback-log-toolbar .admin-log-actions label {
  color: #657392;
  font-size: 12px;
  font-weight: 900;
}

.admin-body.admin-v2 .callback-log-toolbar .admin-log-actions form {
  margin: 0;
}

.admin-body.admin-v2 .callback-log-table-wrap {
  border-radius: 16px;
  border-color: #d8e2f3;
  box-shadow: 0 14px 30px rgba(30, 45, 82, 0.06);
}

.admin-body.admin-v2 #postbackDiagnosticsTable td {
  vertical-align: middle;
}

.admin-body.admin-v2 #postbackDiagnosticsTable td:nth-child(4),
.admin-body.admin-v2 #postbackDiagnosticsTable td:nth-child(6),
.admin-body.admin-v2 #postbackDiagnosticsTable td:nth-child(7) {
  max-width: 260px;
  overflow-wrap: anywhere;
}

.admin-body.admin-v2 .callback-log-empty td {
  padding: 24px !important;
  color: #667694;
  font-weight: 800;
  text-align: center;
}

.admin-body.admin-v2 .postback-status {
  min-width: 84px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .admin-body.admin-v2 .callback-logs-console {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .admin-body.admin-v2 .callback-log-toolbar,
  .admin-body.admin-v2 .callback-log-toolbar .admin-log-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-body.admin-v2 .callback-logs-console {
    grid-template-columns: 1fr;
  }
  .admin-body.admin-v2 .callback-log-toolbar .admin-log-actions .btn {
    width: 100%;
  }
}

/* Admin User Growth Features polish */
.admin-body.admin-v2 #growth-core {
  overflow: hidden;
}

.admin-body.admin-v2 .growth-core-console {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.admin-body.admin-v2 .growth-core-console > div {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid #dbe4f5;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)),
    radial-gradient(100% 120% at 100% 0%, rgba(89, 104, 242, 0.1), transparent 58%);
  box-shadow: 0 14px 30px rgba(30, 45, 82, 0.06);
  overflow: hidden;
}

.admin-body.admin-v2 .growth-core-console > div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--admin-accent), #27b8d2);
}

.admin-body.admin-v2 .growth-core-console span,
.admin-body.admin-v2 .growth-feature-grid article span {
  color: #7483a2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-body.admin-v2 .growth-core-console strong {
  align-self: end;
  color: var(--admin-ink);
  font-size: 22px;
  line-height: 1.05;
}

.admin-body.admin-v2 .growth-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.admin-body.admin-v2 .growth-feature-grid article {
  position: relative;
  display: grid;
  gap: 9px;
  min-height: 132px;
  align-content: start;
  padding: 16px;
  border: 1px solid #d8e2f3;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
  box-shadow: 0 16px 34px rgba(30, 45, 82, 0.07);
  overflow: hidden;
}

.admin-body.admin-v2 .growth-feature-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #ffbd66, #f07b62);
}

.admin-body.admin-v2 .growth-feature-grid article.is-enabled::before {
  background: linear-gradient(90deg, #27b8d2, #2ecf8f);
}

.admin-body.admin-v2 .growth-feature-grid article strong {
  color: var(--admin-ink);
  font-size: 20px;
  line-height: 1.15;
}

.admin-body.admin-v2 .growth-feature-grid article small {
  color: #6f7e9b;
  font-size: 13px;
  line-height: 1.4;
}

.admin-body.admin-v2 .growth-core-form {
  display: grid;
  gap: 12px;
}

.admin-body.admin-v2 .growth-core-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid #dbe4f5;
  border-radius: 16px;
  background: #f8fbff;
}

.admin-body.admin-v2 .growth-core-group:has(#growthOfficialTrustInput),
.admin-body.admin-v2 .growth-feature-control-group {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-body.admin-v2 .growth-core-group legend {
  padding: 0 8px;
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 900;
}

.admin-body.admin-v2 .growth-core-form > .btn {
  justify-self: start;
}

@media (max-width: 1180px) {
  .admin-body.admin-v2 .growth-core-console,
  .admin-body.admin-v2 .growth-feature-grid,
  .admin-body.admin-v2 .growth-core-group,
  .admin-body.admin-v2 .growth-core-group:has(#growthOfficialTrustInput),
  .admin-body.admin-v2 .growth-feature-control-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-body.admin-v2 .growth-core-form > .btn {
    width: 100%;
  }
}

/* Frontend sponsored picks count-aware layout */
.public-body .sponsor-slot-items.sponsor-slot-count-1 {
  grid-template-columns: 1fr;
}

.public-body .sponsor-slot-items.sponsor-slot-count-2,
.public-body .sponsor-slot-items.sponsor-slot-count-3,
.public-body .sponsor-slot-items.sponsor-slot-count-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-body .sponsor-slot-items.sponsor-slot-count-3 .sponsor-slot-item:first-child {
  grid-column: 1 / -1;
}

.public-body .sponsor-slot-items.sponsor-slot-count-1 .sponsor-slot-item,
.public-body .sponsor-slot-items.sponsor-slot-count-3 .sponsor-slot-item:first-child {
  min-height: 104px;
}

@media (max-width: 900px) {
  .public-body .sponsor-slot-items.sponsor-slot-count-2,
  .public-body .sponsor-slot-items.sponsor-slot-count-3,
  .public-body .sponsor-slot-items.sponsor-slot-count-4 {
    grid-template-columns: 1fr;
  }
  .public-body .sponsor-slot-items.sponsor-slot-count-3 .sponsor-slot-item:first-child {
    grid-column: auto;
  }
}
/* Public auth flow polish */
.public-body .auth-flow-shell {
  min-height: calc(100vh - 380px);
  display: grid;
  place-items: start center;
  padding-top: 28px;
  padding-bottom: 58px;
}

.public-body .auth-flow-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 680px);
  max-width: 680px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid rgba(92, 148, 235, 0.48);
  background:
    linear-gradient(135deg, rgba(13, 37, 70, 0.96), rgba(7, 20, 39, 0.98) 58%),
    radial-gradient(80% 80% at 100% 0%, rgba(36, 194, 181, 0.16), transparent 62%);
  box-shadow: 0 26px 70px rgba(2, 8, 18, 0.42);
}

.public-body .auth-flow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(109, 164, 245, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 164, 245, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.82), transparent 72%);
  pointer-events: none;
}

.public-body .auth-flow-card > * {
  position: relative;
  z-index: 1;
}

.public-body .auth-flow-card-compact {
  width: min(100%, 600px);
}

.public-body .auth-flow-copy {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.public-body .auth-flow-kicker {
  color: #51c9ff;
  font-family: "Chakra Petch", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.public-body .auth-flow-card h1 {
  color: #f7fbff;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.02;
  margin: 0;
}

.public-body .auth-flow-card p {
  max-width: 58ch;
  margin: 0;
  color: #c9d8ee;
  font-size: 16px;
  line-height: 1.6;
}

.public-body .auth-flow-card .auth-error {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 120, 136, 0.44);
  background: rgba(94, 19, 37, 0.42);
  color: #ffd7dd;
  font-weight: 800;
}

.public-body .auth-flow-card .auth-form,
.public-body .auth-flow-card .auth-inline-form {
  display: grid;
  gap: 14px;
  margin: 0;
}

.public-body .auth-flow-card .auth-form label,
.public-body .auth-flow-card .auth-inline-form label {
  display: grid;
  gap: 7px;
  color: #a9bad4;
  font-size: 13px;
  font-weight: 800;
}

.public-body .auth-flow-card input {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(130, 177, 245, 0.42);
  background: rgba(237, 244, 255, 0.96);
  color: #10223a;
  padding: 0 14px;
  font: inherit;
  font-weight: 700;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.public-body .auth-flow-card input:focus {
  border-color: #43c7ff;
  box-shadow: 0 0 0 3px rgba(67, 199, 255, 0.2);
}

.public-body .auth-flow-card button,
.public-body .auth-message-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(132, 175, 255, 0.62);
  border-radius: 8px;
  background: linear-gradient(135deg, #2f75ff, #6c5cff);
  color: #fff;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(47, 117, 255, 0.28);
  cursor: pointer;
}

.public-body .auth-flow-card button:hover,
.public-body .auth-message-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(47, 117, 255, 0.34);
}

.public-body .auth-flow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(128, 171, 238, 0.22);
}

.public-body .auth-flow-actions a,
.public-body .auth-help-panel summary {
  color: #d9e8ff;
  font-weight: 900;
  text-decoration: none;
}

.public-body .auth-flow-actions a:hover,
.public-body .auth-help-panel summary:hover {
  color: #65d7ff;
}

.public-body .auth-help-panel {
  margin-top: 18px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(128, 171, 238, 0.26);
  background: rgba(255, 255, 255, 0.055);
}

.public-body .auth-help-panel summary {
  cursor: pointer;
}

.public-body .auth-help-panel .auth-inline-form {
  margin-top: 14px;
}

.public-body .auth-message-card {
  text-align: left;
}

.public-body .auth-message-card .auth-message-cta {
  margin-top: 20px;
  padding: 0 22px;
}

@media (max-width: 720px) {
  .public-body .auth-flow-shell {
    padding-top: 18px;
    padding-bottom: 34px;
  }

  .public-body .auth-flow-card {
    padding: 20px;
  }

  .public-body .auth-flow-card h1 {
    font-size: 30px;
  }
}

.public-body .public-shell.auth-shell .auth-flow-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid rgba(92, 148, 235, 0.48);
  background:
    linear-gradient(135deg, rgba(13, 37, 70, 0.96), rgba(7, 20, 39, 0.98) 58%),
    radial-gradient(80% 80% at 100% 0%, rgba(36, 194, 181, 0.16), transparent 62%) !important;
}

.public-body .public-shell.auth-shell .auth-flow-card-compact {
  max-width: 600px;
}

.public-body .public-shell.auth-shell .auth-flow-card h1 {
  color: #f7fbff;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
}

.public-body .public-shell.auth-shell .auth-flow-card p,
.public-body .public-shell.auth-shell .auth-flow-card a {
  color: #c9d8ee;
}

.public-body .public-shell.auth-shell .auth-flow-card .auth-flow-actions a,
.public-body .public-shell.auth-shell .auth-flow-card .auth-help-panel summary {
  color: #d9e8ff;
}

@media (max-width: 720px) {
  .public-body .public-shell.auth-shell .auth-flow-card {
    padding: 20px;
  }
}

/* Global mobile polish pass */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-mobile-toggle {
  display: none;
}

.public-body .header-mobile-panel {
  display: contents;
}

@media (max-width: 980px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .public-body .fullsite-header .fullsite-header-inner {
    position: relative;
    align-items: center;
    flex-wrap: nowrap;
  }

  .public-body .header-mobile-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    margin-left: auto;
    border: 1px solid rgba(149, 182, 240, 0.42);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(23, 52, 96, 0.95), rgba(14, 36, 72, 0.95));
    box-shadow: inset 0 1px 0 rgba(219, 233, 255, 0.2);
    cursor: pointer;
  }

  .public-body .header-mobile-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: #dbe8ff;
  }

  .public-body .header-mobile-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    padding: 12px;
    border: 1px solid rgba(112, 150, 222, 0.42);
    border-radius: 12px;
    background:
      linear-gradient(180deg, rgba(7, 27, 54, 0.98), rgba(7, 23, 46, 0.98)),
      radial-gradient(110% 110% at 100% 0%, rgba(83, 129, 224, 0.16), transparent 65%);
    box-shadow: 0 18px 30px rgba(4, 13, 29, 0.45);
    z-index: 45;
  }

  .public-body .fullsite-header.menu-open .header-mobile-panel {
    display: grid;
    gap: 10px;
  }

  .public-body .fullsite-header .public-nav {
    order: 1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding: 0;
  }

  .public-body .fullsite-header .public-nav a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .public-body .fullsite-header .header-actions {
    width: 100%;
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .public-body .fullsite-header .header-actions .header-auth-btn {
    width: 100%;
    justify-content: center;
  }

  .public-body .fullsite-header .header-actions .top-metric-pills {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .public-body .fullsite-header .header-actions .header-user-email {
    grid-column: 1 / -1;
    display: block;
    max-width: 100%;
  }

  .public-body .fullsite-header .header-actions .top-metric-pill {
    flex: 1;
    min-width: 136px;
    justify-content: center;
  }

  .public-body .fullsite-header.is-dashboard-header .header-actions {
    margin-left: 0;
  }

  .public-body .fullsite-footer .fullsite-footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 0;
  }

  .public-body .fullsite-footer .footer-newsletter-form {
    grid-template-columns: 1fr;
  }

  .public-body .fullsite-footer .footer-newsletter-btn {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .home-layout,
  .news-layout,
  .platform-spotlight-grid,
  .snapshot-layout {
    grid-template-columns: 1fr !important;
  }

  .tile-grid,
  .feature-row,
  .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deal-row {
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: start;
  }

  .deal-thumb {
    width: 100px;
    height: 64px;
  }

  .deal-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .public-shell {
    padding: 0 10px 14px;
    gap: 10px;
  }

  .public-body .fullsite-header .brand-mark {
    height: 42px;
    max-width: 220px;
  }

  .public-body .fullsite-header .public-nav {
    grid-template-columns: 1fr;
  }

  .public-body .fullsite-header .header-actions {
    grid-template-columns: 1fr;
  }

  .tile-grid,
  .feature-row,
  .library-grid,
  .stats-grid,
  .kpi-row,
  .quick-filter {
    grid-template-columns: 1fr !important;
  }

  .section-block {
    padding: 10px;
  }

  .section-title {
    flex-wrap: wrap;
  }

  .section-title h2 {
    font-size: 20px;
  }
}

/* Mobile hotfixes: live rail + hero overflow */
@media (max-width: 760px) {
  .radar-live-rail {
    grid-template-columns: 1fr 1fr !important;
    align-items: stretch;
  }

  .radar-live-rail article {
    min-width: 0;
    min-height: 52px;
    padding: 8px 10px !important;
    gap: 8px;
    white-space: normal !important;
    flex-wrap: wrap;
    line-height: 1.2;
  }

  .radar-live-rail article span,
  .radar-live-rail article b,
  .radar-live-rail article strong {
    min-width: 0;
  }

  .radar-live-rail article span {
    font-size: 12px !important;
  }

  .radar-live-rail article b,
  .radar-live-rail article strong {
    font-size: 16px !important;
  }

  .radar-live-rail article:first-child {
    justify-content: center !important;
  }
}

@media (max-width: 520px) {
  .radar-live-rail {
    display: flex !important;
    align-items: center;
    gap: 6px;
    min-height: 0;
    padding: 6px;
    overflow-x: auto;
    border-radius: 10px;
    scroll-snap-type: x proximity;
  }

  .radar-live-rail article {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 6px 10px !important;
    border-right: 0 !important;
    border: 1px solid rgba(96, 145, 221, 0.28);
    border-radius: 999px;
    background: rgba(9, 31, 58, 0.72);
    white-space: nowrap !important;
    flex-wrap: nowrap;
    gap: 6px;
    scroll-snap-align: start;
  }

  .radar-live-rail article:first-child {
    justify-content: center !important;
    min-width: 120px;
    background: rgba(8, 40, 64, 0.9);
  }

  .home-hero-copy h1 {
    font-size: clamp(26px, 12vw, 40px) !important;
    line-height: 1.02;
  }

  .hero-benefit-strip {
    grid-template-columns: 1fr !important;
  }

  .home-command-center,
  .public-shell > .home-hero-strip.home-command-center {
    padding: 12px 12px 0 !important;
    gap: 10px;
  }

  .home-hero-filter {
    gap: 8px !important;
  }

  .hero-search-field,
  .home-hero-filter select,
  .hero-filter-button {
    min-height: 44px !important;
  }

  .hero-search-field {
    display: flex !important;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 44px !important;
    padding: 0 12px !important;
    background: #f5f7fb !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 10px !important;
  }

  .hero-search-field input,
  .home-hero-filter input,
  .home-hero-filter select,
  .home-hero-filter button,
  .public-hero .quick-filter input,
  .public-hero .quick-filter select,
  .public-hero .quick-filter button {
    min-height: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .hero-search-field input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0 !important;
    background: transparent !important;
    color: #2b3a52 !important;
    padding-left: 0 !important;
    width: 100%;
  }

  .hero-search-field > span[aria-hidden="true"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    line-height: 1;
    margin: 0;
    color: #697d9f;
    font-size: 13px;
  }

  .hero-filter-button {
    font-size: 13px !important;
    font-weight: 800 !important;
  }

  .home-hero-cta-primary {
    min-height: 46px !important;
    height: 46px !important;
    font-size: 15px !important;
    border-radius: 10px !important;
  }
}

/* Home/Desktop+Mobile polish pass (requested UX fixes) */
.tile-meta-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.dashboard-type-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(77, 143, 226, 0.6);
  background: rgba(10, 35, 66, 0.92);
  color: #d9ecff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.home-shell .feature-image .action-save-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  border: 1px solid rgba(102, 159, 236, 0.44);
  border-radius: 999px;
  background: rgba(16, 44, 82, 0.92);
  color: #e5f2ff;
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-shell .feature-image .action-save-badge.is-on,
.home-shell .feature-image .action-save-badge.is-active {
  background: rgba(26, 96, 182, 0.96);
}

.home-shell .feature-body .tile-meta-badges,
.home-shell .stack-copy .tile-meta-badges {
  margin-top: 2px;
}

.home-shell .home-side-ad {
  margin-top: 14px;
}

.home-shell .tile-countdown-row {
  display: grid;
  width: 100%;
}

.home-shell .tile-countdown-row .countdown {
  width: 100%;
  max-width: 100%;
  justify-content: center;
}

.home-shell .sponsor-slot-cta {
  min-width: 92px;
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 20px color-mix(in srgb, var(--sponsor-accent) 35%, transparent);
}

@media (max-width: 980px) {
  .public-body .fullsite-header {
    position: sticky;
    top: 0;
    z-index: 120;
  }

  .public-body .header-mobile-panel {
    position: fixed;
    top: 70px;
    right: 10px;
    left: 10px;
    z-index: 140;
  }
}

@media (max-width: 760px) {
  .section-title h2 {
    font-size: 17px !important;
    line-height: 1.15;
    white-space: nowrap;
  }

  .home-shell .platform-spotlights-shell .home-platform-spotlights {
    gap: 12px;
  }

  .home-shell .platform-spotlights-shell .platform-spotlight-lead {
    min-height: 176px;
  }
}

@media (max-width: 640px) {
  .home-shell .sponsor-slot-item {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .home-shell .sponsor-slot-cta {
    grid-column: 2;
    justify-self: stretch;
    width: 100%;
  }

  .home-shell .stack-item {
    grid-template-columns: 26px 84px minmax(0, 1fr);
    row-gap: 8px;
    align-items: start;
    padding: 10px;
  }

  .home-shell .stack-free {
    display: none;
  }

  .home-shell .stack-play {
    grid-column: 3;
    justify-self: end;
    min-width: 96px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-weight: 800;
    background: linear-gradient(180deg, #4d86ff, #336be0);
    color: #fff;
    padding: 0 12px;
  }

  .home-shell .stack-copy {
    display: grid;
    gap: 6px;
  }

  .public-body .fullsite-footer .fullsite-footer-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 0 24px;
  }

  .public-body .fullsite-footer .footer-col {
    padding: 12px;
    border: 1px solid rgba(99, 137, 204, 0.32);
    border-radius: 10px;
    background: rgba(8, 25, 47, 0.35);
  }

  /* Platform Spotlights mobile density pass */
  .home-shell .platform-spotlights-shell {
    padding: 10px;
  }

  .home-shell .platform-spotlights-shell .section-title {
    margin-bottom: 8px;
  }

  .home-shell .home-platform-spotlights {
    gap: 10px;
  }

  .home-shell .platform-spotlight-card {
    padding: 8px;
    border-radius: 10px !important;
  }

  .home-shell .platform-spotlight-lead {
    min-height: 150px !important;
    border-radius: 8px;
  }

  .home-shell .platform-spotlight-overlay {
    padding: 10px;
    gap: 6px;
  }

  .home-shell .platform-spotlight-overlay h3 {
    font-size: 16px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-shell .platform-spotlight-overlay p {
    font-size: 12px;
    line-height: 1.2;
  }

  .home-shell .platform-spotlight-list {
    gap: 6px;
  }

  .home-shell .platform-spotlight-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 8px;
    min-height: 56px;
    padding: 6px 8px;
  }

  .home-shell .platform-spotlight-thumb {
    width: 56px;
    height: 40px;
    border-radius: 6px;
  }

  .home-shell .platform-spotlight-copy {
    gap: 3px;
  }

  .home-shell .platform-spotlight-copy strong {
    font-size: 13px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-shell .platform-spotlight-copy small {
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-shell .platform-spotlight-footer {
    margin-top: 8px;
    padding-top: 8px;
    gap: 8px;
    align-items: center;
  }

  .home-shell .platform-spotlight-footer a {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }
}

/* Follow-up requested polish fixes */
.home-shell .feature-art-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-shell .feature-art-badges .tile-source-badge {
  position: static;
}

@media (max-width: 980px) {
  .public-body .fullsite-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
  }

  .public-body .public-shell {
    padding-top: 84px !important;
  }

  .public-body .dashboard-shell {
    padding-top: 84px !important;
  }
}

@media (max-width: 640px) {
  .home-shell .sponsor-slot-cta {
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
    width: 100% !important;
    margin-left: 0 !important;
  }

  .home-shell .sponsor-slot-item {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .home-shell .tile-meta {
    display: grid;
    align-content: start;
    gap: 8px;
  }

  .home-shell .tile-countdown-row {
    order: 1;
  }

  .home-shell .tile-meta strong {
    order: 2;
  }

  .home-shell .stack-item {
    grid-template-columns: 26px 84px minmax(0, 1fr);
  }

  .home-shell .stack-free {
    display: none !important;
  }

  .home-shell .home-platform-spotlights {
    grid-template-columns: 1fr !important;
  }
}

/* Sponsored Picks consistency across ALL pages (not only home-shell) */
@media (max-width: 640px) {
  .sponsor-slot-list .sponsor-slot-item {
    grid-template-columns: 84px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .sponsor-slot-list .sponsor-slot-cta {
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
    width: 100% !important;
    margin-left: 0 !important;
    min-height: 36px !important;
  }
}

/* Compact mobile layout for non-home listing heroes (Giveaways / Free Games / All Games / Deals Ending Soon) */
@media (max-width: 760px) {
  .public-shell .public-hero.giveaways,
  .public-shell .public-hero.free-games,
  .public-shell .public-hero.games,
  .public-shell .public-hero.deals-ending-soon {
    padding: 12px !important;
    gap: 10px !important;
  }

  .public-shell .public-hero.giveaways h1,
  .public-shell .public-hero.free-games h1,
  .public-shell .public-hero.games h1,
  .public-shell .public-hero.deals-ending-soon h1 {
    font-size: 22px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
  }

  .public-shell .public-hero.giveaways p,
  .public-shell .public-hero.free-games p,
  .public-shell .public-hero.games p,
  .public-shell .public-hero.deals-ending-soon p {
    margin: 4px 0 0 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  .public-shell .public-hero.giveaways .quick-filter,
  .public-shell .public-hero.free-games .quick-filter,
  .public-shell .public-hero.games .quick-filter,
  .public-shell .public-hero.deals-ending-soon .quick-filter {
    gap: 8px !important;
  }

  .public-shell .public-hero.giveaways .quick-filter input,
  .public-shell .public-hero.giveaways .quick-filter select,
  .public-shell .public-hero.giveaways .quick-filter button,
  .public-shell .public-hero.free-games .quick-filter input,
  .public-shell .public-hero.free-games .quick-filter select,
  .public-shell .public-hero.free-games .quick-filter button,
  .public-shell .public-hero.games .quick-filter input,
  .public-shell .public-hero.games .quick-filter select,
  .public-shell .public-hero.games .quick-filter button,
  .public-shell .public-hero.deals-ending-soon .quick-filter input,
  .public-shell .public-hero.deals-ending-soon .quick-filter select,
  .public-shell .public-hero.deals-ending-soon .quick-filter button {
    min-height: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
  }

  .public-shell .kpi-row {
    gap: 8px !important;
  }

  .public-shell .kpi-row-inline {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin-top: 0 !important;
  }

  .public-shell .kpi-row-inline .card {
    min-height: 56px !important;
    padding: 6px !important;
  }

  .public-shell .kpi-row-inline .metric {
    font-size: 14px !important;
    margin-bottom: 3px !important;
  }

  .public-shell .kpi-row-inline .card p:not(.metric) {
    font-size: 9px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .public-shell .kpi-row .card {
    padding: 10px 12px !important;
    min-height: 78px !important;
    border-radius: 10px !important;
  }

  .public-shell .kpi-row .metric {
    font-size: 18px !important;
    line-height: 1 !important;
    margin-bottom: 4px !important;
  }

  .public-shell .kpi-row .card p:not(.metric) {
    font-size: 12px !important;
  }
}

/* Listing rows polish (giveaways / free-games / games) */
.deal-meta-line {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 6px !important;
}

.deal-time-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(78, 210, 138, 0.42);
  background: rgba(10, 48, 31, 0.16);
  color: #11b874;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 760px) {
  .deal-list {
    gap: 10px;
  }

  .deal-row {
    border-radius: 12px !important;
    padding: 12px !important;
    min-height: 0 !important;
    align-items: stretch !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 12px !important;
    border-color: rgba(183, 198, 223, 0.82) !important;
    background: #f6f8fc !important;
    box-shadow: 0 8px 18px rgba(15, 29, 50, 0.08);
    grid-auto-rows: auto;
  }

  .deal-thumb {
    width: 112px !important;
    height: 124px !important;
    border-radius: 8px !important;
  }

  .deal-copy {
    display: grid;
    align-content: start;
    gap: 8px;
    min-width: 0;
    padding-right: 2px;
  }

  .deal-copy h3 {
    font-size: 17px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    color: #15233b !important;
  }

  .deal-copy p {
    margin: 0 !important;
    font-size: 12px !important;
  }

  .deal-bottom-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .deal-bottom-row.is-actions-only {
    justify-content: flex-end;
  }

  .deal-actions {
    grid-column: 1 / -1 !important;
    justify-content: stretch !important;
    margin-top: 10px !important;
    margin-left: 0 !important;
    min-width: 0;
  }

  .deal-actions a {
    min-height: 40px !important;
    height: 40px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    padding: 0 14px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 8px;
    white-space: nowrap !important;
    line-height: 1 !important;
  }

  .deal-actions a::before {
    content: "\1F381";
    font-size: 14px;
    line-height: 1;
  }

  .news-row .deal-actions a::before,
  .news-brief-cta::before,
  .news-lead-copy b::before {
    content: none !important;
  }

  .deal-time-chip {
    min-height: 28px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 800;
    border-color: rgba(82, 204, 136, 0.5);
    background: rgba(65, 179, 116, 0.16);
    min-width: 0;
    max-width: 100%;
  }

  .deal-time-chip .countdown {
    color: #12b36f !important;
    font-weight: 900;
  }
}

/* Dashboard polish pass 1: layout rhythm + typography hierarchy */
.public-body .dashboard-shell .user-board-main {
  gap: 14px;
}

.public-body .dashboard-shell .dashboard-hero-lite,
.public-body .dashboard-shell .section-block,
.public-body .dashboard-shell #action-zone .section-block,
.public-body .dashboard-shell #saved-area .section-block,
.public-body .dashboard-shell #saved-history-zone .section-block,
.public-body .dashboard-shell #saved-recs-zone .section-block {
  border-radius: 12px !important;
}

.public-body .dashboard-shell .dashboard-hero-lite {
  padding: 16px !important;
}

.public-body .dashboard-shell .dashboard-hero-lite h1 {
  font-size: clamp(32px, 3.2vw, 50px) !important;
  line-height: 0.96 !important;
  margin: 2px 0 8px !important;
}

.public-body .dashboard-shell .dashboard-hero-lite .muted {
  font-size: 14px !important;
  line-height: 1.35 !important;
  max-width: 58ch;
}

.public-body .dashboard-shell .dashboard-stats {
  gap: 10px !important;
}

.public-body .dashboard-shell .dashboard-stats .card {
  min-height: 86px !important;
  padding: 12px 12px !important;
}

.public-body .dashboard-shell .dashboard-stats .metric {
  font-size: clamp(30px, 2.35vw, 40px) !important;
  line-height: 0.95 !important;
  margin-bottom: 6px !important;
}

.public-body .dashboard-shell .dashboard-stats p {
  font-size: 13px !important;
  line-height: 1.25 !important;
}

.public-body .dashboard-shell .section-block {
  padding: 14px !important;
}

.public-body .dashboard-shell .section-title {
  margin-bottom: 10px !important;
  gap: 8px !important;
}

.public-body .dashboard-shell .section-title h2 {
  font-size: 34px !important;
  line-height: 0.96 !important;
  margin: 0 !important;
}

.public-body .dashboard-shell .section-title .muted,
.public-body .dashboard-shell .section-title small {
  font-size: 12px !important;
  line-height: 1.3 !important;
}

.public-body .dashboard-shell .saved-list,
.public-body .dashboard-shell .stack-list,
.public-body .dashboard-shell .trend-list,
.public-body .dashboard-shell .micro-news {
  gap: 10px !important;
}

.public-body .dashboard-shell .saved-item,
.public-body .dashboard-shell .stack-item,
.public-body .dashboard-shell .dashboard-library-row {
  min-height: 82px !important;
  padding: 10px !important;
  border-radius: 10px !important;
}

.public-body .dashboard-shell .dashboard-game-art,
.public-body .dashboard-shell .dashboard-news-art {
  border-radius: 8px !important;
}

.public-body .dashboard-shell .saved-item strong,
.public-body .dashboard-shell .dashboard-game-copy strong {
  font-size: 17px !important;
  line-height: 1.15 !important;
}

.public-body .dashboard-shell .saved-item small,
.public-body .dashboard-shell .dashboard-game-copy small {
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.public-body .dashboard-shell .saved-actions a,
.public-body .dashboard-shell .saved-actions button,
.public-body .dashboard-shell .library-toggle,
.public-body .dashboard-shell #action-zone .settings-form button {
  min-height: 38px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

.public-body .dashboard-shell .overview-next-copy p,
.public-body .dashboard-shell .micro-news p {
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.public-body .dashboard-shell #action-zone .settings-form {
  gap: 10px !important;
}

.public-body .dashboard-shell #action-zone .settings-row {
  gap: 10px !important;
}

@media (max-width: 900px) {
  .public-body .dashboard-shell .section-title h2 {
    font-size: 26px !important;
  }

  .public-body .dashboard-shell .dashboard-stats .metric {
    font-size: 30px !important;
  }
}

/* Final Action Center mobile correction: explicit cards, no inherited two-column form. */
.public-body .dashboard-shell #action-zone,
.public-body .dashboard-shell #action-zone .action-column,
.public-body .dashboard-shell #action-zone .action-reminder-card,
.public-body .dashboard-shell #action-zone .action-quick-card,
.public-body .dashboard-shell #action-zone .action-queue-card {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.public-body .dashboard-shell #action-zone .action-reminder-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.public-body .dashboard-shell #action-zone .action-reminder-card .section-title {
  display: grid !important;
  grid-template-columns: 1fr !important;
}

.public-body .dashboard-shell #action-zone .action-reminder-card #reminderPrefsForm {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  gap: 10px !important;
}

.public-body .dashboard-shell #action-zone .action-reminder-card #reminderPrefsForm > *,
.public-body .dashboard-shell #action-zone .action-reminder-card #reminderPrefsForm label,
.public-body .dashboard-shell #action-zone .action-reminder-card #reminderPrefsForm .settings-row {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.public-body .dashboard-shell #action-zone .action-reminder-card #reminderPrefsForm .settings-row {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

.public-body .dashboard-shell #action-zone .action-reminder-card #reminderPrefsForm input:not([type="checkbox"]),
.public-body .dashboard-shell #action-zone .action-reminder-card #reminderPrefsForm select,
.public-body .dashboard-shell #action-zone .action-reminder-card #reminderPrefsForm button {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.public-body .dashboard-shell #action-zone .action-reminder-card .reminder-option {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  white-space: normal !important;
}

.public-body .dashboard-shell #action-zone .action-reminder-card .reminder-option input[type="checkbox"] {
  flex: 0 0 auto !important;
  width: 14px !important;
}

.public-body .dashboard-shell #action-zone .action-reminder-card .compact-actions,
.public-body .dashboard-shell #action-zone .action-quick-card .compact-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  width: 100% !important;
}

.public-body .dashboard-shell #action-zone .action-reminder-card .compact-actions .library-toggle,
.public-body .dashboard-shell #action-zone .action-reminder-card .compact-actions button,
.public-body .dashboard-shell #action-zone .action-quick-card .compact-actions .library-toggle,
.public-body .dashboard-shell #action-zone .action-quick-card .compact-actions button,
.public-body .dashboard-shell #action-zone .action-quick-card .compact-actions a {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.public-body .dashboard-shell #action-zone .action-queue-card .micro-news {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.public-body .dashboard-shell #action-zone .action-queue-card .micro-news p {
  min-height: 48px;
  display: grid;
  align-content: center;
  padding: 8px;
  border: 1px solid rgba(86, 151, 231, 0.32);
  border-radius: 10px;
  background: rgba(3, 17, 33, 0.42);
}

.public-body .dashboard-shell #action-zone .action-queue-card .stack-item {
  grid-template-columns: 1fr !important;
  align-items: start !important;
  gap: 8px !important;
}

.public-body .dashboard-shell #action-zone .action-queue-card .stack-item .countdown {
  justify-self: start !important;
}

@media (max-width: 640px) {
  .public-body .dashboard-shell #action-zone .action-queue-card .micro-news {
    grid-template-columns: 1fr !important;
  }

  .public-body .dashboard-shell #action-zone .action-reminder-card .section-title h2,
  .public-body .dashboard-shell #action-zone .action-quick-card .section-title h2,
  .public-body .dashboard-shell #action-zone .action-queue-card .section-title h2 {
    font-size: 22px !important;
    line-height: 1.02 !important;
  }
}

/* Account Settings polish pass: profile, security, notifications, data, danger. */
.public-body .dashboard-shell .account-settings-zone,
.public-body .dashboard-shell .account-settings-zone .account-settings-grid,
.public-body .dashboard-shell .account-settings-zone .account-tab-panel,
.public-body .dashboard-shell .account-settings-zone .account-settings-card,
.public-body .dashboard-shell .account-settings-zone .account-tabs-shell,
.public-body .dashboard-shell .account-settings-zone .account-settings-hero {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.public-body .dashboard-shell .account-settings-zone {
  display: grid;
  gap: 14px;
}

.public-body .dashboard-shell .account-settings-hero,
.public-body .dashboard-shell .account-tabs-shell,
.public-body .dashboard-shell .account-settings-card {
  padding: 14px !important;
  border-radius: 12px !important;
}

.public-body .dashboard-shell .account-settings-hero .section-title {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px !important;
}

.public-body .dashboard-shell .account-settings-hero .section-title h2,
.public-body .dashboard-shell .account-settings-card .section-title h2 {
  font-size: 30px !important;
  line-height: 1 !important;
}

.public-body .dashboard-shell .account-status-pill {
  justify-self: end;
  white-space: nowrap;
}

.public-body .dashboard-shell .account-summary-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px !important;
}

.public-body .dashboard-shell .account-summary-grid span {
  min-width: 0;
  min-height: 68px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 10px;
  border-radius: 10px !important;
}

.public-body .dashboard-shell .account-summary-grid strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-body .dashboard-shell .account-tabs-nav {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px !important;
}

.public-body .dashboard-shell .account-tabs-nav .library-tab-btn {
  flex: 1 1 130px;
  min-height: 40px;
  border-radius: 10px !important;
}

.public-body .dashboard-shell .account-settings-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
}

.public-body .dashboard-shell .account-tab-panel[hidden] {
  display: none !important;
}

.public-body .dashboard-shell .account-tab-panel.is-active {
  display: grid !important;
  gap: 12px !important;
}

.public-body .dashboard-shell .account-form,
.public-body .dashboard-shell .account-preferences-form,
.public-body .dashboard-shell .account-pro-alerts-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.public-body .dashboard-shell .account-form label,
.public-body .dashboard-shell .account-form .settings-row,
.public-body .dashboard-shell .account-form button,
.public-body .dashboard-shell .account-inline-action,
.public-body .dashboard-shell .account-action-stack {
  min-width: 0 !important;
  max-width: 100% !important;
}

.public-body .dashboard-shell .account-form input:not([type="checkbox"]),
.public-body .dashboard-shell .account-form select,
.public-body .dashboard-shell .account-form button {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 40px !important;
  border-radius: 10px !important;
}

.public-body .dashboard-shell .account-form button {
  grid-column: 1 / -1 !important;
  justify-self: stretch !important;
}

.public-body .dashboard-shell .account-preferences-form .reminder-option,
.public-body .dashboard-shell .account-pro-alerts-form .reminder-option {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  white-space: normal !important;
}

.public-body .dashboard-shell .account-preferences-form .reminder-option input[type="checkbox"],
.public-body .dashboard-shell .account-pro-alerts-form .reminder-option input[type="checkbox"] {
  flex: 0 0 auto;
  width: 14px !important;
}

.public-body .dashboard-shell .account-preferences-form .settings-row {
  grid-column: 1 / -1;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.public-body .dashboard-shell .account-pro-alerts-form {
  margin-top: 12px !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(119, 172, 241, 0.22);
}

.public-body .dashboard-shell .account-inline-action {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px !important;
  padding: 12px !important;
  border-radius: 10px !important;
}

.public-body .dashboard-shell .account-inline-action button {
  min-width: 160px;
}

.public-body .dashboard-shell .account-action-stack {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px !important;
}

.public-body .dashboard-shell .account-action-stack .library-toggle,
.public-body .dashboard-shell .account-action-stack button,
.public-body .dashboard-shell .account-action-stack a {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 40px !important;
  justify-content: center !important;
}

.public-body .dashboard-shell .account-danger-card {
  border-color: rgba(255, 113, 133, 0.5) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 79, 112, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(48, 14, 28, 0.82), rgba(8, 30, 55, 0.94)) !important;
}

.public-body .dashboard-shell .account-danger-card button {
  border-color: rgba(255, 113, 133, 0.72) !important;
  background: linear-gradient(180deg, #ff6478, #d3314a) !important;
}

@media (max-width: 760px) {
  .public-body .dashboard-shell .account-settings-hero .section-title,
  .public-body .dashboard-shell .account-inline-action {
    grid-template-columns: 1fr !important;
  }

  .public-body .dashboard-shell .account-status-pill {
    justify-self: start;
  }

  .public-body .dashboard-shell .account-summary-grid,
  .public-body .dashboard-shell .account-form,
  .public-body .dashboard-shell .account-preferences-form,
  .public-body .dashboard-shell .account-pro-alerts-form,
  .public-body .dashboard-shell .account-preferences-form .settings-row,
  .public-body .dashboard-shell .account-action-stack {
    grid-template-columns: 1fr !important;
  }

  .public-body .dashboard-shell .account-tabs-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-body .dashboard-shell .account-tabs-nav .library-tab-btn {
    min-width: 0 !important;
  }

  .public-body .dashboard-shell .account-settings-hero .section-title h2,
  .public-body .dashboard-shell .account-settings-card .section-title h2 {
    font-size: 24px !important;
    line-height: 1.05 !important;
  }

  .public-body .dashboard-shell .account-inline-action button {
    width: 100% !important;
    min-width: 0 !important;
  }
}
