/* EARN — Stitch redesign layer (tokens from Zavex Earn Partner Portal 2026) */

:root {
  --stitch-surface: #07060b;
  --stitch-elevated: #120f1d;
  --stitch-card: #0f0c18;
  --stitch-card-alt: #181426;
  --stitch-border: rgba(124, 58, 237, 0.22);
  --stitch-border-gold: rgba(201, 169, 98, 0.35);
  --stitch-purple: #7c3aed;
  --stitch-purple-glow: #a855f7;
  --stitch-gold: #c9a962;
  --stitch-gold-light: #dfc488;
  --stitch-muted: #9c94b3;
  --font-headline: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sidebar-w: 16rem;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  font-size: 1.25rem;
}
.material-symbols-outlined.is-filled {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

body.earn-stitch,
body.earn-app.earn-stitch,
body.earn-body.earn-stitch {
  background: var(--stitch-surface);
  color: #f3f0fa;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
}

.earn-stitch .earn-banner-earn,
.earn-stitch .earn-hx-title,
.earn-stitch .earn-h2,
.earn-stitch h1,
.earn-stitch h2,
.earn-stitch h3,
.earn-stitch .earn-metric-value,
.earn-stitch .earn-stitch-headline,
.earn-stitch .earn-stitch-brand__title {
  font-family: var(--font-headline);
  font-weight: 600;
}

.earn-stitch .earn-btn,
.earn-stitch .earn-pub-nav,
.earn-stitch .earn-pub-nav a,
.earn-stitch .earn-sidebar-nav,
.earn-stitch .earn-sidebar-link,
.earn-stitch label,
.earn-stitch input,
.earn-stitch select,
.earn-stitch textarea,
.earn-stitch .earn-field,
.earn-stitch .earn-hx-kicker,
.earn-stitch .earn-hx-pill,
.earn-stitch .earn-hx-product-slide,
.earn-stitch .earn-hx-trust,
.earn-stitch .earn-fx-eyebrow,
.earn-stitch .earn-stitch-brand__sub,
.earn-stitch .earn-table,
.earn-stitch .earn-badge,
.earn-stitch .earn-header,
.earn-stitch button {
  font-family: var(--font-body);
}

/* ── Public header (landing) ── */
.earn-stitch .earn-pub-header-shell {
  background: rgba(7, 6, 11, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stitch-border);
}
.earn-stitch .earn-pub-brand-title {
  font-family: var(--font-headline);
  color: var(--stitch-gold);
  font-weight: 700;
}

.earn-stitch .earn-hx-title,
.earn-stitch .earn-hx-deck,
.earn-stitch .earn-fx-head h2,
.earn-stitch .earn-hx-perks h2 {
  font-family: var(--font-headline) !important;
  font-weight: 700;
}
.earn-stitch .earn-hx-lead,
.earn-stitch .earn-fx-head p,
.earn-stitch .earn-hx-perks p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 36rem;
  color: rgba(243, 240, 250, 0.88);
}
.earn-stitch .earn-pub-nav a.is-active,
.earn-stitch .earn-pub-nav a:hover {
  color: var(--stitch-gold);
}

/* ── Landing hero ── */
.earn-stitch .earn-hx--photo-bg {
  padding-top: clamp(4.25rem, 7vw, 5.25rem);
}
.earn-stitch .earn-hx:not(.earn-hx--photo-bg) {
  padding-top: 4.25rem;
}
.earn-stitch .earn-hx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--stitch-elevated);
  border: 1px solid rgba(52, 44, 79, 0.6);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stitch-gold);
}
.earn-stitch .earn-hx-kicker::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: earnStitchPulse 4s ease-in-out infinite;
}
@keyframes earnStitchPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}
.earn-stitch .earn-hx-title {
  font-size: clamp(2.25rem, 8vw, 3.35rem);
  line-height: 1.12;
  font-weight: 700;
}
.earn-stitch .earn-hx-title em {
  font-style: italic;
  background: linear-gradient(135deg, #fcebc2, #dfc07b, #c9a962);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.earn-stitch .earn-hx-lead {
  color: var(--stitch-muted);
  max-width: 36rem;
}
.earn-stitch .earn-btn-purple,
.earn-stitch .earn-btn-gold {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.earn-stitch .earn-btn-gold {
  background: linear-gradient(135deg, #dfc07b 0%, #c9a962 50%, #9f7d32 100%);
  color: #120d04;
  border: none;
  box-shadow: 0 10px 28px -8px rgba(201, 169, 98, 0.45);
}
.earn-stitch .earn-btn-ghost {
  background: rgba(18, 15, 29, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(124, 58, 237, 0.28);
}
.earn-stitch .earn-hx-ring {
  border-color: rgba(201, 169, 98, 0.22);
  background: linear-gradient(165deg, rgba(23, 16, 35, 0.85), rgba(7, 6, 11, 0.95));
}
.earn-stitch .earn-hx-girl {
  border: 1px solid var(--stitch-border-gold);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5), 0 0 25px -5px rgba(201, 169, 98, 0.2);
}
.earn-stitch .earn-hx-float {
  background: rgba(7, 6, 11, 0.88);
  backdrop-filter: blur(10px);
  border-color: var(--stitch-border);
}

/* ── App sidebar (Stitch desktop dashboard) ── */
.earn-stitch .earn-sidebar {
  width: var(--sidebar-w);
  background: var(--stitch-surface);
  border-right: 1px solid var(--stitch-border);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.35);
  padding: 1rem 0.85rem;
}
.earn-stitch-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-decoration: none;
  color: inherit;
}
.earn-stitch-brand__logo,
.earn-pub-brand__logo,
.earn-pub-footer__logo,
.earn-brand-logo {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.earn-auth-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
.earn-auth-brand__logo {
  max-height: 3.25rem;
  filter: drop-shadow(0 4px 14px rgba(124, 58, 237, 0.45));
}
.earn-stitch-brand__logo {
  max-height: 2.75rem;
  filter: drop-shadow(0 4px 12px rgba(124, 58, 237, 0.35));
}
.earn-pub-brand__logo {
  max-height: 2.875rem;
  filter: drop-shadow(0 2px 10px rgba(124, 58, 237, 0.4));
}
.earn-pub-footer__logo {
  max-height: 2rem;
  opacity: 0.95;
}
.earn-stitch-brand__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  padding: 2px;
  background: linear-gradient(135deg, var(--stitch-purple), var(--stitch-gold));
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
  flex-shrink: 0;
}
.earn-stitch-brand__icon span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: var(--stitch-surface);
  color: var(--stitch-gold);
}
.earn-stitch-brand__icon .material-symbols-outlined {
  font-size: 1.15rem;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.earn-stitch-brand__title {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stitch-gold);
  line-height: 1;
}
.earn-stitch-brand__sub {
  font-size: 0.65rem;
  color: var(--stitch-purple-glow);
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.earn-stitch-brand__sub::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--stitch-gold);
  animation: earnStitchPulse 2.4s infinite;
}
.earn-stitch .earn-sidebar-brand {
  display: none;
}
.earn-stitch .earn-sidebar-link {
  border-radius: 0.65rem;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #a3a3a3;
  border-left: 2px solid transparent;
  margin-bottom: 0.15rem;
}
.earn-stitch .earn-sidebar-link:hover {
  background: rgba(124, 58, 237, 0.12);
  color: var(--stitch-gold);
}
.earn-stitch .earn-sidebar-link.is-active {
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.28), transparent);
  color: var(--stitch-gold);
  border-left-color: var(--stitch-gold);
  font-weight: 600;
}
.earn-stitch .earn-sidebar-partner {
  border: 1px solid var(--stitch-border-gold);
  background: linear-gradient(180deg, #181229, #0c0a15);
  border-radius: 0.85rem;
}
.earn-stitch .earn-sidebar-nav {
  flex: 1;
}
.earn-stitch-tier {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(124, 58, 237, 0.15);
}
.earn-stitch-tier__card {
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, #181229, #0c0a15);
  border: 1px solid var(--stitch-border-gold);
  margin-bottom: 0.75rem;
}
.earn-stitch-tier__bar {
  height: 6px;
  border-radius: 999px;
  background: #171717;
  overflow: hidden;
  margin: 0.5rem 0;
}
.earn-stitch-tier__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--stitch-purple), var(--stitch-gold));
  border-radius: inherit;
}

/* ── Dashboard welcome (Stitch bento banner) ── */
.earn-stitch-welcome {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  padding: 1.25rem 1.15rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #1b0d2d, #100a1f 45%, #07060b);
  border: 1px solid rgba(124, 58, 237, 0.3);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .earn-stitch-welcome {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding: 1.35rem 1.5rem;
  }
}
.earn-stitch-welcome__glow-a,
.earn-stitch-welcome__glow-b {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.earn-stitch-welcome__glow-a {
  width: 20rem;
  height: 20rem;
  top: -6rem;
  left: -6rem;
  background: rgba(124, 58, 237, 0.2);
}
.earn-stitch-welcome__glow-b {
  width: 16rem;
  height: 16rem;
  bottom: -4rem;
  right: 20%;
  background: rgba(201, 169, 98, 0.1);
}
.earn-stitch-welcome__inner {
  position: relative;
  z-index: 1;
}
.earn-stitch-welcome__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(201, 169, 98, 0.1);
  border: 1px solid rgba(201, 169, 98, 0.3);
  color: var(--stitch-gold);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.earn-stitch-welcome__title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}
.earn-stitch-welcome__title em {
  font-style: italic;
  color: var(--stitch-gold);
}
.earn-stitch-welcome__lead {
  color: #d4d4d4;
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 32rem;
  margin: 0 0 1.25rem;
}
.earn-stitch-welcome__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.earn-stitch-welcome__photo {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid var(--stitch-border-gold);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.25);
  max-width: 22rem;
  justify-self: center;
}
.earn-stitch-welcome__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 72% center;
  display: block;
}

/* Hide legacy banner when stitch welcome present */
.earn-stitch-welcome + .earn-banner-legacy-hidden,
.earn-stitch .earn-banner.earn-banner--legacy {
  display: none;
}

/* ── KPI cards ── */
.earn-stitch .earn-metrics {
  gap: 1rem;
}
.earn-stitch .earn-metric-card {
  background: var(--stitch-card);
  border: 1px solid var(--stitch-border);
  border-radius: 0.85rem;
  text-align: left;
  padding: 1.25rem 1.15rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s;
}
.earn-stitch .earn-metric-card:first-child {
  border-color: var(--stitch-border-gold);
}
.earn-stitch .earn-metric-card:hover {
  border-color: rgba(124, 58, 237, 0.45);
}
.earn-stitch .earn-metric-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a3a3a3;
}
.earn-stitch .earn-metric-value {
  font-size: clamp(1.75rem, 3vw, 2.1rem);
  font-weight: 700;
  margin: 0.35rem 0;
}
.earn-stitch .earn-metric-gold,
.earn-stitch .earn-metric-card:first-child .earn-metric-value {
  color: var(--stitch-gold);
}
.earn-stitch .earn-metric-icon-wrap {
  float: right;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  background: rgba(201, 169, 98, 0.1);
  color: var(--stitch-gold);
  display: grid;
  place-items: center;
  margin-bottom: 0.5rem;
}
.earn-stitch .earn-metric-card:not(:first-child) .earn-metric-icon-wrap {
  background: rgba(124, 58, 237, 0.12);
  color: #c4b5fd;
}
.earn-stitch .earn-metric-trend {
  font-size: 0.72rem;
  color: #86efac;
}

/* ── Cards / tables ── */
.earn-stitch .earn-card {
  background: var(--stitch-card);
  border: 1px solid var(--stitch-border);
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.earn-stitch .earn-card h2 {
  font-family: var(--font-headline);
  font-weight: 600;
}
.earn-stitch .earn-table {
  font-size: 0.88rem;
}
.earn-stitch .earn-status.is-purple {
  background: rgba(124, 58, 237, 0.2);
  color: #e9d5ff;
  border: 1px solid rgba(124, 58, 237, 0.35);
}

/* ── Auth ── */
.earn-stitch .earn-auth-visual {
  background: linear-gradient(145deg, #09070f, #2e1065);
  border-right: 1px solid var(--stitch-border);
}
.earn-stitch .earn-auth-card {
  background: rgba(22, 19, 32, 0.95);
  border: 1px solid var(--stitch-border);
  border-radius: 1.25rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}
.earn-stitch .earn-auth-card h2 {
  font-family: var(--font-headline);
}
.earn-stitch .earn-auth-card input {
  background: #0d0b14;
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
}
.earn-stitch .earn-auth-card input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.35);
  border-color: rgba(201, 169, 98, 0.5);
}

/* ── Mobile bottom nav ── */
.earn-stitch .earn-mobile-nav {
  background: rgba(7, 6, 11, 0.96);
  border-top: 1px solid var(--stitch-border);
  backdrop-filter: blur(16px);
}
.earn-stitch .earn-mobile-nav-link.is-active {
  color: var(--stitch-gold);
}

.earn-stitch .earn-main-wrap {
  background: var(--stitch-surface);
}

/* ── Dashboard how-to guide ── */
.earn-guide {
  margin-bottom: 1.5rem;
}
.earn-guide-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stitch-gold);
  margin: 0 0 0.35rem;
}
.earn-guide-grid {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 288px));
  justify-content: center;
}
.earn-guide-step {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: var(--stitch-card);
  border: 1px solid var(--stitch-border);
  border-radius: 0.75rem;
  padding: 0.55rem;
  overflow: hidden;
  max-width: 288px;
  width: 100%;
  justify-self: center;
}
.earn-guide-visual {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: #07060b;
}
.earn-guide-photo {
  display: block;
  line-height: 0;
}
.earn-guide-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.earn-guide-visual--art {
  border-color: rgba(201, 169, 98, 0.35);
}
.earn-guide-visual--art .earn-guide-photo img {
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
}
.earn-guide-mock {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  max-width: 72%;
}
.earn-guide-mock-label {
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a3a3a3;
  background: rgba(7, 6, 11, 0.75);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}
.earn-guide-mock-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.5rem;
  background: rgba(7, 6, 11, 0.92);
  border: 1px solid var(--stitch-border-gold);
  color: var(--stitch-gold);
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.earn-guide-mock-nav .material-symbols-outlined {
  font-size: 1rem;
  color: var(--stitch-purple-glow);
}
.earn-guide-mock-hint {
  font-size: 0.62rem;
  color: #86efac;
  background: rgba(7, 6, 11, 0.8);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.earn-guide-num {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1rem;
  background: linear-gradient(135deg, #dfc07b, #c9a962);
  color: #120d04;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.earn-guide-copy h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-headline);
  font-size: 0.98rem;
  line-height: 1.25;
}
.earn-guide-copy p {
  margin: 0 0 0.55rem;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--stitch-muted);
}
.earn-guide-copy .earn-btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.72rem;
}
@media (min-width: 900px) {
  .earn-guide-grid {
    grid-template-columns: repeat(3, minmax(0, 288px));
  }
}

/* ── Profile (edit) page ── */
.earn-stitch .earn-profile-page {
  max-width: 1120px;
  margin: 0 auto;
}
.earn-stitch .earn-profile-hero {
  border-color: var(--stitch-border);
  background: var(--stitch-card);
}
.earn-stitch .earn-profile-hero-main {
  display: grid;
  grid-template-columns: minmax(120px, 140px) 1fr;
  gap: 1rem;
  align-items: start;
  width: 100%;
}
.earn-stitch .earn-profile-photo-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.earn-stitch .earn-profile-uploads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.earn-stitch .earn-profile-upload-btn {
  cursor: pointer;
  font-size: 0.68rem;
  padding: 0.35rem 0.5rem;
}
.earn-stitch .earn-profile-note--tight {
  margin: 0;
  font-size: 0.65rem;
}
.earn-stitch .earn-profile-hero-copy {
  min-width: 0;
}
.earn-stitch .earn-profile-kpis {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.earn-stitch .earn-profile-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.earn-stitch .earn-field input,
.earn-stitch .earn-field select,
.earn-stitch .earn-field textarea {
  background: var(--stitch-surface);
  border-color: var(--stitch-border);
  color: var(--stitch-text);
}
.earn-stitch .earn-profile-save-inline {
  margin-top: 0.85rem;
}
.earn-stitch .earn-profile-sticky-save {
  position: sticky;
  bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 0.65rem 0 0;
  margin-top: 0.5rem;
  pointer-events: none;
}
.earn-stitch .earn-profile-sticky-save .earn-btn {
  pointer-events: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  min-width: min(100%, 280px);
}
.earn-stitch .earn-settings-page {
  max-width: 520px;
}
.earn-stitch .earn-settings-head {
  margin-bottom: 1rem;
}
.earn-stitch .earn-settings-head .earn-stitch-headline {
  margin: 0 0 0.35rem;
  font-family: var(--font-headline);
  font-size: 1.5rem;
}
@media (max-width: 640px) {
  .earn-stitch .earn-profile-hero-main {
    grid-template-columns: 1fr;
  }
  .earn-stitch .earn-profile-photo {
    max-width: 140px;
  }
}

.earn-profile-posts-block {
  margin-bottom: 1.25rem;
}
.earn-profile-compose textarea {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid var(--stitch-border);
  background: #0d0b14;
  color: #f3f0fa;
  font-family: inherit;
  resize: vertical;
}
.earn-profile-post-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.earn-profile-post-item {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--stitch-border);
  background: rgba(15, 12, 24, 0.6);
}
.earn-profile-post-item time {
  font-size: 0.68rem;
  color: var(--stitch-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.earn-profile-post-item p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
}
.earn-profile-post-repost {
  display: block;
  font-size: 0.68rem;
  color: var(--stitch-purple-glow);
  margin-top: 0.15rem;
}
.earn-profile-post-empty {
  color: var(--stitch-muted);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

@media (max-width: 1080px) {
  .earn-stitch-tier {
    display: none;
  }
  .earn-stitch-brand__sub {
    display: none;
  }
  .earn-stitch-brand {
    margin-bottom: 0;
  }
  .earn-stitch-welcome__photo {
    max-width: 100%;
  }
}
