:root {
  /* Neutral near-black palette matching the landing page (blue is accent only) */
  --oc-bg-deep: #06080f;
  --oc-bg-surface: #0b1018;
  --oc-bg-elevated: #111a2b;
  --oc-border: #1b2433;
  --oc-border-glow: #2a3a5c;
  --oc-accent: #2f6bff;
  --oc-accent-lite: #6ea6ff;
  --oc-text-primary: #f2f6fc;
  --oc-text-body: #c6cedb;
  --oc-text-muted: #a7b3c9;
  --oc-text-dim: #8391a8;
  --oc-green: #2dba7a;
  --oc-green-bg: #0a2218;
  --oc-green-border: #1a4a32;
  --oc-red: #f87171;
  --oc-orange: #fb923c;
  --oc-purple: #a78bfa;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--oc-bg-deep);
  color: var(--oc-text-body);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(26, 86, 219, .18), transparent 52%),
    radial-gradient(ellipse at 100% 10%, rgba(91, 156, 246, .08), transparent 34%),
    var(--oc-bg-deep);
  color: var(--oc-text-body);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

/* Safari/macOS renders native form controls with an inset look unless reset. */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
textarea {
  -webkit-appearance: none;
  appearance: none;
}

button {
  border: 0;
}

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

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

/* Shared controls */
.btn,
button.btn,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 16px;
  border: .5px solid var(--oc-border);
  border-radius: 8px;
  background: transparent;
  color: var(--oc-text-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s, transform .15s;
}

.btn:hover {
  border-color: var(--oc-border-glow);
  color: var(--oc-text-primary);
  background: var(--oc-bg-elevated);
}

.btn-primary,
button.btn-primary,
a.btn-primary {
  border-color: var(--oc-accent);
  background: var(--oc-accent);
  color: #fff;
}

.btn-primary:hover {
  background: #2060e8;
  border-color: #2060e8;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 86, 219, .38);
}

.btn-light,
.btn-dark,
.btn-secondary {
  background: transparent;
  color: var(--oc-text-body);
}

.btn-orange {
  border-color: rgba(251, 146, 60, .35);
  color: var(--oc-orange);
}

.btn-danger {
  border-color: rgba(248, 113, 113, .35);
  color: var(--oc-red);
}

.btn[disabled],
button[disabled] {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: .5px solid var(--oc-border-glow);
  border-radius: 10px;
  background: rgba(13, 31, 58, .82);
  color: var(--oc-text-body);
}

.public-notice {
  position: fixed;
  top: 72px;
  left: 50%;
  z-index: 200;
  width: min(720px, calc(100% - 32px));
  transform: translateX(-50%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}

.eyebrow,
.market-eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--oc-accent-lite);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.lead,
.panel-description,
.row-copy,
.hint,
.page-sub {
  color: var(--oc-text-muted);
}

.row-copy,
.hint {
  font-size: 12px;
}

/* Public navigation and landing */
.public-page {
  background: var(--oc-bg-deep);
}

.site-nav,
.public-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  min-height: 60px;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  border-bottom: .5px solid var(--oc-border);
  background: rgba(6, 13, 24, .92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}

.public-nav {
  position: relative;
  top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}

.nav-logo,
.public-brand,
.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--oc-text-primary);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .14em;
  text-decoration: none;
}

.nav-logo-dot,
.public-brand span,
.auth-brand span,
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--oc-accent);
  color: transparent;
  font-size: 0;
}

.public-brand span,
.auth-brand span,
.brand-mark {
  width: 32px;
  height: 32px;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0;
}

.nav-links,
.public-nav nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 8px;
}

.nav-links a,
.public-nav nav a {
  color: var(--oc-text-muted);
  font-size: 14px;
  transition: color .15s;
}

.nav-links a:hover,
.nav-links a.active,
.public-nav nav a:hover {
  color: var(--oc-text-primary);
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.public-hero {
  position: relative;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 80px;
  text-align: center;
}

.public-hero-bg,
.public-hero-shade {
  display: none;
}

.public-hero::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  width: 680px;
  height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(26, 86, 219, .16), transparent 70%);
  pointer-events: none;
}

.public-hero-copy {
  position: relative;
  max-width: 760px;
  margin: 86px auto 0;
}

.public-hero-copy h1 {
  margin: 0 0 18px;
  color: var(--oc-text-primary);
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.12;
}

.public-hero-copy p:not(.market-eyebrow) {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--oc-text-muted);
  font-size: 17px;
  line-height: 1.65;
}

.public-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.public-main {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.public-brand-strip,
.brand-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin: 0 0 56px;
  padding: 28px 0;
  border-top: .5px solid var(--oc-border);
  border-bottom: .5px solid var(--oc-border);
  color: var(--oc-text-dim);
  font-size: 13px;
  font-weight: 500;
}

.public-stats,
.market-stats,
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 48px;
  overflow: hidden;
  border: .5px solid var(--oc-border);
  border-radius: 12px;
  background: var(--oc-bg-surface);
}

.public-stats > div,
.market-stats > div {
  padding: 20px 24px;
  text-align: center;
  border-right: .5px solid var(--oc-border);
}

.public-stats > div:last-child,
.market-stats > div:last-child {
  border-right: 0;
}

.public-stats strong,
.market-stats strong {
  display: block;
  color: var(--oc-accent-lite);
  font-size: 24px;
  font-weight: 600;
}

.public-stats span,
.market-stats span {
  display: block;
  color: var(--oc-text-dim);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.public-section {
  padding: 64px 0;
}

.public-section h2,
.section-title,
.panel h2,
.market-hero h2 {
  margin: 0 0 12px;
  color: var(--oc-text-primary);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.25;
}

.public-section p {
  color: var(--oc-text-muted);
}

.public-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 28px;
  align-items: center;
}

.public-dashboard,
.market-preview-card,
.calc-card,
.auth-card,
.panel,
.metric,
.flow-card,
.public-steps article,
.public-campaign-card,
.campaign-card,
.list-row,
.table-wrap,
.campaigns-list,
.chart-card,
.earnings-card {
  border: .5px solid var(--oc-border);
  border-radius: 12px;
  background: var(--oc-bg-surface);
}

.public-dashboard {
  padding: 22px;
}

.public-dashboard-head,
.public-dashboard-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: .5px solid var(--oc-border);
}

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

.public-dashboard b {
  color: var(--oc-accent-lite);
  font-weight: 600;
}

.public-steps,
.market-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 44px;
}

.public-steps article,
.flow-card {
  padding: 24px;
}

.public-steps span,
.flow-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--oc-text-dim);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.public-steps h3,
.flow-card h3 {
  margin: 0 0 8px;
  color: var(--oc-text-primary);
  font-size: 16px;
  font-weight: 500;
}

.public-steps p,
.flow-card p {
  margin: 0;
  color: var(--oc-text-muted);
  font-size: 13px;
}

.public-section-head,
.panel-head,
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.public-campaign-list,
.campaign-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.public-campaign-card {
  padding: 18px;
}

.public-campaign-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.public-campaign-top span,
.card-platform,
.tag,
.status,
.campaign-level,
.deadline-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border: .5px solid var(--oc-border);
  border-radius: 99px;
  color: var(--oc-text-dim);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.public-campaign-top b {
  color: var(--oc-accent-lite);
  font-weight: 600;
}

.public-campaign-card h3 {
  margin: 0 0 4px;
  color: var(--oc-text-primary);
  font-size: 14px;
  font-weight: 500;
}

.public-card-meta {
  margin-top: 8px;
  color: var(--oc-text-dim);
  font-size: 11px;
}

/* Auth pages */
.auth-body {
  background: var(--oc-bg-deep);
}

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
}

.auth-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 100vh;
  padding: 40px;
  overflow: hidden;
  border-right: .5px solid var(--oc-border);
  background: var(--oc-bg-surface);
}

.auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26, 86, 219, .07) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.auth-visual > * {
  position: relative;
}

.auth-visual h1 {
  margin: 0 0 12px;
  color: var(--oc-text-primary);
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.auth-visual p:not(.market-eyebrow) {
  color: var(--oc-text-muted);
}

.auth-proof {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.auth-proof > div {
  padding: 13px 16px;
  border: .5px solid var(--oc-border);
  border-radius: 10px;
  background: rgba(13, 31, 58, .6);
}

.auth-proof strong {
  display: block;
  color: var(--oc-accent-lite);
}

.auth-proof span {
  color: var(--oc-text-dim);
  font-size: 12px;
}

.auth-card-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.auth-card {
  width: min(440px, 100%);
  padding: 28px;
}

.auth-card-head {
  margin-bottom: 24px;
}

.auth-card h2 {
  margin: 0 0 6px;
  color: var(--oc-text-primary);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.auth-google {
  width: 100%;
  margin-bottom: 8px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--oc-text-dim);
  font-size: 11px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: .5px;
  background: var(--oc-border);
}

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

.auth-form label,
.field label,
.form-grid label {
  display: grid;
  gap: 6px;
  color: var(--oc-text-dim);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.auth-secondary {
  margin-top: 18px;
  text-align: center;
  color: var(--oc-text-dim);
  font-size: 12px;
}

.auth-secondary a {
  color: var(--oc-accent-lite);
}

.auth-demo {
  margin-top: 18px;
  padding-top: 18px;
  border-top: .5px solid var(--oc-border);
  color: var(--oc-text-muted);
  font-size: 12px;
}

.auth-demo summary {
  cursor: pointer;
  color: var(--oc-text-body);
}

.auth-demo div {
  display: grid;
  gap: 2px;
  margin-top: 10px;
}

.auth-demo b {
  color: var(--oc-text-primary);
}

input,
select,
textarea {
  width: 100%;
  min-height: 40px;
  padding: 10px 13px;
  border: .5px solid var(--oc-border);
  border-radius: 8px;
  background: var(--oc-bg-elevated);
  color: var(--oc-text-primary);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--oc-border-glow);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, .1);
}

input::placeholder,
textarea::placeholder {
  color: var(--oc-text-dim);
}

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

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-right: .5px solid var(--oc-border);
  background: var(--oc-bg-surface);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border-bottom: .5px solid var(--oc-border);
}

.brand-title {
  color: var(--oc-text-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
}

.brand-sub {
  margin-top: 2px;
  color: var(--oc-text-dim);
  font-size: 11px;
}

.account-mini {
  margin: 16px 12px 8px;
  padding: 12px;
  border: .5px solid var(--oc-border);
  border-radius: 8px;
  background: var(--oc-bg-elevated);
  color: var(--oc-text-muted);
  font-size: 12px;
  line-height: 1.55;
}

.account-mini b {
  color: var(--oc-text-primary);
}

.nav-group {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
}

.nav-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  background: transparent;
  color: var(--oc-text-muted);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}

.nav-button:hover {
  background: var(--oc-bg-elevated);
  color: var(--oc-text-body);
}

.nav-button.is-active {
  border: .5px solid rgba(26, 86, 219, .24);
  background: rgba(26, 86, 219, .15);
  color: var(--oc-accent-lite);
}

.nav-count {
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(91, 156, 246, .12);
  color: var(--oc-accent-lite);
  font-size: 11px;
  text-align: center;
}

.logout-form {
  margin: 0;
}

.sidebar-note {
  margin: auto 12px 16px;
  padding: 12px;
  border: .5px solid var(--oc-border);
  border-radius: 8px;
  color: var(--oc-text-dim);
  font-size: 12px;
  line-height: 1.5;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 0 28px;
  border-bottom: .5px solid var(--oc-border);
  background: rgba(6, 13, 24, .86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}

.topbar h1 {
  margin: 0;
  color: var(--oc-text-primary);
  font-size: 18px;
  font-weight: 600;
}

.topbar .eyebrow,
.topbar .lead {
  display: none;
}

.account-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--oc-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.account-name {
  color: var(--oc-text-primary);
  font-size: 13px;
  font-weight: 500;
}

.account-meta {
  color: var(--oc-text-dim);
  font-size: 11px;
}

.main > .notice,
.main > section,
.main > .grid,
.main > .table-wrap {
  margin-left: 28px;
  margin-right: 28px;
}

.main > section:first-of-type,
.main > .grid:first-of-type {
  margin-top: 28px;
}

/* Dashboard and panels */
.grid {
  display: grid;
  gap: 16px;
}

.metrics {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border: 0;
  background: transparent;
  overflow: visible;
}

.metric {
  padding: 18px 20px;
  transition: border-color .2s;
}

.metric:hover,
.panel:hover,
.campaign-card:hover {
  border-color: var(--oc-border-glow);
}

.metric-label {
  color: var(--oc-text-dim);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.metric-value {
  margin-top: 6px;
  color: var(--oc-text-primary);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.metric-value.compact {
  font-size: 18px;
  color: var(--oc-accent-lite);
}

.metric-note {
  margin-top: 3px;
  color: var(--oc-text-dim);
  font-size: 12px;
}

.panel {
  padding: 20px;
  margin-bottom: 24px;
}

.panel h2 {
  font-size: 20px;
}

.panel-description {
  max-width: 760px;
  margin: 0;
  font-size: 13px;
}

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

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

.field.full,
.form-grid .full {
  grid-column: 1 / -1;
}

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

.list-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
}

.row-title {
  color: var(--oc-text-primary);
  font-size: 13px;
  font-weight: 500;
}

.status.active,
.status.paid,
.badge-active {
  border-color: var(--oc-green-border);
  background: var(--oc-green-bg);
  color: var(--oc-green);
}

.status.waiting,
.status.review,
.badge-pending {
  border-color: rgba(251, 146, 60, .32);
  background: rgba(249, 115, 22, .1);
  color: var(--oc-orange);
}

.status.rejected,
.badge-ended {
  border-color: rgba(248, 113, 113, .3);
  background: rgba(248, 113, 113, .08);
  color: var(--oc-red);
}

.tag-row,
.platform-pills,
.pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tag,
.pp,
.platform-pill {
  padding: 2px 8px;
  border: .5px solid var(--oc-border);
  border-radius: 99px;
  color: var(--oc-text-dim);
  font-size: 10px;
}

.progress,
.progress-track,
.prog-track,
.pb-track {
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--oc-bg-elevated);
}

.progress span,
.progress-fill,
.prog-fill,
.pb-fill {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--oc-accent);
}

.progress-wide {
  width: 100%;
  margin: 14px 0 8px;
}

/* Campaign marketplace */
.market-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 24px;
  align-items: center;
  margin: 28px;
  padding: 24px;
  border: .5px solid var(--oc-border);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--oc-bg-surface), rgba(13, 31, 58, .76));
}

.market-lead {
  max-width: 640px;
  color: var(--oc-text-muted);
}

.market-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}

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

.market-preview-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.market-preview-body {
  padding: 18px;
}

.market-preview-kicker {
  color: var(--oc-accent-lite);
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.market-preview-body h3 {
  margin: 8px 0 4px;
  color: var(--oc-text-primary);
}

.market-rate {
  display: flex;
  justify-content: space-between;
  margin: 14px 0 4px;
  color: var(--oc-text-dim);
  font-size: 12px;
}

.market-rate strong {
  color: var(--oc-accent-lite);
}

.campaign-market-panel {
  margin-top: 28px;
}

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

.campaign-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.campaign-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .38);
}

.campaign-cover-wrap {
  position: relative;
  min-height: 164px;
  background: var(--oc-bg-elevated);
}

.campaign-cover {
  width: 100%;
  height: 164px;
  object-fit: cover;
  opacity: .78;
}

.card-platform {
  position: absolute;
  top: 12px;
  left: 12px;
  border-color: var(--oc-border-glow);
  background: rgba(8, 15, 28, .82);
  color: var(--oc-accent-lite);
}

.campaign-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.campaign-topline,
.campaign-progress-row,
.campaign-economics {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.campaign-title {
  margin: 14px 0 4px;
  color: var(--oc-text-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.campaign-meta {
  color: var(--oc-text-dim);
  font-size: 12px;
}

.campaign-brief {
  color: var(--oc-text-muted);
  font-size: 13px;
}

.campaign-economics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
  overflow: hidden;
  border: .5px solid var(--oc-border);
  border-radius: 10px;
}

.campaign-economics div {
  padding: 10px;
  border-right: .5px solid var(--oc-border);
}

.campaign-economics div:last-child {
  border-right: 0;
}

.campaign-economics span {
  display: block;
  color: var(--oc-text-dim);
  font-size: 10px;
}

.campaign-economics strong {
  color: var(--oc-accent-lite);
  font-size: 12px;
}

.campaign-progress-row {
  color: var(--oc-text-dim);
  font-size: 11px;
}

.campaign-card .actions {
  margin-top: auto;
  padding-top: 14px;
}

.join-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  width: 100%;
}

.campaign-detail-grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 22px;
}

.campaign-cover-large {
  height: 300px;
  border-radius: 12px;
}

/* Tables */
.table-wrap,
.table-card {
  overflow: auto;
}

.data-table,
.table-card table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.table-card th {
  padding: 10px 14px;
  border-bottom: .5px solid var(--oc-border);
  background: var(--oc-bg-elevated);
  color: var(--oc-text-dim);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .07em;
  text-align: left;
  text-transform: uppercase;
}

.data-table td,
.table-card td {
  padding: 12px 14px;
  border-bottom: .5px solid var(--oc-border);
  color: var(--oc-text-body);
  font-size: 13px;
  vertical-align: top;
}

.data-table tr:hover td,
.table-card tr:hover td {
  background: rgba(13, 31, 58, .44);
}

.empty {
  padding: 28px;
  border: .5px dashed var(--oc-border);
  border-radius: 12px;
  color: var(--oc-text-dim);
  text-align: center;
}

.verify-box,
.timeline {
  margin-top: 12px;
  padding: 14px;
  border: .5px solid var(--oc-border);
  border-radius: 10px;
  background: var(--oc-bg-elevated);
}

.code-pill {
  display: inline-flex;
  margin: 8px 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(26, 86, 219, .16);
  color: var(--oc-accent-lite);
  font-weight: 600;
  letter-spacing: .05em;
}

.timeline {
  display: grid;
  gap: 12px;
}

.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-dot {
  display: flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: .5px solid var(--oc-border);
  border-radius: 50%;
  color: var(--oc-text-dim);
}

.step.is-done .step-dot {
  border-color: var(--oc-green-border);
  background: var(--oc-green-bg);
  color: var(--oc-green);
}

.step-title {
  color: var(--oc-text-primary);
  font-weight: 500;
}

.step-copy {
  color: var(--oc-text-muted);
  font-size: 12px;
}

/* OVERCLIP app screens */
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 64px;
  padding: 0 18px;
  border-bottom: .5px solid var(--oc-border);
  color: var(--oc-text-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
}

.sidebar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--oc-accent);
  box-shadow: 0 0 18px rgba(91, 156, 246, .8);
}

.sidebar-section {
  padding: 18px 12px 0;
}

.sidebar-label {
  margin: 0 0 8px 6px;
  color: var(--oc-accent-lite);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sidebar-nav {
  display: grid;
  gap: 5px;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 41px;
  padding: 9px 10px;
  border: .5px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--oc-text-muted);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.nav-item span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-item i {
  color: var(--oc-accent-lite);
  font-size: 17px;
}

.nav-item:hover,
.nav-item.is-active {
  border-color: rgba(26, 86, 219, .32);
  background: rgba(26, 86, 219, .14);
  color: var(--oc-text-primary);
}

.sidebar-bottom {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 16px 12px;
  border-top: .5px solid var(--oc-border);
}

.balance-pill {
  padding: 12px;
  border: .5px solid var(--oc-border);
  border-radius: 8px;
  background: rgba(13, 31, 58, .72);
}

.balance-pill-label {
  display: block;
  color: var(--oc-text-dim);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.balance-pill-val {
  display: block;
  margin-top: 4px;
  color: var(--oc-accent-lite);
  font-size: 17px;
}

.btn-withdraw {
  width: 100%;
}

.topbar-subline {
  margin: 2px 0 0;
  color: var(--oc-text-muted);
  font-size: 12px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: .5px solid var(--oc-border);
  border-radius: 8px;
  background: rgba(13, 31, 58, .55);
  color: var(--oc-accent-lite);
  cursor: pointer;
}

.icon-button:hover {
  border-color: var(--oc-border-glow);
  color: var(--oc-text-primary);
}

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

.metric-card,
.chart-card,
.campaigns-list,
.recommend-section,
.table-card,
.info-card,
.payout-box,
.stat-card,
.rec-card,
.related-card,
.clip-card {
  border: .5px solid var(--oc-border);
  border-radius: 8px;
  background: rgba(8, 15, 28, .86);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .16);
}

.metric-card {
  min-height: 148px;
  padding: 17px;
}

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

.metric-icon,
.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: .5px solid var(--oc-border);
  border-radius: 8px;
  background: rgba(26, 86, 219, .14);
  color: var(--oc-accent-lite);
  font-size: 18px;
}

.icon-green {
  background: rgba(45, 186, 122, .12);
  color: var(--oc-green);
}

.icon-purple {
  background: rgba(167, 139, 250, .12);
  color: var(--oc-purple);
}

.icon-orange {
  background: rgba(251, 146, 60, .12);
  color: var(--oc-orange);
}

.metric-trend {
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(26, 86, 219, .12);
  color: var(--oc-accent-lite);
  font-size: 11px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(310px, 1fr);
  gap: 20px;
}

.chart-card,
.campaigns-list,
.recommend-section,
.table-card,
.info-card {
  padding: 20px;
}

.panel-head.compact {
  align-items: center;
  margin-bottom: 14px;
}

.panel-head.compact h2,
.campaigns-list-header h2,
.info-card h3 {
  margin: 0;
  color: var(--oc-text-primary);
  font-size: 16px;
}

.panel-head.compact a,
.campaigns-list-header a {
  color: var(--oc-accent-lite);
  font-size: 12px;
}

.card-subtitle {
  margin: 3px 0 0;
  color: var(--oc-text-dim);
  font-size: 12px;
}

.chart-inner {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  min-height: 240px;
  padding: 12px 0 4px;
}

.chart-yaxis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--oc-text-dim);
  font-size: 10px;
}

.chart-area {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  min-height: 210px;
  padding: 0 8px;
  border-bottom: .5px solid rgba(26, 45, 74, .7);
}

.bar-wrap {
  display: flex;
  flex: 1;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 18px;
  height: 210px;
}

.bar {
  width: 100%;
  max-width: 34px;
  min-height: 4px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #2f7cff, #1a56db);
}

.bar-label {
  margin-top: 8px;
  color: var(--oc-text-dim);
  font-size: 10px;
}

.campaigns-list-header,
.campaign-row-top,
.campaign-row-stats,
.clip-info,
.rec-top,
.clip-meta-row,
.profile-name-row,
.profile-actions,
.hero-info,
.hero-left,
.hero-right,
.campaign-brand,
.sticky-cta,
.related-card {
  display: flex;
  align-items: center;
}

.campaigns-list-header,
.sticky-cta {
  justify-content: space-between;
}

.campaign-row {
  padding: 14px 0;
  border-top: .5px solid var(--oc-border);
}

.campaign-row:first-of-type {
  border-top: 0;
}

.campaign-row-top {
  gap: 11px;
}

.mini-thumb,
.clip-thumb-small,
.rec-thumb,
.related-thumb {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: .5px solid var(--oc-border);
  border-radius: 6px;
  object-fit: cover;
}

.campaign-row-info {
  min-width: 0;
  flex: 1;
}

.campaign-row-name,
.rec-name,
.related-name,
.clip-title {
  display: block;
  color: var(--oc-text-primary);
  font-size: 13px;
  font-weight: 600;
}

.campaign-row-brand,
.clip-platform,
.rec-brand,
.related-meta,
.clip-campaign {
  display: block;
  color: var(--oc-text-dim);
  font-size: 11px;
}

.campaign-row-stats {
  gap: 14px;
  margin-top: 10px;
}

.stat-mini {
  color: var(--oc-accent-lite);
  font-size: 12px;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border: .5px solid var(--oc-border);
  border-radius: 99px;
  font-size: 11px;
}

.badge-active {
  border-color: var(--oc-green-border);
  background: var(--oc-green-bg);
  color: var(--oc-green);
}

.badge-pending {
  border-color: rgba(251, 146, 60, .32);
  background: rgba(251, 146, 60, .1);
  color: var(--oc-orange);
}

.earned-val {
  color: var(--oc-accent-lite);
}

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

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

.rec-rate {
  color: var(--oc-accent-lite);
  font-size: 20px;
  font-weight: 700;
}

.rec-rate span {
  color: var(--oc-text-dim);
  font-size: 12px;
  font-weight: 500;
}

.btn-sm {
  min-height: 32px;
  padding: 6px 12px;
  font-size: 12px;
}

.oc-detail-page {
  padding-bottom: 76px;
}

.campaign-hero {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: .5px solid var(--oc-border);
  border-radius: 8px;
  background: var(--oc-bg-surface);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .42;
  object-fit: cover;
}

.campaign-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 13, 24, .18), rgba(6, 13, 24, .96));
}

.hero-info {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
}

.hero-left {
  gap: 16px;
}

.hero-right {
  align-items: flex-end;
  flex-direction: column;
  gap: 8px;
}

.hero-right strong {
  color: var(--oc-text-primary);
  font-size: 20px;
}

.hero-brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: .5px solid var(--oc-border);
  border-radius: 8px;
  background: rgba(13, 31, 58, .86);
  color: var(--oc-accent-lite);
  font-size: 28px;
}

.campaign-badge {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 9px;
  border: .5px solid rgba(91, 156, 246, .32);
  border-radius: 99px;
  background: rgba(26, 86, 219, .16);
  color: var(--oc-accent-lite);
  font-size: 11px;
  text-transform: uppercase;
}

.campaign-hero .campaign-title {
  margin: 0;
  color: var(--oc-text-primary);
  font-size: 34px;
}

.campaign-brand {
  gap: 6px;
  color: var(--oc-text-muted);
}

.verified-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--oc-green);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: .5px solid var(--oc-border);
  border-radius: 8px;
  background: var(--oc-border);
}

.stat-cell {
  padding: 18px;
  background: rgba(8, 15, 28, .92);
}

.sc-val {
  display: block;
  color: var(--oc-text-primary);
  font-size: 22px;
  font-weight: 700;
}

.sc-label {
  display: block;
  margin-top: 3px;
  color: var(--oc-text-dim);
  font-size: 11px;
  text-transform: uppercase;
}

.page.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
}

.main-col,
.side-col {
  display: grid;
  gap: 18px;
  align-content: start;
}

.info-card h3,
.payout-box h3 {
  margin: 0 0 12px;
}

.info-card p {
  color: var(--oc-text-muted);
}

.rule-list,
.how-list {
  display: grid;
  gap: 11px;
}

.rule-item,
.how-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--oc-text-body);
}

.rule-icon,
.how-num {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.rule-icon.yes,
.how-num {
  background: var(--oc-green-bg);
  color: var(--oc-green);
}

.rule-icon.no {
  background: rgba(248, 113, 113, .1);
  color: var(--oc-red);
}

.payout-box {
  position: sticky;
  top: 82px;
  padding: 22px;
}

.payout-label,
.payout-sub,
.payout-item-label,
.clippers-note {
  color: var(--oc-text-dim);
  font-size: 12px;
}

.payout-val {
  display: block;
  margin-top: 4px;
  color: var(--oc-accent-lite);
  font-size: 34px;
}

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

.payout-grid > div {
  padding: 12px;
  border: .5px solid var(--oc-border);
  border-radius: 8px;
  background: rgba(13, 31, 58, .48);
}

.payout-item-val {
  display: block;
  margin-top: 2px;
  color: var(--oc-text-primary);
}

.btn-join-full .btn,
.btn-join-full .join-form,
.btn-sticky .btn,
.btn-sticky .join-form {
  width: 100%;
}

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

.related-card {
  gap: 12px;
  padding: 12px;
}

.related-info {
  flex: 1;
  min-width: 0;
}

.related-rate {
  color: var(--oc-accent-lite);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 30;
  gap: 16px;
  margin: 20px 28px 0;
  padding: 14px 16px;
  border: .5px solid var(--oc-border);
  border-radius: 8px 8px 0 0;
  background: rgba(8, 15, 28, .96);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}

.sticky-cta strong,
.sticky-cta span {
  display: block;
}

.sticky-cta span {
  color: var(--oc-text-dim);
  font-size: 12px;
}

.profile-cover {
  min-height: 220px;
  padding: 34px;
  border: .5px solid var(--oc-border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(26, 86, 219, .28), rgba(8, 15, 28, .9)),
    linear-gradient(90deg, rgba(91, 156, 246, .18), transparent);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 22px;
}

.profile-avatar-wrap {
  position: relative;
  flex: 0 0 auto;
}

.profile-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border: 3px solid rgba(91, 156, 246, .36);
  border-radius: 50%;
  background: var(--oc-accent);
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}

.online-dot {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 16px;
  height: 16px;
  border: 3px solid var(--oc-bg-deep);
  border-radius: 50%;
  background: var(--oc-green);
}

.profile-meta {
  min-width: 0;
  flex: 1;
}

.profile-name-row {
  gap: 10px;
  flex-wrap: wrap;
}

.profile-name {
  margin: 0;
  color: var(--oc-text-primary);
  font-size: 30px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: .5px solid var(--oc-green-border);
  border-radius: 99px;
  background: var(--oc-green-bg);
  color: var(--oc-green);
  font-size: 12px;
}

.profile-handle,
.profile-bio {
  color: var(--oc-text-muted);
}

.profile-bio {
  max-width: 720px;
  margin: 8px 0;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: .5px solid var(--oc-border);
  border-radius: 99px;
  background: rgba(13, 31, 58, .42);
  color: var(--oc-text-body);
  font-size: 12px;
}

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

.profile-stats {
  background: transparent;
  border: 0;
  gap: 16px;
  overflow: visible;
}

.stat-card {
  padding: 18px;
}

.stat-value {
  display: block;
  margin-top: 12px;
  color: var(--oc-text-primary);
  font-size: 22px;
}

.stat-label {
  display: block;
  color: var(--oc-text-dim);
  font-size: 12px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: .5px solid var(--oc-border);
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 2px solid transparent;
  color: var(--oc-text-muted);
  font-size: 13px;
}

.tab-btn.active,
.tab-btn:hover {
  border-color: var(--oc-accent);
  color: var(--oc-text-primary);
}

.tab-count {
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 99px;
  background: rgba(26, 86, 219, .18);
  color: var(--oc-accent-lite);
  font-size: 11px;
}

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

.clip-card {
  overflow: hidden;
}

.clip-thumb {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: var(--oc-bg-elevated);
}

.clip-thumb-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clip-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6, 13, 24, .9));
}

.clip-play,
.clip-platform-badge,
.clip-views-overlay {
  position: absolute;
  z-index: 1;
}

.clip-play {
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--oc-accent);
  transform: translate(-50%, -50%);
}

.clip-platform-badge {
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 99px;
  background: rgba(6, 13, 24, .7);
  color: var(--oc-text-primary);
  font-size: 11px;
}

.clip-views-overlay {
  right: 10px;
  bottom: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.clip-meta-row {
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
}

.clip-earned {
  color: var(--oc-accent-lite);
  white-space: nowrap;
}

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

  .sidebar {
    position: static;
    height: auto;
  }

  .sidebar-note {
    display: none;
  }

  .nav-group {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    display: none;
  }

  .public-split,
  .market-hero,
  .campaign-detail-grid,
  .dashboard-grid,
  .page.two-col {
    grid-template-columns: 1fr;
  }

  .public-steps,
  .market-flow,
  .metrics-grid,
  .rec-grid,
  .clips-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .payout-box {
    position: static;
  }

  .profile-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .site-nav,
  .public-nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-links,
  .public-nav nav a:not(.btn) {
    display: none;
  }

  .public-hero,
  .public-main {
    width: calc(100% - 32px);
  }

  .public-stats,
  .market-stats {
    grid-template-columns: 1fr;
  }

  .public-stats > div,
  .market-stats > div {
    border-right: 0;
    border-bottom: .5px solid var(--oc-border);
  }

  .public-stats > div:last-child,
  .market-stats > div:last-child {
    border-bottom: 0;
  }

  .main > .notice,
  .main > section,
  .main > .grid,
  .main > .table-wrap,
  .market-hero {
    margin-left: 16px;
    margin-right: 16px;
  }

  .topbar {
    padding: 0 16px;
  }

  .form-grid,
  .campaign-economics {
    grid-template-columns: 1fr;
  }

  .campaign-economics div {
    border-right: 0;
    border-bottom: .5px solid var(--oc-border);
  }

  .campaign-economics div:last-child {
    border-bottom: 0;
  }

  .list-row,
  .panel-head,
  .public-section-head {
    flex-direction: column;
  }
}

/* Final mockup-aligned OVERCLIP UI layer */
body {
  background: #060d18;
}

.app-shell {
  display: flex;
  min-height: 100vh;
  background: var(--oc-bg-deep);
}

.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1;
  padding: 28px;
}

.sidebar {
  width: 224px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: var(--oc-bg-surface);
  border-right: .5px solid var(--oc-border);
}

.sidebar-logo {
  padding: 20px 18px;
  border-bottom: .5px solid var(--oc-border);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
}

.nav-logo::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #3b82f6;
  box-shadow: 0 0 18px rgba(59, 130, 246, .8);
}

.nav-section {
  padding: 18px 10px 0;
}

.nav-heading {
  margin: 0 0 8px 8px;
  color: var(--oc-text-dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 42px;
  padding: 0 12px;
  border: .5px solid transparent;
  border-radius: 8px;
  color: var(--oc-accent-lite);
  font-size: 14px;
  transition: background .15s, border-color .15s, color .15s;
}

.nav-item i {
  width: 15px;
  color: #6ea6ff;
  font-size: 17px;
}

.nav-item:hover,
.nav-item.active,
.nav-item.is-active {
  border-color: #153a74;
  background: #0d2142;
  color: #f8fbff;
}

.sidebar-bottom {
  margin-top: auto;
  padding: 16px 10px;
  border-top: .5px solid var(--oc-border);
}

.balance-pill {
  margin-bottom: 10px;
  padding: 14px;
  border: .5px solid var(--oc-border);
  border-radius: 8px;
  background: #0d2142;
}

.balance-pill span {
  display: block;
  color: var(--oc-text-dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.balance-pill strong {
  display: block;
  margin-top: 5px;
  color: var(--oc-accent-lite);
  font-size: 18px;
}

.btn-withdraw {
  width: 100%;
  min-height: 36px;
  border-color: var(--oc-accent);
  background: var(--oc-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.topbar {
  height: 64px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 15, 28, .96);
  border-bottom: .5px solid var(--oc-border);
}

.topbar-left h1 {
  margin: 0;
  color: var(--oc-text-primary);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.topbar-left span {
  display: block;
  margin-top: 4px;
  color: var(--oc-text-dim);
  font-size: 12px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn,
.avatar-sm {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: .5px solid var(--oc-border);
  border-radius: 8px;
  background: #0b1628;
  color: var(--oc-accent-lite);
}

.avatar-sm {
  border-color: rgba(91, 156, 246, .35);
  background: linear-gradient(135deg, #1a56db, #6ea6ff);
  color: #fff;
  font-weight: 800;
}

.notice {
  margin: 0 0 18px;
}

.earnings-card,
.metric-card,
.chart-card,
.campaigns-list,
.table-card,
.rec-card,
.campaign-card,
.calc-card,
.info-card,
.sticky-cta,
.earnings-balance-card,
.earnings-breakdown-card,
.clip-card,
.profile-cover {
  border: .5px solid var(--oc-border);
  border-radius: 12px;
  background: var(--oc-bg-surface);
  box-shadow: none;
}

.earnings-card {
  min-height: 126px;
  margin-bottom: 24px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background:
    linear-gradient(120deg, rgba(26, 86, 219, .22), rgba(8, 15, 28, .9) 46%),
    var(--oc-bg-surface);
}

.earnings-label {
  color: var(--oc-text-dim);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.earnings-val {
  margin-top: 6px;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.earnings-pending {
  margin-top: 8px;
  color: var(--oc-text-muted);
  font-size: 13px;
}

.earnings-pending span {
  color: var(--oc-green);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.metric-card {
  padding: 18px;
}

.metric-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.metric-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #0d2142;
  color: var(--oc-accent-lite);
  font-size: 19px;
}

.metric-icon.green { color: #35d08a; }
.metric-icon.purple { color: #a78bfa; }
.metric-icon.orange { color: #fb923c; }

.metric-val {
  margin-top: 15px;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.metric-label {
  margin-top: 8px;
  color: var(--oc-text-muted);
  font-size: 13px;
}

.metric-trend {
  margin-top: 10px;
  color: var(--oc-green);
  font-size: 12px;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(340px, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.chart-card {
  min-height: 300px;
  padding: 20px;
}

.card-header,
.campaigns-list-header,
.table-title-row,
.recommended-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.card-title {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.card-subtitle {
  margin-top: 3px;
  color: var(--oc-text-dim);
  font-size: 12px;
}

.chart-total,
.btn-link {
  color: var(--oc-accent-lite);
  font-size: 12px;
}

.chart-inner {
  height: 220px;
  margin-top: 20px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px;
}

.chart-yaxis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--oc-text-dim);
  font-size: 11px;
}

.chart-area {
  display: flex;
  align-items: end;
  gap: 10px;
  padding-top: 10px;
  border-bottom: .5px solid var(--oc-border);
}

.bar-wrap {
  flex: 1;
  min-width: 8px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
}

.bar {
  width: 100%;
  min-height: 4px;
  max-width: 16px;
  border-radius: 999px 999px 0 0;
  background: #102447;
}

.bar.filled {
  background: #225bd8;
}

.bar.today {
  background: #5b9cf6;
}

.bar-label,
.yaxis-label {
  color: var(--oc-text-dim);
  font-size: 10px;
}

.campaigns-list {
  overflow: hidden;
}

.campaigns-list-header {
  padding: 18px 20px;
  border-bottom: .5px solid var(--oc-border);
}

.campaign-row {
  display: block;
  padding: 16px 20px;
  border-bottom: .5px solid var(--oc-border);
}

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

.campaign-row-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.mini-thumb,
.clip-thumb,
.rec-thumb,
.cc-thumb,
.campaign-thumb {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: .5px solid var(--oc-border);
  border-radius: 8px;
  background: #102447;
  color: var(--oc-accent-lite);
}

.mini-thumb {
  width: 34px;
  height: 34px;
}

.campaign-row-name,
.clip-title,
.rec-name,
.cc-title {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.campaign-row-brand,
.clip-platform,
.rec-brand,
.cc-brand {
  color: var(--oc-text-dim);
  font-size: 12px;
}

.campaign-row-stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: var(--oc-text-muted);
  font-size: 12px;
}

.stat-mini.earned,
.earned-val {
  color: #9cc5ff;
  font-weight: 800;
}

.prog-track,
.progress-track {
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: #112442;
}

.prog-fill,
.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: #1a56db;
}

.table-card {
  overflow: hidden;
  margin-bottom: 24px;
}

.table-title-row {
  padding: 18px 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  padding: 12px 20px;
  background: #0e2342;
  color: var(--oc-text-dim);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-align: left;
  text-transform: uppercase;
}

td {
  padding: 16px 20px;
  border-top: .5px solid var(--oc-border);
  color: var(--oc-text-body);
  font-size: 13px;
}

.clip-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

td .clip-thumb {
  width: 44px;
  height: 30px;
  background: #102447;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.badge-active,
.badge-approved {
  border: .5px solid var(--oc-green-border);
  background: var(--oc-green-bg);
  color: #35d08a;
}

.badge-pending {
  border: .5px solid #7c3d16;
  background: #251506;
  color: var(--oc-orange);
}

.badge-ended,
.badge-rejected {
  border: .5px solid rgba(248, 113, 113, .35);
  background: rgba(248, 113, 113, .08);
  color: var(--oc-red);
}

.recommended-head {
  margin: 6px 0 14px;
}

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

.rec-card {
  padding: 18px;
}

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

.rec-thumb {
  width: 40px;
  height: 40px;
}

.rec-rate {
  margin-top: 18px;
  color: var(--oc-accent-lite);
  font-size: 22px;
  font-weight: 800;
}

.rec-rate span,
.row-copy {
  color: var(--oc-text-dim);
  font-size: 12px;
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 32px;
  margin-top: 12px;
  border-radius: 8px;
  background: var(--oc-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.discover-head {
  margin-bottom: 22px;
}

.page-title {
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
}

.page-sub {
  margin-top: 7px;
  color: var(--oc-text-muted);
}

.filter-primary,
.filter-secondary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-primary {
  margin-top: 22px;
}

.filter-secondary {
  margin-top: 14px;
}

.filter-tab {
  min-height: 36px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border: .5px solid var(--oc-border);
  border-radius: 8px;
  background: #0a1424;
  color: var(--oc-text-muted);
  font-size: 13px;
  font-weight: 700;
}

.filter-tab.active,
.filter-tab:hover {
  border-color: var(--oc-accent);
  background: var(--oc-accent);
  color: #fff;
}

.filter-select,
.search-wrap input,
.calc-input {
  min-height: 38px;
  border: .5px solid var(--oc-border);
  border-radius: 8px;
  background: #0a1424;
  color: var(--oc-text-body);
}

.filter-select {
  padding: 0 12px;
  width: auto;
  min-width: 170px;
  flex: 0 0 auto;
}

.search-wrap {
  position: relative;
  min-width: 240px;
  flex: 1 1 300px;
  max-width: 420px;
}

.search-wrap i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--oc-text-dim);
}

.search-wrap input {
  width: 100%;
  padding: 0 12px 0 36px;
}

.results-count {
  margin-left: auto;
  color: var(--oc-text-muted);
  font-size: 13px;
}

.results-count strong {
  color: #fff;
}

.discover-layout {
  display: block;
}

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

.campaign-card {
  position: relative;
  padding: 18px;
}

/* Full-card click target → opens the campaign detail (rules + Join live there). */
.cc-open {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}
.campaign-card .cc-top,
.campaign-card .cc-rate-row,
.campaign-card .platform-pills,
.campaign-card .progress-wrap,
.campaign-card .cc-footer { position: relative; z-index: 1; pointer-events: none; }
.campaign-card { cursor: pointer; }

.cc-top {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.cc-thumb {
  width: 48px;
  height: 48px;
  font-size: 21px;
}

.cc-cat,
.campaign-cat {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #0d2142;
  color: var(--oc-accent-lite);
  font-size: 11px;
  font-weight: 800;
}

.cat-music { color: #a78bfa; }
.cat-gaming { color: #35d08a; }
.cat-sport { color: #fb923c; }
.cat-clip { color: #5b9cf6; }
.cat-lifestyle { color: #f472b6; }
.cat-tech { color: #67e8f9; }

.cc-title {
  margin-top: 8px;
  font-size: 17px;
}

.cc-rate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 15px 0 14px;
}

.cc-rate {
  color: var(--oc-accent-lite);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.cc-rate span {
  color: var(--oc-text-dim);
  font-size: 12px;
  font-weight: 600;
}

.cc-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--oc-text-muted);
  font-size: 12px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--oc-green);
}

.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.pp {
  padding: 4px 8px;
  border-radius: 999px;
  background: #0b1b32;
  color: var(--oc-text-muted);
  font-size: 11px;
}

.progress-wrap {
  margin-bottom: 14px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  color: var(--oc-text-dim);
  font-size: 12px;
}

.cc-footer,
.campaign-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: .5px solid var(--oc-border);
}

.cc-meta-row,
.campaign-footer,
.cc-clippers,
.deadline-badge,
.clippers-count {
  color: var(--oc-text-dim);
  font-size: 12px;
}

.btn-join-wrap,
.join-form {
  position: relative;
  z-index: 1;
  margin-top: 14px;
}

.join-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.btn-join-wrap .btn,
.join-form .btn {
  min-height: 36px;
}

.calc-card {
  position: sticky;
  top: 84px;
  padding: 20px;
}

.calc-card h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
}

.calc-card p {
  margin: 6px 0 16px;
  color: var(--oc-text-muted);
  font-size: 13px;
}

.calc-label {
  margin: 12px 0 6px;
  color: var(--oc-text-dim);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.calc-input {
  width: 100%;
  padding: 0 12px;
}

.calc-divider {
  height: 1px;
  margin: 16px 0;
  background: var(--oc-border);
}

.calc-result {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.calc-result span {
  color: var(--oc-text-muted);
  font-size: 12px;
}

.calc-result strong {
  color: var(--oc-accent-lite);
  font-size: 24px;
}

.public-nav-exact {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: .5px solid var(--oc-border);
  background: rgba(6, 13, 24, .88);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}

.nav-inner {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: var(--oc-text-muted);
  font-size: 14px;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  padding: 72px 0 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border: .5px solid var(--oc-border);
  border-radius: 999px;
  background: #0a1424;
  color: var(--oc-accent-lite);
  font-size: 13px;
  font-weight: 800;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--oc-green);
}

.hero-title {
  max-width: 940px;
  margin: 24px 0 0;
  color: #fff;
  font-size: 72px;
  line-height: .96;
  font-weight: 900;
}

.hero-title .accent {
  color: var(--oc-accent-lite);
}

.hero-sub {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--oc-text-muted);
  font-size: 19px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn-lg {
  min-height: 48px;
  padding: 0 22px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 60px;
  border: .5px solid var(--oc-border);
  border-radius: 12px;
  background: var(--oc-bg-surface);
  overflow: hidden;
}

.hero-stat {
  padding: 24px;
  border-right: .5px solid var(--oc-border);
}

.hero-stat:last-child {
  border-right: 0;
}

.hero-stat-val {
  color: var(--oc-accent-lite);
  font-size: 28px;
  font-weight: 900;
}

.hero-stat-label {
  margin-top: 5px;
  color: var(--oc-text-dim);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-divider {
  border-top: .5px solid var(--oc-border);
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-label {
  color: var(--oc-accent-lite);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-title {
  margin: 10px 0 0;
  color: #fff;
  font-size: 36px;
  font-weight: 900;
}

.section-desc {
  max-width: 650px;
  margin-top: 10px;
  color: var(--oc-text-muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.step-card {
  padding: 22px;
  border: .5px solid var(--oc-border);
  border-radius: 12px;
  background: var(--oc-bg-surface);
}

.step-num {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--oc-accent);
  color: #fff;
  font-weight: 900;
}

.step-card h3 {
  margin: 18px 0 8px;
  color: #fff;
}

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

.campaigns-scroll {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.landing-campaign-card {
  padding: 18px;
  border: .5px solid var(--oc-border);
  border-radius: 12px;
  background: var(--oc-bg-surface);
}

.campaign-card-top,
.campaign-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.campaign-thumb {
  width: 44px;
  height: 44px;
}

.campaign-row {
  margin-top: 18px;
  justify-content: space-between;
}

.campaign-rate {
  color: var(--oc-accent-lite);
  font-size: 22px;
  font-weight: 900;
}

.campaign-status {
  color: var(--oc-green);
  font-size: 12px;
  font-weight: 800;
}

.empty {
  color: var(--oc-text-muted);
}

@media (max-width: 1100px) {
  .metrics-grid,
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2,
  .discover-layout {
    grid-template-columns: 1fr;
  }

  .calc-card {
    position: static;
  }
}

@media (max-width: 860px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
  }

  .page-content,
  .topbar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .campaigns-grid,
  .rec-grid,
  .steps,
  .campaigns-scroll {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 46px;
  }

  .hero-stats,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    border-right: 0;
    border-bottom: .5px solid var(--oc-border);
  }

  .hero-stat:last-child {
    border-bottom: 0;
  }
}

.filter-secondary .results-count {
  flex: 0 0 auto;
}

@media (max-width: 620px) {
  .filter-select,
  .search-wrap,
  .results-count {
    width: 100%;
    max-width: none;
    flex-basis: 100%;
  }
}

/* Mobile production pass */
.table-card {
  overflow-x: auto;
}

.table-card table {
  min-width: 760px;
}

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

  .sidebar {
    border-right: 0;
    border-bottom: .5px solid var(--oc-border);
  }

  .sidebar-logo {
    padding: 16px;
  }

  .nav-section {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 10px;
    scrollbar-width: none;
  }

  .nav-section::-webkit-scrollbar {
    display: none;
  }

  .nav-heading {
    display: none;
  }

  .nav-item {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 11px;
    white-space: nowrap;
  }

  .nav-item i {
    width: auto;
  }

  .nav-item .nav-count {
    display: none;
  }

  .sidebar-section {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow-x: hidden;
    padding: 8px 10px;
    scrollbar-width: none;
  }

  .sidebar-section::-webkit-scrollbar {
    display: none;
  }

  .sidebar-label {
    display: none;
  }

  .sidebar-section .nav-item {
    width: auto;
    min-width: max-content;
    max-width: 100%;
    justify-content: flex-start;
    gap: 9px;
  }

  .sidebar-bottom {
    display: none;
  }

  .topbar {
    min-height: 60px;
    height: auto;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .topbar-left h1 {
    font-size: 17px;
  }

  .topbar-left span {
    font-size: 11px;
    line-height: 1.35;
  }

  .earnings-card {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  .earnings-val {
    font-size: 30px;
  }

  .earnings-card .btn,
  .earnings-card form,
  .earnings-card form .btn {
    width: 100%;
  }

  .chart-card,
  .campaigns-list,
  .table-card,
  .rec-card,
  .campaign-card,
  .calc-card,
  .info-card,
  .payout-box,
  .sticky-cta {
    border-radius: 10px;
  }

  .chart-inner {
    height: 190px;
    grid-template-columns: 34px 1fr;
  }

  .chart-area {
    gap: 6px;
  }

  .campaign-row-stats,
  .cc-rate-row,
  .cc-footer,
  .campaign-footer,
  .table-title-row,
  .recommended-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cc-footer .btn-join-wrap,
  .cc-footer .btn-join-wrap .btn,
  .cc-footer .btn-join-wrap form,
  .cc-footer .btn-join-wrap form .btn,
  .join-form {
    width: 100%;
  }

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

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-ctas,
  .nav-actions {
    width: 100%;
  }

  .hero-ctas .btn,
  .nav-actions .btn {
    flex: 1 1 auto;
  }

  .public-nav-exact .nav-inner {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
  }

  .public-nav-exact .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .public-nav-exact .nav-links a {
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .page-content {
    padding: 16px;
  }

  .page-title {
    font-size: 25px;
  }

  .metrics-grid {
    gap: 12px;
  }

  .metric-card,
  .campaign-card,
  .rec-card,
  .calc-card,
  .chart-card {
    padding: 16px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .section-inner {
    padding: 48px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .cc-top,
  .rec-top {
    align-items: flex-start;
  }

  .cc-title {
    font-size: 16px;
  }

  .cc-rate {
    font-size: 24px;
  }

  .sticky-cta {
    left: 10px;
    right: 10px;
    bottom: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .sticky-cta .btn {
    width: 100%;
  }

  .list-row,
  .row-copy,
  .row-title {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* =========================================================================
   Mobile app shell — fixed bottom navigation + compact sticky header.
   This block intentionally lives last so it overrides the earlier
   "stack the sidebar at the top" mobile rules with a real app pattern.
   ========================================================================= */

/* Bottom nav is mobile-only; the desktop sidebar handles navigation >860px. */
.bottom-nav { display: none; }
.topbar-brand { display: none; }
.topbar-signout { display: none; }

@media (max-width: 860px) {
  /* Hide the desktop sidebar entirely; the bottom nav replaces it. */
  .sidebar { display: none !important; }

  .app-shell {
    display: block;
    padding-bottom: 0;
  }

  /* Sticky, compact header. */
  .topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    min-height: 56px;
    height: auto;
    gap: 10px;
    padding: 9px 16px;
    background: rgba(8, 15, 28, .92);
    -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  }

  /* Hamburger is the left anchor on mobile — the wordmark + non-functional
     bell are redundant and cause the topbar to overflow, so hide them.
     Keep the sign-out button (it lives in a .topbar-signout form). */
  .topbar-brand { display: none !important; }
  .topbar-right > a.icon-btn { display: none; }
  .topbar-signout { display: inline-flex !important; }

  .topbar-left { min-width: 0; flex: 1; }

  .topbar-left h1 {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* The date / helper subline is noise on a small screen. */
  .topbar-left span { display: none; }

  .topbar-right { gap: 8px; flex: 0 0 auto; }

  /* Keep the ALPHA tooltip on-screen: full-width banner under the topbar. */
  .alpha-pop {
    position: fixed;
    top: 62px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
  }

  .topbar-signout { display: inline-flex; }

  /* Leave room for the fixed bottom bar (plus iOS safe area). */
  .page-content {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(9, 16, 30, .94);
    -webkit-backdrop-filter: saturate(150%) blur(16px); backdrop-filter: saturate(150%) blur(16px);
    border-top: .5px solid var(--oc-border);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .35);
  }

  .bottom-nav-item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 52px;
    padding: 6px 2px;
    border-radius: 12px;
    color: var(--oc-text-dim);
    font-weight: 600;
    text-decoration: none;
    transition: color .15s, background .15s;
    -webkit-tap-highlight-color: transparent;
  }

  .bottom-nav-item .bn-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    line-height: 1;
  }

  .bottom-nav-item .bn-label {
    font-size: 10.5px;
    letter-spacing: .01em;
  }

  .bottom-nav-item.active {
    color: #f8fbff;
    background: #0d2142;
  }

  .bottom-nav-item.active .bn-icon i { color: #6ea6ff; }

  .bottom-nav-item:active { background: #0d2142; }

  .bn-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
  }

  /* Touch-friendly controls: comfortable tap targets across the app. */
  .btn,
  .btn-primary,
  .btn-ghost,
  .filter-tab,
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="url"],
  select,
  textarea {
    min-height: 44px;
  }

  /* Phone KPI cards read better as a 2-up grid than one giant stack. */
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* Hide the bottom nav and mobile-only header bits on larger screens. */
@media (min-width: 861px) {
  .bottom-nav { display: none; }
  .topbar-brand,
  .topbar-signout { display: none; }
}

@media (max-width: 380px) {
  .bottom-nav-item .bn-label { font-size: 10px; }
  .metrics-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   Landing / campaigns home redesign (lp-)
   ========================================================================= */
body.landing-page { background: #06080f; }

.lp { max-width: 1300px; margin: 0 auto; padding: 0 24px 80px; }

.lp-hero { text-align: center; padding: 70px 0 52px; }

.lp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(47, 107, 255, .10);
  border: .5px solid rgba(47, 107, 255, .30);
  color: #9bc0ff; font-size: 13px; font-weight: 600;
}
.lp-badge-dot { width: 7px; height: 7px; border-radius: 999px; background: #34d399; box-shadow: 0 0 10px #34d399; }

.lp-title {
  margin: 22px 0 0; font-size: 64px; line-height: 1.04;
  font-weight: 800; letter-spacing: -.025em; color: #fff;
}
.lp-accent { color: #2f6bff; }

.lp-sub { max-width: 690px; margin: 20px auto 0; color: #9aa6bd; font-size: 18px; line-height: 1.6; }

.lp-ctas { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 12px;
  font-weight: 700; font-size: 15px; border: .5px solid transparent;
  transition: transform .15s, background .15s, border-color .15s;
}
.lp-btn-primary { background: #2f6bff; color: #fff; box-shadow: 0 10px 28px rgba(47, 107, 255, .35); }
.lp-btn-primary:hover { background: #2559e0; }
.lp-btn-ghost { background: transparent; border-color: #26324b; color: #dbe4f5; }
.lp-btn-ghost:hover { border-color: #3a4a6c; }

/* Stats band */
.lp-statsbar {
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 26px 0; margin: 6px 0 4px;
  border-top: .5px solid #161d2e; border-bottom: .5px solid #161d2e;
  background: rgba(255, 255, 255, .012);
}
.lp-stat { text-align: center; padding: 4px 16px; border-right: .5px solid #161d2e; }
.lp-stat:last-child { border-right: 0; }
.lp-stat-val { font-size: 26px; font-weight: 800; color: #fff; }
.lp-stat-label { margin-top: 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6b7689; }

/* Toolbar */
.lp-board { padding-top: 30px; }
.lp-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.lp-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-chip {
  padding: 9px 17px; border-radius: 999px; border: .5px solid #1d2840;
  color: #aeb9cd; font-size: 14px; font-weight: 600; transition: border-color .15s, color .15s, background .15s;
}
.lp-chip.active { background: #2f6bff; border-color: #2f6bff; color: #fff; }
.lp-chip:hover { border-color: #2f6bff; color: #fff; }
.lp-sort { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 10px; border: .5px solid #1d2840; color: #aeb9cd; font-size: 14px; }

/* Card grid */
.lp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.lp-card { position: relative; border: .5px solid #18202f; border-radius: 16px; overflow: hidden; background: #0b1018; transition: transform .15s, border-color .15s; }
.lp-card:hover { transform: translateY(-3px); border-color: #2a3a5c; }
.lp-stretch { position: absolute; inset: 0; z-index: 1; }

.lp-card-head { position: relative; height: 152px; display: flex; align-items: center; justify-content: center; }
.lp-card.cat-clip   .lp-card-head { background: linear-gradient(160deg, #1b3a8f, #14204a); }
.lp-card.cat-music  .lp-card-head { background: linear-gradient(160deg, #3a1b6b, #221541); }
.lp-card.cat-gaming .lp-card-head { background: linear-gradient(160deg, #14532d, #0f2a22); }
.lp-card.cat-sport  .lp-card-head { background: linear-gradient(160deg, #7a3d12, #3a2310); }
.lp-card.cat-tech   .lp-card-head { background: linear-gradient(160deg, #0e4a5a, #0c2733); }
.lp-emoji { font-size: 46px; line-height: 1; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4)); }
.lp-cat-badge { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 8px; background: rgba(5, 8, 15, .45); color: #fff; font-size: 12px; font-weight: 700; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lp-active { position: absolute; top: 15px; right: 12px; display: inline-flex; align-items: center; gap: 6px; color: #d6efdf; font-size: 12px; font-weight: 600; }
.lp-active-dot { width: 7px; height: 7px; border-radius: 999px; background: #34d399; box-shadow: 0 0 8px #34d399; }

.lp-card-body { padding: 16px; }
.lp-card-title { color: #fff; font-size: 16px; font-weight: 700; line-height: 1.3; }
.lp-rate { margin-top: 12px; color: #4f8bff; font-size: 26px; font-weight: 800; }
.lp-rate span { font-size: 14px; color: #7e8aa0; font-weight: 600; }
.lp-rate-sub { color: #6b7689; font-size: 12px; }
.lp-progress { margin-top: 14px; }
.lp-progress-track { height: 5px; border-radius: 999px; background: #172033; overflow: hidden; }
.lp-progress-fill { height: 100%; background: linear-gradient(90deg, #2f6bff, #4f8bff); border-radius: 999px; }
.lp-progress-label { margin-top: 7px; text-align: right; color: #6b7689; font-size: 12px; }
.lp-card-foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; }
.lp-platforms { display: flex; gap: 6px; }
.lp-plat { width: 24px; height: 24px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; }
.lp-plat.off { opacity: .26; filter: grayscale(.6); }
.lp-plat.tt { background: #111418; border: .5px solid #333; }
.lp-plat.ig { background: #d6326f; }
.lp-plat.yt { background: #e23b2e; }
.lp-join { position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 38px; padding: 0 20px; border-radius: 9px; background: #2f6bff; color: #fff; font-weight: 700; font-size: 14px; }
.lp-join:hover { background: #2559e0; }
.lp-empty { grid-column: 1 / -1; padding: 48px; text-align: center; color: #6b7689; border: .5px dashed #1d2840; border-radius: 16px; }

@media (max-width: 1200px) { .lp-grid { grid-template-columns: repeat(3, 1fr); } }

@media (max-width: 920px) {
  .lp-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-statsbar { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .lp-stat:nth-child(3) { border-right: 0; }
  .lp-title { font-size: 46px; }
}

@media (max-width: 560px) {
  .lp { padding: 0 16px 56px; }
  .lp-hero { padding: 40px 0 32px; }
  .lp-title { font-size: 34px; }
  .lp-sub { font-size: 15px; }
  .lp-grid { grid-template-columns: 1fr; }
  .lp-statsbar { grid-template-columns: repeat(2, 1fr); }
  .lp-stat { border-right: 0; }
  .lp-btn { flex: 1 1 auto; }
}

/* Auth "or" divider */
.auth-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--oc-text-dim, #6b7689); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.08); }

/* ============================================================
   Unify in-app campaign visuals with the landing page style
   ============================================================ */

/* Category-tinted icon tiles on campaign cards (like the landing lp-cards) */
.cc-thumb { width: 56px; height: 56px; font-size: 26px; }
.campaign-card[data-cat="clip"]   .cc-thumb { background: linear-gradient(160deg,#1b3a8f,#14204a); color:#cfe0ff; border-color:transparent; }
.campaign-card[data-cat="music"]  .cc-thumb { background: linear-gradient(160deg,#3a1b6b,#221541); color:#d9caff; border-color:transparent; }
.campaign-card[data-cat="gaming"] .cc-thumb { background: linear-gradient(160deg,#14532d,#0f2a22); color:#b6f0cf; border-color:transparent; }
.campaign-card[data-cat="sport"]  .cc-thumb { background: linear-gradient(160deg,#7a3d12,#3a2310); color:#ffd9b0; border-color:transparent; }
.campaign-card[data-cat="tech"]   .cc-thumb { background: linear-gradient(160deg,#0e4a5a,#0c2733); color:#b0e8f5; border-color:transparent; }

/* Flat, photo-free campaign-detail hero to match the landing aesthetic */
.campaign-hero { min-height: 200px; background: linear-gradient(160deg,#13213f,#0a1326); }
.campaign-hero .hero-bg { display: none; }
.campaign-hero::after { background: linear-gradient(180deg, rgba(6,13,24,.10), rgba(6,13,24,.75)); }

/* Match the landing's brighter blue for rates/CTAs already done via --oc-accent;
   nudge the campaign-card rate to the landing tone */
.cc-rate, .campaign-rate { color: #4f8bff; }

/* ===== For Brands / contact page ===== */
.brands-hero { padding-bottom: 24px; }
.brands-email { margin-top: 16px; color: #9aa6bd; font-size: 14px; }
.brands-email a { color: #6ea6ff; }
.brands-points .lp-stat-val { font-size: 18px; }
.brands-form-wrap { max-width: 640px; margin: 0 auto; }
.brand-form-card {
  margin-top: 8px; padding: 28px; border: .5px solid #18202f; border-radius: 16px;
  background: #0b1018;
}
.brand-form-card h2 { margin: 0 0 6px; color: #fff; font-size: 22px; font-weight: 800; }
.brand-form-card > p { margin: 0 0 18px; color: #9aa6bd; font-size: 14px; }
.brand-form-card .auth-form label { display: block; margin-bottom: 14px; color: #aeb9cd; font-size: 13px; }
.brand-form-card .auth-form input,
.brand-form-card .auth-form textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 10px;
  border: .5px solid #1d2840; background: #0a0f18; color: #e8f0ff; font-size: 15px;
}
.brand-form-card .auth-form input:focus,
.brand-form-card .auth-form textarea:focus { outline: none; border-color: #2f6bff; }
.brand-form-card .btn-primary { width: 100%; min-height: 48px; background: #2f6bff; color:#fff; border:0; border-radius: 12px; font-weight: 700; }
.brands-notice {
  margin-bottom: 16px; padding: 12px 16px; border-radius: 12px;
  background: rgba(47,107,255,.10); border: .5px solid rgba(47,107,255,.30); color: #cfe0ff; font-size: 14px;
}

/* Payout destination on admin withdrawal rows */
.payout-dest strong { color: #fff; }
.payout-dest { color: #cfe0ff; }
.payout-missing { color: #fb923c; }

/* ── Payout method selector ──────────────────────────────────── */
.payout-saved {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px;
  border: .5px solid var(--oc-border);
  border-radius: 12px;
  background: #0d2142;
}
.payout-saved-grid { display: flex; flex-wrap: wrap; gap: 26px; min-width: 0; }
.payout-saved-k {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--oc-text-dim);
  margin-bottom: 3px;
}
.payout-saved-v { display: block; color: #fff; font-size: 15px; word-break: break-all; }
.payout-change-btn { flex-shrink: 0; }

.payout-form { display: grid; gap: 16px; }
.payout-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.payout-opt {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--oc-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: border-color .15s, background .15s;
}
.payout-opt input { width: 18px; height: 18px; accent-color: #2f6bff; flex-shrink: 0; }
.payout-opt:hover { border-color: #2f6bff66; }
.payout-opt:has(input:checked) { border-color: #2f6bff; background: rgba(47, 107, 255, .1); }
.payout-opt-title { display: block; font-size: 15px; font-weight: 600; color: #f4f8ff; }
.payout-opt-sub { display: block; font-size: 12px; color: var(--oc-text-dim); margin-top: 1px; }
.payout-fields { display: grid; gap: 8px; }
.payout-fld-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--oc-text-dim);
}
.payout-fields input, .payout-fields select { width: 100%; }
.payout-form-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 560px) {
  .payout-opts { grid-template-columns: 1fr; }
  .payout-saved { flex-direction: column; align-items: stretch; }
  .payout-change-btn { width: 100%; }
}

/* Campaign card category emoji (match landing lp-cards) */
.cc-thumb.cc-emoji { font-size: 30px; line-height: 1; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }

/* ===== For Brands — auto-scrolling marquee strip ===== */
.brands-marquee {
  overflow: hidden;
  margin: 8px 0 4px;
  padding: 20px 0;
  border-top: .5px solid var(--oc-border);
  border-bottom: .5px solid var(--oc-border);
  background: rgba(255, 255, 255, .012);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: oc-marquee 32s linear infinite;
}
.brands-marquee:hover .marquee-track { animation-play-state: paused; }
.mq-item {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  padding: 0 34px;
  white-space: nowrap;
  border-right: .5px solid var(--oc-border);
}
.mq-item strong { color: #fff; font-size: 16px; font-weight: 800; }
.mq-item em {
  color: var(--oc-text-dim);
  font-size: 11px; font-style: normal;
  letter-spacing: .14em; text-transform: uppercase;
}
@keyframes oc-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* marquee keeps scrolling regardless of reduced-motion (decorative, requested) */

/* ===== Site footer ===== */
.site-footer { border-top: .5px solid var(--oc-border); background: #070b12; margin-top: 64px; }
.footer-inner {
  max-width: 1300px; margin: 0 auto; padding: 48px 24px 32px;
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.footer-brand { max-width: 320px; }
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { color: var(--oc-text-muted); font-size: 14px; line-height: 1.6; margin: 0; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  margin: 0 0 4px; color: var(--oc-text-dim); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
}
.footer-col a { color: var(--oc-text-body); font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1300px; margin: 0 auto; padding: 18px 24px;
  border-top: .5px solid var(--oc-border);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  color: var(--oc-text-dim); font-size: 13px;
}
.footer-made { color: var(--oc-text-dim); }

/* Legal pages */
.legal-hero { padding: 60px 0 8px; text-align: left; }
.legal-title { font-size: 40px; }
.legal-body { max-width: 760px; }
.legal-body p { color: var(--oc-text-body); font-size: 15px; line-height: 1.75; margin: 0 0 16px; }
.legal-body a { color: #6ea6ff; }

@media (max-width: 700px) {
  .footer-inner { gap: 28px; padding: 36px 16px 24px; }
  .footer-cols { gap: 32px; }
  .footer-bottom { padding: 16px; flex-direction: column; align-items: flex-start; }
}

/* ===== Launching soon page ===== */
.auth-note { margin-top: 12px; color: var(--oc-text-dim); font-size: 12px; text-align: center; }
.nickname-panel .inline-submit { display: flex; gap: 10px; max-width: 420px; }
.nickname-panel input { flex: 1; }
@media (max-width: 560px) { }

/* ===== Launching-soon ribbon on public pages ===== */
/* ===== Minimal pre-launch dashboard ===== */
.md-page { min-height: 100vh; background: #06080f; }
.md-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: .5px solid var(--oc-border);
}
.md-top-right { display: flex; align-items: center; gap: 14px; }
.md-nick { color: var(--oc-text-body); font-size: 14px; font-weight: 600; }
.md-top form { display: inline-flex; }
.md-wrap { max-width: 720px; margin: 0 auto; padding: 56px 24px; text-align: center; }
.md-title { margin: 16px 0 0; font-size: 38px; font-weight: 800; color: #fff; }
.md-sub { max-width: 540px; margin: 14px auto 0; color: #9aa6bd; font-size: 16px; line-height: 1.6; }
.md-steps { margin: 32px auto 0; max-width: 520px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.md-step {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; border: .5px solid #18202f; border-radius: 14px; background: #0b1018;
}
.md-step-num {
  width: 30px; height: 30px; flex: 0 0 auto; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #111a2b; color: #6ea6ff; font-weight: 800; font-size: 14px;
}
.md-step strong { display: block; color: #fff; font-size: 15px; }
.md-step span { color: var(--oc-text-dim); font-size: 13px; }
.md-step.done { border-color: rgba(45,186,122,.4); }
.md-step.done .md-step-num { background: rgba(45,186,122,.15); color: #34d399; }
@media (max-width: 560px) { .md-title { font-size: 30px; } }

/* Honeypot field (spam trap) — visually hidden, off-screen */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ── Account verification modal (verify.js) ───────────────────────── */
.oc-modal[hidden] { display: none; }
.oc-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.oc-modal-overlay { position: absolute; inset: 0; background: rgba(3, 6, 14, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.oc-modal-card { position: relative; width: 100%; max-width: 440px; background: #0d1422; border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); animation: ocPop .18s ease; }
@keyframes ocPop { from { transform: translateY(8px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.oc-modal-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.oc-modal-x:hover { background: rgba(255, 255, 255, .12); }
.oc-modal-card h3 { margin: 0 0 6px; font-size: 20px; color: #fff; }
.oc-modal-sub { margin: 0 0 18px; color: #9aa7bd; font-size: 13.5px; line-height: 1.6; }
.oc-modal-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #8a99b3; margin-bottom: 8px; }
.ocv-code-block { margin-bottom: 16px; }
.ocv-code-row { display: flex; gap: 10px; align-items: center; }
.ocv-code-row .code-pill { flex: 1; font-size: 18px; font-weight: 700; letter-spacing: .06em; text-align: center; padding: 12px; background: rgba(47, 107, 255, .12); border: 1px dashed rgba(47, 107, 255, .55); border-radius: 12px; color: #cfe0ff; }
.oc-modal-field { display: block; margin-bottom: 16px; }
.oc-modal-field input { width: 100%; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); color: #fff; box-sizing: border-box; }
.ocv-result { margin-bottom: 16px; padding: 11px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; }
.ocv-result[hidden] { display: none; }
.ocv-result.ok { background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .4); color: #86efac; }
.ocv-result.err { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .4); color: #fca5a5; }
.ocv-result:not(.ok):not(.err) { background: rgba(255, 255, 255, .05); color: #cbd5e1; }
.oc-modal-actions { display: flex; gap: 10px; }
.oc-modal-actions .btn { flex: 1; justify-content: center; }
.oc-verify-btn { margin-top: 10px; }
.oc-modal-field select { width: 100%; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); color: #fff; box-sizing: border-box; }
.oc-opt { color: #6b7890; font-weight: 400; text-transform: none; letter-spacing: 0; }

/* Admin review/reject + user-edit action clusters */
.review-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 230px; }
.review-actions .btn { justify-content: center; }
.reject-form { display: flex; flex-direction: column; gap: 8px; }
.reject-form input { padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); color: #fff; box-sizing: border-box; font-size: 13px; }

/* Pre-launch: blur campaign listings so visitors can't read them yet */
/* Google sign-in button icon */
.auth-google { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.g-ico { flex-shrink: 0; display: inline-block; vertical-align: middle; }
.reject-btns { display: flex; gap: 8px; }
.reject-btns .btn { flex: 1; justify-content: center; }

/* Legal pages (Privacy / Terms) */
.legal-body { max-width: 820px; margin: 0 auto; color: #c7d2e0; line-height: 1.75; font-size: 15px; }
.legal-body .legal-updated { color: #7c8aa3; font-size: 13px; margin-bottom: 22px; }
.legal-body h2 { color: #fff; font-size: 19px; margin: 30px 0 10px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.07); }
.legal-body h2:first-of-type { border-top: 0; padding-top: 0; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 20px; }
.legal-body li { margin: 0 0 8px; }
.legal-body a { color: #5b9cf6; }
.legal-body strong { color: #e7eef8; }
.legal-hero .legal-title { margin-bottom: 6px; }

/* ── Mobile slide-out navigation drawer ─────────────────────────── */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #e7eef8;
  font-size: 20px;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
}
.nav-toggle:hover { background: rgba(255, 255, 255, .1); }
.nav-toggle:active { transform: scale(.94); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex !important; }
  .sidebar {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 272px;
    max-width: 84vw;
    z-index: 300;
    transform: translateX(-105%);
    -webkit-transform: translateX(-105%);
    transition: -webkit-transform .26s cubic-bezier(.4, 0, .2, 1);
    transition: transform .26s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
    will-change: transform;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
  }
  body.nav-open .sidebar {
    transform: translateX(0);
    -webkit-transform: translateX(0);
  }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 6, 14, .62);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .26s ease, visibility .26s ease;
    z-index: 250;
  }
  body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }

  /* Drawer: undo the old horizontal-chip layout so each nav row is a
     full-width, tap-anywhere target stacked vertically. */
  .sidebar .sidebar-section,
  .sidebar .nav-section {
    display: block;
    overflow: visible;
    padding: 14px 12px 0;
  }
  .sidebar .sidebar-nav { display: grid; gap: 6px; }
  .sidebar .sidebar-label { display: block; }
  .sidebar .sidebar-section .nav-item,
  .sidebar .nav-section .nav-item,
  .sidebar .nav-item {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: none;
    flex: 0 0 auto;
    justify-content: flex-start;
    min-height: 48px;
    padding: 0 14px;
    white-space: nowrap;
  }
}
@media (min-width: 861px) {
  .nav-toggle,
  .nav-overlay { display: none !important; }
}

/* Multi-platform campaign checkboxes + badges */
.plat-checks { display: flex; flex-wrap: wrap; gap: 10px; }
.plat-check { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; cursor: pointer; -webkit-user-select: none; user-select: none; }
.plat-check input { width: 16px; height: 16px; accent-color: #2f6bff; }
.plat-badge { display: inline-flex; align-items: center; gap: 5px; margin-right: 8px; }

/* ── Alpha release badge ─────────────────────────────────────── */
.alpha-badge { position: relative; display: inline-flex; }
.alpha-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #fbbf24; background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .4); padding: 5px 11px; border-radius: 20px; cursor: default; white-space: nowrap; }
.alpha-pop { position: absolute; top: calc(100% + 10px); right: 0; width: 290px; max-width: 80vw; background: #2a1505; border: 1px solid rgba(251, 191, 36, .3); border-radius: 14px; padding: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; z-index: 400; }
.alpha-badge:hover .alpha-pop, .alpha-badge:focus-within .alpha-pop { opacity: 1; visibility: visible; transform: none; }
.alpha-pop-title { display: flex; align-items: center; gap: 7px; font-weight: 700; color: #fbbf24; margin-bottom: 6px; font-size: 14px; }
.alpha-pop p { margin: 0; font-size: 12.5px; line-height: 1.55; color: #e9d9b8; }

/* On mobile the badge sits mid-topbar, so an anchored popup overflows the
   right edge. Pin it as a full-width banner under the topbar. This must come
   AFTER the base .alpha-pop rule to win by source order. */
@media (max-width: 860px) {
  .alpha-pop {
    position: fixed;
    top: 60px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
  }
}

/* Landing logo */
.lp-logo { display: block; margin: 0 auto 18px; border-radius: 24px; }

/* Brand logo mark in the top-left nav */
.nav-logo-img { width: 38px; height: 38px; border-radius: 9px; vertical-align: middle; margin-right: 0; display: inline-block; flex-shrink: 0; }
.nav-logo { display: inline-flex; align-items: center; }
/* When the real logo image is shown, drop the decorative dot. */
.nav-logo:has(.nav-logo-img)::before { display: none !important; }

/* Forced verification onboarding banner */
.verify-gate-banner { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, rgba(47,107,255,.16), rgba(47,107,255,.06)); border: 1px solid rgba(47,107,255,.4); border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; }
.verify-gate-banner i { font-size: 26px; color: #5b9cf6; flex-shrink: 0; }
.verify-gate-banner strong { display: block; color: #fff; font-size: 15px; }
.verify-gate-banner span { color: #aebbd0; font-size: 13px; }

/* Prevent accidental horizontal scroll / page shift (mobile swipe) */
/* overflow-x: clip (not hidden) prevents the mobile horizontal shift WITHOUT
   turning the root into a scroll container — which would break the sticky
   desktop sidebar. */
html, body { overflow-x: clip; max-width: 100%; }
/* Campaign card: "view" affordance + example video */
.cc-view { color: #5b9cf6; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 5px; }
.example-video { width: 100%; border-radius: 14px; margin-top: 10px; background: #000; max-height: 520px; display: block; }
.adv-camp-row { text-decoration: none; color: inherit; cursor: pointer; }
.adv-camp-row:hover { background: rgba(255,255,255,.03); }

/* Campaign join hint (tells the clipper exactly what to do) */
.join-hint { display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; font-size: 13px; line-height: 1.5; }
.join-hint i { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.join-hint strong { display: block; margin-bottom: 2px; }
.join-hint span { color: #aebbd0; }
.join-hint.warn { background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.35); }
.join-hint.warn i { color: #fbbf24; }
.join-hint.warn strong { color: #fde68a; }
.join-hint.ok { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.35); }
.join-hint.ok i { color: #34d399; }
.join-hint.ok strong { color: #86efac; }

/* ── Live Support page ───────────────────────────────────────── */
.support-wrap { display: flex; justify-content: center; align-items: flex-start; padding: 28px 16px 70px; }
.support-card { width: 100%; max-width: 560px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px; padding: 34px 30px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.support-head { text-align: center; margin-bottom: 24px; }
.support-icon { width: 58px; height: 58px; border-radius: 16px; background: rgba(47, 107, 255, .14); color: #5b9cf6; display: inline-flex; align-items: center; justify-content: center; font-size: 27px; margin-bottom: 14px; }
.support-head h2 { margin: 0 0 6px; font-size: 22px; color: #fff; }
.support-head p { color: #9aa7bd; font-size: 13.5px; line-height: 1.6; max-width: 420px; margin: 0 auto; }
.support-form { display: flex; flex-direction: column; }
.support-form label { font-size: 12px; font-weight: 600; color: #8a99b3; text-transform: uppercase; letter-spacing: .04em; margin: 12px 0 6px; }
.support-form input, .support-form textarea { width: 100%; padding: 12px 14px; border-radius: 11px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); color: #fff; box-sizing: border-box; font-family: inherit; -webkit-appearance: none; appearance: none; }
.support-form input:focus, .support-form textarea:focus { border-color: rgba(47, 107, 255, .55); outline: none; }
.support-form textarea { resize: vertical; min-height: 130px; }
.support-send { width: 100%; justify-content: center; margin-top: 18px; }
.support-foot { text-align: center; margin-top: 18px; color: #8a99b3; font-size: 13px; }

/* ── Mobile: compact, single-row category filter chips ──────────── */
@media (max-width: 640px) {
  .filter-primary {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    margin-top: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-primary::-webkit-scrollbar { display: none; }
  /* Chips sized to their label, not stretched — override the 44px touch rule. */
  .filter-primary .filter-tab {
    min-height: 36px;
    padding: 0 13px;
    font-size: 13px;
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

/* ── Referral program ────────────────────────────────────────── */
.ref-hero h2 { margin-top: 0; }
.ref-share { margin-top: 16px; display: grid; gap: 12px; }
.ref-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--oc-text-dim); margin-bottom: 6px; }
.ref-linkrow { display: flex; gap: 10px; flex-wrap: wrap; }
.ref-input { flex: 1 1 260px; min-width: 0; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--oc-border); background: #0d2142; color: #e8f1ff; font-size: 14px; }
.ref-coderow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ref-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; font-weight: 700; letter-spacing: .12em; color: #7fb0ff; background: rgba(47,107,255,.12); border: 1px dashed rgba(47,107,255,.45); padding: 7px 14px; border-radius: 10px; }
.btn-copy-code { min-height: 36px; padding: 0 14px; }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--oc-text-dim); padding: 10px 12px; border-bottom: .5px solid var(--oc-border); }
.data-table td { padding: 11px 12px; border-bottom: .5px solid rgba(255,255,255,.05); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .ref-linkrow .btn { width: 100%; }
  .ref-input { flex-basis: 100%; }
}

/* ── Toast notifications ─────────────────────────────────────── */
.oc-toast {
  position: fixed; top: 18px; right: 18px; z-index: 900;
  display: flex; align-items: center; gap: 10px;
  max-width: min(420px, calc(100vw - 36px));
  padding: 13px 18px; border-radius: 13px;
  background: rgba(13, 27, 54, .97);
  border: 1px solid rgba(47, 107, 255, .45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
  color: #eaf2ff; font-size: 14px; font-weight: 500; line-height: 1.45;
  cursor: pointer;
  opacity: 0; transform: translateY(-12px);
  transition: opacity .3s ease, transform .3s ease;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.oc-toast.is-on { opacity: 1; transform: none; }
.oc-toast-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; flex-shrink: 0; }
@media (max-width: 640px) { .oc-toast { top: 12px; left: 12px; right: 12px; } }

/* ── Scroll fade-up entrances ────────────────────────────────── */
.fx-pre { opacity: 0; transform: translateY(10px); }
.fx-in { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease; }
@media (prefers-reduced-motion: reduce) { .fx-pre { opacity: 1; transform: none; } }

/* ── Empty states ────────────────────────────────────────────── */
.empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center; padding: 38px 20px;
  border: 1px dashed rgba(255, 255, 255, .14); border-radius: 14px;
  color: var(--oc-text-muted); font-size: 14px;
}
.empty::before { content: "🎬"; font-size: 26px; opacity: .8; }
.empty a { color: #7fb0ff; font-weight: 600; }

/* ── Onboarding checklist ────────────────────────────────────── */
.ob-panel { border-color: rgba(47, 107, 255, .35); background: linear-gradient(180deg, rgba(47, 107, 255, .08), rgba(255, 255, 255, .02)); }
.ob-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.ob-head h2 { margin: 0 0 4px; }
.ob-count { font-weight: 800; font-size: 15px; color: #7fb0ff; background: rgba(47, 107, 255, .14); border: 1px solid rgba(47, 107, 255, .4); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.ob-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; margin: 14px 0; }
.ob-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #2f6bff, #34d399); transition: width .4s ease; }
.ob-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ob-step { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--oc-border); background: rgba(255, 255, 255, .03); font-size: 13.5px; color: var(--oc-text-muted); transition: border-color .15s, background .15s; }
.ob-step:hover { border-color: #2f6bff88; color: #fff; }
.ob-step.is-done { color: #9fe8c8; border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .07); }
.ob-check { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, .08); flex-shrink: 0; }
.ob-step.is-done .ob-check { background: #34d399; color: #04120c; }
@media (max-width: 800px) { .ob-steps { grid-template-columns: repeat(2, 1fr); } }

/* ── Min-withdrawal progress ─────────────────────────────────── */
.min-progress { margin: 4px 0 18px; padding: 16px 18px; border: .5px solid var(--oc-border); border-radius: 14px; background: var(--oc-bg-surface); }
.min-progress-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--oc-text-muted); }
.min-progress-head b { color: #fff; }
.min-progress-note { font-size: 12.5px; color: var(--oc-text-dim); margin-top: 2px; }

/* ── Clip status timeline ────────────────────────────────────── */
.clip-tl { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 8px 0 6px; }
.tl-step { font-size: 11.5px; font-weight: 600; color: var(--oc-text-dim); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tl-step.is-done { color: #9fe8c8; border-color: rgba(52, 211, 153, .4); background: rgba(52, 211, 153, .08); }
.tl-step.is-now { color: #7fb0ff; border-color: rgba(47, 107, 255, .5); background: rgba(47, 107, 255, .1); animation: tl-pulse 2s infinite; }
.tl-step.is-bad { color: #fda4af; border-color: rgba(251, 113, 133, .45); background: rgba(251, 113, 133, .08); }
.tl-sep { width: 12px; height: 1px; background: rgba(255, 255, 255, .18); flex-shrink: 0; }
@keyframes tl-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(47,107,255,.35); } 50% { box-shadow: 0 0 0 4px rgba(47,107,255,.08); } }

/* ── Design polish: unified buttons + micro-interactions ────── */
.btn, .btn-primary, .btn-ghost, .btn-sm, .btn-withdraw, .nav-item, .filter-tab {
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary, .btn-withdraw {
  background: linear-gradient(135deg, #2f6bff, #4f8cff);
  border-color: transparent;
}
.btn-primary:hover, .btn-withdraw:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(47, 107, 255, .38);
}
.btn:active, .btn-primary:active, .btn-ghost:active, .btn-sm:active, .btn-withdraw:active {
  transform: scale(.97);
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: rgba(47, 107, 255, .6) !important;
  box-shadow: 0 0 0 3px rgba(47, 107, 255, .15);
}
a:focus-visible, button:focus-visible { outline: 2px solid rgba(47,107,255,.55); outline-offset: 2px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn-primary, .btn-ghost, .btn-sm, .btn-withdraw { transition: none; }
}

/* ── Admin: today strip + search bar ─────────────────────────── */
.today-strip {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px;
  padding: 13px 18px; margin-bottom: 18px;
  border: .5px solid rgba(251, 191, 36, .3); border-radius: 13px;
  background: linear-gradient(90deg, rgba(251, 191, 36, .07), rgba(255, 255, 255, .02));
  font-size: 13.5px; color: var(--oc-text-muted);
}
.today-label { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #fbbf24; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; }
.today-item b { color: #fff; font-size: 15px; margin-right: 4px; }
.admin-search { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 16px; }
.admin-search .search-wrap { flex: 1 1 260px; }

/* ── Referral banner (dashboard) ─────────────────────────────── */
.ref-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 15px 18px; margin-bottom: 18px;
  border: .5px solid rgba(52, 211, 153, .3); border-radius: 14px;
  background: linear-gradient(90deg, rgba(52, 211, 153, .08), rgba(47, 107, 255, .06));
}
.ref-banner-text { display: grid; gap: 2px; font-size: 14px; }
.ref-banner-text b { color: #d7ffef; }
.ref-banner-text span { color: var(--oc-text-muted); font-size: 13px; }
.ref-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .ref-banner-actions { width: 100%; } .ref-banner-actions .btn { flex: 1; } }

/* ── Fraud flags in admin review ─────────────────────────────── */
.fraud-panel { border-color: rgba(251, 113, 133, .35); }
.fraud-row { border-left: 3px solid #fb7185; border-radius: 10px; }
.fraud-score { color: #fda4af; font-weight: 700; }
.fraud-flags { color: #fbbf24; }

/* Empty-state look is for block placeholders only — inside admin tables keep
   a plain table cell (flex+emoji breaks <td> layout). */
td.empty { display: table-cell; padding: 18px 12px; border: 0; text-align: center; }
td.empty::before { content: none; }

/* ── Email-verify banner ─────────────────────────────────────── */
.verify-mail-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 13px 18px; margin-bottom: 16px; font-size: 14px;
  border: .5px solid rgba(251, 191, 36, .35); border-radius: 13px;
  background: rgba(251, 191, 36, .07); color: var(--oc-text-muted);
}
.verify-mail-banner b { color: #fff; }

/* Real logo in sidebar/auth brand marks */
.sidebar-logo { display: flex; align-items: center; gap: 10px; }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; }



/* ═══════════════════════════════════════════════════════════════
   CALM SKIN · v5 (approved concept, artifact c0a47eb4)
   Append-only layer. Rule set: ≤3 accents per screen; one colour =
   one meaning (green money / orange waiting / red rejected); air and
   1px lines instead of glows, gradients and shadows.
   Remove this whole block to roll back.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --calm-raise: #111A2B;
  --calm-mono: ui-monospace, "Cascadia Code", SFMono-Regular, Menlo, Consolas, monospace;
  --calm-ok: #2DBA7A;
}

/* ── Kill decorative noise from earlier layers ── */
.app-shell { background: var(--oc-bg-deep); }
.btn-primary, .btn-withdraw {
  background: var(--oc-accent);
  border-radius: 11px;
  box-shadow: none;
}
.btn-primary:hover, .btn-withdraw:hover {
  background: #3E78FF;
  transform: none;
  box-shadow: none;
}
.btn-primary:active, .btn-withdraw:active { transform: scale(.97); }
.panel, .metric, .chart-card, .campaigns-list, .campaign-card, .calc-card, .rec-card {
  box-shadow: none;
  border-radius: 16px;
  border: 1px solid var(--oc-border);
}
.ob-panel, .ref-banner, .today-strip {
  background: var(--calm-raise);
  border: 1px solid var(--oc-border);
  box-shadow: none;
}
.ob-bar-fill { background: var(--oc-accent); }
.verify-mail-banner { background: var(--calm-raise); box-shadow: none; }

/* ── Sidebar / topbar: flat calm ── */
.sidebar {
  background: var(--oc-bg-surface);
  border-right: 1px solid var(--oc-border);
  box-shadow: none;
}
.topbar {
  background: var(--oc-bg-surface);
  border-bottom: 1px solid var(--oc-border);
  box-shadow: none;
}
.nav-item {
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--oc-text-dim);
  box-shadow: none;
  transition: background .15s ease, color .15s ease;
}
.nav-item:hover { background: transparent; color: var(--oc-text-primary); border-color: transparent; transform: none; }
.nav-item.active, .nav-item.is-active {
  background: var(--calm-raise);
  border-color: var(--oc-border);
  color: var(--oc-text-primary);
  box-shadow: none;
}
.sidebar .nav-item.active::before, .sidebar .nav-item.is-active::before {
  content: "";
  position: absolute;
  left: -1px; top: 26%; bottom: 26%; width: 2px;
  border-radius: 3px;
  background: var(--oc-accent);
  box-shadow: none;
}
.nav-item { position: relative; }
.nav-count {
  background: var(--calm-raise);
  border: 1px solid var(--oc-border);
  color: var(--oc-text-muted);
  font-weight: 700;
}
.balance-pill {
  background: var(--calm-raise);
  border: 1px solid var(--oc-border);
  border-radius: 12px;
  box-shadow: none;
}
.alpha-pill { background: transparent; box-shadow: none; }

/* ── Money: mono + green (one colour = one meaning) ── */
.balance-pill-val, .earnings-val, .earned-val, .earnv,
.payout-item-val, .clip-earned {
  font-family: var(--calm-mono);
  color: var(--calm-ok) !important;
  font-weight: 600;
  letter-spacing: -.01em;
}
.metric-value { font-family: var(--calm-mono); font-weight: 600; letter-spacing: -.02em; }

/* ── Status pills → flat dot+text ── */
.badge, .badge-status {
  background: transparent;
  border: 0;
  padding: 0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.badge::before, .badge-status::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* ── Mobile: flat tab bar, active tab is simply lighter ── */
@media (max-width: 860px) {
  .bottom-nav {
    left: 0; right: 0; bottom: 0;
    border-radius: 0;
    border: 0;
    border-top: 1px solid var(--oc-border);
    background: var(--oc-bg-surface);
    -webkit-backdrop-filter: none; backdrop-filter: none;
    box-shadow: none;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  }
  .bottom-nav-item {
    border-radius: 10px;
    border: 0;
    color: var(--oc-text-dim);
    transition: color .15s ease;
  }
  .bottom-nav-item:active { transform: none; background: transparent; }
  .bottom-nav-item.active {
    background: transparent;
    border: 0;
    color: var(--oc-text-primary);
    box-shadow: none;
  }
  .bottom-nav-item.active .bn-icon { transform: none; }
  .bottom-nav-item.active .bn-icon i { color: var(--oc-text-primary); filter: none; }
  .bn-badge {
    background: #F87171;
    box-shadow: none;
  }
  .page-content { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .sidebar { border-radius: 0 18px 18px 0; }
  .nav-overlay { background: rgba(3, 5, 10, .6); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ── Toast: calm — bottom-centre, flat raise card ── */
.oc-toast {
  top: auto; right: auto;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--calm-raise);
  border: 1px solid var(--oc-border);
  box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.oc-toast.is-on { transform: translateX(-50%) translateY(0); }
.oc-toast-dot { background: var(--calm-ok); box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  .btn-primary, .btn-withdraw, .nav-item, .bottom-nav-item { transition: none; }
}

/* ── CALM dashboard components ── */
.calm-cards { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; margin-bottom: 18px; }
@media (max-width: 820px) { .calm-cards { grid-template-columns: 1fr; } }
.cbx { padding: 20px 22px; position: relative; }
.cbx-k { font-size: 11px; font-weight: 600; color: var(--oc-text-dim); }
.cbx-v { font-family: var(--calm-mono); font-size: 28px; font-weight: 600; margin-top: 8px; letter-spacing: -.02em; }
.cbx-money { color: var(--calm-ok); font-size: 36px; }
.cbx-n { font-size: 12px; color: var(--oc-text-dim); margin-top: 6px; }
.cbx-act { margin-top: 14px; }
.calm-phead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.calm-phead h2 { margin: 0; }
.calm-lrow { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--oc-border); flex-wrap: wrap; }
.calm-lrow:first-of-type { border-top: 0; }
.calm-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.calm-prg { font-family: var(--calm-mono); font-size: 11px; color: var(--oc-text-dim); white-space: nowrap; }
.calm-track { height: 3px; width: 130px; border-radius: 99px; background: var(--calm-raise); overflow: hidden; }
.calm-fill { height: 100%; background: var(--oc-accent); }
@media (max-width: 640px) { .calm-track { width: 90px; } }

/* CALM dashboard: unified composition extras */
.calm-cards.four { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
@media (max-width: 1020px) { .calm-cards.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .calm-cards.four { grid-template-columns: 1fr; } }
.calm-duo { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; margin-bottom: 18px; }
@media (max-width: 980px) { .calm-duo { grid-template-columns: 1fr; } }
.calm-subhead { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--oc-text-dim); margin: 18px 0 4px; padding-top: 14px; border-top: 1px solid var(--oc-border); }
.rate-pill { font-family: var(--calm-mono); font-size: 12.5px; font-weight: 700; color: var(--calm-ok); white-space: nowrap; }
.btn-sm-join { min-height: 34px; padding: 0 14px; font-size: 12.5px; }
.quiet-link { color: var(--oc-text-dim); }
.quiet-link:hover { color: var(--oc-text-primary); }
.calm-refline { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding: 13px 18px; border: 1px solid var(--oc-border); border-radius: 12px; background: var(--oc-bg-surface); font-size: 13.5px; color: var(--oc-text-muted); }
.calm-refline b { color: var(--oc-text-primary); }
.calm-refacts { display: flex; align-items: center; gap: 12px; }
.calm-refline .btn-ghost { min-height: 34px; padding: 0 14px; font-size: 12.5px; }
/* ═══ end CALM skin ═══ */

/* Advertiser clip table: rejected rows recede but stay readable, and the
   status legend below the table. .chip is also used by the admin mini-app
   page, which had been rendering it unstyled. */
.data-table tr.row-muted td { opacity: .55; }
.data-table tr.row-muted td b { font-weight: 500; }
/* Keep the badge on one line — a wrapped status column stretches the row. */
.data-table td.col-status { white-space: nowrap; vertical-align: top; }
/* Rejection reason: full-width row under the clip, so it reads as a sentence. */
.data-table tr.row-reason td {
  padding-top: 0; border-top: 0; font-size: 12.5px;
  color: var(--oc-text-muted); white-space: normal; line-height: 1.5;
}
.data-table tr.row-reason .reason-label { color: var(--oc-red); font-weight: 600; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; margin: 0 6px 6px 0;
  border: 1px solid var(--oc-border); border-radius: 999px;
  font-size: 12px; color: var(--oc-text-muted); background: var(--oc-bg-elevated);
}

/* ── Admin review queue: campaigns as collapsible groups ── */
.camp-group {
  border: 1px solid var(--oc-border); border-radius: 12px;
  background: var(--oc-bg-surface); margin: 0 0 14px;
}
.camp-summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 14px 18px; cursor: pointer; list-style: none;
}
.camp-summary::-webkit-details-marker { display: none; }
.camp-summary::before {
  content: "▸"; color: var(--oc-text-muted); font-size: 13px;
  transition: transform .15s ease;
}
.camp-group[open] > .camp-summary::before { transform: rotate(90deg); }
.camp-group[open] > .camp-summary { border-bottom: 1px solid var(--oc-border); }
.camp-name { font-weight: 650; font-size: 15px; color: var(--oc-text-primary); }
.camp-meta { color: var(--oc-text-muted); font-size: 12.5px; }
.camp-badges { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.camp-group > .list { padding: 6px 14px 14px; }

/* Compact metric strip on each clip card */
.clip-stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 6px 0 4px; }
.clip-stat { display: inline-flex; align-items: baseline; gap: 5px;
  font-size: 12px; color: var(--oc-text-muted); text-transform: uppercase;
  letter-spacing: .04em; }
.clip-stat b { font-size: 15px; color: var(--oc-text-primary);
  font-variant-numeric: tabular-nums; letter-spacing: 0; }
.clip-payout { color: var(--oc-green); }
.admin-clip .row-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* "Needs no action" sub-group stays out of the way until asked for */
.quiet-clips { margin: 4px 14px 14px; }
.quiet-clips > summary {
  cursor: pointer; color: var(--oc-text-muted); font-size: 12.5px; padding: 6px 4px;
}
.quiet-clips[open] > summary { color: var(--oc-text-body); }

/* Paste-the-link form on the campaign page (the only place clips are submitted) */
.paste-form { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.paste-form .paste-label { font-size: 12.5px; color: var(--oc-text-muted); line-height: 1.45; }
.paste-form .paste-label b { color: var(--oc-text-body); }
.paste-form input { width: 100%; }

/* "Back to all campaigns" on the campaign page */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0 0 14px; padding: 7px 13px;
  border: 1px solid var(--oc-border); border-radius: 999px;
  color: var(--oc-text-muted); font-size: 13px; text-decoration: none;
  background: var(--oc-bg-elevated); transition: color .15s ease, border-color .15s ease;
}
.back-link:hover { color: var(--oc-text-primary); border-color: var(--oc-border-glow); }

/* ── Clipper KPI cards: badge + typographic hierarchy ──
   Same palette and same data — only scannability changes. The icon anchors
   each card, the label recedes, and the number becomes the focal point. */
.cbx { padding: 22px 24px; }
.cbx-icon { position: absolute; top: 18px; right: 18px; }
.cbx-k {
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--oc-text-muted); padding-right: 44px;
}
.cbx-v { font-size: 32px; margin-top: 10px; font-variant-numeric: tabular-nums; }
.cbx-money { font-size: 38px; }
.cbx-n { margin-top: 7px; line-height: 1.45; }

/* ── Advertiser clip table on phones ──
   Eight columns can't fit 375px: the metrics scrolled off-screen behind a
   scrollbar nobody sees, and the rejection reason was clipped mid-sentence.
   Below 760px each row becomes a card and the metrics a labelled strip. */
@media (max-width: 760px) {
  .adv-table, .adv-table tbody, .adv-table tr, .adv-table td { display: block; width: 100%; }
  .adv-table thead { display: none; }
  .adv-table tr {
    border: 1px solid var(--oc-border); border-radius: 10px;
    padding: 12px 14px; margin: 0 0 10px;
  }
  .adv-table td { border: 0; padding: 2px 0; }
  .adv-table td.col-status { padding-bottom: 6px; }
  /* Metrics sit side by side as a compact strip, label above value */
  .adv-table td[data-label] {
    display: inline-block; width: auto; min-width: 62px;
    margin: 8px 14px 0 0; padding: 0;
  }
  .adv-table td[data-label]::before {
    content: attr(data-label); display: block;
    font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
    color: var(--oc-text-muted); margin-bottom: 2px;
  }
  .adv-table td[data-label] b { font-size: 15px; }
  /* The reason row is already its own line — just let it wrap freely */
  .adv-table tr.row-reason { border-top: 0; margin-top: -12px; padding-top: 0; }
  .adv-table tr.row-reason td { white-space: normal; }
  .adv-table td.col-video a { word-break: break-all; }
}

/* Collapsed spam bucket on the admin brand-inquiries page. */
.spam-inbox {
  margin-top: 22px;
  border: 1px solid var(--oc-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.spam-inbox > summary {
  cursor: pointer;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--oc-text-muted);
  list-style: none;
}
.spam-inbox > summary::-webkit-details-marker { display: none; }
.spam-inbox > summary::before { content: "\25B8  "; }
.spam-inbox[open] > summary::before { content: "\25BE  "; }
.spam-inbox > summary:hover { color: var(--oc-text-primary); }
.spam-inbox .list { padding: 0 12px 12px; opacity: 0.72; }

/* Campaign card thumbnail showing the advertiser's uploaded cover.
   Pairs with .cc-thumb sizing above; the emoji variant is the fallback. */
.cc-thumb.cc-cover {
  padding: 0;
  overflow: hidden;
  background: var(--oc-bg-elevated);
  border-radius: 12px;
}
.cc-thumb.cc-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* The campaign hero cover was hidden during the layout rework; bring it back.
   The ::after gradient above it keeps the title readable. */
.campaign-hero .hero-bg { display: block; }

/* Campaign hero cover, restored to visible.
   Covers are often brand-guideline sheets carrying their own baked-in text, so
   the artwork is dimmed and the scrim is weighted to the left, where the title
   and brand line sit. The art reads as atmosphere; the copy stays legible. */
.campaign-hero .hero-bg { display: block; opacity: .22; }
.campaign-hero::after {
  background:
    linear-gradient(100deg, rgba(6, 13, 24, .94) 0%, rgba(6, 13, 24, .78) 42%, rgba(6, 13, 24, .58) 100%),
    linear-gradient(180deg, rgba(6, 13, 24, .30), rgba(6, 13, 24, .92));
}

/* Campaign card with artwork: the cover becomes a full-bleed banner across the
   top of the card and the title sits on it. Negative margins cancel the card's
   18px padding; the card's own overflow:hidden clips the corners. */
.cc-top-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
  align-items: stretch;
  min-height: 172px;
  margin: -18px -18px 16px;
  padding: 0;
}
.cc-top-cover .cc-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Scrim so the title stays readable over any artwork, including busy covers. */
.cc-top-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(6, 13, 24, .04) 0%,
    rgba(6, 13, 24, .26) 34%,
    rgba(6, 13, 24, .88) 66%,
    rgba(6, 13, 24, .99) 100%);
}
.cc-top-cover .cc-meta {
  position: relative;
  z-index: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.cc-top-cover .cc-title { text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }

/* ===========================================================================
   Landing-page design language, carried across the app.
   The palette and 16px card radius already matched /advertisers; what differed
   were the call-to-action treatment, the green accent and the border weight.
   Kept as an override block so it can be lifted out in one piece.
   =========================================================================== */

/* Brighter green, straight from the landing's --green. */
:root {
  --oc-green: #34d399;
  --oc-green-border: #1e6a48;
}

/* Primary actions: the landing's gradient with a resting glow, instead of a
   flat fill that only lit up on hover. */
.btn-primary,
button.btn-primary,
a.btn-primary,
.lp-btn-primary,
.btn-withdraw {
  background: linear-gradient(135deg, #2f6bff, #4f8cff);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(47, 107, 255, .35);
}
.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover,
.lp-btn-primary:hover,
.btn-withdraw:hover {
  background: linear-gradient(135deg, #3f79ff, #5f98ff);
  border-color: transparent;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(47, 107, 255, .45);
}
.btn-primary:active,
button.btn-primary:active,
a.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(47, 107, 255, .3);
}

/* Secondary actions pick up the landing's translucent ghost style. */
.btn-secondary,
a.btn-secondary,
button.btn-secondary,
.btn-ghost {
  background: rgba(255, 255, 255, .05);
  border-color: var(--oc-border);
  color: var(--oc-text-primary);
}
.btn-secondary:hover,
a.btn-secondary:hover,
button.btn-secondary:hover,
.btn-ghost:hover {
  background: rgba(255, 255, 255, .09);
  border-color: var(--oc-border-glow);
}

/* Hairline borders read crisper on dark, exactly as on the landing. */
.panel, .metric, .chart-card, .campaigns-list, .campaign-card, .calc-card, .rec-card {
  border-width: .5px;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary, .btn-primary:hover, .lp-btn-primary, .btn-withdraw { transform: none; }
}

/* ===========================================================================
   /creators — the creator-side landing page.
   Reuses the .lp-* landing vocabulary; these classes cover only what that
   vocabulary has no equivalent for.
   =========================================================================== */
.creators-page { padding-bottom: 72px; }
.creators-hero { padding-bottom: 8px; }

.cr-sec { max-width: 1060px; margin: 0 auto; padding: 46px 22px 0; }
.cr-sec > h2 {
  font-size: clamp(1.4rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  text-wrap: balance;
}

.cr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 14px;
}
.cr-card {
  background: var(--oc-bg-surface);
  border: .5px solid var(--oc-border);
  border-radius: 16px;
  padding: 22px 22px 24px;
}
.cr-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--oc-text-primary);
}
.cr-card p { margin: 0; color: var(--oc-text-muted); font-size: .93rem; line-height: 1.6; }

.cr-steps { list-style: none; counter-reset: cs; padding: 0; margin: 0; display: grid; gap: 10px; }
.cr-steps li {
  counter-increment: cs;
  background: var(--oc-bg-surface);
  border: .5px solid var(--oc-border);
  border-radius: 13px;
  padding: 16px 20px 16px 58px;
  position: relative;
  color: var(--oc-text-muted);
  font-size: .94rem;
}
.cr-steps li b { color: var(--oc-text-primary); font-weight: 650; }
.cr-steps li::before {
  content: counter(cs);
  position: absolute;
  left: 20px; top: 15px;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 7px;
  background: rgba(47, 107, 255, .16);
  border: 1px solid rgba(47, 107, 255, .4);
  color: var(--oc-accent-lite);
  font-size: .78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cr-faqs { display: grid; gap: 8px; }
.cr-faq {
  background: var(--oc-bg-surface);
  border: .5px solid var(--oc-border);
  border-radius: 12px;
}
.cr-faq > summary {
  cursor: pointer;
  padding: 15px 20px;
  font-weight: 600;
  font-size: .96rem;
  color: var(--oc-text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.cr-faq > summary::-webkit-details-marker { display: none; }
.cr-faq > summary::after { content: "+"; color: var(--oc-text-dim); font-weight: 400; font-size: 1.2rem; line-height: 1; }
.cr-faq[open] > summary::after { content: "–"; }
.cr-faq > summary:hover { color: var(--oc-accent-lite); }
.cr-faq > summary:focus-visible { outline: 2px solid var(--oc-accent); outline-offset: -2px; border-radius: 12px; }
.cr-faq p { margin: 0; padding: 0 20px 17px; color: var(--oc-text-muted); font-size: .92rem; line-height: 1.62; }

.cr-cta {
  max-width: 1060px;
  margin: 54px auto 0;
  padding: 38px 22px;
  text-align: center;
  border-top: .5px solid var(--oc-border);
}
.cr-cta h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 8px; }
.cr-cta p { color: var(--oc-text-muted); margin: 0 0 20px; font-size: .95rem; }

@media (max-width: 620px) {
  .cr-sec { padding-top: 34px; }
  .cr-card { padding: 18px; }
}

/* "Who this fits" list on the vertical landing pages. */
.vert-fits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.vert-fits li {
  background: var(--oc-bg-surface);
  border: .5px solid var(--oc-border);
  border-radius: 999px;
  padding: 9px 17px;
  font-size: .91rem;
  color: var(--oc-text-body);
}

/* ===========================================================================
   /blog — guides index and article pages.
   =========================================================================== */
.bp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.bp-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--oc-bg-surface);
  border: .5px solid var(--oc-border);
  border-top: 2px solid var(--bp-lane, var(--oc-border));
  border-radius: 16px;
  padding: 22px;
  text-decoration: none;
  transition: border-color .18s, transform .18s;
}
.bp-card.bp-creators { --bp-lane: var(--oc-green); }
.bp-card.bp-brands   { --bp-lane: var(--oc-accent); }
.bp-card:hover { transform: translateY(-2px); border-color: var(--oc-border-glow); }
.bp-tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--bp-lane, var(--oc-text-dim));
}
.bp-title { font-size: 1.06rem; font-weight: 700; color: var(--oc-text-primary); letter-spacing: -.015em; line-height: 1.32; }
.bp-desc { font-size: .9rem; color: var(--oc-text-muted); line-height: 1.55; }
.bp-meta { font-size: .8rem; color: var(--oc-text-dim); margin-top: 2px; }

.bp-page { padding: 40px 0 76px; }
.bp-article { max-width: 720px; margin: 0 auto; padding: 0 22px; }
.bp-article > .bp-tag { display: block; margin-bottom: 10px; }
.bp-article.bp-creators { --bp-lane: var(--oc-green); }
.bp-back { display: inline-block; color: var(--oc-text-dim); text-decoration: none; font-size: .87rem; margin-bottom: 22px; }
.bp-back:hover { color: var(--oc-accent-lite); }
.bp-article h1 {
  font-size: clamp(1.75rem, 4.4vw, 2.4rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.12;
  margin: 0 0 10px; text-wrap: balance;
}
.bp-byline { color: var(--oc-text-dim); font-size: .87rem; margin: 0 0 30px; }
.bp-article h2 {
  font-size: 1.28rem; font-weight: 700; letter-spacing: -.02em;
  margin: 38px 0 12px; text-wrap: balance;
}
.bp-article h3 { font-size: 1.03rem; font-weight: 650; margin: 26px 0 8px; color: var(--oc-text-primary); }
.bp-article p { color: var(--oc-text-body); font-size: 1.005rem; line-height: 1.72; margin: 0 0 16px; }
.bp-article p.bp-lede { font-size: 1.1rem; color: var(--oc-text-muted); line-height: 1.66; margin-bottom: 26px; }
.bp-article b { color: var(--oc-text-primary); font-weight: 650; }
.bp-article ul { color: var(--oc-text-body); padding-left: 22px; margin: 0 0 18px; }
.bp-article ul li { margin-bottom: 9px; line-height: 1.66; }
.bp-cta { margin-top: 42px; padding-top: 28px; border-top: .5px solid var(--oc-border); }

@media (max-width: 620px) { .bp-page { padding-top: 26px; } .bp-card { padding: 18px; } }

/* ===========================================================================
   Private campaigns: figures a viewer has not been approved for.
   The server sends a placeholder, never the real number — the blur is only
   the visual treatment, so nothing leaks through the page source.
   =========================================================================== */
.oc-locked {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
  opacity: .82;
  letter-spacing: .02em;
}
.cc-private {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--oc-accent-lite);
  background: rgba(47, 107, 255, .14);
  border: 1px solid rgba(47, 107, 255, .38);
}
.locked-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  color: var(--oc-text-muted);
  font-size: .94rem;
  line-height: 1.6;
}
.locked-note i { color: var(--oc-accent-lite); margin-top: 3px; }
.criteria-card { border-color: rgba(47, 107, 255, .34); }
.criteria-card h3 { color: var(--oc-accent-lite); }

/* ===========================================================================
   Paused payout method. The option stays visible so people understand it
   exists and is coming back, rather than silently disappearing.
   =========================================================================== */
.payout-opt.is-disabled {
  opacity: .55;
  cursor: not-allowed;
  position: relative;
}
.payout-opt.is-disabled .payout-opt-title,
.payout-opt.is-disabled .payout-opt-sub { color: var(--oc-text-dim); }
.payout-opt.is-disabled input { cursor: not-allowed; }

.payout-badge-off {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--oc-orange);
  background: rgba(251, 146, 60, .13);
  border: 1px solid rgba(251, 146, 60, .36);
  white-space: nowrap;
  vertical-align: middle;
}

.payout-paused {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 0 0 18px;
  padding: 13px 16px;
  border-radius: 11px;
  background: rgba(251, 146, 60, .08);
  border: 1px solid rgba(251, 146, 60, .3);
  color: var(--oc-text-muted);
  font-size: .92rem;
  line-height: 1.58;
}
.payout-paused i { color: var(--oc-orange); margin-top: 3px; flex: none; }
.payout-paused b { color: var(--oc-text-primary); font-weight: 650; }

/* Account closure: set apart from ordinary settings so it is never a stray click. */
.danger-zone { border-color: rgba(248, 113, 113, .26); }
.danger-zone h2 { color: var(--oc-red); }
.danger-link,
a.danger-link {
  border-color: rgba(248, 113, 113, .38);
  color: var(--oc-red);
  background: rgba(248, 113, 113, .07);
}
.danger-link:hover,
a.danger-link:hover {
  border-color: var(--oc-red);
  color: #fff;
  background: rgba(248, 113, 113, .18);
}
.btn-danger,
button.btn-danger {
  background: linear-gradient(135deg, #e14b4b, #f87171);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(225, 75, 75, .3);
}
.btn-danger:hover,
button.btn-danger:hover {
  background: linear-gradient(135deg, #ef5a5a, #fb8787);
  color: #fff;
  box-shadow: 0 12px 30px rgba(225, 75, 75, .4);
}

/* "My clips": one collapsible group per campaign, replacing the flat list. */
.my-camp-card {
  background: var(--oc-bg-surface);
  border: .5px solid var(--oc-border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.my-camp-card > .camp-summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.my-camp-card > .camp-summary::-webkit-details-marker { display: none; }
.my-camp-card > .camp-summary::before {
  content: "\25B8";
  color: var(--oc-text-dim);
  flex: none;
  transition: transform .15s;
}
.my-camp-card[open] > .camp-summary::before { content: "\25BE"; }
.my-camp-card > .camp-summary:hover .camp-name { color: var(--oc-accent-lite); }
.my-camp-card .camp-name {
  font-weight: 650;
  font-size: 1rem;
  color: var(--oc-text-primary);
  letter-spacing: -.01em;
}
.my-camp-card .camp-meta {
  color: var(--oc-text-muted);
  font-size: .86rem;
  font-variant-numeric: tabular-nums;
}
.my-camp-card .camp-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.my-camp-card > .list { padding: 0 20px; }
.camp-actions {
  padding: 14px 20px 18px;
  border-top: .5px solid var(--oc-border);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.chip-warn {
  background: rgba(251, 146, 60, .13);
  color: var(--oc-orange);
  border: 1px solid rgba(251, 146, 60, .34);
}
.chip-bad {
  background: rgba(248, 113, 113, .12);
  color: var(--oc-red);
  border: 1px solid rgba(248, 113, 113, .32);
}

@media (max-width: 620px) {
  .my-camp-card > .camp-summary { padding: 14px 16px; }
  .my-camp-card .camp-badges { margin-left: 0; width: 100%; }
  .my-camp-card > .list { padding: 0 14px; }
}

/* Inline icons used on the public pages, so those pages do not have to pull the
   200KB icon webfont just to draw a padlock and a chevron. */
.oc-ico { display: inline-block; vertical-align: -3px; flex: none; }

/* Creator landing: lead-in and closing notes around a card grid, and the
   guide list that links out to the long-form articles. */
.cr-sec .cr-lead { max-width: 68ch; margin: 0 0 22px; color: var(--oc-text-dim, #9aa4b2); font-size: 15px; line-height: 1.65; }
.cr-sec .cr-note { max-width: 68ch; margin: 18px 0 0; color: var(--oc-text-dim, #9aa4b2); font-size: 14px; line-height: 1.6; }
.cr-guides { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cr-guides li { border: .5px solid rgba(255,255,255,.10); border-radius: 12px; padding: 14px 16px; background: rgba(255,255,255,.02); }
.cr-guides a { display: block; font-weight: 600; color: var(--oc-text, #e7ecf3); text-decoration: none; }
.cr-guides a:hover { color: var(--oc-green, #34d399); }
.cr-guides span { display: block; margin-top: 4px; color: var(--oc-text-dim, #9aa4b2); font-size: 14px; line-height: 1.55; }

/* Industry links on the home page — the same six niche pages the brand hub
   links to, so both audiences reach them from wherever they land. */
.cr-industries { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.cr-industry { display: inline-block; padding: 10px 16px; border: .5px solid rgba(255,255,255,.12);
  border-radius: 999px; background: rgba(255,255,255,.02); color: var(--oc-text, #e7ecf3);
  text-decoration: none; font-size: 14px; font-weight: 500; }
.cr-industry:hover { border-color: rgba(52,211,153,.5); color: var(--oc-green, #34d399); }

/* Related guides at the foot of an article — same card treatment as the guide
   lists on the landing pages. */
.bp-related { margin: 40px 0 28px; }
.bp-related h2 { font-size: 20px; margin: 0 0 14px; }

/* What an application recording has to show. Lives in the page, not in the
   per-campaign criteria field, because the requirement is the same for every
   approval campaign and a field in the database can be blanked by an edit. */
.rec-req { border: .5px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03);
  border-radius: 12px; padding: 13px 15px; margin: 0 0 12px; font-size: 13.5px; line-height: 1.55; }
.rec-req strong { display: block; color: #e7ecf3; margin-bottom: 8px; font-weight: 600; }
.rec-req ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.rec-req li { position: relative; padding-left: 22px; color: #d6deea; }
.rec-req li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: #34d399; font-weight: 700; }
.rec-req-why { display: block; margin-top: 10px; color: #8d9bb0; font-size: 12.5px; }
