:root {
  --bg: #0f172a;
  --bg-elevated: #162033;
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --surface-subtle: #eef2f7;
  --surface-dark: #111827;
  --text: #0f172a;
  --text-soft: #334155;
  --text-muted: #64748b;
  --text-on-dark: #f8fafc;
  --border: #dbe3ef;
  --border-strong: #c6d3e1;
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --accent-strong: #1d4ed8;
  --success: #15803d;
  --success-soft: #dcfce7;
  --warning: #b45309;
  --warning-soft: #ffedd5;
  --danger: #b91c1c;
  --danger-soft: #fee2e2;
  --info: #1d4ed8;
  --info-soft: #dbeafe;
  --shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.06);
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --max-width: 1360px;
  --transition: 180ms ease;
  --site-header-position: sticky;
  --site-header-top: 0px;
  --body-background: #000000;
  --header-background: rgba(248, 250, 252, 0.82);
  --footer-background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(241, 245, 249, 0.88));
  --panel-background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.9));
  --hero-background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(244, 248, 252, 0.94)),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 42%);
  --selection-background: rgba(37, 99, 235, 0.18);
}

html[data-theme="dark"],
html.theme-dark,
body[data-theme="dark"],
body.theme-dark {
  color-scheme: dark;
  --bg: #020817;
  --bg-elevated: #0f172a;
  --surface: #0f172a;
  --surface-muted: #111c30;
  --surface-subtle: #172337;
  --surface-dark: #020817;
  --text: #e5eefc;
  --text-soft: #cbd5e1;
  --text-muted: #8fa1bb;
  --text-on-dark: #f8fafc;
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.28);
  --accent: #60a5fa;
  --accent-soft: rgba(96, 165, 250, 0.16);
  --accent-strong: #93c5fd;
  --success: #4ade80;
  --success-soft: rgba(34, 197, 94, 0.16);
  --warning: #fb923c;
  --warning-soft: rgba(249, 115, 22, 0.16);
  --danger: #f87171;
  --danger-soft: rgba(239, 68, 68, 0.16);
  --info: #60a5fa;
  --info-soft: rgba(59, 130, 246, 0.16);
  --shadow-sm: 0 10px 24px rgba(2, 8, 23, 0.28);
  --shadow: 0 16px 40px rgba(2, 8, 23, 0.34);
  --shadow-lg: 0 24px 60px rgba(2, 8, 23, 0.44);
  --body-background: #000000;
  --header-background: rgba(2, 6, 23, 0.74);
  --footer-background: linear-gradient(180deg, rgba(2, 6, 23, 0.82), rgba(9, 17, 32, 0.92));
  --panel-background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(12, 20, 35, 0.92));
  --hero-background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(10, 18, 31, 0.94)),
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.18), transparent 42%);
  --selection-background: rgba(96, 165, 250, 0.28);
}

body[data-theme="dark"][data-panel-game="valorant"],
body.theme-dark[data-panel-game="valorant"] {
  --accent: #ff5a7a;
  --accent-soft: rgba(255, 90, 122, 0.14);
  --accent-strong: #ff8aa5;
  --surface: #121723;
  --surface-muted: #171d2b;
  --surface-subtle: #1b2333;
  --surface-dark: #0a0f18;
  --text: #f8fafc;
  --text-soft: #dbe4f0;
  --text-muted: #98a4ba;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(255, 90, 122, 0.22);
  --panel-background: linear-gradient(180deg, rgba(18, 23, 35, 0.96), rgba(13, 18, 29, 0.94));
  --body-background: #000000;
  --hero-background:
    linear-gradient(145deg, rgba(20, 26, 39, 0.98), rgba(12, 17, 28, 0.96)),
    radial-gradient(circle at top right, rgba(255, 90, 122, 0.22), transparent 42%);
}

body[data-theme="dark"][data-panel-game="league"],
body.theme-dark[data-panel-game="league"] {
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.14);
  --accent-strong: #7cc4ff;
  --surface: #0f1828;
  --surface-muted: #132033;
  --surface-subtle: #17263b;
  --surface-dark: #09111d;
  --text: #f8fafc;
  --text-soft: #dbe7fb;
  --text-muted: #96a9c7;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(96, 165, 250, 0.24);
  --panel-background: linear-gradient(180deg, rgba(15, 24, 40, 0.96), rgba(10, 17, 30, 0.94));
  --body-background: #000000;
  --hero-background:
    linear-gradient(145deg, rgba(16, 26, 43, 0.98), rgba(11, 19, 32, 0.96)),
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.2), transparent 42%);
}

body[data-theme="dark"][data-panel-game="mixed"],
body.theme-dark[data-panel-game="mixed"] {
  --accent: #7c3aed;
  --accent-soft: rgba(124, 58, 237, 0.16);
  --accent-strong: #c4b5fd;
  --surface: #121726;
  --surface-muted: #171d30;
  --surface-subtle: #1d2440;
  --surface-dark: #090d18;
  --text: #f8fafc;
  --text-soft: #e1e7f5;
  --text-muted: #97a3ba;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(168, 85, 247, 0.22);
  --panel-background: linear-gradient(180deg, rgba(18, 23, 38, 0.96), rgba(12, 17, 30, 0.94));
  --body-background: #000000;
  --hero-background:
    linear-gradient(145deg, rgba(20, 24, 40, 0.98), rgba(13, 17, 31, 0.96)),
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.22), transparent 42%);
}

body[data-theme="light"][data-panel-game="valorant"],
body.theme-light[data-panel-game="valorant"] {
  --accent: #ff5a7a;
  --accent-soft: rgba(255, 90, 122, 0.12);
  --accent-strong: #ff7f97;
  --body-background: #000000;
  --hero-background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(255, 244, 247, 0.96)),
    radial-gradient(circle at top right, rgba(255, 90, 122, 0.16), transparent 42%);
}

body[data-theme="light"][data-panel-game="league"],
body.theme-light[data-panel-game="league"] {
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --accent-strong: #60a5fa;
  --body-background: #000000;
  --hero-background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(243, 247, 255, 0.95)),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 42%);
}

body[data-theme="light"][data-panel-game="mixed"],
body.theme-light[data-panel-game="mixed"] {
  --accent: #7c3aed;
  --accent-soft: rgba(124, 58, 237, 0.12);
  --accent-strong: #a78bfa;
  --body-background: #000000;
  --hero-background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(246, 244, 255, 0.95)),
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.16), transparent 42%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", system-ui, sans-serif;
  background-color: #000000;
  background: var(--body-background);
  color: var(--text);
  line-height: 1.55;
}

body::selection,
*::selection {
  background: var(--selection-background);
}

body.panel-page {
  padding: 0;
}

main {
  position: relative;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.02rem;
}

a {
  color: inherit;
}

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

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

button,
a,
input,
select,
textarea {
  transition:
    border-color var(--transition),
    background-color var(--transition),
    color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.18);
  outline-offset: 2px;
}

.page-shell {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.page-main,
.side-stack,
.stats-grid,
.filters-grid,
.content-grid,
.worker-grid,
.side-panel-list,
.mobile-orders,
.history-list,
.page-link-grid,
.sidebar-quick-links,
.sidebar-nav {
  display: grid;
  gap: 20px;
}

.site-header {
  position: var(--site-header-position);
  top: var(--site-header-top);
  z-index: 2200;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(219, 227, 239, 0.72);
  background: var(--header-background);
  backdrop-filter: blur(18px);
}

.site-header-login {
  margin-bottom: 0;
}

.site-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 82px;
  padding: 14px 0;
  position: relative;
  z-index: 2201;
  overflow: visible;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-lockup strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.brand-lockup span {
  display: block;
  color: var(--text-muted);
  font-size: 0.83rem;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  justify-content: flex-start;
  overflow-x: auto;
  padding-bottom: 2px;
}

body[data-admin-page] .site-nav {
  justify-content: flex-start;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2202;
  overflow: visible;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.site-nav-dropdown {
  position: relative;
  z-index: 2300;
}

.site-nav-dropdown-menu {
  z-index: 2400;
}

.header-account-shell {
  position: relative;
  z-index: 2147483000;
}

.header-account-trigger {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(10, 14, 22, 0.74);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.header-account-trigger:hover,
.header-account-shell.is-open .header-account-trigger {
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 20px 45px -28px rgba(96, 165, 250, 0.65);
}

.header-account-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.25), rgba(139, 92, 246, 0.22));
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

.header-account-meta {
  display: none;
}

.header-account-meta strong {
  display: block;
  max-width: 140px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.92rem;
}

.header-account-meta span {
  display: block;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-account-caret {
  display: none;
}

.header-account-shell.is-open .header-account-caret {
  transform: rotate(180deg);
}

.header-account-menu {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 280px;
  max-width: min(340px, calc(100vw - 16px));
  padding: 12px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(9, 13, 22, 0.98);
  box-shadow: 0 28px 60px -34px rgba(15, 23, 42, 0.92);
  display: grid;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  z-index: 2147483500 !important;
  isolation: isolate;
}

.header-account-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.header-account-summary {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(96, 165, 250, 0.16);
  background:
    linear-gradient(145deg, rgba(10, 14, 24, 0.98), rgba(16, 22, 34, 0.94)),
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.16), transparent 48%);
}

.header-account-summary-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-account-summary-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.32), rgba(139, 92, 246, 0.28));
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: #f8fbff;
  font-weight: 800;
}

.header-account-summary-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-account-summary-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.header-account-summary-copy strong {
  color: #f8fbff;
  font-size: 0.96rem;
  line-height: 1.2;
}

.header-account-summary-copy span {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-account-menu-link,
.header-account-menu-button {
  width: 100%;
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.02);
  color: #e6eefc;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.3;
}

.header-account-menu-link:hover,
.header-account-menu-button:hover {
  background: var(--surface);
  border-color: rgba(96, 165, 250, 0.18);
  color: var(--text);
}

.header-account-menu-danger {
  color: #fda4af;
}

.header-account-menu-danger:hover {
  color: #fecdd3;
  border-color: rgba(251, 113, 133, 0.16);
}

.header-account-divider {
  height: 1px;
  margin: 2px 2px 4px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.18), transparent);
}

.header-account-wallet {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(96, 165, 250, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.header-account-wallet-title {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.header-account-wallet-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.header-account-wallet-label {
  color: var(--text-soft);
  font-size: 0.84rem;
}

.header-account-wallet-value {
  color: var(--text);
  font-weight: 700;
}

.site-footer {
  margin-top: 52px;
  border-top: 1px solid var(--border);
  background: var(--footer-background);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 16px 28px;
  padding: 24px 0 28px;
  min-height: auto;
}

.footer-brand,
.footer-copy-group {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-copy-group p {
  max-width: 62ch;
}

.site-footer p,
.footer-note,
.lead,
.panel-subtitle,
.muted,
.compact-copy {
  color: var(--text-muted);
}

.site-footer p {
  font-size: 0.94rem;
  line-height: 1.7;
}

.footer-brand > p:first-child {
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: -0.01em;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
  margin-top: 2px;
}

.footer-trustpilot {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(120, 146, 255, 0.18);
}

.footer-trustpilot .trustpilot-widget {
  width: 100%;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  text-decoration: none;
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
}

.footer-social-link:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  color: var(--text);
}

.footer-social-name {
  font-size: 0.86rem;
  font-weight: 700;
}

.footer-social-handle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-note {
  font-size: 0.9rem;
  margin-top: 18px;
}

.brand-kicker,
.panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-kicker::before,
.panel-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-banner,
.login-card,
.surface,
.modal-card,
.stat-card,
.order-card,
.side-worker-card,
.history-item,
.overview-link-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--panel-background);
  box-shadow: var(--shadow);
}

.hero-banner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 68px;
  margin-bottom: 24px;
  background: var(--hero-background);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

.hero-banner h1 {
  margin-bottom: 10px;
}

.hero-banner-roomy {
  padding: 72px;
}

.page-main {
  gap: 24px;
  padding-top: 26px;
}

.surface,
.surface-roomy {
  padding: 58px;
}

.surface > * + *,
.side-worker-card > * + *,
.order-card > * + *,
.history-item > * + * {
  margin-top: 14px;
}

.surface-toolbar,
.panel-row-between,
.order-card-header,
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.panel-row-between > * {
  min-width: 0;
}

.surface-toolbar {
  margin-bottom: 18px;
}

.surface-toolbar + .filters-grid {
  margin-top: 16px;
}

.login-shell {
  min-height: calc(100vh - 74px);
  display: grid;
  place-items: center;
  padding: 36px 16px;
}

.portal-entry-grid {
  width: min(100%, 1180px);
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(320px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.portal-entry-side,
.portal-entry-card,
.portal-entry-actions,
.marketplace-access-strip,
.marketplace-access-card {
  display: grid;
  gap: 16px;
}

.portal-entry-side,
.marketplace-access-strip {
  align-content: start;
}

.portal-entry-card,
.marketplace-access-card {
  padding: 28px;
}

.portal-entry-card h2,
.marketplace-access-card h2 {
  margin: 0;
}

.portal-entry-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-entry-actions .btn {
  width: 100%;
}

.login-card {
  width: min(100%, 460px);
  padding: 72px 64px;
  background: var(--panel-background);
}

.login-card.is-targeted {
  border-color: rgba(124, 92, 255, 0.8);
  box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.38), 0 24px 60px rgba(34, 211, 238, 0.12);
}

.form-grid {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.compact-form {
  margin-top: 0;
}

label {
  display: block;
  margin-bottom: 12px;
  color: var(--text-soft);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

input,
select,
textarea {
  width: 100%;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
select {
  min-height: 56px;
  line-height: 1.35;
}

.marketplace-access-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  outline: none;
  transform: translateY(-1px);
}

input::placeholder,
textarea::placeholder {
  color: color-mix(in srgb, var(--text-muted) 78%, white 22%);
  opacity: 1;
  letter-spacing: 0.01em;
}

input:focus::placeholder,
textarea:focus::placeholder {
  color: color-mix(in srgb, var(--text-muted) 56%, white 44%);
}

textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.6;
}

textarea[rows="3"] {
  min-height: 120px;
}

textarea[rows="4"],
textarea[rows="5"] {
  min-height: 148px;
}

textarea[rows="10"] {
  min-height: 260px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.checkbox-row input {
  width: auto;
  accent-color: var(--accent);
}

.form-helper {
  margin-top: 10px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.form-helper-warning {
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 14px;
  padding: 10px 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.surface,
.hero-banner,
.stat-card,
.order-card,
.side-worker-card,
.history-item,
.overview-link-card {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.surface:hover,
.hero-banner:hover,
.stat-card:hover,
.order-card:hover,
.side-worker-card:hover,
.history-item:hover,
.overview-link-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.form-grid > * {
  animation: formFadeIn 260ms ease both;
}

.form-grid > *:nth-child(2) {
  animation-delay: 30ms;
}

.form-grid > *:nth-child(3) {
  animation-delay: 60ms;
}

.form-grid > *:nth-child(4) {
  animation-delay: 90ms;
}

.form-grid > *:nth-child(5) {
  animation-delay: 120ms;
}

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

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  background: var(--surface-muted);
}

body.panel-page .site-header,
body[data-customer-page] .site-header,
body.customer-portal-page .site-header {
  border-bottom-color: color-mix(in srgb, var(--accent) 12%, var(--border) 88%);
  box-shadow: 0 18px 40px rgba(2, 8, 23, 0.12);
}

.hero-banner,
.surface,
.login-card,
.stat-card,
.order-card,
.side-worker-card,
.history-item,
.overview-link-card,
.modal-card {
  overflow: hidden;
}

.hero-banner::before,
.surface::before,
.login-card::before,
.stat-card::before,
.order-card::before,
.side-worker-card::before,
.history-item::before,
.overview-link-card::before,
.modal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, transparent 92%), transparent 44%, color-mix(in srgb, var(--accent-strong) 8%, transparent 92%));
  pointer-events: none;
}

.hero-banner::after,
.surface::after,
.login-card::after,
.stat-card::after,
.order-card::after,
.side-worker-card::after,
.history-item::after,
.overview-link-card::after,
.modal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, white 6%, transparent 94%);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 94% 100%, 0 100%);
  pointer-events: none;
}

.site-nav a {
  border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-active {
  border-color: color-mix(in srgb, var(--accent) 18%, var(--border) 82%);
}

.btn-primary {
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 88%, #22d3ee 12%), color-mix(in srgb, var(--accent-strong) 84%, #8b5cf6 16%));
  box-shadow: 0 18px 28px color-mix(in srgb, var(--accent) 18%, transparent 82%);
}

.btn-primary:hover {
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent-strong) 84%, #22d3ee 16%), color-mix(in srgb, var(--accent) 72%, #8b5cf6 28%));
}

.btn-secondary {
  border-color: color-mix(in srgb, var(--accent) 12%, var(--border) 88%);
}

.stat-card strong {
  text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 18%, transparent 82%);
}

.customer-auth-card {
  width: min(100%, 720px);
}

.customer-auth-switch {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.customer-auth-switch .btn.is-active {
  background: linear-gradient(90deg, #22d3ee, #8b5cf6);
  color: #030712;
  border-color: transparent;
}

.customer-history-card {
  border-color: rgba(34, 211, 238, 0.16);
}

.btn-success {
  background: var(--success-soft);
  border-color: rgba(21, 128, 61, 0.15);
  color: var(--success);
}

.btn-warning {
  background: var(--warning-soft);
  border-color: rgba(180, 83, 9, 0.18);
  color: var(--warning);
}

.btn-danger {
  background: var(--danger-soft);
  border-color: rgba(185, 28, 28, 0.16);
  color: var(--danger);
}

.btn-small {
  min-height: 38px;
  padding-inline: 14px;
  font-size: 0.86rem;
}

.text-link {
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 600;
}

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

.header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  min-width: 112px;
}

.theme-toggle::before {
  content: "☾";
  font-size: 0.95rem;
  line-height: 1;
}

.theme-toggle.is-dark::before {
  content: "☀";
}

.stats-grid {
  gap: 16px;
}

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

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

.stat-card {
  padding: 48px;
  overflow: hidden;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #60a5fa);
}

.stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.9rem;
  line-height: 1.1;
}

.admin-split-layout,
.worker-split-layout {
  display: grid;
  grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.admin-sidebar,
.worker-sidebar {
  position: sticky;
  top: 104px;
}

.admin-main-column,
.worker-main-column {
  display: grid;
  gap: 24px;
}

.admin-main-column,
.worker-main-column,
.side-stack {
  min-width: 0;
}

.sidebar-quick-links,
.sidebar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-quick-links li,
.sidebar-nav a {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-muted);
}

.sidebar-quick-links a,
.sidebar-nav a {
  display: block;
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 4px;
}

.sidebar-quick-links span {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.sidebar-nav a:hover,
.sidebar-quick-links li:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.sidebar-actions {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

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

.overview-link-card {
  display: block;
  padding: 34px;
  text-decoration: none;
}

.overview-link-card:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: var(--shadow-lg);
}

.content-grid,
.admin-content-grid {
  grid-template-columns: minmax(0, 1.64fr) minmax(360px, 460px);
  gap: 20px;
  align-items: start;
}

.admin-content-grid-roomy {
  gap: 24px;
}

.admin-content-grid > .side-stack,
.worker-content-grid > .side-stack,
.admin-content-grid > aside,
.worker-content-grid > aside {
  width: 100%;
  max-width: min(460px, 100%);
  min-width: 0;
  justify-self: end;
  align-self: start;
}

.worker-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 470px);
  gap: 20px;
  align-items: start;
}

.worker-filter-grid {
  grid-template-columns: 240px minmax(0, 1fr);
}

.admin-filters-grid {
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)) auto;
}

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

.worker-create-grid > :last-child {
  grid-column: 1 / -1;
}

.table-shell {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.orders-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.orders-table th,
.orders-table td {
  padding: 20px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.orders-table th {
  position: sticky;
  top: 0;
  background: var(--surface-muted);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.orders-table tr:hover td {
  background: var(--surface-muted);
}

.actions-cell,
.card-actions,
.status-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.actions-cell {
  align-items: center;
}

.side-worker-card,
.order-card,
.history-item {
  padding: 48px;
}

.side-worker-card p,
.order-card p,
.history-item p,
.notification-item p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.audit-log-line {
  margin: 0;
}

.audit-log-details {
  color: var(--text-muted);
  line-height: 1.65;
}

.side-worker-card-roomy {
  padding: 46px;
}

.worker-order-card {
  border-left: 4px solid var(--accent);
}

.worker-order-card-gamepal {
  border-left-color: rgba(245, 158, 11, 0.9);
}

.worker-order-card-boosting {
  border-left-color: rgba(59, 130, 246, 0.9);
}

.worker-order-mode-card {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: color-mix(in srgb, var(--surface-muted) 86%, transparent);
}

.worker-order-mode-card strong {
  font-size: 0.98rem;
  line-height: 1.4;
}

.order-line {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.note-composer {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.badge,
.method-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: capitalize;
}

.badge-neutral,
.method-chip-neutral {
  background: #e2e8f0;
  color: #475569;
}

.badge-success {
  background: var(--success-soft);
  color: var(--success);
}

.badge-warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.badge-danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.badge-info {
  background: var(--info-soft);
  color: var(--info);
}

.payment-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.payment-brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.payment-brand-logo svg {
  width: 16px;
  height: 16px;
}

.payment-brand-logo-paypal,
.payment-brand-paypal .payment-brand-logo {
  background: linear-gradient(135deg, #0070ba, #003087);
}

.payment-brand-logo-skrill,
.payment-brand-skrill .payment-brand-logo {
  background: linear-gradient(135deg, #8f2fff, #6b21a8);
}

.payment-brand-logo-crypto,
.payment-brand-crypto .payment-brand-logo {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.method-chip {
  margin-right: 6px;
  margin-bottom: 6px;
}

.method-chip-paypal {
  background: rgba(0, 112, 186, 0.12);
  color: #0c4a6e;
  border-color: rgba(0, 112, 186, 0.18);
}

.method-chip-skrill {
  background: rgba(143, 47, 255, 0.12);
  color: #6b21a8;
  border-color: rgba(143, 47, 255, 0.18);
}

.method-chip-crypto {
  background: rgba(245, 158, 11, 0.14);
  color: #92400e;
  border-color: rgba(245, 158, 11, 0.2);
}

.payment-select-preview {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
  background: var(--surface-muted);
}

.payment-select-preview-empty {
  color: var(--text-muted);
}

.notification-toggle {
  position: relative;
}

.notification-bell-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  border: 2px solid currentColor;
  border-radius: 9px 9px 4px 4px;
  border-bottom: 0;
  position: relative;
}

.notification-bell-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
}

.notification-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.notification-list {
  display: grid;
  gap: 14px;
}

.notification-list,
.side-stack {
  contain: layout;
}

.notification-page-list {
  margin-top: 6px;
}

.notification-item {
  padding: 34px 36px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-muted);
}

.notification-item.is-unread {
  border-color: rgba(37, 99, 235, 0.25);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.notification-item-wide {
  padding: 36px 38px;
}

.notification-action-row {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.empty-state {
  padding: 60px 48px;
  border: 1px dashed var(--border-strong);
  border-radius: 18px;
  text-align: center;
  color: var(--text-muted);
  background: var(--surface-muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(10px);
}

.modal.is-open {
  display: flex;
}

.modal-card {
  width: min(100%, 520px);
  padding: 58px;
  background: var(--surface);
}

.modal-card-wide {
  width: min(100%, 880px);
  max-height: 85vh;
  overflow: auto;
}

.toast-host {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.toast {
  min-width: 280px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel-background);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-info {
  border-color: rgba(29, 78, 216, 0.22);
}

.toast-success {
  border-color: rgba(21, 128, 61, 0.22);
}

.toast-warning {
  border-color: rgba(180, 83, 9, 0.22);
}

.toast-danger {
  border-color: rgba(185, 28, 28, 0.22);
}

.mobile-orders {
  display: none;
}

#discord-status-card {
  margin-bottom: 18px;
}

.worker-meta-grid,
.worker-meta-grid-soft {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.worker-meta-grid-soft {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.worker-profile-champions {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.worker-profile-snapshot-card {
  min-width: 0;
}

.worker-profile-snapshot-card .panel-row-between {
  align-items: flex-start;
}

.worker-profile-snapshot-card .profile-heading {
  flex: 1 1 auto;
  min-width: 0;
}

.worker-profile-snapshot-card .profile-heading strong,
.worker-profile-snapshot-card .profile-heading .compact-copy,
.worker-profile-snapshot-card .worker-meta-grid p,
.worker-profile-snapshot-card .worker-profile-champions p,
.worker-profile-snapshot-card .worker-profile-summary-card p,
.worker-profile-snapshot-card .worker-profile-summary-card span,
.worker-profile-snapshot-card .worker-profile-summary-card strong,
.worker-profile-snapshot-card .worker-game-showcase p {
  word-break: normal;
  overflow-wrap: break-word;
}

.worker-profile-snapshot-card .worker-game-showcase {
  grid-template-columns: 1fr;
  align-items: start;
}

.worker-profile-snapshot-card .worker-game-showcase > div:first-child {
  min-width: 0;
}

.worker-profile-snapshot-card .worker-game-accent {
  justify-self: start;
  max-width: 100%;
  white-space: normal;
}

.worker-profile-summary-grid-mixed {
  margin-top: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.worker-profile-summary-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.worker-profile-summary-card strong,
.worker-profile-summary-card span,
.worker-profile-summary-card p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.worker-profile-summary-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.worker-profile-summary-card-league {
  border-color: rgba(59, 130, 246, 0.24);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.12), rgba(255, 255, 255, 0.02));
}

.worker-profile-summary-card-valorant {
  border-color: rgba(244, 63, 94, 0.24);
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.12), rgba(255, 255, 255, 0.02));
}

.worker-game-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.game-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.game-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.game-pill svg {
  width: 16px;
  height: 16px;
  display: block;
}

.game-pill-valorant {
  border-color: rgba(255, 70, 85, 0.35);
  background: rgba(255, 70, 85, 0.12);
  color: #ff6a7c;
}

.game-pill-league {
  border-color: rgba(59, 130, 246, 0.34);
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
}

.game-pill-mixed {
  border-color: rgba(124, 58, 237, 0.28);
  background: rgba(124, 58, 237, 0.12);
  color: #8b5cf6;
}

.worker-game-accent {
  padding: 11px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-sm);
  align-self: start;
  white-space: nowrap;
}

.worker-game-accent-valorant {
  background: linear-gradient(135deg, rgba(255, 70, 85, 0.18), rgba(255, 70, 85, 0.08));
  color: #ff6a7c;
  border-color: rgba(255, 70, 85, 0.28);
}

.worker-game-accent-league {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0.08));
  color: #60a5fa;
  border-color: rgba(37, 99, 235, 0.28);
}

.worker-game-accent-mixed {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(124, 58, 237, 0.08));
  color: #8b5cf6;
  border-color: rgba(124, 58, 237, 0.28);
}

.profile-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.profile-heading > div {
  min-width: 0;
}

.profile-heading strong,
.profile-heading .compact-copy {
  display: block;
  overflow-wrap: anywhere;
}

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

.profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.profile-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #60a5fa);
}

html[data-theme="dark"] .site-header {
  border-bottom-color: rgba(148, 163, 184, 0.12);
}

html[data-theme="dark"] body,
html.theme-dark body,
body.theme-dark {
  background: var(--body-background);
  color: var(--text);
}

html[data-theme="dark"] .site-nav a:hover,
html[data-theme="dark"] .site-nav a.is-active,
html[data-theme="dark"] .btn-secondary:hover,
html[data-theme="dark"] .notification-item.is-unread {
  box-shadow: 0 12px 26px rgba(2, 8, 23, 0.24);
}

html.theme-dark .site-nav a:hover,
html.theme-dark .site-nav a.is-active,
html.theme-dark .btn-secondary:hover,
html.theme-dark .notification-item.is-unread,
body.theme-dark .site-nav a:hover,
body.theme-dark .site-nav a.is-active,
body.theme-dark .btn-secondary:hover,
body.theme-dark .notification-item.is-unread {
  box-shadow: 0 12px 26px rgba(2, 8, 23, 0.24);
}

html[data-theme="dark"] .orders-table th,
html[data-theme="dark"] .notification-item,
html[data-theme="dark"] .payment-select-preview,
html[data-theme="dark"] .sidebar-quick-links li,
html[data-theme="dark"] .sidebar-nav a,
html[data-theme="dark"] .empty-state {
  background: var(--surface-muted);
}

html.theme-dark .orders-table th,
html.theme-dark .notification-item,
html.theme-dark .payment-select-preview,
html.theme-dark .sidebar-quick-links li,
html.theme-dark .sidebar-nav a,
html.theme-dark .empty-state,
body.theme-dark .orders-table th,
body.theme-dark .notification-item,
body.theme-dark .payment-select-preview,
body.theme-dark .sidebar-quick-links li,
body.theme-dark .sidebar-nav a,
body.theme-dark .empty-state {
  background: var(--surface-muted);
}

html[data-theme="dark"] .site-nav a:hover,
html[data-theme="dark"] .site-nav a.is-active,
html[data-theme="dark"] .sidebar-nav a:hover,
html[data-theme="dark"] .sidebar-quick-links li:hover,
html[data-theme="dark"] .btn-secondary,
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .table-shell,
html[data-theme="dark"] .modal-card {
  background: var(--surface);
}

html.theme-dark .site-nav a:hover,
html.theme-dark .site-nav a.is-active,
html.theme-dark .sidebar-nav a:hover,
html.theme-dark .sidebar-quick-links li:hover,
html.theme-dark .btn-secondary,
html.theme-dark input,
html.theme-dark select,
html.theme-dark textarea,
html.theme-dark .table-shell,
html.theme-dark .modal-card,
body.theme-dark .site-nav a:hover,
body.theme-dark .site-nav a.is-active,
body.theme-dark .sidebar-nav a:hover,
body.theme-dark .sidebar-quick-links li:hover,
body.theme-dark .btn-secondary,
body.theme-dark input,
body.theme-dark select,
body.theme-dark textarea,
body.theme-dark .table-shell,
body.theme-dark .modal-card {
  background: var(--surface);
}

html[data-theme="dark"] .badge-neutral,
html[data-theme="dark"] .method-chip-neutral {
  background: rgba(148, 163, 184, 0.14);
  color: var(--text-soft);
}

html.theme-dark .badge-neutral,
html.theme-dark .method-chip-neutral,
body.theme-dark .badge-neutral,
body.theme-dark .method-chip-neutral {
  background: rgba(148, 163, 184, 0.14);
  color: var(--text-soft);
}

html[data-theme="dark"] .toast,
html[data-theme="dark"] .surface,
html[data-theme="dark"] .login-card,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .order-card,
html[data-theme="dark"] .side-worker-card,
html[data-theme="dark"] .history-item,
html[data-theme="dark"] .overview-link-card {
  border-color: rgba(148, 163, 184, 0.14);
}

html.theme-dark .toast,
html.theme-dark .surface,
html.theme-dark .login-card,
html.theme-dark .stat-card,
html.theme-dark .order-card,
html.theme-dark .side-worker-card,
html.theme-dark .history-item,
html.theme-dark .overview-link-card,
body.theme-dark .toast,
body.theme-dark .surface,
body.theme-dark .login-card,
body.theme-dark .stat-card,
body.theme-dark .order-card,
body.theme-dark .side-worker-card,
body.theme-dark .history-item,
body.theme-dark .overview-link-card {
  border-color: rgba(148, 163, 184, 0.14);
}

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

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



.inbox-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.inbox-contact-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  margin-bottom: 16px;
  scrollbar-width: thin;
}

.inbox-contact-pill {
  flex: 0 0 auto;
  width: 74px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  padding: 10px 8px;
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  color: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.inbox-contact-pill:hover,
.inbox-contact-pill.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.inbox-contact-pill strong {
  font-size: 0.78rem;
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inbox-contact-pill span {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.15;
}

.contact-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #60a5fa);
  color: var(--text-on-dark);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

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

.inbox-sidebar,
.inbox-thread-shell {
  min-width: 0;
}

.inbox-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.inbox-conversation-list,
.message-thread {
  display: grid;
  gap: 12px;
}

.inbox-conversation-item {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: border-color var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
}

.inbox-conversation-item:hover,
.inbox-conversation-item.is-active {
  border-color: rgba(192, 132, 252, 0.35);
  background: var(--card-hover);
  transform: translateY(-1px);
}

.message-thread {
  padding: 6px 2px 2px;
}

.message-bubble {
  border-radius: var(--radius-md);
  padding: 16px 18px;
  border: 1px solid var(--border);
  max-width: min(100%, 720px);
  overflow-wrap: anywhere;
}

.message-bubble.is-own {
  justify-self: end;
  background: rgba(192, 132, 252, 0.08);
  border-color: rgba(192, 132, 252, 0.25);
}

.message-bubble.is-other {
  justify-self: start;
  background: rgba(255, 255, 255, 0.03);
}

.inbox-thread-header,
.inbox-preview-item,
.side-panel-list > *,
.audit-log-item,
.side-worker-card,
.history-item,
.order-card {
  min-width: 0;
}

.inbox-thread-shell p,
.side-panel-list p,
.order-line,
.worker-meta-grid p,
.notification-item p {
  overflow-wrap: anywhere;
  word-break: break-word;
}


.inbox-thread-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}


.support-chat-widget {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.support-chat-fab {
  min-width: 56px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 10px 12px;
  background:
    linear-gradient(135deg, rgba(192, 132, 252, 0.96), rgba(124, 58, 237, 0.96)),
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02));
  color: #fff;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 22px 40px -18px rgba(124, 58, 237, 0.7);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0;
  text-align: left;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast), padding var(--transition-fast), gap var(--transition-fast), min-width 220ms ease;
}

.support-chat-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 50px -18px rgba(124, 58, 237, 0.8);
  filter: brightness(1.03);
  min-width: 124px;
  gap: 9px;
  padding-right: 14px;
}

.support-chat-fab-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

.support-chat-fab-icon::before,
.support-chat-fab-icon::after {
  content: "";
  position: absolute;
  background: #fff;
}

.support-chat-fab-icon::before {
  width: 14px;
  height: 10px;
  border-radius: 10px;
  top: 10px;
  left: 10px;
}

.support-chat-fab-icon::after {
  width: 7px;
  height: 7px;
  border-radius: 3px;
  transform: rotate(45deg);
  left: 13px;
  bottom: 7px;
}

.support-chat-fab-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
  max-width: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: max-width 220ms ease, opacity 180ms ease, transform 180ms ease;
}

.support-chat-fab-copy strong {
  font-size: 0.8rem;
  line-height: 1.1;
}

.support-chat-fab-copy span {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.support-chat-fab:hover .support-chat-fab-copy,
.support-chat-fab:focus-visible .support-chat-fab-copy {
  max-width: 64px;
  opacity: 1;
  transform: translateX(0);
}

.support-chat-fab-badge {
  display: none;
}

.support-chat-panel {
  width: min(368px, calc(100vw - 20px));
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(12, 12, 20, 0.98), rgba(9, 10, 18, 0.98));
  box-shadow: 0 32px 80px -28px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.support-chat-panel-shell {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.support-chat-topbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.support-chat-title-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.support-chat-title-block strong {
  display: block;
  font-size: 0.94rem;
}

.support-chat-subtitle {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.74rem;
}

.support-chat-orb {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, #f5d0fe, #a855f7 55%, #5b21b6 100%);
  box-shadow: 0 0 0 6px rgba(168, 85, 247, 0.12);
}

.support-chat-close {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  border-radius: 14px;
  padding: 8px 10px;
  font: inherit;
  cursor: pointer;
}

.support-chat-meta-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.support-chat-status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.support-chat-status-pill.is-online {
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.24);
}

.support-chat-status-pill.is-loading {
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.24);
}

.support-chat-status-pill.is-offline {
  background: rgba(249, 115, 22, 0.14);
  color: #fdba74;
  border-color: rgba(249, 115, 22, 0.24);
}

.support-chat-status-text {
  font-size: 0.72rem;
  color: var(--muted);
}

.support-chat-intro-card {
  border-radius: 18px;
  padding: 14px 15px;
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.08), rgba(129, 140, 248, 0.06));
  border: 1px solid rgba(192, 132, 252, 0.14);
}

.support-chat-intro-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  margin-bottom: 4px;
}

.support-chat-intro-copy {
  color: var(--text-secondary);
  font-size: 0.76rem;
}

.support-chat-messages {
  max-height: 180px;
  overflow-y: auto;
  padding: 4px 4px 4px 2px;
  align-content: start;
  border-radius: 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
}

.support-message-bubble {
  max-width: min(100%, 92%);
  font-size: 0.82rem;
}

.support-message-meta {
  margin-bottom: 8px;
}

.support-chat-empty {
  border-radius: 18px;
  padding: 22px;
  border: 1px dashed rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.support-chat-empty strong {
  display: block;
  margin-bottom: 6px;
}

.support-chat-empty p {
  color: var(--muted);
  font-size: 0.76rem;
}

.support-chat-form {
  display: grid;
  gap: 10px;
}

.support-chat-label {
  margin: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
}

.support-chat-form textarea {
  min-height: 92px;
  resize: vertical;
  background: rgba(255,255,255,0.04);
}

.support-chat-form-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.support-chat-helper {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  max-width: 220px;
}

.blog-post-card {
  position: relative;
  padding: 36px;
  border-radius: 28px;
  border: 1px solid color-mix(in srgb, var(--border) 76%, white 24%);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-soft) 22%, transparent 78%), transparent 36%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, white 4%), color-mix(in srgb, var(--surface-muted) 92%, white 8%));
  box-shadow:
    0 18px 44px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  overflow: hidden;
}

.blog-post-card-feature {
  min-height: 100%;
  padding: 42px;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-soft) 28%, transparent 72%), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 97%, white 3%), color-mix(in srgb, var(--surface-muted) 90%, white 10%));
  box-shadow:
    0 26px 58px color-mix(in srgb, var(--accent) 12%, transparent 88%),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.blog-post-card:not(.blog-post-card-feature) {
  display: grid;
  gap: 14px;
}

.blog-post-card .panel-kicker {
  margin-bottom: 8px;
  color: var(--accent-strong);
}

.blog-feature-hero {
  display: grid;
  gap: 16px;
  padding: 0;
}

.blog-feature-layout {
  display: grid;
  gap: 30px;
}

.blog-feature-layout.has-image {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.95fr);
  align-items: start;
}

.blog-feature-copy {
  min-width: 0;
  display: grid;
  gap: 20px;
}

.blog-post-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.blog-post-meta-group,
.blog-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.blog-meta-pill-category {
  background: color-mix(in srgb, var(--accent-soft) 64%, var(--surface) 36%);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border) 72%);
  color: var(--accent-strong);
}

.blog-meta-pill-tag {
  background: color-mix(in srgb, var(--surface-muted) 84%, white 16%);
}

.blog-meta-pill-neutral {
  background: color-mix(in srgb, var(--surface-muted) 88%, white 12%);
}

.blog-meta-pill-pinned {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(251, 191, 36, 0.08));
  border-color: rgba(245, 158, 11, 0.28);
  color: #d97706;
}

.blog-post-reading-time {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.blog-post-card-feature.is-pinned {
  position: relative;
  overflow: hidden;
}

.blog-post-card-feature.is-pinned::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 160px;
  background: radial-gradient(circle at top right, color-mix(in srgb, var(--accent-soft) 72%, transparent 28%), transparent 62%);
  pointer-events: none;
}

.worker-blog-browser {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.worker-blog-browser-sidebar,
.worker-blog-browser-main {
  min-width: 0;
}

.worker-blog-browser-sidebar {
  position: sticky;
  top: 104px;
}

.worker-blog-chooser {
  display: grid;
  gap: 14px;
  align-content: start;
}

.worker-blog-choice-shell {
  display: grid;
  gap: 10px;
}

.worker-blog-choice {
  position: relative;
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--border) 76%, white 24%);
  border-radius: 24px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 97%, white 3%), color-mix(in srgb, var(--surface-muted) 92%, white 8%));
  padding: 16px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  text-align: left;
  color: inherit;
  cursor: pointer;
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.worker-blog-choice:hover,
.worker-blog-choice.is-active {
  border-color: var(--accent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 86%, var(--accent-soft) 14%), color-mix(in srgb, var(--surface-muted) 82%, var(--accent-soft) 18%));
  transform: translateY(-2px);
  box-shadow: 0 20px 38px color-mix(in srgb, var(--accent) 14%, transparent 86%);
}

.worker-blog-choice.is-active::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  pointer-events: none;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 64%, white 36%), 0 0 0 8px color-mix(in srgb, var(--accent-soft) 52%, transparent 48%);
  opacity: 0.9;
}

.worker-blog-choice-media {
  width: 96px;
  height: 100%;
  min-height: 96px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 72%, white 28%);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-muted) 76%, white 24%), color-mix(in srgb, var(--surface) 92%, white 8%));
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.worker-blog-choice-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.worker-blog-choice-media-fallback,
.blog-ticker-image-fallback {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.worker-blog-choice-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: center;
}

.worker-blog-choice-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.worker-blog-choice-meta {
  color: var(--text-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.worker-blog-choice-summary {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-post-image {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 70%, white 30%);
  background:
    radial-gradient(circle at top, color-mix(in srgb, var(--accent-soft) 18%, transparent 82%), transparent 62%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-muted) 76%, white 24%), color-mix(in srgb, var(--surface) 92%, white 8%));
  display: grid;
  aspect-ratio: 16 / 10;
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.blog-post-image-feature {
  margin: 0;
  min-height: 320px;
  height: auto;
  cursor: zoom-in;
}

.blog-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.blog-post-card h3 {
  font-size: clamp(1.34rem, 2vw, 1.78rem);
  line-height: 1.08;
  margin: 0;
  max-width: 22ch;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-post-summary {
  max-width: 62ch;
  color: color-mix(in srgb, var(--text-soft) 92%, var(--text) 8%);
  font-size: 1rem;
  line-height: 1.78;
  font-weight: 500;
  margin: 0;
  padding: 14px 0 14px 18px;
  border-left: 3px solid color-mix(in srgb, var(--accent) 52%, transparent 48%);
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent-soft) 16%, transparent 84%), transparent 72%);
  border-radius: 10px;
}

.blog-post-body {
  max-width: 72ch;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.88;
  margin: 0;
}

.blog-post-card:not(.blog-post-card-feature) .blog-post-image {
  margin-top: 6px;
  aspect-ratio: 16 / 9;
}

.blog-post-card:not(.blog-post-card-feature) .blog-post-summary {
  max-width: none;
  font-size: 0.94rem;
  line-height: 1.7;
}

.blog-post-card:not(.blog-post-card-feature) .blog-post-body {
  max-width: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.74;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-post-admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.blog-post-admin-bar p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-blog-editor {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 18px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, white 8%), color-mix(in srgb, var(--surface-muted) 88%, white 12%));
  border-radius: 24px;
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.admin-blog-editor-form {
  gap: 16px;
}

.admin-blog-image-preview {
  max-width: none;
}

.admin-blog-image-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.worker-blog-choice-shell .card-actions {
  margin-top: 0;
  padding: 0 2px;
}

.admin-browser-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 340px) minmax(0, 1fr);
  align-items: start;
}

.admin-picker-list {
  display: grid;
  gap: 12px;
  max-height: 72vh;
  overflow-y: auto;
  padding-right: 4px;
}

.admin-picker-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  background: linear-gradient(180deg, var(--surface) 82%, transparent);
}

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

.admin-picker-card {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--border) 78%, white 22%);
  border-radius: 22px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 97%, white 3%), color-mix(in srgb, var(--surface-muted) 92%, white 8%));
  padding: 16px;
  display: grid;
  gap: 8px;
  text-align: left;
  color: inherit;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.admin-picker-card:hover,
.admin-picker-card.is-active {
  border-color: var(--accent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, var(--accent-soft) 12%), color-mix(in srgb, var(--surface-muted) 84%, var(--accent-soft) 16%));
  transform: translateY(-1px);
  box-shadow: 0 18px 34px color-mix(in srgb, var(--accent) 12%, transparent 88%);
}

.admin-picker-card mark {
  background: color-mix(in srgb, var(--accent-soft) 72%, white 28%);
  color: var(--accent-strong);
  padding: 0 3px;
  border-radius: 5px;
}

.admin-picker-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-picker-card strong {
  font-size: 1rem;
  line-height: 1.32;
}

.admin-picker-card-meta {
  color: var(--text-muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-picker-card-copy {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.58;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-browser-detail {
  position: sticky;
  top: 104px;
}

.admin-detail-card {
  min-height: 320px;
}

.customer-portal-page {
  --customer-cyan: #22d3ee;
  --customer-violet: #8b5cf6;
  --customer-ink: #05060b;
  --customer-panel: rgba(8, 12, 20, 0.9);
  --customer-panel-soft: rgba(12, 18, 29, 0.86);
  --customer-border: rgba(34, 211, 238, 0.18);
  --customer-border-strong: rgba(139, 92, 246, 0.34);
  --customer-glow: 0 26px 70px rgba(6, 10, 18, 0.48);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.16), transparent 24%),
    radial-gradient(circle at bottom center, rgba(59, 130, 246, 0.12), transparent 32%),
    linear-gradient(180deg, #03050a 0%, #09101a 54%, #060910 100%);
}

html[data-theme="light"] .customer-portal-page,
body.theme-light.customer-portal-page {
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.08), transparent 24%),
    radial-gradient(circle at bottom center, rgba(59, 130, 246, 0.08), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 54%, #f6f9ff 100%);
}

.customer-hero-banner {
  align-items: center;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--customer-border);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(8, 12, 20, 0.96), rgba(10, 18, 31, 0.9)),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.12), transparent 42%);
  box-shadow: var(--customer-glow);
}

html[data-theme="light"] .customer-hero-banner,
body.theme-light .customer-hero-banner {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 255, 0.94)),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.08), transparent 42%);
}

.customer-hero-banner::after {
  content: "";
  position: absolute;
  inset: auto -12% -28% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.28), transparent 68%);
  pointer-events: none;
  filter: blur(6px);
}

.customer-hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: translateX(-120%);
  animation: customerHeroSweep 8s linear infinite;
  pointer-events: none;
}

@keyframes customerHeroSweep {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.customer-portal-page .panel-kicker,
.customer-portal-page .surface-toolbar p.muted,
.customer-portal-page .muted {
  color: rgba(203, 213, 225, 0.74);
}

.customer-portal-page .panel-kicker {
  letter-spacing: 0.2em;
}

.customer-portal-page h1,
.customer-portal-page h2,
.customer-portal-page .customer-order-product,
.customer-portal-page .surface-toolbar h2 {
  color: #f8fbff;
}

html[data-theme="light"] .customer-portal-page .panel-kicker,
html[data-theme="light"] .customer-portal-page .surface-toolbar p.muted,
html[data-theme="light"] .customer-portal-page .muted,
body.theme-light .customer-portal-page .panel-kicker,
body.theme-light .customer-portal-page .surface-toolbar p.muted,
body.theme-light .customer-portal-page .muted {
  color: rgba(71, 85, 105, 0.76);
}

html[data-theme="light"] .customer-portal-page h1,
html[data-theme="light"] .customer-portal-page h2,
html[data-theme="light"] .customer-portal-page .customer-order-product,
html[data-theme="light"] .customer-portal-page .surface-toolbar h2,
body.theme-light .customer-portal-page h1,
body.theme-light .customer-portal-page h2,
body.theme-light .customer-portal-page .customer-order-product,
body.theme-light .customer-portal-page .surface-toolbar h2 {
  color: #0f172a;
}

.customer-portal-page .surface-toolbar {
  border-bottom-color: rgba(148, 163, 184, 0.12);
}

.customer-hero-side {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.customer-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(139, 92, 246, 0.16));
  color: #dffbff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
}

.customer-portal-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  align-items: start;
}

.customer-dashboard-grid {
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.82fr);
  align-items: start;
  gap: 24px;
}

.customer-chat-stack {
  position: sticky;
  top: 104px;
  gap: 20px;
}

.customer-command-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0 6px;
}

.customer-command-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 188px;
  padding: 20px 22px;
  border: 1px solid rgba(96, 165, 250, 0.16);
  border-radius: 24px;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(8, 14, 24, 0.96), rgba(10, 15, 24, 0.9)),
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.12), transparent 44%);
  box-shadow:
    0 28px 56px rgba(2, 6, 23, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.customer-command-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.04);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 94% 100%, 0 100%);
  pointer-events: none;
}

.customer-command-card:hover {
  border-color: rgba(96, 165, 250, 0.32);
  transform: translateY(-2px);
  box-shadow:
    0 36px 68px rgba(2, 6, 23, 0.3),
    0 0 0 1px rgba(96, 165, 250, 0.14);
}

.customer-command-kicker {
  color: rgba(34, 211, 238, 0.88);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.customer-command-card strong {
  color: #f8fbff;
  font-size: 1.02rem;
  line-height: 1.25;
}

.customer-command-card p {
  margin: 0;
  color: var(--text-muted);
}

.customer-surface {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--customer-border);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(10, 16, 27, 0.96), rgba(8, 12, 20, 0.92));
  box-shadow:
    var(--customer-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .customer-surface,
body.theme-light .customer-surface {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.94));
  box-shadow:
    0 24px 54px rgba(148, 163, 184, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.customer-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.05), transparent 38%, rgba(139, 92, 246, 0.06));
  pointer-events: none;
}

.customer-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.03);
  clip-path: polygon(0 0, 100% 0, 100% 90%, 92% 100%, 0 100%);
  pointer-events: none;
}

.customer-access-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  padding: 20px 22px;
  margin-bottom: 6px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(8, 15, 27, 0.78), rgba(10, 16, 28, 0.92));
}

.customer-access-copy h3 {
  margin: 8px 0 10px;
  font-size: 1.15rem;
}

.customer-access-copy p:last-child {
  margin-bottom: 0;
}

.customer-access-form {
  align-items: end;
}

.customer-access-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  min-height: 100%;
}

html[data-theme="light"] .customer-access-panel,
body.theme-light .customer-access-panel {
  background: linear-gradient(180deg, rgba(251, 253, 255, 0.96), rgba(241, 246, 255, 0.94));
  border-color: rgba(34, 211, 238, 0.18);
  box-shadow: 0 20px 46px rgba(148, 163, 184, 0.12);
}

.customer-order-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.customer-order-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.customer-progress-step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(7, 12, 19, 0.7);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 94% 100%, 0 100%);
}

.customer-progress-step.is-active {
  border-color: rgba(34, 211, 238, 0.3);
  background: linear-gradient(180deg, rgba(16, 37, 46, 0.9), rgba(10, 19, 29, 0.92));
}

.customer-progress-dot {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.14);
  color: #f8fbff;
  font-weight: 800;
}

.customer-progress-step.is-active .customer-progress-dot {
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  color: #030712;
}

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

.customer-order-highlight > div,
.customer-tracking-meta-item,
.customer-history-meta-item {
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(7, 12, 19, 0.7);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 94% 100%, 0 100%);
}

.customer-order-highlight span,
.customer-tracking-meta-item span,
.customer-history-meta-item span {
  display: block;
  color: rgba(203, 213, 225, 0.7);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-order-highlight strong,
.customer-tracking-meta-item strong,
.customer-history-meta-item strong {
  display: block;
  margin-top: 8px;
  color: #f8fbff;
}

html[data-theme="light"] .customer-order-highlight > div,
html[data-theme="light"] .customer-tracking-meta-item,
html[data-theme="light"] .customer-history-meta-item,
body.theme-light .customer-order-highlight > div,
body.theme-light .customer-tracking-meta-item,
body.theme-light .customer-history-meta-item,
html[data-theme="light"] .customer-tracking-notes,
html[data-theme="light"] .customer-history-price,
body.theme-light .customer-tracking-notes,
body.theme-light .customer-history-price {
  background: rgba(248, 250, 252, 0.96);
  border-color: rgba(148, 163, 184, 0.18);
}

html[data-theme="light"] .customer-order-highlight strong,
html[data-theme="light"] .customer-tracking-meta-item strong,
html[data-theme="light"] .customer-history-meta-item strong,
body.theme-light .customer-order-highlight strong,
body.theme-light .customer-tracking-meta-item strong,
body.theme-light .customer-history-meta-item strong {
  color: #0f172a;
}

.customer-order-product {
  display: block;
  font-size: clamp(1.32rem, 2vw, 1.9rem);
  line-height: 1.08;
  color: #f8fbff;
  text-transform: uppercase;
  font-weight: 900;
  max-width: 18ch;
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.12);
}

.customer-order-statuses {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.customer-order-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.customer-order-fact,
.customer-order-price-card {
  position: relative;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 90% 100%, 0 100%);
  padding: 16px 18px;
  background:
    linear-gradient(180deg, rgba(11, 18, 30, 0.94), rgba(8, 12, 20, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 32px rgba(2, 8, 23, 0.24);
}

html[data-theme="light"] .customer-order-fact,
html[data-theme="light"] .customer-order-price-card,
body.theme-light .customer-order-fact,
body.theme-light .customer-order-price-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 14px 28px rgba(148, 163, 184, 0.12);
}

.customer-order-fact::before,
.customer-order-price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 3px solid rgba(34, 211, 238, 0.7);
  pointer-events: none;
}

.customer-order-fact p,
.customer-order-price-card p {
  margin: 0;
}

.customer-order-fact p:last-child,
.customer-order-price-card p:last-child {
  margin-top: 6px;
  color: #f8fbff;
  font-weight: 600;
  line-height: 1.6;
}

html[data-theme="light"] .customer-order-fact p:last-child,
html[data-theme="light"] .customer-order-price-card p:last-child,
body.theme-light .customer-order-fact p:last-child,
body.theme-light .customer-order-price-card p:last-child,
html[data-theme="light"] .customer-tracking-notes p:last-child,
html[data-theme="light"] .customer-history-price,
body.theme-light .customer-tracking-notes p:last-child,
body.theme-light .customer-history-price {
  color: #0f172a;
}

.customer-order-price-card {
  margin-top: 18px;
  border-color: rgba(139, 92, 246, 0.24);
}

.customer-order-price-card p:last-child {
  color: #b9f6ff;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.18);
}

.customer-portal-page .badge {
  border-width: 1px;
  border-style: solid;
  border-radius: 999px;
  padding-inline: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.customer-portal-page .badge-info,
.customer-portal-page .badge-warning,
.customer-portal-page .badge-success,
.customer-portal-page .badge-neutral {
  color: #f8fbff;
}

.customer-portal-page .badge-info {
  background: rgba(34, 211, 238, 0.14);
  border-color: rgba(34, 211, 238, 0.3);
}

.customer-portal-page .badge-warning {
  background: rgba(139, 92, 246, 0.16);
  border-color: rgba(139, 92, 246, 0.3);
}

.customer-portal-page .badge-success {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.28);
}

.customer-portal-page .badge-neutral {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.2);
}

.customer-portal-page .side-worker-card,
.customer-portal-page .compact-form textarea {
  background: transparent;
}

.customer-portal-page .message-thread {
  display: grid;
  gap: 14px;
  max-height: 540px;
  padding-right: 4px;
}

.customer-message-card {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 94% 100%, 0 100%);
  padding: 18px 18px 20px;
  background:
    linear-gradient(180deg, rgba(10, 16, 27, 0.95), rgba(8, 12, 20, 0.92));
  box-shadow: 0 16px 30px rgba(2, 8, 23, 0.22);
}

.customer-message-card-own {
  border-color: rgba(34, 211, 238, 0.28);
  background:
    linear-gradient(180deg, rgba(16, 37, 46, 0.92), rgba(9, 21, 29, 0.94));
}

.customer-message-card-staff_note {
  border-color: rgba(251, 146, 60, 0.2);
  background:
    linear-gradient(180deg, rgba(29, 22, 12, 0.94), rgba(20, 15, 9, 0.92));
}

.customer-message-card-status_update,
.customer-message-card-system_update {
  border-color: rgba(148, 163, 184, 0.2);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(9, 14, 28, 0.88));
}

.customer-message-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.85), rgba(139, 92, 246, 0.45));
}

.customer-message-card-staff_note::before {
  background: linear-gradient(180deg, rgba(251, 146, 60, 0.9), rgba(245, 158, 11, 0.5));
}

.customer-message-card-status_update::before,
.customer-message-card-system_update::before {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.85), rgba(96, 165, 250, 0.4));
}

.customer-chat-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.customer-message-head-copy {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.customer-message-status-line {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.customer-tracking-card,
.customer-active-order-card {
  display: grid;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(96, 165, 250, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(7, 12, 19, 0.84), rgba(10, 15, 24, 0.96)),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.14), transparent 40%);
}

.customer-tracking-meta,
.customer-active-order-grid,
.customer-history-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.customer-tracking-notes,
.customer-history-price {
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(7, 12, 19, 0.74);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 94% 100%, 0 100%);
}

.customer-tracking-notes p:last-child,
.customer-history-price {
  color: rgba(226, 232, 240, 0.92);
  line-height: 1.6;
}

.customer-report-card {
  display: grid;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(244, 114, 182, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(18, 14, 30, 0.82), rgba(10, 15, 24, 0.95)),
    radial-gradient(circle at top right, rgba(244, 114, 182, 0.14), transparent 40%);
}

.customer-report-card .panel-row-between {
  align-items: flex-start;
  gap: 16px;
}

.customer-report-card .panel-row-between .btn {
  flex-shrink: 0;
}

.customer-report-form-shell {
  margin-top: 6px;
}

.customer-report-card p {
  margin: 0;
}

.customer-report-form-shell[hidden] {
  display: none !important;
}

.customer-report-form {
  gap: 14px;
}

.customer-active-order-panel {
  min-height: 220px;
  display: grid;
  gap: 16px;
}

.customer-history-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.seller-page {
  background:
    radial-gradient(circle at top left, rgba(234, 179, 8, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.12), transparent 22%),
    linear-gradient(180deg, #05070d 0%, #0b111b 100%);
}

html[data-theme="light"] .seller-page,
body.theme-light.seller-page {
  background:
    radial-gradient(circle at top left, rgba(234, 179, 8, 0.05), transparent 26%),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.05), transparent 22%),
    linear-gradient(180deg, #f3f7fc 0%, #eaf1f9 100%);
}

.seller-hero-banner {
  border-color: rgba(234, 179, 8, 0.18);
  background:
    linear-gradient(135deg, rgba(12, 16, 24, 0.96), rgba(13, 21, 32, 0.92)),
    radial-gradient(circle at top right, rgba(234, 179, 8, 0.12), transparent 42%);
}

html[data-theme="light"] .seller-hero-banner,
body.theme-light .seller-hero-banner {
  background:
    linear-gradient(135deg, rgba(245, 249, 255, 0.96), rgba(235, 242, 250, 0.94)),
    radial-gradient(circle at top right, rgba(234, 179, 8, 0.08), transparent 42%);
}

.seller-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: start;
}

.seller-page .page-main {
  display: grid;
  gap: 24px;
  max-width: 1480px;
}

.seller-page .stats-grid {
  gap: 16px;
}

.seller-page .stat-card {
  padding: 30px 28px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(10, 15, 24, 0.94), rgba(13, 19, 31, 0.88));
  box-shadow:
    0 18px 34px rgba(2, 8, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="light"] .seller-page .stat-card,
body.theme-light .seller-page .stat-card {
  background:
    linear-gradient(180deg, rgba(244, 248, 253, 0.98), rgba(233, 240, 248, 0.94));
  box-shadow:
    0 18px 34px rgba(148, 163, 184, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.seller-page .surface {
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    linear-gradient(180deg, rgba(8, 12, 20, 0.94), rgba(10, 16, 27, 0.9));
  box-shadow:
    0 22px 48px rgba(2, 8, 23, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .seller-page .surface,
body.theme-light .seller-page .surface {
  background:
    linear-gradient(180deg, rgba(242, 247, 252, 0.97), rgba(232, 239, 247, 0.94));
  box-shadow:
    0 18px 40px rgba(148, 163, 184, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.seller-page h1,
.seller-page h2,
.seller-page h3,
.seller-page strong {
  letter-spacing: -0.02em;
}

.seller-page .muted {
  color: rgba(203, 213, 225, 0.72);
}

html[data-theme="light"] .seller-page .muted,
body.theme-light .seller-page .muted {
  color: rgba(71, 85, 105, 0.82);
}

.seller-page .surface-toolbar {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.seller-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.seller-primary-surface {
  min-width: 0;
}

.seller-side-rail {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 20px;
}

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

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

.seller-overview-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 10px;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    linear-gradient(180deg, rgba(8, 12, 20, 0.82), rgba(10, 16, 27, 0.72));
  box-shadow:
    0 22px 46px rgba(2, 8, 23, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .seller-overview-stats,
body.theme-light .seller-overview-stats {
  background:
    linear-gradient(180deg, rgba(241, 246, 252, 0.98), rgba(232, 239, 247, 0.94));
  box-shadow:
    0 16px 34px rgba(148, 163, 184, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.seller-overview-stats .stat-card {
  min-height: 0;
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 24px 22px;
  border-radius: 20px;
}

.seller-overview-stats .stat-card strong {
  font-size: clamp(1.9rem, 3vw, 2.25rem);
}

.seller-hero-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 600px);
}

.seller-hero-summary-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(8, 13, 22, 0.48);
  box-shadow: var(--shadow-sm);
}

.seller-hero-summary-card span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.seller-hero-summary-card strong {
  font-size: 1rem;
  line-height: 1.4;
  color: #f8fbff;
}

html[data-theme="light"] .seller-hero-summary-card,
body.theme-light .seller-hero-summary-card {
  background: rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .seller-hero-summary-card strong,
body.theme-light .seller-hero-summary-card strong {
  color: var(--text);
}

.seller-overview-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: 22px;
  align-items: start;
}

.seller-overview-main-surface {
  display: grid;
  gap: 22px;
}

.seller-overview-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.seller-overview-priority-rail,
.seller-overview-pipeline {
  display: grid;
  gap: 14px;
}

.seller-overview-priority-card,
.seller-overview-pipeline-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.seller-overview-priority-card strong,
.seller-overview-pipeline-card strong {
  font-size: 1rem;
  line-height: 1.45;
}

.seller-overview-checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seller-overview-checklist li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
}

.seller-overview-checklist li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.seller-overview-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.seller-overview-flow-card,
.seller-submission-side-card,
.seller-overview-side-card,
.seller-profile-side-card {
  border-radius: 22px;
}

.seller-overview-flow-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

html[data-theme="light"] .seller-overview-flow-card,
html[data-theme="light"] .seller-overview-priority-card,
html[data-theme="light"] .seller-overview-pipeline-card,
body.theme-light .seller-overview-flow-card {
  background: rgba(241, 246, 252, 0.84);
}

body.theme-light .seller-overview-priority-card,
body.theme-light .seller-overview-pipeline-card {
  background: rgba(241, 246, 252, 0.84);
}

.seller-submissions-layout {
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
}

.seller-submission-form {
  display: grid;
  gap: 18px;
}

.seller-submission-wizard {
  gap: 22px;
}

.seller-step-progress-shell {
  display: grid;
  gap: 14px;
  padding: 4px 0 2px;
}

.seller-step-progress-copy {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.seller-step-progress-copy span {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
}

.seller-step-progress-copy strong {
  font-size: 1.18rem;
  font-weight: 500;
  color: #b88cff;
}

.seller-step-progress-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(68, 17, 102, 0.8), rgba(92, 34, 128, 0.82));
  box-shadow: inset 0 0 0 1px rgba(193, 138, 255, 0.12);
}

.seller-step-progress-bar span {
  display: block;
  height: 100%;
  width: 33.333%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8d57f5 0%, #b071ff 100%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
  transition: width 180ms ease;
}

.seller-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}

.seller-step-panel[data-seller-step="1"] .seller-step-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.seller-step-grid-final {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
}

.seller-step-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(8, 13, 22, 0.66);
  box-shadow: var(--shadow-sm);
}

.seller-step-grid > .seller-step-card,
.seller-step-grid-final > .seller-step-card {
  height: 100%;
  align-content: start;
}

.seller-step-card-head {
  display: grid;
  gap: 10px;
  align-items: start;
}

.seller-step-card-head > div {
  display: grid;
  gap: 8px;
}

.seller-step-card-head h3 {
  margin: 2px 0 0;
  font-size: 1.08rem;
  line-height: 1.28;
}

.seller-step-card-head > p {
  max-width: none;
  margin: 0;
}

.seller-step-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px 18px;
}

.seller-step-form-grid-wide {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.seller-step-inline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px 18px;
}

.seller-email-fields {
  grid-column: 1 / -1;
}

.seller-game-picker-inline {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.seller-step-panel[data-seller-step="1"] .seller-game-picker.seller-game-picker-inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.seller-proof-upload-shell {
  display: grid;
  gap: 14px;
}

.seller-proof-dropzone {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 24px;
  border-radius: 22px;
  border: 1px dashed rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.seller-proof-dropzone.is-dragging,
.seller-proof-dropzone:hover {
  border-color: rgba(34, 211, 238, 0.34);
  background: rgba(34, 211, 238, 0.08);
}

.seller-proof-dropzone p {
  margin: 0;
  color: var(--text-soft);
}

.seller-proof-gallery-edit {
  margin-top: 0;
}

.seller-proof-card-edit {
  position: relative;
  min-height: 180px;
}

.seller-proof-remove {
  position: absolute;
  top: 10px;
  right: 10px;
}

.seller-sample-description {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.seller-sample-description p {
  margin: 0;
  line-height: 1.65;
}

.seller-wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

html[data-theme="light"] .seller-step-card,
body.theme-light .seller-step-card {
  background: rgba(240, 245, 251, 0.9);
}

html[data-theme="light"] .seller-step-progress-copy strong,
body.theme-light .seller-step-progress-copy strong {
  color: #8a4dff;
}

html[data-theme="light"] .seller-step-progress-bar,
body.theme-light .seller-step-progress-bar {
  background: linear-gradient(180deg, rgba(125, 77, 196, 0.18), rgba(145, 92, 222, 0.22));
  box-shadow: inset 0 0 0 1px rgba(126, 87, 194, 0.16);
}

html[data-theme="light"] .seller-proof-dropzone,
html[data-theme="light"] .seller-sample-description,
body.theme-light .seller-proof-dropzone,
body.theme-light .seller-sample-description {
  background: rgba(247, 250, 253, 0.92);
}

html[data-theme="light"] .seller-sale-card,
body.theme-light .seller-sale-card {
  background: rgba(240, 245, 251, 0.92);
}

.seller-proof-grid {
  display: grid;
  gap: 10px;
}

.seller-sales-history-surface,
.seller-submissions-history,
.seller-payout-history-surface {
  min-height: 340px;
}

.seller-sales-ledger {
  display: grid;
  gap: 16px;
}

.seller-sale-card {
  display: grid;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(8, 13, 22, 0.68);
  box-shadow: var(--shadow-sm);
}

.seller-sale-card-head h3 {
  margin: 6px 0 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

.seller-sale-card .card-actions {
  justify-content: flex-start;
}

.seller-sales-meta-grid {
  margin-top: 0;
}

.seller-payouts-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
}

.seller-payout-methods-surface,
.seller-payout-request-surface {
  min-height: 100%;
}

.seller-payout-info-strip {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.seller-payout-summary-grid .stat-card {
  min-height: 118px;
}

.seller-payout-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.seller-browser-toolbar {
  margin-bottom: 18px;
}

.seller-browser-layout {
  grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.seller-browser-detail {
  min-height: 480px;
}

.seller-timeline {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.seller-timeline-step {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.seller-timeline-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(148, 163, 184, 0.22);
}

.seller-timeline-step.is-complete .seller-timeline-dot {
  background: rgba(34, 197, 94, 0.86);
  border-color: rgba(34, 197, 94, 0.4);
}

.seller-proof-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.seller-proof-card {
  display: block;
  width: 100%;
  min-height: 140px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.03);
  padding: 0;
  cursor: pointer;
  appearance: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.seller-proof-card:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.32);
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.24);
}

.seller-proof-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.seller-page .customer-history-meta-item {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

html[data-theme="light"] .seller-page .customer-history-meta-item,
body.theme-light .seller-page .customer-history-meta-item {
  background: rgba(240, 245, 251, 0.88);
}

.seller-page .side-panel-list,
.seller-page .mobile-orders {
  display: grid;
  gap: 16px;
}

.seller-page .side-worker-card,
.seller-page .customer-history-card,
.seller-overview-card {
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(8, 13, 22, 0.72);
}

.seller-page .customer-history-card {
  padding: 26px;
}

.seller-page input,
.seller-page textarea,
.seller-page select {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(5, 10, 18, 0.82);
  color: #f8fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.seller-page input::placeholder,
.seller-page textarea::placeholder {
  color: rgba(148, 163, 184, 0.78);
}

.seller-page input:focus,
.seller-page textarea:focus,
.seller-page select:focus {
  border-color: rgba(34, 211, 238, 0.34);
  box-shadow:
    0 0 0 4px rgba(34, 211, 238, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.seller-page .btn-secondary {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.18);
}

html[data-theme="light"] .seller-page .surface,
html[data-theme="light"] .seller-page .stat-card,
html[data-theme="light"] .seller-page .side-worker-card,
html[data-theme="light"] .seller-page .customer-history-card,
html[data-theme="light"] .seller-overview-card,
body.theme-light .seller-page .surface,
body.theme-light .seller-page .stat-card,
body.theme-light .seller-page .side-worker-card,
body.theme-light .seller-page .customer-history-card,
body.theme-light .seller-overview-card {
  color: #0f172a;
}

html[data-theme="light"] .seller-page input,
html[data-theme="light"] .seller-page textarea,
html[data-theme="light"] .seller-page select,
body.theme-light .seller-page input,
body.theme-light .seller-page textarea,
body.theme-light .seller-page select {
  background: rgba(247, 250, 253, 0.92);
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

html[data-theme="light"] .seller-page .btn-secondary,
body.theme-light .seller-page .btn-secondary {
  background: rgba(239, 244, 250, 0.9);
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.2);
}

.customer-portal-page .history-item strong {
  color: #f8fbff;
}

.customer-portal-page .order-line {
  color: rgba(226, 232, 240, 0.88);
}

.customer-portal-page textarea,
.customer-portal-page input,
.customer-portal-page select {
  border-color: rgba(34, 211, 238, 0.16);
  background: rgba(4, 8, 14, 0.86);
  color: #f8fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.customer-portal-page textarea::placeholder,
.customer-portal-page input::placeholder {
  color: rgba(148, 163, 184, 0.82);
}

.customer-portal-page textarea:focus,
.customer-portal-page input:focus,
.customer-portal-page select:focus {
  border-color: rgba(34, 211, 238, 0.42);
  box-shadow:
    0 0 0 4px rgba(34, 211, 238, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.customer-portal-page .btn-primary {
  background: linear-gradient(90deg, #22d3ee, #8b5cf6);
  color: #030712;
  border: 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 20px 30px rgba(34, 211, 238, 0.18);
}

.customer-portal-page .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 34px rgba(34, 211, 238, 0.24);
}

.customer-portal-page .btn-secondary {
  border-color: rgba(34, 211, 238, 0.22);
  background: rgba(7, 12, 19, 0.76);
  color: #e2f6ff;
}

.customer-portal-page .empty-state {
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(9, 13, 21, 0.82);
  color: rgba(226, 232, 240, 0.84);
}

.worker-blog-strip-section {
  overflow: hidden;
}

.blog-ticker-shell {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.blog-ticker-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: blogTickerSlide 34s linear infinite;
}

.blog-ticker-item {
  width: 348px;
  min-height: 166px;
  border-radius: 26px;
  border: 1px solid color-mix(in srgb, var(--border) 74%, white 26%);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 97%, white 3%), color-mix(in srgb, var(--surface-muted) 92%, white 8%));
  overflow: hidden;
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.blog-ticker-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.blog-ticker-image {
  height: 100%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-muted) 76%, white 24%), color-mix(in srgb, var(--surface) 92%, white 8%));
  display: grid;
  place-items: stretch;
}

.blog-ticker-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-ticker-copy {
  padding: 20px 20px 18px;
  display: grid;
  gap: 12px;
  align-content: start;
}


.blog-ticker-copy strong {
  font-size: 1rem;
  line-height: 1.3;
}

.blog-ticker-copy span {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@keyframes blogTickerSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.blog-image-modal {
  z-index: 1400;
}

.blog-image-modal-card {
  width: min(980px, calc(100vw - 32px));
}

.blog-image-modal-body {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 12px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface-muted) 84%, black 16%);
  border: 1px solid var(--border);
}

.blog-image-modal-body img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 18px;
}

@media (max-width: 1080px) {
  .admin-split-layout,
  .worker-split-layout,
  .content-grid,
  .admin-content-grid,
  .admin-browser-layout,
  .customer-portal-layout,
  .worker-content-grid,
  .worker-blog-browser {
    grid-template-columns: 1fr;
  }

  .admin-sidebar,
  .worker-sidebar {
    position: static;
  }

  .admin-content-grid > .side-stack,
  .worker-content-grid > .side-stack,
  .admin-content-grid > aside,
  .admin-browser-layout > aside,
  .admin-browser-layout > section,
  .worker-content-grid > aside {
    max-width: none;
    justify-self: stretch;
  }

  .admin-browser-detail,
  .worker-blog-browser-sidebar,
  .customer-chat-stack {
    position: static;
  }

  .customer-access-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .inbox-layout {
    grid-template-columns: 1fr;
  }

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

  .admin-filters-grid,
  .worker-filter-grid,
  .worker-create-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 780px) {
  body.panel-page {
    padding-top: 0;
  }

  .page-shell {
    width: min(100% - 24px, var(--max-width));
  }

  .page-main {
    padding-top: 18px;
  }

  .site-header-inner,
  .site-footer-inner,
  .hero-banner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand,
  .footer-copy-group,
  .footer-socials {
    width: 100%;
  }

  .customer-command-grid,
  .customer-active-order-grid,
  .customer-history-meta {
    grid-template-columns: 1fr;
  }

  .customer-command-card {
    min-height: auto;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .customer-hero-side {
    width: 100%;
    justify-items: start;
  }

  .support-chat-widget {
    right: 10px;
    bottom: 10px;
  }

  .support-chat-fab {
    min-width: 0;
    width: 56px;
  }

  .support-chat-fab:hover,
  .support-chat-fab:focus-visible {
    width: 132px;
    min-width: 132px;
  }

  .support-chat-panel {
    width: min(100vw - 14px, 320px);
  }

  .support-chat-form-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    align-self: auto;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .site-nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .site-footer p {
    font-size: 0.9rem;
  }

  .worker-blog-choice {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .worker-blog-choice-media {
    width: 78px;
    min-height: 78px;
  }

  .worker-game-showcase {
    grid-template-columns: 1fr;
  }

  .worker-profile-summary-grid {
    grid-template-columns: 1fr;
  }

  .worker-profile-summary-grid-mixed {
    grid-template-columns: 1fr;
  }

  .blog-post-image-feature {
    min-height: 240px;
  }

  .blog-feature-layout.has-image {
    grid-template-columns: 1fr;
  }

  .admin-stats-grid,
  .worker-stats-grid,
  .page-link-grid,
  .admin-filters-grid,
  .worker-filter-grid,
  .worker-create-grid,
  .worker-meta-grid,
  .worker-meta-grid-soft {
    grid-template-columns: 1fr;
  }

  .surface,
  .surface-roomy,
  .hero-banner,
  .hero-banner-roomy,
  .stat-card,
  .login-card,
  .modal-card {
    padding: 34px;
  }

  .blog-post-card {
    padding: 28px;
  }

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

  .blog-post-card-feature,
  .admin-blog-editor {
    padding: 28px;
  }

  .blog-post-card h3 {
    max-width: none;
  }

  .blog-post-summary,
  .blog-post-body {
    max-width: none;
  }

  .blog-post-topline {
    align-items: flex-start;
  }

  .orders-table {
    display: none;
  }

  .mobile-orders {
    display: grid;
  }

  .toast-host {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .toast {
    min-width: 0;
    width: 100%;
  }
}
.seller-game-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.seller-game-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  min-height: 172px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(10, 15, 24, 0.92), rgba(13, 19, 31, 0.88));
  color: #f8fbff;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.seller-game-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.28);
}

.seller-game-card.is-selected {
  border-color: rgba(34, 211, 238, 0.42);
  box-shadow: 0 22px 38px rgba(34, 211, 238, 0.12);
}

.seller-game-card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.3), rgba(249, 115, 22, 0.18));
  border: 1px solid rgba(234, 179, 8, 0.32);
  font-weight: 800;
  font-size: 1.15rem;
  color: transparent;
}

.seller-game-card-icon-valorant {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.26), rgba(168, 85, 247, 0.2));
  border-color: rgba(244, 63, 94, 0.28);
}

.seller-game-card-copy {
  display: grid;
  gap: 5px;
  align-content: start;
  min-width: 0;
}

.seller-game-card-copy strong {
  font-size: 1rem;
  line-height: 1.25;
}

.seller-game-card-copy span {
  color: rgba(226, 232, 240, 0.72);
  line-height: 1.45;
}

.seller-step-panel[data-seller-step="1"] .seller-game-card {
  min-height: 0;
  padding: 20px;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
}

.seller-step-panel[data-seller-step="1"] .seller-game-card-copy {
  gap: 8px;
}

.seller-step-panel[data-seller-step="1"] .seller-game-card-copy strong {
  font-size: 1.08rem;
}

.seller-step-panel[data-seller-step="1"] .seller-step-card .seller-step-card-head > p {
  max-width: 48ch;
}

html[data-theme="light"] .seller-game-card,
body.theme-light .seller-game-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 252, 0.96));
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 16px 32px rgba(148, 163, 184, 0.12);
}

html[data-theme="light"] .seller-game-card:hover,
body.theme-light .seller-game-card:hover {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 18px 36px rgba(59, 130, 246, 0.12);
}

html[data-theme="light"] .seller-game-card.is-selected,
body.theme-light .seller-game-card.is-selected {
  border-color: rgba(37, 99, 235, 0.36);
  box-shadow:
    0 20px 40px rgba(59, 130, 246, 0.14),
    inset 0 0 0 1px rgba(96, 165, 250, 0.18);
}

html[data-theme="light"] .seller-game-card-copy span,
body.theme-light .seller-game-card-copy span {
  color: #5d6b80;
}

html[data-theme="light"] .seller-game-card-icon,
body.theme-light .seller-game-card-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(251, 191, 36, 0.16));
  border-color: rgba(217, 119, 6, 0.24);
}

html[data-theme="light"] .seller-game-card-icon-valorant,
body.theme-light .seller-game-card-icon-valorant {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.18), rgba(168, 85, 247, 0.12));
  border-color: rgba(225, 29, 72, 0.2);
}

.seller-submission-form {
  gap: 18px;
}

.seller-form-shell {
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(7, 12, 19, 0.58);
}

.seller-form-shell-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.seller-form-shell-title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.seller-form-game-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background-color: rgba(15, 23, 42, 0.56);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  box-shadow: var(--shadow-sm);
}

.seller-form-game-logo-league {
  background-image: url("https://www.riotgames.com/darkroom/original/9a50f5b3bdcfb815580ef103ec9b6ee2:d49b78b12cf185e10127cdf81b144a00/lol-logo-rendered-hi-res.png");
}

.seller-form-game-logo-valorant {
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/thumb/f/fc/Valorant_logo_-_pink_color_version.svg/1280px-Valorant_logo_-_pink_color_version.svg.png");
}

.seller-form-shell-head h3 {
  margin: 4px 0 0;
}

html[data-theme="light"] .seller-form-game-logo,
body.theme-light .seller-form-game-logo {
  background-color: rgba(226, 232, 240, 0.72);
  border-color: rgba(148, 163, 184, 0.24);
}

.seller-page .payment-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f8fbff;
}

.seller-page .payment-chip-glyph {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.16);
  border: 1px solid rgba(34, 211, 238, 0.24);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.seller-page .payment-select-preview {
  margin-top: 10px;
}

.seller-page .mobile-orders,
.seller-page .side-panel-list {
  display: grid;
  gap: 14px;
}

.seller-page .customer-history-card,
.seller-page .side-worker-card {
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(8, 13, 22, 0.72);
}

html[data-theme="light"] .seller-page .customer-history-card,
html[data-theme="light"] .seller-page .side-worker-card,
body.theme-light .seller-page .customer-history-card,
body.theme-light .seller-page .side-worker-card,
html[data-theme="light"] .seller-overview-card,
body.theme-light .seller-overview-card {
  background: rgba(248, 250, 252, 0.96);
  color: #0f172a;
}

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

.seller-overview-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.seller-overview-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  min-height: 168px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(8, 13, 22, 0.72);
  text-decoration: none;
  color: #f8fbff;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.seller-overview-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow: 0 22px 38px rgba(2, 8, 23, 0.3);
}

.seller-overview-card strong {
  font-size: 1.05rem;
  line-height: 1.35;
}

.seller-overview-card p {
  margin: 0;
}

.seller-overview-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.seller-overview-status-grid,
.seller-overview-notes {
  display: grid;
  gap: 12px;
}

body[data-admin-page="workers"] .admin-workers-layout {
  display: grid;
  grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
  grid-template-areas:
    "controls controls"
    "picker detail";
  gap: 24px;
  align-items: start;
}

body[data-admin-page="workers"] .admin-workers-controls {
  grid-area: controls;
  display: grid;
  gap: 18px;
}

body[data-admin-page="workers"] .admin-workers-picker {
  grid-area: picker;
  position: static;
}

body[data-admin-page="workers"] .admin-workers-detail {
  grid-area: detail;
  min-height: 720px;
}

body[data-admin-page="workers"] .admin-workers-controls #admin-create-shell {
  margin-top: 0 !important;
}

body[data-admin-page="workers"] .admin-workers-controls .surface-toolbar[style] {
  margin-top: 0 !important;
}

body[data-admin-page="workers"] .admin-browser-layout > section:first-child,
body[data-admin-page="workers"] .admin-workers-controls {
  position: static !important;
  top: auto !important;
}

.seller-profile-side {
  position: sticky;
  top: 96px;
}

@media (max-width: 900px) {
  .seller-overview-flow,
  .seller-hero-summary,
  .seller-overview-command-grid,
  .seller-overview-shell,
  .seller-game-picker,
  .seller-overview-actions,
  .seller-overview-stats,
  .seller-step-grid,
  .seller-step-grid-final,
  .seller-step-form-grid,
  .seller-step-form-grid-wide,
  .seller-step-inline-grid {
    grid-template-columns: 1fr;
  }

  .seller-step-panel[data-seller-step="1"] .seller-step-grid {
    grid-template-columns: 1fr;
  }

  .seller-form-shell-head {
    flex-direction: column;
  }

  .seller-step-card-head,
  .seller-wizard-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .seller-overview-hero-grid,
  .seller-workspace-grid,
  .seller-bottom-grid,
  .seller-profile-layout,
  .seller-browser-layout {
    grid-template-columns: 1fr;
  }

  .seller-side-rail,
  .seller-profile-side {
    position: static;
  }
}

@media (max-width: 1320px) {
  .seller-submissions-layout {
    grid-template-columns: 1fr;
  }

  .seller-submissions-layout .seller-side-rail {
    position: static;
  }
}

@media (max-width: 1180px) {
  .seller-step-grid,
  .seller-step-grid-final,
  .seller-step-form-grid,
  .seller-step-form-grid-wide,
  .seller-step-inline-grid {
    grid-template-columns: 1fr;
  }

  .seller-game-picker-inline {
    grid-template-columns: 1fr;
  }

  .seller-step-panel[data-seller-step="1"] .seller-game-picker.seller-game-picker-inline {
    grid-template-columns: 1fr;
  }
}

body[data-admin-page] {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), transparent 26%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 24%),
    linear-gradient(180deg, color-mix(in srgb, var(--page-background) 96%, white 4%), color-mix(in srgb, var(--page-background) 92%, #dbeafe 8%));
}

body[data-admin-page] .page-main {
  display: grid;
  gap: 24px;
}

body[data-admin-page] .site-header-inner {
  align-items: flex-start;
  gap: 18px;
}

body[data-admin-page] .site-nav {
  flex: 1 1 auto;
  align-content: center;
  gap: 10px;
  padding: 6px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 82%, white 18%);
  border: 1px solid color-mix(in srgb, var(--border) 72%, white 28%);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

body[data-admin-page] .site-nav a {
  min-height: 40px;
  padding-inline: 14px;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 700;
}

body[data-admin-page] .hero-banner,
body[data-admin-page] .hero-banner-roomy {
  position: relative;
  overflow: hidden;
  padding: 34px 36px;
  border-radius: 30px;
  border: 1px solid color-mix(in srgb, var(--border) 70%, white 30%);
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 26%),
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 96%, white 4%), color-mix(in srgb, var(--surface-muted) 90%, white 10%));
  box-shadow:
    0 26px 56px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

body[data-admin-page] .hero-banner::before {
  content: "";
  position: absolute;
  inset: auto -8% -28% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.14), transparent 68%);
  pointer-events: none;
}

body[data-admin-page] .stats-grid {
  gap: 16px;
}

body[data-admin-page] .stat-card {
  padding: 30px 28px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 97%, white 3%), color-mix(in srgb, var(--surface-muted) 92%, white 8%));
  box-shadow:
    0 16px 32px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

body[data-admin-page] .surface {
  border-radius: 28px;
  border: 1px solid color-mix(in srgb, var(--border) 76%, white 24%);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body[data-admin-page] .surface-toolbar {
  align-items: start;
  gap: 18px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 72%, white 28%);
}

body[data-admin-page] .surface-toolbar h2 {
  font-size: 1.15rem;
}

body[data-admin-page] .surface-toolbar p.muted {
  max-width: 56ch;
}

body[data-admin-page] .admin-split-layout {
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 28px;
}

body[data-admin-page] .admin-sidebar {
  top: 96px;
}

body[data-admin-page] .admin-main-column {
  gap: 28px;
}

body[data-admin-page] .page-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body[data-admin-page] .overview-link-card {
  min-height: 204px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 98%, white 2%), color-mix(in srgb, var(--surface-muted) 93%, white 7%));
}

body[data-admin-page] .content-grid,
body[data-admin-page] .admin-content-grid {
  gap: 24px;
}

body[data-admin-page] .admin-command-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

body[data-admin-page] .admin-workspace-organizer,
body[data-admin-page] .admin-control-dock,
body[data-admin-page] .admin-smart-action-rail {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 96%, white 4%), color-mix(in srgb, var(--surface-muted) 90%, white 10%));
}

body[data-admin-page] .admin-workspace-organizer::before,
body[data-admin-page] .admin-control-dock::before,
body[data-admin-page] .admin-smart-action-rail::before {
  content: "";
  position: absolute;
  inset: auto -8% -28% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12), transparent 70%);
  pointer-events: none;
}

body[data-admin-page] .admin-workspace-organizer::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

body[data-admin-page] .admin-workspace-grid,
body[data-admin-page] .admin-control-dock-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

body[data-admin-page] .admin-workspace-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
}

body[data-admin-page] .admin-control-dock-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-admin-page] .admin-workspace-card,
body[data-admin-page] .admin-control-card,
body[data-admin-page] .admin-side-dock-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, white 28%);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, white 6%), color-mix(in srgb, var(--surface-muted) 90%, white 10%));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 12px 28px rgba(15, 23, 42, 0.05);
}

body[data-admin-page] .admin-workspace-card h2,
body[data-admin-page] .admin-worker-applicant-head h3 {
  margin: 0;
  font-size: 1.24rem;
  letter-spacing: -0.03em;
}

body[data-admin-page] .admin-workspace-card p,
body[data-admin-page] .admin-control-card p,
body[data-admin-page] .admin-side-dock-card p,
body[data-admin-page] .admin-worker-applicant-note {
  margin: 0;
}

body[data-admin-page] .admin-workspace-actions,
body[data-admin-page] .admin-control-actions,
body[data-admin-page] .admin-workspace-links,
body[data-admin-page] .admin-side-dock-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-admin-page] .admin-workspace-tags,
body[data-admin-page] .admin-control-signals,
body[data-admin-page] .admin-side-dock-stats,
body[data-admin-page] .admin-shortcut-list,
body[data-admin-page] .admin-worker-applicant-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-admin-page] .admin-workspace-tags span,
body[data-admin-page] .admin-control-signals span,
body[data-admin-page] .admin-side-dock-stats span,
body[data-admin-page] .admin-shortcut-list span,
body[data-admin-page] .admin-worker-applicant-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.75rem 0.95rem;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--border) 70%, white 30%);
  background: color-mix(in srgb, var(--surface) 90%, white 10%);
  color: var(--text-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

body[data-admin-page] .admin-workspace-map {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid color-mix(in srgb, var(--border) 72%, white 28%);
}

body[data-admin-page] .admin-workspace-group {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, white 28%);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, white 8%), color-mix(in srgb, var(--surface-muted) 90%, white 10%));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 22px rgba(15, 23, 42, 0.04);
}

body[data-admin-page] .admin-workspace-group strong {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

body[data-admin-page] .admin-workspace-organizer {
  display: grid;
  gap: 24px;
  padding: 32px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 12% 14%, rgba(56, 189, 248, 0.14), transparent 20%),
    radial-gradient(circle at 88% 18%, rgba(34, 197, 94, 0.1), transparent 18%),
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 96%, white 4%), color-mix(in srgb, var(--surface-muted) 90%, white 10%));
  box-shadow:
    0 28px 54px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body[data-admin-page] .admin-workspace-card {
  position: relative;
  overflow: hidden;
  min-height: 224px;
  padding: 24px;
  gap: 16px;
  align-content: start;
  grid-template-rows: auto auto 1fr;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body[data-admin-page] .admin-workspace-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 52%, white 48%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 20px 36px rgba(15, 23, 42, 0.08);
}

body[data-admin-page] .admin-workspace-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.96), rgba(59, 130, 246, 0.16));
}

body[data-admin-page] .admin-workspace-card::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -48px;
  width: 144px;
  height: 144px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.26), transparent 68%);
  pointer-events: none;
}

body[data-admin-page] .admin-workspace-card:nth-child(1) {
  grid-column: span 6;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 38%),
    linear-gradient(160deg, color-mix(in srgb, var(--surface) 95%, white 5%), color-mix(in srgb, var(--surface-muted) 88%, white 12%));
}

body[data-admin-page] .admin-workspace-card:nth-child(2)::before {
  background: linear-gradient(180deg, rgba(251, 146, 60, 0.96), rgba(249, 115, 22, 0.14));
}

body[data-admin-page] .admin-workspace-card:nth-child(2) {
  grid-column: span 3;
  background:
    radial-gradient(circle at top right, rgba(251, 146, 60, 0.14), transparent 40%),
    linear-gradient(165deg, color-mix(in srgb, var(--surface) 96%, white 4%), color-mix(in srgb, var(--surface-muted) 90%, white 10%));
}

body[data-admin-page] .admin-workspace-card:nth-child(3)::before {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.96), rgba(22, 163, 74, 0.14));
}

body[data-admin-page] .admin-workspace-card:nth-child(3) {
  grid-column: span 3;
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.14), transparent 40%),
    linear-gradient(165deg, color-mix(in srgb, var(--surface) 96%, white 4%), color-mix(in srgb, var(--surface-muted) 90%, white 10%));
}

body[data-admin-page] .admin-workspace-card .panel-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  margin-bottom: -2px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.4);
  color: color-mix(in srgb, var(--accent) 72%, var(--text) 28%);
  letter-spacing: 0.16em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body[data-admin-page] .admin-workspace-card:nth-child(2) .panel-kicker {
  color: color-mix(in srgb, var(--warning) 74%, var(--text) 26%);
}

body[data-admin-page] .admin-workspace-card:nth-child(3) .panel-kicker {
  color: color-mix(in srgb, var(--success) 72%, var(--text) 28%);
}

body[data-admin-page] .admin-workspace-card h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.3rem);
  line-height: 0.98;
  max-width: 13ch;
}

body[data-admin-page] .admin-workspace-card .muted {
  max-width: 54ch;
  font-size: 0.98rem;
  line-height: 1.8;
}

body[data-admin-page] .admin-workspace-actions {
  display: grid;
  grid-template-columns: 1fr;
  align-self: end;
  gap: 12px;
}

body[data-admin-page] .admin-workspace-actions .btn {
  width: 100%;
  min-height: 54px;
  justify-content: flex-start;
  padding-inline: 1rem;
  border-radius: 18px;
  border-color: color-mix(in srgb, var(--border) 70%, white 30%);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, white 8%), color-mix(in srgb, var(--surface-muted) 90%, white 10%));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

body[data-admin-page] .admin-workspace-actions .btn:hover {
  border-color: color-mix(in srgb, var(--accent) 52%, white 48%);
}

body[data-admin-page] .admin-workspace-tags {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-self: end;
}

body[data-admin-page] .admin-workspace-tags span {
  justify-content: flex-start;
  gap: 10px;
  min-height: 58px;
  padding: 0.9rem 1rem;
  font-weight: 600;
  line-height: 1.35;
}

body[data-admin-page] .admin-workspace-tags span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 82%, white 18%), color-mix(in srgb, var(--accent) 42%, transparent 58%));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-soft) 62%, transparent 38%);
  flex: 0 0 auto;
}

body[data-admin-page] .admin-workspace-group {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

body[data-admin-page] .admin-workspace-group:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 40%, white 60%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 30px rgba(15, 23, 42, 0.06);
}

body[data-admin-page] .admin-workspace-group::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 76%, white 24%), transparent 86%);
}

body[data-admin-page] .admin-workspace-group:nth-child(2)::before {
  background: linear-gradient(90deg, color-mix(in srgb, var(--warning) 78%, white 22%), transparent 86%);
}

body[data-admin-page] .admin-workspace-group:nth-child(3)::before {
  background: linear-gradient(90deg, color-mix(in srgb, var(--danger) 74%, white 26%), transparent 86%);
}

body[data-admin-page] .admin-workspace-group:nth-child(4)::before {
  background: linear-gradient(90deg, color-mix(in srgb, var(--info) 76%, white 24%), transparent 86%);
}

body[data-admin-page] .admin-workspace-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

body[data-admin-page] .admin-workspace-link,
body[data-admin-page] .admin-side-dock-links a,
body[data-admin-page] .admin-global-search-result,
body[data-admin-page] .admin-command-result,
body[data-admin-page] .admin-smart-action-card {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, white 28%);
  background: color-mix(in srgb, var(--surface) 90%, white 10%);
  color: var(--text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

body[data-admin-page] .admin-workspace-link:hover,
body[data-admin-page] .admin-side-dock-links a:hover,
body[data-admin-page] .admin-global-search-result:hover,
body[data-admin-page] .admin-command-result:hover,
body[data-admin-page] .admin-smart-action-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 58%, white 42%);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

body[data-admin-page] .admin-workspace-link.is-active,
body[data-admin-page] .admin-command-result.is-active {
  border-color: color-mix(in srgb, var(--accent) 66%, white 34%);
  background: color-mix(in srgb, var(--accent-soft) 34%, var(--surface) 66%);
  color: var(--accent);
}

body[data-admin-page] .admin-control-actions .btn {
  flex: 1 1 140px;
  justify-content: center;
}

body[data-admin-page] .admin-global-search-shell,
body[data-admin-page] .admin-command-palette-body {
  display: grid;
  gap: 12px;
}

body[data-admin-page] .admin-global-search-shell input,
body[data-admin-page] .admin-command-palette-body input {
  min-height: 58px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, white 28%);
  background: color-mix(in srgb, var(--surface) 92%, white 8%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

body[data-admin-page] .admin-global-search-results,
body[data-admin-page] .admin-command-results {
  display: grid;
  gap: 10px;
  min-height: 126px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, white 28%);
  background: color-mix(in srgb, var(--surface-muted) 92%, white 8%);
}

body[data-admin-page] .admin-global-search-results {
  max-height: 280px;
  overflow: auto;
}

body[data-admin-page] .admin-global-search-result,
body[data-admin-page] .admin-command-result,
body[data-admin-page] .admin-smart-action-card {
  width: 100%;
}

body[data-admin-page] .admin-workspace-link {
  position: relative;
  min-height: 54px;
  padding: 0.95rem 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, white 8%), color-mix(in srgb, var(--surface-muted) 90%, white 10%));
}

body[data-admin-page] .admin-workspace-link::after {
  content: ">";
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform 160ms ease, color 160ms ease;
}

body[data-admin-page] .admin-workspace-link:hover::after,
body[data-admin-page] .admin-workspace-link.is-active::after {
  transform: translateX(2px);
  color: currentColor;
}

body[data-admin-page] .admin-global-search-result strong,
body[data-admin-page] .admin-command-result strong,
body[data-admin-page] .admin-smart-action-card strong {
  display: block;
  font-size: 0.94rem;
}

body[data-admin-page] .admin-global-search-result span,
body[data-admin-page] .admin-command-result span,
body[data-admin-page] .admin-smart-action-card span {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
}

body[data-admin-page] .admin-smart-action-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body[data-admin-page] .admin-command-palette-card {
  border-radius: 28px;
  border: 1px solid color-mix(in srgb, var(--border) 74%, white 26%);
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 30%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, white 4%), color-mix(in srgb, var(--surface-muted) 90%, white 10%));
}

body[data-admin-page] .admin-command-group-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.35rem 0.25rem 0;
}

body[data-admin-page] .admin-command-result {
  width: 100%;
  text-align: left;
  cursor: pointer;
}

body[data-admin-page] .admin-side-dock {
  position: fixed;
  top: 124px;
  right: 24px;
  z-index: 18;
  width: 260px;
  display: none;
  gap: 14px;
}

body[data-admin-page] .admin-worker-applicant-shell {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, white 28%);
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.12), transparent 42%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, white 6%), color-mix(in srgb, var(--surface-muted) 90%, white 10%));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 16px 30px rgba(15, 23, 42, 0.07);
}

body[data-admin-page] .admin-worker-applicant-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

body[data-admin-page] .admin-worker-applicant-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

body[data-admin-page] .admin-worker-applicant-shell .card-actions a[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
}

@media (min-width: 1880px) {
  body[data-admin-page] .admin-side-dock {
    display: grid;
  }
}

@media (max-width: 1320px) {
  body[data-admin-page] .admin-workspace-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-admin-page] .admin-workspace-card:nth-child(1) {
    grid-column: 1 / -1;
  }

  body[data-admin-page] .admin-workspace-card:nth-child(2),
  body[data-admin-page] .admin-workspace-card:nth-child(3) {
    grid-column: span 1;
  }

  body[data-admin-page] .admin-smart-action-grid {
    grid-template-columns: 1fr;
  }

  body[data-admin-page] .admin-workspace-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-admin-page] .admin-control-dock-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body[data-admin-page] .admin-workspace-grid {
    grid-template-columns: 1fr;
  }

  body[data-admin-page] .admin-workspace-card:nth-child(1),
  body[data-admin-page] .admin-workspace-card:nth-child(2),
  body[data-admin-page] .admin-workspace-card:nth-child(3) {
    grid-column: span 1;
  }

  body[data-admin-page] .admin-workspace-actions,
  body[data-admin-page] .admin-workspace-tags {
    grid-template-columns: 1fr;
  }

  body[data-admin-page] .admin-worker-applicant-head,
  body[data-admin-page] .admin-control-actions,
  body[data-admin-page] .admin-side-dock-links {
    flex-direction: column;
  }

  body[data-admin-page] .admin-workspace-map {
    grid-template-columns: 1fr;
  }
}

body[data-admin-page] .admin-ops-card {
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface-muted) 90%, white 10%);
}

body[data-admin-page] .admin-detail-subsection {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

body[data-admin-page="orders"] .admin-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-admin-page] .admin-browser-layout {
  display: grid;
  grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
  grid-template-areas:
    "controls detail"
    "picker detail";
  gap: 24px;
  align-items: start;
}

body[data-admin-page] .admin-browser-layout > section:first-child {
  grid-area: controls;
}

body[data-admin-page] .admin-browser-layout > aside {
  grid-area: picker;
  max-width: none;
  justify-self: stretch;
}

body[data-admin-page] .admin-browser-layout > .admin-browser-detail {
  grid-area: detail;
}

body[data-admin-page] .admin-picker-list {
  max-height: 68vh;
}

body[data-admin-page] .admin-browser-detail,
body[data-admin-page] .admin-sidebar {
  top: 96px;
}

body[data-admin-page="orders"] .page-main,
body[data-admin-page="payouts"] .page-main,
body[data-admin-page="workers"] .page-main,
body[data-admin-page="accounts"] .page-main,
body[data-admin-page="marketplace"] .page-main,
body[data-admin-page="blog"] .page-main,
body[data-admin-page="profile"] .page-main {
  max-width: 1500px;
}

body[data-admin-page="orders"] .table-shell {
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

body[data-admin-page="orders"] .filters-grid,
body[data-admin-page="workers"] .worker-filter-grid,
body[data-admin-page="accounts"] .worker-filter-grid {
  padding: 20px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface-muted) 92%, white 8%);
  border: 1px solid color-mix(in srgb, var(--border) 74%, white 26%);
}

body[data-admin-page="payouts"] .admin-content-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.8fr);
}

body[data-admin-page="seller-applications"] .page-main {
  max-width: 1540px;
}

body[data-admin-page="worker-applications"] .page-main {
  max-width: 1540px;
}

body[data-admin-page="reports"] .page-main {
  max-width: 1540px;
}

body[data-admin-page="seller-applications"] .admin-browser-layout {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas:
    "controls controls"
    "picker detail";
}

body[data-admin-page="worker-applications"] .admin-browser-layout {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas:
    "controls controls"
    "picker detail";
}

body[data-admin-page="reports"] .admin-browser-layout {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas:
    "controls controls"
    "picker detail";
}

body[data-admin-page="seller-applications"] .admin-seller-application-controls {
  display: grid;
  gap: 22px;
}

body[data-admin-page="worker-applications"] .admin-worker-application-controls {
  display: grid;
  gap: 22px;
}

body[data-admin-page="reports"] .admin-customer-report-controls {
  display: grid;
  gap: 22px;
}

body[data-admin-page="seller-applications"] .seller-application-filter-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 20px;
  align-items: stretch;
}

body[data-admin-page="worker-applications"] .worker-application-filter-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 20px;
  align-items: stretch;
}

body[data-admin-page="reports"] .customer-report-filter-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 20px;
  align-items: stretch;
}

body[data-admin-page="seller-applications"] .seller-application-filter-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.7fr);
  gap: 16px 18px;
  padding: 24px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface-muted) 92%, white 8%);
  border: 1px solid color-mix(in srgb, var(--border) 74%, white 26%);
}

body[data-admin-page="worker-applications"] .worker-application-filter-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.7fr);
  gap: 16px 18px;
  padding: 24px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface-muted) 92%, white 8%);
  border: 1px solid color-mix(in srgb, var(--border) 74%, white 26%);
}

body[data-admin-page="reports"] .customer-report-filter-grid {
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(180px, 0.55fr));
  gap: 16px 18px;
  padding: 24px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface-muted) 92%, white 8%);
  border: 1px solid color-mix(in srgb, var(--border) 74%, white 26%);
}

body[data-admin-page="seller-applications"] .seller-application-filter-grid > div,
body[data-admin-page="seller-applications"] .seller-application-filter-search {
  min-width: 0;
}

body[data-admin-page="worker-applications"] .worker-application-filter-grid > div,
body[data-admin-page="worker-applications"] .worker-application-filter-search {
  min-width: 0;
}

body[data-admin-page="reports"] .customer-report-filter-grid > div,
body[data-admin-page="reports"] .customer-report-filter-search {
  min-width: 0;
}

body[data-admin-page="seller-applications"] .seller-application-filter-grid input,
body[data-admin-page="seller-applications"] .seller-application-filter-grid select {
  min-height: 60px;
}

body[data-admin-page="worker-applications"] .worker-application-filter-grid input,
body[data-admin-page="worker-applications"] .worker-application-filter-grid select {
  min-height: 60px;
}

body[data-admin-page="reports"] .customer-report-filter-grid input,
body[data-admin-page="reports"] .customer-report-filter-grid select {
  min-height: 60px;
}

body[data-admin-page="seller-applications"] .seller-application-filter-note {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, white 28%);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, transparent 12%), color-mix(in srgb, var(--surface-muted) 92%, transparent 8%)),
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.12), transparent 46%);
}

body[data-admin-page="worker-applications"] .worker-application-filter-note {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, white 28%);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, transparent 12%), color-mix(in srgb, var(--surface-muted) 92%, transparent 8%)),
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.12), transparent 46%);
}

body[data-admin-page="reports"] .customer-report-filter-note {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, white 28%);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, transparent 12%), color-mix(in srgb, var(--surface-muted) 92%, transparent 8%)),
    radial-gradient(circle at top right, rgba(244, 114, 182, 0.1), transparent 46%);
}

body[data-admin-page="seller-applications"] .seller-application-filter-note h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

body[data-admin-page="worker-applications"] .worker-application-filter-note h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

body[data-admin-page="reports"] .customer-report-filter-note h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

body[data-admin-page="seller-applications"] .seller-application-filter-note p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

body[data-admin-page="worker-applications"] .worker-application-filter-note p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

body[data-admin-page="reports"] .customer-report-filter-note p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

body[data-admin-page="seller-applications"] .seller-application-filter-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-admin-page="worker-applications"] .worker-application-filter-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-admin-page="reports"] .customer-report-filter-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-admin-page="seller-applications"] .admin-browser-layout > aside {
  position: sticky;
  top: 128px;
}

body[data-admin-page="worker-applications"] .admin-browser-layout > aside {
  position: sticky;
  top: 128px;
}

body[data-admin-page="reports"] .admin-browser-layout > aside {
  position: sticky;
  top: 128px;
}

body[data-admin-page="seller-applications"] .admin-browser-layout > .admin-browser-detail {
  min-height: 680px;
}

body[data-admin-page="worker-applications"] .admin-browser-layout > .admin-browser-detail {
  min-height: 680px;
}

body[data-admin-page="reports"] .admin-browser-layout > .admin-browser-detail {
  min-height: 680px;
}

body[data-admin-page="workers"] .admin-browser-layout > section:first-child,
body[data-admin-page="accounts"] .admin-browser-layout > section:first-child {
  position: sticky;
  top: 96px;
}

body[data-admin-page="workers"] .admin-browser-layout > aside,
body[data-admin-page="accounts"] .admin-browser-layout > aside,
body[data-admin-page="blog"] .admin-browser-layout > aside {
  position: sticky;
  top: 420px;
}

body[data-admin-page="workers"] .admin-browser-layout > .admin-browser-detail,
body[data-admin-page="accounts"] .admin-browser-layout > .admin-browser-detail,
body[data-admin-page="blog"] .admin-browser-layout > .admin-browser-detail {
  min-height: 620px;
}

body[data-admin-page="workers"] .admin-browser-layout > section:first-child .surface-toolbar,
body[data-admin-page="accounts"] .admin-browser-layout > section:first-child .surface-toolbar,
body[data-admin-page="blog"] .admin-browser-layout > section:first-child .surface-toolbar {
  margin-bottom: 20px;
}

body[data-admin-page="workers"] .admin-browser-layout > section:first-child,
body[data-admin-page="accounts"] .admin-browser-layout > section:first-child,
body[data-admin-page="blog"] .admin-browser-layout > section:first-child {
  display: grid;
  gap: 18px;
}

body[data-admin-page="workers"] .admin-browser-layout > aside .surface-toolbar,
body[data-admin-page="accounts"] .admin-browser-layout > aside .surface-toolbar,
body[data-admin-page="blog"] .admin-browser-layout > aside .surface-toolbar {
  margin-bottom: 12px;
}

body[data-admin-page="profile"] .admin-content-grid,
body[data-admin-page="blog"] .admin-content-grid {
  align-items: start;
}

@media (max-width: 1200px) {
  body[data-admin-page] .page-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-admin-page] .admin-command-grid {
    grid-template-columns: 1fr;
  }

  body[data-admin-page] .admin-browser-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "controls"
      "picker"
      "detail";
  }

  body[data-admin-page="workers"] .admin-browser-layout > section:first-child,
  body[data-admin-page="accounts"] .admin-browser-layout > section:first-child,
  body[data-admin-page="blog"] .admin-browser-layout > section:first-child,
  body[data-admin-page="workers"] .admin-browser-layout > aside,
  body[data-admin-page="accounts"] .admin-browser-layout > aside,
  body[data-admin-page="blog"] .admin-browser-layout > aside {
    position: static;
  }

  body[data-admin-page="seller-applications"] .seller-application-filter-shell,
  body[data-admin-page="seller-applications"] .seller-application-filter-grid,
  body[data-admin-page="worker-applications"] .worker-application-filter-shell,
  body[data-admin-page="worker-applications"] .worker-application-filter-grid,
  body[data-admin-page="reports"] .customer-report-filter-shell,
  body[data-admin-page="reports"] .customer-report-filter-grid {
    grid-template-columns: 1fr;
  }

  body[data-admin-page="seller-applications"] .admin-browser-layout > aside,
  body[data-admin-page="worker-applications"] .admin-browser-layout > aside,
  body[data-admin-page="reports"] .admin-browser-layout > aside {
    position: static;
  }
}

body.marketplace-page .page-main {
  gap: 28px;
  max-width: 1480px;
}

body.marketplace-page {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(217, 70, 239, 0.09), transparent 24%),
    linear-gradient(180deg, rgba(5, 10, 24, 0.98), rgba(9, 14, 30, 0.98));
}

.marketplace-hero-banner {
  position: relative;
  overflow: hidden;
  align-items: start;
  min-height: 280px;
  width: calc(100% + 32px);
  margin-inline: -16px;
  border-radius: 0;
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-left: 0;
  border-right: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(56, 189, 248, 0.18), transparent 24%),
    radial-gradient(circle at 84% 22%, rgba(217, 70, 239, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(7, 12, 28, 0.98), rgba(15, 23, 42, 0.96) 58%, rgba(36, 14, 67, 0.92));
  box-shadow:
    0 24px 60px rgba(2, 6, 23, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.marketplace-hero-banner::before,
.marketplace-hero-banner::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.marketplace-hero-banner::before {
  width: 420px;
  height: 420px;
  right: -140px;
  top: -210px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 68%);
}

.marketplace-hero-banner::after {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.16), transparent 68%);
}

.marketplace-hero-banner > div:first-child {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.marketplace-hero-banner h1 {
  max-width: 15ch;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.marketplace-hero-banner .panel-subtitle {
  max-width: 60ch;
  font-size: 1.02rem;
  line-height: 1.8;
}

.marketplace-hero-side {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 12px;
  padding-top: 8px;
}

.marketplace-hero-side .customer-hero-chip {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 15, 35, 0.58);
  backdrop-filter: blur(12px);
}

.marketplace-controls-surface {
  border-radius: 30px;
  border: 1px solid rgba(99, 102, 241, 0.14);
  background: linear-gradient(180deg, rgba(12, 18, 35, 0.96), rgba(9, 14, 27, 0.94));
  box-shadow:
    0 22px 44px rgba(2, 6, 23, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  gap: 20px;
}

.marketplace-controls-surface .surface-toolbar {
  margin-bottom: 0;
  padding-bottom: 18px;
}

.marketplace-controls {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.marketplace-controls > div {
  display: grid;
  gap: 8px;
}

.marketplace-controls > div:first-child {
  grid-column: span 2;
}

.marketplace-controls label {
  color: #8b5cf6;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.marketplace-controls input,
.marketplace-controls select {
  min-height: 58px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(99, 102, 241, 0.16);
  background: rgba(5, 10, 25, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.marketplace-controls-action {
  display: flex;
  justify-content: stretch;
  align-items: end;
}

.marketplace-controls-action .btn {
  min-height: 58px;
  padding-inline: 1.2rem;
  width: 100%;
}

.marketplace-results-shell {
  display: grid;
  gap: 16px;
}

.marketplace-results-meta {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.14);
  background: rgba(9, 14, 30, 0.72);
  font-size: 0.94rem;
}

.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.marketplace-card {
  display: grid;
  gap: 10px;
  padding: 11px;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(99, 102, 241, 0.14);
  background: linear-gradient(180deg, rgba(12, 18, 36, 0.97), rgba(9, 14, 28, 0.95));
  box-shadow:
    0 22px 44px rgba(2, 6, 23, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.marketplace-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.28);
  box-shadow:
    0 28px 56px rgba(2, 6, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.marketplace-card-game-league {
  border-color: rgba(59, 130, 246, 0.18);
}

.marketplace-card-game-valorant {
  border-color: rgba(244, 63, 94, 0.18);
}

.marketplace-card-media {
  position: relative;
  overflow: hidden;
  min-height: 142px;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 46%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.98), rgba(31, 41, 55, 0.92));
}

.marketplace-card-media img,
.marketplace-card-fallback {
  width: 100%;
  height: 100%;
  min-height: 142px;
}

.marketplace-card-media img {
  display: block;
  object-fit: cover;
  transform: scale(1.01);
}

.marketplace-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 22, 0.02), rgba(5, 10, 22, 0.12) 46%, rgba(5, 10, 22, 0.84));
  pointer-events: none;
}

.marketplace-price-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  padding: 0.75rem 0.9rem;
  border-radius: 18px;
  background: rgba(7, 12, 28, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.98);
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.28);
}

.marketplace-card-fallback {
  display: grid;
  place-items: center;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: 0.08em;
}

.marketplace-card-badges {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.marketplace-card-body {
  display: grid;
  gap: 10px;
  align-content: start;
  grid-template-rows: auto auto auto auto 1fr;
  min-height: 0;
}

.marketplace-card-seller {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.marketplace-seller-chip,
.marketplace-seller-identity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.marketplace-seller-chip strong,
.marketplace-seller-identity strong {
  display: block;
  font-size: 0.94rem;
}

.marketplace-seller-chip p,
.marketplace-seller-identity p {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.marketplace-card-rating,
.marketplace-seller-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.marketplace-seller-rating-button {
  justify-content: flex-start;
  width: fit-content;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.marketplace-seller-rating-button:hover {
  color: var(--text);
}

.marketplace-seller-avatar {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.6);
  flex-shrink: 0;
}

.marketplace-seller-avatar-fallback {
  display: grid;
  place-items: center;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
}

.marketplace-stars {
  color: rgba(250, 204, 21, 0.94);
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}

.marketplace-card-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.marketplace-card-topline > div {
  display: grid;
  gap: 6px;
}

.marketplace-card-price-stack {
  display: grid;
  gap: 5px;
  justify-items: end;
  align-content: start;
  min-width: 94px;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  background:
    linear-gradient(180deg, rgba(10, 15, 28, 0.96), rgba(15, 23, 42, 0.88)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.16), transparent 55%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.marketplace-card-price-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.marketplace-card-price {
  white-space: nowrap;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.98);
}

.marketplace-card-topline h3 {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.22;
}

.marketplace-card-subline {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.marketplace-card-copy {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9rem;
}

.marketplace-card-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.marketplace-card-facts div {
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.44);
}

.marketplace-card-facts dt {
  margin: 0 0 6px;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.marketplace-card-facts dd {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}

.marketplace-card-game-league .marketplace-card-media {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.26), transparent 44%),
    linear-gradient(160deg, rgba(7, 20, 42, 0.98), rgba(20, 35, 68, 0.92));
}

.marketplace-card-game-valorant .marketplace-card-media {
  background:
    radial-gradient(circle at top left, rgba(244, 63, 94, 0.22), transparent 44%),
    linear-gradient(160deg, rgba(34, 10, 24, 0.98), rgba(71, 20, 43, 0.92));
}

.marketplace-card-game-league .marketplace-price-badge {
  border-color: rgba(96, 165, 250, 0.28);
}

.marketplace-card-game-valorant .marketplace-price-badge {
  border-color: rgba(251, 113, 133, 0.28);
}

.marketplace-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 6px;
  margin-top: auto;
}

.marketplace-card-footer .btn {
  min-height: 46px;
  padding-inline: 1rem;
}

.marketplace-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.marketplace-detail-shell {
  display: grid;
  gap: 22px;
}

.marketplace-detail-back-row {
  display: flex;
  justify-content: flex-start;
}

.marketplace-detail-frame-header {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.marketplace-back-link {
  min-height: 48px;
}

.marketplace-detail-block {
  display: grid;
  gap: 28px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.marketplace-detail-top,
.marketplace-detail-lower {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
}

.marketplace-detail-lower {
  grid-template-columns: minmax(0, 1fr);
}

.marketplace-detail-media-panel,
.marketplace-detail-summary-panel,
.marketplace-detail-section {
  display: grid;
  gap: 18px;
}

.marketplace-detail-media-panel {
  min-width: 0;
}

.marketplace-detail-summary-panel {
  align-content: start;
}

.marketplace-detail-summary-panel {
  position: sticky;
  top: 110px;
}

.marketplace-detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 28px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 46%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.98), rgba(31, 41, 55, 0.92));
}

.marketplace-detail-hero img,
.marketplace-detail-hero .marketplace-card-fallback {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.marketplace-detail-hero img {
  display: block;
  object-fit: cover;
  cursor: zoom-in;
}

.marketplace-proof-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
}

.marketplace-proof-strip {
  display: grid;
  gap: 14px;
}

.marketplace-proof-card {
  appearance: none;
  padding: 0;
  overflow: hidden;
  min-height: 140px;
  border-radius: 22px;
  border: 1px solid rgba(99, 102, 241, 0.14);
  background: rgba(7, 12, 28, 0.82);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  flex: 0 0 150px;
  scroll-snap-align: start;
}

.marketplace-proof-card:hover,
.marketplace-proof-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.34);
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.24);
}

.marketplace-proof-card img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  display: block;
  object-fit: cover;
}

.marketplace-gallery-nav,
.marketplace-gallery-magnify {
  position: absolute;
  z-index: 2;
  min-height: 42px;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(6, 10, 24, 0.78);
  color: #f8fafc;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.marketplace-gallery-nav {
  top: 50%;
  transform: translateY(-50%);
}

.marketplace-gallery-nav-prev {
  left: 18px;
}

.marketplace-gallery-nav-next {
  right: 18px;
}

.marketplace-gallery-magnify {
  right: 18px;
  bottom: 18px;
}

.marketplace-gallery-counter {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(6, 10, 24, 0.74);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #f8fafc;
  font-weight: 700;
}

.marketplace-detail-media-meta,
.marketplace-detail-section-grid-single {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.marketplace-inline-panel-tight {
  gap: 10px;
  min-height: 0;
}

.marketplace-inline-panel-tight h3,
.marketplace-purchase-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.marketplace-detail-section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.marketplace-detail-facts {
  display: grid;
  gap: 12px;
  margin: 0;
}

.marketplace-detail-facts div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 13px 15px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.44);
}

.marketplace-detail-facts dt {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.marketplace-detail-facts dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  color: var(--text);
}

.marketplace-detail-title {
  display: grid;
  gap: 12px;
}

.marketplace-detail-summary-card,
.marketplace-purchase-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(124, 58, 237, 0.14);
  background:
    linear-gradient(180deg, rgba(13, 19, 34, 0.96), rgba(8, 12, 23, 0.92)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 32%);
  box-shadow: 0 22px 42px rgba(2, 6, 23, 0.28);
}

.marketplace-detail-title h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
}

.marketplace-detail-lead {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.82;
}

.marketplace-detail-title .marketplace-card-subline {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.marketplace-seller-card {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 24px;
  border: 1px solid rgba(96, 165, 250, 0.16);
  background: rgba(8, 14, 30, 0.74);
}

.marketplace-seller-card-head {
  display: grid;
  gap: 10px;
}

.marketplace-seller-card-head .panel-kicker {
  margin: 0;
}

.marketplace-seller-card-head .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.marketplace-seller-card-head .card-actions .btn {
  min-height: 40px;
}

.marketplace-seller-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.marketplace-seller-stat-chip {
  display: grid;
  gap: 6px;
  padding: 13px 14px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.44);
}

.marketplace-seller-stat-chip span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.marketplace-seller-stat-chip strong {
  color: var(--text);
  font-size: 0.94rem;
}

.marketplace-detail-fact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.marketplace-detail-fact {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.44);
}

.marketplace-detail-fact span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.marketplace-detail-fact strong {
  font-size: 0.98rem;
  color: var(--text);
}

.marketplace-detail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.marketplace-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.marketplace-detail-actions .btn {
  flex: 1 1 220px;
  min-height: 56px;
  min-width: 220px;
}

.marketplace-purchase-panel {
  gap: 20px;
}

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

.marketplace-purchase-head > div:first-child {
  display: grid;
  gap: 8px;
}

.marketplace-purchase-price {
  display: grid;
  gap: 6px;
  min-width: 168px;
  padding: 15px 16px;
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.16);
  background: rgba(15, 23, 42, 0.5);
}

.marketplace-purchase-price span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.marketplace-purchase-price strong {
  font-size: 1.4rem;
  line-height: 1;
}

.marketplace-purchase-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.marketplace-purchase-note {
  display: grid;
  gap: 8px;
  padding: 14px 15px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(11, 17, 30, 0.66);
}

.marketplace-purchase-note strong,
.marketplace-purchase-note p {
  margin: 0;
}

.marketplace-purchase-note p {
  color: var(--text-soft);
  line-height: 1.6;
}

.marketplace-purchase-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  padding-top: 4px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.marketplace-purchase-meta p {
  margin: 0;
}

.marketplace-detail-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.marketplace-inline-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(10, 16, 32, 0.72);
}

.marketplace-inline-panel h3 {
  margin: 0;
  font-size: 1rem;
}

.marketplace-review-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(250, 204, 21, 0.18);
  background: rgba(31, 24, 10, 0.28);
}

.marketplace-stars-large {
  font-size: 1.1rem;
}

.marketplace-review-list {
  display: grid;
  gap: 12px;
}

.marketplace-review-card {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(12, 18, 34, 0.72);
}

.marketplace-review-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.72;
}

.marketplace-review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.marketplace-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.74);
  backdrop-filter: blur(10px);
}

.marketplace-modal-card {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(84vh, 920px);
  overflow: auto;
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  background:
    linear-gradient(180deg, rgba(13, 19, 34, 0.98), rgba(8, 12, 23, 0.96)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.1), transparent 36%);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.5);
}

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

.marketplace-modal-head h2 {
  margin: 0;
}

.marketplace-chat-modal-card {
  width: min(860px, 100%);
}

.marketplace-chat-modal-copy {
  display: grid;
  gap: 6px;
}

.marketplace-chat-modal-copy p {
  margin: 0;
}

.marketplace-chat-modal-card #marketplace-thread-host {
  display: grid;
}

.marketplace-chat-modal-card .marketplace-thread-shell {
  min-height: 0;
  border-radius: 22px;
  background: rgba(11, 17, 30, 0.8);
}

.marketplace-chat-modal-card .marketplace-thread-messages {
  max-height: min(46vh, 420px);
}

body.modal-open {
  overflow: hidden;
}

.marketplace-image-modal {
  z-index: 2147483600;
}

.marketplace-image-modal .marketplace-modal-backdrop {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: none;
}

.marketplace-image-modal-card {
  width: min(1180px, 100%);
  max-height: min(92vh, 1080px);
  padding: 18px;
  gap: 14px;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(4, 8, 18, 0.96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.marketplace-image-modal-head {
  align-items: center;
}

.marketplace-image-modal-stage {
  display: grid;
  place-items: center;
  min-height: min(70vh, 760px);
}

.marketplace-image-modal-stage img {
  display: block;
  max-width: 100%;
  max-height: min(76vh, 860px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 22px 50px rgba(2, 6, 23, 0.5);
}

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

.marketplace-attachment-toolbar {
  display: grid;
  gap: 10px;
}

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

.marketplace-compose-attachment {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.4);
}

.marketplace-compose-attachment img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.marketplace-compose-attachment strong,
.marketplace-compose-attachment p {
  margin: 0;
}

.marketplace-inline-form label {
  display: grid;
  gap: 8px;
}

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

.marketplace-inline-banner {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(96, 165, 250, 0.16);
  background: rgba(9, 14, 30, 0.68);
  color: var(--text-soft);
}

.marketplace-report-shell[hidden] {
  display: none !important;
}

.marketplace-review-stars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.marketplace-review-star-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(9, 14, 30, 0.6);
  cursor: pointer;
}

.marketplace-review-star-option input {
  margin: 0;
}

.marketplace-thread-shell {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(10, 16, 32, 0.72);
}

.marketplace-thread-header,
.seller-marketplace-thread-layout .surface-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.marketplace-thread-messages {
  display: grid;
  gap: 12px;
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.marketplace-thread-message {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.42);
}

.marketplace-thread-message-seller {
  border-color: rgba(96, 165, 250, 0.18);
  background: rgba(18, 35, 63, 0.42);
}

.marketplace-thread-message-buyer {
  border-color: rgba(244, 114, 182, 0.18);
  background: rgba(63, 18, 44, 0.28);
}

.marketplace-thread-message p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

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

.marketplace-message-attachment {
  appearance: none;
  display: grid;
  gap: 8px;
  padding: 10px;
  text-align: left;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(9, 14, 30, 0.62);
  color: inherit;
  cursor: pointer;
}

.marketplace-message-attachment img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

.marketplace-message-attachment span {
  font-size: 0.76rem;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.marketplace-thread-message-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.marketplace-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.marketplace-related-section {
  gap: 20px;
}

.marketplace-related-section-similar {
  border: 1px solid rgba(100, 194, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(64, 200, 255, 0.08), transparent 35%),
    linear-gradient(180deg, rgba(10, 16, 28, 0.96), rgba(8, 12, 22, 0.98));
}

.marketplace-related-section-seller {
  border: 1px solid rgba(185, 93, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(12, 16, 30, 0.96), rgba(9, 12, 24, 0.98));
}

.marketplace-related-section-shell {
  display: grid;
  gap: 16px;
}

.marketplace-related-section-shell-similar {
  padding: 2px 2px 0;
}

.marketplace-related-section-shell-seller {
  padding: 2px 2px 0;
}

.marketplace-related-empty {
  grid-column: 1 / -1;
  min-height: 168px;
  display: grid;
  place-items: center;
  text-align: center;
}

.marketplace-related-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  align-content: start;
  min-height: 250px;
  border-radius: 20px;
  border: 1px solid rgba(90, 171, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(110, 84, 255, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(12, 17, 27, 0.98), rgba(16, 22, 34, 0.98));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.marketplace-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 234, 212, 0.24);
  box-shadow: 0 26px 44px rgba(0, 0, 0, 0.28);
}

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

.marketplace-related-card p {
  color: var(--text-soft);
}

.marketplace-related-card h3 {
  font-size: 1.08rem;
  line-height: 1.35;
}

.marketplace-related-card-head,
.marketplace-related-seller {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.marketplace-related-card-head {
  align-items: center;
}

.marketplace-related-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.2);
  background: rgba(10, 18, 28, 0.78);
  color: #f8fafc;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.marketplace-related-seller .marketplace-seller-avatar {
  width: 34px;
  height: 34px;
  border-radius: 12px;
}

.marketplace-related-seller {
  justify-content: flex-start;
}

.marketplace-detail-breakdown-panel {
  gap: 16px;
}

.marketplace-detail-section-card {
  align-content: start;
}

.marketplace-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: grid;
  place-items: center;
  padding: 24px 18px 28px;
}

.marketplace-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: pointer;
}

.marketplace-lightbox-shell {
  position: relative;
  z-index: 1;
  width: min(96vw, 1320px);
  min-height: min(82vh, 900px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 16px 26px;
}

.marketplace-lightbox[hidden] {
  display: none !important;
}

.marketplace-lightbox-stage {
  width: 100%;
  min-height: min(72vh, 760px);
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: zoom-in;
}

.marketplace-lightbox-stage img {
  display: block;
  width: auto;
  max-width: min(100%, 1120px);
  max-height: min(78vh, 820px);
  object-fit: contain;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  transition: transform 180ms ease;
}

.marketplace-lightbox.is-zoomed .marketplace-lightbox-stage {
  cursor: zoom-out;
}

.marketplace-lightbox.is-zoomed .marketplace-lightbox-stage img {
  transform: scale(1.75);
  transform-origin: center center;
}

.marketplace-lightbox-close,
.marketplace-lightbox-nav,
.marketplace-lightbox-zoom {
  min-height: 44px;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(0, 0, 0, 0.78);
  color: #f8fafc;
  cursor: pointer;
}

.marketplace-lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 52px;
  min-height: 52px;
  padding: 0;
  font-size: 2rem;
  line-height: 1;
}

.marketplace-lightbox-nav {
  position: relative;
  z-index: 1;
  width: 58px;
  min-height: 58px;
  padding: 0;
  font-size: 2rem;
  line-height: 1;
}

.marketplace-lightbox-nav-prev {
  justify-self: start;
}

.marketplace-lightbox-nav-next {
  justify-self: end;
}

.marketplace-lightbox-meta {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.marketplace-lightbox-counter {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(0, 0, 0, 0.62);
  color: #f8fafc;
  font-weight: 700;
}

@media (max-width: 900px) {
  .marketplace-lightbox-shell {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-inline: 10px;
  }

  .marketplace-lightbox-stage {
    min-height: min(62vh, 620px);
  }

  .marketplace-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .marketplace-lightbox-nav-prev {
    left: 8px;
  }

  .marketplace-lightbox-nav-next {
    right: 8px;
  }
}

.marketplace-seller-profile-shell {
  display: grid;
  gap: 24px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.marketplace-seller-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.marketplace-seller-profile-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(10, 16, 32, 0.72);
}

.marketplace-seller-bio {
  margin-top: 10px;
  color: var(--text-soft);
  line-height: 1.7;
}

.marketplace-seller-profile-avatar {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  font-size: 1.35rem;
}

.marketplace-seller-profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.marketplace-seller-stat {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(10, 16, 32, 0.72);
}

.marketplace-seller-stat span {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

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

.admin-marketplace-dashboard {
  display: grid;
  gap: 24px;
}

.admin-marketplace-daily-list {
  display: grid;
  gap: 14px;
}

.seller-marketplace-thread-layout {
  align-items: start;
}

.seller-marketplace-thread-card .admin-picker-card-button {
  display: grid;
  gap: 8px;
  text-align: left;
}

.seller-marketplace-thread-messages {
  max-height: 520px;
}

.marketplace-game-pill,
.marketplace-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.58rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(7, 12, 28, 0.74);
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.marketplace-game-pill-league {
  border-color: rgba(59, 130, 246, 0.34);
  background: rgba(29, 78, 216, 0.24);
}

.marketplace-game-pill-valorant {
  border-color: rgba(244, 63, 94, 0.32);
  background: rgba(190, 24, 93, 0.24);
}

html[data-theme="light"] body.marketplace-page {
  background: #000000;
}

html[data-theme="light"] .marketplace-hero-banner {
  border-color: rgba(99, 102, 241, 0.12);
  background:
    radial-gradient(circle at 12% 18%, rgba(56, 189, 248, 0.14), transparent 24%),
    radial-gradient(circle at 84% 22%, rgba(217, 70, 239, 0.14), transparent 26%),
    linear-gradient(135deg, rgba(236, 244, 255, 0.98), rgba(226, 235, 248, 0.96) 58%, rgba(232, 226, 249, 0.94));
  box-shadow:
    0 20px 42px rgba(148, 163, 184, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

html[data-theme="light"] .marketplace-hero-side .customer-hero-chip,
html[data-theme="light"] .marketplace-results-meta,
html[data-theme="light"] .marketplace-price-badge,
html[data-theme="light"] .marketplace-game-pill,
html[data-theme="light"] .marketplace-meta-pill {
  background: rgba(255, 255, 255, 0.9);
  color: rgba(15, 23, 42, 0.92);
}

html[data-theme="light"] .marketplace-controls-surface,
html[data-theme="light"] .marketplace-card {
  border-color: rgba(99, 102, 241, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 252, 0.94));
  box-shadow:
    0 18px 38px rgba(148, 163, 184, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

html[data-theme="light"] .marketplace-card-media {
  border-color: rgba(99, 102, 241, 0.12);
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.18), transparent 46%),
    linear-gradient(180deg, rgba(236, 242, 255, 0.96), rgba(225, 233, 247, 0.96));
}

html[data-theme="light"] .marketplace-detail-hero {
  border-color: rgba(99, 102, 241, 0.12);
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.18), transparent 46%),
    linear-gradient(180deg, rgba(236, 242, 255, 0.96), rgba(225, 233, 247, 0.96));
}

html[data-theme="light"] .marketplace-card-fallback {
  color: rgba(15, 23, 42, 0.88);
}

html[data-theme="light"] .marketplace-card-facts div,
html[data-theme="light"] .marketplace-detail-facts div,
html[data-theme="light"] .marketplace-proof-card,
html[data-theme="light"] .marketplace-inline-panel,
html[data-theme="light"] .marketplace-seller-card,
html[data-theme="light"] .marketplace-detail-summary-card,
html[data-theme="light"] .marketplace-purchase-panel,
html[data-theme="light"] .marketplace-purchase-note,
html[data-theme="light"] .marketplace-purchase-price,
html[data-theme="light"] .marketplace-seller-stat-chip,
html[data-theme="light"] .marketplace-thread-shell,
html[data-theme="light"] .marketplace-review-card,
html[data-theme="light"] .marketplace-related-card,
html[data-theme="light"] .marketplace-inline-banner,
html[data-theme="light"] .marketplace-review-star-option,
html[data-theme="light"] .marketplace-detail-fact,
html[data-theme="light"] .marketplace-compose-attachment,
html[data-theme="light"] .marketplace-message-attachment,
html[data-theme="light"] .marketplace-seller-profile-card,
html[data-theme="light"] .marketplace-seller-stat {
  background: rgba(255, 255, 255, 0.74);
}

html[data-theme="light"] .marketplace-seller-avatar-fallback {
  color: rgba(15, 23, 42, 0.92);
  background: rgba(226, 232, 240, 0.96);
}

html[data-theme="light"] .marketplace-controls input,
html[data-theme="light"] .marketplace-controls select {
  background: rgba(255, 255, 255, 0.88);
}

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

  .marketplace-card,
  .marketplace-card-featured {
    grid-column: span 1;
  }

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

  .marketplace-card-featured .marketplace-card-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .portal-entry-grid,
  .marketplace-access-strip {
    grid-template-columns: 1fr;
  }

  .marketplace-controls {
    grid-template-columns: 1fr;
  }

  .marketplace-controls-action {
    justify-content: stretch;
  }

  .marketplace-controls-action .btn {
    width: 100%;
  }

  .marketplace-hero-banner {
    min-height: 0;
    width: calc(100% + 24px);
    margin-inline: -12px;
  }

  .marketplace-detail-top,
  .marketplace-detail-lower {
    grid-template-columns: 1fr;
  }

  .marketplace-detail-summary-panel {
    position: static;
  }

  .marketplace-purchase-head,
  .marketplace-detail-media-meta,
  .marketplace-detail-section-grid-single {
    grid-template-columns: 1fr;
  }

  .marketplace-seller-profile-hero,
  .marketplace-seller-profile-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .portal-entry-actions {
    grid-template-columns: 1fr;
  }

  .marketplace-grid,
  .marketplace-card-facts,
  .marketplace-detail-section-grid {
    grid-template-columns: 1fr;
  }

  .marketplace-card {
    padding: 16px;
  }

  .marketplace-card-footer,
  .marketplace-card-topline {
    flex-direction: column;
    align-items: stretch;
  }

  .marketplace-card-footer .btn {
    width: 100%;
  }

  .marketplace-card-seller,
  .marketplace-review-summary,
  .marketplace-thread-header,
  .marketplace-purchase-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .marketplace-card-media,
  .marketplace-card-media img,
  .marketplace-card-fallback {
    min-height: 220px;
  }

  .marketplace-detail-hero,
  .marketplace-detail-hero img,
  .marketplace-detail-hero .marketplace-card-fallback {
    min-height: 280px;
  }

  .marketplace-detail-fact-row,
  .marketplace-inline-grid,
  .marketplace-related-grid,
  .marketplace-seller-offers-grid,
  .marketplace-seller-stat-row,
  .marketplace-detail-media-meta,
  .marketplace-detail-section-grid-single {
    grid-template-columns: 1fr;
  }

  .marketplace-detail-facts div {
    flex-direction: column;
  }

  .marketplace-detail-facts dd {
    text-align: left;
  }

  .marketplace-detail-actions .btn {
    width: 100%;
  }
}

/* AscendSmurfs storefront shell refresh */
body.panel-page,
body.customer-portal-page {
  position: relative;
  font-family: "Inter", system-ui, sans-serif;
  background-color: #000000;
  background: #000000;
  color: #ffffff;
}

body.panel-page::before,
body.customer-portal-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  opacity: 0.16;
  z-index: 0;
}

body.panel-page > :not(.toast-host):not(.support-chat-widget):not(.modal):not(.header-account-menu):not(.marketplace-lightbox):not(.marketplace-image-modal),
body.customer-portal-page > :not(.toast-host):not(.support-chat-widget):not(.modal):not(.header-account-menu):not(.marketplace-lightbox):not(.marketplace-image-modal) {
  position: relative;
  z-index: 1;
}

body.panel-page > .toast-host,
body.customer-portal-page > .toast-host {
  position: fixed;
  z-index: 1400;
}

body.panel-page > .support-chat-widget,
body.customer-portal-page > .support-chat-widget {
  position: fixed;
  z-index: 1500;
}

body.panel-page > .modal,
body.customer-portal-page > .modal {
  position: fixed;
  z-index: 1300;
}

body.panel-page > .marketplace-lightbox,
body.customer-portal-page > .marketplace-lightbox,
body.panel-page > .marketplace-image-modal,
body.customer-portal-page > .marketplace-image-modal {
  position: fixed;
  z-index: 2147483600 !important;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.74), rgba(31, 31, 31, 0.56));
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.site-header-inner {
  min-height: 86px;
  padding: 16px 0;
}

.brand-lockup strong {
  font-family: "ADLaM Display", "Inter", system-ui, sans-serif;
  font-size: 1.15rem;
  font-style: italic;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
}

.brand-lockup span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-logo {
  border-radius: 14px;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.site-nav,
body[data-admin-page] .site-nav {
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.26);
  gap: 10px;
}

.site-nav a,
body[data-admin-page] .site-nav a {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 0.76rem;
  border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-active,
body[data-admin-page] .site-nav a:hover,
body[data-admin-page] .site-nav a.is-active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(34, 211, 238, 0.24);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.14),
    0 0 20px rgba(139, 92, 246, 0.14);
  color: #ffffff;
}

.site-nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

body.marketplace-page .site-header,
body.marketplace-page .site-header-inner,
body.marketplace-page .site-nav,
body.marketplace-page .header-actions,
body.marketplace-page .header-account-shell {
  overflow: visible !important;
}

body.marketplace-page .site-header {
  z-index: 2200 !important;
}

body.marketplace-page .site-header-inner {
  position: relative;
  z-index: 2201;
}

body.marketplace-page .site-nav {
  position: relative;
  z-index: 2202;
  flex-wrap: wrap;
}

body.marketplace-page .header-actions {
  position: relative;
  z-index: 2204;
}

body.marketplace-page .header-account-menu {
  z-index: 2147483505 !important;
}

.site-nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav-dropdown:hover .site-nav-dropdown-trigger,
.site-nav-dropdown:focus-within .site-nav-dropdown-trigger {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(34, 211, 238, 0.24);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.14),
    0 0 20px rgba(139, 92, 246, 0.14);
  color: #ffffff;
}

.site-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 2300;
  display: grid;
  gap: 4px;
  min-width: 170px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(8, 12, 18, 0.98);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.site-nav-dropdown:hover .site-nav-dropdown-menu,
.site-nav-dropdown:focus-within .site-nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav-dropdown-menu a {
  min-height: 0;
  padding: 10px 12px;
  border-radius: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 56px;
  border-top: 1px solid rgba(139, 92, 246, 0.24);
  background: #000000;
}

.site-footer::before {
  content: "TERMINAL_OVR";
  position: absolute;
  top: 12px;
  right: 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 4px;
  color: rgba(34, 211, 238, 0.12);
}

.site-footer-inner {
  grid-template-columns: minmax(240px, 1.15fr) minmax(0, 0.85fr);
  gap: 22px;
  padding: 44px 0 26px;
}

.site-footer p,
.footer-note,
.lead,
.panel-subtitle,
.muted,
.compact-copy {
  color: rgba(255, 255, 255, 0.62);
}

.footer-brand > p:first-child {
  font-family: "ADLaM Display", "Inter", system-ui, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 2px 2px 0 rgba(139, 92, 246, 0.35);
}

.footer-socials {
  gap: 12px;
  margin-top: 8px;
}

.footer-social-link {
  padding: 10px 16px;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 86% 100%, 0 100%);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  color: #ffffff;
}

.footer-social-link:hover {
  background: #22d3ee;
  border-color: #22d3ee;
  color: #000000;
  transform: translateY(-2px);
}

.footer-social-name {
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-social-handle {
  color: #22d3ee;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
}

.footer-social-link:hover .footer-social-handle {
  color: #000000;
}

.brand-kicker,
.panel-kicker {
  color: #c7d2fe;
  letter-spacing: 0.14em;
}

.brand-kicker::before,
.panel-kicker::before {
  width: 30px;
  background: linear-gradient(90deg, #22d3ee, #8b5cf6);
}

.hero-banner,
.login-card,
.surface,
.modal-card,
.stat-card,
.order-card,
.side-worker-card,
.history-item,
.overview-link-card {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(8, 10, 15, 0.94), rgba(14, 18, 26, 0.96));
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-banner {
  padding: 56px 58px;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.12), transparent 24%),
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(5, 6, 11, 0.96), rgba(12, 15, 23, 0.97));
}

.hero-banner h1 {
  font-family: "ADLaM Display", "Inter", system-ui, sans-serif;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-shadow:
    3px 3px 0 rgba(139, 92, 246, 0.32),
    -1px -1px 0 rgba(34, 211, 238, 0.28);
}

.surface-toolbar h2,
.modal-header h2 {
  color: #ffffff;
  font-weight: 800;
}

.btn {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 0.78rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    filter 180ms ease;
}

.btn-primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-size: 180% 180%;
  background-position: 0% 50%;
  background:
    linear-gradient(135deg, rgba(129, 140, 248, 0.98), rgba(34, 211, 238, 0.96));
  color: #05060b;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 14px 34px rgba(34, 211, 238, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  text-shadow: none;
  animation: btnPrimaryPulse 5.5s ease-in-out infinite;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 38%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.08) 62%,
    transparent 100%
  );
  transform: translateX(-140%);
  opacity: 0;
  pointer-events: none;
  animation: btnPrimarySheen 3.8s ease-in-out infinite;
}

.btn-primary:hover {
  background:
    linear-gradient(135deg, rgba(96, 165, 250, 1), rgba(139, 92, 246, 0.98));
  color: #02040a;
  box-shadow:
    0 18px 38px rgba(56, 189, 248, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  filter: saturate(1.05);
  transform: translateY(-1px);
}

.btn-primary:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(8, 11, 19, 0.94),
    0 0 0 5px rgba(56, 189, 248, 0.35),
    0 18px 38px rgba(56, 189, 248, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow:
    0 8px 18px rgba(34, 211, 238, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

@keyframes btnPrimaryPulse {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes btnPrimarySheen {
  0%,
  60%,
  100% {
    transform: translateX(-140%);
    opacity: 0;
  }
  72% {
    opacity: 1;
  }
  85% {
    transform: translateX(140%);
    opacity: 0.95;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .btn-primary::after {
    animation: none !important;
  }

  .btn-primary:hover,
  .btn-primary:active {
    transform: none;
  }
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(34, 211, 238, 0.36);
  color: #ffffff;
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: none;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(255, 255, 255, 0.26);
}

input:focus,
select:focus,
textarea:focus {
  border-color: #22d3ee;
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 0 0 4px rgba(34, 211, 238, 0.12),
    0 0 18px rgba(139, 92, 246, 0.08);
}

label {
  color: rgba(255, 255, 255, 0.88);
}

.stat-card {
  border-bottom: 2px solid rgba(34, 211, 238, 0.3);
}

.stat-label {
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
}

.stat-card strong {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.18);
}

.empty-state,
.notification-item,
.sidebar-quick-links li,
.sidebar-nav a,
.orders-table th,
.payment-select-preview,
.table-shell {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="light"] body.panel-page,
html[data-theme="light"] body.customer-portal-page,
body.theme-light.panel-page,
body.theme-light.customer-portal-page {
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.12), transparent 20%),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.12), transparent 25%),
    linear-gradient(180deg, #f7f9ff 0%, #eef2ff 100%);
  color: #0f172a;
}

html[data-theme="light"] .site-header,
body.theme-light .site-header {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.84), rgba(239, 244, 255, 0.78));
  border-bottom-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .brand-lockup strong,
body.theme-light .brand-lockup strong {
  color: #0f172a;
  text-shadow: none;
}

html[data-theme="light"] .brand-lockup span,
html[data-theme="light"] .site-footer p,
html[data-theme="light"] .footer-note,
html[data-theme="light"] .lead,
html[data-theme="light"] .panel-subtitle,
html[data-theme="light"] .muted,
html[data-theme="light"] .compact-copy,
body.theme-light .brand-lockup span,
body.theme-light .site-footer p,
body.theme-light .footer-note,
body.theme-light .lead,
body.theme-light .panel-subtitle,
body.theme-light .muted,
body.theme-light .compact-copy {
  color: rgba(15, 23, 42, 0.64);
}

html[data-theme="light"] .site-nav,
html[data-theme="light"] body[data-admin-page] .site-nav,
body.theme-light .site-nav,
body.theme-light[data-admin-page] .site-nav {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(15, 23, 42, 0.09);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .site-nav a,
html[data-theme="light"] body[data-admin-page] .site-nav a,
body.theme-light .site-nav a,
body.theme-light[data-admin-page] .site-nav a {
  color: rgba(15, 23, 42, 0.75);
}

html[data-theme="light"] .site-nav a:hover,
html[data-theme="light"] .site-nav a.is-active,
html[data-theme="light"] body[data-admin-page] .site-nav a:hover,
html[data-theme="light"] body[data-admin-page] .site-nav a.is-active,
body.theme-light .site-nav a:hover,
body.theme-light .site-nav a.is-active {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(14, 165, 233, 0.18);
  color: #0f172a;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .hero-banner,
html[data-theme="light"] .login-card,
html[data-theme="light"] .surface,
html[data-theme="light"] .modal-card,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .order-card,
html[data-theme="light"] .side-worker-card,
html[data-theme="light"] .history-item,
html[data-theme="light"] .overview-link-card,
body.theme-light .hero-banner,
body.theme-light .login-card,
body.theme-light .surface,
body.theme-light .modal-card,
body.theme-light .stat-card,
body.theme-light .order-card,
body.theme-light .side-worker-card,
body.theme-light .history-item,
body.theme-light .overview-link-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 255, 0.96));
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow:
    0 20px 42px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .hero-banner,
body.theme-light .hero-banner {
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.12), transparent 24%),
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 255, 0.96));
}

html[data-theme="light"] .hero-banner h1,
body.theme-light .hero-banner h1,
html[data-theme="light"] .surface-toolbar h2,
html[data-theme="light"] .modal-header h2,
body.theme-light .surface-toolbar h2,
body.theme-light .modal-header h2 {
  color: #0f172a;
  text-shadow: none;
}

html[data-theme="light"] label,
body.theme-light label {
  color: rgba(15, 23, 42, 0.88);
}

html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea,
body.theme-light input,
body.theme-light select,
body.theme-light textarea {
  background: rgba(255, 255, 255, 0.86);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder,
body.theme-light input::placeholder,
body.theme-light textarea::placeholder {
  color: rgba(15, 23, 42, 0.35);
}

html[data-theme="light"] .btn-secondary,
body.theme-light .btn-secondary {
  background: rgba(255, 255, 255, 0.78);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .btn-secondary:hover,
body.theme-light .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  border-color: rgba(14, 165, 233, 0.24);
}

html[data-theme="light"] .site-footer,
body.theme-light .site-footer {
  background: linear-gradient(180deg, rgba(247, 249, 255, 0.98), rgba(238, 242, 255, 0.95));
  border-top-color: rgba(139, 92, 246, 0.18);
}

html[data-theme="light"] .site-footer::before,
body.theme-light .site-footer::before {
  color: rgba(34, 211, 238, 0.18);
}

html[data-theme="light"] .footer-brand > p:first-child,
body.theme-light .footer-brand > p:first-child {
  color: #0f172a;
  text-shadow: none;
}

html[data-theme="light"] .footer-social-link,
body.theme-light .footer-social-link {
  background: rgba(255, 255, 255, 0.82);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .footer-social-link:hover,
body.theme-light .footer-social-link:hover {
  color: #000000;
}

html[data-theme="light"] .footer-social-handle,
body.theme-light .footer-social-handle {
  color: #0ea5e9;
}

.nav-marketplace-link {
  position: relative;
  border-color: rgba(34, 211, 238, 0.18) !important;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.16), rgba(34, 211, 238, 0.12));
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-marketplace-link:hover,
.nav-marketplace-link.is-active {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.36), rgba(34, 211, 238, 0.26)) !important;
  border-color: rgba(34, 211, 238, 0.34) !important;
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.18),
    0 0 26px rgba(139, 92, 246, 0.16) !important;
}

.hero-banner,
body[data-admin-page] .hero-banner,
.customer-hero-banner,
.seller-hero-banner,
.marketplace-hero-banner {
  background:
    linear-gradient(135deg, rgba(5, 8, 15, 0.9), rgba(9, 13, 21, 0.94)),
    linear-gradient(180deg, rgba(34, 211, 238, 0.08), rgba(139, 92, 246, 0.06)),
    url("https://storage.sell.app/media-assets/104919/zbe2ag7rja8s4edz7z8ihe54") center/cover !important;
}

html[data-theme="light"] .hero-banner,
html[data-theme="light"] body[data-admin-page] .hero-banner,
html[data-theme="light"] .customer-hero-banner,
html[data-theme="light"] .seller-hero-banner,
html[data-theme="light"] .marketplace-hero-banner,
body.theme-light .hero-banner,
body.theme-light[data-admin-page] .hero-banner,
body.theme-light .customer-hero-banner,
body.theme-light .seller-hero-banner,
body.theme-light .marketplace-hero-banner {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(243, 247, 255, 0.9)),
    linear-gradient(180deg, rgba(34, 211, 238, 0.08), rgba(139, 92, 246, 0.06)),
    url("https://storage.sell.app/media-assets/104919/zbe2ag7rja8s4edz7z8ihe54") center/cover !important;
}

.toast-host {
  top: 96px;
  right: 18px;
  bottom: auto;
  left: auto;
  width: min(420px, calc(100vw - 24px));
  z-index: 120;
  gap: 12px;
}

.toast {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  min-width: 0;
  width: 100%;
  padding: 16px 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(5, 8, 15, 0.96), rgba(15, 19, 28, 0.98));
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(-10px) scale(0.98);
}

.toast::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 95% 100%, 0 100%);
  pointer-events: none;
}

.toast.is-visible {
  transform: translateY(0) scale(1);
}

.toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 900;
  color: #05060b;
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.18);
}

.toast-content {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.toast-title {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.toast-message {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.5;
}

.toast-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.54);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
}

.toast-close:hover {
  color: #ffffff;
}

.toast-progress {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8b5cf6, #22d3ee);
  transform-origin: left center;
  animation: toastProgress 4.15s linear forwards;
}

.toast-info {
  border-color: rgba(34, 211, 238, 0.18);
}

.toast-success {
  border-color: rgba(0, 185, 121, 0.22);
}

.toast-warning {
  border-color: rgba(245, 158, 11, 0.24);
}

.toast-danger {
  border-color: rgba(248, 113, 113, 0.26);
}

.toast-warning .toast-icon {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.toast-danger .toast-icon {
  background: linear-gradient(135deg, #fb7185, #ef4444);
}

.toast-success .toast-icon {
  background: linear-gradient(135deg, #34d399, #22c55e);
}

html[data-theme="light"] .toast,
body.theme-light .toast {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 255, 0.97));
  border-color: rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .toast-title,
body.theme-light .toast-title {
  color: #0f172a;
}

html[data-theme="light"] .toast-message,
html[data-theme="light"] .toast-close,
body.theme-light .toast-message,
body.theme-light .toast-close {
  color: rgba(15, 23, 42, 0.68);
}

html[data-theme="light"] .toast-close:hover,
body.theme-light .toast-close:hover {
  color: #0f172a;
}

@keyframes toastProgress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

@media (max-width: 980px) {
  .site-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }

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

  .header-actions {
    justify-content: flex-end;
    width: auto;
    flex-wrap: nowrap;
  }

  .site-nav,
  body[data-admin-page] .site-nav {
    grid-column: 1 / -1;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a,
  body[data-admin-page] .site-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    min-width: max-content;
  }

  .hero-banner,
  .hero-banner-roomy,
  .surface,
  .surface-roomy,
  .login-card,
  .stat-card {
    padding: 28px 22px;
  }

  .hero-banner h1 {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 780px) {
  .site-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .header-actions {
    width: auto;
  }

  .site-nav,
  body[data-admin-page] .site-nav {
    padding: 8px;
  }

  .page-main {
    padding-top: 16px;
  }

  .toast-host {
    top: 78px;
    left: 12px;
    right: 12px;
    width: auto;
  }

  .toast {
    border-radius: 18px;
    padding: 14px 14px 17px;
  }

  .toast-title {
    font-size: 0.76rem;
  }

  .toast-message {
    font-size: 0.88rem;
  }
}

/* Final storefront/header/footer/support polish */
.site-header {
  border-bottom-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(rgba(0, 0, 0, 0.78), rgba(31, 31, 31, 0.64));
  backdrop-filter: blur(24px);
}

.site-header-inner {
  min-height: 82px;
  gap: 24px;
  align-items: center;
}

.brand-lockup {
  gap: 12px;
  padding: 4px 0;
}

.brand-lockup strong {
  font-family: "ADLaM Display", "Inter", system-ui, sans-serif;
  font-size: 1.02rem;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
}

.brand-lockup span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.site-nav,
body[data-admin-page] .site-nav {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  gap: 10px;
}

.site-nav a,
body[data-admin-page] .site-nav a {
  min-height: auto;
  padding: 8px 12px;
  border: 2px solid transparent;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.2;
}

.site-nav a:hover,
.site-nav a.is-active,
body[data-admin-page] .site-nav a:hover,
body[data-admin-page] .site-nav a.is-active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.header-actions {
  gap: 10px;
}

.header-actions .btn-secondary,
.header-actions .btn-primary {
  border-radius: 999px;
}

.header-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
}

.header-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-marketplace-link {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.2), rgba(34, 211, 238, 0.14));
}

.site-footer {
  border-top-color: rgba(139, 92, 246, 0.18);
}

.site-footer-inner {
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  align-items: start;
  gap: 24px;
}

.footer-copy-group {
  max-width: 560px;
}

.footer-utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.footer-utility-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.24);
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.footer-utility-link:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(30, 41, 59, 0.92);
  color: #ffffff;
}

.site-footer p a,
.footer-copy-group a {
  color: #22d3ee;
  font-weight: 700;
}

.site-footer p a:hover,
.footer-copy-group a:hover {
  color: #ffffff;
}

.footer-brand > p:first-child {
  letter-spacing: -0.04em;
}

.site-header.marketplace-storefront-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: #050505;
  box-shadow: none;
}

.marketplace-storefront-header .site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 64px;
  padding: 14px 0 12px;
}

.marketplace-storefront-header .brand-lockup {
  gap: 10px;
  flex: 0 0 auto;
  min-width: max-content;
}

.marketplace-storefront-header .brand-lockup strong {
  font-family: "Inter", system-ui, sans-serif;
  font-style: normal;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: -0.02em;
}

.marketplace-storefront-header .brand-lockup span {
  display: none;
}

.marketplace-storefront-header .brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  border: 0;
}

.marketplace-storefront-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex: 1 1 auto;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.marketplace-storefront-link,
.marketplace-storefront-menu summary,
.marketplace-storefront-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 !important;
  min-height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  line-height: 1.2;
  cursor: pointer;
}

.marketplace-storefront-link:hover,
.marketplace-storefront-menu summary:hover,
.marketplace-storefront-trigger:hover,
.marketplace-storefront-menu.is-open .marketplace-storefront-trigger {
  color: #ffffff !important;
  opacity: 0.84;
}

.marketplace-storefront-menu {
  position: relative;
}

.marketplace-storefront-trigger {
  appearance: none;
  border: 0;
  outline: 0;
}

.marketplace-storefront-menu summary {
  list-style: none;
}

.marketplace-storefront-menu summary::-webkit-details-marker {
  display: none;
}

.marketplace-storefront-caret {
  font-size: 0.9rem;
  opacity: 0.84;
}

.marketplace-storefront-menu[open] .marketplace-storefront-caret {
  transform: rotate(180deg);
}

.marketplace-storefront-menu-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 40;
  display: grid;
  gap: 0;
  min-width: 196px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 10px;
  background: #151515;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.marketplace-storefront-menu.is-open .marketplace-storefront-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.marketplace-storefront-menu-panel a {
  padding: 11px 12px;
  border-radius: 8px;
  color: #ffffff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.marketplace-storefront-menu-panel a:hover,
.marketplace-storefront-menu-panel a.is-active {
  background: rgba(255, 255, 255, 0.08);
}

.marketplace-storefront-header .header-actions {
  display: none !important;
}

.marketplace-storefront-announcement {
  border-top: 1px solid rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
  background: #050505;
  position: relative;
}

.marketplace-storefront-announcement-inner {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 16px;
  min-height: 46px;
}

.marketplace-storefront-announcement::after {
  content: "";
  display: block;
  height: 10px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.1), rgba(139, 92, 246, 0.24), rgba(239, 68, 68, 0.1));
}

.marketplace-storefront-announcement-icon,
.marketplace-storefront-announcement-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
}

.marketplace-storefront-announcement-inner p {
  color: #ffffff;
  text-align: center;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
}

.marketplace-storefront-announcement-close {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.marketplace-storefront-announcement-close:hover {
  opacity: 0.75;
}

.site-footer.marketplace-storefront-footer {
  margin-top: 72px;
  border-top: 1px solid rgba(139, 92, 246, 0.16);
  background: #020202;
  overflow: hidden;
}

.marketplace-storefront-footer-shell {
  display: grid;
  gap: 42px;
  padding: 46px 0 28px;
}

.marketplace-storefront-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 36px;
  align-items: start;
}

.marketplace-storefront-footer-wordmark {
  font-family: "ADLaM Display", "Inter", system-ui, sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 3px 3px 0 rgba(139, 92, 246, 0.48);
}

.marketplace-storefront-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.marketplace-storefront-footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 88% 100%, 0 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.marketplace-storefront-footer-social:hover {
  border-color: rgba(34, 211, 238, 0.48);
  color: #22d3ee;
}

.marketplace-storefront-footer-social-code {
  color: #22d3ee;
}

.marketplace-storefront-footer-support {
  justify-self: end;
  display: grid;
  gap: 14px;
  text-align: right;
  position: relative;
  min-width: min(100%, 360px);
}

.marketplace-storefront-footer-kicker {
  color: #a855f7;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.marketplace-storefront-footer-email {
  color: #ffffff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  font-weight: 800;
  text-decoration: none;
}

.marketplace-storefront-footer-email:hover {
  color: #22d3ee;
}

.marketplace-storefront-footer-support::after {
  content: "";
  justify-self: end;
  width: min(100%, 420px);
  height: 1px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.08), rgba(34, 211, 238, 0.52), rgba(34, 211, 238, 0.08));
}

.marketplace-storefront-footer-window {
  justify-self: end;
  display: grid;
  gap: 8px;
}

.marketplace-storefront-footer-window span {
  color: rgba(168, 85, 247, 0.88);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.marketplace-storefront-footer-window strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(34, 211, 238, 0.34);
  background: rgba(1, 22, 32, 0.88);
  color: #7dd3fc;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marketplace-storefront-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.marketplace-storefront-footer-bottom p {
  color: rgba(255, 255, 255, 0.42);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marketplace-storefront-footer-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(139, 92, 246, 0.38);
  background: rgba(34, 7, 64, 0.48);
  color: #d8b4fe;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.marketplace-storefront-footer-chip-status {
  border-color: rgba(34, 211, 238, 0.42);
  background: rgba(1, 22, 32, 0.88);
  color: #67e8f9;
}

.support-lane-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 0 24px;
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(6, 10, 18, 0.96), rgba(15, 18, 30, 0.98));
  box-shadow:
    0 22px 42px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.support-lane-copy {
  display: grid;
  gap: 8px;
}

.support-lane-copy strong {
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.25;
}

.support-lane-copy .panel-kicker {
  margin-bottom: 0;
}

.support-lane-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.inbox-layout {
  gap: 28px;
}

.inbox-sidebar,
.inbox-thread-shell {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(8, 12, 18, 0.92), rgba(14, 18, 28, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 34px rgba(0, 0, 0, 0.18);
}

.inbox-section-title {
  margin-bottom: 18px;
}

.inbox-contact-strip {
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.inbox-contact-pill {
  width: 92px;
  padding: 14px 10px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 255, 255, 0.08);
}

.inbox-conversation-list,
.message-thread {
  gap: 14px;
}

.inbox-conversation-item {
  padding: 22px;
  border-radius: 22px;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
}

.inbox-conversation-item:hover,
.inbox-conversation-item.is-active {
  border-color: rgba(34, 211, 238, 0.22);
  background:
    linear-gradient(180deg, rgba(139, 92, 246, 0.1), rgba(34, 211, 238, 0.05));
}

.message-thread {
  padding: 14px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.message-bubble {
  padding: 18px 20px;
  border-radius: 22px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.message-bubble.is-own {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(34, 211, 238, 0.08));
  border-color: rgba(139, 92, 246, 0.28);
}

.message-bubble.is-other {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
}

.support-chat-widget {
  right: 20px;
  bottom: 20px;
  gap: 12px;
}

.support-chat-fab {
  min-width: 152px;
  border-radius: 24px;
  padding: 12px 14px;
  border-color: rgba(34, 211, 238, 0.18);
  background:
    linear-gradient(180deg, rgba(8, 11, 19, 0.98), rgba(19, 12, 31, 0.98)),
    linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(139, 92, 246, 0.18));
  box-shadow:
    0 26px 50px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(34, 211, 238, 0.12);
}

.support-chat-fab:hover {
  box-shadow:
    0 30px 54px -18px rgba(0, 0, 0, 0.78),
    0 0 0 1px rgba(34, 211, 238, 0.2),
    0 0 22px rgba(139, 92, 246, 0.18);
}

.support-chat-panel {
  width: min(408px, calc(100vw - 18px));
  border-radius: 28px;
  border-color: rgba(34, 211, 238, 0.12);
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(6, 8, 14, 0.98), rgba(13, 15, 24, 0.99));
}

.support-chat-panel-shell {
  gap: 14px;
  padding: 16px;
}

.support-chat-meta-bar {
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.support-chat-intro-card {
  padding: 16px;
  border-radius: 20px;
}

.support-chat-messages {
  max-height: 240px;
  padding: 10px;
  border-radius: 20px;
}

.support-chat-form textarea {
  min-height: 108px;
}

html[data-theme="light"] .site-header,
body.theme-light .site-header {
  background: linear-gradient(rgba(255, 255, 255, 0.88), rgba(239, 244, 255, 0.8));
}

html[data-theme="light"] .site-nav,
html[data-theme="light"] body[data-admin-page] .site-nav,
body.theme-light .site-nav,
body.theme-light[data-admin-page] .site-nav {
  background: transparent;
  border: 0;
  box-shadow: none;
}

html[data-theme="light"] .site-nav a,
html[data-theme="light"] body[data-admin-page] .site-nav a,
body.theme-light .site-nav a,
body.theme-light[data-admin-page] .site-nav a {
  color: rgba(15, 23, 42, 0.8);
}

html[data-theme="light"] .site-nav a:hover,
html[data-theme="light"] .site-nav a.is-active,
html[data-theme="light"] body[data-admin-page] .site-nav a:hover,
html[data-theme="light"] body[data-admin-page] .site-nav a.is-active,
body.theme-light .site-nav a:hover,
body.theme-light .site-nav a.is-active {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: none;
}

html[data-theme="light"] .inbox-sidebar,
html[data-theme="light"] .inbox-thread-shell,
html[data-theme="light"] .support-lane-banner,
body.theme-light .inbox-sidebar,
body.theme-light .inbox-thread-shell,
body.theme-light .support-lane-banner {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 255, 0.96));
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .support-lane-copy strong,
body.theme-light .support-lane-copy strong {
  color: #0f172a;
}

html[data-theme="light"] .message-thread,
body.theme-light .message-thread {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .message-bubble.is-other,
body.theme-light .message-bubble.is-other {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 255, 0.92));
}

html[data-theme="light"] .support-chat-panel,
body.theme-light .support-chat-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 255, 0.96));
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .support-chat-fab,
body.theme-light .support-chat-fab {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 255, 0.96));
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .support-chat-fab-icon,
body.theme-light .support-chat-fab-icon {
  background: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .support-chat-fab-icon::before,
html[data-theme="light"] .support-chat-fab-icon::after,
body.theme-light .support-chat-fab-icon::before,
body.theme-light .support-chat-fab-icon::after {
  background: #0f172a;
}

html[data-theme="light"] .support-chat-fab-copy span,
body.theme-light .support-chat-fab-copy span {
  color: rgba(15, 23, 42, 0.66);
}

@media (max-width: 980px) {
  .site-header-inner {
    gap: 14px;
  }

  .site-nav,
  body[data-admin-page] .site-nav {
    gap: 8px;
  }

  .site-nav a,
  body[data-admin-page] .site-nav a {
    padding: 8px 11px;
    font-size: 0.82rem;
  }

  .support-lane-banner {
    grid-template-columns: 1fr;
  }

  .support-lane-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 780px) {
  .inbox-sidebar,
  .inbox-thread-shell,
  .support-lane-banner,
  .message-thread {
    border-radius: 20px;
  }

  .inbox-sidebar,
  .inbox-thread-shell {
    padding: 18px;
  }

  .site-nav a,
  body[data-admin-page] .site-nav a {
    font-size: 0.8rem;
  }
}

/* Final dark-shell alignment + marketplace checkout polish */
html,
body,
body.panel-page,
body.customer-portal-page,
body.marketplace-page {
  background: #000000 !important;
}

.marketplace-checkout-note {
  margin: 0;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.86rem;
  line-height: 1.55;
}

.marketplace-seller-profile-hero-rich {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(5, 8, 15, 0.92), rgba(10, 14, 22, 0.96));
}

.marketplace-seller-hero-art {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.92), rgba(5, 8, 15, 0.38)),
    linear-gradient(180deg, rgba(5, 8, 15, 0.08), rgba(5, 8, 15, 0.88)),
    var(--seller-hero-image, none) center/cover;
  opacity: 0.78;
  pointer-events: none;
}

.marketplace-seller-profile-hero-rich > * {
  position: relative;
  z-index: 1;
}

.marketplace-seller-featured-offer {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 10, 18, 0.74);
}

.marketplace-seller-offer-art {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.84));
  box-shadow:
    0 12px 26px rgba(2, 8, 23, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.marketplace-seller-offer-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marketplace-seller-offer-card {
  position: relative;
  padding-left: 104px;
  min-height: 130px;
}

.marketplace-seller-offer-card .marketplace-seller-offer-art {
  position: absolute;
  top: 16px;
  left: 16px;
}

.marketplace-seller-featured-offer .marketplace-seller-offer-art {
  margin-bottom: 4px;
}

.customer-marketplace-delivery {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(34, 211, 238, 0.14);
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(8, 12, 18, 0.88), rgba(14, 18, 28, 0.94));
}

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

.customer-order-secret {
  border-color: rgba(139, 92, 246, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 980px) {
  .marketplace-seller-profile-hero-rich {
    grid-template-columns: 1fr;
  }

  .customer-marketplace-delivery-grid {
    grid-template-columns: 1fr;
  }

  .marketplace-seller-offer-card {
    padding-left: 94px;
  }

  .marketplace-seller-offer-art {
    width: 64px;
    height: 64px;
  }
}

/* Simple light mode: keep the cyber shell, only swap page background to white */
html[data-theme="light"],
html.theme-light,
body[data-theme="light"],
body.theme-light {
  --bg: #020817;
  --bg-elevated: #0f172a;
  --surface: #0f172a;
  --surface-muted: #111c30;
  --surface-subtle: #172337;
  --surface-dark: #020817;
  --text: #e5eefc;
  --text-soft: #cbd5e1;
  --text-muted: #8fa1bb;
  --text-on-dark: #f8fafc;
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.28);
  --accent: #60a5fa;
  --accent-soft: rgba(96, 165, 250, 0.16);
  --accent-strong: #93c5fd;
  --success: #4ade80;
  --success-soft: rgba(34, 197, 94, 0.16);
  --warning: #fb923c;
  --warning-soft: rgba(249, 115, 22, 0.16);
  --danger: #f87171;
  --danger-soft: rgba(239, 68, 68, 0.16);
  --info: #60a5fa;
  --info-soft: rgba(59, 130, 246, 0.16);
  --shadow-sm: 0 10px 24px rgba(2, 8, 23, 0.28);
  --shadow: 0 16px 40px rgba(2, 8, 23, 0.34);
  --shadow-lg: 0 24px 60px rgba(2, 8, 23, 0.44);
  --body-background: #ffffff;
  --header-background: rgba(2, 6, 23, 0.94);
  --footer-background: linear-gradient(180deg, rgba(2, 6, 23, 0.92), rgba(9, 17, 32, 0.98));
  --panel-background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(12, 20, 35, 0.92));
  --hero-background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(10, 18, 31, 0.94)),
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.18), transparent 42%);
  --selection-background: rgba(96, 165, 250, 0.28);
}

html[data-theme="light"],
html[data-theme="light"] body,
html[data-theme="light"] body.panel-page,
html[data-theme="light"] body.customer-portal-page,
html[data-theme="light"] body.marketplace-page,
body.theme-light,
body.theme-light.panel-page,
body.theme-light.customer-portal-page,
body.theme-light.marketplace-page {
  background: #ffffff !important;
}

html[data-theme="light"] .site-header,
html[data-theme="light"] .site-footer,
html[data-theme="light"] .hero-banner,
html[data-theme="light"] .customer-hero-banner,
html[data-theme="light"] .seller-hero-banner,
html[data-theme="light"] .marketplace-hero-banner,
html[data-theme="light"] .surface,
html[data-theme="light"] .login-card,
html[data-theme="light"] .modal-card,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .order-card,
html[data-theme="light"] .side-worker-card,
html[data-theme="light"] .history-item,
html[data-theme="light"] .overview-link-card,
html[data-theme="light"] .table-shell,
html[data-theme="light"] .inbox-sidebar,
html[data-theme="light"] .inbox-thread-shell,
html[data-theme="light"] .support-lane-banner,
html[data-theme="light"] .message-thread,
html[data-theme="light"] .support-chat-panel,
html[data-theme="light"] .marketplace-controls-surface,
html[data-theme="light"] .marketplace-card,
html[data-theme="light"] .marketplace-card-facts div,
html[data-theme="light"] .marketplace-detail-block,
html[data-theme="light"] .marketplace-detail-summary-card,
html[data-theme="light"] .marketplace-purchase-panel,
html[data-theme="light"] .marketplace-purchase-note,
html[data-theme="light"] .marketplace-purchase-price,
html[data-theme="light"] .marketplace-proof-card,
html[data-theme="light"] .marketplace-inline-panel,
html[data-theme="light"] .marketplace-seller-card,
html[data-theme="light"] .marketplace-seller-profile-card,
html[data-theme="light"] .marketplace-thread-shell,
html[data-theme="light"] .marketplace-review-card,
html[data-theme="light"] .marketplace-related-card,
html[data-theme="light"] .marketplace-inline-banner,
html[data-theme="light"] .marketplace-review-star-option,
html[data-theme="light"] .marketplace-detail-fact,
html[data-theme="light"] .marketplace-compose-attachment,
html[data-theme="light"] .marketplace-message-attachment,
html[data-theme="light"] .customer-surface,
html[data-theme="light"] .customer-access-panel,
html[data-theme="light"] .seller-overview-card,
html[data-theme="light"] .seller-step-card,
html[data-theme="light"] .seller-proof-dropzone,
html[data-theme="light"] .seller-sample-description,
html[data-theme="light"] .seller-sale-card,
html[data-theme="light"] .seller-game-card,
body.theme-light .site-header,
body.theme-light .site-footer,
body.theme-light .hero-banner,
body.theme-light .customer-hero-banner,
body.theme-light .seller-hero-banner,
body.theme-light .marketplace-hero-banner,
body.theme-light .surface,
body.theme-light .login-card,
body.theme-light .modal-card,
body.theme-light .stat-card,
body.theme-light .order-card,
body.theme-light .side-worker-card,
body.theme-light .history-item,
body.theme-light .overview-link-card,
body.theme-light .table-shell,
body.theme-light .inbox-sidebar,
body.theme-light .inbox-thread-shell,
body.theme-light .support-lane-banner,
body.theme-light .message-thread,
body.theme-light .support-chat-panel,
body.theme-light .marketplace-controls-surface,
body.theme-light .marketplace-card,
body.theme-light .marketplace-card-facts div,
body.theme-light .marketplace-detail-block,
body.theme-light .marketplace-detail-summary-card,
body.theme-light .marketplace-purchase-panel,
body.theme-light .marketplace-purchase-note,
body.theme-light .marketplace-purchase-price,
body.theme-light .marketplace-proof-card,
body.theme-light .marketplace-inline-panel,
body.theme-light .marketplace-seller-card,
body.theme-light .marketplace-seller-profile-card,
body.theme-light .marketplace-thread-shell,
body.theme-light .marketplace-review-card,
body.theme-light .marketplace-related-card,
body.theme-light .marketplace-inline-banner,
body.theme-light .marketplace-review-star-option,
body.theme-light .marketplace-detail-fact,
body.theme-light .marketplace-compose-attachment,
body.theme-light .marketplace-message-attachment,
body.theme-light .customer-surface,
body.theme-light .customer-access-panel,
body.theme-light .seller-overview-card,
body.theme-light .seller-step-card,
body.theme-light .seller-proof-dropzone,
body.theme-light .seller-sample-description,
body.theme-light .seller-sale-card,
body.theme-light .seller-game-card {
  background: var(--panel-background) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
  box-shadow: var(--shadow) !important;
}

html[data-theme="light"] .site-header,
html[data-theme="light"] .site-footer,
body.theme-light .site-header,
body.theme-light .site-footer {
  background: rgba(2, 6, 23, 0.94) !important;
}

html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea,
html[data-theme="light"] .btn-secondary,
body.theme-light input,
body.theme-light select,
body.theme-light textarea,
body.theme-light .btn-secondary {
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--text) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
}

html[data-theme="light"] .muted,
html[data-theme="light"] .lead,
html[data-theme="light"] .panel-subtitle,
html[data-theme="light"] .compact-copy,
html[data-theme="light"] .footer-note,
html[data-theme="light"] .brand-lockup span,
html[data-theme="light"] .site-footer p,
html[data-theme="light"] .form-helper,
html[data-theme="light"] .toast-message,
html[data-theme="light"] .toast-close,
body.theme-light .muted,
body.theme-light .lead,
body.theme-light .panel-subtitle,
body.theme-light .compact-copy,
body.theme-light .footer-note,
body.theme-light .brand-lockup span,
body.theme-light .site-footer p,
body.theme-light .form-helper,
body.theme-light .toast-message,
body.theme-light .toast-close {
  color: var(--text-muted) !important;
}

html[data-theme="light"] .toast,
body.theme-light .toast {
  background: rgba(9, 17, 32, 0.96) !important;
  color: var(--text) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
}

.seller-page .seller-hero-banner {
  width: calc(100vw - 32px);
  max-width: none;
  margin-left: calc(50% - 50vw + 16px);
  margin-right: calc(50% - 50vw + 16px);
}

@media (max-width: 980px) {
  .marketplace-storefront-header .site-header-inner {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .marketplace-storefront-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 6px !important;
  }

  .marketplace-storefront-announcement-inner {
    grid-template-columns: 24px minmax(0, 1fr) 24px;
  }

  .marketplace-storefront-announcement-inner p {
    font-size: 0.86rem;
  }

  .marketplace-storefront-footer-top {
    grid-template-columns: 1fr;
  }

  .marketplace-storefront-footer-support,
  .marketplace-storefront-footer-window {
    justify-self: start;
    text-align: left;
  }

  .marketplace-storefront-footer-support::after {
    justify-self: start;
  }
}

@media (max-width: 780px) {
  .seller-page .seller-hero-banner {
    width: calc(100vw - 20px);
    margin-left: calc(50% - 50vw + 10px);
    margin-right: calc(50% - 50vw + 10px);
  }
}

@media (max-width: 720px) {
  .marketplace-storefront-menu-panel {
    min-width: 168px;
  }

  .marketplace-storefront-footer-bottom {
    justify-content: flex-start;
  }

  .marketplace-storefront-announcement-inner {
    gap: 10px;
  }
}

.customer-seller-application-layout {
  align-items: start;
}

.customer-verification-status-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(122, 162, 255, 0.18);
  background: rgba(10, 14, 27, 0.72);
  border-radius: 18px;
}

.customer-verification-status-card strong {
  font-size: 1rem;
  line-height: 1.4;
}

.customer-verification-status-card p {
  margin: 0;
}

.customer-verification-status-success,
.customer-verification-status-approved {
  border-color: rgba(67, 201, 128, 0.28);
}

.customer-verification-status-changes_requested {
  border-color: rgba(255, 191, 86, 0.3);
}

.customer-verification-status-rejected {
  border-color: rgba(255, 107, 129, 0.28);
}

.customer-id-upload-shell {
  display: grid;
  gap: 14px;
}

.customer-id-proof-card {
  max-width: 280px;
}

.customer-id-proof-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.customer-verification-checkboxes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-bridge-shell {
  max-width: 720px;
  margin: 10vh auto 0;
}

.apply-public-page .page-main {
  gap: 28px;
}

.apply-hero-banner {
  background:
    linear-gradient(135deg, rgba(10, 14, 27, 0.92), rgba(12, 21, 42, 0.82)),
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.12), transparent 42%),
    radial-gradient(circle at bottom left, rgba(96, 165, 250, 0.12), transparent 44%);
}

.apply-layout {
  align-items: start;
}

.apply-hero-side {
  justify-content: flex-start;
}

body.panel-page.coming-soon-page {
  background:
    linear-gradient(180deg, rgba(3, 7, 18, 0.3), rgba(3, 7, 18, 0.82)),
    url("/images/Background-images/Brand_SpiritFireSkin_HD.jpg") center center / cover no-repeat fixed !important;
  background-color: #030712 !important;
}

body.panel-page.coming-soon-page::before {
  display: none;
}

.coming-soon-page .page-main {
  min-height: calc(100vh - 220px);
  justify-content: center;
}

.coming-soon-shell {
  position: relative;
  min-height: clamp(520px, 78vh, 860px);
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 56px) 0;
  isolation: isolate;
}

.coming-soon-orb {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.9;
  pointer-events: none;
}

.coming-soon-orb-left {
  top: 12%;
  left: 5%;
  width: clamp(120px, 18vw, 220px);
  height: clamp(120px, 18vw, 220px);
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 196, 84, 0.82), rgba(255, 128, 32, 0.22) 62%, transparent 78%);
}

.coming-soon-orb-right {
  right: 6%;
  bottom: 14%;
  width: clamp(140px, 20vw, 260px);
  height: clamp(140px, 20vw, 260px);
  background:
    radial-gradient(circle at 50% 50%, rgba(104, 170, 255, 0.78), rgba(53, 82, 163, 0.22) 64%, transparent 80%);
}

.coming-soon-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  max-width: min(760px, 100%);
}

.coming-soon-copy-minimal {
  width: min(760px, 100%);
  padding: clamp(30px, 4.6vw, 52px) clamp(22px, 5vw, 58px);
  position: relative;
  justify-items: center;
  text-align: center;
  text-shadow: 0 12px 26px rgba(2, 6, 23, 0.42);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0%, transparent 14%, transparent 86%, rgba(255, 255, 255, 0.06) 100%),
    linear-gradient(180deg, rgba(7, 12, 24, 0.22), rgba(7, 12, 24, 0.08));
  backdrop-filter: blur(6px);
}

.coming-soon-copy-minimal::before,
.coming-soon-copy-minimal::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 214, 110, 0.88) 50%, transparent 100%);
  box-shadow: 0 0 18px rgba(255, 170, 85, 0.18);
}

.coming-soon-copy-minimal::before {
  top: 0;
}

.coming-soon-copy-minimal::after {
  bottom: 0;
}

.coming-soon-caption {
  color: rgba(234, 238, 248, 0.78);
  font-size: 0.96rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.coming-soon-copy h1 {
  margin: 0;
  display: grid;
  gap: 0.04em;
  justify-items: center;
  max-width: 11ch;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.84;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.coming-soon-copy h1 span {
  display: block;
}

.coming-soon-copy h1 span:first-child {
  color: rgba(244, 247, 255, 0.96);
}

.coming-soon-copy h1 span:last-child {
  background: linear-gradient(180deg, #ffd36f 0%, #ff8f36 42%, #f5f7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.coming-soon-copy p {
  margin: 0;
}

.coming-soon-copy .panel-subtitle {
  max-width: 54ch;
  color: rgba(231, 236, 246, 0.92);
  font-size: clamp(1rem, 1.8vw, 1.08rem);
  line-height: 1.75;
}

.coming-soon-divider {
  width: min(210px, 42vw);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 214, 110, 0.85) 50%, transparent 100%);
  box-shadow: 0 0 24px rgba(255, 170, 85, 0.25);
}

.coming-soon-signals {
  width: min(560px, 100%);
  display: grid;
  gap: 0;
}

.coming-soon-signals p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.coming-soon-signals p + p {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.coming-soon-signals span {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4c048, #ff7a18);
  box-shadow: 0 0 18px rgba(255, 160, 67, 0.46);
}

.coming-soon-actions {
  margin-top: 10px;
}

.coming-soon-actions-centered {
  justify-content: center;
}

.coming-soon-support {
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.96rem;
}

.coming-soon-support a {
  color: #f6d27a;
  text-decoration: none;
}

.coming-soon-support a:hover,
.coming-soon-support a:focus-visible {
  color: #fff0c2;
}

@media (max-width: 900px) {
  .coming-soon-shell {
    min-height: 580px;
  }

  .coming-soon-orb-left {
    left: -2%;
  }

  .coming-soon-orb-right {
    right: -1%;
  }
}

@media (max-width: 640px) {
  .coming-soon-shell {
    min-height: 560px;
  }

  .coming-soon-copy h1 {
    max-width: 8ch;
    font-size: clamp(3.1rem, 16vw, 5.1rem);
  }

  .coming-soon-copy-minimal {
    width: 100%;
    padding: 28px 18px;
  }

  .coming-soon-caption {
    letter-spacing: 0.12em;
    font-size: 0.84rem;
  }

  .coming-soon-signals p {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .header-account-meta {
    display: none;
  }

  .header-account-trigger {
    width: 46px;
    height: 46px;
  }

  .header-account-menu {
    right: 0;
    min-width: min(88vw, 260px);
  }
}

/* Professional panel refresh: quieter surfaces, cleaner corners, less glow */
body.panel-page .surface,
body.panel-page .surface-roomy,
body.panel-page .stat-card,
body.panel-page .order-card,
body.panel-page .side-worker-card,
body.panel-page .history-item,
body.panel-page .login-card,
body.panel-page .overview-link-card,
body.customer-portal-page .surface,
body.customer-portal-page .surface-roomy,
body.customer-portal-page .stat-card,
body.customer-portal-page .order-card,
body.customer-portal-page .side-worker-card,
body.customer-portal-page .history-item,
body.customer-portal-page .login-card,
body.customer-portal-page .overview-link-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(11, 15, 23, 0.97), rgba(15, 20, 30, 0.98));
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.panel-page .surface:hover,
body.panel-page .surface-roomy:hover,
body.panel-page .stat-card:hover,
body.panel-page .order-card:hover,
body.panel-page .side-worker-card:hover,
body.customer-portal-page .surface:hover,
body.customer-portal-page .surface-roomy:hover,
body.customer-portal-page .stat-card:hover,
body.customer-portal-page .order-card:hover,
body.customer-portal-page .side-worker-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.panel-page .surface-toolbar,
body.customer-portal-page .surface-toolbar {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2px;
}

body.panel-page .surface-toolbar h2,
body.customer-portal-page .surface-toolbar h2 {
  font-size: clamp(1.05rem, 1.65vw, 1.32rem);
  letter-spacing: -0.025em;
}

body.panel-page .surface-toolbar p.muted,
body.customer-portal-page .surface-toolbar p.muted {
  max-width: 68ch;
  color: rgba(203, 213, 225, 0.72);
}

body.panel-page .stat-card,
body.customer-portal-page .stat-card {
  position: relative;
  overflow: hidden;
  padding-top: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.panel-page .stat-card::before,
body.customer-portal-page .stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.92), rgba(139, 92, 246, 0.75));
  opacity: 0.72;
}

body.panel-page .stat-label,
body.customer-portal-page .stat-label {
  color: rgba(148, 163, 184, 0.78);
  letter-spacing: 0.14em;
  font-size: 0.68rem;
}

body.panel-page .stat-card strong,
body.customer-portal-page .stat-card strong {
  text-shadow: none;
  letter-spacing: -0.03em;
}

body.panel-page .order-card,
body.panel-page .side-worker-card,
body.customer-portal-page .order-card,
body.customer-portal-page .side-worker-card {
  padding: 22px;
}

body.panel-page input,
body.panel-page select,
body.panel-page textarea,
body.customer-portal-page input,
body.customer-portal-page select,
body.customer-portal-page textarea {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

body.panel-page .btn,
body.customer-portal-page .btn {
  border-radius: 12px;
  min-height: 44px;
  padding: 0 18px;
  letter-spacing: 0.06em;
}

body.panel-page .btn-secondary,
body.customer-portal-page .btn-secondary {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="light"] body.panel-page .surface,
html[data-theme="light"] body.panel-page .surface-roomy,
html[data-theme="light"] body.panel-page .stat-card,
html[data-theme="light"] body.panel-page .order-card,
html[data-theme="light"] body.panel-page .side-worker-card,
html[data-theme="light"] body.panel-page .history-item,
html[data-theme="light"] body.panel-page .login-card,
html[data-theme="light"] body.customer-portal-page .surface,
html[data-theme="light"] body.customer-portal-page .surface-roomy,
html[data-theme="light"] body.customer-portal-page .stat-card,
html[data-theme="light"] body.customer-portal-page .order-card,
html[data-theme="light"] body.customer-portal-page .side-worker-card,
html[data-theme="light"] body.customer-portal-page .history-item,
html[data-theme="light"] body.customer-portal-page .login-card,
body.theme-light.panel-page .surface,
body.theme-light.panel-page .surface-roomy,
body.theme-light.panel-page .stat-card,
body.theme-light.panel-page .order-card,
body.theme-light.panel-page .side-worker-card,
body.theme-light.panel-page .history-item,
body.theme-light.panel-page .login-card,
body.theme-light.customer-portal-page .surface,
body.theme-light.customer-portal-page .surface-roomy,
body.theme-light.customer-portal-page .stat-card,
body.theme-light.customer-portal-page .order-card,
body.theme-light.customer-portal-page .side-worker-card,
body.theme-light.customer-portal-page .history-item,
body.theme-light.customer-portal-page .login-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 253, 0.97));
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

html[data-theme="light"] body.panel-page .surface-toolbar,
html[data-theme="light"] body.customer-portal-page .surface-toolbar,
body.theme-light.panel-page .surface-toolbar,
body.theme-light.customer-portal-page .surface-toolbar {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] body.panel-page .surface-toolbar p.muted,
html[data-theme="light"] body.customer-portal-page .surface-toolbar p.muted,
body.theme-light.panel-page .surface-toolbar p.muted,
body.theme-light.customer-portal-page .surface-toolbar p.muted {
  color: rgba(51, 65, 85, 0.72);
}

html[data-theme="light"] body.panel-page input,
html[data-theme="light"] body.panel-page select,
html[data-theme="light"] body.panel-page textarea,
html[data-theme="light"] body.customer-portal-page input,
html[data-theme="light"] body.customer-portal-page select,
html[data-theme="light"] body.customer-portal-page textarea,
body.theme-light.panel-page input,
body.theme-light.panel-page select,
body.theme-light.panel-page textarea,
body.theme-light.customer-portal-page input,
body.theme-light.customer-portal-page select,
body.theme-light.customer-portal-page textarea {
  background: rgba(248, 250, 252, 0.95);
  border-color: rgba(15, 23, 42, 0.12);
}

/* Finish pass: more editorial, less chunky */
body.panel-page .hero-banner,
body.customer-portal-page .hero-banner {
  border-radius: 20px;
  padding: 42px 44px;
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.panel-page .hero-banner h1,
body.customer-portal-page .hero-banner h1 {
  max-width: 14ch;
  font-size: clamp(2rem, 4.1vw, 3.8rem);
  line-height: 0.92;
}

body.panel-page .stats-grid,
body.customer-portal-page .stats-grid {
  gap: 16px;
}

body.panel-page .surface,
body.panel-page .surface-roomy,
body.customer-portal-page .surface,
body.customer-portal-page .surface-roomy {
  padding: 24px;
}

body.panel-page .surface > * + *,
body.panel-page .surface-roomy > * + *,
body.customer-portal-page .surface > * + *,
body.customer-portal-page .surface-roomy > * + * {
  margin-top: 18px;
}

body.panel-page .filters-grid,
body.customer-portal-page .filters-grid {
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

body.panel-page .empty-state,
body.panel-page .notification-item,
body.panel-page .payment-select-preview,
body.panel-page .table-shell,
body.panel-page .sidebar-nav a,
body.panel-page .customer-history-meta-item,
body.customer-portal-page .empty-state,
body.customer-portal-page .notification-item,
body.customer-portal-page .payment-select-preview,
body.customer-portal-page .table-shell,
body.customer-portal-page .sidebar-nav a,
body.customer-portal-page .customer-history-meta-item {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
}

body.panel-page .empty-state,
body.customer-portal-page .empty-state {
  padding: 26px;
  color: rgba(203, 213, 225, 0.78);
}

body.panel-page .notification-item,
body.customer-portal-page .notification-item {
  padding: 16px 18px;
}

body.panel-page .sidebar-nav,
body.customer-portal-page .sidebar-nav {
  gap: 10px;
}

body.panel-page .sidebar-nav a,
body.customer-portal-page .sidebar-nav a {
  min-height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.88);
}

body.panel-page .sidebar-nav a:hover,
body.customer-portal-page .sidebar-nav a:hover {
  transform: none;
  border-color: rgba(34, 211, 238, 0.18);
  background: rgba(255, 255, 255, 0.055);
}

body.panel-page .customer-history-meta,
body.customer-portal-page .customer-history-meta {
  gap: 12px;
}

body.panel-page .customer-history-meta-item,
body.customer-portal-page .customer-history-meta-item {
  padding: 14px 16px;
}

body.panel-page .customer-history-meta-item span,
body.customer-portal-page .customer-history-meta-item span {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.76);
}

body.panel-page .customer-history-meta-item strong,
body.customer-portal-page .customer-history-meta-item strong {
  margin-top: 6px;
  display: block;
  font-size: 0.98rem;
  line-height: 1.35;
}

body.panel-page .marketplace-related-card,
body.customer-portal-page .marketplace-related-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(12, 17, 27, 0.98), rgba(16, 22, 34, 0.98));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

body.panel-page .marketplace-related-card:hover,
body.customer-portal-page .marketplace-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.22);
}

body.panel-page .site-nav a,
body.customer-portal-page .site-nav a {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 700;
}

body.panel-page .btn-primary,
body.customer-portal-page .btn-primary {
  box-shadow: 0 10px 24px rgba(34, 211, 238, 0.14);
}

html[data-theme="light"] body.panel-page .filters-grid,
html[data-theme="light"] body.customer-portal-page .filters-grid,
body.theme-light.panel-page .filters-grid,
body.theme-light.customer-portal-page .filters-grid {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.72);
}

html[data-theme="light"] body.panel-page .empty-state,
html[data-theme="light"] body.panel-page .notification-item,
html[data-theme="light"] body.panel-page .payment-select-preview,
html[data-theme="light"] body.panel-page .table-shell,
html[data-theme="light"] body.panel-page .sidebar-nav a,
html[data-theme="light"] body.panel-page .customer-history-meta-item,
html[data-theme="light"] body.customer-portal-page .empty-state,
html[data-theme="light"] body.customer-portal-page .notification-item,
html[data-theme="light"] body.customer-portal-page .payment-select-preview,
html[data-theme="light"] body.customer-portal-page .table-shell,
html[data-theme="light"] body.customer-portal-page .sidebar-nav a,
html[data-theme="light"] body.customer-portal-page .customer-history-meta-item,
body.theme-light.panel-page .empty-state,
body.theme-light.panel-page .notification-item,
body.theme-light.panel-page .payment-select-preview,
body.theme-light.panel-page .table-shell,
body.theme-light.panel-page .sidebar-nav a,
body.theme-light.panel-page .customer-history-meta-item,
body.theme-light.customer-portal-page .empty-state,
body.theme-light.customer-portal-page .notification-item,
body.theme-light.customer-portal-page .payment-select-preview,
body.theme-light.customer-portal-page .table-shell,
body.theme-light.customer-portal-page .sidebar-nav a,
body.theme-light.customer-portal-page .customer-history-meta-item {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] body.panel-page .marketplace-related-card,
html[data-theme="light"] body.customer-portal-page .marketplace-related-card,
body.theme-light.panel-page .marketplace-related-card,
body.theme-light.customer-portal-page .marketplace-related-card {
  border-color: rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 248, 252, 0.95));
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

/* Marketplace seller premium hero */
.marketplace-seller-profile-shell {
  gap: 28px;
}

.marketplace-seller-profile-hero-shell {
  display: grid;
  gap: 18px;
}

.marketplace-seller-profile-heading {
  display: grid;
  gap: 8px;
}

.marketplace-seller-profile-heading h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.marketplace-seller-profile-heading .marketplace-card-subline {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.marketplace-seller-profile-hero-banner {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 200px;
  max-height: 200px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(7, 12, 22, 0.98), rgba(18, 25, 39, 0.98));
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  isolation: isolate;
  display: block;
}

.marketplace-seller-profile-hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(59, 130, 246, 0.18), transparent 34%),
    radial-gradient(circle at 78% 20%, rgba(168, 85, 247, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 36%);
}

.marketplace-seller-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.02);
}

.marketplace-seller-profile-hero-rich {
  position: relative;
  display: block;
  padding: 0;
  min-height: 200px;
}

.marketplace-seller-hero-art {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.62)),
    linear-gradient(135deg, rgba(99, 102, 241, 0.12), transparent 46%);
}

.marketplace-seller-profile-hero-rich > * {
  position: relative;
  z-index: 1;
}

.marketplace-seller-hero-copy {
  width: 100%;
  min-height: 200px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 28px 34px;
}

.marketplace-seller-hero-story {
  margin: 0;
  max-width: 72ch;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 1rem;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.marketplace-seller-offer-art {
  width: 72px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.84));
  box-shadow:
    0 12px 26px rgba(2, 8, 23, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

@media (min-width: 1281px) {
  .marketplace-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.marketplace-seller-profile-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.marketplace-seller-profile-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(11, 16, 25, 0.98), rgba(16, 22, 34, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.marketplace-seller-profile-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.marketplace-seller-profile-card-head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
  letter-spacing: -0.04em;
}

.marketplace-seller-profile-card .marketplace-card-subline {
  color: rgba(203, 213, 225, 0.76);
}

.marketplace-seller-profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  font-size: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.2);
}

.marketplace-seller-bio {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 0.98rem;
}

.marketplace-seller-story {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.seller-banner-preview-card {
  display: grid;
  gap: 14px;
  padding-top: 8px;
}

.seller-banner-preview-shell {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.98), rgba(10, 14, 24, 0.98));
}

.seller-banner-preview-media,
.seller-banner-preview-overlay {
  position: absolute;
  inset: 0;
}

.seller-banner-preview-media {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.seller-banner-preview-overlay {
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.34) 44%, rgba(2, 6, 23, 0.76));
}

.seller-banner-preview-copy {
  position: relative;
  z-index: 1;
  min-height: 210px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 24px;
}

.seller-banner-preview-copy strong {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.seller-banner-preview-copy p {
  margin: 0;
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

.seller-banner-preview-shell.is-empty .seller-banner-preview-media {
  opacity: 0.18;
}

.success-copy {
  color: #7dd3fc;
}

.danger-copy {
  color: #fda4af;
}

.marketplace-seller-bio-muted {
  color: var(--text-muted);
  font-style: italic;
}

.marketplace-seller-profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.marketplace-seller-stat {
  gap: 8px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.marketplace-seller-stat strong {
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.marketplace-seller-featured-offer {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(12, 17, 27, 0.98), rgba(18, 24, 38, 0.98));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.marketplace-seller-featured-copy {
  display: grid;
  gap: 8px;
}

.marketplace-seller-featured-copy strong {
  font-size: 1.08rem;
  line-height: 1.35;
}

.marketplace-seller-featured-copy p {
  color: var(--text-soft);
}

.marketplace-seller-featured-offer .btn {
  width: 100%;
}

.marketplace-seller-offer-art {
  min-height: 112px;
  border-radius: 14px;
}

html[data-theme="light"] .marketplace-seller-profile-hero-banner,
body.theme-light .marketplace-seller-profile-hero-banner {
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .marketplace-seller-story,
body.theme-light .marketplace-seller-story {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .marketplace-related-price,
body.theme-light .marketplace-related-price {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

html[data-theme="light"] .marketplace-related-section-similar,
html[data-theme="light"] .marketplace-related-section-seller,
body.theme-light .marketplace-related-section-similar,
body.theme-light .marketplace-related-section-seller {
  border-color: rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.98), rgba(233, 239, 248, 0.98));
}

html[data-theme="light"] .marketplace-seller-hero-art,
body.theme-light .marketplace-seller-hero-art {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.22) 44%, rgba(255, 255, 255, 0.72)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.14));
}

html[data-theme="light"] .marketplace-seller-hero-copy h1,
body.theme-light .marketplace-seller-hero-copy h1 {
  color: #0f172a;
  text-shadow: 0 8px 22px rgba(255, 255, 255, 0.28);
}

html[data-theme="light"] .marketplace-seller-hero-copy .marketplace-card-subline,
body.theme-light .marketplace-seller-hero-copy .marketplace-card-subline {
  color: rgba(15, 23, 42, 0.76);
}

html[data-theme="light"] .marketplace-seller-hero-story,
body.theme-light .marketplace-seller-hero-story {
  color: rgba(15, 23, 42, 0.82);
  text-shadow: none;
}

html[data-theme="light"] .seller-banner-preview-shell,
body.theme-light .seller-banner-preview-shell {
  border-color: rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.98), rgba(233, 239, 248, 0.98));
}

.marketplace-brand-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.marketplace-brand-ribbon-game,
.marketplace-brand-ribbon-pay {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(2, 6, 23, 0.28));
}

.marketplace-brand-ribbon-game {
  height: 36px;
  width: auto;
  max-width: 124px;
}

.marketplace-brand-ribbon-pay {
  height: 24px;
  width: auto;
  border-radius: 8px;
}

.marketplace-brand-ribbon-sep {
  width: 1px;
  height: 22px;
  background: rgba(148, 163, 184, 0.28);
}

.marketplace-spotlight-logo {
  width: auto;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(2, 6, 23, 0.34));
}

.marketplace-spotlight-payments {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.marketplace-spotlight-payments img {
  display: block;
  height: 22px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.marketplace-card-branding {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(5, 10, 18, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.marketplace-game-logo {
  display: block;
  height: 22px;
  width: auto;
  max-width: 92px;
  object-fit: contain;
}

.marketplace-payment-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(8, 13, 24, 0.74);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.marketplace-payment-mark img {
  display: block;
  height: 16px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

.marketplace-browse-page .marketplace-card-branding {
  top: 10px;
  left: 10px;
  min-width: 54px;
  min-height: 34px;
  padding: 6px 9px;
  border-radius: 12px;
}

.marketplace-browse-page .marketplace-game-logo {
  height: 18px;
  max-width: 82px;
}

.marketplace-browse-page .marketplace-payment-mark img {
  height: 14px;
}

@media (max-width: 720px) {
  .marketplace-brand-ribbon-game {
    height: 28px;
    max-width: 104px;
  }

  .marketplace-brand-ribbon-pay {
    height: 20px;
  }

  .marketplace-spotlight-logo {
    height: 32px;
  }
}

html[data-theme="light"] .seller-banner-preview-overlay,
body.theme-light .seller-banner-preview-overlay {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.26) 44%, rgba(255, 255, 255, 0.78));
}

html[data-theme="light"] .seller-banner-preview-copy p,
body.theme-light .seller-banner-preview-copy p,
html[data-theme="light"] .seller-banner-preview-copy strong,
body.theme-light .seller-banner-preview-copy strong {
  color: #0f172a;
}

/* Seller submission select menu fixes */
.seller-page select option,
.seller-page select optgroup,
body.panel-page select option,
body.panel-page select optgroup,
body.customer-portal-page select option,
body.customer-portal-page select optgroup {
  color: #f8fafc;
  background-color: #0f172a;
}

.seller-page select option:checked,
body.panel-page select option:checked,
body.customer-portal-page select option:checked {
  color: #f8fafc;
  background-color: #2563eb;
}

html[data-theme="light"] .seller-page select option,
html[data-theme="light"] .seller-page select optgroup,
html[data-theme="light"] body.panel-page select option,
html[data-theme="light"] body.panel-page select optgroup,
html[data-theme="light"] body.customer-portal-page select option,
html[data-theme="light"] body.customer-portal-page select optgroup,
body.theme-light.seller-page select option,
body.theme-light.seller-page select optgroup,
body.theme-light.panel-page select option,
body.theme-light.panel-page select optgroup,
body.theme-light.customer-portal-page select option,
body.theme-light.customer-portal-page select optgroup {
  color: #0f172a;
  background-color: #f8fafc;
}

html[data-theme="light"] .seller-page select option:checked,
html[data-theme="light"] body.panel-page select option:checked,
html[data-theme="light"] body.customer-portal-page select option:checked,
body.theme-light.seller-page select option:checked,
body.theme-light.panel-page select option:checked,
body.theme-light.customer-portal-page select option:checked {
  color: #0f172a;
  background-color: #bfdbfe;
}

@media (max-width: 980px) {
  .marketplace-seller-profile-hero-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .marketplace-seller-profile-hero-banner {
    min-height: 200px;
    max-height: none;
  }

  .marketplace-seller-profile-hero-rich {
    padding: 20px;
  }

  .marketplace-seller-profile-card-head {
    grid-template-columns: 1fr;
  }

  .marketplace-seller-profile-avatar {
    width: 82px;
    height: 82px;
  }

  .marketplace-seller-profile-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* Shell polish: cleaner header/footer and stronger overall composition */
body.panel-page .page-main,
body.customer-portal-page .page-main {
  gap: 28px;
  padding-top: 30px;
  padding-bottom: 36px;
}

body.panel-page .site-header,
body.customer-portal-page .site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(5, 8, 14, 0.9);
  backdrop-filter: blur(22px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

body.coming-soon-page .site-header,
body.marketplace-page .site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
}

body.panel-page .site-header-inner,
body.customer-portal-page .site-header-inner {
  min-height: 78px;
  gap: 20px;
}

body.panel-page .brand-lockup strong,
body.customer-portal-page .brand-lockup strong {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

body.panel-page .brand-lockup span,
body.customer-portal-page .brand-lockup span {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.panel-page .site-nav,
body.customer-portal-page .site-nav {
  gap: 10px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

body.panel-page .site-nav a,
body.customer-portal-page .site-nav a {
  border-radius: 10px;
  min-height: 40px;
  padding: 9px 14px;
}

body.panel-page .site-nav a:hover,
body.panel-page .site-nav a.is-active,
body.customer-portal-page .site-nav a:hover,
body.customer-portal-page .site-nav a.is-active {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

body.panel-page .site-footer,
body.customer-portal-page .site-footer {
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(5, 8, 14, 0.84), rgba(4, 7, 12, 0.96));
}

body.panel-page .site-footer-inner,
body.customer-portal-page .site-footer-inner {
  gap: 20px 36px;
  padding: 30px 0 34px;
}

body.panel-page .footer-brand > p:first-child,
body.customer-portal-page .footer-brand > p:first-child {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

body.panel-page .footer-socials,
body.customer-portal-page .footer-socials {
  gap: 12px;
  margin-top: 8px;
}

body.panel-page .footer-social-link,
body.customer-portal-page .footer-social-link {
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body.panel-page .footer-social-link:hover,
body.customer-portal-page .footer-social-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.05);
}

body.panel-page .panel-kicker,
body.customer-portal-page .panel-kicker {
  margin-bottom: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

body.panel-page .panel-kicker::before,
body.customer-portal-page .panel-kicker::before {
  width: 24px;
}

html[data-theme="light"] body.panel-page .site-header,
html[data-theme="light"] body.customer-portal-page .site-header,
body.theme-light.panel-page .site-header,
body.theme-light.customer-portal-page .site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

html[data-theme="light"] body.panel-page .site-nav,
html[data-theme="light"] body.customer-portal-page .site-nav,
body.theme-light.panel-page .site-nav,
body.theme-light.customer-portal-page .site-nav {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.82);
}

html[data-theme="light"] body.panel-page .site-nav a:hover,
html[data-theme="light"] body.panel-page .site-nav a.is-active,
html[data-theme="light"] body.customer-portal-page .site-nav a:hover,
html[data-theme="light"] body.customer-portal-page .site-nav a.is-active,
body.theme-light.panel-page .site-nav a:hover,
body.theme-light.panel-page .site-nav a.is-active,
body.theme-light.customer-portal-page .site-nav a:hover,
body.theme-light.customer-portal-page .site-nav a.is-active {
  background: rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] body.panel-page .site-footer,
html[data-theme="light"] body.customer-portal-page .site-footer,
body.theme-light.panel-page .site-footer,
body.theme-light.customer-portal-page .site-footer {
  background: linear-gradient(180deg, rgba(252, 253, 255, 0.98), rgba(244, 247, 251, 0.98));
  border-top-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] body.panel-page .footer-social-link,
html[data-theme="light"] body.customer-portal-page .footer-social-link,
body.theme-light.panel-page .footer-social-link,
body.theme-light.customer-portal-page .footer-social-link {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.08);
}

/* Marketplace listing premium refresh */
.marketplace-detail-block {
  gap: 30px;
}

.marketplace-detail-top {
  align-items: start;
  gap: 28px;
}

.marketplace-detail-media-panel,
.marketplace-detail-summary-panel {
  gap: 22px;
}

.marketplace-detail-hero {
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(104, 196, 255, 0.18);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.44);
  background:
    radial-gradient(circle at top right, rgba(121, 90, 255, 0.24), transparent 42%),
    linear-gradient(160deg, rgba(12, 17, 28, 0.98), rgba(8, 11, 18, 0.98));
}

.marketplace-detail-hero img,
.marketplace-detail-hero .marketplace-card-fallback {
  min-height: 420px;
}

.marketplace-card-badges {
  gap: 10px;
}

.marketplace-price-badge-inline {
  right: 20px;
  bottom: 20px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(115, 198, 255, 0.3);
  background: rgba(7, 12, 20, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
}

.marketplace-detail-media-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.marketplace-inline-panel.marketplace-inline-panel-tight,
.marketplace-detail-section-card,
.marketplace-purchase-panel,
.marketplace-related-section.surface {
  border-radius: 20px;
  border: 1px solid rgba(107, 196, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(16, 21, 35, 0.95), rgba(10, 14, 24, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.marketplace-detail-summary-premium {
  border-radius: 24px;
  border: 1px solid rgba(115, 198, 255, 0.18);
  background:
    radial-gradient(circle at top right, rgba(121, 90, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(17, 23, 37, 0.98), rgba(10, 14, 24, 0.98));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
}

.marketplace-detail-title h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.marketplace-detail-lead {
  max-width: 62ch;
  color: rgba(225, 232, 245, 0.78);
  font-size: 1rem;
  line-height: 1.75;
}

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

.marketplace-detail-fact {
  min-height: 92px;
  border-radius: 18px;
  border: 1px solid rgba(111, 190, 255, 0.16);
  background: rgba(12, 18, 30, 0.72);
}

.marketplace-detail-pills {
  gap: 10px;
}

.marketplace-purchase-panel {
  padding: 24px;
}

.marketplace-purchase-head {
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marketplace-purchase-price strong {
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.marketplace-seller-card-premium {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(111, 190, 255, 0.18);
  background:
    radial-gradient(circle at top left, rgba(100, 194, 255, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(13, 18, 30, 0.96), rgba(10, 14, 24, 0.98));
}

.marketplace-seller-card-head {
  align-items: start;
  gap: 16px;
}

.marketplace-seller-stat-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.marketplace-seller-stat-chip {
  min-height: 108px;
  border-radius: 18px;
  border: 1px solid rgba(108, 191, 255, 0.14);
  background: rgba(15, 21, 35, 0.88);
}

.marketplace-seller-rating {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 214, 102, 0.16);
  background: rgba(22, 18, 12, 0.34);
}

.marketplace-purchase-notes {
  gap: 14px;
}

.marketplace-purchase-note {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(111, 190, 255, 0.12);
  background: rgba(12, 17, 28, 0.7);
}

.marketplace-purchase-meta {
  padding: 4px 0 0;
}

.marketplace-detail-lower {
  gap: 24px;
}

.marketplace-review-summary,
.marketplace-chat-modal-card,
.marketplace-related-section.surface {
  border-radius: 22px;
}

.marketplace-review-card,
.marketplace-related-card {
  border-radius: 18px;
  border: 1px solid rgba(110, 191, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(16, 21, 35, 0.96), rgba(10, 14, 24, 0.98));
}

.marketplace-related-card {
  min-height: 100%;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

html[data-theme="light"] .marketplace-detail-hero,
body.theme-light .marketplace-detail-hero,
html[data-theme="light"] .marketplace-inline-panel.marketplace-inline-panel-tight,
html[data-theme="light"] .marketplace-detail-section-card,
html[data-theme="light"] .marketplace-purchase-panel,
html[data-theme="light"] .marketplace-related-section.surface,
html[data-theme="light"] .marketplace-detail-summary-premium,
html[data-theme="light"] .marketplace-seller-card-premium,
html[data-theme="light"] .marketplace-related-card,
html[data-theme="light"] .marketplace-review-card,
body.theme-light .marketplace-inline-panel.marketplace-inline-panel-tight,
body.theme-light .marketplace-detail-section-card,
body.theme-light .marketplace-purchase-panel,
body.theme-light .marketplace-related-section.surface,
body.theme-light .marketplace-detail-summary-premium,
body.theme-light .marketplace-seller-card-premium,
body.theme-light .marketplace-related-card,
body.theme-light .marketplace-review-card {
  background:
    linear-gradient(180deg, rgba(245, 248, 255, 0.98), rgba(233, 239, 248, 0.98));
}

html[data-theme="light"] .marketplace-detail-fact,
html[data-theme="light"] .marketplace-seller-stat-chip,
body.theme-light .marketplace-detail-fact,
body.theme-light .marketplace-seller-stat-chip {
  background: rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .marketplace-seller-rating,
body.theme-light .marketplace-seller-rating {
  background: rgba(255, 250, 232, 0.86);
}

.marketplace-hero-showcase,
.seller-hero-visual,
.customer-seller-hero-visual,
.seller-terms-hero-art {
  display: grid;
  gap: 16px;
  justify-items: end;
  align-items: center;
}

.marketplace-hub-mascot,
.seller-page-mascot {
  display: block;
  width: min(100%, 220px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(2, 8, 23, 0.42));
}

.marketplace-hub-mascot-main {
  width: min(100%, 260px);
}

.marketplace-hub-mascot-side {
  width: min(100%, 230px);
}

.seller-page-mascot-hero {
  width: min(100%, 210px);
}

.seller-page-mascot-application {
  width: min(100%, 184px);
}

.seller-page-mascot-terms {
  width: min(100%, 220px);
}

.marketplace-seller-hub {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(96, 165, 250, 0.16);
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 36%),
    radial-gradient(circle at bottom left, rgba(234, 179, 8, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(9, 14, 24, 0.98), rgba(11, 17, 29, 0.96));
}

.marketplace-seller-hub-copy {
  display: grid;
  gap: 16px;
}

.marketplace-seller-hub-copy h2,
.marketplace-seller-hub-copy p {
  margin: 0;
}

.marketplace-seller-hub-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.marketplace-seller-hub-point {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(9, 14, 30, 0.54);
}

.marketplace-seller-hub-point span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.marketplace-seller-hub-point strong {
  line-height: 1.45;
}

.marketplace-seller-hub-art {
  display: grid;
  justify-items: center;
}

.seller-hero-visual {
  width: min(100%, 640px);
}

.seller-marketplace-knowledge-surface {
  display: grid;
  gap: 20px;
}

.seller-marketplace-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.seller-marketplace-knowledge-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    linear-gradient(180deg, rgba(10, 15, 26, 0.92), rgba(11, 18, 31, 0.88));
}

.seller-marketplace-knowledge-card-total {
  border-color: rgba(96, 165, 250, 0.2);
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(10, 15, 26, 0.96), rgba(11, 18, 31, 0.9));
}

.seller-marketplace-knowledge-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.seller-marketplace-knowledge-head img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.seller-marketplace-knowledge-head strong,
.seller-marketplace-knowledge-card strong,
.seller-guidance-card strong,
.seller-payout-fee-card strong {
  margin: 0;
}

.seller-marketplace-knowledge-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.seller-marketplace-knowledge-metric {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.seller-marketplace-knowledge-metric span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.seller-guidance-grid,
.seller-payout-fee-grid,
.seller-terms-grid {
  display: grid;
  gap: 14px;
}

.seller-guidance-grid,
.seller-payout-fee-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seller-guidance-card,
.seller-payout-fee-card,
.seller-terms-grid article {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.seller-guidance-card .text-link {
  margin-top: 2px;
}

.seller-payout-fees-surface {
  display: grid;
  gap: 18px;
}

.seller-terms-surface {
  display: grid;
  gap: 22px;
}

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

.seller-terms-grid article h3,
.seller-terms-grid article p {
  margin: 0;
}

.seller-terms-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

html[data-theme="light"] .marketplace-seller-hub,
body.theme-light .marketplace-seller-hub,
html[data-theme="light"] .seller-marketplace-knowledge-card,
html[data-theme="light"] .seller-guidance-card,
html[data-theme="light"] .seller-payout-fee-card,
html[data-theme="light"] .seller-terms-grid article,
body.theme-light .seller-marketplace-knowledge-card,
body.theme-light .seller-guidance-card,
body.theme-light .seller-payout-fee-card,
body.theme-light .seller-terms-grid article {
  background:
    linear-gradient(180deg, rgba(245, 249, 255, 0.96), rgba(233, 240, 248, 0.94));
}

html[data-theme="light"] .seller-marketplace-knowledge-card-total,
body.theme-light .seller-marketplace-knowledge-card-total {
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(245, 249, 255, 0.98), rgba(233, 240, 248, 0.95));
}

@media (max-width: 1024px) {
  .marketplace-seller-hub,
  .seller-marketplace-knowledge-grid,
  .seller-guidance-grid,
  .seller-payout-fee-grid,
  .seller-terms-grid {
    grid-template-columns: 1fr;
  }

  .marketplace-seller-hub-points,
  .seller-marketplace-knowledge-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .marketplace-hero-showcase,
  .seller-hero-visual,
  .customer-seller-hero-visual,
  .seller-terms-hero-art {
    justify-items: start;
  }

  .marketplace-seller-hub-points,
  .seller-marketplace-knowledge-metrics {
    grid-template-columns: 1fr;
  }
}

html[data-theme="light"] .marketplace-purchase-meta,
html[data-theme="light"] .marketplace-purchase-note,
body.theme-light .marketplace-purchase-meta,
body.theme-light .marketplace-purchase-note {
  background: rgba(241, 245, 252, 0.9);
}

@media (max-width: 980px) {
  .marketplace-detail-media-meta,
  .marketplace-detail-fact-row,
  .marketplace-seller-stat-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .marketplace-detail-hero,
  .marketplace-detail-hero img,
  .marketplace-detail-hero .marketplace-card-fallback {
    min-height: 320px;
  }

  .marketplace-detail-title h1 {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
  }

  .marketplace-price-badge-inline {
    right: 14px;
    bottom: 14px;
  }
}
/* Marketplace storefront split lanes */
.marketplace-stat-grid {
  margin-top: 24px;
}

.marketplace-game-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.marketplace-game-spotlight {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 24px;
  text-align: left;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: #f8fafc;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(8, 12, 24, 0.98), rgba(14, 20, 36, 0.94));
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.marketplace-game-spotlight::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  opacity: 0.38;
  filter: blur(10px);
  pointer-events: none;
}

.marketplace-game-spotlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(2, 6, 23, 0.3);
}

.marketplace-game-spotlight strong {
  font-size: 1.3rem;
  line-height: 1.15;
}

.marketplace-game-spotlight p,
.marketplace-game-spotlight-kicker {
  margin: 0;
}

.marketplace-game-spotlight-kicker {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.marketplace-game-spotlight-league {
  border-color: rgba(56, 189, 248, 0.22);
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(3, 15, 27, 0.98), rgba(10, 27, 47, 0.94));
}

.marketplace-game-spotlight-league::after {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.9), rgba(14, 165, 233, 0.08));
}

.marketplace-game-spotlight-valorant {
  border-color: rgba(251, 113, 133, 0.24);
  background:
    radial-gradient(circle at top right, rgba(251, 113, 133, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(28, 6, 14, 0.98), rgba(54, 12, 25, 0.94));
}

.marketplace-game-spotlight-valorant::after {
  background: radial-gradient(circle, rgba(251, 113, 133, 0.9), rgba(244, 63, 94, 0.08));
}

.marketplace-game-lanes {
  display: grid;
  gap: 24px;
}

.marketplace-game-lane {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(9, 13, 24, 0.96), rgba(6, 10, 18, 0.98));
}

.marketplace-game-lane-league {
  border-color: rgba(56, 189, 248, 0.18);
}

.marketplace-game-lane-valorant {
  border-color: rgba(251, 113, 133, 0.2);
}

.marketplace-game-lane-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.marketplace-game-lane-head h2,
.marketplace-game-lane-head .panel-kicker {
  margin: 0;
}

.marketplace-game-lane-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.46);
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.84rem;
  font-weight: 700;
}

.marketplace-card {
  position: relative;
  overflow: hidden;
}

.marketplace-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.marketplace-card-media {
  min-height: 240px;
}

.marketplace-card-orb {
  position: absolute;
  right: -30px;
  bottom: -36px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  opacity: 0.5;
  filter: blur(12px);
}

.marketplace-card-orb-league {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.95), rgba(37, 99, 235, 0.08));
}

.marketplace-card-orb-valorant {
  background: radial-gradient(circle, rgba(251, 113, 133, 0.95), rgba(225, 29, 72, 0.08));
}

.marketplace-card-topline h3 {
  font-size: 1.22rem;
}

.marketplace-card-copy {
  min-height: 4.8em;
}

.marketplace-card-highlight-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.marketplace-card-highlight {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(10, 16, 30, 0.72);
}

.marketplace-card-highlight span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.marketplace-card-highlight strong {
  color: var(--text);
  font-size: 0.96rem;
}

.marketplace-card-facts div {
  min-height: 72px;
}

.marketplace-card-footer {
  align-items: end;
}

.marketplace-card-footer .btn {
  min-width: 220px;
}

html[data-theme="light"] .marketplace-game-lane,
html[data-theme="light"] .marketplace-game-spotlight,
body.theme-light .marketplace-game-lane,
body.theme-light .marketplace-game-spotlight {
  color: #0f172a;
}

html[data-theme="light"] .marketplace-game-lane,
body.theme-light .marketplace-game-lane {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.98));
}

html[data-theme="light"] .marketplace-game-lane-count,
html[data-theme="light"] .marketplace-card-highlight,
body.theme-light .marketplace-game-lane-count,
body.theme-light .marketplace-card-highlight {
  background: rgba(255, 255, 255, 0.82);
  color: #0f172a;
}

@media (max-width: 900px) {
  .marketplace-game-rail {
    grid-template-columns: 1fr;
  }

  .marketplace-game-lane-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .marketplace-card-highlight-row {
    grid-template-columns: 1fr;
  }
}

.marketplace-browse-shell {
  display: grid;
  gap: 24px;
}

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

.marketplace-card-price-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(8, 13, 24, 0.78);
}

.marketplace-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(255px, 255px));
  justify-content: start;
  gap: 18px;
}

.marketplace-browse-page .marketplace-game-lane {
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.marketplace-browse-page .marketplace-game-lane-head {
  align-items: center;
  padding-inline: 2px;
  padding-bottom: 2px;
}

.marketplace-browse-page .marketplace-game-lane-head h2 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.marketplace-browse-page .marketplace-game-lane-head .panel-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.marketplace-browse-page .marketplace-game-lane-count {
  min-height: 34px;
  padding: 0 11px;
  border-color: rgba(148, 163, 184, 0.14);
  background: transparent;
  font-size: 0.76rem;
}

.marketplace-browse-page .marketplace-card {
  width: 268px;
  gap: 0;
  padding: 0;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(12, 17, 30, 0.98), rgba(8, 12, 22, 0.98));
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.marketplace-browse-page .marketplace-card:hover {
  transform: translateY(-4px);
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow: 0 24px 46px rgba(2, 6, 23, 0.22);
}

.marketplace-browse-page .marketplace-card-game-league {
  border-color: rgba(56, 189, 248, 0.16);
}

.marketplace-browse-page .marketplace-card-game-valorant {
  border-color: rgba(251, 113, 133, 0.16);
}

.marketplace-browse-page .marketplace-card::before {
  display: none;
}

.marketplace-browse-page .marketplace-card-media {
  min-height: 143px;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.08), rgba(5, 10, 18, 0.32));
}

.marketplace-browse-page .marketplace-card-media img,
.marketplace-browse-page .marketplace-card-fallback {
  min-height: 143px;
  transition: transform 220ms ease;
}

.marketplace-browse-page .marketplace-card:hover .marketplace-card-media img {
  transform: scale(1.03);
}

.marketplace-browse-page .marketplace-card-branding {
  top: 10px;
  left: 10px;
  min-width: 58px;
  min-height: 35px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(8, 13, 24, 0.72);
  border-color: rgba(148, 163, 184, 0.14);
  backdrop-filter: blur(10px);
}

.marketplace-browse-page .marketplace-card-media-price {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.5rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 13, 24, 0.9);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.22);
  color: #f8fafc;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.marketplace-browse-page .marketplace-card-shade,
.marketplace-browse-page .marketplace-card-orb {
  display: none;
}

.marketplace-browse-page .marketplace-card-badges {
  top: 10px;
  right: 10px;
  bottom: auto;
  left: auto;
  flex-direction: row;
  align-items: flex-start;
}

.marketplace-browse-page .marketplace-card-body {
  gap: 10px;
  padding: 14px 14px 14px;
}

.marketplace-browse-page .marketplace-card-heading {
  display: block;
}

.marketplace-browse-page .marketplace-card-heading h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.26;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.marketplace-browse-page .marketplace-card-summary {
  margin: 5px 0 0;
  color: rgba(203, 213, 225, 0.72);
  font-size: 0.72rem;
  line-height: 1.45;
}

.marketplace-browse-page .marketplace-card-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.marketplace-browse-page .marketplace-card-facts div {
  display: grid;
  gap: 4px;
  min-height: 0;
  padding: 9px 10px;
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.marketplace-browse-page .marketplace-card-facts dt {
  margin: 0;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
}

.marketplace-browse-page .marketplace-card-facts dd {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #f8fafc;
}

.marketplace-browse-page .marketplace-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}

.marketplace-browse-page .marketplace-seller-chip {
  gap: 8px;
  flex: 1 1 auto;
  padding: 8px 9px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  min-width: 0;
}

.marketplace-browse-page .marketplace-seller-chip div {
  min-width: 0;
}

.marketplace-browse-page .marketplace-seller-chip strong {
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.marketplace-browse-page .marketplace-seller-chip p {
  font-size: 0.68rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.marketplace-browse-page .marketplace-seller-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.marketplace-browse-page .marketplace-card-footer .btn {
  min-width: 118px;
  min-height: 40px;
  padding-inline: 0.9rem;
  border-radius: 14px;
  font-size: 0.82rem;
}

.marketplace-browse-page .marketplace-card-action {
  border-color: rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.marketplace-browse-page .marketplace-meta-pill-verified {
  border-color: rgba(134, 239, 172, 0.24);
  background: rgba(22, 101, 52, 0.3);
  color: rgba(220, 252, 231, 0.96);
}

@media (max-width: 900px) {
  .marketplace-browse-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .marketplace-grid-compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .marketplace-browse-page .marketplace-card {
    width: 100%;
  }

  .marketplace-browse-page .marketplace-card-footer {
    display: grid;
  }

  .marketplace-browse-page .marketplace-card-footer .btn {
    min-width: 100%;
  }
}

/* Marketplace listing-card redesign */
.marketplace-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(424px, 424px));
  gap: 30px;
  align-items: start;
}

.marketplace-browse-page .marketplace-card {
  width: 424px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.985), rgba(7, 11, 20, 1));
  box-shadow:
    0 26px 54px rgba(2, 6, 23, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.marketplace-browse-page .marketplace-card:hover {
  transform: translateY(-6px);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow:
    0 30px 64px rgba(2, 6, 23, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.marketplace-browse-page .marketplace-card-media,
.marketplace-browse-page .marketplace-card-media img,
.marketplace-browse-page .marketplace-card-fallback {
  min-height: 236px;
}

.marketplace-browse-page .marketplace-card-media {
  border-radius: 28px 28px 0 0;
}

.marketplace-browse-page .marketplace-card-media img {
  object-position: center;
}

.marketplace-browse-page .marketplace-card-branding {
  top: 16px;
  left: 16px;
  min-width: 58px;
  min-height: 58px;
  border-radius: 20px;
}

.marketplace-browse-page .marketplace-card-media-price {
  left: 16px;
  bottom: 16px;
  min-height: 42px;
  padding: 0.62rem 0.95rem;
  border-radius: 18px;
  font-size: 1rem;
}

.marketplace-browse-page .marketplace-card-badges {
  top: 16px;
  right: 16px;
}

.marketplace-browse-page .marketplace-card-body {
  flex: 1;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 15px;
  padding: 18px 19px 20px;
}

.marketplace-browse-page .marketplace-card-heading h3 {
  font-size: 1.18rem;
  line-height: 1.32;
}

.marketplace-browse-page .marketplace-card-summary {
  margin-top: 7px;
  font-size: 0.82rem;
}

.marketplace-browse-page .marketplace-card-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.marketplace-browse-page .marketplace-card-facts div {
  min-height: 78px;
  padding: 11px 12px;
  border-radius: 16px;
}

.marketplace-browse-page .marketplace-card-facts dt {
  margin-bottom: 6px;
}

.marketplace-browse-page .marketplace-card-footer {
  grid-template-columns: minmax(0, 1fr) 156px;
  gap: 14px;
  margin-top: 0;
}

.marketplace-browse-page .marketplace-seller-chip {
  min-height: 60px;
  padding: 11px 12px;
  border-radius: 18px;
}

.marketplace-browse-page .marketplace-card-action {
  min-height: 60px;
  border-radius: 18px;
  font-size: 0.84rem;
}

@media (max-width: 640px) {
  .marketplace-grid-compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .marketplace-browse-page .marketplace-card {
    width: 100%;
  }

  .marketplace-browse-page .marketplace-card-footer {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Final panel logo treatment + stretched marketplace tiles */
.marketplace-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(348px, 348px));
  gap: 24px;
}

.marketplace-browse-page .marketplace-card {
  width: 348px;
}

.marketplace-browse-page .marketplace-card-media,
.marketplace-browse-page .marketplace-card-media img,
.marketplace-browse-page .marketplace-card-fallback {
  min-height: 198px;
}

.marketplace-browse-page .marketplace-card-body {
  gap: 11px;
  padding: 15px 15px 16px;
}

.marketplace-browse-page .marketplace-card-heading h3 {
  font-size: 1.08rem;
}

.marketplace-browse-page .marketplace-card-summary {
  font-size: 0.76rem;
}

.marketplace-browse-page .marketplace-card-footer {
  display: grid;
  gap: 10px;
}

.marketplace-browse-page .marketplace-seller-chip {
  width: 100%;
}

.marketplace-browse-page .marketplace-seller-chip strong,
.marketplace-browse-page .marketplace-seller-chip p {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.marketplace-browse-page .marketplace-card-footer .btn {
  min-width: 100%;
}

body.panel-page .brand-lockup,
body.customer-portal-page .brand-lockup {
  position: static;
  gap: 12px;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.panel-page .brand-lockup::after,
body.customer-portal-page .brand-lockup::after {
  display: none;
}

body.panel-page .brand-logo,
body.customer-portal-page .brand-logo {
  position: static;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.panel-page .brand-lockup strong,
body.customer-portal-page .brand-lockup strong {
  letter-spacing: -0.02em;
}

body.panel-page .brand-lockup span,
body.customer-portal-page .brand-lockup span {
  color: rgba(226, 232, 240, 0.66);
}

body.panel-page .brand-lockup:hover,
body.customer-portal-page .brand-lockup:hover {
  transform: none;
}

body.panel-page .hero-banner,
body.customer-portal-page .hero-banner,
body.customer-portal-page .login-card {
  position: relative;
  overflow: hidden;
}

.panel-logo-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.panel-logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(8, 13, 24, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 26px rgba(2, 6, 23, 0.16);
}

.panel-logo-chip img {
  display: block;
  width: auto;
  max-width: 112px;
  max-height: 24px;
  object-fit: contain;
}

.panel-logo-chip-game img {
  max-height: 26px;
  max-width: 118px;
}

.panel-logo-chip-payment img {
  max-height: 20px;
}

.marketplace-browse-page .marketplace-card-branding {
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(8, 13, 24, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 24px rgba(2, 6, 23, 0.18);
}

.marketplace-game-emblem {
  width: 22px;
  height: 22px;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.marketplace-game-emblem-league {
  width: 24px;
  height: 24px;
  background-image: url("https://www.riotgames.com/darkroom/original/9a50f5b3bdcfb815580ef103ec9b6ee2:d49b78b12cf185e10127cdf81b144a00/lol-logo-rendered-hi-res.png");
}

.marketplace-game-emblem-valorant {
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/thumb/f/fc/Valorant_logo_-_pink_color_version.svg/1280px-Valorant_logo_-_pink_color_version.svg.png");
}

@media (max-width: 640px) {
  .marketplace-grid-compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .marketplace-browse-page .marketplace-card {
    width: 100%;
  }

  .marketplace-browse-page .marketplace-card-footer {
    display: grid;
  }

  .marketplace-browse-page .marketplace-card-footer .btn {
    min-width: 100%;
  }

  .panel-logo-rail {
    gap: 8px;
  }

  .panel-logo-chip {
    min-height: 42px;
    padding: 8px 12px;
  }

  .panel-logo-chip img {
    max-width: 96px;
  }
}

/* Marketplace listing-card rebuild */
.marketplace-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(440px, 440px));
  gap: 32px;
  align-items: start;
}

.marketplace-browse-page .marketplace-card {
  width: 440px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    linear-gradient(180deg, rgba(13, 19, 32, 0.98), rgba(8, 13, 24, 1));
  box-shadow:
    0 28px 60px rgba(2, 6, 23, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.marketplace-browse-page .marketplace-card:hover {
  transform: translateY(-6px);
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow:
    0 34px 72px rgba(2, 6, 23, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.marketplace-browse-page .marketplace-card-media-link,
.marketplace-browse-page .marketplace-card-title-link {
  color: inherit;
  text-decoration: none;
}

.marketplace-browse-page .marketplace-card-media,
.marketplace-browse-page .marketplace-card-media img,
.marketplace-browse-page .marketplace-card-fallback {
  min-height: 244px;
}

.marketplace-browse-page .marketplace-card-media {
  position: relative;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, rgba(12, 18, 31, 0.18), rgba(12, 18, 31, 0.36));
}

.marketplace-browse-page .marketplace-card-media img {
  transform: scale(1.01);
  object-position: center;
}

.marketplace-browse-page .marketplace-card-media-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 8, 16, 0.04) 0%, rgba(5, 8, 16, 0.18) 42%, rgba(5, 8, 16, 0.78) 100%);
  pointer-events: none;
}

.marketplace-browse-page .marketplace-card-branding {
  top: 16px;
  left: 16px;
  z-index: 2;
  min-width: 58px;
  min-height: 58px;
  border-radius: 20px;
  background: rgba(7, 11, 21, 0.86);
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.26);
}

.marketplace-browse-page .marketplace-card-badges {
  top: 16px;
  right: 16px;
  gap: 9px;
  z-index: 2;
}

.marketplace-browse-page .marketplace-card-media-price {
  left: 16px;
  right: auto;
  bottom: 16px;
  z-index: 2;
  min-height: 44px;
  padding: 0.62rem 0.98rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(8, 12, 22, 0.94));
  box-shadow: 0 18px 32px rgba(2, 6, 23, 0.32);
  font-size: 1rem;
}

.marketplace-browse-page .marketplace-card-body {
  display: grid;
  gap: 16px;
  padding: 19px 20px 21px;
}

.marketplace-browse-page .marketplace-card-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.marketplace-browse-page .marketplace-card-kicker {
  color: rgba(148, 163, 184, 0.88);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.marketplace-browse-page .marketplace-card-stock {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marketplace-browse-page .marketplace-card-heading h3 {
  font-size: 1.18rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.marketplace-browse-page .marketplace-card-title-link {
  transition: color 180ms ease;
}

.marketplace-browse-page .marketplace-card:hover .marketplace-card-title-link {
  color: #ffffff;
}

.marketplace-browse-page .marketplace-card-summary {
  margin-top: 7px;
  color: rgba(203, 213, 225, 0.74);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.marketplace-browse-page .marketplace-card-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.marketplace-browse-page .marketplace-card-facts div {
  min-height: 80px;
  padding: 12px 13px;
  border-radius: 17px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
}

.marketplace-browse-page .marketplace-card-facts dt {
  margin-bottom: 7px;
  color: rgba(148, 163, 184, 0.8);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.marketplace-browse-page .marketplace-card-facts dd {
  color: #f8fafc;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.marketplace-browse-page .marketplace-card-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 164px;
  align-items: stretch;
  gap: 14px;
  margin-top: 2px;
}

.marketplace-browse-page .marketplace-seller-chip {
  width: 100%;
  min-height: 60px;
  padding: 11px 12px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.marketplace-browse-page .marketplace-seller-chip strong,
.marketplace-browse-page .marketplace-seller-chip p {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketplace-browse-page .marketplace-card-footer .btn {
  min-width: 0;
  width: 100%;
  min-height: 60px;
  border-radius: 18px;
}

.marketplace-browse-page .marketplace-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-inline: 1.05rem;
  border-color: rgba(148, 163, 184, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.026));
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.marketplace-browse-page .marketplace-meta-pill-verified {
  border-color: rgba(134, 239, 172, 0.24);
  background: rgba(22, 101, 52, 0.26);
}

.marketplace-game-emblem-league {
  width: 24px;
  height: 24px;
  background-image: url("/images/games/league-of-legends.png");
}

.marketplace-game-emblem-valorant {
  background-image: url("/images/games/valorant.png");
}

@media (max-width: 640px) {
  .marketplace-grid-compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .marketplace-browse-page .marketplace-card {
    width: 100%;
  }

  .marketplace-browse-page .marketplace-card-footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .marketplace-browse-page .marketplace-card-footer .btn {
    min-width: 100%;
  }
}
