:root {
  color-scheme: light;
  --page: #f4f1ea;
  --page-strong: #ebe5da;
  --surface: #ffffff;
  --surface-soft: #f8f6f1;
  --surface-tint: #eef5f0;
  --ink: #191d1a;
  --muted: #66706a;
  --subtle: #8d948f;
  --line: #e1ded6;
  --line-strong: #cec8bb;
  --brand: #146b55;
  --brand-dark: #0d4f3e;
  --accent: #a66f25;
  --danger: #b42318;
  --warning: #8a5b00;
  --shadow: 0 16px 44px rgba(33, 31, 26, 0.08);
  --shadow-soft: 0 8px 24px rgba(33, 31, 26, 0.06);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(244, 241, 234, 0) 360px),
    var(--page);
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
}

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

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

.home-shell {
  padding-bottom: 72px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding: 12px 14px;
  border: 1px solid rgba(225, 222, 214, 0.85);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.brand,
.auth-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink);
}

.brand strong,
.auth-brand {
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand span,
.muted {
  color: var(--muted);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.86fr);
  gap: 32px;
  align-items: center;
  padding: 46px 0 34px;
}

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

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 4.8rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p,
.section-heading p,
.creator-focus p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.product-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  box-shadow: var(--shadow);
}

.preview-top {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.preview-top span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #cfc8ba;
}

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

.preview-panel,
.preview-video {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.preview-panel.wide {
  grid-column: 1 / -1;
}

.preview-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.preview-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.preview-video {
  min-height: 150px;
  background:
    linear-gradient(135deg, rgba(20, 107, 85, 0.08), rgba(166, 111, 37, 0.12)),
    linear-gradient(120deg, #202823, #59675d);
}

.locked-preview {
  position: relative;
}

.locked-preview::after {
  content: "Subscribers only";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(17, 22, 19, 0.62);
  font-weight: 900;
}

.section-band,
.creator-focus {
  margin-top: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2,
.creator-focus h2 {
  max-width: 760px;
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.step-grid,
.trust-grid {
  display: grid;
  gap: 14px;
}

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

.step-grid div,
.trust-item {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.step-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--brand);
  font-weight: 900;
}

.step-grid strong,
.trust-item strong {
  display: block;
  line-height: 1.35;
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.trust-item p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.creator-focus {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: #1d2420;
  color: #ffffff;
}

.creator-focus p,
.creator-focus .eyebrow {
  color: #d7ded8;
}

.card,
.auth-card,
.video-card,
.creator-hero,
.paywall,
.watch-panel,
.welcome-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.auth-shell {
  width: min(460px, calc(100% - 32px));
  display: grid;
  gap: 18px;
  padding: 56px 0;
}

.auth-brand {
  align-items: center;
}

.auth-card {
  padding: 28px;
}

.auth-card h1,
.page-title h1,
.creator-hero h1,
.watch-panel h1 {
  margin: 0 0 10px;
  letter-spacing: 0;
}

.auth-card h1,
.page-title h1 {
  font-size: 2rem;
  line-height: 1.12;
}

.auth-card p,
.page-title p,
.creator-hero p,
.watch-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.auth-switch {
  margin-top: 16px !important;
  text-align: center;
}

.form {
  display: grid;
  gap: 15px;
  margin-top: 22px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #343a36;
  font-size: 0.88rem;
  font-weight: 850;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fffefa;
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(20, 107, 85, 0.55);
  box-shadow: 0 0 0 3px rgba(20, 107, 85, 0.12);
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.checkbox-row input {
  width: 18px;
  height: 18px;
}

.primary,
.secondary,
.danger,
.small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 850;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.primary:hover,
.secondary:hover,
.danger:hover,
.small-button:hover {
  transform: translateY(-1px);
}

.primary {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 8px 18px rgba(20, 107, 85, 0.22);
}

.primary:hover {
  color: #ffffff;
  background: var(--brand-dark);
}

.secondary,
.small-button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #ffffff;
}

.secondary:hover,
.small-button:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface-soft);
}

.danger {
  color: #ffffff;
  background: var(--danger);
}

.small-button {
  min-height: 34px;
  font-size: 0.86rem;
}

.large-button {
  min-height: 46px;
  padding: 0 18px;
}

.message {
  min-height: 20px;
  color: var(--danger);
  font-size: 0.9rem;
}

.success {
  color: var(--brand);
}

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

.two-col {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.42fr);
  align-items: start;
}

.page-title {
  margin-bottom: 20px;
}

.card {
  padding: 20px;
}

.card h2 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.price-line {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
  margin-top: 12px !important;
}

.price-line strong {
  color: var(--ink);
  font-size: 1.25rem;
}

.price-line span {
  color: var(--muted);
}

.creator-hero {
  overflow: hidden;
  margin-bottom: 20px;
}

.banner {
  min-height: 280px;
  background:
    linear-gradient(120deg, rgba(13, 79, 62, 0.78), rgba(166, 111, 37, 0.42)),
    linear-gradient(120deg, #1d2822, #577568);
  background-position: center;
  background-size: cover;
}

.creator-body {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 28px;
}

.creator-copy {
  min-width: 0;
}

.avatar {
  width: 116px;
  height: 116px;
  flex: 0 0 auto;
  margin-top: -72px;
  border: 4px solid #ffffff;
  border-radius: 8px;
  object-fit: cover;
  background: #dce8e2;
  box-shadow: var(--shadow-soft);
}

.price,
.price-block {
  margin-left: auto;
  font-weight: 900;
}

.price-block {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.price-block strong {
  font-size: 1.28rem;
}

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

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 16px;
}

.full-span {
  grid-column: 1 / -1;
}

.video-card {
  overflow: hidden;
}

.thumb {
  position: relative;
  display: grid;
  min-height: 154px;
  place-items: center;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(20, 107, 85, 0.18), rgba(166, 111, 37, 0.18)),
    #1d2420;
  font-weight: 900;
}

.thumb img {
  width: 100%;
  height: 100%;
  min-height: 154px;
  object-fit: cover;
}

.locked {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  color: #ffffff;
  background: rgba(14, 18, 16, 0.72);
  text-align: center;
  font-weight: 900;
}

.video-body {
  padding: 15px;
}

.video-body h3 {
  margin: 0 0 7px;
  font-size: 1rem;
  line-height: 1.3;
}

.video-body p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill-row.compact {
  margin-top: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #27544a;
  background: #e6f3ed;
  font-size: 0.78rem;
  font-weight: 850;
}

.pill.warning {
  color: var(--warning);
  background: #fff2cc;
}

.pill.info {
  color: #235a7a;
  background: #e6f3fb;
}

.pill.neutral {
  color: #5f625f;
  background: #eeeeea;
}

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

.dashboard-video:first-child {
  border-top: 0;
}

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

.actions.left {
  justify-content: flex-start;
}

.actions.stacked {
  margin-top: 16px;
}

.share-link {
  margin: 12px 0 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.9rem;
}

.checklist {
  display: grid;
  gap: 11px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.check-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #ffffff;
  background: #ffffff;
  font-size: 0.84rem;
  font-weight: 900;
}

.check-item.done {
  color: var(--ink);
}

.check-item.done span {
  border-color: var(--brand);
  background: var(--brand);
}

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

.metric-grid div {
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.metric-grid strong {
  display: block;
  font-size: 1.4rem;
}

.metric-grid span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.84rem;
}

.empty-state {
  display: grid;
  gap: 11px;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: #fbfaf7;
}

.empty-state[hidden] {
  display: none;
}

.empty-state h3,
.empty-state p {
  margin: 0;
}

.empty-state p {
  color: var(--muted);
  line-height: 1.55;
}

.paywall {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 20px;
  background: #fff8e8;
}

.paywall.polished {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
}

.paywall.polished strong,
.paywall.polished p {
  grid-column: 1;
  margin: 0;
}

.paywall.polished button {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.welcome-panel {
  display: grid;
  gap: 20px;
  padding: 30px;
}

.welcome-panel h1,
.welcome-panel p {
  margin: 0;
}

.welcome-panel h1 {
  max-width: 760px;
  font-size: 2.4rem;
  line-height: 1.08;
}

.welcome-panel > p {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.welcome-steps div {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.welcome-steps strong,
.welcome-steps span {
  display: block;
}

.welcome-steps span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.watch-panel {
  padding: 24px;
}

.watch-panel video {
  width: 100%;
  max-height: 70vh;
  margin-top: 18px;
  border-radius: 8px;
  background: #000000;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  font-weight: 850;
}

.studio-page {
  background: #f4f1ea;
}

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

.studio-shell.studio-collapsed {
  grid-template-columns: 84px minmax(0, 1fr);
}

.studio-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.studio-brand {
  display: grid;
  gap: 2px;
  color: var(--ink);
}

.studio-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.studio-collapse-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
}

.studio-collapse-button svg,
.studio-nav-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.studio-collapse-button svg {
  transition: transform 180ms ease;
}

.studio-brand strong {
  font-size: 1.08rem;
  font-weight: 950;
}

.studio-brand span,
.studio-creator span,
.studio-mobile-top span {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.studio-nav {
  display: grid;
  gap: 5px;
  overflow: auto;
  padding-right: 2px;
}

.studio-nav p {
  margin: 14px 0 4px;
  color: var(--subtle);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 11px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
}

.studio-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.studio-nav a:hover,
.studio-nav a.active {
  color: var(--brand-dark);
  background: var(--surface-tint);
}

.studio-nav-subgroup {
  display: grid;
  gap: 4px;
  margin: -2px 0 4px 24px;
  padding-left: 8px;
  border-left: 1px solid var(--line);
}

.studio-nav-subgroup a {
  min-height: 34px;
  color: var(--muted);
  font-size: 0.94rem;
}

.studio-footer {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.studio-footer .secondary {
  justify-content: flex-start;
  gap: 10px;
}

.studio-shell.studio-collapsed .studio-sidebar {
  padding-inline: 14px;
}

.studio-shell.studio-collapsed .studio-brand,
.studio-shell.studio-collapsed .studio-creator,
.studio-shell.studio-collapsed .studio-nav p,
.studio-shell.studio-collapsed .studio-nav-label {
  display: none;
}

.studio-shell.studio-collapsed .studio-nav-subgroup {
  margin: 0;
  padding-left: 0;
  border-left: 0;
}

.studio-shell.studio-collapsed .studio-brand-row {
  justify-content: center;
}

.studio-shell.studio-collapsed .studio-collapse-button svg {
  transform: rotate(180deg);
}

.studio-shell.studio-collapsed .studio-nav a,
.studio-shell.studio-collapsed .studio-footer .secondary {
  justify-content: center;
  padding-inline: 0;
}

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

.studio-mobile-top {
  display: none;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.studio-mobile-top div {
  display: grid;
  gap: 2px;
}

.studio-page-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.studio-page-header h1 {
  margin: 0 0 8px;
  font-size: 2.35rem;
  line-height: 1.08;
}

.studio-page-header p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.studio-grid > .card:nth-child(3),
.studio-grid > .card:nth-child(4) {
  grid-column: span 1;
}

.studio-metrics {
  margin-top: 4px;
}

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

.section-row h2,
.section-row p {
  margin: 0;
}

.compact-field {
  max-width: 420px;
  margin: 0 0 12px;
}

.content-toolbar {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.content-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(170px, 220px);
  align-items: end;
  gap: 12px;
}

.sort-field {
  max-width: none;
}

.content-toolbar .compact-field {
  margin-bottom: 0;
  max-width: none;
}

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

.segmented-control button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-weight: 850;
}

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

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

.content-row {
  display: grid;
  grid-template-columns: 34px 96px minmax(0, 1fr) minmax(150px, 0.34fr) auto;
  gap: 12px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.content-row-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 0.82rem;
  font-weight: 900;
}

.content-row-thumb {
  display: grid;
  min-height: 58px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(20, 107, 85, 0.18), rgba(166, 111, 37, 0.18)),
    #1d2420;
  font-weight: 900;
}

.content-row-thumb img {
  width: 100%;
  height: 100%;
  min-height: 58px;
  object-fit: cover;
}

.content-row-main {
  min-width: 0;
}

.content-row-main h3,
.content-row-main p {
  margin: 0;
}

.content-row-main h3 {
  margin-bottom: 3px;
  font-size: 0.98rem;
  line-height: 1.28;
}

.content-row-main p {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  text-overflow: ellipsis;
}

.content-row-status {
  display: flex;
  justify-content: flex-start;
}

.content-row-actions {
  justify-content: flex-end;
}

.content-row-actions .danger {
  margin-left: 6px;
}

.thumbnail-preview {
  display: grid;
  min-height: 150px;
  margin-bottom: 14px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(20, 107, 85, 0.18), rgba(166, 111, 37, 0.18)),
    #1d2420;
  font-weight: 900;
}

.thumbnail-preview img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.pagination-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.upload-guidance {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.drop-zone {
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 178px;
  padding: 22px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  background: #fbfaf7;
  text-align: center;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.compact-drop-zone {
  min-height: 132px;
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.drop-zone strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.drop-zone span,
.drop-zone em {
  max-width: 420px;
  font-style: normal;
  line-height: 1.45;
}

.drop-zone em {
  padding: 5px 9px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--subtle);
  font-size: 0.84rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.drop-zone.dragging,
.drop-zone.has-file {
  border-color: rgba(20, 107, 85, 0.55);
  background: var(--surface-tint);
  box-shadow: 0 0 0 3px rgba(20, 107, 85, 0.1);
}

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

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

.upload-progress div {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: var(--surface-soft);
}

.upload-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transition: width 160ms ease;
}

.upload-progress strong {
  color: var(--muted);
  font-size: 0.88rem;
}

.publication-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.radio-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.radio-row input {
  margin-top: 4px;
}

.radio-row span {
  display: grid;
  gap: 3px;
}

.radio-row em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.35;
}

.schedule-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 4px;
}

.schedule-fields[hidden] {
  display: none;
}

.schedule-fields p {
  grid-column: 1 / -1;
  margin: 0;
}

.thumbnail-cropper {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(25, 29, 26, 0.55);
}

.thumbnail-cropper[hidden] {
  display: none;
}

.thumbnail-crop-modal {
  width: min(920px, 100%);
}

.thumbnail-crop-card {
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.thumbnail-crop-header {
  display: block;
}

.thumbnail-crop-header strong,
.thumbnail-crop-header p {
  margin: 0;
}

.thumbnail-crop-header p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.thumbnail-crop-stage {
  display: grid;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #111611;
}

.thumbnail-crop-frame {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.thumbnail-crop-frame img {
  display: block;
  max-width: 100%;
  max-height: 420px;
}

.thumbnail-crop-box {
  position: absolute;
  border: 2px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.48);
  cursor: move;
  touch-action: none;
}

.crop-handle {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.crop-handle::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
}

.crop-handle.nw {
  top: -13px;
  left: -13px;
  cursor: nwse-resize;
}

.crop-handle.nw::before {
  transform: rotate(0deg);
}

.crop-handle.ne {
  top: -13px;
  right: -13px;
  cursor: nesw-resize;
}

.crop-handle.ne::before {
  transform: rotate(90deg);
}

.crop-handle.sw {
  bottom: -13px;
  left: -13px;
  cursor: nesw-resize;
}

.crop-handle.sw::before {
  transform: rotate(-90deg);
}

.crop-handle.se {
  right: -13px;
  bottom: -13px;
  cursor: nwse-resize;
}

.crop-handle.se::before {
  transform: rotate(180deg);
}

.thumbnail-crop-box::before,
.thumbnail-crop-box::after {
  content: "";
  position: absolute;
  inset: 33.333% 0 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.65);
}

.thumbnail-crop-box::after {
  inset: 66.666% 0 auto;
}

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

.upload-guidance div,
.upload-success {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.upload-guidance strong,
.upload-success strong {
  display: block;
  margin-bottom: 6px;
}

.upload-guidance p,
.upload-success p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.upload-success {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  border-color: rgba(20, 107, 85, 0.25);
  background: #edf8f2;
}

.big-stat {
  margin: 12px 0;
  font-size: 4rem;
  font-weight: 950;
  line-height: 1;
}

.profile-preview-card {
  overflow: hidden;
}

.mini-banner {
  min-height: 150px;
  margin: -20px -20px 18px;
  background:
    linear-gradient(120deg, rgba(13, 79, 62, 0.78), rgba(166, 111, 37, 0.42)),
    linear-gradient(120deg, #1d2822, #577568);
  background-position: center;
  background-size: cover;
}

.branding-studio-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
}

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

.branding-upload-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.branding-upload-card label {
  font-weight: 900;
}

.branding-avatar-preview,
.branding-banner-preview {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 107, 85, 0.12), rgba(166, 111, 37, 0.14)),
    #eff4f0;
  color: var(--muted);
  font-weight: 900;
}

.branding-avatar-preview {
  width: 132px;
  height: 132px;
}

.branding-avatar-preview img,
.mini-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.branding-banner-preview {
  min-height: 154px;
  background-position: center;
  background-size: cover;
}

.public-profile-preview {
  align-self: start;
}

.branding-profile-line {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.mini-avatar {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border: 3px solid #ffffff;
  border-radius: 8px;
  background: #dce8e2;
  box-shadow: var(--shadow-soft);
}

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

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

  .trust-grid,
  .two-col,
  .branding-studio-grid,
  .branding-upload-grid {
    grid-template-columns: 1fr;
  }

  .creator-focus {
    align-items: flex-start;
    flex-direction: column;
  }

  .studio-shell {
    grid-template-columns: 1fr;
  }

  .studio-shell.studio-collapsed {
    grid-template-columns: 1fr;
  }

  .studio-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .studio-collapse-button {
    display: none;
  }

  .studio-shell.studio-collapsed .studio-brand,
  .studio-shell.studio-collapsed .studio-creator,
  .studio-shell.studio-collapsed .studio-nav p {
    display: grid;
  }

  .studio-shell.studio-collapsed .studio-nav-label {
    display: inline;
  }

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

  .studio-nav p {
    grid-column: 1 / -1;
  }

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

  .studio-main {
    padding: 20px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 24px, 1160px);
    padding-top: 14px;
  }

  .topbar,
  .creator-body,
  .dashboard-video {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar,
  .creator-body {
    display: flex;
  }

  .hero {
    padding-top: 24px;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .product-preview {
    display: none;
  }

  .section-band,
  .creator-focus {
    padding: 20px;
  }

  .step-grid,
  .trust-grid,
  .welcome-steps,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .price,
  .price-block {
    margin-left: 0;
    justify-items: start;
    text-align: left;
  }

  .paywall.polished {
    grid-template-columns: 1fr;
  }

  .paywall.polished button,
  .paywall.polished strong,
  .paywall.polished p {
    grid-column: auto;
    grid-row: auto;
  }

  .actions {
    justify-content: stretch;
  }

  .actions > *,
  .primary,
  .secondary,
  .danger {
    width: 100%;
  }

  .nav .muted {
    width: 100%;
    overflow-wrap: anywhere;
  }

  .banner {
    min-height: 190px;
  }

  .avatar {
    margin-top: -48px;
    width: 96px;
    height: 96px;
  }

  .studio-mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .studio-grid {
    grid-template-columns: 1fr;
  }

  .studio-page-header h1 {
    font-size: 2rem;
  }

  .section-row {
    align-items: stretch;
    flex-direction: column;
  }

  .content-toolbar {
    align-items: stretch;
  }

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

  .segmented-control {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compact-field {
    max-width: none;
  }

  .sort-field {
    max-width: none;
  }

  .content-row {
    grid-template-columns: 30px 84px minmax(0, 1fr);
    align-items: start;
  }

  .content-row-status,
  .content-row-actions {
    grid-column: 1 / -1;
  }

  .content-row-actions {
    justify-content: stretch;
  }

  .pagination {
    align-items: stretch;
    flex-direction: column;
  }

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

  .schedule-fields {
    grid-template-columns: 1fr;
  }

  .thumbnail-crop-header {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .auth-card,
  .card,
  .watch-panel,
  .welcome-panel {
    padding: 18px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .studio-sidebar,
  .studio-main {
    padding: 14px;
  }

  .studio-nav,
  .studio-footer {
    grid-template-columns: 1fr;
  }
}
