/* Liquid glass tokens. Blur is only for fixed and overlay surfaces. */

:root {
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.16);
  --glass-specular: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 42%);
  --glass-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  --glass-blur: blur(20px) saturate(160%);
  --glass-solid: #141c28;
  --radius-pill: 999px;
  --radius-glass: 18px;
  --tabbar-h: 64px;
  --tabbar-inset: 12px;
  --primary-fill: #0f766e;
}

.glass {
  background-color: var(--glass-bg);
  background-image: var(--glass-specular);
  border: 1px solid var(--glass-highlight);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.glass-pill,
.btn,
.btn-glass,
.glass-btn,
.btn-primary,
.btn.primary {
  border-radius: var(--radius-pill);
}

.btn-glass,
a.btn-glass {
  background-color: rgba(255, 255, 255, 0.08);
  background-image: var(--glass-specular);
  color: #f8fafc;
  border: 1px solid var(--glass-highlight);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.btn-primary,
.btn.primary,
a.btn.primary,
.btn.glass-btn.primary,
.glass-btn.primary,
.land-body .btn.primary {
  background-color: var(--primary-fill);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.06) 42%, transparent 42%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  box-shadow:
    0 8px 22px rgba(15, 118, 110, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.btn,
.glass-btn {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@supports not (backdrop-filter: blur(1px)) {
  .glass,
  .land-top.glass,
  .app-tabbar,
  .user-menu-panel.glass {
    background-color: var(--glass-solid);
    background-image: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .glass,
  .land-top.glass,
  .app-tabbar,
  .user-menu-panel.glass,
  .cookie-banner {
    background-color: var(--glass-solid);
    background-image: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn-glass,
  .btn-primary,
  .glass-pill,
  .app-tabbar,
  .account-trigger,
  .sell-hero,
  .hero-shot {
    transition: none;
    animation: none;
  }
}

/* Signed-out header */
.land-signin-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  color: #f8fafc;
  font-weight: 600;
  text-decoration: none;
  background: none;
}
.land-signin-link:hover { color: #ffffff; }
.land-go-pro { min-height: 44px; padding: 8px 16px; }

.top-search-kbd { display: none; }
html.is-mac .top-search-kbd { display: inline-block; }

.account-trigger {
  list-style: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-highlight);
  background-color: var(--glass-bg);
  background-image: var(--glass-specular);
  color: #f8fafc;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.account-trigger::-webkit-details-marker { display: none; }
.account-icon { width: 22px; height: 22px; }
.account-menu .user-menu-panel {
  min-width: 240px;
  border-radius: var(--radius-glass);
  padding: 8px;
}
.account-quota {
  margin: 0;
  padding: 10px 12px 8px;
  color: #e8edf5;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}
.sidebar-upgrade { margin-top: auto; }

@media (max-width: 900px) {
  body:not(:has(.editor-studio)) .sidebar,
  body:not(:has(.editor-studio)) .sidebar-scrim,
  body:not(:has(.editor-studio)) .app-top-bar .nav-toggle,
  body:not(:has(.editor-studio)) .top-search,
  body:not(:has(.editor-studio)) .top-search-toggle,
  body:not(:has(.editor-studio)) .account-menu {
    display: none !important;
  }
  body:not(:has(.editor-studio)) .app-top-bar .brand { display: inline-flex; }
  body:not(:has(.editor-studio)) .top-new-clip-label { display: inline !important; }
  body:not(:has(.editor-studio)):not(.sheet-open) .wrap-app {
    padding-bottom: calc(var(--tabbar-h) + var(--tabbar-inset) + env(safe-area-inset-bottom, 0px));
  }
  body:not(:has(.editor-studio)):not(.sheet-open) .sheet-page {
    padding-bottom: 0;
  }
  body:not(:has(.editor-studio)):not(.sheet-open) .sheet-page::after {
    content: "";
    display: block;
    flex: 0 0 auto;
    height: calc(var(--tabbar-h) + var(--tabbar-inset) + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
  }
  body:not(:has(.editor-studio)) .app-tabbar {
    display: flex;
    position: fixed;
    left: var(--tabbar-inset);
    right: var(--tabbar-inset);
    bottom: calc(var(--tabbar-inset) + env(safe-area-inset-bottom, 0px));
    z-index: 45;
    height: var(--tabbar-h);
    align-items: stretch;
    justify-content: space-around;
    gap: 4px;
    padding: 6px;
    border-radius: var(--radius-pill);
    background-color: rgba(4, 10, 14, 0.94);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(15, 118, 110, 0.16));
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }
  body:not(:has(.editor-studio)) .app-tabbar a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 2px;
    border-radius: var(--radius-pill);
    color: #e8edf5;
    font-size: 0.62rem;
    font-weight: 650;
    text-decoration: none;
    overflow: hidden;
  }
  body:not(:has(.editor-studio)) .app-tabbar a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  body:not(:has(.editor-studio)) .app-tabbar a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
  }
  body:not(:has(.editor-studio)) .app-tabbar a.active,
  body:not(:has(.editor-studio)) .app-tabbar a[aria-current="page"] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 6px 16px rgba(0, 0, 0, 0.2);
  }
}

.install-toast { display: none; }
@media (max-width: 900px) {
  .install-toast:not([hidden]) {
    display: flex;
    position: fixed;
    left: var(--tabbar-inset);
    right: var(--tabbar-inset);
    bottom: calc(var(--tabbar-h) + var(--tabbar-inset) + 8px + env(safe-area-inset-bottom, 0px));
    z-index: 46;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 18px;
    color: #f8fafc;
    background-color: rgba(4, 10, 14, 0.94);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(15, 118, 110, 0.16));
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  }
  .install-toast p { margin: 0; font-size: 0.88rem; font-weight: 600; line-height: 1.35; }
  .install-toast-actions { display: flex; gap: 6px; flex-shrink: 0; }
  .install-toast .btn { min-height: 36px; padding: 6px 12px; }
  .install-toast .btn[hidden] { display: none; }
}
body:has(.editor-studio) .install-toast,
body.sheet-open .install-toast { display: none !important; }
body.sheet-open .app-tabbar { display: none !important; }
body.sheet-open .wrap-app {
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 760px) {
  .land-nav,
  .land-menu-toggle,
  .land-nav-drawer,
  .land-nav-scrim { display: none !important; }
  .land-top .land-signin-link { display: inline-flex; }
  .sell-hero .sell-hero-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px 16px 0;
  }
  .sell-hero h1,
  .sell-hero .sell-lede { max-width: none; }
  .hero-shot img { max-height: none; object-fit: contain; object-position: top center; }
  .hero-demo { width: min(220px, 58vw); }
  .marquee { margin-bottom: 8px; padding: 4px 0; }
  #social-proof.sell-section { padding-top: 12px; }
  .sell-cta { flex-direction: column; }
  .sell-cta > .btn { width: 100%; }
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: min(1120px, 100%);
  margin: 0 auto;
  align-items: start;
  padding: 8px 16px 12px;
}
.sell-hero { overflow: visible; }
.sell-hero .sell-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 20px 4px 0;
}
.sell-hero h1 { max-width: 16ch; }
.sell-cta {
  flex-direction: column;
  flex-wrap: wrap;
  max-width: none;
  margin-top: 16px;
  margin-bottom: 0;
}
.sell-cta > .btn { width: 100%; }
.hero-shot {
  position: relative;
  z-index: 0;
  margin: 0;
  justify-self: stretch;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-glass);
  overflow: hidden;
  border: 1px solid var(--glass-highlight);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.hero-shot img,
.hero-demo video,
.hero-demo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(560px, 72vh);
  object-fit: contain;
  object-position: top center;
}
.hero-demo {
  position: relative;
  width: min(280px, 72vw);
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  background: #070b10;
}
.hero-demo video,
.hero-demo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}
.hero-demo-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 8px 10px;
  background: linear-gradient(transparent, rgba(7, 10, 14, 0.82));
  color: #e8edf5;
  z-index: 1;
}
.hero-demo noscript img { position: static; max-height: none; }
.get-kicker { margin: 0 0 4px; letter-spacing: 0.06em; text-transform: uppercase; }
.get-includes { margin: 12px 0 16px; }
.get-trust {
  list-style: none;
  margin: 18px 0 8px;
  padding: 0;
  display: grid;
  gap: 6px;
  color: #d5dce8;
  font-size: 0.85rem;
}
.get-trust li { padding-left: 0; }
.get-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
}
.get-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}
.price-toggle {
  flex-wrap: nowrap;
  max-width: 100%;
}
.price-toggle-btn { white-space: nowrap; }
.get-period {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  margin: 12px 0 8px;
}
.get-period .price-toggle-btn {
  flex: 1 1 0;
  min-width: 0;
  padding-left: 10px;
  padding-right: 10px;
}

@media (min-width: 900px) {
  .hero-stage { grid-template-columns: minmax(0, 1.1fr) minmax(260px, 420px); gap: 32px; padding-bottom: 12px; align-items: start; }
  .sell-hero .sell-hero-inner { padding: 28px 0 8px; }
  .sell-cta { flex-direction: row; }
  .sell-cta > .btn { width: auto; }
  .hero-shot { justify-self: stretch; width: 100%; max-width: 420px; }
  .hero-demo { width: min(320px, 100%); justify-self: end; margin-inline: 0; }
}

.sell-price { border-radius: var(--radius-glass); }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-glass);
  padding: 16px 16px 8px;
  background-color: #121a24;
  background-image: var(--glass-specular);
  border: 1px solid var(--glass-highlight);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.pricing-card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.pricing-card-pro {
  border-color: rgba(45, 212, 191, 0.7);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 0 1px rgba(45, 212, 191, 0.35);
}
.pricing-default {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: #0f766e;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
}
.pricing-card dl { margin: 0; }
.pricing-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.pricing-card dt { color: #d5dce8; font-weight: 600; }
.pricing-card dd { margin: 0; color: #f8fafc; font-weight: 650; text-align: right; }
.pricing-card-cta {
  margin-top: auto;
  padding: 12px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}
.pricing-card-cta .btn { min-height: 48px; width: 100%; justify-content: center; padding-inline: 22px; }
.pricing-card-max .pricing-card-cta .btn,
.pricing-card-max .pricing-card-cta .btn-glass {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%),
    rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.pricing-cta { margin-top: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.pricing-cta .btn { min-height: 48px; padding-inline: 22px; }
.pricing-cta-note { margin: 0; font-size: 0.8rem; color: #d5dce8; }

@media (max-width: 760px) {
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-card-pro { order: -1; }
}

.sell-foot {
  margin-top: 16px;
  padding: 16px 8px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  text-align: left;
}
.sell-foot-brand {
  margin: 0 0 8px;
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: #f8fafc;
}
.sell-foot nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.sell-foot a {
  color: #f8fafc;
  text-decoration: none;
  font-weight: 650;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
}
.sell-foot a:hover { color: #99f6e4; }

.cookie-banner {
  padding: 4px 12px calc(4px + env(safe-area-inset-bottom, 0px));
  gap: 8px;
  max-height: calc(44px + env(safe-area-inset-bottom, 0px));
}
.cookie-banner p { font-size: 0.75rem; line-height: 1.2; color: #e8edf5; }
.cookie-banner .btn { min-height: 32px; padding: 2px 10px; font-size: 0.75rem; }

.sheet-page {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.sheet-page > h1 { margin: 0; }
.account-page { max-width: 560px; }
.account-page h1 { margin: 0; }
.referrals-page { max-width: 560px; min-width: 0; width: 100%; }
.referrals-lede { margin: 0; line-height: 1.45; }
.referrals-card h2 { margin: 0 0 10px; }
.referrals-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
  min-width: 0;
}
.referrals-link-input {
  flex: 1 1 160px;
  min-width: 0;
  width: 100%;
}
.referrals-link-row .btn { flex: 0 0 auto; min-height: 44px; }
.referrals-totals {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.referrals-totals li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}
.referrals-totals span { font-size: 0.75rem; color: #c3ccda; }
.referrals-totals strong { font-size: 0.95rem; }
.referrals-ledger,
.referrals-people {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.referrals-ledger li,
.referrals-people li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  align-items: center;
  min-width: 0;
}
.referrals-ledger-main { font-weight: 650; }
.referrals-ledger-amt { font-weight: 650; }
.referrals-ledger li .muted { grid-column: 1 / -1; }
.referrals-level { margin-top: 12px; }
.referrals-level h3 { margin: 0 0 6px; font-size: 0.92rem; }
.referrals-wallet { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.referrals-wallet .btn { min-height: 44px; width: 100%; }
@media (max-width: 375px) {
  .referrals-totals { grid-template-columns: 1fr; }
  .app-tabbar a { font-size: 0.58rem; padding: 4px 1px; }
}
.account-card,
.account-links,
.sheet-page .panel,
.sheet-page .inbox-card,
.sheet-page.legal-doc {
  border-radius: var(--radius-glass);
  padding: 16px;
  background: #121a24;
  border: 1px solid var(--glass-highlight);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.account-card h2 { margin: 0 0 6px; font-size: 1rem; }
.account-card p { margin: 0 0 12px; color: #e8edf5; }
.account-plan { font-size: 1.02rem; font-weight: 650; margin: 0 0 6px !important; }
.account-plan-note { margin: 0 0 12px !important; font-size: 0.86rem; color: #c3ccda; line-height: 1.45; }
.account-pay-note { margin: 6px 0 12px !important; font-size: 0.8rem; color: #d5dce8; }
.account-billing-link { margin: 0 0 8px !important; }
.account-billing-link a { color: #99f6e4; font-weight: 650; }
.account-links {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  flex: 0 0 auto;
  align-items: stretch;
  gap: 2px;
  width: 100%;
  padding: 6px;
  text-align: left;
}
.account-links a {
  color: #f8fafc;
  text-decoration: none;
  font-weight: 650;
  min-height: 48px;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 16px;
  align-items: center;
  justify-content: start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-align: left;
}
.account-links a svg { flex: 0 0 auto; color: #99f6e4; }
.account-links a .account-chevron { color: #8b96a8; }
.account-links a span { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.25; }
.account-link-sub { font-size: 0.75rem; font-weight: 550; color: #c3ccda; text-transform: none; letter-spacing: 0; }
.account-links a:hover { background: rgba(255, 255, 255, 0.06); color: #ffffff; }
.account-signout { margin: 0; }
.account-signout .btn,
.account-signout-btn {
  min-height: 44px;
  width: 100%;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%),
    var(--glass-soft, rgba(255, 255, 255, 0.04));
  color: #f8fafc;
}

.inbox-page { max-width: 720px; display: flex; flex-direction: column; gap: 12px; }
.inbox-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.inbox-head h1, .inbox-card h2 { margin: 0; }
.inbox-card, .inbox-list a {
  background: #121a24;
  border: 1px solid var(--glass-highlight);
  border-radius: var(--radius-glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.inbox-card { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.inbox-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.inbox-list a {
  display: flex; flex-direction: column; gap: 2px;
  min-height: 44px; padding: 12px 14px;
  color: #f8fafc; text-decoration: none;
}
.inbox-msg { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; border-top: 1px solid var(--glass-highlight); }
.inbox-html { width: 100%; min-height: 180px; border: 0; border-radius: 12px; background: #fff; }
.inbox-text { white-space: pre-wrap; margin: 0; color: #e8edf5; }
.inbox-count {
  display: inline-block; background: var(--primary-fill); color: #fff;
  border-radius: var(--radius-pill); padding: 1px 8px; font-size: 0.75rem; font-weight: 700;
}
.inbox-page .input, .inbox-page textarea { width: 100%; min-height: 44px; }
.support-page { max-width: 560px; }
.sheet-page.support-page { margin: 0 auto; }
.sheet-page .auth-card { width: 100%; max-width: none; }
.faq-page { max-width: 560px; }
.faq-page .account-card { display: flex; flex-direction: column; gap: 8px; }
.faq-page .sell-faq { margin: 0; }
.support-help { gap: 12px; margin-top: 4px; flex-wrap: wrap; }
.support-help a { color: #99f6e4; font-weight: 650; }

.app-top-bar,
.land-top.glass {
  background-color: rgba(4, 10, 14, 0.94);
  background-image: linear-gradient(180deg, rgba(15, 118, 110, 0.2), rgba(4, 10, 14, 0.2));
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
}

.dev-page { max-width: 680px; display: flex; flex-direction: column; gap: 16px; }
.dev-steps { margin: 0; padding-left: 1.2em; color: #c3ccda; font-size: 0.88rem; line-height: 1.5; }
.dev-steps li { margin: 0 0 6px; }
.dev-connect { display: flex; flex-direction: column; gap: 14px; }
.dev-head h1 { margin: 0 0 6px; }
.dev-head p { margin: 0; color: #d5dce8; line-height: 1.5; }
.dev-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dev-card h2, .dev-card p { margin: 0; }
.dev-card h3 { margin: 10px 0 0; font-size: 0.95rem; }
.dev-muted { color: #c3ccda; font-size: 0.88rem; line-height: 1.45; }
.dev-warn { color: #fcd34d; font-size: 0.88rem; }
.dev-error { color: #fca5a5; font-size: 0.88rem; }
.dev-quota { font-size: 1rem; }
.dev-label { font-size: 0.85rem; font-weight: 650; }
.dev-row { display: flex; gap: 8px; align-items: center; min-width: 0; flex-wrap: wrap; }
.dev-row.dev-code-chip { flex-wrap: nowrap; }
.dev-row > .btn { min-height: 44px; flex: 0 0 auto; }
.dev-input {
  flex: 1 1 180px;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--glass-highlight);
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
  font: inherit;
  font-size: 16px;
}
.dev-code-inline {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.82rem;
}
.dev-row.dev-code-chip .dev-copy,
.dev-row.dev-code-chip .btn {
  flex: 0 0 auto;
}
.dev-new-key { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid rgba(252, 211, 77, 0.35); background: rgba(252, 211, 77, 0.06); }
.dev-new-key[hidden] { display: none; }
.dev-key-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dev-key { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.dev-key-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dev-key .btn { min-height: 44px; }
.dev-pre {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
  overflow-y: hidden;
  white-space: pre;
  font-size: 0.78rem;
  line-height: 1.5;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.dev-pre code {
  display: block;
  white-space: pre;
  width: max-content;
  min-width: 100%;
}
.dev-card > .dev-copy { align-self: flex-start; min-height: 44px; }
.dev-tools { margin: 0; display: grid; gap: 4px 0; }
.dev-tools dt { margin-top: 8px; font-weight: 650; }
.dev-tools dd { margin: 0; color: #c3ccda; font-size: 0.88rem; line-height: 1.45; }

/* Phone tap targets and bottom overlays (375px audit). */
.sidebar-plan-link {
  display: flex;
  width: 100%;
  justify-content: center;
  min-height: 40px;
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%),
    rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.billing-lede { color: #c3ccda; }

@media (max-width: 900px) {
  .price-toggle-btn { min-height: 44px; min-width: 0; padding: 10px 12px; }
  .billing-lede-extra { display: none; }
  .pay-whop-secondary,
  .account-card a,
  .land-foot a,
  .app-foot a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .land-list li a { display: inline-flex; align-items: center; min-height: 44px; }
  .pill.chip,
  .sort-chip,
  #niche-chips .pill.chip { min-height: 44px; }
  .cookie-banner {
    left: var(--tabbar-inset);
    right: var(--tabbar-inset);
    bottom: calc(var(--tabbar-h) + var(--tabbar-inset) + 8px + env(safe-area-inset-bottom, 0px));
    max-height: none;
    padding: 8px 8px 8px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
  }
  body.land-body .cookie-banner { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .cookie-banner .btn,
  .install-toast .btn { min-height: 44px; padding: 6px 14px; }
  .cookie-banner a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
  body:has(.cookie-banner:not([hidden])) .install-toast { display: none !important; }
  body.cookie-banner-open:not(:has(.editor-studio)):not(.sheet-open) .wrap-app {
    padding-bottom: calc(var(--tabbar-h) + var(--tabbar-inset) + var(--cookie-reserve, 48px) + env(safe-area-inset-bottom, 0px));
  }
}
