:root {
  color-scheme: dark;
  --bg-deep: #07060b;
  --bg-panel: #0e0b14;
  --border-subtle: #221a33;
  --navy: #f5f3ff;
  --sky: #ff4fd8;
  --mint: #ff89d6;
  --ink: #f5f3ff;
  --slate: #b8b0c9;
  --frost: #0e0b14;
  --accent: #ff2daa;
  --accent-violet: #a855f7;
  --shadow: 0 24px 60px rgba(4, 2, 10, 0.6);
  --header-bg: rgba(7, 6, 11, 0.92);
  --subnav-bg: rgba(7, 6, 11, 0.92);
  --hero-overlay-gradient: radial-gradient(1200px 600px at 20% 40%, rgba(255, 45, 170, 0.12), transparent 60%),
    radial-gradient(900px 500px at 70% 30%, rgba(168, 85, 247, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(7, 6, 11, 0.85) 0%, rgba(7, 6, 11, 0.55) 45%, rgba(7, 6, 11, 0.9) 100%);
  --hero-inset-shadow: inset 0 0 120px rgba(0, 0, 0, 0.65);
  --hero-video-filter: saturate(1.05) contrast(1.05) brightness(0.85);
  --hero-card-bg: rgba(14, 11, 20, 0.55);
  --hero-card-border: rgba(255, 255, 255, 0.1);
  --hero-info-bg: rgba(255, 255, 255, 0.08);
  --hero-info-border: rgba(255, 255, 255, 0.12);
  --hero-info-text: rgba(255, 255, 255, 0.9);
  --hero-info-strong: #fff;
  --hero-info-label: rgba(255, 255, 255, 0.7);
}

:root[data-brand="livestrip"] {
  color-scheme: dark;
  --bg-deep: #0b0705;
  --bg-panel: #140d09;
  --border-subtle: #2c1b12;
  --navy: #fff3e8;
  --sky: #ff9a3d;
  --mint: #ffd3a8;
  --ink: #fff3e8;
  --slate: #c9b3a4;
  --frost: #140d09;
  --accent: #ff7a1a;
  --accent-violet: #ffb86b;
  --shadow: 0 24px 60px rgba(10, 4, 2, 0.6);
}

:root[data-brand="susi"] {
  color-scheme: light;
  --bg-deep: #f8fbff;
  --bg-panel: #ffffff;
  --border-subtle: #d7e3f3;
  --navy: #172033;
  --sky: #3b82f6;
  --mint: #f87171;
  --ink: #101826;
  --slate: #5a6a86;
  --frost: #ffffff;
  --accent: #2563eb;
  --accent-violet: #ef4444;
  --shadow: 0 24px 60px rgba(20, 40, 80, 0.12);
  --header-bg: rgba(255, 255, 255, 0.94);
  --subnav-bg: rgba(255, 255, 255, 0.94);
  --hero-overlay-gradient: radial-gradient(1200px 600px at 20% 40%, rgba(37, 99, 235, 0.1), transparent 60%),
    radial-gradient(900px 500px at 70% 30%, rgba(239, 68, 68, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.9) 0%, rgba(248, 251, 255, 0.75) 45%, rgba(248, 251, 255, 0.92) 100%);
  --hero-inset-shadow: inset 0 0 60px rgba(21, 55, 120, 0.12);
  --hero-video-filter: saturate(1) contrast(1) brightness(1.02);
  --hero-card-bg: rgba(255, 255, 255, 0.82);
  --hero-card-border: rgba(45, 85, 145, 0.2);
  --hero-info-bg: rgba(37, 99, 235, 0.08);
  --hero-info-border: rgba(37, 99, 235, 0.16);
  --hero-info-text: #1b3156;
  --hero-info-strong: #172033;
  --hero-info-label: #355a93;
}

:root.dark[data-brand="susi"] {
  color-scheme: dark;
  --bg-deep: #0b1220;
  --bg-panel: #121a2c;
  --border-subtle: #22304a;
  --navy: #e6edff;
  --sky: #60a5fa;
  --mint: #f87171;
  --ink: #e6edff;
  --slate: #9fb2d9;
  --frost: #121a2c;
  --accent: #3b82f6;
  --accent-violet: #f87171;
  --shadow: 0 24px 60px rgba(8, 12, 24, 0.6);
}

:root[data-brand="supermodels"] {
  color-scheme: light;
  --bg-deep: #fff7fb;
  --bg-panel: #ffffff;
  --border-subtle: #f0d8e8;
  --navy: #2a1522;
  --sky: #f472b6;
  --mint: #fbcfe8;
  --ink: #1f0f18;
  --slate: #6b4a5c;
  --frost: #ffffff;
  --accent: #ec4899;
  --accent-violet: #f472b6;
  --shadow: 0 24px 60px rgba(236, 72, 153, 0.15);
  --header-bg: rgba(255, 255, 255, 0.94);
  --subnav-bg: rgba(255, 255, 255, 0.94);
  --hero-overlay-gradient: radial-gradient(1200px 600px at 20% 40%, rgba(236, 72, 153, 0.1), transparent 60%),
    radial-gradient(900px 500px at 70% 30%, rgba(244, 114, 182, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(255, 247, 251, 0.9) 0%, rgba(255, 247, 251, 0.75) 45%, rgba(255, 247, 251, 0.92) 100%);
  --hero-inset-shadow: inset 0 0 60px rgba(116, 30, 85, 0.1);
  --hero-video-filter: saturate(1) contrast(1) brightness(1.02);
  --hero-card-bg: rgba(255, 255, 255, 0.82);
  --hero-card-border: rgba(150, 58, 119, 0.2);
  --hero-info-bg: rgba(236, 72, 153, 0.08);
  --hero-info-border: rgba(236, 72, 153, 0.16);
  --hero-info-text: #4a2040;
  --hero-info-strong: #2a1522;
  --hero-info-label: #7e3a66;
}

:root.dark[data-brand="supermodels"] {
  color-scheme: dark;
  --bg-deep: #120a14;
  --bg-panel: #1b0f1f;
  --border-subtle: #2c1a33;
  --navy: #f8e7f1;
  --sky: #f472b6;
  --mint: #f9a8d4;
  --ink: #f8e7f1;
  --slate: #c9a4ba;
  --frost: #1b0f1f;
  --accent: #ec4899;
  --accent-violet: #f472b6;
  --shadow: 0 24px 60px rgba(12, 6, 16, 0.6);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg-deep);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button:not([disabled]) {
  cursor: pointer;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-panel);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
}

.nav-toggle-icon {
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--accent), var(--accent-violet));
  color: #07060b;
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--slate);
}

.main-nav a:hover {
  color: var(--ink);
}

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

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--slate);
}

.lang-links {
  display: flex;
  gap: 6px;
}

.lang-link {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
}

.header-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-panel);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.dropdown-label {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-caret {
  font-size: 0.7rem;
  opacity: 0.8;
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 200px;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 20;
}

.header-dropdown:hover .dropdown-menu,
.header-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--navy);
  font-size: 0.9rem;
  gap: 8px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dropdown-note {
  padding: 8px 12px;
  margin: 6px 0;
  border-radius: 12px;
  background: rgba(255, 79, 216, 0.15);
  color: var(--sky);
  font-size: 0.8rem;
}

.logout-button {
  color: var(--sky);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn.solid {
  background: var(--accent);
  color: #07060b;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 30px rgba(255, 45, 170, 0.25), 0 0 0 4px rgba(255, 45, 170, 0.1);
}

.btn.solid:hover {
  background: var(--sky);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(255, 45, 170, 0.32), 0 0 0 6px rgba(255, 45, 170, 0.12);
}

.btn.ghost {
  border-color: var(--border-subtle);
  color: var(--navy);
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn.secondary {
  border-color: var(--border-subtle);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.btn.secondary:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--ink);
}

.btn.danger {
  border-color: rgba(255, 99, 99, 0.6);
  color: #ff6b6b;
  background: transparent;
}

.btn.danger:hover {
  background: rgba(255, 99, 99, 0.12);
  border-color: rgba(255, 99, 99, 0.85);
}

.btn.google-signup {
  background: linear-gradient(140deg, #ffffff, #e9f1ff);
  color: #1f1f1f;
  border-color: rgba(66, 133, 244, 0.5);
  box-shadow: 0 12px 28px rgba(66, 133, 244, 0.25), 0 0 0 4px rgba(66, 133, 244, 0.08);
  font-weight: 700;
  width: 100%;
  gap: 12px;
  min-height: 56px;
}

.btn.google-signup:hover {
  background: #f4f7ff;
  color: #1a3b7b;
  border-color: rgba(66, 133, 244, 0.85);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(66, 133, 244, 0.32);
}

.btn-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
  font-size: 1rem;
  font-weight: 700;
}

.input-helper {
  font-size: 0.75rem;
  color: var(--slate);
}

.input-label {
  display: block;
  font-size: 0.8rem;
  color: var(--slate);
  margin-bottom: 6px;
}

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

.toast {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.google-signup__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #ffffff;
  color: #4285f4;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: inset 0 0 0 1px rgba(66, 133, 244, 0.2), 0 6px 14px rgba(66, 133, 244, 0.2);
}

.google-signup__text {
  flex: 1;
  text-align: center;
}

.login-google .btn-label {
  width: 100%;
}

@media (max-width: 960px) {
  .header-shell {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 16px 0 22px;
    border-top: 1px solid var(--border-subtle);
  }

  body.nav-open .nav-panel {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .lang-switcher {
    justify-content: space-between;
  }

  .header-actions .btn,
  .header-actions a {
    width: 100%;
  }

  .header-dropdown .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .header-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 6px;
  }
}

.site-main {
  padding-bottom: 80px;
}

.hero {
  background: var(--bg-deep);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay-gradient);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: var(--hero-inset-shadow);
  pointer-events: none;
  z-index: 1;
}

.hero-video .hero-grid {
  position: relative;
  z-index: 2;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--hero-video-filter);
  transform: scale(1.03);
}

.studio-account-hero .hero-video {
  transform: scale(1.03) translateY(36px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 3.2vw, 3.6rem);
  margin-bottom: 16px;
  color: var(--navy);
}

.hero .lead {
  font-size: 1.1rem;
  color: var(--slate);
}

.muted {
  color: var(--slate);
  font-size: 0.9rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}

.hero-actions {
  margin: 28px 0 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-metrics {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--slate);
  font-size: 0.85rem;
}

.hero-metrics strong {
  display: block;
  font-size: 1.2rem;
  color: var(--navy);
}

.hero-card .card {
  background: var(--hero-card-bg);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--hero-card-border);
  backdrop-filter: blur(10px);
}

.info-card {
  display: grid;
  gap: 16px;
}

.info-stack {
  display: grid;
  gap: 16px;
}

.info-block {
  padding: 16px;
  border-radius: 16px;
  background: var(--hero-info-bg);
  border: 1px solid var(--hero-info-border);
  color: var(--hero-info-text);
}

.info-block strong {
  display: block;
  color: var(--hero-info-strong);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.info-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.65rem;
  color: var(--hero-info-label);
  margin-bottom: 6px;
  font-weight: 700;
}

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

.section {
  padding: 70px 0;
}

.setup-password-section {
  padding-top: 20px;
}

.dashboard-section--tight {
  padding-top: 36px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 2rem;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

@media (min-width: 1210px) {
  .dashboard-cards {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
  }
}

.panel {
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  background: var(--bg-panel);
  box-shadow: 0 16px 40px rgba(6, 3, 12, 0.45);
}

.login-panel {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.25);
  box-shadow: 0 18px 44px rgba(6, 3, 12, 0.55);
  backdrop-filter: blur(8px);
}

.highlight {
  background: #0b0814;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.stacked-cards {
  display: grid;
  gap: 16px;
}

.mini-card {
  background: var(--bg-panel);
  border-radius: 14px;
  padding: 18px;
  border: 1px solid var(--border-subtle);
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  display: grid;
  gap: 16px;
}

.pricing-card.featured {
  border-color: rgba(112, 103, 255, 0.4);
  box-shadow: 0 22px 50px rgba(112, 103, 255, 0.18);
}

.price {
  font-size: 2rem;
  font-weight: 700;
  margin: 6px 0;
  color: var(--navy);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--slate);
}

.feature-list li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 8px;
  font-weight: 700;
}

.plan-note {
  color: var(--slate);
  font-size: 0.85rem;
}

.plan-footnote {
  margin-top: 24px;
  color: var(--slate);
  font-size: 0.85rem;
}

.page-hero {
  background: linear-gradient(120deg, #0b0814 0%, #120b1b 60%, #07060b 100%);
  padding: 70px 0 50px;
}

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--bg-panel);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-subtle);
}

.info-callout {
  align-items: flex-start;
  margin: 24px 0;
}

.info-callout p {
  margin-top: 10px;
}

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

.dashboard-content .form-grid {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  align-items: start;
}

.form-grid__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.form-panel {
  display: grid;
  gap: 16px;
}

.form-aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.form-status {
  font-size: 0.85rem;
  color: var(--slate);
}

.form-status.text-danger {
  color: #ff9c9c;
}

.form-status.text-success {
  color: #6affbc;
}

#profile-setup-wizard,
.studio-setup-panel,
.modelpage-setup-panel {
  position: relative;
}

.wizard-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 6, 11, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.is-loading .wizard-loading {
  opacity: 1;
  pointer-events: auto;
}

.profile-setup-step,
.studio-setup-step,
.modelpage-setup-step {
  opacity: 0;
  transform: translateY(14px);
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.3s ease;
  display: grid;
  gap: 16px;
}

.profile-setup-step form .form-row {
  margin-top: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.profile-setup-step form .form-row .form-status {
  flex-basis: 100%;
  text-align: right;
}

.profile-setup-step.is-active,
.studio-setup-step.is-active,
.modelpage-setup-step.is-active {
  opacity: 1;
  transform: translateY(0);
  max-height: 1600px;
  pointer-events: auto;
}

.profile-setup-step {
  display: none;
  opacity: 1;
  transform: none;
  max-height: none;
  overflow: visible;
  pointer-events: none;
  transition: none;
}

.profile-setup-step.is-active {
  display: grid;
  pointer-events: auto;
}

.profile-setup-step--identity form {
  display: grid;
  gap: 20px;
}

.profile-setup-step__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.profile-setup-step__icon {
  font-size: 1.2rem;
}

.profile-setup-identity-fields {
  display: grid;
  gap: 20px;
}

.profile-setup-identity-name {
  gap: 20px;
}

.profile-setup-info {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.08);
  color: #fee2e2;
  font-size: 0.95rem;
}

.profile-setup-info__title {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.form-helper {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--slate);
}

.form-helper__hint {
  display: block;
  margin-top: 4px;
  color: rgba(148, 163, 184, 0.8);
  font-size: 0.8rem;
}

.profile-setup-privacy-note {
  margin-top: 4px;
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.9rem;
}

.profile-setup-requirements {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(30, 64, 175, 0.12);
  color: rgba(224, 242, 254, 0.92);
  font-size: 0.95rem;
}

.profile-setup-requirements__title {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.profile-setup-requirements__list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

.profile-setup-requirements__warning {
  margin: 0;
  color: rgba(254, 215, 170, 0.95);
}

.profile-setup-examples {
  display: grid;
  gap: 10px;
}

.profile-setup-examples__title {
  margin: 0;
}

.profile-setup-examples__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.profile-setup-example {
  display: grid;
  gap: 6px;
  align-items: center;
  justify-items: center;
  text-align: center;
  padding: 10px;
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.35);
  color: rgba(226, 232, 240, 0.85);
  font-size: 0.85rem;
}

.profile-setup-example__icon {
  font-size: 1.2rem;
}

.profile-setup-example--good {
  border-color: rgba(74, 222, 128, 0.45);
}

.profile-setup-example--bad {
  border-color: rgba(248, 113, 113, 0.55);
}

.profile-setup-panel {
  display: grid;
  gap: 20px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(20, 28, 50, 0.98), rgba(8, 10, 18, 0.98)) padding-box,
    linear-gradient(
        140deg,
        rgba(255, 79, 142, 0.35),
        rgba(129, 140, 248, 0.35),
        rgba(255, 255, 255, 0.18)
      )
      border-box;
  border: 1px solid transparent;
  box-shadow: 0 28px 70px rgba(5, 4, 10, 0.6);
  position: relative;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.profile-setup-shell {
  position: relative;
  z-index: 1;
}

.profile-setup-modal,
.yoti-identity-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 96px 16px 32px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 200;
}

.profile-setup-modal.is-open,
.yoti-identity-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.profile-setup-modal__backdrop,
.yoti-identity-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 12, 0.76);
}

.profile-setup-modal__content,
.yoti-identity-modal__content {
  position: relative;
  width: min(900px, 100%);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  scrollbar-gutter: stable;
  z-index: 1;
}

.profile-setup-modal__close,
.yoti-identity-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.45);
  color: #fff;
  font-size: 24px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.profile-setup-modal .btn,
.yoti-identity-modal .btn,
.studio-setup-modal .btn,
.modelpage-setup-modal .btn {
  position: relative;
  overflow: hidden;
  opacity: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease,
    background-color 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(6px);
}

.profile-setup-modal .btn::after,
.yoti-identity-modal .btn::after,
.studio-setup-modal .btn::after,
.modelpage-setup-modal .btn::after {
  content: "";
  position: absolute;
  inset: -10px;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 45%,
    rgba(255, 255, 255, 0) 80%
  );
  opacity: 0;
  transform: translateX(-65%);
  transition: transform 0.45s ease, opacity 0.35s ease;
}

.profile-setup-modal .btn.solid,
.yoti-identity-modal .btn.solid,
.studio-setup-modal .btn.solid,
.modelpage-setup-modal .btn.solid {
  background-color: rgba(255, 45, 170, 0.82);
}

.profile-setup-modal .btn.ghost,
.yoti-identity-modal .btn.ghost,
.studio-setup-modal .btn.ghost,
.modelpage-setup-modal .btn.ghost {
  background-color: rgba(15, 23, 42, 0.35);
  border-color: rgba(148, 163, 184, 0.5);
}

@media (hover: hover) and (pointer: fine) {
  .profile-setup-modal .btn:hover,
  .profile-setup-modal .btn:focus-visible,
  .yoti-identity-modal .btn:hover,
  .yoti-identity-modal .btn:focus-visible,
  .studio-setup-modal .btn:hover,
  .studio-setup-modal .btn:focus-visible,
  .modelpage-setup-modal .btn:hover,
  .modelpage-setup-modal .btn:focus-visible {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(8, 7, 12, 0.25);
  }

  .profile-setup-modal .btn:hover::after,
  .profile-setup-modal .btn:focus-visible::after,
  .yoti-identity-modal .btn:hover::after,
  .yoti-identity-modal .btn:focus-visible::after,
  .studio-setup-modal .btn:hover::after,
  .studio-setup-modal .btn:focus-visible::after,
  .modelpage-setup-modal .btn:hover::after,
  .modelpage-setup-modal .btn:focus-visible::after {
    opacity: 1;
    transform: translateX(65%);
  }
}

.profile-setup-actions {
  gap: 12px;
}

.profile-setup-actions--yoti {
  align-items: center;
  justify-content: space-between;
}

.profile-setup-yoti {
  display: grid;
  gap: 24px;
}

.profile-setup-yoti__hero {
  position: relative;
  min-height: 240px;
  border-radius: 20px;
  overflow: hidden;
}

.profile-setup-yoti__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-setup-yoti__hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(
    180deg,
    rgba(7, 6, 11, 0.1) 0%,
    rgba(7, 6, 11, 0.65) 65%,
    rgba(7, 6, 11, 0.9) 100%
  );
}

.profile-setup-yoti__hero-eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: rgba(248, 250, 252, 0.75);
}

.profile-setup-yoti__hero-overlay h3 {
  margin: 0;
  font-size: 1.6rem;
}

.profile-setup-yoti__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.profile-setup-yoti__steps span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.5);
}

.profile-setup-yoti__steps-arrow {
  padding: 0;
  background: none;
}

.profile-setup-yoti__steps .is-current {
  color: #fff;
  background: rgba(129, 140, 248, 0.35);
  border: 1px solid rgba(129, 140, 248, 0.45);
}

.profile-setup-yoti__steps .is-done {
  color: #fff;
  background: rgba(76, 201, 141, 0.28);
  border: 1px solid rgba(76, 201, 141, 0.4);
}

.profile-setup-yoti__intro {
  margin: 0;
  line-height: 1.6;
  color: rgba(248, 250, 252, 0.85);
}

.profile-setup-yoti__section {
  display: grid;
  gap: 12px;
}

.profile-setup-yoti__section h4 {
  margin: 0;
  font-size: 1rem;
}

.profile-setup-yoti__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.profile-setup-yoti__list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.profile-setup-yoti__list strong {
  display: block;
  font-weight: 600;
}

.profile-setup-yoti__list div span {
  display: block;
  color: var(--slate);
  font-size: 0.85rem;
}

.profile-setup-yoti__icon {
  font-size: 1.4rem;
}

.profile-setup-yoti__section--trust ul {
  margin: 0;
  padding-left: 18px;
  color: var(--slate);
  display: grid;
  gap: 8px;
}

.profile-setup-yoti__section--checklist {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(129, 140, 248, 0.35);
  background: rgba(15, 23, 42, 0.4);
}

.profile-setup-yoti__check {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.95rem;
}

.profile-setup-yoti__check input {
  width: 18px;
  height: 18px;
}

.profile-setup-yoti__primary {
  padding: 16px 34px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(255, 79, 142, 0.95), rgba(129, 140, 248, 0.95));
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 30px rgba(255, 79, 142, 0.35);
}

.profile-setup-yoti__primary.is-disabled {
  opacity: 0.55;
  pointer-events: none;
  box-shadow: none;
}

.profile-setup-yoti__footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--slate);
  padding-top: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.profile-setup-pseudo {
  display: grid;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.35);
}

.profile-setup-pseudo.is-hidden {
  display: none;
}

.profile-setup-pseudo__label {
  font-size: 0.85rem;
  color: var(--slate);
  margin: 0;
}

.profile-setup-pseudo__value {
  margin: 0;
  font-size: 1rem;
  color: #fff;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.profile-setup-pseudo__key {
  color: var(--slate);
}

.profile-setup-pseudo__action {
  justify-self: flex-start;
  margin-top: 4px;
}

.profile-setup-step--password {
  gap: 24px;
}

.profile-setup-step-indicator {
  margin: 12px 0 0;
  padding: 0 24px;
  display: grid;
  gap: 10px;
}

.profile-setup-step-indicator__title {
  margin: 0;
  font-size: 0.85rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.profile-setup-step-indicator__list {
  margin: 0;
  padding-left: 18px;
}

.setup-step-indicator {
  margin: 12px 0 0;
  padding: 0 24px;
  display: grid;
  gap: 10px;
}

.setup-step-indicator__title {
  margin: 0;
  font-size: 0.85rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.setup-step-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.setup-step-icon {
  font-size: 1.2rem;
}

.step-icon {
  margin-right: 8px;
  font-size: 1rem;
}

.profile-setup-password-field {
  display: flex;
  gap: 8px;
  align-items: center;
}

.profile-setup-password-field input {
  flex: 1;
}

.profile-setup-password-toggle {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  min-width: 0;
}

.profile-setup-password-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.profile-setup-password-note {
  display: flex;
  gap: 6px;
  align-items: center;
  color: rgba(226, 232, 240, 0.85);
}

.profile-setup-actions .btn.ghost {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.55);
  color: #fff;
}

.profile-setup-actions .btn.ghost:hover,
.profile-setup-actions .btn.ghost:focus-visible {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(129, 140, 248, 0.85);
  color: #fff;
}

.profile-setup-preview-block {
  display: grid;
  gap: 12px;
}

.profile-setup-preview__caption {
  margin: 0;
  font-weight: 600;
}

.profile-setup-preview__note {
  margin: 0;
  color: rgba(226, 232, 240, 0.85);
}

.profile-setup-preview__moderation {
  margin: 0;
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.9rem;
}

.profile-setup-preview {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.profile-setup-preview__item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.45);
  aspect-ratio: 1 / 1;
}

.profile-setup-preview__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-setup-preview__item.is-uploaded {
  border-color: rgba(74, 222, 128, 0.8);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.6);
}

.profile-setup-progress {
  display: grid;
  gap: 8px;
}

.profile-setup-progress [hidden] {
  display: none;
}

.profile-setup-progress__bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}

.profile-setup-progress__fill {
  position: absolute;
  inset: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(255, 79, 142, 0.8), rgba(129, 140, 248, 0.9));
  transition: width 0.2s ease;
}

.profile-setup-progress__value {
  font-size: 0.85rem;
  color: var(--slate);
}

.yoti-identity-shell {
  position: relative;
  z-index: 1;
}

.yoti-identity-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.yoti-identity-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.yoti-identity-card {
  display: grid;
  gap: 8px;
}

.yoti-identity-panel {
  display: grid;
  gap: 24px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(18, 24, 43, 0.95), rgba(10, 12, 20, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 24px 60px rgba(8, 7, 12, 0.45);
  position: relative;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.yoti-identity-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.yoti-identity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.yoti-identity-actions.is-hidden {
  display: none;
}

.yoti-state .form-row {
  margin-top: 16px;
}

.yoti-identity-iframe {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.yoti-identity-iframe.is-hidden {
  display: none;
}

.yoti-identity-frame {
  background: rgba(8, 7, 12, 0.55);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  min-height: 520px;
}

.yoti-identity-frame iframe {
  width: 100%;
  height: 600px;
  border: none;
}

.yoti-identity-sessions .table-wrap {
  max-height: 420px;
  overflow-y: auto;
}

@media (max-width: 960px) {
  .yoti-identity-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.studio-setup-panel,
.modelpage-setup-panel {
  display: grid;
  gap: 24px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(18, 24, 43, 0.95), rgba(10, 12, 20, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 24px 60px rgba(8, 7, 12, 0.45);
}

.studio-setup-shell,
.modelpage-setup-shell {
  position: relative;
  z-index: 1;
}

.studio-setup-trigger {
  width: 100%;
  max-width: 360px;
}

.studio-setup-hero {
  display: grid;
  gap: 18px;
  align-content: start;
}

.modelpage-setup-hero {
  display: grid;
  gap: 18px;
  align-content: start;
}

.hero-modal-cta,
.studio-setup-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 79, 142, 0.16);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.9rem;
  box-shadow: 0 0 18px rgba(255, 79, 142, 0.45), inset 0 0 18px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-modal-cta::before {
  content: "";
  position: absolute;
  inset: -120% -40%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.4), transparent 55%);
  opacity: 0;
  transform: translateX(-60%);
  transition: opacity 0.3s ease, transform 0.6s ease;
  pointer-events: none;
}

.hero-modal-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.hero-modal-cta:hover::before,
.hero-modal-cta:focus-visible::before {
  opacity: 1;
  transform: translateX(0);
}

.hero-modal-cta:hover::after,
.hero-modal-cta:focus-visible::after {
  opacity: 0.65;
  animation: hero-cta-sheen 1.4s ease;
}

.studio-setup-hero__cta:hover,
.studio-setup-hero__cta:focus-visible,
.hero-modal-cta:hover,
.hero-modal-cta:focus-visible {
  transform: translateY(-2px) scale(1.01);
  background: rgba(255, 79, 142, 0.28);
  box-shadow: 0 0 26px rgba(255, 79, 142, 0.65), inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.studio-setup-hero__cta:active,
.hero-modal-cta:active {
  transform: translateY(0);
}

.cta-click-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  animation: hero-click-pulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.45));
}

@keyframes hero-click-pulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translateY(-4px) scale(1.12);
    opacity: 1;
  }
}

@keyframes hero-cta-sheen {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.step-list-status .step-item.is-current .step-link {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 2px rgba(255, 79, 142, 0.2);
}

.step-list-status .step-item.is-current .step-status {
  color: #ffd3e9;
}

.studio-setup-modal,
.modelpage-setup-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 96px 16px 32px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 200;
}

.studio-setup-modal.is-open,
.modelpage-setup-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.studio-setup-modal__backdrop,
.modelpage-setup-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 12, 0.68);
}

.studio-setup-modal__content,
.modelpage-setup-modal__content {
  position: relative;
  width: min(1040px, 100%);
  max-height: calc(100vh - 128px);
  overflow-y: auto;
  z-index: 1;
}

.studio-setup-modal__close,
.modelpage-setup-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.45);
  color: #fff;
  font-size: 24px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.studio-setup-grid,
.modelpage-setup-grid {
  display: grid;
  gap: 20px;
}

.studio-setup-grid {
  grid-column: 1 / -1;
  width: 100%;
}

.studio-setup-panel .form-actions,
.modelpage-setup-panel .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.studio-setup-panel .form-actions {
  grid-column: 1 / -1;
}

.studio-setup-actions,
.modelpage-setup-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.studio-setup-group {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px;
  display: grid;
  gap: 16px;
}

.studio-setup-group h4 {
  margin: 0;
  font-size: 1rem;
  color: #f7f7ff;
}

.studio-setup-fields {
  display: grid;
  gap: 16px;
}

.studio-setup-group--legal .checkbox {
  align-items: flex-start;
}

.studio-setup-header p,
.modelpage-setup-header p {
  margin: 0;
  color: var(--slate);
}

.studio-setup-progress,
.modelpage-setup-progress {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.studio-setup-progress__step,
.modelpage-setup-progress__step {
  border-radius: 999px;
  padding: 10px 16px;
  border: 1px solid var(--border-subtle);
  color: var(--slate);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
  text-align: center;
}

.studio-setup-progress__step.is-active,
.modelpage-setup-progress__step.is-active {
  border-color: rgba(255, 79, 142, 0.6);
  color: #ffd3e9;
  background: rgba(255, 79, 142, 0.18);
}

.studio-setup-progress__step.is-complete,
.modelpage-setup-progress__step.is-complete {
  border-color: rgba(82, 214, 149, 0.6);
  color: #d5ffe7;
  background: rgba(82, 214, 149, 0.15);
}

.studio-setup-steps,
.modelpage-setup-steps {
  display: grid;
  gap: 24px;
}

.studio-setup-step,
.modelpage-setup-step {
  gap: 16px;
}

@media (min-width: 960px) {
  .studio-setup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.studio-setup-step.is-active,
.modelpage-setup-step.is-active {
  display: grid;
}

.studio-setup-callout {
  display: grid;
  gap: 12px;
  align-items: start;
}

.studio-setup-note {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
}

.form-feedback {
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 79, 142, 0.4);
  background: rgba(255, 47, 107, 0.12);
  color: #ffd3e9;
  font-weight: 600;
}

.form-feedback.is-visible {
  display: block;
}

.confirm-signup-desktop-alert {
  display: none;
  gap: 12px;
  border-color: rgba(255, 206, 86, 0.35);
  background: rgba(255, 206, 86, 0.08);
  color: #ffe9ad;
}

.confirm-signup-desktop-alert p {
  margin: 0;
  color: inherit;
  font-weight: 600;
}

.confirm-signup-arrow {
  font-size: 2rem;
  line-height: 1;
}

.form-panel.attention-pulse {
  animation: form-flash 1.8s ease-in-out infinite;
}

.form-panel.attention-pulse-once {
  animation: form-flash 1.2s ease-in-out 2;
}

.validation-summary-errors {
  position: relative;
  padding: 12px 14px;
  padding-left: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 79, 142, 0.4);
  background: rgba(255, 47, 107, 0.12);
  color: #ffd3e9;
  font-weight: 600;
}

.validation-summary-errors::before {
  content: "!";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 79, 142, 0.35);
  color: #ffd3e9;
  font-weight: 700;
  animation: exclaim-pulse 1.1s ease-in-out 2;
  transform: translateY(-50%);
}

.validation-summary-errors.is-animated {
  animation: alert-pop 0.4s ease;
}

.form-panel label.field-error {
  color: #ff9c9c;
}

.form-panel label.field-error input,
.form-panel label.field-error select,
.form-panel label.field-error textarea {
  border-color: rgba(255, 79, 142, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 47, 107, 0.2);
  background: rgba(255, 47, 107, 0.08);
}

.validation-summary-valid {
  display: none;
}

.form-errors {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 79, 142, 0.4);
  background: rgba(255, 47, 107, 0.12);
  color: #ffd3e9;
  font-weight: 600;
}

.form-errors ul {
  margin: 8px 0 0;
  padding-left: 20px;
  color: #ffd3e9;
}

.alert {
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 206, 86, 0.3);
  background: rgba(255, 206, 86, 0.12);
  color: #ffe9ad;
}

.alert.warning {
  border-color: rgba(255, 206, 86, 0.35);
  background: rgba(255, 206, 86, 0.12);
  color: #ffe9ad;
}

.verification-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.verification-banner h2 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.verification-banner p {
  margin: 0;
}

.submit-button {
  gap: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.submit-button .login-click-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .submit-button:hover .login-click-icon,
  .submit-button:focus-visible .login-click-icon {
    animation: login-click-bounce 0.7s ease-in-out infinite;
  }
}

.submit-button.signup-primary {
  width: 100%;
  min-height: 56px;
  font-size: 1rem;
}

.social-profile-picker {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid var(--border-subtle);
}

.social-profile-picker .form-hint {
  margin-bottom: 12px;
}

.social-profile-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.social-profile-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-profile-icon.instagram {
  background: rgba(15, 23, 42, 0.2);
}

.social-profile-icon.tiktok {
  background: rgba(15, 23, 42, 0.2);
}

.social-profile-icon.onlyfans {
  background: rgba(15, 23, 42, 0.2);
}

.social-profile-icon:hover,
.social-profile-icon:focus,
.social-profile-icon.is-active {
  transform: translateY(-1px);
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(148, 163, 184, 0.18);
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.2);
}

.social-profile-field[hidden] {
  display: none;
}

.social-profile-field.is-visible {
  animation: fade-in 0.25s ease;
}

.submit-button.submit-button--prominent {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-loading {
  display: none;
  align-items: center;
  gap: 8px;
}

.btn.is-loading {
  cursor: progress;
  opacity: 0.85;
}

.btn.is-loading .btn-label {
  display: none;
}

.btn.is-loading .btn-loading {
  display: inline-flex;
}

.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(7, 6, 11, 0.3);
  border-top-color: #07060b;
  animation: spin 0.8s linear infinite;
}

.form-panel.is-submitting .btn-label {
  display: none;
}

.form-panel.is-submitting .btn-loading {
  display: inline-flex;
}

.form-panel.is-submitting .submit-button {
  cursor: progress;
  opacity: 0.85;
}

.form-panel.is-submitting .submit-button::after {
  content: "";
  position: absolute;
  inset: -4px;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 45%,
    rgba(255, 255, 255, 0) 80%
  );
  opacity: 0.75;
  animation: login-submit-sheen 1.1s linear infinite;
  pointer-events: none;
}

@keyframes login-click-bounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translateY(-3px) scale(1.08);
    opacity: 1;
  }
}

@keyframes login-submit-sheen {
  0% {
    transform: translateX(-65%);
  }
  100% {
    transform: translateX(65%);
  }
}

.modelpage-color-grid {
  gap: 16px;
}

.color-field {
  display: grid;
  gap: 8px;
}

.color-input {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(7, 6, 11, 0.55);
}

.color-input input[type="color"] {
  width: 56px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.color-input input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-input input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 10px;
}

.color-value {
  font-family: ui-monospace, SFMono-Regular, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9rem;
  color: var(--slate);
}

.page-hero-alert {
  margin-top: 20px;
  margin-bottom: 0;
  width: 100%;
}

.existing-account-alert {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-color: rgba(255, 120, 120, 0.6);
  background: rgba(255, 96, 96, 0.16);
  color: #ffd6d6;
}

.existing-account-alert__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #ffb0b0;
  border: 1px solid rgba(255, 120, 120, 0.7);
  background: rgba(255, 120, 120, 0.2);
  animation: exclaim-pulse 1.3s ease-in-out infinite;
  flex-shrink: 0;
}

.existing-account-alert__content {
  display: grid;
  gap: 8px;
}

.existing-account-alert__content p {
  margin: 0;
}

.existing-account-alert__actions {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.existing-account-alert__actions a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

@keyframes exclaim-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

@keyframes alert-pop {
  0% {
    transform: translateY(-4px);
    opacity: 0.6;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes sidebar-handle-pulse {
  0% {
    transform: translateX(6px);
  }
  50% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(6px);
  }
}

.form-fieldset {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.form-fieldset legend {
  padding: 0 8px;
  font-weight: 700;
  color: var(--navy);
}

.plan-options {
  display: grid;
  gap: 12px;
}

.plan-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px;
  background: #0b0814;
  font-weight: 600;
}

.plan-meta {
  display: block;
  margin-top: 4px;
  color: var(--slate);
  font-size: 0.85rem;
  font-weight: 400;
}

.form-panel label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: var(--navy);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  grid-template-rows: 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
}

.sidebar-toggle {
  justify-self: end;
  align-self: start;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(8, 6, 15, 0.7);
  box-shadow: 0 10px 20px rgba(8, 6, 15, 0.25);
  z-index: 5;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.sidebar-toggle::before {
  content: "";
  display: none;
  width: 4px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.sidebar-toggle-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.dashboard-shell.is-sidebar-collapsed .sidebar-toggle {
  position: fixed;
  top: 160px;
  left: 0;
  width: 36px;
  height: 72px;
  margin: 0;
  border-radius: 0 999px 999px 0;
  border-left: 0;
  background: rgba(112, 103, 255, 0.22);
  border-color: rgba(170, 176, 255, 0.6);
  box-shadow: 0 16px 28px rgba(8, 6, 15, 0.28);
}

.dashboard-shell.is-sidebar-collapsed .sidebar-toggle-icon {
  transform: rotate(-90deg) scale(0.7);
  opacity: 0;
}

.dashboard-shell.is-sidebar-collapsed .sidebar-toggle::before {
  display: block;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 12px rgba(140, 150, 255, 0.65);
}

.dashboard-sidebar {
  display: grid;
  gap: 18px;
  grid-column: 1;
  grid-row: 1;
  position: sticky;
  top: 110px;
  z-index: 2;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.dashboard-sidebar-toggle {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.dashboard-sidebar-header p {
  color: var(--slate);
}

.dashboard-kpis {
  display: grid;
  gap: 16px;
}

.dashboard-kpis strong {
  display: block;
  font-size: 1.6rem;
  color: var(--navy);
}

.dashboard-card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dashboard-card:focus-visible {
  outline: 2px solid rgba(112, 103, 255, 0.6);
  outline-offset: 4px;
}

.dashboard-control-center {
  display: grid;
  gap: 12px;
}

.dashboard-control-link {
  justify-self: flex-start;
  font-size: 1rem;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(45, 72, 255, 0.25);
}

.dashboard-nav {
  display: grid;
  gap: 10px;
  color: var(--slate);
}

.dashboard-nav-section {
  display: grid;
  gap: 8px;
}

.dashboard-nav-group {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.dashboard-nav-group summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 10px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.dashboard-nav-group summary::after {
  content: "▾";
  font-size: 0.9rem;
  color: var(--slate);
}

.dashboard-nav-group[open] summary::after {
  transform: rotate(180deg);
}

.dashboard-nav-group-links {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

.dashboard-nav .text-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--slate);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-nav .text-link:focus-visible {
  outline: 2px solid rgba(112, 103, 255, 0.6);
  outline-offset: 3px;
}

.dashboard-nav-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.dashboard-nav-icon svg {
  width: 100%;
  height: 100%;
}

.dashboard-nav-label {
  flex: 1;
}

.dashboard-content {
  display: grid;
  gap: 24px;
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
}

.dashboard-shell.is-sidebar-collapsed {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.dashboard-shell.is-sidebar-collapsed .dashboard-sidebar {
  position: fixed;
  top: 160px;
  left: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  z-index: 6;
}

.dashboard-shell.is-sidebar-collapsed .dashboard-content {
  grid-column: 1;
  grid-row: 1;
}

.dashboard-shell.is-sidebar-collapsed .dashboard-sidebar > :not(.dashboard-sidebar-toggle) {
  display: none;
}

.dashboard-alerts {
  display: grid;
  gap: 16px;
}

.chart-card {
  display: grid;
  gap: 12px;
  overflow: hidden;
}

.chart-wrap {
  background: #08060f;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--border-subtle);
}

.domain-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.domain-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: #0b0814;
}

.domain-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--slate);
}

.ticket-message-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ticket-message {
  margin-top: 12px;
  white-space: pre-wrap;
}

@media (max-width: 960px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .dashboard-sidebar {
    grid-column: 1;
    grid-row: 1;
    position: static;
  }

  .dashboard-content {
    grid-column: 1;
    grid-row: 2;
  }

  .dashboard-shell.is-sidebar-collapsed .dashboard-content {
    grid-row: 1;
  }

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

@media (min-width: 961px) {
  .confirm-signup-desktop-alert {
    display: grid;
  }
}

@media (hover: hover) and (pointer: fine) {
  .sidebar-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 26px rgba(8, 6, 15, 0.35);
  }

  .dashboard-shell.is-sidebar-collapsed .sidebar-toggle:hover {
    animation: sidebar-handle-pulse 1.2s ease-in-out infinite;
  }

  .dashboard-shell.is-sidebar-collapsed .sidebar-toggle:hover::before {
    animation: sidebar-handle-pulse 1.2s ease-in-out infinite;
  }

  .dashboard-card:hover {
    transform: translateY(-4px);
    border-color: rgba(112, 103, 255, 0.35);
    box-shadow: 0 22px 45px rgba(6, 3, 12, 0.45);
  }

  .dashboard-nav .text-link:hover {
    background: rgba(112, 103, 255, 0.12);
    border-color: rgba(112, 103, 255, 0.35);
    transform: translateX(4px);
    box-shadow: 0 10px 20px rgba(6, 3, 12, 0.3);
  }

  .dashboard-nav .text-link:hover .dashboard-nav-icon {
    transform: translateX(2px);
  }
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: #0b0814;
  color: var(--ink);
  font-size: 0.95rem;
}

.profile-setup-step input,
.profile-setup-step select,
.profile-setup-step textarea {
  border-color: rgba(148, 163, 184, 0.35);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

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

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.form-panel label.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.checkbox-grid {
  display: grid;
  gap: 10px;
}

.form-footnote {
  color: var(--slate);
  font-size: 0.85rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 137, 214, 0.18);
  color: var(--mint);
  font-size: 0.8rem;
  font-weight: 600;
}

.status-panel {
  margin-top: 30px;
}

.status-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.status-list li {
  display: flex;
  justify-content: space-between;
  color: var(--slate);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  color: var(--slate);
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.table-wrap {
  overflow-x: auto;
}

.content-list {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  color: var(--slate);
}

.content-list li {
  line-height: 1.6;
}

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

.faq-list details {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-panel);
}

.faq-list summary {
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.faq-list p {
  margin-top: 10px;
  color: var(--slate);
}

.modelpage-grid {
  align-items: stretch;
}

.modelpage-card {
  display: grid;
  gap: 12px;
  text-align: center;
  color: inherit;
  text-decoration: none;
}

.modelpage-card img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

.modelpage-upload-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  margin-top: 12px;
}

.modelpage-upload-grid img {
  width: 100%;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.modelpage-upload-item {
  display: grid;
  gap: 8px;
  padding: 8px;
  border-radius: 12px;
  background: #0f0c1d;
  box-shadow: var(--shadow);
}

.modelpage-upload-item img {
  width: 100%;
  height: 120px;
  border-radius: 10px;
  object-fit: cover;
}

.modelpage-upload-item__progress {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.modelpage-upload-item__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #6d7bff, #48d0ff);
  transition: width 0.2s ease;
}

.modelpage-upload-item__status {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.modelpage-upload-item.is-uploading .modelpage-upload-item__bar {
  animation: modelpage-upload-progress 1s linear infinite;
}

.modelpage-upload-item.is-complete .modelpage-upload-item__bar {
  background: linear-gradient(90deg, #2dd38f, #48d0ff);
}

.modelpage-upload-item.is-error {
  border: 1px solid rgba(255, 110, 110, 0.5);
}

.modelpage-upload-item.is-error .modelpage-upload-item__bar {
  background: #ff6e6e;
  animation: none;
}

.modelpage-upload-errors {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.modelpage-upload-error {
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 110, 110, 0.12);
  color: #ffb3b3;
  font-size: 13px;
}

.modelpage-upload-error ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

@keyframes modelpage-upload-progress {
  0% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
  100% {
    filter: brightness(1);
  }
}

.modelpage-request-summary {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 16px;
}

.comment-list {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.comment-item {
  background: #0f0c1d;
  border-radius: 14px;
  padding: 12px 16px;
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.admin-overview {
  margin-top: 30px;
}

.admin-grid form {
  height: 100%;
}

.code-block {
  background: #0b0916;
  color: var(--navy);
  padding: 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  overflow-x: auto;
}

.landing-subnav {
  position: sticky;
  top: 72px;
  z-index: 9;
  background: var(--subnav-bg);
  border-bottom: 1px solid var(--border-subtle);
}

.landing-subnav-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 18px;
  flex-wrap: wrap;
}

.landing-subnav-label {
  font-weight: 600;
  color: var(--navy);
}

.landing-subnav-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--slate);
  font-size: 0.9rem;
}

.landing-hero {
  padding-top: 70px;
}

.quick-login-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quick-login-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.quick-login-benefits {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--slate);
  font-size: 0.95rem;
}

.quick-login-note {
  font-size: 0.85rem;
  color: var(--slate);
}

.media-card {
  background: rgba(14, 11, 20, 0.55);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.media-card-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.media-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 137, 214, 0.18);
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 600;
  align-self: flex-start;
}

.media-card-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.media-meta {
  font-size: 0.85rem;
  color: var(--slate);
}

.onboarding-hero,
.dashboard-hero {
  padding: 80px 0 70px;
}

.step-list {
  padding-left: 18px;
  color: var(--slate);
  line-height: 1.6;
}

.step-list-status {
  margin-top: 12px;
}

.step-list-status .step-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.step-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.step-item.is-current .step-label {
  color: var(--navy);
  font-weight: 700;
}

.step-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgba(113, 123, 143, 0.16);
  color: var(--slate);
  white-space: nowrap;
}

.step-status.is-complete {
  background: rgba(106, 255, 188, 0.22);
  color: #1b8b55;
}

.step-status.is-required {
  background: rgba(255, 163, 163, 0.22);
  color: #b23b3b;
}

.step-status.is-optional {
  background: rgba(255, 210, 133, 0.22);
  color: #b36d00;
}

.small-note {
  font-size: 0.85rem;
  color: var(--slate);
}

.action-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--slate);
}

.card-footer {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--slate);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-style: italic;
}

.testimonial-name {
  font-weight: 600;
  font-style: normal;
  color: var(--navy);
}

.landing-callout {
  gap: 18px;
}

.callout-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  background: #07060b;
  color: var(--navy);
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin-bottom: 24px;
}

.footer-grid a {
  color: var(--navy);
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legal-page {
  padding: 4rem 0 5rem;
}

.legal-pre {
  white-space: pre-wrap;
  font-family: inherit;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes form-flash {
  0%,
  100% {
    box-shadow: 0 16px 40px rgba(6, 3, 12, 0.45);
    border-color: var(--border-subtle);
  }
  50% {
    box-shadow: 0 20px 50px rgba(255, 45, 170, 0.35), 0 0 0 2px rgba(255, 45, 170, 0.4);
    border-color: rgba(255, 45, 170, 0.5);
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .header-shell {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.shop-hero {
  padding: 64px 0 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(160deg, rgba(255, 45, 170, 0.08), rgba(14, 11, 20, 0.9));
}

.shop-content {
  padding: 32px 0 80px;
}

.shop-grid {
  display: grid;
  gap: 24px;
}

.shop-onboarding {
  border: 1px solid rgba(255, 45, 170, 0.25);
}

.shop-onboarding-note {
  margin-top: 12px;
}

.shop-onboarding-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-onboarding-steps {
  display: grid;
  gap: 12px;
}

.onboarding-step {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 10px;
}

.onboarding-step-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.onboarding-step-body p {
  margin: 0;
}

.onboarding-step-action {
  display: flex;
}

.onboarding-step.is-complete .onboarding-step-body {
  display: none;
}

.onboarding-step.is-optional {
  opacity: 0.85;
}

.onboarding-step-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.onboarding-step-status {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.onboarding-step-title {
  display: grid;
  gap: 2px;
}

.onboarding-step-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.onboarding-step-badge {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 901px) {
  .onboarding-step-body {
    flex-direction: row;
    align-items: center;
  }

  .onboarding-step-body p {
    flex: 1;
  }

  .onboarding-step-action {
    justify-content: flex-end;
  }
}

.shop-card {
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow);
}

.shop-card-secondary {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.06);
}

.shop-card-wide {
  grid-column: 1 / -1;
}

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

.shop-card-actions {
  display: grid;
  justify-items: end;
  gap: 6px;
  text-align: right;
}

.shop-cta-helper {
  font-size: 0.85rem;
}

.shop-image-intro {
  margin-bottom: 16px;
}

.shop-grid.is-onboarding .shop-card-secondary {
  opacity: 0.6;
}

.shop-grid.is-onboarding .shop-export {
  opacity: 0.6;
}

.shop-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 6px;
}

.stat-card[data-scroll-target] {
  cursor: pointer;
}

.stat-card[data-scroll-target]:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.stat-card[data-scroll-target]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.stat-label {
  color: var(--slate);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shop-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.shop-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.shop-empty-state {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.shop-empty-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.shop-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.shop-table th,
.shop-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.shop-table th {
  color: var(--slate);
  font-weight: 600;
}

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

.article-cell img,
.img-placeholder {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--slate);
}

.shop-upload-form {
  display: grid;
  gap: 14px;
}

.shop-upload-form label {
  display: grid;
  gap: 8px;
  color: var(--slate);
  font-size: 0.85rem;
}

.shop-upload-form input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(7, 6, 11, 0.6);
  color: var(--ink);
}

.shop-tree {
  gap: 8px;
}

.shop-tree li {
  display: grid;
  gap: 6px;
}

.shop-tree-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shop-tree-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.shop-tree-handle {
  color: var(--slate);
  opacity: 0.6;
  font-size: 1rem;
}

.shop-tree-indicator {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
}

.shop-tree-actions {
  display: inline-flex;
  gap: 8px;
}

.shop-tree-children {
  margin-left: 16px;
  border-left: 1px dashed rgba(255, 255, 255, 0.1);
  padding-left: 12px;
  display: grid;
  gap: 8px;
}

.shop-image-toolbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.shop-image-toolbar label {
  display: grid;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--slate);
}

.shop-image-toolbar input,
.shop-image-toolbar select {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(7, 6, 11, 0.6);
  color: var(--ink);
}

.shop-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.shop-image-card {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 8px;
}

.shop-image-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-image-meta {
  display: grid;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--slate);
}

.shop-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shop-modal-dialog {
  text-align: left;
  width: min(720px, 92vw);
  padding: 24px;
  background: linear-gradient(160deg, rgba(20, 28, 50, 0.98), rgba(8, 10, 18, 0.98)) padding-box,
    linear-gradient(
        140deg,
        rgba(255, 79, 142, 0.35),
        rgba(129, 140, 248, 0.35),
        rgba(255, 255, 255, 0.18)
      )
      border-box;
  border: 1px solid transparent;
  box-shadow: 0 28px 70px rgba(5, 4, 10, 0.6);
}

.shop-modal-dialog--wide {
  width: min(1040px, 96vw);
}

.shop-modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shop-modal-title-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.btn .shop-cta-icon {
  display: inline-flex;
  align-items: center;
  font-size: 1.05rem;
  line-height: 1;
}

.btn .shop-cta-label {
  display: inline-flex;
}

.shop-modal-dialog h2 {
  margin-top: 0;
  color: var(--ink);
}

.shop-modal-dialog .modal-close {
  background: rgba(15, 23, 42, 0.45);
  color: #fff;
  border-color: rgba(148, 163, 184, 0.4);
}

.shop-modal-dialog .modal-close:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.shop-modal-tabs {
  display: flex;
  gap: 8px;
  margin: 12px 0 18px;
  flex-wrap: wrap;
}

.shop-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--slate);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
}

.shop-tab-label {
  display: inline-flex;
}

.shop-tab-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate);
}

.shop-tab-dot {
  font-size: 0.7rem;
  line-height: 1;
}

.shop-tab-check {
  display: none;
  font-size: 0.8rem;
  color: var(--mint);
}

.shop-tab.is-active {
  color: var(--ink);
  border-color: rgba(255, 45, 170, 0.5);
  background: rgba(255, 45, 170, 0.18);
}

.shop-tab.is-complete .shop-tab-check {
  display: inline-flex;
}

.shop-modal-form {
  display: grid;
  gap: 12px;
}

.shop-modal-section {
  display: grid;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.shop-modal-section h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
}

.shop-modal-grid {
  display: grid;
  gap: 12px;
}

.shop-modal-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-modal-form__full {
  grid-column: 1 / -1;
}

@media (max-width: 720px) {
  .shop-modal-grid--two {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
    .shop-modal-dialog--desktop-lg {
        width: min(860px, 92vw) !important;
        padding: 28px;
    }

    .shop-modal-dialog--desktop-xl {
    width: min(1240px, 96vw) !important;
    padding: 30px;
    }
}

.shop-tab-panel {
  display: none;
  gap: 16px;
}

.shop-tab-panel.is-active {
  display: grid;
}

.shop-modal-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--slate);
}

.shop-modal-form input,
.shop-modal-form select,
.shop-modal-form textarea {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(10, 15, 28, 0.9);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.45);
}

.shop-modal-form input:focus,
.shop-modal-form select:focus,
.shop-modal-form textarea:focus {
  border-color: rgba(255, 79, 142, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 79, 142, 0.18);
}

.shop-ai-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.shop-ai-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.shop-ai-option.is-warning {
  color: #fbbf24;
  font-weight: 600;
}

.shop-ai-actions {
  display: flex;
  justify-content: flex-start;
}

.shop-ai-preview {
  display: grid;
  gap: 10px;
}

.shop-ai-preview-block {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.shop-ai-preview-block p {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 0.85rem;
}

.shop-ai-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.shop-duration-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.shop-sticky-footer {
  position: sticky;
  bottom: 0;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(8, 6, 15, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shop-sticky-status {
  font-size: 0.85rem;
  color: var(--slate);
}

.shop-sticky-actions {
  display: inline-flex;
  gap: 10px;
}

.shop-modal-guidance {
  margin: 0;
  font-size: 0.85rem;
  color: var(--slate);
}

.shop-file-input {
  display: none;
}

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

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 6, 11, 0.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 20;
}

.modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  position: relative;
  background: var(--bg-panel);
  border-radius: 24px;
  padding: 36px;
  width: min(940px, 92vw);
  max-height: calc(100vh - 32px);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow);
  text-align: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 1;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.signup-confirmation-dialog {
  padding: 28px 32px 32px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
}

.modal-dialog h2 {
  margin: 0 0 12px;
  font-size: 1.8rem;
  color: var(--navy);
}

.modal-dialog .lead {
  margin-bottom: 24px;
}

.signup-confirmation-dialog .lead {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.5;
}

.signup-confirmation-dialog [data-signup-confirmation-cta] {
  cursor: pointer;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(7, 6, 11, 0.6);
  color: var(--navy);
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.fireworks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.signup-confirmation-status {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 4px auto 18px;
  border-radius: 50%;
  background: rgba(34, 187, 134, 0.12);
  box-shadow: inset 0 0 0 1px rgba(34, 187, 134, 0.3);
}

.signup-confirmation-checkmark {
  width: 52px;
  height: 52px;
}

.signup-confirmation-checkmark__circle,
.signup-confirmation-checkmark__check {
  stroke: #22bb86;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
}

.modal.is-visible .signup-confirmation-checkmark__circle {
  animation: draw-circle 0.7s ease-out forwards;
}

.modal.is-visible .signup-confirmation-checkmark__check {
  animation: draw-check 0.5s ease-out 0.4s forwards;
}

.signup-confirmation-redirect {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 0 20px;
  color: var(--slate);
  font-size: 0.9rem;
}

.signup-confirmation-dots {
  display: inline-block;
  width: 1.4em;
  overflow: hidden;
  vertical-align: bottom;
}

.signup-confirmation-dots::after {
  content: '...';
  display: inline-block;
  animation: dots 1s steps(4, end) infinite;
}

.signup-confirmation-progress {
  width: 60%;
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
  position: relative;
}

.signup-confirmation-progress::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, rgba(34, 187, 134, 0.1), rgba(34, 187, 134, 0.7), rgba(34, 187, 134, 0.1));
  animation: progress-sheen 1.4s ease-in-out infinite;
}

.fireworks .spark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: hsl(var(--hue), 90%, 70%);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  animation: sparkle 1.6s ease-out infinite;
  animation-delay: var(--delay);
}

@keyframes sparkle {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1);
  }
}

@keyframes draw-circle {
  0% {
    stroke-dashoffset: 150;
    opacity: 0.4;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes draw-check {
  0% {
    stroke-dashoffset: 150;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

body.modal-open {
  overflow: hidden;
}

.modal.is-visible .modal-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modelpage-palette-dialog {
  padding: 32px;
}

.palette-preview {
  display: grid;
  gap: 12px;
  margin: 20px 0 24px;
}

.palette-swatch {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.palette-swatch::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--palette-color, #111);
  opacity: 0.35;
}

.palette-swatch > * {
  position: relative;
  z-index: 1;
}

.palette-label {
  font-size: 0.85rem;
  color: var(--slate);
}

.palette-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.modal.is-visible .palette-swatch {
  animation: palette-pop 0.5s ease forwards;
}

.modal.is-visible .palette-swatch:nth-child(2) {
  animation-delay: 0.08s;
}

.modal.is-visible .palette-swatch:nth-child(3) {
  animation-delay: 0.16s;
}

@keyframes palette-pop {
  from {
    transform: translateY(8px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dots {
  0% {
    width: 0;
  }
  100% {
    width: 1.4em;
  }
}

@keyframes progress-sheen {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(220%);
  }
}

.shop-orders {
  display: grid;
  gap: 20px;
}

.shop-orders-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-orders-tabs .btn.is-active {
  border-color: rgba(112, 103, 255, 0.6);
  box-shadow: 0 12px 24px rgba(112, 103, 255, 0.2);
}

.shop-orders-panel {
  display: grid;
  gap: 20px;
}

.shop-orders-message {
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--slate);
}

.shop-order-list {
  display: grid;
  gap: 20px;
}

.shop-order-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 6, 15, 0.7);
  padding: 20px;
  display: grid;
  gap: 16px;
}

.shop-order-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.shop-order-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.shop-order-user {
  font-weight: 600;
  color: var(--accent);
}

.shop-order-details {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.shop-order-detail strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.shop-order-detail address {
  font-style: normal;
  color: var(--slate);
  margin: 0;
}

.shop-order-detail p {
  margin: 0;
  color: var(--slate);
}

.shop-order-table {
  width: 100%;
  border-collapse: collapse;
}

.shop-order-table th,
.shop-order-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.shop-order-table th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.shop-order-item {
  display: grid;
  gap: 4px;
}

.shop-order-item strong {
  color: var(--ink);
}

.shop-order-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-weight: 600;
}

.shop-order-shipping {
  color: var(--accent);
  font-weight: 500;
}

.shop-orders-pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.shop-orders-pagination-label {
  color: var(--slate);
}

@media (max-width: 720px) {
  .shop-order-table th:nth-child(2),
  .shop-order-table td:nth-child(2) {
    display: none;
  }

  .shop-orders-pagination {
    justify-content: center;
  }
}
