:root {
  color-scheme: light;
  --bg: #f3f6f7;
  --surface: #ffffff;
  --surface-strong: #eef4f5;
  --ink: #172122;
  --muted: #647173;
  --line: #dce5e7;
  --accent: #18b6a7;
  --accent-dark: #0b7f76;
  --gold: #d79b35;
  --rose: #c45668;
  --navy: #07111f;
  --red: #c1121f;
  --soft-shadow: 0 10px 30px rgba(29, 43, 46, 0.08);
  --shadow: 0 18px 44px rgba(35, 54, 58, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% -10%, rgba(24, 182, 167, 0.12), transparent 30%),
    radial-gradient(circle at 88% 4%, rgba(193, 18, 31, 0.08), transparent 28%),
    var(--bg);
  color: var(--ink);
}

body.public-store {
  color-scheme: dark;
  --bg: #07111f;
  --surface: #0d1728;
  --surface-strong: #132238;
  --ink: #f8fafc;
  --muted: #a7b0c0;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #2dd4bf;
  --accent-dark: #67e8f9;
  --gold: #f5c451;
  --rose: #e23a4f;
  --navy: #07111f;
  --red: #d61f3c;
  --soft-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  background:
    radial-gradient(circle at 12% -10%, rgba(36, 92, 255, 0.24), transparent 30%),
    radial-gradient(circle at 88% 2%, rgba(214, 31, 60, 0.22), transparent 28%),
    linear-gradient(180deg, #07111f 0%, #091527 42%, #060b14 100%);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px;
  background: #132123;
  color: #f8fbfb;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #062624;
  font-weight: 900;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.18));
}

.brand strong,
.brand span {
  display: block;
}

.brand span {
  color: #aab8ba;
  font-size: 0.82rem;
}

.nav-list {
  display: grid;
  gap: 7px;
  align-content: start;
  overflow: auto;
  padding-right: 2px;
}

.nav-section-label {
  margin: 12px 0 2px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-section-label:first-child {
  margin-top: 0;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #d8e2e3;
  text-align: left;
  padding: 0 11px;
  font-size: 0.92rem;
  font-weight: 760;
}

.nav-item:hover,
.nav-item.active {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.nav-icon,
.icon-button span,
.primary-button span,
.search span {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.dashboard-icon {
  border: 2px solid currentColor;
  border-radius: 4px;
  box-shadow: inset 7px 0 0 transparent;
}

.dashboard-icon::before,
.dashboard-icon::after,
.box-icon::before,
.box-icon::after,
.receipt-icon::before,
.receipt-icon::after,
.monitor-icon::before,
.gear-icon::before,
.bell-icon::before,
.bell-icon::after,
.plus-icon::before,
.plus-icon::after,
.copy-icon::before,
.copy-icon::after,
.close-icon::before,
.close-icon::after,
.search span::before,
.search span::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.dashboard-icon::before {
  left: 7px;
  top: 0;
  width: 2px;
  height: 100%;
}

.dashboard-icon::after {
  left: 0;
  top: 7px;
  width: 100%;
  height: 2px;
}

.box-icon {
  border: 2px solid currentColor;
  border-radius: 4px;
}

.box-icon::before {
  left: 2px;
  right: 2px;
  top: 7px;
  height: 2px;
}

.box-icon::after {
  left: 7px;
  top: 1px;
  width: 2px;
  height: 8px;
}

.receipt-icon {
  border: 2px solid currentColor;
  border-radius: 3px;
}

.receipt-icon::before {
  left: 4px;
  right: 4px;
  top: 5px;
  height: 2px;
  box-shadow: 0 5px 0 currentColor;
}

.receipt-icon::after {
  bottom: -3px;
  left: 2px;
  width: 4px;
  height: 4px;
  box-shadow: 5px 0 0 currentColor, 10px 0 0 currentColor;
  transform: rotate(45deg);
}

.monitor-icon {
  border: 2px solid currentColor;
  border-radius: 4px;
}

.monitor-icon::before {
  left: 5px;
  bottom: -5px;
  width: 8px;
  height: 2px;
}

.gear-icon {
  border: 2px solid currentColor;
  border-radius: 50%;
}

.gear-icon::before {
  inset: 5px;
  border-radius: 50%;
  background: currentColor;
}

.upload-icon {
  border: 2px solid currentColor;
  border-radius: 4px;
}

.upload-icon::before {
  left: 7px;
  top: 3px;
  width: 2px;
  height: 10px;
  background: currentColor;
}

.upload-icon::after {
  left: 4px;
  top: 3px;
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  background: transparent;
  transform: rotate(45deg);
}

.server-card {
  margin-top: auto;
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.server-top,
.health-list div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #45d483;
  box-shadow: 0 0 0 4px rgba(69, 212, 131, 0.14);
}

.status-dot.warn {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(215, 155, 53, 0.16);
}

.mini-meter {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.mini-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.main {
  min-width: 0;
  padding: 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 4.4rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.staff-panel-title {
  max-width: 760px;
  margin-bottom: 6px;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.staff-panel-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

h2 {
  margin-bottom: 0;
  font-size: 1.55rem;
}

h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: min(360px, 100%);
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
}

.search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.search span::before {
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: transparent;
}

.search span::after {
  width: 7px;
  height: 2px;
  left: 10px;
  top: 12px;
  transform: rotate(45deg);
}

.primary-button,
.ghost-button,
.primary-link,
.ghost-link,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 14px;
  white-space: nowrap;
}

.primary-button {
  background: var(--ink);
  color: #ffffff;
}

.primary-link {
  background: var(--ink);
  color: #ffffff;
  text-decoration: none;
}

.ghost-button,
.ghost-link,
.icon-button {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.ghost-link {
  text-decoration: none;
}

.icon-button {
  width: 42px;
  padding: 0;
}

.bell-icon {
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 9px 9px 2px 2px;
}

.bell-icon::before {
  bottom: -4px;
  left: 2px;
  width: 14px;
  height: 2px;
}

.bell-icon::after {
  bottom: -7px;
  left: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.plus-icon::before,
.copy-icon::before {
  left: 3px;
  top: 8px;
  width: 12px;
  height: 2px;
}

.plus-icon::after {
  left: 8px;
  top: 3px;
  width: 2px;
  height: 12px;
}

.copy-icon {
  border: 2px solid currentColor;
  border-radius: 3px;
}

.copy-icon::after {
  left: -5px;
  top: -5px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
  background: transparent;
}

.close-icon::before,
.close-icon::after {
  left: 3px;
  top: 8px;
  width: 13px;
  height: 2px;
}

.close-icon::before {
  transform: rotate(45deg);
}

.close-icon::after {
  transform: rotate(-45deg);
}

.view {
  display: none;
}

.active-view {
  display: block;
}

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

.section-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.segmented {
  display: inline-flex;
  min-height: 38px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.segmented button {
  min-width: 48px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 750;
}

.segmented button.active {
  background: var(--ink);
  color: #ffffff;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.metric-card,
.panel,
.package-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(29, 43, 46, 0.06);
}

.metric-card {
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.metric-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0 18px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--accent), rgba(215, 155, 53, 0.76));
}

.metric-card span,
.metric-card small,
.panel p,
.order-row small,
.package-row small,
.health-list small {
  color: var(--muted);
}

.metric-card strong {
  font-size: 2rem;
}

.positive {
  color: var(--accent-dark) !important;
}

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

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
  gap: 16px;
}

.automation-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
  margin-top: 18px;
}

.automation-note {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.automation-note strong {
  font-size: 1.4rem;
}

.bottom-grid {
  margin-top: 16px;
}

.panel {
  min-width: 0;
  padding: 18px;
}

.panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.panel-title p {
  margin-bottom: 0;
}

.revenue-panel canvas {
  display: block;
  width: 100%;
  height: 280px;
}

.package-list,
.package-board,
.health-list,
.settings-grid {
  display: grid;
  gap: 12px;
}

.package-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.package-thumb {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--accent-dark);
  font-weight: 900;
}

.package-row strong,
.order-row strong {
  display: block;
  overflow-wrap: anywhere;
}

.order-table {
  display: grid;
  gap: 8px;
}

.order-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(120px, 0.8fr) minmax(80px, 0.45fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.license-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 1fr) minmax(170px, 0.8fr) auto minmax(220px, auto);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.license-row:last-child {
  border-bottom: 0;
}

.license-row small {
  display: block;
  color: var(--muted);
}

.user-edit-form {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 12px;
}

.partner-admin-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.2fr) minmax(190px, 0.65fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.partner-admin-main {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.partner-admin-main > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--accent-dark);
  font-weight: 900;
}

.partner-admin-card strong,
.partner-admin-card small {
  display: block;
  overflow-wrap: anywhere;
}

.partner-admin-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.partner-admin-meta {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.compact-chat-feed {
  max-height: 300px;
  min-height: 120px;
  margin: 10px 0;
}

.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.radio-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 16px;
}

.radio-admin-hero {
  display: grid;
  gap: 16px;
  min-height: 240px;
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(5, 12, 24, 0.96), rgba(9, 55, 64, 0.94) 58%, rgba(105, 18, 34, 0.88)),
    url("/assets/storefront-banner.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.radio-admin-hero .badge {
  width: fit-content;
}

.radio-admin-now {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.radio-admin-now h3 {
  margin: 8px 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1;
}

.radio-admin-now p,
.radio-admin-hero .ghost-link {
  color: rgba(248, 250, 252, 0.8);
}

.radio-progress {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.radio-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #18b6a7, #d79b35);
}

.radio-admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.radio-admin-stats article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
}

.radio-admin-stats strong,
.radio-admin-stats span {
  display: block;
}

.radio-admin-stats strong {
  font-size: 1.45rem;
}

.radio-admin-stats span {
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.82rem;
}

.radio-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radio-admin-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.radio-links-panel {
  display: grid;
  gap: 10px;
}

.radio-library-panel {
  grid-column: 1 / -1;
}

.radio-track-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(180px, 0.8fr) minmax(120px, 0.5fr) auto minmax(260px, auto);
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
}

.radio-track-row:last-child {
  border-bottom: 0;
}

.radio-track-row.is-live {
  border-color: rgba(24, 182, 167, 0.28);
  background: linear-gradient(90deg, rgba(24, 182, 167, 0.08), transparent);
}

.radio-track-main {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.radio-track-art {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 9px;
  background: var(--surface-strong);
  color: var(--accent-dark);
  font-weight: 900;
}

.radio-track-row small {
  display: block;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.danger-button {
  border-color: rgba(185, 28, 28, 0.35);
  color: #991b1b;
}

.license-actions-inline {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.order-table.full .order-row:last-child,
.orders-panel .order-row:last-child {
  border-bottom: 0;
}

.badge {
  justify-self: start;
  min-width: 76px;
  border-radius: 999px;
  padding: 5px 9px;
  background: #e9f7f4;
  color: var(--accent-dark);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
}

.badge.review {
  background: #fff4dd;
  color: #8d5f12;
}

.health-list div {
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.health-list div:last-child {
  border-bottom: 0;
}

.health-list strong {
  margin-right: auto;
}

.package-board {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.span-panel {
  margin-top: 16px;
}

.package-card {
  overflow: hidden;
}

.package-card-image {
  height: 112px;
  background:
    linear-gradient(135deg, rgba(24, 182, 167, 0.88), rgba(20, 33, 35, 0.78)),
    url("assets/storefront-banner.png") center / cover;
}

.package-card-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.package-edit-form {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  margin-top: 6px;
  padding-top: 14px;
}

.package-edit-form[hidden] {
  display: none;
}

.package-edit-form textarea {
  resize: vertical;
}

.package-card-body p {
  margin-bottom: 0;
  color: var(--muted);
}

.package-card-title,
.file-line,
.card-actions,
.support-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.package-card-title h3 {
  overflow-wrap: anywhere;
}

.tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag-row span {
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  padding: 5px 8px;
  font-size: 0.78rem;
  font-weight: 800;
}

.file-line small {
  color: var(--muted);
  text-align: right;
}

.price-input {
  max-width: 120px;
}

.card-actions .ghost-link,
.card-actions .ghost-button,
.card-actions .primary-link {
  flex: 1;
}

.package-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.storefront-layout,
.settings-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
}

.upload-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 16px;
}

.upload-drop {
  position: relative;
  display: grid;
  min-height: 470px;
  place-items: center;
  align-content: center;
  text-align: center;
  border-style: dashed;
  background:
    linear-gradient(135deg, rgba(24, 182, 167, 0.1), rgba(215, 155, 53, 0.08)),
    var(--surface);
}

.upload-drop input[type="file"] {
  position: absolute;
  inset: 0;
  min-height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-drop h3 {
  margin: 16px 0 4px;
  font-size: 1.35rem;
}

.upload-icon-large {
  position: relative;
  width: 74px;
  height: 74px;
  border: 3px solid var(--accent);
  border-radius: 8px;
}

.upload-icon-large::before,
.upload-icon-large::after {
  content: "";
  position: absolute;
  background: var(--accent);
}

.upload-icon-large::before {
  left: 34px;
  top: 16px;
  width: 6px;
  height: 36px;
}

.upload-icon-large::after {
  left: 23px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-left: 6px solid var(--accent);
  border-top: 6px solid var(--accent);
  background: transparent;
  transform: rotate(45deg);
}

.upload-fields,
.check-list {
  display: grid;
  gap: 14px;
}

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

.form-message,
.hint,
.domain-note,
.empty-state {
  color: var(--muted);
}

.empty-state {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.check-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.staff-chat-panel {
  display: grid;
  grid-template-rows: minmax(360px, 52vh) auto;
  gap: 18px;
}

.staff-chat-feed {
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: auto;
  padding: 6px;
}

.staff-chat-message {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #132123;
  color: #ffffff;
  font-weight: 900;
}

.chat-bubble {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfb;
}

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

.chat-meta span {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(24, 182, 167, 0.12);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chat-meta small,
.chat-attachment span {
  color: var(--muted);
}

.chat-bubble p {
  margin: 0;
  line-height: 1.55;
}

.chat-attachments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.chat-attachment {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.chat-attachment.image img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 6px;
  background: #0f2023;
}

.staff-chat-composer {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.emoji-row,
.chat-upload-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: end;
}

.emoji-row button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 850;
  padding: 0 10px;
}

.chat-upload-row label {
  flex: 1 1 280px;
}

.chat-upload-row .primary-button {
  flex: 0 0 auto;
}

.check-list input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent);
}

.public-store {
  background: #f5f8f8;
}

.country-currency-bar {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  background: #0f2023;
  color: #ffffff;
  font-weight: 850;
  font-size: 0.88rem;
}

.store-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 12px clamp(18px, 3vw, 34px);
  border-bottom: 1px solid rgba(220, 229, 231, 0.92);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(15, 31, 34, 0.06);
}

.store-brand {
  color: var(--ink);
  text-decoration: none;
}

.store-brand .brand-logo {
  width: 54px;
  height: 54px;
}

.store-nav nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.store-nav nav a,
.store-nav .nav-text-button {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  font-size: 0.9rem;
}

.store-nav .nav-text-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 8px;
  padding: 9px 10px;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown div {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  min-width: 190px;
  z-index: 70;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 8px;
  box-shadow: 0 16px 36px rgba(29, 43, 46, 0.14);
}

.nav-dropdown:not([open]) div {
  display: none;
}

.nav-dropdown div a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
}

.nav-dropdown div a.discord-nav-link {
  display: flex;
  align-items: center;
  gap: 9px;
}

.discord-nav-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
}

.nav-dropdown div a:hover {
  background: #edf4f4;
}

.radio-section {
  background: #0f2023;
  color: #ffffff;
}

.radio-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 28px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.radio-card h2 {
  margin: 0 0 12px;
  color: #ffffff;
}

.radio-card p:not(.eyebrow) {
  max-width: 680px;
  color: #cdd9db;
}

.radio-player {
  display: grid;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.radio-player img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.radio-url {
  margin: 0;
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}

.radio-player audio {
  display: none;
}

.radio-live-console {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(5, 13, 15, 0.42);
}

.radio-live-console div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 8px;
  align-items: center;
}

.radio-live-console small {
  grid-column: 2;
  color: #b9c9cc;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.16);
}

.radio-volume {
  display: grid;
  gap: 8px;
  color: #dce8ea;
  font-size: 0.9rem;
}

.radio-volume input {
  width: 100%;
}

.radio-volume-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: end;
}

.radio-volume span {
  color: #ffffff;
  font-weight: 800;
}

.radio-url-list {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.store-nav nav a.active-store-link {
  color: var(--accent-dark);
  background: rgba(24, 182, 167, 0.08);
}

.store-nav nav > a,
.store-nav .nav-text-button {
  border-radius: 8px;
  padding: 9px 10px;
}

.store-nav nav > a:hover,
.store-nav .nav-text-button:hover,
.nav-dropdown summary:hover {
  background: rgba(24, 182, 167, 0.08);
  color: var(--accent-dark);
}

.store-nav .nav-pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 0 12px;
}

.cart-nav-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  border-color: rgba(7, 17, 31, 0.14);
  background: var(--navy);
  color: #ffffff;
  font-family: inherit;
  font-weight: 900;
  padding: 0 12px;
  cursor: pointer;
}

.cart-nav-button span {
  min-width: 22px;
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.78rem;
}

.store-hero {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  background: #0b1417;
}

.public-store main {
  display: flex;
  flex-direction: column;
}

.public-store .store-hero {
  order: 1;
}

.public-store .store-stats {
  order: 2;
}

.public-store .catalog-section {
  order: 3;
}

.public-store .homepage-callouts {
  order: 4;
}

.public-store .featured-section {
  order: 5;
}

.public-store .proof-grid {
  order: 6;
}

.public-store .testimonial-grid {
  order: 7;
}

.promo-popup {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: end center;
  padding: 24px;
  background: rgba(8, 17, 19, 0.34);
}

.promo-popup[hidden] {
  display: none;
}

.promo-card {
  position: relative;
  width: min(440px, 100%);
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.promo-card h2,
.promo-card p {
  margin: 0;
}

.promo-card label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.promo-card input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 10px;
}

.promo-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 22;
  display: flex;
  justify-content: flex-end;
  background: rgba(8, 17, 19, 0.34);
}

.cart-drawer[hidden] {
  display: none;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 23;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(8, 17, 19, 0.68);
}

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

.product-modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.82fr);
  width: min(1120px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.product-modal-image {
  min-height: 520px;
  background-position: center;
  background-size: cover;
}

.product-modal-body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
}

.product-modal-body h2,
.product-modal-body p {
  margin: 0;
}

.product-modal-body > p {
  color: var(--muted);
  line-height: 1.65;
}

.product-modal-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.product-modal-meta div {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  padding: 12px;
}

.product-modal-meta span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.product-modal-meta strong {
  overflow-wrap: anywhere;
}

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

.product-detail-grid article {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfb;
  padding: 12px;
}

.product-detail-grid strong {
  color: var(--ink);
}

.product-detail-grid p,
.checkout-disclaimer {
  color: var(--muted);
  line-height: 1.55;
}

.checkout-disclaimer {
  padding: 10px 12px;
  border: 1px solid rgba(196, 86, 104, 0.24);
  border-radius: 8px;
  background: rgba(196, 86, 104, 0.08);
  font-size: 0.9rem;
}

.cart-trust {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.cart-trust span {
  border-color: var(--line);
  background: var(--surface-strong);
  color: var(--ink);
  border-radius: 8px;
}

.cart-panel {
  width: min(460px, 100%);
  height: 100%;
  display: grid;
  align-content: start;
  gap: 16px;
  overflow: auto;
  border-left: 1px solid var(--line);
  background: var(--surface);
  padding: 22px;
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.18);
}

.cart-items {
  display: grid;
  gap: 10px;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.cart-item strong,
.cart-item small {
  display: block;
}

.cart-item small {
  color: var(--muted);
}

.cart-item button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.store-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 13, 15, 0.95), rgba(7, 13, 15, 0.74) 46%, rgba(7, 13, 15, 0.32) 82%),
    linear-gradient(0deg, rgba(7, 13, 15, 0.78), transparent 52%);
}

.store-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 28px;
  align-items: end;
  max-width: 1220px;
  min-height: 660px;
  margin: 0 auto;
  padding: 54px 34px 42px;
  color: #ffffff;
}

.hero-copy {
  max-width: 760px;
}

.hero-logo {
  width: min(220px, 52vw);
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.5));
}

.store-hero-content span {
  color: #9ff5ec;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.store-hero-content h1 {
  margin: 10px 0 14px;
  max-width: 760px;
  line-height: 0.96;
}

.store-hero-content p {
  max-width: 620px;
  color: #d8e2e3;
  font-size: 1.12rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.store-hero-content a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  border-radius: 8px;
  background: #ffffff;
  color: #0d1819;
  padding: 0 16px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.store-hero-content .secondary-hero-link {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.hero-trust-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-trust-row span,
.cart-trust span {
  border: 1px solid rgba(159, 245, 236, 0.26);
  border-radius: 999px;
  background: rgba(8, 17, 19, 0.42);
  color: #e8fbf9;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.hero-command-panel {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(159, 245, 236, 0.28);
  border-radius: 8px;
  background: rgba(5, 14, 16, 0.72);
  padding: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(10px);
}

.hero-panel-header,
.hero-panel-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-panel-header strong {
  font-size: 1rem;
}

.hero-panel-header span {
  border: 1px solid rgba(34, 197, 94, 0.48);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
  padding: 5px 10px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-panel-grid {
  display: grid;
  gap: 10px;
}

.hero-panel-grid a {
  width: 100%;
  min-height: 0;
  justify-content: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  padding: 14px;
  text-align: left;
  box-shadow: none;
}

.hero-panel-grid a:hover {
  border-color: rgba(159, 245, 236, 0.42);
  background: rgba(24, 182, 167, 0.14);
}

.hero-panel-grid strong,
.hero-panel-grid span {
  display: block;
}

.hero-panel-grid strong {
  color: #ffffff;
  font-size: 0.96rem;
}

.hero-panel-grid span {
  margin-top: 4px;
  color: #b9c9cc;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
}

.hero-panel-status {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 12px;
}

.hero-panel-status div {
  display: grid;
  gap: 3px;
}

.hero-panel-status span {
  color: #94a3a8;
  font-size: 0.72rem;
  letter-spacing: 0;
}

.hero-panel-status strong {
  color: #e8fbf9;
  font-size: 0.86rem;
}

.section-subcopy {
  margin: 6px 0 0;
  max-width: 680px;
  color: var(--muted);
  line-height: 1.55;
}

.store-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 34px;
  scroll-margin-top: 96px;
}

.store-section[hidden] {
  display: none;
}

.catalog-section,
.hosting-section {
  min-height: calc(100vh - 96px);
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: -48px auto 0;
  padding: 0 34px;
  position: relative;
  z-index: 2;
}

.category-strip button,
.proof-grid article {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 10px 26px rgba(29, 43, 46, 0.08);
}

.category-strip button {
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.category-strip button:hover {
  border-color: rgba(24, 182, 167, 0.5);
  transform: translateY(-1px);
}

.category-strip button:first-child {
  border-radius: 8px 0 0 8px;
}

.category-strip button:last-child {
  border-radius: 0 8px 8px 0;
}

.category-strip strong,
.proof-grid strong {
  font-size: 1.02rem;
}

.store-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: -28px auto 0;
  padding: 0 34px;
  position: relative;
  z-index: 3;
}

.store-stats div {
  display: grid;
  gap: 4px;
  min-height: 88px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  padding: 16px;
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(10px);
}

.store-stats strong {
  font-size: 1.22rem;
}

.store-stats span {
  color: var(--muted);
}

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

.homepage-callouts article {
  display: grid;
  gap: 10px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--soft-shadow);
}

.homepage-callouts span {
  color: var(--accent-dark);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.homepage-callouts h2,
.homepage-callouts p {
  margin: 0;
}

.homepage-callouts p {
  color: var(--muted);
  line-height: 1.6;
}

.public-store .store-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 17, 31, 0.88);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.public-store .store-brand span,
.public-store .store-nav a,
.public-store .nav-dropdown summary,
.public-store .nav-text-button {
  color: #dbeafe;
}

.public-store .store-nav a:hover,
.public-store .nav-dropdown summary:hover {
  color: #ffffff;
}

.public-store .cart-nav-button,
.public-store .primary-button,
.public-store .primary-link {
  background: linear-gradient(135deg, #d61f3c, #9f1239);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(214, 31, 60, 0.24);
}

.public-store .primary-link {
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
}

.public-store .ghost-button,
.public-store .ghost-link,
.public-store .secondary-hero-link {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
}

.public-store .store-hero {
  min-height: min(760px, calc(100vh - 70px));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #07111f;
}

.public-store .store-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.34;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.42) 1px, transparent 1.5px),
    linear-gradient(115deg, transparent 0 58%, rgba(214, 31, 60, 0.18) 58% 60%, transparent 60% 100%),
    linear-gradient(115deg, transparent 0 66%, rgba(255, 255, 255, 0.16) 66% 67%, transparent 67% 100%),
    linear-gradient(115deg, transparent 0 74%, rgba(36, 92, 255, 0.16) 74% 76%, transparent 76% 100%);
  background-size: 34px 34px, 100% 100%, 100% 100%, 100% 100%;
  pointer-events: none;
}

.public-store .store-hero::after {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.96), rgba(7, 17, 31, 0.76) 48%, rgba(7, 17, 31, 0.42) 78%),
    linear-gradient(0deg, rgba(7, 17, 31, 0.9), transparent 58%);
}

.public-store .store-hero-content {
  z-index: 2;
  min-height: 720px;
  align-items: center;
}

.public-store .hero-copy {
  padding: 14px 0;
}

.public-store .store-hero-content h1 {
  max-width: 880px;
  color: #ffffff;
  text-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
}

.public-store .store-hero-content p {
  color: #dbe5ee;
}

.public-store .store-hero-content > span,
.public-store .hero-copy > span,
.public-store .eyebrow {
  color: #67e8f9;
}

.public-store .hero-actions a:first-child,
.public-store .store-hero-content a:first-child {
  background: linear-gradient(135deg, #d61f3c, #7f1d1d);
  color: #ffffff;
}

.public-store .hero-actions a:nth-child(2) {
  background: linear-gradient(135deg, #245cff, #1d4ed8);
  color: #ffffff;
}

.public-store .hero-trust-row span {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #e0f2fe;
}

.public-store .store-stats {
  margin-top: -44px;
}

.public-store .store-stats div,
.public-store .homepage-callouts article,
.public-store .proof-grid article,
.public-store .testimonial-grid article,
.public-store .store-card,
.public-store .hosting-card,
.public-store .statuspage-card,
.public-store .product-detail-grid article,
.public-store .cart-panel,
.public-store .product-modal-panel,
.public-store .promo-card,
.public-store .panel {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(19, 34, 56, 0.92), rgba(13, 23, 40, 0.94));
  color: #f8fafc;
  box-shadow: var(--soft-shadow);
}

.public-store .store-stats div {
  background:
    linear-gradient(180deg, rgba(19, 34, 56, 0.94), rgba(13, 23, 40, 0.96)),
    linear-gradient(90deg, rgba(214, 31, 60, 0.22), rgba(36, 92, 255, 0.14));
}

.public-store .store-stats strong,
.public-store .homepage-callouts h2,
.public-store .homepage-roadmap h2,
.public-store .store-card h3,
.public-store .hosting-card h3,
.public-store .section-heading h2 {
  color: #ffffff;
}

.public-store .store-stats span,
.public-store .homepage-callouts p,
.public-store .proof-grid p,
.public-store .testimonial-grid p,
.public-store .section-subcopy,
.public-store .hosting-intro,
.public-store .checkout-message,
.public-store .store-card p,
.public-store .hosting-card p,
.public-store .product-detail-grid p,
.public-store .checkout-disclaimer {
  color: #a7b0c0;
}

.category-jump-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding-top: 34px;
}

.category-jump-grid a {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 10px;
  min-height: 190px;
  align-content: end;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(19, 34, 56, 0.96), rgba(13, 23, 40, 0.92)),
    radial-gradient(circle at 80% 0%, rgba(45, 212, 191, 0.16), transparent 30%);
  color: #ffffff;
  padding: 18px;
  text-decoration: none;
  box-shadow: var(--soft-shadow);
}

.category-jump-grid a::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 58%, rgba(214, 31, 60, 0.18) 58% 60%, transparent 60%),
    radial-gradient(circle, rgba(255, 255, 255, 0.28) 1px, transparent 1.5px);
  background-size: 100% 100%, 28px 28px;
  opacity: 0.36;
}

.category-jump-grid a:hover,
.public-store .store-card:hover,
.public-store .hosting-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.42);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
}

.category-jump-grid span,
.category-jump-grid strong,
.category-jump-grid p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.category-jump-grid span {
  color: #67e8f9;
  font-weight: 950;
  font-size: 0.76rem;
}

.category-jump-grid strong {
  font-size: 1.12rem;
}

.category-jump-grid p {
  color: #b8c5d6;
  line-height: 1.5;
  font-size: 0.92rem;
}

.home-featured-section {
  padding-top: 18px;
}

.homepage-roadmap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
}

.homepage-roadmap > div:first-child {
  display: grid;
  gap: 10px;
}

.homepage-roadmap h2,
.homepage-roadmap p {
  margin: 0;
}

.homepage-roadmap p {
  color: var(--muted);
  line-height: 1.65;
}

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

.roadmap-list article {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 14px;
}

.roadmap-list span {
  color: #67e8f9;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.roadmap-list strong {
  color: #f8fafc;
  line-height: 1.45;
}

.public-store .store-card-media {
  background-color: #111827;
}

.public-store .store-card-media::after,
.public-store .hosting-media::after {
  background:
    linear-gradient(180deg, transparent 42%, rgba(7, 17, 31, 0.86)),
    linear-gradient(120deg, transparent 0 67%, rgba(214, 31, 60, 0.18) 67% 69%, transparent 69%),
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.16), transparent 22%);
}

.public-store .store-card-media span,
.public-store .badge,
.public-store .tag-row span {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #e0f2fe;
}

.public-store input,
.public-store select,
.public-store textarea {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(7, 17, 31, 0.78);
  color: #f8fafc;
}

.public-store input::placeholder,
.public-store textarea::placeholder {
  color: #7c8da3;
}

.category-strip span,
.proof-grid p,
.checkout-message {
  color: var(--muted);
}

.search-results-panel {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  padding: 12px;
}

.search-results-panel span {
  color: var(--muted);
}

.search-quick-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.search-quick-links a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 850;
  padding: 8px 10px;
  text-decoration: none;
}

.store-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.public-search {
  min-width: min(380px, 100%);
}

.store-controls select {
  width: 190px;
}

.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}

.category-tabs button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  padding: 0 12px;
  cursor: pointer;
}

.category-tabs button.active {
  border-color: var(--accent);
  background: var(--ink);
  color: #ffffff;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
  gap: 16px;
}

.grouped-store-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.category-product-group {
  display: grid;
  gap: 12px;
}

.category-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.category-group-heading h3 {
  margin: 0;
  font-size: 1.25rem;
}

.category-group-heading span {
  color: var(--muted);
  font-weight: 800;
}

.category-grid {
  margin-bottom: 18px;
}

.account-dashboard {
  display: grid;
  gap: 18px;
}

.account-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.account-tabs button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 850;
  padding: 0 13px;
  cursor: pointer;
}

.account-tabs button.active {
  border-color: var(--accent);
  background: var(--ink);
  color: #ffffff;
}

.account-panel {
  display: none;
}

.account-panel.active-account-panel {
  display: block;
}

.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px;
}

.account-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 16px;
}

.account-card span,
.account-card small,
.wallet-balance + .hint {
  color: var(--muted);
}

.account-card strong {
  font-size: 1.06rem;
  overflow-wrap: anywhere;
}

.discord-profile-card {
  gap: 6px;
}

.discord-profile-line {
  display: flex;
  align-items: center;
  gap: 9px;
}

.discord-profile-line img {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  object-fit: cover;
}

.discord-profile-line div {
  min-width: 0;
}

.discord-profile-line strong {
  display: block;
  font-size: 0.96rem;
}

.discord-profile-line small {
  display: block;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.wallet-balance {
  margin: 0;
  font-size: 2rem;
  font-weight: 950;
  color: var(--ink);
}

.gift-card-balance-result {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  padding: 12px;
}

.gift-card-balance-result[hidden] {
  display: none;
}

.gift-card-balance-result span,
.gift-card-balance-result small {
  color: var(--muted);
}

.account-card-body p {
  min-height: 0;
}

.store-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.store-card:hover {
  transform: translateY(-3px);
  border-color: rgba(24, 182, 167, 0.42);
  box-shadow: 0 18px 42px rgba(29, 43, 46, 0.12);
}

.store-card-media {
  min-height: 0;
  aspect-ratio: 16 / 9;
  position: relative;
  background:
    linear-gradient(135deg, rgba(24, 182, 167, 0.62), rgba(19, 33, 35, 0.2)),
    url("/assets/storefront-banner.png") center / cover;
  background-position: center;
  background-size: cover;
}

.store-card-media::after,
.hosting-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 44%, rgba(5, 13, 15, 0.72)),
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.16), transparent 22%);
  pointer-events: none;
}

.product-image-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.product-image-button:hover {
  filter: brightness(1.06);
}

.hosting-intro {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.hosting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 16px;
  margin-top: 18px;
}

.hosting-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.hosting-card:hover {
  transform: translateY(-3px);
  border-color: rgba(24, 182, 167, 0.42);
  box-shadow: 0 18px 42px rgba(29, 43, 46, 0.12);
}

.hosting-cart {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.hosting-cart-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 16px;
}

#hostingCartFiveMFields {
  display: grid;
  gap: 14px;
}

#hostingCartFiveMFields[hidden],
.hosting-cart[hidden] {
  display: none;
}

.hosting-media {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.24), transparent 18%),
    linear-gradient(135deg, rgba(9, 17, 18, 0.16), rgba(24, 182, 167, 0.42)),
    url("/assets/storefront-banner.png") center / cover;
}

.hosting_recruit_499 .hosting-media {
  background:
    radial-gradient(circle at 74% 20%, rgba(255, 255, 255, 0.24), transparent 18%),
    linear-gradient(135deg, rgba(6, 18, 24, 0.18), rgba(24, 182, 167, 0.46)),
    url("/assets/storefront-banner.png") center / cover;
}

.hosting_patrol_999 .hosting-media {
  background:
    radial-gradient(circle at 76% 22%, rgba(255, 255, 255, 0.22), transparent 18%),
    linear-gradient(135deg, rgba(13, 24, 36, 0.2), rgba(59, 130, 246, 0.42)),
    url("/assets/storefront-banner.png") center / cover;
}

.hosting_pursuit_1499 .hosting-media {
  background:
    radial-gradient(circle at 76% 22%, rgba(255, 255, 255, 0.22), transparent 18%),
    linear-gradient(135deg, rgba(20, 28, 18, 0.2), rgba(34, 197, 94, 0.4)),
    url("/assets/storefront-banner.png") center / cover;
}

.hosting_command_2499 .hosting-media {
  background:
    radial-gradient(circle at 76% 22%, rgba(255, 255, 255, 0.22), transparent 18%),
    linear-gradient(135deg, rgba(30, 19, 11, 0.2), rgba(215, 155, 53, 0.44)),
    url("/assets/storefront-banner.png") center / cover;
}

.hosting_tactical_3999 .hosting-media {
  background:
    radial-gradient(circle at 76% 22%, rgba(255, 255, 255, 0.22), transparent 18%),
    linear-gradient(135deg, rgba(23, 15, 35, 0.22), rgba(168, 85, 247, 0.42)),
    url("/assets/storefront-banner.png") center / cover;
}

.hosting_elite_5999 .hosting-media {
  background:
    radial-gradient(circle at 76% 22%, rgba(255, 255, 255, 0.22), transparent 18%),
    linear-gradient(135deg, rgba(29, 12, 18, 0.22), rgba(225, 29, 72, 0.42)),
    url("/assets/storefront-banner.png") center / cover;
}

.hosting_sovereign_8000 .hosting-media {
  background:
    radial-gradient(circle at 76% 22%, rgba(255, 255, 255, 0.24), transparent 18%),
    linear-gradient(135deg, rgba(8, 12, 22, 0.22), rgba(248, 250, 252, 0.28)),
    url("/assets/storefront-banner.png") center / cover;
}

.hosting-media span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 999px;
  background: rgba(9, 17, 18, 0.76);
  color: #ffffff;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
  z-index: 1;
}

.hosting-body {
  display: grid;
  gap: 13px;
  padding: 18px;
}

.hosting-body p,
.hosting-body li {
  color: var(--muted);
  line-height: 1.5;
}

.hosting-body ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.hosting-body strong {
  font-size: 1.35rem;
}

.billing-select {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.billing-select select,
.hosting-cart select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 0 10px;
}

.billing-select input,
.hosting-cart input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 0 10px;
}

.hosting-toggle {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0 10px;
}

.hosting-body .primary-link,
.hosting-body .primary-button {
  width: 100%;
  min-height: 44px;
  justify-content: center;
}

.store-card-media span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 999px;
  background: rgba(9, 17, 18, 0.76);
  color: #ffffff;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
  z-index: 1;
}

.store-card-body {
  display: grid;
  gap: 14px;
  padding: 18px;
  min-height: 300px;
}

.store-card-body p {
  min-height: 66px;
  color: var(--muted);
  line-height: 1.55;
}

.buy-button {
  width: 100%;
}

.gift-card-store-section {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 112px;
}

.gift-card-product .store-card-media {
  background:
    linear-gradient(135deg, rgba(215, 155, 53, 0.52), rgba(24, 182, 167, 0.36)),
    url("/assets/stars-stripes-logo.png") center / contain no-repeat,
    #102023;
}

.store-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 28px 34px calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #101d20;
  color: #ffffff;
}

.store-footer div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
}

.store-footer img {
  grid-row: span 2;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.store-footer span,
.store-footer p {
  color: #b7c7ca;
}

.store-footer nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.store-footer a {
  color: #ffffff;
  font-weight: 850;
  text-decoration: none;
}

.store-footer p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
}

.mobile-cart-fab {
  display: none;
}

.empty-state {
  border: 1px dashed rgba(100, 113, 115, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  padding: 22px;
  text-align: center;
}

.customer-chat-launcher {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(24, 182, 167, 0.45);
  background: #07111f;
  color: #f8fafc;
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: 0 14px 40px rgba(2, 8, 23, 0.28);
  font-weight: 850;
}

.customer-chat-launcher .status-dot.offline {
  background: #f59e0b;
}

.customer-chat-widget {
  position: fixed;
  right: 18px;
  bottom: 142px;
  z-index: 46;
  width: min(390px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 170px));
  display: grid;
  grid-template-rows: auto minmax(88px, 1fr) auto auto;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(2, 8, 23, 0.28);
}

.customer-chat-widget[hidden] {
  display: none !important;
}

.customer-chat-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #07111f;
  color: #f8fafc;
}

.customer-chat-header small {
  display: block;
  color: #b9c7d6;
}

.customer-chat-feed {
  overflow: auto;
  padding: 14px;
  background: #f8fafc;
  min-height: 88px;
}

.customer-chat-note,
.customer-chat-message {
  display: grid;
  gap: 5px;
  max-width: 86%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.customer-chat-message.from-customer {
  margin-left: auto;
  background: #e6fffb;
  border-color: rgba(24, 182, 167, 0.32);
}

.customer-chat-message p,
.customer-chat-note span {
  margin: 0;
  color: var(--muted);
}

.customer-chat-message small {
  color: var(--muted);
  font-size: 11px;
}

.customer-chat-form,
.customer-chat-coupon {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.customer-chat-form .primary-button {
  width: 100%;
  min-height: 46px;
}

.customer-chat-coupon div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.customer-chat-coupon span {
  color: var(--muted);
  font-size: 13px;
}

.coupon-line {
  font-size: 0.82rem;
}

.package-changelog,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  padding: 10px 12px;
}

.package-changelog summary,
.faq-list summary {
  cursor: pointer;
  font-weight: 850;
}

.package-changelog p,
.faq-list p {
  margin: 8px 0 0;
  min-height: 0;
}

.ticket-row {
  align-items: flex-start;
}

.ticket-thread {
  margin-top: 10px;
}

.ticket-thread summary {
  cursor: pointer;
  font-weight: 850;
}

.ticket-thread p {
  margin: 8px 0;
}

.ticket-reply {
  border-left: 3px solid rgba(24, 182, 167, 0.45);
  margin: 12px 0;
  padding-left: 12px;
}

.ticket-reply-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.featured-section {
  padding-bottom: 12px;
}

.featured-section .store-grid + .store-grid {
  margin-top: 16px;
}

.search-results-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  margin-bottom: 14px;
  padding: 12px;
  color: var(--muted);
  font-weight: 750;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.support-band {
  align-items: flex-start;
  border-top: 1px solid var(--line);
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  padding-top: 22px;
}

.proof-grid article {
  border-radius: 8px;
}

.about-section,
.partners-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.55fr);
  gap: 24px;
  align-items: center;
}

.about-section p,
.partners-section p,
.docs-section p {
  color: var(--muted);
  line-height: 1.65;
}

.about-section img {
  width: min(280px, 100%);
  justify-self: center;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.18));
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 16px;
}

.doc-grid article,
.partner-list span,
.partner-list a,
.legal-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(29, 43, 46, 0.06);
}

.doc-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.legal-section {
  display: grid;
  gap: 16px;
}

.legal-section h2 {
  margin: 0;
}

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

.legal-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.legal-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.partner-list span,
.partner-list a {
  display: grid;
  gap: 5px;
  padding: 16px;
  font-weight: 850;
  color: var(--ink);
  text-decoration: none;
}

.partner-list small {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.45;
}

.partner-list a span {
  color: var(--accent-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.checkout-message {
  min-height: 22px;
  margin-bottom: 14px;
  font-weight: 750;
}

.status-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.status-grid[hidden] {
  display: none;
}

.testimonial-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(29, 43, 46, 0.06);
  padding: 18px;
}

.status-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(24, 182, 167, 0.42);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(5, 12, 24, 0.98), rgba(7, 30, 43, 0.94) 52%, rgba(83, 16, 28, 0.88)),
    url("/assets/storefront-banner.png");
  background-size: cover;
  background-position: center;
  color: #f8fafc;
  padding: clamp(22px, 4vw, 38px);
  box-shadow: 0 30px 90px rgba(2, 8, 23, 0.24);
  margin-bottom: 16px;
}

.status-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.status-hero > * {
  position: relative;
}

.status-hero h3 {
  margin: 8px 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.status-hero p,
.status-hero small {
  color: rgba(248, 250, 252, 0.78);
}

.status-hero-copy {
  max-width: 780px;
}

.status-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.status-hero-actions a {
  border: 1px solid rgba(248, 250, 252, 0.22);
  border-radius: 999px;
  color: #f8fafc;
  padding: 8px 11px;
  font-size: 0.82rem;
  font-weight: 850;
}

.status-pill,
.status-card-top span {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-hero .status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(134, 239, 172, 0.32);
  background: rgba(34, 197, 94, 0.16);
  color: #86efac;
}

.status-hero .status-pill i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(134, 239, 172, 0.14);
}

.status-hero.degraded .status-pill,
.status-hero.warning .status-pill,
.status-card.degraded .status-card-top span,
.status-card.warning .status-card-top span,
.status-incident.degraded span {
  background: rgba(215, 155, 53, 0.16);
  color: #9a5f00;
}

.status-card.offline .status-card-top span,
.status-card.failed .status-card-top span,
.status-card.outage .status-card-top span,
.status-incident.outage span,
.status-incident.failed span {
  background: rgba(196, 86, 104, 0.16);
  color: #a02f45;
}

.status-hero.degraded .status-pill,
.status-hero.warning .status-pill {
  color: #fde68a;
}

.status-meter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12px, 1fr));
  gap: 6px;
  align-self: stretch;
  min-height: 86px;
}

.status-meter span {
  border-radius: 6px;
  background: linear-gradient(180deg, #22c55e, #18b6a7);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.28);
}

.status-command-panel {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  background: rgba(2, 8, 23, 0.62);
  padding: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.status-command-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-command-top img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 5px;
}

.status-command-top strong,
.status-command-counts b {
  color: #ffffff;
}

.status-command-top small {
  display: block;
}

.status-command-counts,
.status-command-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.status-command-counts span,
.status-command-footer span {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 250, 252, 0.78);
  padding: 9px;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-command-counts b {
  display: block;
  font-size: 1.35rem;
}

.status-command-footer span {
  text-align: center;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.status-meter span.degraded,
.status-meter span.warning {
  background: linear-gradient(180deg, #f59e0b, #d79b35);
}

.status-meter span.outage,
.status-meter span.offline,
.status-meter span.failed {
  background: linear-gradient(180deg, #ef4444, #b91c1c);
}

.status-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.status-summary article {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  padding: 15px 16px;
  box-shadow: 0 12px 26px rgba(29, 43, 46, 0.06);
}

.status-summary span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.status-summary strong {
  font-size: 1.35rem;
}

.status-summary .online strong {
  color: #15803d;
}

.status-summary .degraded strong {
  color: #9a5f00;
}

.status-summary .outage strong {
  color: #a02f45;
}

.status-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.status-metrics article {
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
  padding: 15px;
  box-shadow: 0 12px 28px rgba(29, 43, 46, 0.05);
}

.status-metrics strong {
  display: block;
  font-size: 1.5rem;
  color: var(--ink);
}

.status-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.83rem;
}

.status-metrics small {
  display: block;
  margin-top: 4px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 850;
}

.status-groups {
  display: grid;
  gap: 16px;
}

.status-group {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.82));
  padding: 18px;
  box-shadow: 0 18px 44px rgba(29, 43, 46, 0.06);
}

.status-group-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.status-group-heading h3,
.status-group-heading p {
  margin: 0;
}

.status-group-heading p {
  color: var(--muted);
  font-size: 0.86rem;
}

.status-group-heading > span {
  border: 1px solid rgba(24, 182, 167, 0.28);
  border-radius: 999px;
  background: rgba(24, 182, 167, 0.08);
  color: var(--accent-dark);
  padding: 6px 9px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(29, 43, 46, 0.06);
  padding: 18px;
}

.status-card-body {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
}

.status-card-body b {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: rgba(24, 182, 167, 0.1);
  color: var(--accent-dark);
  font-size: 0.84rem;
}

.status-card.online {
  border-color: rgba(34, 197, 94, 0.22);
}

.status-card.degraded,
.status-card.warning {
  border-color: rgba(215, 155, 53, 0.34);
}

.status-card.outage,
.status-card.offline,
.status-card.failed {
  border-color: rgba(196, 86, 104, 0.34);
}

.status-card-top,
.status-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.status-card-top span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-card-top span i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.status-card-top small,
.status-card-meta small {
  color: var(--muted);
}

.status-card p,
.testimonial-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.status-health-line {
  overflow: hidden;
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
}

.status-health-line span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #18b6a7);
}

.status-card.degraded .status-health-line span,
.status-card.warning .status-health-line span {
  width: 66%;
  background: linear-gradient(90deg, #f59e0b, #d79b35);
}

.status-card.outage .status-health-line span,
.status-card.offline .status-health-line span,
.status-card.failed .status-health-line span {
  width: 34%;
  background: linear-gradient(90deg, #ef4444, #b91c1c);
}

.status-components {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.status-components span,
.status-monitor-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 9px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.status-components span {
  border-radius: 999px;
}

.status-monitor-list span strong {
  display: block;
  color: var(--ink);
  font-size: 0.82rem;
}

.status-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: 16px;
  margin-top: 16px;
}

.status-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  padding: 18px;
  box-shadow: 0 18px 44px rgba(29, 43, 46, 0.06);
}

.status-incident-list,
.status-monitor-list {
  display: grid;
  gap: 10px;
}

.status-incident {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: #ffffff;
}

.status-incident div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.status-incident span {
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.status-incident p {
  margin: 0;
  color: var(--muted);
}

.statuspage-shell {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.statuspage-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.statuspage-brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.statuspage-brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.statuspage-brand h2,
.statuspage-brand p {
  margin: 0;
}

.statuspage-brand span {
  display: block;
  max-width: 640px;
  color: var(--muted);
}

.statuspage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.statuspage-shell .status-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  background: linear-gradient(135deg, #f0fdf4, #ecfeff);
  color: var(--ink);
  padding: 22px;
  box-shadow: none;
  margin: 0;
}

.statuspage-shell .status-hero::before {
  display: none;
}

.statuspage-shell .status-hero h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.statuspage-shell .status-hero p,
.statuspage-shell .status-hero small {
  color: var(--muted);
}

.statuspage-shell .status-hero.degraded,
.statuspage-shell .status-hero.warning {
  border-color: rgba(245, 158, 11, 0.34);
  background: linear-gradient(135deg, #fffbeb, #fff7ed);
}

.statuspage-shell .status-hero.outage,
.statuspage-shell .status-hero.offline,
.statuspage-shell .status-hero.failed {
  border-color: rgba(239, 68, 68, 0.34);
  background: linear-gradient(135deg, #fff1f2, #fef2f2);
}

.statuspage-shell .status-meter {
  align-self: center;
  min-height: 0;
  height: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10px, 1fr));
  gap: 5px;
  align-items: stretch;
  border: 1px solid rgba(21, 128, 61, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 4px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.statuspage-shell .status-meter span {
  min-width: 8px;
  border-radius: 999px;
  box-shadow: none;
}

.statuspage-shell .status-hero.degraded .status-meter,
.statuspage-shell .status-hero.warning .status-meter {
  border-color: rgba(154, 95, 0, 0.18);
}

.statuspage-shell .status-hero.outage .status-meter,
.statuspage-shell .status-hero.offline .status-meter,
.statuspage-shell .status-hero.failed .status-meter {
  border-color: rgba(160, 47, 69, 0.18);
}

.statuspage-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(29, 43, 46, 0.05);
}

.statuspage-card-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
}

.statuspage-card-heading h3 {
  margin: 0;
}

.statuspage-card-heading span {
  color: var(--muted);
  font-size: 0.84rem;
}

.statuspage-shell .status-groups {
  gap: 0;
}

.statuspage-shell .status-group {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
  padding: 0;
}

.statuspage-shell .status-group + .status-group {
  border-top: 1px solid var(--line);
}

.statuspage-shell .status-group-heading {
  align-items: center;
  margin: 0;
  padding: 15px 18px;
}

.statuspage-shell .status-group-heading > span {
  border: 0;
  background: transparent;
  color: #15803d;
  padding: 0;
}

.status-component-list {
  border-top: 1px solid var(--line);
}

.status-component-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px 18px;
}

.status-component-row + .status-component-row {
  border-top: 1px solid var(--line);
}

.status-component-row strong,
.status-component-row small {
  display: block;
}

.status-component-row small {
  margin-top: 3px;
  color: var(--muted);
}

.status-component-row > span,
.statuspage-legend span {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: #15803d;
  font-size: 0.84rem;
  font-weight: 850;
  white-space: nowrap;
}

.status-component-row i,
.statuspage-legend i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.status-component-row.degraded > span,
.status-component-row.warning > span,
.statuspage-legend .degraded {
  color: #9a5f00;
}

.status-component-row.outage > span,
.status-component-row.offline > span,
.status-component-row.failed > span,
.statuspage-legend .outage {
  color: #a02f45;
}

.statuspage-legend .maintenance {
  color: #64748b;
}

.statuspage-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  padding: 16px 18px;
}

.statuspage-shell .status-incident-list,
.status-history {
  padding: 0 18px;
}

.statuspage-shell .status-incident-list {
  padding-top: 16px;
}

.status-history {
  padding-bottom: 18px;
}

.status-history-day {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.status-history-day h4 {
  margin: 0 0 8px;
}

.status-history-day p {
  margin: 0;
  color: var(--muted);
}

.site-update-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(29, 43, 46, 0.06);
  padding: 18px;
}

.site-update-card > div {
  display: grid;
  gap: 5px;
}

.site-update-card span,
.site-update-card em {
  width: fit-content;
  border-radius: 999px;
  background: rgba(24, 182, 167, 0.12);
  color: var(--accent-dark);
  padding: 4px 8px;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.site-update-card strong {
  font-size: 1.25rem;
}

.site-update-card small,
.site-update-card p,
.site-update-card li {
  color: var(--muted);
  line-height: 1.55;
}

.site-update-card p {
  margin: 0;
}

.site-update-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.updates-subheading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 4px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.updates-subheading strong {
  font-size: 1.1rem;
}

.updates-subheading span {
  color: var(--muted);
  font-size: 0.9rem;
}

.ticket-staff-tools {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(140px, 0.4fr) minmax(190px, 0.7fr) minmax(240px, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 10px;
}

.checkout-summary-panel {
  width: min(820px, calc(100vw - 28px));
  grid-template-columns: 1fr;
}

.checkout-summary-list {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.product-page .store-nav {
  position: sticky;
}

.product-hero-page {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: center;
  padding: 54px 34px;
  background: #0f2023;
  color: #ffffff;
}

.product-page-media,
.demo-preview {
  min-height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
}

.product-page-copy {
  display: grid;
  gap: 18px;
}

.product-page-copy h1 {
  color: #ffffff;
  font-size: clamp(2.4rem, 6vw, 5.6rem);
}

.product-page-copy p {
  color: #d7e3e5;
  font-size: 1.08rem;
  line-height: 1.7;
}

.product-page-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-page-actions strong {
  font-size: 2rem;
}

.product-page-section {
  max-width: none;
}

.product-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 16px;
}

.demo-preview {
  position: relative;
  display: grid;
  min-height: 250px;
  place-items: end start;
  overflow: hidden;
}

.demo-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 17, 18, 0.76), rgba(9, 17, 18, 0.08));
}

.demo-preview span {
  position: relative;
  z-index: 1;
  margin: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 8px 12px;
  font-weight: 900;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.not-found-panel {
  display: grid;
  gap: 14px;
  max-width: 520px;
  padding: 28px;
  text-align: center;
}

.license-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(24, 182, 167, 0.12), rgba(215, 155, 53, 0.08)),
    var(--bg);
}

.license-panel {
  display: grid;
  gap: 16px;
  width: min(720px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 26px;
}

.success-logo {
  width: 150px;
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.22));
}

.license-panel h1 {
  font-size: 2.6rem;
}

.license-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  padding: 16px;
}

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

.license-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.license-card strong {
  overflow-wrap: anywhere;
}

.bind-form,
.license-actions {
  display: grid;
  gap: 12px;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
  gap: 22px;
  width: min(1080px, 100%);
  align-items: center;
}

.auth-brand {
  display: grid;
  gap: 14px;
}

.auth-brand .success-logo {
  justify-self: start;
}

.auth-brand h1 {
  font-size: 3.4rem;
}

.auth-panel,
.auth-form {
  display: grid;
  gap: 14px;
}

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

.auth-tabs {
  width: 100%;
}

.auth-tabs button {
  flex: 1;
}

.oauth-grid {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.auth-switch {
  margin: 0;
  color: var(--muted);
}

.auth-switch a {
  color: var(--accent-dark);
  font-weight: 850;
}

.preview-window {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 8px;
  background: #0d1819;
  box-shadow: var(--shadow);
}

.preview-window img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 15, 17, 0.83), rgba(8, 15, 17, 0.18) 70%);
}

.preview-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 520px;
  min-height: 520px;
  padding: 34px;
  color: #ffffff;
}

.preview-overlay span {
  color: #a8f4ec;
  font-weight: 850;
}

.preview-overlay h3 {
  margin: 10px 0 22px;
  font-size: 3.8rem;
  line-height: 0.95;
}

.preview-overlay button,
.preview-overlay a {
  width: fit-content;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: #0d1819;
  padding: 0 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.storefront-layout {
  display: grid;
  gap: 16px;
}

.editor-panel,
.settings-panel {
  align-self: start;
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

input,
select,
textarea {
  min-height: 42px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 12px;
}

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

input[type="color"] {
  padding: 4px;
}

input[type="range"] {
  padding: 0;
}

.toggle-line {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.toggle-line input {
  width: 42px;
  min-height: 24px;
  accent-color: var(--accent);
}

dialog {
  width: min(460px, calc(100vw - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(13, 24, 25, 0.55);
}

.dialog-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
}

menu {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.dark-store {
  --accent: #d79b35;
}

.dark-store::after {
  background: linear-gradient(90deg, rgba(8, 15, 17, 0.9), rgba(215, 155, 53, 0.18) 72%);
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr;
  }

  .nav-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .nav-section-label {
    grid-column: 1 / -1;
    margin-top: 8px;
  }

  .nav-item {
    justify-content: center;
    padding: 0 8px;
  }

  .server-card {
    display: none;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .overview-grid,
  .automation-grid,
  .storefront-layout,
  .settings-grid,
  .upload-layout,
  .radio-admin-layout {
    grid-template-columns: 1fr;
  }

  .store-grid,
  .category-strip,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

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

  .homepage-roadmap {
    grid-template-columns: 1fr;
  }

  .category-strip {
    margin-top: 18px;
  }

  .category-strip button,
  .category-strip button:first-child,
  .category-strip button:last-child {
    border-radius: 8px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .preview-overlay h3 {
    font-size: 3rem;
  }
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .main,
  .sidebar {
    padding: 16px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .topbar,
  .section-heading,
  .panel-title {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar-actions,
  .search,
  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .nav-list {
    grid-template-columns: 1fr 1fr;
  }

  .nav-section-label {
    grid-column: 1 / -1;
  }

  .metric-grid,
  .package-board,
  .store-grid,
  .category-strip,
  .store-stats,
  .proof-grid,
  .product-hero-page,
  .product-page-grid,
  .ticket-staff-tools,
  .homepage-callouts,
  .hosting-grid,
  .hosting-cart-layout,
  .product-modal-panel,
  .product-modal-meta,
  .product-detail-grid,
  .doc-grid,
  .account-summary-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .product-modal {
    padding: 12px;
  }

  .product-modal-image {
    min-height: 260px;
  }

  .order-row {
    grid-template-columns: 1fr;
  }

  .license-row,
  .radio-track-row,
  .radio-admin-stats,
  .partner-admin-card,
  .license-card,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .radio-admin-now,
  .radio-admin-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .radio-admin-now .primary-button,
  .radio-admin-actions .ghost-link {
    width: 100%;
  }

  .badge {
    justify-self: start;
  }

  .preview-window,
  .preview-overlay {
    min-height: 440px;
  }

  .preview-overlay {
    padding: 22px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .preview-overlay h3 {
    font-size: 2.2rem;
  }

  .store-nav,
  .support-band,
  .about-section,
  .partners-section {
    align-items: stretch;
    flex-direction: column;
  }

  .store-nav {
    gap: 10px;
    min-height: auto;
    padding: 10px 14px;
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }

  .store-brand {
    min-width: 0;
  }

  .store-brand .brand-logo {
    width: 44px;
    height: 44px;
  }

  .store-brand div {
    min-width: 0;
  }

  .store-brand strong,
  .store-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .store-brand span {
    display: none;
  }

  .store-nav nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    overflow: visible;
    padding: 0;
    margin: 0;
  }

  .store-nav nav a,
  .store-nav .nav-text-button,
  .nav-dropdown summary,
  .cart-nav-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 0 12px;
    white-space: nowrap;
  }

  .nav-dropdown {
    min-width: 0;
  }

  .nav-dropdown div {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
    box-shadow: 0 10px 24px rgba(29, 43, 46, 0.12);
  }

  .nav-dropdown[open] {
    grid-column: 1 / -1;
  }

  .nav-dropdown[open] summary {
    width: 100%;
  }

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

  .radio-player {
    padding: 16px;
  }

  .radio-player img {
    width: 76px;
    height: 76px;
  }

  .about-section,
  .partners-section,
  .status-hero,
  .status-columns {
    grid-template-columns: 1fr;
  }

  .status-meter {
    min-height: 46px;
  }

  .status-command-panel {
    padding: 12px;
  }

  .status-command-counts,
  .status-command-footer {
    grid-template-columns: 1fr;
  }

  .statuspage-header,
  .statuspage-actions,
  .statuspage-shell .status-hero,
  .status-component-row,
  .statuspage-card-heading {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .statuspage-header,
  .statuspage-card-heading {
    flex-direction: column;
  }

  .statuspage-brand {
    align-items: flex-start;
  }

  .statuspage-brand img {
    width: 56px;
    height: 56px;
  }

  .status-component-row > span {
    justify-self: start;
  }

  .status-group {
    padding: 12px;
  }

  .status-group-heading {
    flex-direction: column;
  }

  .store-hero,
  .store-hero-content {
    min-height: 500px;
  }

  .product-hero-page {
    padding: 28px 16px;
  }

  .product-page-media {
    min-height: 260px;
  }

  .product-page-actions,
  .product-page-actions .primary-button,
  .product-page-actions .ghost-link {
    width: 100%;
  }

  .store-hero-content {
    grid-template-columns: 1fr;
    padding: 32px 16px;
  }

  .hero-command-panel {
    margin-top: 8px;
  }

  .hero-logo {
    width: min(170px, 48vw);
  }

  .store-hero-content p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions,
  .hero-actions a,
  .store-controls,
  .store-controls select,
  .public-search,
  .category-tabs,
  .account-tabs {
    width: 100%;
  }

  .hero-actions a {
    min-height: 46px;
  }

  .store-section {
    padding: 30px 16px;
    scroll-margin-top: 112px;
  }

  .category-strip,
  .store-stats {
    margin-top: 12px;
    padding: 0 16px;
  }

  .store-controls {
    align-items: stretch;
    justify-content: stretch;
  }

  .category-jump-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 22px 16px 12px;
  }

  .category-jump-grid a {
    min-height: 154px;
    padding: 14px;
  }

  .homepage-roadmap {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .roadmap-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .home-featured-section {
    padding-top: 24px;
  }

  .category-tabs,
  .account-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .category-tabs::-webkit-scrollbar,
  .account-tabs::-webkit-scrollbar {
    display: none;
  }

  .category-tabs button,
  .account-tabs button {
    flex: 0 0 auto;
    min-height: 44px;
  }

  .store-card:hover {
    transform: none;
  }

  .store-card-media,
  .hosting-media {
    min-height: 132px;
  }

  .store-card-body,
  .hosting-body,
  .panel,
  .cart-panel {
    padding: 16px;
  }

  .store-card-body p {
    min-height: 0;
  }

  .store-card-body .primary-button,
  .hosting-body .primary-button,
  .hosting-body .primary-link,
  .buy-button,
  .cart-panel .primary-button {
    min-height: 48px;
  }

  .cart-drawer {
    align-items: stretch;
  }

  .mobile-cart-fab {
    position: fixed;
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-weight: 900;
    padding: 0 16px;
    box-shadow: 0 16px 34px rgba(11, 127, 118, 0.34);
  }

  .mobile-cart-fab span {
    min-width: 22px;
    min-height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
  }

  .customer-chat-launcher {
    right: 16px;
    bottom: 84px;
    min-height: 46px;
  }

  .customer-chat-widget {
    inset: auto 10px calc(72px + env(safe-area-inset-bottom)) 10px;
    width: auto;
    max-height: calc(100dvh - 96px);
    grid-template-rows: auto minmax(72px, 1fr) auto auto;
  }

  .customer-chat-feed {
    min-height: 72px;
    padding: 10px;
  }

  .customer-chat-form,
  .customer-chat-coupon {
    padding: 10px;
  }

  .customer-chat-coupon div,
  .customer-chat-form .form-grid {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    width: 100%;
    border-left: 0;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }

  .cart-item {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .cart-item button {
    min-height: 40px;
  }

  .staff-chat-panel {
    grid-template-rows: minmax(300px, 50vh) auto;
  }

  .staff-chat-message {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .chat-avatar {
    width: 34px;
    height: 34px;
  }

  .chat-upload-row,
  .chat-upload-row .primary-button {
    width: 100%;
  }

  .chat-attachments {
    grid-template-columns: 1fr;
  }

  .promo-popup {
    align-items: end;
    padding: 14px;
  }

  .promo-card {
    padding: 18px;
  }

  .coupon-line input,
  .promo-card input,
  .billing-select select,
  .hosting-cart select,
  .billing-select input,
  .hosting-cart input {
    min-height: 46px;
  }

  .store-footer {
    grid-template-columns: 1fr;
    padding: 24px 16px 86px;
  }

  .store-footer nav {
    justify-content: flex-start;
  }
}
