/* UrbanCity — public pages (link page + forms) */

:root {
  --primary: #1E4636;
  --accent: #C9A24E;
  --bg: #F5F2EA;
  --text: #1B2722;
  --surface: #FFFEFB;
  --primary-deep: color-mix(in srgb, var(--primary) 72%, #000);
  --primary-soft: color-mix(in srgb, var(--primary) 7%, #fff);
  --accent-light: color-mix(in srgb, var(--accent) 52%, #fff);
  --accent-deep: color-mix(in srgb, var(--accent) 78%, #000);
  --muted: color-mix(in srgb, var(--text) 60%, #fff);
  --placeholder: color-mix(in srgb, var(--text) 45%, #fff);
  --line: color-mix(in srgb, var(--text) 11%, transparent);
  --line-strong: color-mix(in srgb, var(--text) 20%, transparent);
  --field: color-mix(in srgb, var(--text) 4.5%, #fff);
  --danger: #C4321F;
  --font-head: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23727a76' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.lang-ar { --font-head: 'El Messiri', 'Tajawal', serif; --font-body: 'Tajawal', system-ui, sans-serif; }
.lang-hi { --font-head: 'Noto Serif Devanagari', serif; --font-body: 'Hind', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 42%),
    radial-gradient(circle at 105% 110%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 48%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.ic { width: 20px; height: 20px; flex: none; }
[hidden] { display: none !important; }

/* ---------- shell ---------- */
.shell {
  position: relative;
  max-width: 520px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 600px) {
  body { padding: 36px 16px; }
  .shell {
    min-height: calc(100vh - 72px);
    border-radius: 30px;
    box-shadow: 0 40px 90px -40px rgba(12, 32, 24, .45), 0 0 0 1px rgba(0, 0, 0, .04);
  }
}

/* ---------- cover ---------- */
.cover {
  position: relative;
  height: 236px;
  background: var(--primary) var(--cover) center / cover no-repeat;
}
.cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .30) 0%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, .10) 100%);
  pointer-events: none;
}
.cover-bar {
  position: absolute;
  inset: 16px 16px auto;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cover-actions { display: flex; gap: 10px; margin-inline-start: auto; }

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 92%, transparent);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent), 0 10px 24px -10px rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px);
  transition: transform .2s, background .2s;
}
[dir="rtl"] .pill-btn { padding: 0 16px 0 20px; }
.pill-btn .ic { color: var(--accent-light); }
[dir="rtl"] .pill-btn .ic { transform: scaleX(-1); }
.pill-btn:hover { transform: translateY(-1px); background: var(--primary); }

.round-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45);
  transition: transform .2s;
}
.round-btn:hover { transform: translateY(-1px); }
.round-btn--soft { box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .25), 0 0 0 1px var(--line); }

.lang-switch {
  display: flex;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .30);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lang-switch a {
  min-width: 36px;
  height: 32px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  transition: background .2s, color .2s;
}
.lang-switch a[lang="ar"] { font-family: 'Tajawal', system-ui, sans-serif; font-size: 15px; }
.lang-switch a:hover { background: rgba(255, 255, 255, .14); }
.lang-switch a.is-active { background: #fff; color: var(--primary); }
.lang-switch--light { background: #fff; border-color: var(--line); backdrop-filter: none; }
.lang-switch--light a { color: var(--muted); }
.lang-switch--light a:hover { background: var(--primary-soft); }
.lang-switch--light a.is-active { background: var(--primary); color: #fff; }

/* ---------- profile ---------- */
.profile { position: relative; z-index: 2; text-align: center; padding: 0 24px; }
.avatar {
  width: 140px;
  height: 140px;
  margin: -74px auto 0;
  padding: 4px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--accent-light), var(--accent), var(--accent-deep), var(--accent), var(--accent-light));
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .45);
  animation: pop .7s cubic-bezier(.2, .8, .2, 1) both;
}
.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  background: #fff;
}
.profile-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: .01em;
  margin: 16px 0 10px;
  color: var(--primary-deep);
  animation: rise .6s .08s both;
}
.lang-ar .profile-name, .lang-hi .profile-name { font-size: 31px; letter-spacing: 0; }
.title-badge {
  display: inline-block;
  margin: 0;
  padding: 7px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent) 60%, var(--accent-deep) 140%);
  color: #2A200C;
  font-weight: 600;
  font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 8px 18px -10px var(--accent-deep);
  animation: rise .6s .14s both;
}
.title-badge--sm { padding: 3px 12px; font-size: 12px; animation: none; }
.profile-location {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 18px 0 0;
  font-size: 15.5px;
  color: var(--muted);
  animation: rise .6s .2s both;
}
.profile-location .ic { width: 18px; height: 18px; color: var(--accent-deep); }
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 30px;
  margin: 22px 0 2px;
}
.badges img { display: block; max-height: 48px; max-width: 130px; object-fit: contain; }
.profile-bio {
  max-width: 40ch;
  margin: 16px auto 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
  animation: rise .6s .26s both;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 26px 0 4px;
  animation: rise .6s .32s both;
}
.social {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
}
.social .ic { width: 23px; height: 23px; }
.social:hover { transform: translateY(-3px); }
.socials--theme .social {
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--primary) 80%, #fff), var(--primary) 55%, var(--primary-deep));
  color: var(--accent-light);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent), 0 10px 20px -12px var(--primary-deep);
}
.socials--brand .social { background: var(--brand-bg); color: var(--brand-fg); box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .5); }

/* ---------- action buttons ---------- */
.actions { display: grid; gap: 16px; padding: 30px 20px 6px; position: relative; z-index: 2; }
.action { position: relative; animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 90ms + 380ms); }
.action-link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 70px;
  padding: 10px;
  padding-inline-end: 58px;
  border-radius: 999px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  box-shadow: 0 16px 32px -18px var(--primary-deep), inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent);
  transition: transform .2s, box-shadow .2s;
}
.action-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .13) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 1s ease;
}
.action-link:hover { transform: translateY(-2px); box-shadow: 0 22px 36px -18px var(--primary-deep), inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.action-link:hover::before { transform: translateX(120%); }
.action-icon {
  flex: 0 0 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--accent-light);
  color: var(--accent-light);
}
.action-icon .ic { width: 22px; height: 22px; }
.action-label { flex: 1; text-align: center; font-weight: 600; font-size: 17.5px; letter-spacing: .01em; padding: 0 6px; }
.action-more {
  position: absolute;
  top: 50%;
  inset-inline-end: 8px;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
}
.action-more:hover, .action-more[aria-expanded="true"] { background: rgba(255, 255, 255, .12); }

.menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 10px;
  z-index: 30;
  min-width: 220px;
  padding: 6px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 44px -14px rgba(0, 0, 0, .32), 0 0 0 1px rgba(0, 0, 0, .05);
  animation: rise .18s both;
}
.menu > * {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  font-size: 14.5px;
  color: var(--text);
  text-decoration: none;
  text-align: start;
  cursor: pointer;
}
.menu > *:hover { background: var(--primary-soft); }
.menu .ic { width: 18px; height: 18px; color: var(--primary); }

/* ---------- footer ---------- */
.site-footer { margin-top: auto; padding-top: 34px; position: relative; }
.skyline { display: block; width: 100%; height: 150px; }
.skyline--footer { color: color-mix(in srgb, var(--primary) 20%, transparent); }
.skyline--footer .clouds { color: color-mix(in srgb, var(--primary) 12%, transparent); }
.site-footer--slim .skyline { height: 110px; }
.footer-text {
  margin-top: -1px;
  padding: 14px 16px 22px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 4%, var(--surface)), var(--surface));
}
.footer-text p { margin: 2px 0; }
.license { font-weight: 500; color: var(--text); }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  transform: translateX(-50%);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--primary-deep);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .45);
  animation: rise .25s both;
}

/* ---------- form page ---------- */
.form-hero {
  position: relative;
  padding: 18px 20px 4px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 10%, #fff) 0%, var(--surface) 100%);
  overflow: hidden;
}
.hero-deco i {
  position: absolute;
  display: block;
  border: 12px solid color-mix(in srgb, var(--accent) 16%, transparent);
  transform: rotate(45deg);
  pointer-events: none;
}
.hero-deco i:nth-child(1) { width: 96px; height: 96px; top: -42px; inset-inline-start: 44%; }
.hero-deco i:nth-child(2) { width: 64px; height: 64px; top: 128px; inset-inline-end: -26px; }
.hero-deco i:nth-child(3) { width: 74px; height: 74px; top: -30px; inset-inline-end: 8%; border-width: 8px; }
.hero-bar { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.form-title {
  position: relative;
  margin: 20px 0 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.15;
  color: var(--primary-deep);
}
.lang-ar .form-title, .lang-hi .form-title { font-size: 31px; }
.mini-profile { position: relative; display: flex; align-items: center; gap: 12px; }
.avatar--sm { width: 60px; height: 60px; margin: 0; padding: 2px; flex: none; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .4); }
.avatar--sm img { border-width: 2px; }
.mini-name { margin: 0 0 4px; font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--primary-deep); }
.mini-bio { position: relative; margin: 12px 0 0; font-size: 13.5px; line-height: 1.7; color: var(--muted); }

.form-wrap { padding: 6px 20px 26px; }
.form-intro { margin: 20px 0 6px; font-size: 17px; font-weight: 700; color: var(--primary-deep); }
.group { margin: 24px 0 0; padding: 0; border: 0; min-width: 0; }
.group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}
.group-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--primary);
  font-weight: 500;
  font-size: 15px;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.chip:hover span { border-color: var(--primary); }
.chip input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 10px 20px -12px var(--primary-deep); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.field { margin-top: 12px; }
.field:first-child { margin-top: 0; }
.uc-form input[type="text"], .uc-form input[type="tel"], .uc-form input[type="email"], .uc-form select, .uc-form textarea {
  width: 100%;
  margin: 0;
  padding: 15px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background-color: var(--field);
  border: 0;
  border-bottom: 1.5px solid var(--line-strong);
  border-radius: 12px 12px 4px 4px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.uc-form input:focus, .uc-form select:focus, .uc-form textarea:focus {
  background-color: #fff;
  border-bottom-color: var(--primary);
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px -18px rgba(0, 0, 0, .3);
}
.uc-form ::placeholder { color: var(--placeholder); opacity: 1; }
.uc-form select {
  padding-inline-end: 44px;
  background-image: var(--chevron);
  background-repeat: no-repeat;
  background-size: 15px;
  background-position: right 16px center;
  cursor: pointer;
}
[dir="rtl"] .uc-form select { background-position: left 16px center; }
.uc-form select.is-empty { color: var(--placeholder); }
.uc-form select option { color: var(--text); }
.uc-form select:disabled { opacity: .55; cursor: not-allowed; }
.uc-form textarea { min-height: 150px; resize: vertical; line-height: 1.7; }
.counter { margin: 6px 4px 0; text-align: end; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row .field { margin-top: 0; }

.input-affix, .phone-input { position: relative; }
.input-affix input { padding-inline-end: 92px !important; }
.affix {
  position: absolute;
  top: 50%;
  inset-inline-end: 12px;
  transform: translateY(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 9%, #fff);
  font-size: 12.5px;
  font-weight: 600;
  pointer-events: none;
}
.phone-input input { padding-inline-end: 112px !important; }
.phone-input .code-select {
  position: absolute;
  top: 50%;
  inset-inline-end: 10px;
  width: auto;
  transform: translateY(-50%);
  padding: 5px 26px 5px 12px;
  border: 0;
  border-radius: 999px;
  background-color: color-mix(in srgb, var(--text) 9%, #fff);
  background-position: right 9px center;
  background-size: 11px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: none !important;
}

.field-error { margin: 6px 4px 0; font-size: 13px; color: var(--danger); }
.has-error input, .has-error select, .has-error textarea { border-bottom-color: var(--danger) !important; background-color: #FDF2F0 !important; }
.has-error .chip span { border-color: color-mix(in srgb, var(--danger) 60%, transparent); }
.alert {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #F6CFC8;
  background: #FDF2F0;
  color: var(--danger);
  font-size: 14px;
}
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* uploader */
.uploader { display: flex; align-items: center; gap: 14px; }
.upload-btn {
  flex: 0 0 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .3);
  transition: transform .2s, box-shadow .2s;
}
.upload-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .35); }
.upload-btn .ic { width: 27px; height: 27px; }
.upload-hint { position: relative; flex: 1; padding: 12px 14px; border-radius: 14px; background: var(--field); font-size: 13.5px; }
.upload-hint::before {
  content: '';
  position: absolute;
  top: 50%;
  inset-inline-start: -6px;
  width: 12px;
  height: 12px;
  background: inherit;
  transform: translateY(-50%) rotate(45deg);
}
.upload-hint p { margin: 0; font-weight: 500; }
.upload-hint small { display: block; margin-top: 2px; color: var(--muted); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.thumbs:empty { display: none; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--field); animation: pop .3s both; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb button {
  position: absolute;
  top: 5px;
  inset-inline-end: 5px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .62);
  color: #fff;
  cursor: pointer;
}
.thumb button .ic { width: 14px; height: 14px; }
.thumb.is-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%) var(--field);
  background-size: 200% 100%;
  animation: shimmer 1.1s infinite;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn .ic { width: 20px; height: 20px; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; box-shadow: 0 16px 30px -16px var(--primary-deep); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-block { width: 100%; height: 58px; margin-top: 32px; font-size: 17px; }
.btn-ghost { background: #fff; color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--primary); }
.btn-wa { background: #25D366; color: #fff; box-shadow: 0 14px 28px -16px #128C7E; }
.btn .spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: .92; }
.btn.is-loading .spinner { display: inline-block; }
.privacy { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin: 14px 6px 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.privacy .ic { width: 14px; height: 14px; margin-top: 3px; }

/* success */
.success { padding: 34px 6px 8px; text-align: center; animation: rise .5s both; }
.success-mark {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, var(--accent-light), var(--accent) 60%, var(--accent-deep));
  color: #fff;
  box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 16%, transparent), 0 20px 40px -16px var(--accent-deep);
  animation: pop .6s .1s both;
}
.success-mark .ic { width: 44px; height: 44px; stroke-width: 2.6; }
.success h2 { margin: 0 0 8px; font-family: var(--font-head); font-size: 32px; color: var(--primary-deep); }
.success-msg { max-width: 36ch; margin: 0 auto; font-size: 15.5px; line-height: 1.8; color: var(--muted); }
.success-ref {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin: 22px auto 4px;
  padding: 12px 28px;
  border-radius: 16px;
  border: 1px dashed color-mix(in srgb, var(--accent) 70%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, #fff);
}
.success-ref span { font-size: 12.5px; color: var(--muted); }
.success-ref strong { font-size: 21px; letter-spacing: .06em; color: var(--primary-deep); }
.success-actions { display: grid; gap: 12px; margin-top: 26px; }
.notice { margin-top: 30px; padding: 22px; border-radius: 16px; background: var(--field); text-align: center; }
.center { text-align: center; }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 380px) {
  .chip span { min-width: 96px; padding: 0 16px; }
  .profile-name { font-size: 31px; }
  .action-label { font-size: 16px; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
}
