:root {
  --font-body: "Proxima Nova", "proxima-nova", Arial, sans-serif;
  --font-display: "Roca 2", "Roca", "Proxima Nova", Georgia, serif;
  --ink: #101112;
  --muted: #737b80;
  --paper: #f6fbfc;
  --panel: rgba(255, 255, 255, 0.82);
  --hop: #00d0e2;
  --brand-blue: #426ab7;
  --brand-lime: #bfe900;
  --brand-yellow: #ffd000;
  --brand-peach: #ff9355;
  --brand-orange: #ff5e00;
  --line: rgba(16, 17, 18, 0.08);
  --shadow: 0 22px 70px rgba(16, 17, 18, 0.14);
  --hero-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  padding-bottom: 118px;
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100dvh;
  min-height: 100vh;
  overflow-y: auto;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: var(--hop);
}

.auth-card {
  width: min(100%, 430px);
  display: grid;
  gap: 18px;
  margin: auto 0;
  padding: 0;
  color: white;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.auth-card h1 {
  color: white;
  line-height: 0.92;
  font-weight: 650;
  font-size: clamp(56px, 16vw, 86px);
}

.auth-logo {
  width: 156px;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 12px 26px rgba(16, 17, 18, 0.14));
}

.auth-status,
.onboarding-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.auth-card label {
  color: white;
  font-weight: 650;
}

.auth-card input {
  background: rgba(255, 255, 255, 0.92);
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(16, 17, 18, 0.08);
}

.phone-input-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.phone-input-row.phone-mode {
  grid-template-columns: minmax(106px, 0.34fr) 1fr;
}

.auth-card .phone-input-row select {
  display: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-color: transparent;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(16, 17, 18, 0.08);
}

.auth-card .phone-input-row.phone-mode select {
  display: block;
}

.auth-card .primary-button {
  color: var(--hop);
  background: white;
  box-shadow: 0 18px 38px rgba(16, 17, 18, 0.16);
  font-weight: 700;
  text-transform: none;
}

.auth-card .secondary-button {
  color: var(--hop);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(16, 17, 18, 0.1);
  font-weight: 700;
  text-transform: none;
}

.auth-card .eyebrow {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 650;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
}

.auth-tab {
  min-height: 44px;
  color: white;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
}

.auth-tab.active {
  color: var(--hop);
  background: white;
  box-shadow: 0 12px 26px rgba(16, 17, 18, 0.12);
}

.auth-status:empty {
  display: none;
}

.onboarding-card {
  min-height: 430px;
  align-content: center;
  margin: auto 0;
}

#onboardingScreen {
  place-items: center;
}

@media (max-width: 480px), (max-height: 760px) {
  .auth-screen {
    place-items: start center;
  }

  #onboardingScreen {
    place-items: center;
    align-content: center;
  }

  #onboardingScreen .auth-card {
    margin: auto 0;
  }

  .auth-card {
    gap: 12px;
    margin: 0;
    padding: 0;
  }

  .auth-card h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .auth-logo {
    width: 108px;
  }

  .auth-card .stack-form {
    gap: 9px;
  }

  .auth-card input {
    min-height: 44px;
    border-radius: 14px;
  }

  .auth-card button {
    min-height: 46px;
  }

  .onboarding-card {
    min-height: 0;
  }
}

.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: max(12px, env(safe-area-inset-top)) 14px 8px;
  background: transparent;
  transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1), opacity 460ms cubic-bezier(0.22, 1, 0.36, 1), background 320ms ease;
}

.app-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  backdrop-filter: none;
}

.app-header.header-hidden {
  opacity: 0;
  transform: translateY(-110%);
  pointer-events: none;
}

.hop-logo-img {
  display: block;
  width: 74px;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 10px 22px rgba(16, 17, 18, 0.18));
}

.brand-mark {
  display: block;
  min-width: 74px;
}

.top-profile {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: white;
  justify-content: start;
}

.profile-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--hop);
  background: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 14px 30px rgba(16, 17, 18, 0.12);
}

.top-profile strong,
.top-profile small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-profile strong {
  font-size: 14px;
  line-height: 1.05;
}

.top-profile small {
  max-width: 140px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 7px;
}

.header-icon-button,
.settings-chip {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(16, 17, 18, 0.12);
}

.alert-count {
  position: absolute;
  right: -2px;
  top: -4px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  color: #101112;
  background: white;
  border: 1px solid rgba(16, 17, 18, 0.08);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.wallet-chip {
  min-width: 66px;
  min-height: 38px;
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 6px 10px;
  color: var(--hop);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
}

.wallet-mark {
  position: relative;
  width: 27px;
  height: 25px;
  display: block;
  color: currentColor;
  filter: none;
}

.wallet-mark::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 2px;
  top: 6px;
  bottom: 4px;
  border: 2px solid currentColor;
  border-radius: 6px;
  background: transparent;
}

.wallet-mark::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 12px;
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: -10px -5px 0 -2px currentColor;
}

.wallet-chip .wallet-mark {
  margin-left: -1px;
}

.wallet-chip strong {
  font-size: 14px;
  line-height: 1;
}

.settings-chip span,
.settings-chip span::before,
.settings-chip span::after {
  display: block;
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}

.settings-chip span {
  position: relative;
}

.settings-chip span::before,
.settings-chip span::after {
  content: "";
  position: absolute;
  top: 0;
}

.settings-chip span::before {
  left: -8px;
}

.settings-chip span::after {
  right: -8px;
}

.account-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 14px;
  width: 174px;
  display: grid;
  gap: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(16, 17, 18, 0.08);
  border-radius: 18px;
  box-shadow: 0 22px 52px rgba(16, 17, 18, 0.18);
}

.account-menu button {
  min-height: 42px;
  padding: 0 12px;
  color: #101112;
  background: transparent;
  border: 0;
  border-radius: 12px;
  font-weight: 750;
  text-align: left;
}

.account-menu button:hover,
.account-menu button:focus-visible {
  background: rgba(0, 208, 226, 0.12);
}

.app-feed {
  width: min(100% - 22px, 1120px);
  margin: 0 auto;
}

.screen {
  min-height: calc(100svh - 86px);
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 10px 0 18px;
  scroll-margin-top: 70px;
}

.hero-screen {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0;
  scroll-margin-top: 0;
}

.compact-screen {
  min-height: auto;
}

.hero-media {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0;
  background:
    linear-gradient(160deg, #00d0e2 0%, #0fd8e8 48%, #00bdd0 100%);
  box-shadow: inset 0 -120px 120px rgba(16, 17, 18, 0.1);
  transform: scale(1);
  transform-origin: top center;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), border-radius 520ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, border-radius;
}

body.hero-scrolled .hero-media {
  transform: scale(0.93);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.hero-overlay {
  width: 100%;
  display: grid;
  align-content: end;
  min-height: 100svh;
  padding: 118px 18px 92px;
  color: white;
}

.hero-kicker {
  width: fit-content;
  margin: 0;
  padding: 8px 11px;
  color: white;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 16px 34px rgba(16, 17, 18, 0.08);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--hop);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: 0;
  text-transform: lowercase;
}

h1 {
  max-width: 780px;
  font-size: clamp(52px, 17vw, 92px);
  line-height: 0.9;
}

.hero-overlay h1 {
  max-width: 620px;
  color: white;
  text-shadow: 0 20px 44px rgba(16, 17, 18, 0.14);
}

h2 {
  font-size: clamp(34px, 10vw, 56px);
  line-height: 0.94;
}

.hero-overlay p:last-of-type {
  max-width: 360px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.hero-mission-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.hero-mission {
  position: relative;
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "label label"
    "title title"
    "meta meta";
  align-content: center;
  gap: 5px;
  padding: 15px 16px;
  color: white;
  text-align: left;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  box-shadow: 0 24px 56px rgba(16, 17, 18, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-mission::after {
  content: none;
}

.hero-mission:active {
  transform: scale(0.98);
}

.hero-mission span {
  grid-area: label;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.hero-mission strong {
  grid-area: title;
  font-family: var(--font-display);
  font-size: 31px;
  font-style: italic;
  font-weight: 700;
  line-height: 0.9;
}

.hero-mission small {
  grid-area: meta;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 750;
}

@media (max-width: 520px) {
  .app-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 7px;
    padding: max(10px, env(safe-area-inset-top)) 12px 8px;
  }

  .brand-mark {
    min-width: 54px;
  }

  .hop-logo-img {
    width: 54px;
  }

  .top-profile {
    min-width: 0;
    min-height: 38px;
    padding: 5px 8px 5px 5px;
    justify-content: start;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    backdrop-filter: blur(14px);
  }

  .profile-avatar {
    width: 32px;
    height: 32px;
  }

  .top-profile strong {
    max-width: 98px;
    font-size: 12px;
  }

  .top-profile small {
    max-width: 98px;
    font-size: 10px;
  }

  .header-actions {
    gap: 5px;
  }

  .header-icon-button,
  .settings-chip {
    width: 36px;
    height: 36px;
  }

  .wallet-chip {
    min-width: 56px;
    min-height: 36px;
    padding-inline: 8px;
  }

  .wallet-chip .wallet-mark {
    display: none;
  }

  .hero-overlay {
    align-content: center;
    padding: 92px 14px 88px;
  }

  .hero-overlay h1 {
    max-width: 340px;
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-overlay p:last-of-type {
    max-width: 280px;
    font-size: 16px;
  }

  .hero-mission-grid {
    margin-top: 16px;
  }

  .hero-mission {
    min-height: 68px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .hero-mission strong {
    font-size: 25px;
  }

  .hero-mission small {
    font-size: 12px;
  }

  .split-heading {
    align-items: center;
  }

  .past-action-card {
    align-items: stretch;
  }

  .past-action-side {
    min-width: 92px;
  }
}

.hero-mission.connector {
  border-top-color: rgba(255, 255, 255, 0.3);
}

.hero-mission.creator {
  border-top-color: rgba(255, 255, 255, 0.3);
}

.hero-mission.amplifier {
  border-top-color: rgba(255, 255, 255, 0.3);
}

.hero-actions,
.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.hero-actions a,
.primary-button,
.secondary-button,
.sso-button,
.bucket-tab,
.social-sync-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  font-weight: 950;
  text-decoration: none;
  text-transform: lowercase;
}

.hero-actions a:first-child,
.primary-button,
.social-sync-button {
  color: #101112;
  background: var(--hop);
}

.hero-actions a:last-child,
.secondary-button {
  color: #101112;
  background: white;
}

.hero-submit {
  box-shadow: 0 16px 34px rgba(0, 208, 226, 0.34);
}

.identity-card,
.signin-panel,
.follow-panel,
.submit-card,
.referral-card,
.wallet-card,
.glass-form,
.verification-panel,
.leader-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 16px 44px rgba(16, 17, 18, 0.08);
  backdrop-filter: blur(18px);
}

.actions-screen {
  min-height: auto;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.action-tools {
  display: flex;
  gap: 8px;
}

.profile-hub-card {
  display: grid;
  gap: 16px;
  padding: 16px;
  color: #101112;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(16, 17, 18, 0.08);
}

.profile-hub-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-avatar.large {
  width: 48px;
  height: 48px;
  box-shadow: none;
}

.profile-hub-main strong,
.profile-hub-main span,
.profile-hub-stats strong {
  display: block;
}

.profile-hub-main strong {
  font-size: 18px;
  line-height: 1.1;
}

.profile-hub-main span,
.profile-hub-stats span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.profile-hub-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.profile-hub-stats span {
  padding: 12px;
  background: rgba(0, 208, 226, 0.1);
  border-radius: 16px;
}

.profile-hub-stats strong {
  color: #101112;
  font-size: 20px;
}

.profile-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.profile-tab {
  min-height: 38px;
  color: var(--hop);
  background: transparent;
  border: 0;
  border-radius: 13px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.profile-tab.active {
  color: #101112;
  background: white;
  box-shadow: 0 8px 20px rgba(16, 17, 18, 0.08);
}

.mini-action-button {
  min-height: 38px;
  width: auto;
  padding: 0 13px;
  font-size: 12px;
}

.notification-list,
.past-action-list {
  display: grid;
  gap: 10px;
}

.wallet-mini-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  color: #101112;
  background: var(--hop);
  border-radius: 22px;
}

.wallet-mini-card span,
.wallet-mini-card strong,
.wallet-mini-card a {
  display: block;
}

.wallet-mini-card span {
  color: rgba(16, 17, 18, 0.62);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.wallet-mini-card strong {
  font-size: 28px;
  line-height: 1;
}

.wallet-mini-card a {
  color: #101112;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.submission-confirmation {
  display: grid;
  gap: 3px;
  padding: 12px 13px;
  color: #101112;
  background: rgba(191, 233, 0, 0.24);
  border: 1px solid rgba(16, 17, 18, 0.08);
  border-radius: 18px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.submission-confirmation strong {
  font-size: 14px;
}

.submission-confirmation.error {
  background: rgba(255, 94, 0, 0.16);
}

.submission-confirmation.pending {
  background: rgba(0, 208, 226, 0.16);
}

.primary-button.is-loading {
  opacity: 0.78;
}

.primary-button:disabled,
.secondary-button:disabled {
  cursor: progress;
}

.notification-card,
.past-action-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  color: #101112;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(16, 17, 18, 0.08);
}

.bucket-pill,
.status-pill {
  display: inline-block;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-card strong,
.notification-card span,
.notification-card small,
.past-action-main strong,
.past-action-main small,
.past-action-side small {
  display: block;
}

.notification-card strong,
.past-action-main strong {
  font-size: 15px;
  line-height: 1.15;
}

.notification-card span,
.past-action-main small,
.past-action-side small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.notification-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.past-action-main {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.past-action-main strong,
.past-action-main small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.past-action-side {
  display: grid;
  justify-items: end;
  gap: 7px;
  width: min(34vw, 128px);
  min-width: 96px;
}

.identity-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.follow-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

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

.follow-actions a {
  min-height: 46px;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0 8px;
  color: #101112;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.follow-actions a.logged {
  color: #101112;
  background: var(--hop);
  border-color: transparent;
}

.follow-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.onboarding-follow {
  display: grid;
  gap: 10px;
}

.media-consent {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px;
  color: white;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.media-consent input {
  width: 22px;
  min-height: 22px;
  margin-top: 1px;
  accent-color: white;
}

.auth-card .onboarding-follow .follow-note {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.identity-card span,
.session-card span,
.leader-card span,
.mini-list span,
.showcase-card span,
.instagram-post-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.session-dot {
  width: 14px;
  height: 14px;
  background: var(--hop);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(0, 208, 226, 0.16);
}

.signin-panel,
.submit-card,
.referral-card,
.verification-panel {
  padding: 18px;
}

.panel-heading,
.section-heading {
  margin-bottom: 14px;
}

.sso-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.sso-button {
  justify-content: flex-start;
  gap: 8px;
  color: #101112;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.sso-button span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: white;
  background: #101112;
  border-radius: 50%;
  font-size: 12px;
}

.sso-button.active {
  background: rgba(0, 208, 226, 0.18);
  outline: 2px solid rgba(0, 208, 226, 0.36);
}

.session-card {
  margin-top: 10px;
  padding: 12px;
  background: rgba(0, 208, 226, 0.12);
  border-radius: 18px;
}

.quiet-label,
label {
  display: grid;
  gap: 7px;
  color: #25292b;
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  outline: none;
}

textarea {
  resize: vertical;
  line-height: 1.4;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(0, 208, 226, 0.3);
}

.wallet-screen {
  min-height: auto;
}

.wallet-card {
  padding: 22px;
  color: white;
  background: #101112;
}

.wallet-card span,
.wallet-card small {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 900;
  text-transform: uppercase;
}

.wallet-card strong {
  display: block;
  margin: 6px 0;
  font-size: clamp(56px, 18vw, 92px);
  line-height: 0.9;
}

.reward-progress {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.progress {
  height: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--hop);
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stats-row article {
  padding: 15px;
  background: white;
  border-radius: 24px;
}

.stats-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.stats-row strong {
  display: block;
  margin-top: 5px;
  font-size: 28px;
}

.glass-form,
.stack-form {
  display: grid;
  gap: 12px;
}

.glass-form {
  padding: 16px;
}

.mission-strip {
  display: grid;
  gap: 10px;
}

.mission-card {
  min-height: 128px;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 18px;
  text-align: left;
  color: #101112;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(16, 17, 18, 0.12);
}

.mission-card span {
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.mission-card strong {
  font-family: var(--font-display);
  font-size: 38px;
  font-style: italic;
  line-height: 0.9;
}

.connector {
  color: white;
  background: var(--brand-blue);
}

.connector span {
  color: white;
}

.creator {
  color: white;
  background: var(--hop);
}

.creator span {
  color: white;
}

.amplifier {
  background: var(--brand-orange);
  color: white;
}

.amplifier span {
  color: white;
}

.mission-card:hover,
.mission-card:focus-visible {
  transform: translateY(-2px);
}

.mission-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.submit-card {
  position: relative;
}

.form-close {
  display: none;
}

body.mission-open {
  overflow: hidden;
}

body.mission-open .app-header,
body.mission-open .bottom-nav {
  opacity: 0;
  pointer-events: none;
}

body.mission-open .submit-card {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  align-content: start;
  overflow-y: auto;
  padding: 74px 16px 28px;
  background: var(--paper);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.mission-open .submit-card::before {
  content: "mission";
  position: fixed;
  top: 18px;
  left: 18px;
  color: var(--hop);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

body.mission-open .form-close {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 70;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: white;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(16, 17, 18, 0.14);
}

body.mission-open .form-close::before,
body.mission-open .form-close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background: #101112;
  border-radius: 999px;
}

body.mission-open .form-close::before {
  transform: rotate(45deg);
}

body.mission-open .form-close::after {
  transform: rotate(-45deg);
}

body.mission-open .stack-form,
body.mission-open .bucket-tabs {
  width: min(100%, 640px);
  margin-left: auto;
  margin-right: auto;
}

.bucket-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 5px;
  margin-bottom: 14px;
  background: white;
  box-shadow: 0 12px 30px rgba(16, 17, 18, 0.08);
  border-radius: 999px;
}

.mission-ideas {
  display: flex;
  gap: 7px;
  margin: -2px 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mission-ideas::-webkit-scrollbar {
  display: none;
}

.mission-ideas button {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 0 11px;
  color: var(--hop);
  background: rgba(0, 208, 226, 0.1);
  border: 1px solid rgba(0, 208, 226, 0.18);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
}

.bucket-tab {
  min-height: 42px;
  color: var(--hop);
  background: white;
}

.bucket-tab.active {
  color: #101112;
  background: var(--hop);
}

.referral-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.form-row,
.engagement-fields {
  display: grid;
  gap: 10px;
}

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

.leaderboard-panel {
  min-height: auto;
}

.leaderboard-list,
.mini-list {
  display: grid;
  gap: 10px;
}

.leader-card {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
}

.leader-card.current {
  background: rgba(0, 208, 226, 0.16);
}

.leader-rank {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--hop);
  border-radius: 50%;
  font-weight: 950;
}

.leader-score {
  text-align: right;
}

.showcase {
  color: white;
  background: #101112;
  border-radius: 36px;
  padding: 18px;
}

.showcase .screen {
  color: white;
}

.social-sync-button {
  width: auto;
  min-width: 104px;
  min-height: 44px;
  justify-self: end;
  gap: 8px;
  margin-bottom: 12px;
  padding: 0 12px;
  color: white;
  background: var(--hop);
  border-radius: 12px;
  font-size: 12px;
  text-transform: none;
  box-shadow: 0 14px 30px rgba(0, 208, 226, 0.28);
}

.refresh-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
}

.refresh-icon::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px solid currentColor;
  border-left-color: transparent;
  border-radius: 50%;
}

.refresh-icon::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 3px;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(18deg);
}

.social-sync-button.is-loading .refresh-icon {
  animation: spin 900ms linear infinite;
}

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

.social-feed-status {
  margin-bottom: 14px;
}

.instagram-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.instagram-feed-header span,
.instagram-feed-header a {
  color: var(--hop);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
}

.instagram-feed-grid,
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.instagram-post-card,
.showcase-card {
  min-height: 215px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  padding: 13px;
  color: white;
  background-position: center;
  background-size: cover;
  border-radius: 24px;
}

.showcase-card {
  min-height: 280px;
}

.instagram-post-card span,
.showcase-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 850;
}

.instagram-post-card strong,
.showcase-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.05;
}

.feed-action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.feed-action-row button,
.feed-action-row a {
  min-width: 58px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #101112;
  background: rgba(255, 255, 255, 0.88);
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(16, 17, 18, 0.18);
}

.feed-action-row small {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(16, 17, 18, 0.06);
  border-width: 1px 0 0;
  border-radius: 22px 22px 0 0;
  backdrop-filter: blur(18px);
  box-shadow: 0 -12px 34px rgba(16, 17, 18, 0.12);
}

.bottom-nav a {
  min-height: 56px;
  display: grid;
  align-content: center;
  place-items: center;
  gap: 5px;
  color: var(--hop);
  border-radius: 14px;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.bottom-nav strong {
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.bottom-nav a:hover,
.bottom-nav a:focus-visible,
.bottom-nav a.is-active {
  color: #101112;
  background: rgba(0, 208, 226, 0.12);
}

.bottom-nav a.is-active .nav-icon {
  transform: translateY(-1px);
}

.bottom-nav a[data-nav="wallet"] {
  color: var(--hop);
  background: transparent;
  box-shadow: none;
}

.bottom-nav a[data-nav="wallet"].is-active {
  color: #101112;
  background: rgba(0, 208, 226, 0.1);
}

.bottom-nav a[data-nav="submit"] {
  color: var(--hop);
  background: transparent;
  box-shadow: none;
}

.bottom-nav a[data-nav="submit"].is-active {
  color: #101112;
  background: rgba(0, 208, 226, 0.1);
}

.nav-icon {
  position: relative;
  width: 24px;
  height: 24px;
  display: block;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 760px) {
  body {
    padding-bottom: 0;
  }

  .app-feed {
    width: min(100% - 44px, 1120px);
  }

  .bottom-nav {
    display: none;
  }

  .hero-screen {
    min-height: 100svh;
  }

  .hero-media {
    min-height: 100svh;
    border-radius: 0 0 44px 44px;
  }

  .hero-overlay {
    width: min(100% - 72px, 1120px);
    margin: 0 auto;
    padding: 126px 0 92px;
  }

  .hero-overlay h1 {
    max-width: 720px;
    font-size: clamp(82px, 8vw, 124px);
  }

  .hero-mission-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 980px;
    gap: 14px;
  }

  .hero-mission {
    min-height: 156px;
    align-content: end;
    padding: 22px;
  }

  .compact-screen,
  .wallet-screen {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
    align-items: start;
  }

  .mission-strip,
  .instagram-feed-grid,
  .showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  body.mission-open .submit-card {
    padding-top: 92px;
  }

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

  .showcase-card {
    min-height: 360px;
  }
}
