/* App sidebar — products, management, resources (dashboard, plans, reseller panel) */

.rp-rail-nav-list,
.rp-product-rail-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rp-rail-link,
.rp-product-rail-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.5rem;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.15s ease,
    box-shadow 0.18s ease;
}

.rp-rail-link:hover,
.rp-product-rail-link:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.rp-rail-link--active,
.rp-product-rail-link--active {
  border-color: rgba(110, 231, 183, 0.45);
  background: rgba(16, 185, 129, 0.1);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.12);
}

.rp-rail-icon,
.rp-product-rail-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid transparent;
}

.rp-rail-icon svg,
.rp-product-rail-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.rp-rail-text,
.rp-product-rail-text {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}

.rp-rail-title,
.rp-product-rail-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f3f4f6;
  letter-spacing: 0.01em;
}

.rp-rail-tag,
.rp-product-rail-tag {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.64rem;
  font-weight: 600;
  color: #9ca3af;
}

.rp-rail-link--emerald .rp-rail-icon,
.rp-product-rail-link--emerald .rp-product-rail-icon {
  color: #6ee7b7;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.22), rgba(5, 46, 35, 0.5));
  border-color: rgba(110, 231, 183, 0.35);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.12);
}
.rp-rail-link--indigo .rp-rail-icon,
.rp-product-rail-link--indigo .rp-product-rail-icon {
  color: #6ee7b7;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.22), rgba(5, 46, 35, 0.5));
  border-color: rgba(110, 231, 183, 0.35);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.12);
}
.rp-rail-link--violet .rp-rail-icon,
.rp-product-rail-link--violet .rp-product-rail-icon {
  color: #c4b5fd;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.28), rgba(46, 16, 101, 0.55));
  border-color: rgba(167, 139, 250, 0.38);
}
.rp-rail-link--amber .rp-rail-icon,
.rp-product-rail-link--amber .rp-product-rail-icon {
  color: #fcd34d;
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.26), rgba(69, 26, 3, 0.55));
  border-color: rgba(251, 191, 36, 0.38);
}
.rp-rail-link--cyan .rp-rail-icon,
.rp-product-rail-link--cyan .rp-product-rail-icon {
  color: #67e8f9;
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.26), rgba(8, 51, 68, 0.55));
  border-color: rgba(103, 232, 249, 0.35);
}
.rp-rail-link--slate .rp-rail-icon,
.rp-product-rail-link--slate .rp-product-rail-icon {
  color: #94a3b8;
  background: linear-gradient(145deg, rgba(100, 116, 139, 0.3), rgba(15, 23, 42, 0.65));
  border-color: rgba(148, 163, 184, 0.35);
}
.rp-rail-link--sky .rp-rail-icon {
  color: #7dd3fc;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.26), rgba(12, 74, 110, 0.55));
  border-color: rgba(125, 211, 252, 0.38);
}
.rp-rail-link--rose .rp-rail-icon {
  color: #fda4af;
  background: linear-gradient(145deg, rgba(244, 63, 94, 0.22), rgba(76, 5, 25, 0.55));
  border-color: rgba(251, 113, 133, 0.35);
}

.rp-section-rail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.rp-section-rail-heading .rp-products-rail-count {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 231, 183, 0.35);
  color: #bbf7d0;
  background: rgba(16, 185, 129, 0.12);
}

/* Partner / reseller panel — collapsible block */
.rp-rail-dropdown {
  border: 1px solid rgba(110, 231, 183, 0.22);
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.06);
  overflow: hidden;
}
.rp-rail-dropdown--partner {
  border-color: rgba(110, 231, 183, 0.32);
  background: linear-gradient(165deg, rgba(16, 185, 129, 0.12), rgba(5, 78, 59, 0.08));
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}
.rp-rail-dropdown-summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  list-style: none;
  cursor: pointer;
  padding: 0.45rem 0.5rem;
  border-radius: 11px;
  color: #e2e8f0;
  transition: background 0.18s ease;
}
.rp-rail-dropdown-summary::-webkit-details-marker {
  display: none;
}
.rp-rail-dropdown-summary::marker {
  content: "";
  display: none;
}
.rp-rail-dropdown-summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-left: auto;
  margin-right: 0.35rem;
  border-right: 2px solid rgba(165, 180, 252, 0.9);
  border-bottom: 2px solid rgba(165, 180, 252, 0.9);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  flex-shrink: 0;
}
.rp-rail-dropdown[open] > .rp-rail-dropdown-summary::after {
  transform: rotate(-135deg) translateY(2px);
}
.rp-rail-dropdown-summary:hover {
  background: rgba(255, 255, 255, 0.04);
}
.rp-rail-dropdown--partner .rp-rail-dropdown-summary .rp-rail-icon {
  color: #c4b5fd;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.28), rgba(46, 16, 101, 0.55));
  border-color: rgba(167, 139, 250, 0.38);
}
.rp-rail-dropdown .rp-rail-sub {
  padding: 0.25rem 0.45rem 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.rp-rail-link--sub {
  padding: 0.38rem 0.45rem;
  border-radius: 10px;
}
.rp-rail-link--sub .rp-rail-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}
.rp-rail-link--sub .rp-rail-title {
  font-size: 0.82rem;
}
.rp-rail-link--sub .rp-rail-tag {
  font-size: 0.68rem;
}

/* Injected plan dashboard chrome */
body.app-chrome-injected {
  background: #0a0b0f;
}
body.app-chrome-injected .plan-legacy-back-bar {
  display: none !important;
}
.app-chrome-grid {
  min-height: 100vh;
}
.app-chrome-main {
  min-width: 0;
}
.app-chrome-topbar,
.chilly-dashboard-topbar {
  margin-bottom: 1rem;
}
.chilly-dashboard-topbar .top-pill,
.app-chrome-topbar .top-pill {
  border: 1px solid rgba(103, 232, 179, 0.28);
  background: rgba(14, 24, 20, 0.82);
  color: #d1d5db;
  text-decoration: none;
}
.chilly-dashboard-topbar .ghost-btn,
.app-chrome-topbar .ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #e5e7eb;
}

/* Account menu — enhanced profile dropdown */
.chilly-dashboard-topbar .account-menu,
.app-chrome-topbar .account-menu,
body.dashboard-app .account-menu,
body.select-plan-page .account-menu {
  position: relative;
}
.chilly-dashboard-topbar .account-menu summary,
.app-chrome-topbar .account-menu summary,
body.dashboard-app .account-menu summary,
body.select-plan-page .account-menu summary {
  list-style: none;
}
.chilly-dashboard-topbar .account-menu summary::-webkit-details-marker,
.app-chrome-topbar .account-menu summary::-webkit-details-marker,
body.dashboard-app .account-menu summary::-webkit-details-marker,
body.select-plan-page .account-menu summary::-webkit-details-marker {
  display: none;
}
.account-menu--enhanced > summary::marker {
  content: "";
  display: none;
}
.account-menu--enhanced > summary::after,
.account-menu--enhanced .account-menu-trigger::after {
  content: none !important;
  display: none !important;
}
.account-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: min(260px, 52vw);
  padding: 0.3rem 0.55rem 0.3rem 0.35rem;
  border-radius: 9999px;
  cursor: pointer;
  border: 1px solid rgba(103, 232, 179, 0.35);
  background: linear-gradient(180deg, rgba(10, 20, 18, 0.92), rgba(8, 14, 12, 0.92));
  color: #dcfce7;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.1);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.account-menu[open] .account-menu-trigger {
  border-color: rgba(74, 222, 128, 0.65);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14);
}
.account-menu-trigger-icon,
.account-panel-head-icon {
  flex-shrink: 0;
}
.account-initials {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #6ee7b7;
}
.account-trigger-label {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  min-width: 0;
}
.account-trigger-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 700;
}
.account-trigger-chevron {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
  opacity: 0.75;
  transition: transform 0.15s ease;
}
.account-menu[open] .account-trigger-chevron {
  transform: rotate(180deg);
}
.account-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(272px, 92vw);
  z-index: 60;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(74, 222, 128, 0.28);
  background:
    radial-gradient(120% 80% at 0% -20%, rgba(16, 185, 129, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(10, 18, 16, 0.98), rgba(6, 10, 9, 0.98));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.52), 0 0 24px rgba(16, 185, 129, 0.1);
  backdrop-filter: blur(10px);
}
.account-panel-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.account-panel-meta {
  min-width: 0;
}
.account-panel-name {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ecfdf5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-panel-email {
  margin: 0.15rem 0 0;
  font-size: 0.68rem;
  color: #86efac;
  opacity: 0.85;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-panel-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.45rem;
}
.account-link,
.account-logout-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  color: #d1fae5;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.account-link:hover,
.account-logout-btn:hover {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(74, 222, 128, 0.22);
  color: #ecfdf5;
}
.account-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
}
.account-link-icon svg {
  width: 0.95rem;
  height: 0.95rem;
}
.account-link-text {
  min-width: 0;
}
.account-panel-foot {
  padding: 0.35rem 0.45rem 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.account-logout-btn {
  color: #fecaca;
}
.account-logout-btn .account-link-icon {
  background: rgba(248, 113, 113, 0.14);
  color: #fca5a5;
}
.account-logout-btn:hover {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.28);
  color: #fee2e2;
}
/* Legacy account menu (until JS enhances) */
body.dashboard-app .account-menu:not(.account-menu--enhanced) summary,
body.select-plan-page .account-menu:not(.account-menu--enhanced) summary {
  cursor: pointer;
  border: 1px solid rgba(103, 232, 179, 0.35);
  background: linear-gradient(180deg, rgba(10, 20, 18, 0.88), rgba(8, 14, 12, 0.88));
  color: #bbf7d0;
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
}
body.dashboard-app .account-menu:not(.account-menu--enhanced) summary::after,
body.select-plan-page .account-menu:not(.account-menu--enhanced) summary::after {
  content: "\25BE";
  margin-left: 0.35em;
}
.chilly-dashboard-topbar .notify-menu,
.app-chrome-topbar .notify-menu,
body.dashboard-app .notify-menu,
body.select-plan-page .notify-menu {
  position: relative;
}
.chilly-dashboard-topbar .notify-menu summary,
.app-chrome-topbar .notify-menu summary,
body.dashboard-app .notify-menu summary,
body.select-plan-page .notify-menu summary {
  list-style: none;
  cursor: pointer;
}
.chilly-dashboard-topbar .notify-menu summary::-webkit-details-marker,
.app-chrome-topbar .notify-menu summary::-webkit-details-marker,
body.dashboard-app .notify-menu summary::-webkit-details-marker,
body.select-plan-page .notify-menu summary::-webkit-details-marker {
  display: none;
}
.chilly-dashboard-topbar .notify-panel,
.app-chrome-topbar .notify-panel,
body.dashboard-app .notify-panel,
body.select-plan-page .notify-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(380px, 90vw);
  z-index: 50;
  border: 1px solid rgba(103, 232, 179, 0.35);
  background: linear-gradient(180deg, rgba(17, 19, 24, 0.98), rgba(12, 14, 19, 0.98));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.48);
}
.chilly-dashboard-topbar .notify-item,
.app-chrome-topbar .notify-item,
body.dashboard-app .notify-item,
body.select-plan-page .notify-item {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

body.app-chrome-injected.dashboard-app .left-rail,
body.app-chrome-injected .left-rail {
  background: linear-gradient(180deg, #0a0b0f, #111318);
  border-right: 1px solid #1e2028;
}

@media (max-width: 1023px) {
  /* Off-canvas drawer — must not depend on body.dashboard-app (promo/affiliate shells) */
  #dashboardLeftRail.dashboard-left-rail-mobile,
  #pickerLeftRail.picker-left-rail-mobile,
  .dashboard-left-rail-mobile.left-rail,
  .picker-left-rail-mobile.left-rail {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    width: min(272px, 86vw);
    max-width: 86vw;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transform: translate3d(-100%, 0, 0);
    transition: transform 0.22s ease-out;
    background:
      linear-gradient(180deg, rgba(10, 11, 15, 0.98) 0%, rgba(17, 19, 24, 0.98) 42%, rgba(14, 16, 22, 0.99) 100%) !important;
    border-right: 1px solid var(--chilly-border, #1e2028);
    box-shadow: none;
  }

  body.picker-mobile-nav-is-open #pickerLeftRail.picker-left-rail-mobile,
  body.dashboard-mobile-nav-is-open #dashboardLeftRail.dashboard-left-rail-mobile,
  body.picker-mobile-nav-is-open .picker-left-rail-mobile,
  body.dashboard-mobile-nav-is-open .dashboard-left-rail-mobile {
    transform: translate3d(0, 0, 0);
    box-shadow: 16px 0 48px rgba(0, 0, 0, 0.45);
  }

  .dashboard-nav-backdrop,
  .picker-nav-backdrop {
    opacity: 0;
    pointer-events: none;
  }

  .dashboard-nav-backdrop[aria-hidden="true"],
  .picker-nav-backdrop[aria-hidden="true"] {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .dashboard-nav-backdrop[aria-hidden="false"],
  .picker-nav-backdrop[aria-hidden="false"],
  body.picker-mobile-nav-is-open .picker-nav-backdrop,
  body.dashboard-mobile-nav-is-open .dashboard-nav-backdrop {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* Main panel above dim overlay; drawer above overlay */
  .dashboard-main-panel,
  .app-chrome-shell > section.app-chrome-main,
  .min-h-screen[class*="lg:grid"] > section,
  .plan-purchase-app-wrap .plan-purchase-main-panel,
  .plan-purchase-app-wrap .min-h-screen[class*="lg:grid"] > .plan-purchase-main-panel {
    position: relative;
    z-index: 40;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 100dvh;
    isolation: isolate;
  }

  .chilly-dashboard-topbar,
  .app-chrome-topbar {
    position: relative;
    z-index: 42;
  }

  .dashboard-nav-backdrop,
  .picker-nav-backdrop {
    z-index: 35 !important;
  }

  #dashboardLeftRail.dashboard-left-rail-mobile,
  #pickerLeftRail.picker-left-rail-mobile {
    z-index: 80 !important;
  }

  body.picker-mobile-nav-is-open,
  body.dashboard-mobile-nav-is-open {
    overflow: hidden;
  }

  /* Shell grid: sidebar is fixed, so main column uses full viewport */
  .min-h-screen[class*="lg:grid"] > section,
  .app-chrome-grid > .app-chrome-main,
  .app-chrome-shell > .app-chrome-main,
  .plan-purchase-app-wrap .plan-purchase-main-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  /* Backdrop must sit on body, not inside a transformed main */
  body > .dashboard-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
  }
}
@media (min-width: 1024px) {
  .dashboard-nav-backdrop,
  .picker-nav-backdrop,
  .dashboard-nav-close,
  .picker-nav-close {
    display: none !important;
  }

  #dashboardLeftRail.dashboard-left-rail-mobile,
  #pickerLeftRail.picker-left-rail-mobile {
    position: relative;
    transform: none !important;
    width: auto;
    max-width: none;
  }
}

/* ── Unified app chrome theme (sidebar + topbar + plan pages) ── */
:root {
  --chilly-bg: #0a0b0f;
  --chilly-surface: #111318;
  --chilly-surface-2: #16181d;
  --chilly-border: #1e2028;
  --chilly-indigo: #10b981;
  --chilly-indigo-soft: rgba(16, 185, 129, 0.14);
  --chilly-emerald: #10b981;
  --chilly-emerald-soft: rgba(16, 185, 129, 0.12);
  --chilly-violet: #8b5cf6;
  --chilly-violet-soft: rgba(139, 92, 246, 0.14);
}

body.dashboard-app,
body.app-chrome-injected {
  background:
    radial-gradient(1100px 380px at 8% -8%, rgba(34, 197, 94, 0.12), transparent 58%),
    radial-gradient(900px 320px at 96% 0%, rgba(16, 185, 129, 0.1), transparent 55%),
    var(--chilly-bg) !important;
}

body.dashboard-app .left-rail,
body.app-chrome-injected .left-rail,
body.app-chrome-injected .dashboard-left-rail-mobile {
  background:
    linear-gradient(180deg, rgba(10, 11, 15, 0.98) 0%, rgba(17, 19, 24, 0.98) 42%, rgba(14, 16, 22, 0.99) 100%);
  border-right: 1px solid var(--chilly-border);
  box-shadow: inset -1px 0 0 rgba(103, 232, 179, 0.08);
}

.chilly-sidebar-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}

.chilly-wordmark-lockup--sidebar {
  gap: 0.2rem;
}

.chilly-wordmark-lockup--sidebar .chilly-wordmark-icon {
  height: 38px;
  max-width: 42px;
}

.chilly-wordmark-lockup--sidebar .chilly-wordmark-text {
  font-size: 1.05rem;
}

.chilly-sidebar-logo-tag {
  font-size: 0.62rem;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.chilly-sidebar-logo:hover .chilly-wordmark-text {
  opacity: 0.92;
}

body.dashboard-app .left-rail > .mb-6 > a.text-2xl {
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em;
  background: linear-gradient(105deg, #fff 0%, #bbf7d0 42%, #6ee7b7 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.rp-section-rail-heading {
  font-size: 0.62rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  color: #6b7280 !important;
  margin-bottom: 0.35rem;
  padding-left: 0.15rem;
}

.chilly-dashboard-topbar .top-pill,
.app-chrome-topbar .top-pill {
  border: 1px solid rgba(103, 232, 179, 0.28) !important;
  background: rgba(22, 24, 29, 0.88) !important;
  backdrop-filter: blur(8px);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.chilly-dashboard-topbar a.top-pill:hover,
.app-chrome-topbar a.top-pill:hover {
  border-color: rgba(16, 185, 129, 0.45) !important;
  background: rgba(16, 185, 129, 0.08) !important;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.12);
}
.chilly-dashboard-topbar a.top-pill #walletBalance,
.app-chrome-topbar a.top-pill #walletBalance {
  color: #6ee7b7;
}

.app-chrome-main {
  background: transparent;
}
.app-chrome-injected #appChromeContent > main {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

body.affiliate-app-chrome.app-chrome-injected .aff-panel {
  border-color: rgba(30, 32, 40, 0.95);
}
body.affiliate-app-chrome.app-chrome-injected #promoAssets section {
  border: 1px solid #1e2028;
  background: rgba(22, 24, 29, 0.92);
  border-radius: 1rem;
  padding: 1rem;
}

body.premium-geo-chrome.app-chrome-injected {
  background:
    radial-gradient(1000px 360px at 12% -6%, rgba(34, 197, 94, 0.12), transparent 58%),
    radial-gradient(900px 300px at 92% 0%, rgba(16, 185, 129, 0.1), transparent 55%),
    var(--chilly-bg) !important;
}
