:root {
  --page-bg: #f3f3f5;
  --screen-bg: #ffffff;
  --surface: #faf9fc;
  --card-bg: #ffffff;
  --text: #2f2f33;
  --muted: #7c7c85;
  --line: #e7e7eb;
  --line-strong: #d8d8de;
  --icon: #8f8f97;
  --purple: #8c63b7;
  --purple-deep: #7b54a4;
  --purple-soft: #f4eefb;
  --blue: #5f83e7;
  --blue-soft: #edf3ff;
  --gold: #f4c247;
  --orange: #eaa129;
  --orange-soft: #fff6df;
  --grey-badge: #f3f3f6;
  --grey-badge-text: #75757d;
  --art-bg: #f4f4f6;
  --phone-edge: #050505;
  --shadow: 0 24px 60px rgba(18, 18, 22, 0.16);
  --card-shadow: 0 8px 18px rgba(37, 37, 42, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--page-bg);
}

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

button {
  cursor: pointer;
}

svg {
  display: block;
}

.app-root {
  min-height: 100vh;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.screen {
  width: min(100vw, 390px);
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  background: var(--screen-bg);
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: max(14px, env(safe-area-inset-top)) 22px 8px;
  background: var(--screen-bg);
}

.status-bar__time {
  color: #111111;
  font-size: 0.92rem;
  font-weight: 700;
}

.status-bar__icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-bar__signal {
  width: 14px;
  height: 8px;
  border: 1.8px solid #232325;
  border-radius: 999px;
}

.status-bar__battery {
  position: relative;
  width: 18px;
  height: 10px;
  border: 1.8px solid #232325;
  border-radius: 6px;
}

.status-bar__battery::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 2px;
  width: 2px;
  height: 4px;
  border-radius: 999px;
  background: #232325;
}

.top-bar,
.sub-header,
.preview-header,
.detail-header,
.public-header {
  align-items: center;
  min-height: 56px;
  padding: 8px 20px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--screen-bg);
}

.top-bar {
  display: grid;
  grid-template-columns: 1fr auto;
}

.sub-header {
  display: grid;
  grid-template-columns: 32px 1fr 74px;
  gap: 8px;
}

.preview-header {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  gap: 8px;
}

.detail-header {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  gap: 8px;
}

.public-header {
  display: grid;
  grid-template-columns: 1fr auto;
}

.top-bar h1,
.sub-header h1,
.preview-header h1 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sub-header h1,
.preview-header h1 {
  text-align: center;
}

.sub-header__side,
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text);
}

.preview-header__edit,
.public-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 700;
}

.preview-header__edit {
  justify-self: start;
  color: var(--purple);
}

.public-header__brand {
  justify-self: start;
  color: var(--purple);
  font-size: 1rem;
  font-weight: 800;
}

.sub-header__spacer,
.preview-header__spacer,
.detail-header__spacer {
  width: 100%;
  min-width: 0;
}

.sub-header__text-action {
  justify-self: end;
  min-width: 74px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--purple);
  font-size: 0.94rem;
  font-weight: 700;
}

.sub-header__side svg,
.icon-button svg,
.icon-button--small svg,
.preview-header__edit svg,
.category-pill__icon svg,
.share-button__icon svg,
.visibility-badge__icon svg,
.review-type-card__icon svg,
.photo-upload__icon svg,
.visibility-option__icon svg,
.select-wrapper__icon svg,
.preview-note__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.screen-body {
  overflow-y: auto;
  background: var(--surface);
}

.screen-body--add-picker,
.screen-body--form {
  background: var(--screen-bg);
}

.screen-body--preview,
.screen-body--detail,
.screen-body--profile,
.screen-body--public-profile,
.screen-body--home,
.screen-body--discover {
  background: var(--surface);
}

.screen-body--home {
  padding-top: 0;
  background: #f7f7fa;
}

.home-screen-spacer {
  min-height: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.screen-body--discover {
  background: #ffffff;
}

.status-bar--light {
  background: #8b65a9;
}

.status-bar--light .status-bar__time {
  color: #ffffff;
}

.status-bar--light .status-bar__signal,
.status-bar--light .status-bar__battery {
  border-color: #ffffff;
}

.status-bar--light .status-bar__battery::after {
  background: #ffffff;
}

.screen-body--splash {
  background: #8b65a9;
}

.screen-body--onboarding-slides,
.screen-body--profile-setup,
.screen-body--auth {
  background: #ffffff;
}

.onboarding-splash {
  min-height: 100%;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 20px;
  padding: 40px 32px 60px;
  text-align: center;
  color: #ffffff;
}

.onboarding-splash__badge {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.onboarding-splash__badge svg {
  width: 52px;
  height: 52px;
}

.onboarding-splash h1 {
  margin: 0;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.onboarding-splash p {
  width: min(240px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 600;
}

.onboarding-slides-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 56px;
  padding: 8px 22px 12px;
  background: #ffffff;
}

.onboarding-slides-header__skip {
  padding: 0;
  border: none;
  background: transparent;
  color: var(--purple);
  font-size: 0.95rem;
  font-weight: 800;
}

.onboarding-slide {
  min-height: 100%;
  display: grid;
  align-content: space-between;
  justify-items: center;
  padding: 26px 20px 28px;
  text-align: center;
}

.onboarding-slide__art {
  width: 228px;
  height: 228px;
  display: grid;
  place-items: center;
  margin-top: 18px;
  border-radius: 50%;
}

.onboarding-slide__art--purple {
  background: #f3eefb;
}

.onboarding-slide__art--green {
  background: #eef9f0;
}

.onboarding-slide__art-icon {
  display: grid;
  place-items: center;
}

.onboarding-slide__art-icon--purple {
  color: var(--purple);
}

.onboarding-slide__art-icon--green {
  color: #58cb68;
}

.onboarding-slide__art-icon svg {
  width: 94px;
  height: 94px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.onboarding-slide__copy {
  display: grid;
  gap: 14px;
  width: 100%;
  margin-top: 42px;
}

.onboarding-slide__copy h1 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.onboarding-slide__copy p {
  width: min(310px, 100%);
  margin: 0 auto;
  color: #6f6f76;
  font-size: 0.97rem;
  line-height: 1.5;
  font-weight: 600;
}

.onboarding-slide__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.onboarding-slide__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d2d2d8;
}

.onboarding-slide__dot.is-active {
  background: var(--purple);
}

.profile-setup-form {
  display: grid;
  gap: 22px;
  padding: 18px 20px 28px;
}

.profile-setup-photo {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-top: 10px;
}

.profile-setup-photo__button {
  position: relative;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 2px dashed #d8d8de;
  border-radius: 50%;
  color: #8f8f97;
  background: #ffffff;
  overflow: hidden;
}

.profile-setup-photo__button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.profile-setup-photo__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-setup-photo__preview {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.profile-setup-photo__label {
  color: #8a8a91;
  font-size: 0.92rem;
  font-weight: 500;
}

.auth-screen {
  display: grid;
  gap: 22px;
  padding: 24px 20px 28px;
}

.auth-screen__hero {
  display: grid;
  gap: 18px;
  padding: 22px 18px;
  border: 1px solid #ece8f5;
  border-radius: 24px;
  background: linear-gradient(180deg, #fbf8ff 0%, #ffffff 100%);
}

.auth-screen__badge {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(71, 56, 92, 0.08);
}

.auth-screen__badge svg {
  width: 34px;
  height: 34px;
}

.auth-screen__copy {
  display: grid;
  gap: 10px;
}

.auth-screen__copy h1 {
  margin: 0;
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.auth-screen__copy p {
  margin: 0;
  color: #6f6f76;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.52;
}

.auth-screen__benefits {
  display: grid;
  gap: 12px;
}

.auth-screen__benefit {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #ece8f5;
  border-radius: 18px;
  background: #ffffff;
}

.auth-screen__benefit strong {
  font-size: 0.95rem;
  font-weight: 800;
}

.auth-screen__benefit span,
.auth-screen__status,
.auth-screen__footnote,
.auth-screen__error {
  color: #6f6f76;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.auth-screen__status,
.auth-screen__error {
  padding: 12px 14px;
  border-radius: 16px;
}

.auth-screen__status {
  background: #f6f4fa;
  color: #5e5c68;
}

.auth-screen__error {
  background: #fff3f2;
  color: #a34941;
}

.auth-screen__footnote {
  margin: 0;
  text-align: center;
}

.auth-google-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-color: #e8e4ef;
}

.auth-skip-button:disabled,
.auth-google-button:disabled {
  opacity: 0.66;
}

.auth-google-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-google-button__icon svg {
  width: 22px;
  height: 22px;
}

.text-area--setup {
  min-height: 116px;
}

.filters {
  display: flex;
  gap: 10px;
  padding: 10px 14px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--screen-bg);
  overflow-x: auto;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid #d4d4db;
  border-radius: 999px;
  background: #ffffff;
  color: #67676f;
  font-size: 0.92rem;
  font-weight: 600;
}

.filter-chip.is-active {
  border-color: transparent;
  background: var(--purple);
  color: #ffffff;
}

.discovery-controls {
  display: grid;
  gap: 10px;
  padding: 0 14px 8px;
}

.discovery-search {
  width: 100%;
}

.discovery-search .text-input {
  min-height: 44px;
  border-color: #e5e0ee;
  background: #fcfbfe;
}

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

.discovery-select {
  flex: 1 1 auto;
}

.discovery-clear {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #ddd7e8;
  border-radius: 12px;
  background: #ffffff;
  color: #6f5a88;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.discovery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.discovery-tag {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid #e2dbea;
  border-radius: 999px;
  background: #f8f5fc;
  color: #765f91;
  font-size: 0.82rem;
  font-weight: 700;
}

.discovery-tag.is-active {
  border-color: transparent;
  background: var(--purple);
  color: #ffffff;
}

.discovery-meta {
  color: #8b8894;
  font-size: 0.82rem;
  font-weight: 600;
}

.home-hero {
  padding: 16px 16px 14px;
  background: #ffffff;
  color: var(--text);
}

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

.home-hero__identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
}

.home-hero__avatar {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  margin: 0;
  border: 4px solid #ffffff;
  background: linear-gradient(135deg, #8c63b7 0%, #996ec4 100%);
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(80, 64, 112, 0.14);
}

.home-hero__avatar--image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: transparent;
}

.home-hero__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-hero__action {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: #f4f4f6;
  color: #787881;
}

.home-hero__action svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-hero__copy {
  min-width: 0;
}

.home-hero__copy p {
  margin: 0;
  color: #7e7e85;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.05;
}

.home-hero__copy h1 {
  margin: 8px 0 0;
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.home-hero__bell-dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 8px;
  height: 8px;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  background: #df3f31;
}

.home-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.home-stat-card {
  min-height: 78px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 10px 8px;
  border: 1.5px solid #ece6f7;
  border-radius: 20px;
  background: #fbf9fe;
}

.home-stat-card strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.home-stat-card span:last-child {
  display: block;
  margin-top: 8px;
  color: #75757d;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
}

.home-stat-card--purple {
  border-color: #e4d8f3;
  background: #f8f4fd;
}

.home-stat-card--purple strong {
  color: #8356aa;
}

.home-stat-card--blue {
  border-color: #cfe0ff;
  background: #f2f7ff;
}

.home-stat-card--blue strong {
  color: #4e80ea;
}

.home-stat-card--gold {
  border-color: #f4da8c;
  background: #fff9e8;
}

.home-stat-card--gold strong {
  color: #f0a000;
}

.home-stat-card--green {
  border-color: #bcefd6;
  background: #eefcf4;
}

.home-stat-card--green strong {
  color: #0d966d;
}

.home-filter-bar {
  display: flex;
  gap: 12px;
  padding: 14px 16px 16px;
  overflow-x: auto;
  border-top: 1px solid #ececf0;
  border-bottom: 1px solid #ececf0;
  background: #ffffff;
  scrollbar-width: none;
}

.home-filter-bar::-webkit-scrollbar {
  display: none;
}

.home-filter-chip {
  flex: 0 0 auto;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border: 2px solid #ece8f3;
  border-radius: 999px;
  background: #ffffff;
  color: #232327;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.home-filter-chip__icon {
  display: inline-grid;
  place-items: center;
  color: currentColor;
}

.home-filter-chip__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-filter-chip.is-active {
  border-color: transparent;
  background: var(--purple);
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(140, 99, 183, 0.18);
}

.home-trending {
  padding: 12px 14px calc(22px + env(safe-area-inset-bottom));
}

.home-trending__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.home-trending__title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.home-trending__title h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.home-trending__title-icon,
.home-review-card__verified,
.home-review-card__location-icon,
.home-review-card__metric-icon {
  display: inline-grid;
  place-items: center;
  color: currentColor;
}

.home-trending__title-icon {
  color: var(--purple);
}

.home-trending__title-icon svg,
.home-review-card__verified svg,
.home-review-card__location-icon svg,
.home-review-card__metric-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-trending__see-all {
  padding: 0;
  border: none;
  background: transparent;
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 700;
}

.home-trending__list {
  display: grid;
  gap: 12px;
}

.home-review-card {
  padding: 14px 12px 12px;
  border: 1px solid #ececf0;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(37, 37, 42, 0.08);
  cursor: pointer;
}

.home-review-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.home-review-card__author {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.home-review-card__avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #bb9adf;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
}

.home-review-card__author-copy {
  min-width: 0;
}

.home-review-card__author-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-review-card__author-line strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.home-review-card__verified {
  color: #3f7ff0;
}

.home-review-card__meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  color: #777780;
  font-size: 0.72rem;
  font-weight: 500;
}

.home-review-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4d4da;
}

.home-review-card__location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.home-review-card__location-icon svg {
  width: 13px;
  height: 13px;
}

.home-review-card__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.home-review-card__category {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin-top: 12px;
  padding: 0 10px;
  border: 1.5px solid #e8ddf6;
  border-radius: 999px;
  background: #f8f4fd;
  color: #7c59a6;
  font-size: 0.76rem;
  font-weight: 700;
}

.home-review-card__category-icon {
  display: inline-grid;
  place-items: center;
  color: currentColor;
}

.home-review-card__category-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-review-card h3 {
  margin: 12px 0 8px;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.home-review-card__rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.home-review-card__rating .stars {
  gap: 4px;
}

.home-review-card__rating strong {
  font-size: 0.84rem;
  font-weight: 800;
}

.home-review-card__rating span:last-child {
  color: #7a7a82;
  font-size: 0.74rem;
  font-weight: 600;
}

.home-review-card__summary {
  margin: 10px 0 0;
  color: #4f4f57;
  font-size: 0.8rem;
  line-height: 1.42;
}

.home-review-card__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.home-review-card__media-tile {
  position: relative;
  min-height: 136px;
  border-radius: 16px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.home-review-card__media-more {
  position: absolute;
  right: 8px;
  bottom: 8px;
  min-width: 38px;
  min-height: 28px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  border-radius: 10px;
  background: rgba(78, 61, 18, 0.42);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
}

.home-review-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.home-review-card__metric {
  min-height: 46px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  padding: 6px 4px;
  border: 1px solid #eee9f5;
  border-radius: 12px;
  background: #faf8fd;
  text-align: center;
}

.home-review-card__metric strong {
  font-size: 0.76rem;
  font-weight: 800;
}

.home-review-card__metric span:last-child {
  color: #797983;
  font-size: 0.58rem;
  font-weight: 700;
}

.home-review-card__metric-icon {
  color: var(--purple);
}

.home-review-card__metric-icon svg {
  width: 12px;
  height: 12px;
}

.home-review-card .visibility-badge {
  min-height: 22px;
  padding: 0 7px;
  font-size: 0.68rem;
}

.home-review-card .visibility-badge__icon svg {
  width: 12px;
  height: 12px;
}

.home-review-card .icon-button--small {
  width: 24px;
  height: 24px;
}

.home-review-card .icon-button--small svg {
  width: 16px;
  height: 16px;
}

.home-trending__empty {
  margin-top: 2px;
}

.discover-intro {
  padding: 18px 18px 22px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.discover-intro h1 {
  margin: 0;
  font-size: 1.68rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.discover-intro p {
  margin: 10px 0 0;
  color: #73737c;
  font-size: 0.9rem;
  line-height: 1.42;
  font-weight: 500;
}

.discover-section {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f3;
  background: #ffffff;
}

.discover-section--chips {
  padding-top: 12px;
  padding-bottom: 12px;
}

.discover-type-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 20px;
  background: #f3f3f5;
}

.discover-type-tab {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  border: none;
  border-radius: 16px;
  background: transparent;
  color: #84848c;
  font-size: 0.88rem;
  font-weight: 700;
}

.discover-type-tab.is-active {
  background: var(--purple);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(140, 99, 183, 0.18);
}

.discover-type-tab__icon,
.discover-searchbar__icon,
.discover-searchbar__clear,
.discover-results__action-icon,
.discover-card__source-icon,
.discover-card__category-icon,
.discover-card__verified,
.discover-empty-state__art-icon,
.discover-empty-state__primary-icon {
  display: inline-grid;
  place-items: center;
  color: currentColor;
}

.discover-type-tab__icon svg,
.discover-searchbar__icon svg,
.discover-searchbar__clear svg,
.discover-results__action-icon svg,
.discover-card__source-icon svg,
.discover-card__category-icon svg,
.discover-card__verified svg,
.discover-empty-state__art-icon svg,
.discover-empty-state__primary-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.discover-category-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.discover-category-strip::-webkit-scrollbar {
  display: none;
}

.discover-category-chip {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 22px;
  border: 2px solid #eadff6;
  border-radius: 999px;
  background: #ffffff;
  color: var(--purple);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.discover-category-chip.is-active {
  border-color: transparent;
  background: var(--purple);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(140, 99, 183, 0.16);
}

.discover-searchbar {
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: #f3f3f5;
}

.discover-searchbar.is-active {
  border-color: var(--purple);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(140, 99, 183, 0.08);
}

.discover-searchbar__icon {
  color: #8a8a91;
}

.discover-searchbar__input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #1f1f24;
  font-size: 0.9rem;
  font-weight: 600;
  outline: none;
}

.discover-searchbar__input::placeholder {
  color: #8a8a91;
  font-weight: 500;
}

.discover-searchbar__clear {
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: #8a8a91;
}

.discover-results {
  padding: 16px 16px calc(22px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #fcfcfd 0%, #f7f7f9 100%);
}

.discover-results__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.discover-results__copy h2 {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.discover-results__copy p {
  margin: 6px 0 0;
  color: #7d7d85;
  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 500;
}

.discover-results__action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--purple);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.discover-results__action-icon svg {
  width: 18px;
  height: 18px;
}

.discover-results__list {
  display: grid;
  gap: 12px;
}

.feed__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.discover-count {
  color: #8b8894;
  font-size: 0.84rem;
  font-weight: 700;
}

.feed {
  padding: 12px 14px 20px;
}

.feed--profile,
.feed--public {
  padding-top: 14px;
}

.feed h2 {
  margin: 0 0 14px;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.feed__list {
  display: grid;
  gap: 14px;
}

.feed-empty-state,
.placeholder-card {
  padding: 24px 18px;
  border: 1px solid #ededf1;
  border-radius: 18px;
  background: var(--card-bg);
  text-align: center;
  box-shadow: var(--card-shadow);
}

.feed-empty-state h3,
.placeholder-card h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.feed-empty-state p,
.placeholder-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.discover-loading-state {
  padding: 28px 20px;
}

.discover-card {
  padding: 14px 14px 14px;
  border: 1px solid #ededf1;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(37, 37, 42, 0.06);
  cursor: pointer;
}

.discover-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.discover-card__author-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.discover-card__avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--discover-avatar-bg, #8c63b7);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 8px 14px rgba(57, 57, 66, 0.1);
}

.discover-card__author-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.discover-card__author-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.discover-card__author-line strong {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discover-card__verified {
  width: 22px;
  height: 22px;
  color: #3f7ff0;
}

.discover-card__verified svg {
  stroke-width: 2.2;
}

.discover-card__age {
  padding-top: 2px;
  color: #777780;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}

.discover-card__source {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.discover-card__source span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discover-card__source--public {
  background: #dceafe;
  color: #2358c8;
}

.discover-card__source--contact {
  background: #dff6e8;
  color: #0d946b;
}

.discover-card__source--you {
  background: #eee7fa;
  color: #7f5da7;
}

.discover-card__source-icon svg {
  width: 16px;
  height: 16px;
}

.discover-card__category {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  margin-top: 14px;
  padding: 0 12px;
  border: 1.5px solid #e8ddf6;
  border-radius: 999px;
  background: #f8f4fd;
  color: #7c59a6;
  font-size: 0.82rem;
  font-weight: 700;
}

.discover-card__category-icon svg {
  width: 16px;
  height: 16px;
}

.discover-card h3 {
  margin: 16px 0 10px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.discover-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.discover-card__rating .stars {
  gap: 4px;
}

.discover-card__rating span {
  font-size: 0.88rem;
  font-weight: 700;
}

.discover-card__summary {
  margin: 12px 0 0;
  color: #52525a;
  font-size: 0.88rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.discover-card__media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.discover-card__media-tile {
  position: relative;
  min-height: 90px;
  border-radius: 14px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.discover-card__media-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  background: rgba(22, 22, 26, 0.18);
}

.discover-empty-state {
  padding: 12px 0 0;
  text-align: center;
}

.discover-empty-state__art {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 6px solid #ffffff;
  border-radius: 50%;
  background: #f3eefb;
  box-shadow: 0 14px 28px rgba(140, 99, 183, 0.1);
}

.discover-empty-state__art-icon {
  color: var(--purple);
}

.discover-empty-state__art-icon svg {
  width: 54px;
  height: 54px;
  stroke-width: 1.8;
}

.discover-empty-state h3 {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.discover-empty-state p {
  width: min(310px, 100%);
  margin: 10px auto 0;
  color: #7b7b84;
  font-size: 0.86rem;
  line-height: 1.42;
}

.discover-empty-state__primary,
.discover-empty-state__secondary {
  width: min(560px, 100%);
  min-height: 52px;
  margin: 18px auto 0;
  border-radius: 16px;
  font-size: 0.92rem;
  font-weight: 800;
}

.discover-empty-state__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: none;
  background: linear-gradient(90deg, #885daf 0%, #a56dc8 100%);
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(140, 99, 183, 0.18);
}

.discover-empty-state__primary-icon svg {
  width: 18px;
  height: 18px;
}

.discover-empty-state__secondary {
  border: 2px solid #eadff6;
  background: #ffffff;
  color: var(--purple);
}

.review-card {
  padding: 14px;
  border: 1px solid #ededf1;
  border-radius: 18px;
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}

.review-card.is-clickable {
  cursor: pointer;
}

.review-card.is-featured {
  border-color: #e3daf0;
  box-shadow: 0 10px 24px rgba(140, 99, 183, 0.1);
}

.review-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.avatar,
.profile-avatar,
.home-hero__avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #bb9adf;
  color: #ffffff;
  font-weight: 700;
}

.avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  font-size: 0.96rem;
}

.profile-avatar {
  width: 74px;
  height: 74px;
  margin: 0 auto;
  font-size: 2rem;
}

.profile-avatar--image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: transparent;
}

.review-card__author-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.review-card__author-copy strong {
  font-size: 0.96rem;
  font-weight: 700;
}

.review-card__author-copy span {
  color: var(--muted);
  font-size: 0.86rem;
}

.review-card__header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.visibility-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.visibility-badge.is-public {
  background: var(--blue-soft);
  color: var(--blue);
}

.visibility-badge.is-contacts {
  background: var(--orange-soft);
  color: var(--orange);
}

.visibility-badge.is-private {
  background: var(--grey-badge);
  color: var(--grey-badge-text);
}

.visibility-badge__icon,
.category-pill__icon,
.share-button__icon,
.review-type-card__icon,
.photo-upload__icon,
.visibility-option__icon,
.select-wrapper__icon,
.preview-note__icon {
  display: inline-grid;
  place-items: center;
  color: currentColor;
}

.visibility-badge__icon svg,
.category-pill__icon svg,
.share-button__icon svg,
.preview-note__icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

.icon-button--small {
  width: 24px;
  height: 24px;
  color: #9a9aa2;
}

.icon-button--small svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.category-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  margin-top: 12px;
  padding: 0 11px;
  border-radius: 999px;
  background: #f3f3f5;
  color: #66666d;
  font-size: 0.84rem;
  font-weight: 600;
}

.review-card__source {
  width: fit-content;
  margin-top: 12px;
  padding: 0 10px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.review-card__source--public {
  background: #edf4ff;
  color: #5379c5;
}

.review-card__source--contact {
  background: #fff2df;
  color: #c4841f;
}

.review-card__source--you {
  background: #eef7f0;
  color: #43845f;
}

.review-card h3 {
  margin: 14px 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stars,
.rating-row {
  display: flex;
  gap: 2px;
}

.star {
  color: #e2e2e7;
  font-size: 1.18rem;
  line-height: 1;
}

.star.is-filled {
  color: var(--gold);
}

.review-card__summary {
  margin: 12px 0 14px;
  color: #3f3f45;
  font-size: 0.95rem;
  line-height: 1.45;
}

.review-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.review-card__meta span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #f7f3fb;
  color: #6e5b83;
  font-size: 0.82rem;
  font-weight: 700;
}

.review-card__link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  color: var(--purple);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.review-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.review-tag {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #f2f2f5;
  color: #66666d;
  font-size: 0.8rem;
  font-weight: 700;
}

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

.media-placeholder {
  height: 106px;
  border-radius: 10px;
  background: var(--art-bg);
}

.media-placeholder--image {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.review-card__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.share-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: transparent;
  color: #5d5d63;
  font-size: 0.95rem;
  font-weight: 600;
}

.bottom-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 8px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--screen-bg);
}

.bottom-nav--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nav-item {
  display: grid;
  grid-template-rows: 24px 16px;
  justify-items: center;
  align-content: center;
  gap: 4px;
  min-height: 48px;
  padding: 4px 4px;
  border: none;
  background: transparent;
  color: var(--icon);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1;
}

.nav-item__icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
}

.nav-item__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-item__label {
  width: 100%;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
  text-overflow: clip;
}

.nav-item.is-active {
  color: var(--purple);
  font-weight: 700;
}

.add-intro {
  padding: 184px 28px 28px;
}

.add-intro h2 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.review-type-list {
  display: grid;
  gap: 16px;
  padding: 0 28px 32px;
}

.review-type-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 86px;
  padding: 0 18px;
  border: 1.4px solid #d5d5db;
  border-radius: 16px;
  background: #ffffff;
  text-align: left;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.review-type-card__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--purple-soft);
  color: var(--purple);
}

.review-type-card__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-type-card__copy strong {
  font-size: 0.98rem;
  font-weight: 800;
}

.review-type-card__copy span {
  color: #67676d;
  font-size: 0.92rem;
  font-weight: 500;
}

.review-form {
  display: grid;
  gap: 18px;
  padding: 12px 20px 28px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field__label {
  color: #48484d;
  font-size: 0.92rem;
  font-weight: 700;
}

.text-input,
.text-area,
.select-wrapper {
  width: 100%;
}

.text-input,
.text-area {
  border: 1.4px solid var(--line-strong);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  font-size: 0.96rem;
}

.text-input {
  min-height: 42px;
  padding: 0 14px;
}

.text-input::placeholder,
.text-area::placeholder {
  color: #9a9aa2;
}

.select-wrapper {
  position: relative;
}

.text-input--select {
  appearance: none;
  padding-right: 42px;
}

.select-wrapper__icon {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: #8f8f96;
  pointer-events: none;
}

.select-wrapper__icon svg {
  width: 18px;
  height: 18px;
}

.text-area {
  min-height: 150px;
  padding: 12px 14px;
  resize: none;
  line-height: 1.45;
}

.character-count {
  justify-self: end;
  color: #9898a0;
  font-size: 0.82rem;
}

.field-hint {
  color: #94949b;
  font-size: 0.82rem;
  line-height: 1.35;
}

.star-button {
  padding: 0;
  border: none;
  background: transparent;
  color: #dddde3;
  font-size: 2rem;
  line-height: 1;
}

.star-button.is-filled {
  color: var(--gold);
}

.photo-row {
  display: flex;
  gap: 12px;
}

.photo-upload {
  position: relative;
  width: 90px;
  height: 90px;
  display: inline-grid;
  place-items: center;
  border: 1.6px dashed #d0d0d7;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  color: #9b9ba2;
}

.photo-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.photo-upload__icon svg {
  width: 26px;
  height: 26px;
}

.photo-upload__preview {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.visibility-list {
  display: grid;
  gap: 12px;
}

.visibility-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 0 16px;
  border: 1.5px solid #d6d6dc;
  border-radius: 16px;
  background: #ffffff;
  color: #4a4a50;
  text-align: left;
}

.visibility-option.is-selected {
  border-color: var(--orange);
  background: var(--orange-soft);
}

.visibility-option__icon {
  width: 24px;
  height: 24px;
  color: #7c7c82;
}

.visibility-option__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.visibility-option__copy strong {
  font-size: 0.98rem;
  font-weight: 800;
}

.visibility-option__copy span {
  color: #6d6d73;
  font-size: 0.9rem;
  font-weight: 500;
}

.visibility-option__radio {
  width: 22px;
  height: 22px;
  border: 2px solid #d0d0d6;
  border-radius: 50%;
  background: #ffffff;
}

.visibility-option__radio.is-selected {
  border-color: var(--orange);
  box-shadow: inset 0 0 0 5px var(--orange);
}

.preview-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 16px 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--purple-soft);
  color: #5c5c63;
  font-size: 0.95rem;
  font-weight: 600;
}

.preview-card-shell,
.detail-card-shell {
  padding: 0 14px 20px;
}

.public-review-stack {
  display: grid;
  gap: 10px;
}

.review-engagement {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #ece6f6;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(43, 33, 61, 0.06);
}

.review-engagement--compact {
  margin-top: -2px;
}

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

.review-engagement__stat {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 10px 8px;
  border-radius: 14px;
  background: #faf8fd;
  color: #646470;
  text-align: center;
}

.review-engagement__stat strong {
  color: #22222a;
  font-size: 0.98rem;
  font-weight: 800;
}

.review-engagement__stat span:last-child {
  font-size: 0.76rem;
  font-weight: 700;
}

.review-engagement__stat-icon,
.review-engagement__button-icon {
  display: inline-grid;
  place-items: center;
  color: currentColor;
}

.review-engagement__stat-icon svg,
.review-engagement__button-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.review-engagement__button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #ddd7ea;
  border-radius: 999px;
  background: #ffffff;
  color: #5d5d67;
  font-size: 0.9rem;
  font-weight: 700;
}

.review-engagement__button.is-active {
  border-color: rgba(127, 83, 181, 0.22);
  background: rgba(127, 83, 181, 0.12);
  color: var(--purple);
}

.profile-hero,
.public-profile-hero {
  padding: 6px 20px 18px;
  background: #f7f4fb;
  text-align: center;
}

.profile-hero h2,
.public-profile-hero h2 {
  margin: 12px 0 6px;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.profile-link {
  padding: 0;
  border: none;
  background: transparent;
  color: var(--purple);
  font-size: 1rem;
  font-weight: 600;
}

.profile-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.profile-quick-action {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #ddd7e8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--purple);
  font-size: 0.9rem;
  font-weight: 700;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.profile-stat {
  display: grid;
  gap: 4px;
  text-align: center;
}

.profile-stat strong {
  color: var(--purple);
  font-size: 1.06rem;
  font-weight: 800;
}

.profile-stat span,
.public-profile-hero p {
  color: #5e5e65;
  font-size: 0.92rem;
}

.public-profile-hero p {
  margin: 0;
  font-weight: 500;
}

.public-viewer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-top: 12px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(140, 99, 183, 0.12);
  color: var(--purple);
  font-size: 0.84rem;
  font-weight: 700;
}

.public-viewer-note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: #66666d;
  font-size: 0.88rem;
  line-height: 1.45;
}

.profile-visibility-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--screen-bg);
}

.profile-visibility-bar > span {
  color: #5f5f66;
  font-size: 0.95rem;
  font-weight: 500;
}

.segmented-filter {
  display: inline-flex;
  flex-wrap: wrap;
  padding: 3px;
  border-radius: 10px;
  background: #efeff3;
}

.segmented-filter__item {
  min-width: 62px;
  min-height: 32px;
  padding: 0 14px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #5f5f66;
  font-size: 0.92rem;
  font-weight: 700;
}

.segmented-filter__item.is-active {
  background: var(--purple);
  color: #ffffff;
}

.screen-footer {
  padding: 12px 18px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.screen-footer--stacked {
  display: grid;
  gap: 12px;
}

.screen-cta {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
}

.screen-cta--secondary {
  border: 1.5px solid var(--line-strong);
  background: #ffffff;
  color: var(--text);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(34, 34, 38, 0.92);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 18px 32px rgba(18, 18, 22, 0.2);
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(20, 20, 24, 0.28);
}

.sheet {
  width: min(100%, 390px);
  padding: 12px 16px 18px;
  border-radius: 24px 24px 18px 18px;
  background: #ffffff;
  box-shadow: 0 22px 50px rgba(15, 15, 20, 0.18);
}

.sheet--tall {
  max-height: min(78vh, 760px);
  overflow-y: auto;
}

.sheet__handle {
  width: 42px;
  height: 5px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #d9d9df;
}

.sheet__header {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  text-align: center;
}

.sheet__header strong {
  font-size: 1rem;
  font-weight: 800;
}

.sheet__header span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.sheet-form {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.sheet-note {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f6f3fb;
  color: #64646b;
  font-size: 0.9rem;
  line-height: 1.45;
}

.contacts-list,
.contact-selector {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.contact-row,
.contact-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #ece8f4;
  border-radius: 16px;
  background: #faf9fc;
  text-align: left;
}

.contact-option {
  width: 100%;
  background: #ffffff;
  grid-template-columns: auto 1fr;
}

.contact-option.is-selected {
  border-color: #c9b3e0;
  background: #f7f1fc;
}

.contact-row__avatar,
.contact-option__avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #bb9adf;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-row__copy,
.contact-option__copy {
  display: grid;
  gap: 3px;
}

.contact-row__copy strong,
.contact-option__copy strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-row__copy span,
.contact-option__copy span {
  color: #75757c;
  font-size: 0.86rem;
}

.contact-row__remove {
  padding: 0;
  border: none;
  background: transparent;
  color: #b25151;
  font-size: 0.88rem;
  font-weight: 700;
}

.sheet-share-card {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #ece8f4;
  border-radius: 18px;
  background: #faf9fc;
}

.sheet-share-card strong {
  font-size: 1rem;
  font-weight: 800;
}

.sheet-share-card span:last-child {
  color: #66666d;
  font-size: 0.9rem;
  line-height: 1.45;
}

.sheet-share-card__badge {
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.sheet-share-card__badge.is-public {
  background: var(--blue-soft);
  color: var(--blue);
}

.sheet-share-card__badge.is-contacts {
  background: var(--orange-soft);
  color: var(--orange);
}


.sheet__action {
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  border: none;
  border-radius: 14px;
  background: var(--purple);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
}

.sheet__action--secondary {
  background: #f3f3f6;
  color: #55555c;
}

.sheet__action--danger {
  background: #fff1f1;
  color: #c04949;
}

.sheet__action--whatsapp {
  background: #22c35e;
  color: #ffffff;
}

@media (min-width: 640px) {
  .app-shell {
    padding: 20px;
  }

  .screen {
    min-height: 844px;
    max-height: 844px;
    border: 8px solid var(--phone-edge);
    border-radius: 36px;
    overflow: hidden;
    box-shadow: var(--shadow);
  }
}
