.app-route {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(107, 230, 107, 0.18), transparent 26%),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.06), transparent 18%),
    linear-gradient(180deg, #17181b 0%, #111214 100%);
}

.app-standalone {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.app-shell {
  display: flex;
  flex-direction: column;
  width: min(100%, 520px);
  margin: 0 auto;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(107, 230, 107, 0.12), transparent 28%),
    linear-gradient(180deg, #1c1e22 0%, #15171a 100%);
  border-inline: 1px solid rgba(255, 255, 255, 0.06);
}

.app-shell__viewport {
  display: flex;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.app-tab-shell {
  --app-mobile-nav-height: 88px;
  flex: 1 1 auto;
  height: 100%;
  min-height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.app-tab-shell__content {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(107, 230, 107, 0.8) rgba(255, 255, 255, 0.08);
}

.app-tab-shell__content::-webkit-scrollbar {
  width: 10px;
}

.app-tab-shell__content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

.app-tab-shell__content::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(107, 230, 107, 0.92), rgba(107, 230, 107, 0.56));
  border: 2px solid rgba(21, 23, 26, 0.95);
}

.app-tab-shell__nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 18, 20, 0.94);
  backdrop-filter: blur(12px);
}

.app-tab-shell__nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 10px;
  border-radius: 14px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.app-tab-shell__nav-label {
  display: block;
  min-width: 0;
  line-height: 1.1;
}

.app-tab-shell__nav-badge {
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #ff6b6b;
  color: #1d1010;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.app-tab-shell__nav-item:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.app-tab-shell__nav-item.is-active {
  color: #071607;
  background: linear-gradient(135deg, rgba(107, 230, 107, 0.96), rgba(140, 245, 126, 0.88));
  box-shadow: 0 10px 20px rgba(107, 230, 107, 0.18);
}

.app-screen {
  min-height: 100%;
}

.app-home {
  display: grid;
  gap: 18px;
  padding: 42px 18px 18px;
}

.app-home__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.app-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.app-brand-mark__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(107, 230, 107, 0.12);
  border: 1px solid rgba(107, 230, 107, 0.22);
  box-shadow: var(--shadow-green);
}

.app-brand-mark__icon img {
  width: 24px;
  height: 24px;
}

.app-brand-mark__copy {
  display: grid;
  gap: 3px;
}

.app-brand-mark__copy strong {
  font-size: 1rem;
}

.app-brand-mark__copy span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.app-brand-mark__country {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 4px;
  min-height: 24px;
  margin-left: 10px;
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
}

.app-brand-mark__country span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.app-brand-mark__badge {
  display: inline-flex;
  align-items: center;
  align-self: center;
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(107, 230, 107, 0.12);
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-brand-mark--compact .app-brand-mark__country,
.app-brand-mark--compact .app-brand-mark__badge {
  padding: 1px 6px;
  font-size: 0.58rem;
}

.app-brand-mark--compact {
  gap: 10px;
}

.app-brand-mark--compact .app-brand-mark__icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
}

.app-brand-mark--compact .app-brand-mark__copy strong {
  font-size: 0.92rem;
}

.app-home__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(107, 230, 107, 0.12);
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
}

.app-home__search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.app-home__search::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  box-sizing: border-box;
  transform: translateY(-1px);
}

.app-home__search::after {
  content: '';
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transform: translate(-16px, 6px) rotate(45deg);
}

.app-home__search span {
  margin-left: -12px;
}

.app-home__post-entry {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(107, 230, 107, 0.16), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(107, 230, 107, 0.2);
  box-shadow: var(--shadow-green);
}

.app-home__post-entry strong {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: #101610;
  background: var(--green);
  font-size: 0.78rem;
}

.app-home__post-entry h2 {
  margin: 0;
  font-family: 'Sora', 'Manrope', sans-serif;
  font-size: 1.7rem;
  line-height: 1.08;
}

.app-home__post-entry p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.app-home__post-entry a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), #9aff8f);
  color: #0f160f;
  font-weight: 800;
  box-shadow: var(--shadow-green);
}

.app-home__chip-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.app-home__chip-row::-webkit-scrollbar {
  display: none;
}

.app-home__chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
  white-space: nowrap;
  font-size: 0.82rem;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.app-home__chip.is-active {
  background: linear-gradient(135deg, rgba(107, 230, 107, 0.96), rgba(140, 245, 126, 0.88));
  border-color: rgba(107, 230, 107, 0.48);
  color: #071607;
  box-shadow: 0 10px 20px rgba(107, 230, 107, 0.18);
}

.app-home__empty-state,
.app-empty-state {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-home__empty-state strong,
.app-empty-state strong {
  font-size: 0.94rem;
}

.app-home__empty-state span,
.app-empty-state span {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.app-home__section {
  display: grid;
  gap: 12px;
}

.app-home__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-home__section-head h3 {
  margin: 0;
  font-size: 0.98rem;
}

.app-home__section-head span {
  color: var(--text-soft);
  font-size: 0.78rem;
}

.app-home__featured-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 220px;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.app-home__featured-row::-webkit-scrollbar {
  display: none;
}

.app-home__listing-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.app-home__listing-media {
  min-height: 118px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(107, 230, 107, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(107, 230, 107, 0.14), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(107, 230, 107, 0.12);
}

.app-home__listing-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 118px;
  object-fit: cover;
}

.app-home__listing-copy {
  display: grid;
  gap: 6px;
}

.app-home__listing-copy strong {
  font-size: 0.92rem;
  line-height: 1.4;
}

.app-home__listing-copy span,
.app-home__listing-copy small {
  color: var(--text-muted);
}

.app-home__listing-copy em {
  color: var(--green);
  font-style: normal;
  font-weight: 700;
}

.app-home__recent-feed {
  display: grid;
  gap: 12px;
}

.app-home__bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 18px 18px;
}

.app-home__bottom span {
  min-height: 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.app-flow {
  display: grid;
  gap: 18px;
  padding: 32px 18px 20px;
}

.app-flow__header {
  display: grid;
  gap: 10px;
}

.app-flow__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-flow__back {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.app-flow__back::before {
  content: '';
  width: 10px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.app-flow__eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-flow__title {
  margin: 0;
  font-family: 'Sora', 'Manrope', sans-serif;
  font-size: 1.7rem;
  line-height: 1.08;
}

.app-flow__text {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.app-flow__note {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.84rem;
}

.app-flow__actions {
  display: grid;
  gap: 12px;
}

.app-flow__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--green), #9aff8f);
  color: #0f160f;
  font-weight: 800;
  box-shadow: var(--shadow-green);
}

.app-flow__button--secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.app-flow__button--danger {
  background: rgba(239, 83, 80, 0.08);
  color: #ffd9d7;
  border: 1px solid rgba(239, 83, 80, 0.24);
  box-shadow: none;
}

.app-capture__resume,
.app-capture__busy,
.app-upload-progress,
.app-guidance__hero-card,
.app-guidance__summary-card,
.app-guidance__status,
.app-review__summary,
.app-review__price-range,
.app-auth__card,
.app-publish__status,
.app-publish__summary,
.app-review__missing {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-review__summary--manual {
  background: rgba(239, 83, 80, 0.08);
  border-color: rgba(239, 83, 80, 0.2);
}

.app-guidance__summary-card--manual {
  background: rgba(255, 166, 0, 0.08);
  border-color: rgba(255, 166, 0, 0.22);
}

.app-capture__resume {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.app-capture__resume-actions,
.app-home__post-entry-actions {
  display: grid;
  gap: 8px;
}

.app-detail__media {
  overflow: hidden;
  min-height: 220px;
  border-radius: 24px;
  border: 1px solid rgba(107, 230, 107, 0.14);
  background:
    radial-gradient(circle at top left, rgba(107, 230, 107, 0.24), transparent 34%),
    linear-gradient(145deg, rgba(107, 230, 107, 0.14), rgba(255, 255, 255, 0.03));
}

.app-detail__gallery {
  display: grid;
  gap: 12px;
}

.app-detail__media--placeholder {
  display: grid;
  place-items: center;
  color: var(--text-soft);
}

.app-detail__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.app-detail__thumbstrip {
  display: grid;
  grid-auto-columns: 88px;
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.app-detail__thumbnail {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.app-detail__thumbnail.is-active {
  border-color: rgba(107, 230, 107, 0.7);
  box-shadow: 0 0 0 1px rgba(107, 230, 107, 0.28);
}

.app-detail__thumbnail-image {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: cover;
}

.app-detail__safety-card {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 166, 0, 0.1);
  border: 1px solid rgba(255, 166, 0, 0.32);
}

.app-detail__safety-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-detail__safety-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 166, 0, 0.18);
  border: 1px solid rgba(255, 166, 0, 0.34);
  color: #ffbd57;
  font-size: 1rem;
  font-weight: 800;
}

.app-detail__safety-copy {
  display: grid;
  gap: 2px;
}

.app-detail__safety-copy strong {
  font-size: 0.9rem;
}

.app-detail__safety-copy span,
.app-detail__safety-list {
  color: rgba(255, 236, 204, 0.9);
  font-size: 0.78rem;
  line-height: 1.45;
}

.app-detail__safety-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.app-guidance__hero-media,
.app-capture-result__hero-media,
.app-review__hero-media,
.app-success__hero-media {
  overflow: hidden;
  min-height: 200px;
  border-radius: 24px;
  border: 1px solid rgba(107, 230, 107, 0.14);
  background:
    radial-gradient(circle at top left, rgba(107, 230, 107, 0.24), transparent 34%),
    linear-gradient(145deg, rgba(107, 230, 107, 0.14), rgba(255, 255, 255, 0.03));
}

.app-guidance__hero-image,
.app-capture-result__hero-image,
.app-review__hero-image,
.app-success__hero-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.app-guidance__hero-media--fallback,
.app-capture-result__hero-media--fallback,
.app-review__hero-media--fallback,
.app-success__hero-media--fallback {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 24px;
  text-align: center;
}

.app-guidance__hero-media--fallback strong,
.app-capture-result__hero-media--fallback strong,
.app-review__hero-media--fallback strong,
.app-success__hero-media--fallback strong {
  font-size: 0.94rem;
}

.app-guidance__hero-media--fallback span,
.app-capture-result__hero-media--fallback span,
.app-review__hero-media--fallback span,
.app-success__hero-media--fallback span {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.app-capture__resume strong,
.app-upload-progress strong,
.app-guidance__hero-card strong,
.app-capture-result__summary-card strong,
.app-guidance__summary-card strong,
.app-guidance__status strong,
.app-review__summary strong,
.app-review__price-range strong,
.app-auth__card strong,
.app-publish__status strong,
.app-publish__summary strong,
.app-review__missing strong {
  font-size: 0.94rem;
}

.app-capture__resume span,
.app-upload-progress span,
.app-guidance__hero-card span,
.app-capture-result__summary-card span,
.app-guidance__summary-card span,
.app-guidance__status span,
.app-review__summary span,
.app-auth__card p,
.app-publish__status span,
.app-publish__summary span,
.app-review__missing span {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.app-capture__grid {
  display: grid;
  gap: 14px;
}

.app-capture__picker-card,
.app-capture__selected {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.app-capture__picker-card strong,
.app-capture__selected-copy strong {
  font-size: 0.96rem;
}

.app-capture__picker-card span,
.app-capture__selected-copy span {
  color: var(--text-muted);
  line-height: 1.5;
}

.app-capture__picker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 46px;
  width: fit-content;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), #9aff8f);
  color: #0f160f;
  font-weight: 800;
  box-shadow: var(--shadow-green);
  overflow: hidden;
  cursor: pointer;
}

.app-capture__selected {
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
}

.app-capture__selected.is-failed {
  border-color: rgba(239, 83, 80, 0.34);
  background: rgba(239, 83, 80, 0.08);
}

.app-capture__selected.is-ready {
  border-color: rgba(107, 230, 107, 0.24);
  background: rgba(107, 230, 107, 0.08);
}

.app-capture__selected-media,
.app-guidance__preview {
  overflow: hidden;
  min-height: 96px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(107, 230, 107, 0.24), transparent 38%),
    linear-gradient(145deg, rgba(107, 230, 107, 0.18), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(107, 230, 107, 0.18);
}

.app-capture__selected-image,
.app-guidance__preview-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 96px;
  object-fit: cover;
}

.app-guidance__copy {
  display: grid;
  gap: 8px;
}

.app-guidance__hero-card,
.app-capture-result__summary-card,
.app-guidance__summary-card {
  gap: 14px;
}

.app-capture-result__summary-fields {
  display: grid;
  gap: 12px;
}

.app-capture-result__summary-field {
  display: grid;
  gap: 4px;
}

.app-capture-result__summary-field strong {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.app-capture-result__summary-field span {
  color: var(--text);
  font-size: 0.92rem;
}

.app-guidance__summary-fields {
  display: grid;
  gap: 12px;
}

.app-guidance__summary-field {
  display: grid;
  gap: 4px;
}

.app-guidance__summary-field strong {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.app-guidance__summary-field span {
  color: var(--text);
  font-size: 0.92rem;
}

.app-flow__file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-flow__file-input--overlay {
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  cursor: pointer;
}

.app-capture-result__replace-photo {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.app-guidance__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-guidance__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.app-guidance__item.is-complete {
  border-color: rgba(107, 230, 107, 0.26);
  background: rgba(107, 230, 107, 0.08);
}

.app-guidance__item.is-error {
  border-color: rgba(239, 83, 80, 0.34);
  background: rgba(239, 83, 80, 0.08);
}

.app-guidance__item strong {
  display: block;
  margin-bottom: 4px;
}

.app-guidance__item span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.app-guidance__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(107, 230, 107, 0.2);
  background: rgba(107, 230, 107, 0.08);
  color: var(--text);
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}

.app-upload-progress {
  gap: 12px;
}

.app-upload-progress__stages {
  display: grid;
  gap: 10px;
}

.app-upload-progress__stage {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.app-upload-progress__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.app-upload-progress__stage.is-complete .app-upload-progress__dot {
  background: rgba(107, 230, 107, 0.9);
  border-color: rgba(107, 230, 107, 0.9);
}

.app-upload-progress__stage.is-active .app-upload-progress__dot {
  background: #fff3a5;
  border-color: #fff3a5;
  box-shadow: 0 0 0 6px rgba(255, 243, 165, 0.1);
}

.app-upload-progress__stage.is-pending span {
  color: var(--text-soft);
}

.app-review__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 12px;
}

.app-review__price-range span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.app-review__errors {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 0 0 18px;
  color: #ffd0cf;
}

.app-review__error-summary {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(239, 83, 80, 0.12);
  border: 1px solid rgba(239, 83, 80, 0.22);
}

.app-review__error-summary strong {
  font-size: 0.88rem;
}

.app-review__photos {
  display: grid;
  gap: 10px;
}

.app-review__photo {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.app-review__photo.is-guided {
  border-color: rgba(107, 230, 107, 0.2);
}

.app-review__photo span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.app-review__form,
.app-review__grid {
  display: grid;
  gap: 14px;
}

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

.app-review__field {
  display: grid;
  gap: 8px;
}

.app-review__field--full {
  grid-column: 1 / -1;
}

.app-review__field span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.app-review__field-hint {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.app-review__field input,
.app-review__field select,
.app-review__field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.app-review__field textarea {
  min-height: 108px;
}

.app-review__field--invalid span {
  color: #ffd0cf;
}

.app-review__field--invalid input,
.app-review__field--invalid select,
.app-review__field--invalid textarea {
  border-color: rgba(239, 83, 80, 0.45);
  box-shadow: 0 0 0 1px rgba(239, 83, 80, 0.18);
}

.app-review__readonly-value,
.app-review__missing-profile-area {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.app-review__readonly-value strong,
.app-review__missing-profile-area strong {
  font-size: 0.96rem;
}

.app-review__missing-profile-area {
  border-color: rgba(239, 83, 80, 0.28);
  background: rgba(239, 83, 80, 0.08);
}

.app-flow__link {
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.app-flow__link:hover,
.app-flow__link:focus-visible {
  text-decoration: underline;
}

.app-auth__code {
  letter-spacing: 0.26em;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
}

.app-publish__status.is-verified {
  border-color: rgba(107, 230, 107, 0.24);
  background: rgba(107, 230, 107, 0.08);
}

.app-publish__summary em {
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}

.app-success__link {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-success__link span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.app-success__link strong {
  font-size: 0.92rem;
  line-height: 1.4;
  word-break: break-word;
}

.app-thread-list,
.app-wallet__transactions,
.app-profile__listing-grid {
  display: grid;
  gap: 12px;
}

.app-thread-card,
.app-wallet__transaction,
.app-profile__listing-card,
.app-profile__stats article {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-thread-card.is-unread {
  background: rgba(107, 230, 107, 0.08);
  border-color: rgba(107, 230, 107, 0.28);
  box-shadow: 0 0 0 1px rgba(107, 230, 107, 0.08);
}

.app-thread-card span,
.app-wallet__transaction span,
.app-profile__listing-copy span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.app-thread-card p,
.app-thread__bubble p {
  margin: 0;
}

.app-thread-card small,
.app-thread__bubble small {
  color: var(--text-muted);
  font-size: 0.74rem;
}

.app-thread-card__unread-badge {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(107, 230, 107, 0.18);
  color: var(--accent);
  font-weight: 800;
}

.app-thread {
  display: grid;
  gap: 16px;
}

.app-thread__messages {
  display: grid;
  gap: 10px;
}

.app-thread__bubble {
  display: grid;
  gap: 6px;
  max-width: 88%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.app-thread__bubble--buyer {
  justify-self: end;
  background: rgba(107, 230, 107, 0.12);
  border-color: rgba(107, 230, 107, 0.24);
}

.app-thread__bubble--seller {
  justify-self: start;
}

.app-thread__composer {
  display: grid;
  gap: 12px;
}

.app-thread__input {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-thread__input input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
}

.app-thread__input input::placeholder {
  color: var(--text-soft);
}

.app-flow__actions--stacked {
  grid-template-columns: 1fr;
}

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

.app-flow__button--share {
  background: linear-gradient(135deg, var(--green), #9aff8f);
  color: #0f160f;
  box-shadow: var(--shadow-green);
}

.app-flow__button--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.2rem;
  box-shadow: none;
}

.app-detail__owner-card {
  display: grid;
  gap: 8px;
}

.app-detail__owner-meta,
.app-profile__listing-meta {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.app-wallet__balance {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(107, 230, 107, 0.1);
  border: 1px solid rgba(107, 230, 107, 0.24);
}

.app-wallet__balance strong {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.app-wallet__balance span {
  font-size: 1.5rem;
  font-weight: 800;
}

.app-wallet__transaction {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.app-wallet__transaction--credit em {
  color: var(--green);
}

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

.app-profile__zone-card,
.app-profile__zone-form {
  display: grid;
  gap: 14px;
}

.app-profile__zone-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.app-profile__city-suggestions {
  display: flex;
  gap: 8px;
  margin: -2px 0 0;
  overflow-x: auto;
  padding: 2px 0 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.app-profile__city-suggestions::-webkit-scrollbar {
  display: none;
}

.app-profile__city-feedback {
  display: grid;
  gap: 8px;
}

.app-profile__city-suggestion,
.app-profile__city-create {
  cursor: pointer;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(107, 230, 107, 0.16);
  background: rgba(107, 230, 107, 0.08);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.app-profile__city-suggestion {
  flex: 0 0 auto;
  scroll-snap-align: start;
  white-space: nowrap;
}

.app-profile__city-create {
  width: 100%;
  border-color: rgba(255, 180, 77, 0.24);
  background: rgba(255, 180, 77, 0.1);
}

.app-profile__stats article span {
  font-size: 1.2rem;
  font-weight: 800;
}

.app-profile__listing-card {
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: start;
}

.app-profile__listing-image {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
}

.app-profile__listing-image--placeholder {
  background:
    linear-gradient(135deg, rgba(107, 230, 107, 0.2), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
}

.app-profile__listing-copy {
  display: grid;
  gap: 6px;
}

.app-profile__listing-copy em,
.app-wallet__transaction em {
  font-style: normal;
  font-weight: 800;
}

.app-profile__listing-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-profile__lifecycle-message,
.app-profile__lifecycle-section {
  margin-top: 4px;
}

@media (max-width: 640px) {
  .app-shell {
    height: auto;
    min-height: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    overflow: visible;
  }

  .app-shell__viewport {
    height: auto;
    min-height: 0;
    overflow: visible;
    scrollbar-gutter: auto;
  }

  .app-tab-shell {
    height: auto;
    min-height: 0;
  }

  .app-tab-shell__content {
    overflow: visible;
    scrollbar-gutter: auto;
    padding-bottom: calc(var(--app-mobile-nav-height) + env(safe-area-inset-bottom, 0px));
  }

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

  .app-home {
    padding-top: 32px;
  }

  .app-flow {
    padding-top: 30px;
  }

  .app-brand-mark {
    gap: 10px;
  }

  .app-brand-mark__icon {
    width: 34px;
    height: 34px;
  }

  .app-brand-mark__copy strong {
    font-size: 0.92rem;
  }

  .app-photo-preset {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .app-review__top,
  .app-review__grid {
    grid-template-columns: 1fr;
  }

  .app-tab-shell__nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    min-height: var(--app-mobile-nav-height);
    gap: 2px;
    padding-left: 6px;
    padding-right: 6px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .app-tab-shell__nav-item {
    min-width: 0;
    min-height: 50px;
    padding: 8px 1px;
    font-size: 0.62rem;
  }

  .app-tab-shell__nav-label {
    width: 100%;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    letter-spacing: -0.01em;
  }

  .app-tab-shell__nav-badge {
    position: absolute;
    top: 6px;
    right: 1px;
    min-width: 18px;
    padding: 2px 5px;
    font-size: 0.64rem;
    line-height: 1.1;
  }

  .app-profile__stats,
  .app-profile__listing-card,
  .app-wallet__transaction {
    grid-template-columns: 1fr;
  }

  .app-profile__listing-image {
    width: 100%;
    height: 160px;
  }
}

/* Share menu (bottom sheet) */
.app-share-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  animation: app-share-menu-fade 160ms ease;
}

.app-share-menu__sheet {
  width: 100%;
  max-width: 480px;
  background: #1f241f;
  border-radius: 22px 22px 0 0;
  padding: 12px 18px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  animation: app-share-menu-slide 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.app-share-menu__handle {
  display: block;
  width: 44px;
  height: 4px;
  margin: 4px auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.app-share-menu__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: #f4f6f4;
}

.app-share-menu__options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-share-menu__option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 12px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #f4f6f4;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.app-share-menu__option:hover,
.app-share-menu__option:active {
  background: rgba(255, 255, 255, 0.06);
}

.app-share-menu__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  flex: none;
}

.app-share-menu__icon--whatsapp { background: #25d366; }
.app-share-menu__icon--facebook { background: #1877f2; }
.app-share-menu__icon--instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.app-share-menu__icon--tiktok { background: #010101; }
.app-share-menu__icon--link { background: rgba(255, 255, 255, 0.14); }

.app-share-menu__cancel {
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4f6f4;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

@keyframes app-share-menu-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes app-share-menu-slide {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.app-share-menu__segmented {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.app-share-menu__seg {
  flex: 1;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgba(244, 246, 244, 0.7);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.app-share-menu__seg--active {
  background: #39a935;
  color: #ffffff;
}

.app-share-menu__hint {
  margin: 10px 2px 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(244, 246, 244, 0.55);
}

/* Country suggestion banner */
.country-banner {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 55;
  width: min(calc(100% - 32px), 420px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #1f241f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  animation: app-share-menu-fade 160ms ease;
}

.country-banner__text {
  flex: 1 1 auto;
  margin: 0;
  color: #f4f6f4;
  font-size: 13px;
  line-height: 1.4;
}

.country-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: none;
}

.country-banner__button {
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4f6f4;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.country-banner__button--primary {
  background: var(--green, #6be66b);
  color: #071607;
}

/* Buy screen market selector */
.buy-market-switch {
  display: inline-flex;
  align-self: flex-start;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.buy-market-switch button {
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.buy-market-switch button[aria-pressed='true'] {
  background: var(--green, #6be66b);
  color: #071607;
}

@media (min-width: 920px) {
  .app-shell {
    width: min(100%, 1080px);
  }

  .app-screen,
  .app-flow {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
  }

  .app-screen--home {
    max-width: none;
  }

  .app-flow--detail {
    max-width: 760px;
  }

  .app-tab-shell__nav {
    grid-template-columns: repeat(5, minmax(0, 110px));
    justify-content: center;
  }

  .app-home__recent-feed {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .app-home__featured-row {
    grid-auto-columns: 260px;
  }

  .app-flow--detail .app-detail__media,
  .app-flow--detail .app-detail__image {
    min-height: 380px;
  }
}
