/* RUNWIV web — shared design system (pairs with Tailwind on marketing + app pages) */
:root {
  --rw-bg: #131314;
  --rw-surface: #201f20;
  --rw-elevated: #2a2a2b;
  --rw-border: #3b494b;
  --rw-text: #e5e2e3;
  --rw-muted: #b9cacb;
  --rw-cyan: #00f0ff;
  --rw-cyan-soft: #67e8f9;
  --rw-orange: #fe5f00;
  --rw-lime: #bef264;
}

body {
  margin: 0;
  background: var(--rw-bg);
  color: var(--rw-text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--rw-cyan-soft);
  text-decoration: none;
}
a:hover {
  color: var(--rw-cyan);
}

.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.nav a {
  text-decoration: none;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--rw-surface);
  color: #d2dbe6;
  border: 1px solid var(--rw-border);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero {
  border: 1px solid var(--rw-border);
  background: linear-gradient(145deg, #1c1b1c, var(--rw-surface));
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 0 60px rgba(0, 240, 255, 0.08);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.card {
  background: var(--rw-surface);
  border: 1px solid var(--rw-border);
  border-radius: 12px;
  padding: 16px 18px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.card h3 {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--rw-muted);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--rw-text);
}

.card .card-value {
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  font-family: "Space Grotesk", Inter, sans-serif;
  color: var(--rw-text);
}

.list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--rw-border);
  overflow: hidden;
}

.list li {
  margin: 0;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(59, 73, 75, 0.6);
  font-size: 0.88rem;
  color: var(--rw-muted);
}

.list li:last-child {
  border-bottom: none;
}

.section-label {
  margin: 20px 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rw-cyan-soft);
  font-family: "Space Grotesk", Inter, sans-serif;
}

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

/* —— Auth shell (marketing + dashboard pages) —— */
.auth-shell {
  width: 100%;
  max-width: 420px;
}

.auth-panel {
  border-radius: 16px;
  border: 1px solid var(--rw-border);
  border-top: 2px solid rgba(0, 240, 255, 0.35);
  background: linear-gradient(165deg, rgba(38, 40, 42, 0.96) 0%, rgba(19, 19, 20, 0.99) 100%);
  padding: 18px 18px 16px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.auth-panel.is-hidden {
  display: none;
}

.auth-panel-brand {
  margin: 0 0 16px;
}

.auth-panel-brand--signed {
  margin-bottom: 14px;
}

.auth-panel-eyebrow {
  margin: 0 0 6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rw-cyan-soft);
}

.auth-panel-eyebrow--live {
  color: #4ade80;
  letter-spacing: 0.18em;
}

.auth-panel-title {
  margin: 0 0 12px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--rw-text);
  text-transform: uppercase;
}

.auth-panel-title--signed {
  font-size: 1.05rem;
  margin-bottom: 0;
  text-transform: none;
  font-style: normal;
  font-weight: 700;
}

.auth-panel-runwiv {
  color: var(--rw-cyan);
  font-style: italic;
  font-weight: 900;
}

.auth-panel-runwiv-my {
  font-weight: 600;
  font-style: normal;
  color: #d8e8ea;
  margin-right: 0.2em;
}

.auth-panel-lede {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--rw-muted);
  max-width: 36em;
}

.auth-panel-hint {
  margin: 0 0 12px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rw-muted);
}

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

.btn-auth-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  min-width: 200px;
  padding: 11px 16px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: #0f172a;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: filter 0.15s ease, transform 0.1s ease;
}

.btn-auth-google:hover {
  filter: brightness(1.05);
}

.btn-auth-google:active {
  transform: scale(0.98);
}

.btn-auth-google svg {
  flex-shrink: 0;
}

.btn-auth-ghost {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--rw-border);
  background: transparent;
  color: var(--rw-muted);
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn-auth-ghost:hover {
  color: var(--rw-cyan-soft);
  border-color: rgba(0, 240, 255, 0.35);
  background: rgba(0, 240, 255, 0.06);
}

.btn-auth-ghost[aria-expanded="true"] {
  color: var(--rw-cyan);
  border-color: rgba(0, 240, 255, 0.45);
}

.auth-email-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(59, 73, 75, 0.6);
  display: none;
  flex-direction: column;
  gap: 10px;
}

.auth-email-block.is-open {
  display: flex;
}

.auth-email-block label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rw-muted);
}

.auth-email-block input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--rw-border);
  background: rgba(19, 19, 20, 0.9);
  color: var(--rw-text);
  font-size: 0.88rem;
}

.auth-email-block input:focus {
  outline: none;
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.12);
}

.auth-email-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-email-actions .btn {
  flex: 1;
  min-width: 120px;
}

.auth-error {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #fecaca;
  background: rgba(58, 29, 31, 0.65);
  border: 1px solid rgba(248, 113, 113, 0.25);
}

.auth-error.auth-error--success {
  color: #bbf7d0;
  background: rgba(20, 83, 45, 0.35);
  border-color: rgba(74, 222, 128, 0.35);
}

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

.auth-password-extras {
  display: flex;
  justify-content: flex-end;
  margin-top: -4px;
  margin-bottom: 2px;
}

.auth-text-link {
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--rw-cyan-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.auth-text-link:hover {
  color: var(--rw-cyan);
}

.auth-user-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.auth-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 240, 255, 0.35);
  flex-shrink: 0;
}

.auth-avatar-fallback {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  font-family: "Space Grotesk", Inter, sans-serif;
  background: linear-gradient(145deg, #1c4a52, #0c2e35);
  color: var(--rw-cyan-soft);
  border: 2px solid rgba(0, 240, 255, 0.35);
  flex-shrink: 0;
}

.auth-avatar-fallback.is-hidden,
.auth-avatar.is-hidden {
  display: none;
}

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

.auth-display-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--rw-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-email-line {
  display: block;
  font-size: 0.75rem;
  color: var(--rw-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-sync-note {
  margin: 10px 0 0;
  font-size: 0.68rem;
  color: var(--rw-muted);
  line-height: 1.4;
}

.auth-sync-note kbd {
  font-size: 0.62rem;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.btn {
  border: 0;
  border-radius: 999px;
  background: #67e8f9;
  color: #0c4a5e;
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn:active {
  transform: scale(0.98);
}

.btn.secondary {
  background: var(--rw-orange);
  color: #1a0a00;
}

.btn.ghost {
  background: #2a3238;
  color: #e8edf3;
  border: 1px solid var(--rw-border);
}

.btn.danger {
  background: rgba(185, 28, 28, 0.92);
  color: #fef2f2;
  border: 1px solid rgba(252, 165, 165, 0.4);
}

.btn.danger:hover {
  filter: brightness(1.08);
}

/* Club management — cards + admin modal */
.club-admin-modal {
  z-index: 225;
}

.club-admin-modal .auth-modal__dialog {
  width: min(520px, 100%);
  max-height: min(90vh, 880px);
  overflow-y: auto;
}

.club-admin-page-wrap {
  max-width: 720px;
  margin: 0 auto;
  min-height: 200px;
}

.club-admin-page-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.club-card:hover {
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.club-card:focus-visible {
  outline: 2px solid rgba(0, 240, 255, 0.45);
  outline-offset: 2px;
}

.club-card__actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.club-admin-header {
  margin-bottom: 18px;
}

.club-admin-header__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.club-admin-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(59, 73, 75, 0.85);
  background: rgba(0, 0, 0, 0.25);
  color: var(--rw-muted);
}

.club-admin-pill--vis {
  border-color: rgba(0, 240, 255, 0.28);
  color: #a5f3fc;
  background: rgba(0, 240, 255, 0.08);
}

.club-admin-section--safety {
  border-left: 3px solid rgba(251, 146, 60, 0.65);
}

.club-admin-section--members {
  border-left: 3px solid rgba(103, 232, 249, 0.35);
}

.club-admin-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.club-admin-chip--admin {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.club-admin-chip--member {
  color: #e5e2e3;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.club-admin-member__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.club-admin-member__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.club-admin-member__name {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--rw-text);
}

.club-admin-member__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.club-admin-member__uid {
  font-size: 0.65rem;
  opacity: 0.75;
  word-break: break-all;
}

.club-admin-input--block {
  width: 100%;
  max-width: none;
}

.club-admin-select.club-admin-input--block {
  max-width: none;
}

.club-admin-title {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.2;
}

.club-admin-meta {
  font-size: 0.8rem;
  margin: 0;
}

.club-admin-code {
  font-size: 0.75rem;
  word-break: break-all;
}

.club-admin-section {
  margin-bottom: 18px;
}

.club-admin-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rw-muted);
  margin-bottom: 8px;
}

.club-admin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.club-admin-row--wrap {
  align-items: flex-end;
}

.club-admin-textarea {
  width: 100%;
  min-height: 88px;
  resize: vertical;
  line-height: 1.45;
}

.club-admin-color {
  width: 56px;
  height: 40px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--rw-border);
  background: rgba(20, 22, 24, 0.92);
  cursor: pointer;
}

.club-admin-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  color: var(--rw-text);
}

.club-admin-check input {
  width: auto;
  flex-shrink: 0;
}

.club-admin-join-links a {
  color: var(--rw-cyan-soft);
}

.club-admin-input {
  flex: 1;
  min-width: 160px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--rw-border);
  background: rgba(20, 22, 24, 0.92);
  color: var(--rw-text);
  font: inherit;
}

.club-admin-select {
  max-width: 220px;
}

.club-admin-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.club-admin-member-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--rw-border);
  border-radius: 12px;
  overflow: hidden;
}

.club-admin-member {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(59, 73, 75, 0.5);
  font-size: 0.85rem;
}

.club-admin-member:last-child {
  border-bottom: 0;
}

.club-admin-member__id {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  word-break: break-all;
}

.club-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--rw-border);
}

.auth-user {
  font-size: 0.75rem;
  color: var(--rw-muted);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-sign-in-cta[hidden] {
  display: none !important;
}

.nav-sign-in-cta {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 240, 255, 0.45);
  background: rgba(0, 240, 255, 0.06);
  color: #67e8f9;
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.nav-sign-in-cta:hover {
  background: rgba(0, 240, 255, 0.14);
  border-color: rgba(0, 240, 255, 0.65);
  color: #a5f3fc;
}

.nav-sign-in-cta:focus-visible {
  outline: 2px solid rgba(0, 240, 255, 0.35);
  outline-offset: 2px;
}

/* Must win over [hidden] — without this, `display: inline-block` keeps an empty pill visible */
#status-pill[hidden] {
  display: none !important;
}

#status-pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 42, 43, 0.9);
  color: #dbfcff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 240, 255, 0.15);
}

#status-pill[data-state="error"] {
  background: rgba(58, 29, 31, 0.95);
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.35);
}

.empty-state {
  border: 1px dashed var(--rw-border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: var(--rw-muted);
  font-size: 0.9rem;
}

.empty-state strong {
  color: var(--rw-text);
  display: block;
  margin-bottom: 6px;
}

.status {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: #1f2a2b;
  color: #dbfcff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.status[data-state="error"] {
  background: #3a1d1f;
  color: #ff9ea8;
}

.split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
}

.lede {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--rw-muted);
}

.muted {
  color: var(--rw-muted);
}

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

/* —— Login wall (gated Route Studio + future flows) —— */
.login-wall {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.login-wall[hidden] {
  display: none !important;
}

.login-wall__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 10, 0.72);
  backdrop-filter: blur(10px);
}

.login-wall__panel {
  position: relative;
  width: min(420px, 100%);
  padding: 28px 26px 22px;
  border-radius: 20px;
  border: 1px solid rgba(0, 240, 255, 0.22);
  background: linear-gradient(165deg, rgba(36, 42, 44, 0.95) 0%, rgba(15, 17, 18, 0.98) 100%);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.login-wall__glow {
  position: absolute;
  width: 200px;
  height: 200px;
  top: -80px;
  right: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.login-wall__eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rw-cyan);
}

.login-wall__title {
  margin: 0 0 10px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--rw-text);
}

.login-wall__sub {
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: var(--rw-muted);
  line-height: 1.45;
}

.login-wall__google {
  width: 100%;
  box-sizing: border-box;
}

.login-wall__hint {
  margin: 14px 0 0;
  font-size: 0.68rem;
  color: var(--rw-muted);
  line-height: 1.45;
}

.login-wall__dismiss {
  width: 100%;
  margin-top: 12px;
}

/* —— Global account modal (same auth panel as marketing; one place site-wide) —— */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  opacity: 1;
  transition: opacity 0.42s ease;
}

.auth-modal[hidden] {
  display: none !important;
}

.auth-modal.auth-modal--fade-out {
  opacity: 0;
  pointer-events: none;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 10, 0.78);
  backdrop-filter: blur(12px);
  transition:
    background 0.55s ease,
    backdrop-filter 0.55s ease;
}

.auth-modal.auth-modal--signed-in .auth-modal__backdrop {
  background: rgba(6, 18, 22, 0.48);
  backdrop-filter: blur(8px);
}

.auth-modal__dialog {
  position: relative;
  width: min(460px, 100%);
  max-height: min(92vh, 900px);
  overflow-x: hidden;
  overflow-y: auto;
  /* Reserve space so the close control never covers “Account” / titles */
  padding: 48px 56px 26px 24px;
  margin: 0;
  border-radius: 20px;
  border: 1px solid rgba(0, 240, 255, 0.22);
  background: linear-gradient(165deg, rgba(28, 32, 34, 0.97) 0%, rgba(12, 14, 16, 0.99) 100%);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.auth-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--rw-muted);
  background: rgba(18, 22, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.auth-modal__close:hover {
  color: var(--rw-text);
  background: rgba(30, 36, 40, 0.95);
  border-color: rgba(0, 240, 255, 0.2);
}

.auth-modal__controls {
  width: 100%;
}

.auth-modal .auth-shell {
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .auth-modal {
    transition: none;
  }
  .auth-modal__backdrop {
    transition: none;
  }
}

#status-pill.status-pill--account {
  cursor: pointer;
  border-radius: 999px;
  padding: 4px 10px;
  margin: -4px -10px;
  transition: background 0.15s ease;
}

#status-pill.status-pill--account:hover {
  background: rgba(0, 240, 255, 0.08);
}

#status-pill.status-pill--account:focus-visible {
  outline: 2px solid rgba(0, 240, 255, 0.45);
  outline-offset: 2px;
}

/* —— Route Studio designer —— */
.route-studio-map {
  height: min(52vh, 420px);
  width: 100%;
  background: #0f1011;
}

.route-studio-map .leaflet-container {
  font-family: Inter, system-ui, sans-serif;
}

.route-studio-endpoints {
  margin-top: 10px;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #9aa6a8;
}

.route-studio-endpoints__muted {
  color: #7d8b8d;
}

.route-studio-endpoints__line {
  display: inline;
}

.route-studio-endpoints__sep {
  margin: 0 0.35em;
  opacity: 0.55;
}

.route-studio-endpoints__coords {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: #c5d0d1;
}

.route-studio-endpoints__note {
  color: #7d8b8d;
  font-style: italic;
}

.route-studio-endpoints__badge {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.route-studio-endpoints__badge--start {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.route-studio-endpoints__badge--end {
  margin-left: 2px;
  color: #ffedd5;
  background: rgba(249, 115, 22, 0.2);
  border: 1px solid rgba(249, 115, 22, 0.45);
}

.route-studio-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.route-studio-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a7f3d0;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(16, 185, 129, 0.08);
}

.route-studio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--rw-border);
  background: rgba(32, 31, 32, 0.85);
  color: #e5e2e3;
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.route-studio-btn:hover {
  border-color: rgba(0, 240, 255, 0.35);
  background: rgba(0, 240, 255, 0.06);
}

.route-studio-btn--ghost {
  border-style: dashed;
  opacity: 0.95;
}

.route-studio-btn--primary {
  border-color: rgba(103, 232, 249, 0.45);
  background: linear-gradient(145deg, rgba(103, 232, 249, 0.18), rgba(0, 240, 255, 0.08));
  color: #ecfeff;
}

.route-studio-btn__lock {
  display: inline-flex;
  color: rgba(103, 232, 249, 0.85);
  flex-shrink: 0;
  transition:
    opacity 0.2s ease,
    width 0.2s ease,
    margin 0.2s ease;
}

.route-studio-btn--unlocked .route-studio-btn__lock {
  opacity: 0;
  width: 0;
  overflow: hidden;
  margin: 0;
}

.route-studio-map-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 24px;
  text-align: center;
}

.route-studio-map-fallback__title {
  margin: 0 0 8px;
  font-weight: 800;
  font-family: "Space Grotesk", Inter, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.route-studio-map-fallback__text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--rw-muted);
  max-width: 280px;
}

/* —— Marketing dock (bottom-right account widget) —— */
.dock-account-eyebrow {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rw-muted);
}

.dock-account-lede {
  margin: 0 0 16px;
  font-size: 0.8rem;
  color: #9aa0a6;
  line-height: 1.45;
}

.dock-account-cta-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #a5f3fc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}

.dock-account-cta-btn:hover {
  background: rgba(6, 182, 212, 0.1);
}

.dock.dock--expanded {
  width: min(360px, calc(100vw - 32px));
}

.dock.dock--minimized {
  width: auto;
  max-width: none;
  padding: 0;
  border-radius: 999px;
  overflow: hidden;
}

.dock-account-wrap {
  position: relative;
  padding-right: 8px;
}

.dock-account-wrap .auth-panel-brand--signed {
  padding-right: 42px;
}

.dock-account__minimize {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--rw-muted);
  background: rgba(18, 22, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.dock-account__minimize:hover {
  color: var(--rw-text);
  border-color: rgba(0, 240, 255, 0.22);
}

.dock-account--minimized {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 18px;
  margin: 0;
  width: 100%;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(32, 31, 32, 0.92);
  cursor: pointer;
  font-family: "Space Grotesk", Inter, sans-serif;
  transition: background 0.15s ease;
}

.dock-account--minimized:hover {
  background: rgba(42, 42, 43, 0.98);
}

.dock-account__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2em;
  font-size: 0.85rem;
  line-height: 1.1;
}

.dock-account__brand-my {
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.03em;
  font-size: 0.72rem;
  color: #c5d4d6;
  text-transform: none;
}

.dock-account__brand-name {
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--rw-cyan);
}

.dock-account__live-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  animation: dock-live-pulse 2.2s ease-in-out infinite;
}

@keyframes dock-live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.12);
    box-shadow: 0 0 14px 5px rgba(74, 222, 128, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dock-account__live-dot {
    animation: none;
    box-shadow: 0 0 8px 2px rgba(74, 222, 128, 0.35);
  }
}

/* —— Runner profile (Locker Room parity) —— */
.profile-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.profile-hero__avatar-wrap {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  overflow: hidden;
  background: #2a2a2e;
  border: 1px solid var(--rw-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-hero__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-hero__avatar-fallback {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--rw-cyan);
}

.profile-hero__text {
  flex: 1;
  min-width: 200px;
}

.profile-hero__name {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--rw-text);
  line-height: 1.15;
}

.profile-hero__email {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--rw-muted);
}

.profile-hero__meta {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--rw-muted);
}

.profile-hero__meta strong {
  color: var(--rw-text);
  font-weight: 600;
}

.profile-edit-stack {
  margin-top: 24px;
}

.profile-edit-card {
  background: var(--rw-elevated);
  border: 1px solid var(--rw-border);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
}

.profile-edit-label {
  display: block;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--rw-text);
  margin-bottom: 6px;
}

.profile-edit-hint {
  margin: 0 0 12px;
  font-size: 0.78rem;
  color: var(--rw-muted);
  line-height: 1.4;
}

.profile-code {
  font-size: 0.85em;
  color: var(--rw-cyan-soft);
}

.profile-edit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.profile-edit-input {
  flex: 1;
  min-width: 180px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--rw-border);
  background: var(--rw-surface);
  color: var(--rw-text);
  font-size: 0.92rem;
}

.profile-edit-input:focus {
  outline: none;
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.2);
}

.profile-edit-save {
  flex-shrink: 0;
}

.profile-emoji-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.profile-emoji-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(42, 42, 43, 0.65);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.profile-emoji-btn:hover {
  border-color: rgba(0, 240, 255, 0.25);
}

.profile-emoji-btn--active {
  border-color: var(--rw-cyan);
  border-width: 2px;
  background: rgba(0, 240, 255, 0.12);
}

.profile-map-photo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.profile-file-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.profile-photo-linked {
  font-size: 0.72rem;
  color: var(--rw-cyan-soft);
}

.profile-empty-note {
  margin-bottom: 16px;
}

/* —— Athlete profile page (layout + clubs) —— */
.athlete-profile-header {
  position: relative;
}

.athlete-profile-header__glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: min(420px, 70vw);
  height: min(280px, 40vh);
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.athlete-profile-hero-card {
  border-color: rgba(0, 240, 255, 0.12);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.25);
}

.profile-hero--athlete {
  align-items: flex-start;
}

.profile-hero__eyebrow {
  margin: 0 0 6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rw-cyan-soft);
}

.profile-hero__avatar-wrap--lg {
  width: 112px;
  height: 112px;
  border-radius: 22px;
  border: 1px solid rgba(0, 240, 255, 0.22);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.profile-hero__avatar-wrap--lg .profile-hero__avatar-fallback {
  font-size: 36px;
}

.profile-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.profile-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #d8e8ea;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.profile-chip strong {
  font-weight: 700;
  color: var(--rw-text);
}

.profile-chip--muted {
  opacity: 0.75;
  border-style: dashed;
}

.profile-hero__meta--subtle {
  margin-top: 10px;
  font-size: 0.72rem;
  opacity: 0.85;
}

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

@media (min-width: 1024px) {
  .athlete-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.athlete-stat-tile__label {
  margin: 0 0 8px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rw-cyan-soft);
}

.athlete-stat-tile__value {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  color: #ecfeff;
}

.athlete-stat-tile__unit {
  margin: 6px 0 0;
  font-size: 0.75rem;
  color: var(--rw-muted);
}

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

@media (min-width: 640px) {
  .profile-clubs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.profile-club-card {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--rw-border);
  background: rgba(26, 26, 27, 0.65);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.profile-club-card:hover {
  border-color: rgba(0, 240, 255, 0.22);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.profile-club-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.profile-club-card__name {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rw-text);
  line-height: 1.25;
}

.profile-club-badge {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a5f3fc;
  background: rgba(103, 232, 249, 0.12);
  border: 1px solid rgba(103, 232, 249, 0.28);
}

.profile-club-badge--admin {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
}

.profile-club-badge--memberalt {
  color: #e5e2e3;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.profile-club-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.profile-club-card__meta {
  margin: 0 0 12px;
  font-size: 0.78rem;
  color: var(--rw-muted);
}

.profile-club-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.profile-club-card__btn {
  margin: 0;
}

.profile-clubs-manage {
  margin: 16px 0 0;
  font-size: 0.82rem;
}

.profile-clubs-manage a {
  color: var(--rw-cyan-soft);
  font-weight: 600;
  text-decoration: none;
}

.profile-clubs-manage a:hover {
  color: var(--rw-cyan);
  text-decoration: underline;
}

.profile-clubs-empty {
  padding: 20px 16px;
  border-radius: 12px;
  border: 1px dashed rgba(59, 73, 75, 0.85);
  background: rgba(15, 16, 17, 0.5);
  text-align: center;
}

.profile-clubs-empty__title {
  margin: 0 0 8px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--rw-text);
}

.profile-clubs-empty__text {
  margin: 0;
  font-size: 0.82rem;
  color: var(--rw-muted);
  line-height: 1.5;
}

.profile-clubs-empty__text a {
  color: var(--rw-cyan-soft);
  font-weight: 600;
}

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

@media (min-width: 640px) {
  .profile-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .profile-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.profile-summary-card {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(59, 73, 75, 0.75);
  background: rgba(22, 22, 24, 0.55);
}

.profile-summary-card__label {
  margin: 0 0 8px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rw-muted);
}

.profile-summary-card__value {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--rw-text);
  word-break: break-word;
}

.profile-summary-card__value--muted {
  color: #b9cacb;
  font-size: 0.85rem;
}

.section-label--profile {
  margin-top: 8px;
}

.profile-activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(59, 73, 75, 0.65);
  overflow: hidden;
  background: rgba(15, 16, 17, 0.45);
}

.profile-activity-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(59, 73, 75, 0.55);
}

.profile-activity-list__item:last-child {
  border-bottom: none;
}

.profile-activity-list__main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.profile-activity-list__title {
  font-weight: 700;
  color: var(--rw-text);
  font-size: 0.92rem;
}

.profile-activity-list__when {
  font-size: 0.72rem;
  color: var(--rw-muted);
}

.profile-activity-list__stats {
  font-size: 0.82rem;
  color: var(--rw-cyan-soft);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.profile-activity-list__empty {
  padding: 20px 16px;
  color: var(--rw-muted);
  font-size: 0.88rem;
  text-align: center;
}

/* Saved routes — map preview cards (Route Studio) */
#routes-data.routes-data-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  #routes-data.routes-data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.saved-route-card {
  position: relative;
  display: block;
  min-height: 148px;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(59, 73, 75, 0.65);
  background: rgba(12, 13, 15, 0.95);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.saved-route-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 240, 255, 0.12);
}

.saved-route-card:focus-visible {
  outline: 2px solid var(--rw-cyan-soft);
  outline-offset: 2px;
}

.saved-route-card__map {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.saved-route-card__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: grayscale(0.35) brightness(0.42) contrast(1.1) saturate(0.85);
  opacity: 0.92;
}

.saved-route-card__map--placeholder {
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(0, 240, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(103, 232, 249, 0.06), transparent 50%),
    linear-gradient(160deg, #0c0d0f 0%, #1a1b1d 100%);
}

.saved-route-card__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(8, 9, 11, 0.94) 0%,
    rgba(19, 19, 20, 0.55) 42%,
    rgba(0, 240, 255, 0.07) 100%
  );
}

.saved-route-card__body {
  position: relative;
  z-index: 2;
  padding: 1.15rem 1.25rem 1.25rem;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.saved-route-card__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(185, 202, 203, 0.85);
}

.saved-route-card__title {
  margin: 0 0 0.5rem;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--rw-text);
  line-height: 1.2;
}

.saved-route-card__cta {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rw-cyan-soft);
}
