:root {
  --bg: #f8f5f5;
  --bg-soft: #f1ebec;
  --surface: #ffffff;
  --surface-soft: #fff8f8;
  --text: #333136;
  --muted: #969093;
  --accent: #bf7280;
  --accent-strong: #a95d6b;
  --accent-soft: #f8e9ec;
  --accent-outline: rgba(196, 125, 136, 0.35);
  --success: #6ec06b;
  --success-soft: #e3f4e2;
  --danger: #df4e4e;
  --danger-soft: #fff0f0;
  --info-bg: #dff0ff;
  --info-text: #3987de;
  --shadow: 0 16px 36px rgba(205, 191, 194, 0.2);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --font-display: "Avenir Next", "SF Pro Display", "Segoe UI", sans-serif;
  --font-body: "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: linear-gradient(180deg, #fffdfd 0%, var(--bg) 100%);
  color: var(--text);
  font-family: var(--font-body);
}

.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

body {
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}

body.is-modal-open {
  overflow: hidden;
}

.launch-screen {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 36px;
  background: #ffffff;
  color: var(--text);
  text-align: center;
  transition:
    opacity 520ms ease,
    visibility 520ms ease;
}

.launch-screen.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.launch-mark {
  position: relative;
  width: min(68vw, 14rem);
  height: min(68vw, 14rem);
  font-family: system-ui, -apple-system, "SF Pro Display", sans-serif;
  font-size: min(68vw, 14rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.launch-mark::before {
  content: "S";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4899a;
  clip-path: inset(100% 0 0 0);
  will-change: clip-path;
  transform: translateZ(0);
  animation: launch-mark-fill 1200ms ease-out 200ms both;
}

@keyframes launch-mark-fill {
  from {
    clip-path: inset(100% 0 0 0);
  }

  to {
    clip-path: inset(0% 0 0 0);
  }
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
}

.app-shell {
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 20px calc(90px + env(safe-area-inset-bottom));
  position: relative;
}

.app-shell:has([data-screen="pro"].is-active) {
  min-height: auto;
  padding-top: 0;
  padding-bottom: calc(90px + env(safe-area-inset-bottom));
}

.app-shell:has([data-screen="compose"].is-active) {
  padding-bottom: calc(90px + env(safe-area-inset-bottom));
}

.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 60;
  background:
    radial-gradient(circle at 76% 22%, rgba(196, 125, 136, 0.16), transparent 28%),
    radial-gradient(circle at 14% 62%, rgba(196, 125, 136, 0.1), transparent 24%),
    linear-gradient(180deg, #fffdfd 0%, #fbf4f5 100%);
  display: grid;
  align-items: start;
  overflow-y: auto;
  padding: 24px 20px;
}

.auth-shell {
  display: grid;
  gap: 18px;
}

.auth-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.auth-brand {
  padding: 18px 8px 8px;
  text-align: center;
}

.auth-brand__visual {
  position: relative;
  width: 220px;
  height: 230px;
  margin: 0 auto 14px;
}

.auth-brand__visual::before,
.auth-brand__visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(196, 125, 136, 0.14);
}

.auth-brand__visual::before {
  width: 36px;
  height: 36px;
  left: 4px;
  top: 92px;
}

.auth-brand__visual::after {
  width: 58px;
  height: 58px;
  right: -8px;
  top: 112px;
}

.auth-brand__mock-card {
  position: absolute;
  inset: 18px 38px 12px;
  border: 3px solid rgba(196, 125, 136, 0.45);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 28px 50px rgba(196, 125, 136, 0.16);
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 5px;
  padding: 24px 18px;
  animation: mock-card-cycle 12.5s ease-in-out backwards infinite;
}

.mock-card--zara         { animation-delay: 0s; }
.mock-card--bershka      { animation-delay: 2.5s; }
.mock-card--pullandbear  { animation-delay: 5s; }
.mock-card--oysho        { animation-delay: 7.5s; }
.mock-card--stradivarius { animation-delay: 10s; }

@keyframes mock-card-cycle {
  0%    { opacity: 0;  transform: rotate(-1deg) perspective(600px) rotateY(-30deg); }
  4%    { opacity: 1;  transform: rotate(-1deg) perspective(600px) rotateY(0deg); }
  16%   { opacity: 1;  transform: rotate(-1deg) perspective(600px) rotateY(0deg); }
  20%   { opacity: 0;  transform: rotate(-1deg) perspective(600px) rotateY(30deg); }
  20.1%, 100% { opacity: 0; transform: rotate(-1deg) perspective(600px) rotateY(30deg); }
}

.auth-brand__mock-card::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 34px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 18px 30px rgba(196, 125, 136, 0.3);
}

.auth-brand__mock-card span {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mock-card__img--zara {
  background-image: url("https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/de/0a/c0/de0ac0c5-aea9-dc5f-7444-ab3633eadc16/AppIcon-0-0-1x_U007emarketing-0-0-0-8-0-0-sRGB-0-85-220.png/512x512bb.jpg");
  background-size: cover;
  background-position: center;
}

.mock-card__img--bershka {
  background-color: #ffffff;
  background-image: url("https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/01/78/2f/01782f20-d9ca-bed0-d3ed-0e64bdb3a1e5/AppIcon-0-0-1x_U007epad-0-1-0-85-220.jpeg/512x512bb.jpg");
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}

.mock-card__img--pullandbear {
  background-image: url("https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/4a/af/87/4aaf8747-bf37-8a06-0bac-f95d8ac8fa2b/AppIcon-0-0-1x_U007emarketing-0-8-0-85-220.png/512x512bb.jpg");
  background-size: cover;
  background-position: center;
}

.mock-card__img--oysho {
  background-image: url("https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/bb/aa/e9/bbaae924-f889-dddf-052c-c1831f873045/AppIcon-0-0-1x_U007emarketing-0-11-0-0-85-220.png/512x512bb.jpg");
  background-size: cover;
  background-position: center;
}

.mock-card__img--stradivarius {
  background-image: url("https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/3e/14/0c/3e140c96-3258-6ac6-9f07-b60bcb6e3de1/AppIcon-0-0-1x_U007epad-0-1-0-0-85-220.png/512x512bb.jpg");
  background-size: cover;
  background-position: center;
}

.auth-brand__mock-card strong {
  color: var(--text);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.auth-brand__mock-card small {
  font-weight: 800;
}

.mock-card--stradivarius strong {
  font-size: 0.62rem;
  letter-spacing: 0.03em;
}

.mock-card__status--stock   { color: #2e9244; }
.mock-card__status--price   { color: #d63030; }
.mock-card__status--sale    { color: #c98a00; }
.mock-card__status--restock { color: var(--accent-strong); }
.mock-card__status--new     { color: #6551b8; }

.auth-brand__eyebrow,
.auth-card__eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.auth-brand h1,
.auth-card h2 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  line-height: 1;
  letter-spacing: -0.05em;
}

.auth-brand h1 {
  font-size: 2.45rem;
}

.auth-feature-list {
  display: grid;
  gap: 16px;
  margin: 22px auto 0;
  max-width: 310px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.auth-feature-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  display: grid;
  gap: 14px;
  padding: 22px 20px;
}

.auth-card .primary-button,
.auth-card .ghost-action {
  width: 100%;
}

.auth-card--secondary {
  background: rgba(255, 250, 250, 0.95);
}

.app-shell:not(.is-authenticated) .screen-stack,
.app-shell:not(.is-authenticated) .tab-bar {
  display: none;
}

.app-shell.is-authenticated .auth-gate {
  display: none;
}

.screen-stack {
  display: grid;
}

.screen-panel {
  display: none;
}

.screen-panel.is-active {
  display: grid;
  gap: 18px;
}

.screen-panel--compose {
  gap: 16px;
  padding-bottom: 8px;
}

.screen-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.screen-head--centered {
  align-items: center;
}

.screen-head h1,
.screen-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 8vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.screen-head--centered h2 {
  font-size: 1.85rem;
}

.screen-subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.head-spacer,
.back-button,
.icon-button {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.icon-button,
.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(196, 125, 136, 0.14);
}

.back-button {
  background: transparent;
  box-shadow: none;
  justify-content: flex-start;
  color: var(--accent-strong);
}

.back-button--soft {
  justify-content: center;
  background: rgba(248, 233, 236, 0.72);
  box-shadow: 0 10px 24px rgba(196, 125, 136, 0.12);
  font-size: 1.75rem;
  line-height: 1;
}

.icon-button {
  position: relative;
  font-size: 0;
}

.icon-button::before,
.icon-button::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.icon-button--check::before {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
}

.icon-button--check::after {
  content: attr(data-count);
  right: 3px;
  top: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
}

.icon-button--bell::before {
  width: 15px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 9px 9px 6px 6px;
  top: 12px;
}

.icon-button--bell::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  bottom: 10px;
}

.chip-row,
.brand-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-inline: 20px;
  margin-inline: -20px;
}

.chip-row::-webkit-scrollbar,
.brand-grid::-webkit-scrollbar {
  display: none;
}

.chip,
.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1.5px solid var(--accent-outline);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
}

.chip.is-active,
.brand-chip.is-active {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(196, 125, 136, 0.22);
}

.pro-teaser {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 14px 14px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 244, 246, 0.96)),
    radial-gradient(circle at 85% 18%, rgba(191, 114, 128, 0.28), transparent 35%);
  box-shadow: var(--shadow);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.pro-teaser span {
  min-width: 0;
}

.pro-teaser__copy {
  display: block;
}

.pro-teaser__badge {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2f2b32, #9d5e6b);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  justify-self: start;
}

.pro-teaser__copy strong {
  margin-left: -2px;
}

.pro-teaser strong,
.pro-teaser small {
  display: block;
}

.pro-teaser strong {
  font-size: 1rem;
  line-height: 1.15;
}

.pro-teaser small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.pro-teaser__arrow {
  display: grid;
  place-items: center;
  color: #8d858d;
  font-size: 1.65rem;
  line-height: 1;
  transform: translateX(1px);
}

.ad-gate-banner {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 14px 14px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 244, 246, 0.96)),
    radial-gradient(circle at 85% 18%, rgba(191, 114, 128, 0.12), transparent 35%);
  box-shadow: var(--shadow);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.ad-gate-banner:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ad-gate-banner__icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 1.1rem;
}

.ad-gate-banner__copy {
  display: block;
}

.ad-gate-banner strong,
.ad-gate-banner small {
  display: block;
}

.ad-gate-banner strong {
  font-size: 1rem;
  line-height: 1.15;
}

.ad-gate-banner small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.ad-gate-banner__arrow {
  display: grid;
  place-items: center;
  color: #8d858d;
  font-size: 1.65rem;
  line-height: 1;
  transform: translateX(1px);
}

.tracking-list,
.notification-list,
.product-preview,
.tracking-form,
.barcode-section,
.profile-stats,
.profile-group {
  display: grid;
  gap: 16px;
}

.trust-summary-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 248, 0.94)),
    radial-gradient(circle at 88% 18%, rgba(191, 114, 128, 0.14), transparent 34%);
  box-shadow: var(--shadow);
}

.trust-summary-card article {
  display: grid;
  gap: 6px;
  min-height: 82px;
  align-content: center;
  padding: 12px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.trust-summary-card span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.25;
}

.trust-summary-card strong {
  color: var(--accent-strong);
  font-family: var(--font-display);
  font-size: 1.34rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.tracking-card,
.notification-card,
.entry-card,
.support-card,
.preview-card,
.empty-state,
.profile-stat,
.settings-row,
.field input,
.field select {
  background: var(--surface);
  box-shadow: var(--shadow);
}

.tracking-card,
.notification-card,
.preview-card,
.empty-state,
.support-card,
.profile-stat,
.settings-row {
  border-radius: var(--radius-lg);
}

.tracking-card {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 10px;
  padding: 10px;
}

.tracking-card img,
.preview-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  background: #ece7e7;
}

.tracking-meta,
.preview-meta,
.notification-card__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.tracking-meta h3,
.preview-meta h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tracking-card .panel__eyebrow,
.preview-card .panel__eyebrow,
.notification-card__brand {
  margin: 0;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tracking-subline,
.preview-subline,
.notification-card__meta {
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.price-line,
.price-stack {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.price-line strong,
.price-stack strong {
  font-size: 1.25rem;
  line-height: 1;
}

.price-line span,
.price-stack span {
  color: var(--muted);
}

.price-line .is-old,
.price-stack span.is-old,
.notification-card__meta .is-old {
  text-decoration: line-through;
}

.status-pill,
.tag,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  white-space: nowrap;
}

.status-pill--success,
.tag,
.pill {
  background: var(--success-soft);
  color: #2e9244;
}

.status-pill--danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.status-pill--sale {
  background: #ffe5e5;
  color: #db3636;
}

.status-pill--muted {
  background: #f4eeee;
  color: var(--muted);
}

.tracking-error {
  margin: 0;
  color: var(--danger);
  font-size: 0.88rem;
  line-height: 1.35;
}

.tracking-card__actions {
  display: grid;
  align-content: space-between;
  gap: 12px;
}

.card-icon-button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
  cursor: pointer;
}

.fab-button {
  position: fixed;
  right: calc(26px + (100vw - min(100vw, 430px)) / 2);
  bottom: calc(110px + env(safe-area-inset-bottom));
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  box-shadow: 0 22px 38px rgba(196, 125, 136, 0.34);
  cursor: pointer;
}

.compose-view,
.compose-success {
  display: grid;
  gap: 16px;
}

.compose-success {
  justify-items: center;
  gap: 12px;
  padding-top: 4px;
}

.compose-success > * {
  width: min(100%, 344px);
}

.screen-panel--compose .screen-head {
  padding-top: 2px;
}

.screen-panel--compose .screen-head--centered h2 {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.screen-panel--compose .compose-hero {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 6px 2px 2px;
  text-align: left;
}

.screen-panel--compose .compose-hero h3 {
  margin: 0;
  max-width: 8.2ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8.5vw, 2.65rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.screen-panel--compose .compose-hero p {
  margin: 0;
  color: #a6a0a3;
  font-size: 0.92rem;
  line-height: 1.45;
}

.hero-orbit {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  --core-y: 0px;
  --dot-one-x: 0px;
  --dot-one-y: 0px;
  --dot-two-x: 0px;
  --dot-two-y: 0px;
  --dot-three-x: 0px;
  --dot-three-y: 0px;
  background: radial-gradient(circle, #f5dfe2 0%, #f8ecee 64%, transparent 65%);
  overflow: hidden;
}

.hero-orbit__core {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border: 2px solid rgba(196, 125, 136, 0.25);
  transform: translateY(var(--core-y));
  transition: transform 55ms linear;
}

.hero-orbit__core::before {
  content: "";
  position: absolute;
  inset: 25px 34px;
  border: 4px solid var(--text);
  border-radius: 4px;
}

.hero-orbit__dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(196, 125, 136, 0.45);
  will-change: transform;
  transition: transform 35ms linear;
}

.hero-orbit__dot--one {
  top: 30px;
  left: 24px;
  transform: translate3d(var(--dot-one-x), var(--dot-one-y), 0);
}

.hero-orbit__dot--two {
  top: 38px;
  right: 22px;
  transform: translate3d(var(--dot-two-x), var(--dot-two-y), 0);
}

.hero-orbit__dot--three {
  bottom: 32px;
  left: 28px;
  transform: translate3d(var(--dot-three-x), var(--dot-three-y), 0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-orbit,
  .hero-orbit__core,
  .hero-orbit__dot {
    transform: none;
    transition: none;
  }
}

.entry-mode-grid {
  display: grid;
  gap: 12px;
}

.screen-panel--compose .entry-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 94px;
  padding: 16px 18px;
  border: 1.2px solid rgba(223, 205, 209, 0.8);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 250, 0.94));
  box-shadow: 0 12px 24px rgba(205, 191, 194, 0.14);
  text-align: left;
  cursor: pointer;
  color: var(--text);
}

.screen-panel--compose .entry-card.is-active {
  border-color: rgba(225, 191, 199, 0.9);
  background: linear-gradient(180deg, #fffdfd 0%, #fff7f8 100%);
  box-shadow:
    0 14px 28px rgba(205, 191, 194, 0.18),
    inset 0 0 0 1px rgba(241, 214, 220, 0.6);
}

.screen-panel--compose .entry-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.screen-panel--compose .entry-card__icon svg {
  display: block;
  width: 52px;
  height: 52px;
}

.screen-panel--compose .entry-card__icon--link .link-glyph {
  color: #b86d7c;
}

.screen-panel--compose .entry-card__icon--link .link-glyph use {
  stroke-width: 2.35;
}

.screen-panel--compose .entry-card__copy {
  display: grid;
  gap: 4px;
}

.screen-panel--compose .entry-card__copy strong {
  color: #2f2d33;
  font-size: 1.05rem;
}

.screen-panel--compose .entry-card.is-active .entry-card__copy strong,
.screen-panel--compose .entry-card.is-active .entry-card__icon,
.screen-panel--compose .entry-card.is-active .entry-card__arrow {
  color: var(--accent-strong);
}

.screen-panel--compose .entry-card__copy small {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.screen-panel--compose .entry-card__arrow {
  color: var(--accent-strong);
  font-size: 1.55rem;
  line-height: 1;
}

.screen-panel--compose .support-card {
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #eaf4ff 0%, #deefff 100%);
  color: #3987de;
  box-shadow: none;
}

.screen-panel--compose .support-card strong,
.screen-panel--compose .support-card p {
  margin: 0;
}

.screen-panel--compose .support-card p {
  margin-top: 6px;
  line-height: 1.5;
}

.screen-panel--compose .brand-grid {
  gap: 8px;
}

.screen-panel--compose .brand-chip {
  min-height: 36px;
  padding: 0 14px;
  border-color: rgba(232, 221, 224, 0.95);
  background: rgba(255, 255, 255, 0.94);
  color: #999194;
  font-size: 0.78rem;
  font-weight: 700;
}

.screen-panel--compose .brand-chip.is-active {
  box-shadow: 0 8px 18px rgba(196, 125, 136, 0.18);
}

.pro-hero-card,
.pro-price-card {
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.pro-hero-card {
  position: relative;
  overflow: hidden;
  padding: 24px 20px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(160deg, #2f2b32 0%, #9e6070 52%, #d99aa3 100%);
  color: #fff;
}

.pro-hero-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -46px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.pro-hero-card__eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pro-hero-card h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: 2.45rem;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.pro-hero-card p {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.5;
}

.pro-saving-banner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
}

.pro-saving-banner strong {
  font-size: 1rem;
}

.pro-saving-banner span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.35;
}

.pro-feature-stack {
  display: grid;
  gap: 10px;
}

.pro-feature-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.pro-feature-card__check {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(196, 125, 136, 0.12);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--accent);
  flex-shrink: 0;
}

.pro-feature-card strong,
.pro-feature-card small {
  display: block;
}

.pro-feature-card strong {
  font-size: 0.97rem;
  color: var(--text);
}

.pro-feature-card small {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.82rem;
}

.pro-price-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 22px 18px;
  background: var(--surface);
  text-align: center;
}

.pro-price-card p,
.pro-price-card small {
  margin: 0;
}

.pro-price-card p {
  color: #2e9244;
  font-weight: 900;
}

.pro-price-card small {
  max-width: 280px;
  color: var(--muted);
  line-height: 1.45;
}

.pro-price-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pro-price-card__price strong {
  font-family: var(--font-display);
  font-size: 2.7rem;
  letter-spacing: -0.06em;
}

.pro-price-card__price span {
  color: var(--muted);
  font-weight: 800;
}

.pro-cta-button {
  width: 100%;
  background: linear-gradient(135deg, #c77583, #9b5361);
}

.pro-cta-button:disabled {
  opacity: 0.72;
  cursor: default;
}


.plan-compare {
  display: grid;
  gap: 14px;
}

.plan-compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.plan-compare__card {
  border-radius: 18px;
  padding: 16px 14px;
  display: grid;
  gap: 10px;
}

.plan-compare__card--free {
  background: rgba(0, 0, 0, 0.03);
  border: 1.5px solid rgba(0, 0, 0, 0.07);
}

.plan-compare__card--pro {
  background: rgba(196, 125, 136, 0.07);
  border: 1.5px solid var(--accent);
}

.plan-compare__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan-compare__card--free .plan-compare__label {
  color: var(--muted);
}

.plan-compare__card--pro .plan-compare__label {
  color: var(--accent);
}

.plan-compare__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.plan-compare__card li {
  font-size: 0.78rem;
  line-height: 1.4;
  padding-left: 13px;
  position: relative;
}

.plan-compare__card--free li {
  color: var(--muted);
}

.plan-compare__card--free li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.plan-compare__card--pro li {
  color: var(--text);
  font-weight: 500;
}

.plan-compare__card--pro li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.68rem;
  color: var(--accent);
  font-weight: 900;
}

.plan-compare__highlight {
  margin: 0;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-strong);
  padding: 13px 16px;
  background: rgba(196, 125, 136, 0.08);
  border-radius: 14px;
}

/* ── Pro v2 ── */

[data-screen="pro"] {
  padding: 0;
  gap: 0;
  background: transparent;
}

.pro2-page {
  min-height: 100%;
  padding: 0.5rem 1rem 0;
  background:
    radial-gradient(circle at top right, rgba(247, 191, 208, 0.62), transparent 26%),
    radial-gradient(circle at top left, rgba(255, 239, 243, 0.96), transparent 34%),
    linear-gradient(180deg, #fffdfd 0%, #fff7f8 100%);
  color: #2f2d35;
  overflow-x: hidden;
}

[data-screen="pro"] {
  overflow-x: hidden;
}

[data-screen="pro"].is-active {
  align-content: start;
  margin-bottom: 0;
  gap: 0;
}

.pro2-price-card,
.pro2-feature,
.pro2-plan,
.pro2-gift {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(231, 181, 196, 0.34);
  box-shadow: 0 18px 40px rgba(225, 164, 184, 0.14);
}

.pro2-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.7rem;
  aspect-ratio: 360 / 402;
  padding: 1.35rem 1rem 0;
  text-align: center;
  background: linear-gradient(180deg, #fff9fa 0%, #fff1f4 100%);
  border: none;
  box-shadow: 0 12px 28px rgba(226, 149, 174, 0.08);
}

.pro2-hero-base {
  position: absolute;
  inset: 0;
  background-image: url("./assets/pro/pro-hero-reference.png?v=3");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.015);
  pointer-events: none;
  -webkit-touch-callout: none;
  user-select: none;
}

.pro2-hero-card::before,
.pro2-hero-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.pro2-hero-card::before {
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 250, 251, 0.98) 0%,
      rgba(255, 247, 248, 0.97) 32%,
      rgba(255, 244, 246, 0.94) 46%,
      rgba(255, 244, 246, 0.68) 58%,
      rgba(255, 244, 246, 0) 72%
    );
  z-index: 1;
}

.pro2-hero-card::after {
  top: 1.2rem;
  right: 1rem;
  width: 6rem;
  height: 6rem;
  border-radius: 999px;
  background: rgba(245, 198, 214, 0.6);
  z-index: 1;
}

.pro2-hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 19.5rem);
  margin: 0 auto;
  padding: 0.05rem 0.35rem 0.95rem;
}

.pro2-hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.6rem;
  right: -0.6rem;
  top: -0.55rem;
  bottom: 0.15rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 253, 0.98) 0%, rgba(255, 249, 250, 0.95) 58%, rgba(255, 246, 248, 0.7) 100%);
  box-shadow:
    0 10px 26px rgba(255, 255, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  filter: blur(8px);
}

.pro2-crown {
  position: relative;
  z-index: 2;
  width: 3.1rem;
  height: 3.1rem;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #cf6b8e;
  background: white;
  box-shadow: 0 10px 24px rgba(213, 110, 143, 0.16);
}

.pro2-hero-card h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: clamp(2.55rem, 8vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 900;
  color: #292732;
}

.pro2-hero-card h2 {
  position: relative;
  z-index: 2;
  margin: 0.5rem 0 0;
  font-size: 1.02rem;
  line-height: 1.2;
  color: #cf6c8e;
  font-weight: 800;
}

.pro2-subtitle {
  position: relative;
  z-index: 2;
  max-width: 18.8rem;
  margin: 0.8rem auto 1.05rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #37343d;
}

.pro2-price-card {
  position: relative;
  margin-top: 0.95rem;
  border-radius: 1.5rem;
  padding: 1.15rem 1rem 1rem;
}

.pro2-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pro2-price {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
}

.pro2-price strong {
  font-size: clamp(2.55rem, 9vw, 3.15rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.pro2-price span {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.pro2-price-card p {
  margin: 0.55rem 0 0.95rem;
  color: #7b7680;
  font-size: 0.9rem;
  line-height: 1.45;
}

.pro2-badge {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff4f7, #ffeaf1);
  color: #d46f92;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.pro2-sticky-bar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  padding: 10px 20px env(safe-area-inset-top);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.pro2-sticky-bar.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.pro2-sticky-btn {
  width: 100%;
  border: 0;
  border-radius: 1rem;
  min-height: 3.2rem;
  background: linear-gradient(135deg, #d56b91, #c56a82);
  color: white;
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(198, 91, 130, 0.28);
  transition: opacity 0.15s;
}

.pro2-sticky-btn:active {
  opacity: 0.85;
}

.pro2-sticky-btn:disabled {
  opacity: 0.55;
}

.pro2-main-button {
  width: 100%;
  border: 0;
  border-radius: 1.15rem;
  min-height: 3.85rem;
  background: linear-gradient(135deg, #de78a0, #cf6a8b);
  color: white;
  font-size: 1.12rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(209, 108, 142, 0.28);
  transition: opacity 0.15s;
}

.pro2-main-button:active {
  opacity: 0.85;
}

.pro2-main-button:disabled {
  opacity: 0.55;
}

.pro2-section {
  margin-top: 1rem;
}

.pro2-section h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  font-weight: 900;
}

.pro2-feature-list {
  display: grid;
  gap: 0.55rem;
}

.pro2-feature {
  width: 100%;
  min-height: 4.2rem;
  border-radius: 1.1rem;
  padding: 0.7rem 0.85rem;
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 0.8rem;
  align-items: center;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.pro2-feature span:nth-child(2) {
  display: grid;
  gap: 0.22rem;
}

.pro2-feature strong {
  font-size: 0.94rem;
  font-weight: 900;
}

.pro2-feature small {
  font-size: 0.78rem;
  line-height: 1.3;
  color: #7d7881;
}

.pro2-feature em {
  font-style: normal;
  font-size: 1.8rem;
  color: #8c8790;
}

.pro2-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  background: #fff0f5;
  color: #d16c8e;
  font-size: 1.35rem;
  font-weight: 900;
  flex-shrink: 0;
}

.pro2-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.pro2-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.8rem;
  align-items: center;
  margin: 1rem 0 0.75rem;
}

.pro2-divider span {
  height: 1px;
  background: rgba(47, 45, 53, 0.14);
}

.pro2-divider strong {
  font-size: 1.05rem;
  font-weight: 900;
}

.pro2-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.pro2-plan {
  position: relative;
  border-radius: 1.1rem;
  padding: 0.75rem 0.75rem;
}

.pro2-plan h4 {
  margin: 0 0 0.6rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 900;
}

.pro2-plan p {
  margin: 0.45rem 0;
  font-size: 0.7rem;
  line-height: 1.3;
  color: #625d66;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pro2-plan .chk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.pro2-plan .chk::after {
  content: "✓";
  font-size: 0.6rem;
  font-weight: 900;
  line-height: 1;
}

.pro2-free .chk {
  background: #c8c5cc;
  color: white;
}

.pro2-pro .chk {
  background: #d16c8e;
  color: white;
}

.pro2-free {
  background: #fbfbfc;
}

.pro2-pro {
  background: linear-gradient(180deg, #fff1f5, #fce4ec);
}

.pro2-plan-crown {
  position: absolute;
  top: -1rem;
  right: -0.45rem;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #cf668c;
  color: white;
  box-shadow: 0 10px 24px rgba(207, 102, 140, 0.28);
}

.pro2-gift {
  margin-top: 0.75rem;
  border-radius: 1rem;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #fff5f7, #f9dde7);
}

.pro2-gift > span,
.pro2-gift-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  background: white;
  flex-shrink: 0;
  color: #d16c8e;
}

.pro2-gift strong {
  display: block;
  color: #d16c8e;
  font-size: 0.88rem;
  font-weight: 900;
}

.pro2-gift p {
  margin: 0.15rem 0 0;
  color: #7b7680;
  font-size: 0.75rem;
}

.pro2-secure {
  margin: 0.75rem 0 0;
  text-align: center;
  color: #8b858e;
  font-size: 0.75rem;
  font-weight: 700;
}

@media (max-width: 380px) {
  .pro2-hero-card {
    border-radius: 1.35rem;
    padding: 1.1rem 0.85rem 0;
  }

  .pro2-hero-copy {
    width: 100%;
    padding-bottom: 0.82rem;
  }

  .pro2-hero-copy::before {
    left: -0.45rem;
    right: -0.45rem;
    top: -0.45rem;
    border-radius: 1.6rem;
  }

  .pro2-hero-card h1 {
    font-size: 2.25rem;
  }

  .pro2-subtitle {
    font-size: 0.86rem;
    margin-bottom: 0.9rem;
  }
}

.tracking-form {
  margin-top: 4px;
}

.screen-panel--compose .tracking-form {
  gap: 14px;
}

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

.field span {
  font-size: 0.95rem;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  border: 1px solid rgba(211, 198, 201, 0.55);
  padding: 15px 16px;
  color: var(--text);
}

.screen-panel--compose .field {
  gap: 10px;
}

.screen-panel--compose .field span {
  font-size: 0.92rem;
  font-weight: 700;
}

.screen-panel--compose .field input,
.screen-panel--compose .field select {
  font-weight: 400;
}

.screen-panel--compose .field input,
.screen-panel--compose .field select,
.screen-panel--compose .field__control {
  min-height: 56px;
  border-radius: 16px;
  border-color: rgba(233, 221, 224, 0.95);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 20px rgba(205, 191, 194, 0.08);
}

.screen-panel--compose .field__control {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid rgba(233, 221, 224, 0.95);
}

.screen-panel--compose .field__control input,
.screen-panel--compose .field__control select {
  min-height: 54px;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.screen-panel--compose .field__control--icon input,
.screen-panel--compose .field__control--icon select {
  padding-left: 48px;
}

.screen-panel--compose .field__leading-icon {
  position: absolute;
  left: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.screen-panel--compose .field__leading-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  color: #b86d7c;
}

.screen-panel--compose .field__leading-icon--link svg use {
  stroke-width: 2;
}

.primary-button,
.ghost-action {
  min-height: 54px;
  border-radius: 999px;
  cursor: pointer;
}

.primary-button {
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.08rem;
  box-shadow: 0 18px 32px rgba(196, 125, 136, 0.24);
}

.ghost-action {
  border: 1.5px solid var(--accent-outline);
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.85);
}

.screen-panel--compose .primary-button,
.screen-panel--compose .ghost-action {
  min-height: 56px;
}

.screen-panel--compose .primary-button {
  box-shadow: 0 18px 30px rgba(191, 114, 128, 0.22);
}

.ghost-action--outline {
  background: rgba(255, 255, 255, 0.96);
}

.ghost-action--inline {
  min-height: 44px;
  padding: 0 18px;
}

.inline-message {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.inline-message[data-tone="error"] {
  color: #c14646;
}

.inline-message[data-tone="info"] {
  color: var(--accent-strong);
}

.preview-card {
  grid-template-columns: 108px 1fr;
  gap: 16px;
  padding: 14px;
}

.screen-panel--compose .preview-card {
  grid-template-columns: 86px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 248, 0.96));
  box-shadow: 0 12px 26px rgba(205, 191, 194, 0.16);
}

.screen-panel--compose .preview-card img {
  aspect-ratio: 0.8 / 1;
  border-radius: 14px;
}

.tag-row,
.tracking-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tracking-tags .status-pill {
  padding: 3px 8px;
  font-size: 0.78rem;
}

.compose-footnote {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #999194;
  font-size: 0.75rem;
  line-height: 1.45;
}

.compose-footnote__icon {
  display: inline-flex;
  color: #b7b0b3;
}

.compose-success__hero {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding-top: 0;
  text-align: center;
}

.compose-success__hero h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.94rem;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.compose-success__hero p {
  max-width: 20ch;
  margin: 0;
  color: #9b9598;
  font-size: 0.82rem;
  line-height: 1.4;
}

.compose-success__badge {
  width: 164px;
  max-width: 100%;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.compose-success__badge-image {
  display: block;
  width: 100%;
  aspect-ratio: 366 / 280;
  background-image: url("./assets/success-hero/badge-reference.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.compose-success-card,
.compose-success-feature {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 32px rgba(205, 191, 194, 0.16);
}

.compose-success-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 13px;
  padding: 14px;
  border-radius: 24px;
}

.compose-success-card__image {
  width: 100%;
  aspect-ratio: 0.72 / 1;
  object-fit: cover;
  border-radius: 13px;
  background: #f0eaea;
}

.compose-success-card__body {
  display: grid;
  gap: 4px;
  min-width: 0;
  align-content: start;
}

.compose-success-card__brand,
.compose-success-card__detail,
.compose-success-card__time {
  margin: 0;
}

.compose-success-card__brand {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.compose-success-card__title {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.compose-success-card__detail,
.compose-success-card__time {
  color: #989195;
  font-size: 0.72rem;
}

.compose-success-card__price {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 0;
}

.compose-success-card__price strong {
  font-size: 0.94rem;
  line-height: 1;
}

.compose-success-card__old-price {
  color: #b0aaad;
  font-size: 0.68rem;
  text-decoration: line-through;
}

.compose-success-card__discount {
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff0f3;
  color: #d4899a;
  font-size: 0.64rem;
  font-weight: 800;
}

.compose-success-card__tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 1px;
}

.compose-success-card__pill {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.compose-success-card__pill--success {
  background: #e6f7e8;
  color: #2f9b51;
}

.compose-success-card__pill--danger {
  background: #fff0f2;
  color: #d26b80;
}

.compose-success-card__pill--muted {
  background: #f4efef;
  color: #958f92;
}

.compose-success__benefits {
  display: grid;
  gap: 10px;
}

.compose-success-feature {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 14px;
  border-radius: 18px;
}

.compose-success-feature__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff2f5;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.compose-success-feature p {
  margin: 0;
  color: #7f787c;
  font-size: 0.75rem;
  line-height: 1.28;
}

.compose-success__actions {
  display: grid;
  gap: 10px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}

.compose-success__actions .primary-button,
.compose-success__actions .ghost-action {
  width: 100%;
  min-height: 50px;
}

.notification-group {
  display: grid;
  gap: 12px;
}

.notification-group__title {
  margin: 4px 0 0;
  color: #8d878a;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

.notification-card {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.notification-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.notification-card__icon--restock {
  background: var(--success-soft);
  color: #2e9244;
}

.notification-card__icon--price {
  background: #fff4dd;
  color: #d49a1f;
}

.notification-card__body strong {
  font-size: 1.32rem;
  line-height: 1.1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.notification-card__brand {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.96rem;
}

.notification-card__time {
  color: var(--muted);
  font-size: 0.88rem;
}

.notification-card__action {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}

.empty-state {
  padding: 26px 22px;
  text-align: center;
}

.empty-state h3,
.empty-state p {
  margin: 0;
}

.empty-state p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.profile-hero {
  margin: -12px -18px 0;
  padding: 30px 18px 28px;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, #cb8490 0%, #be7784 100%);
  color: #fff;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
}

.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
}

.profile-hero h2,
.profile-hero p {
  margin: 0;
}

.profile-stats {
  grid-template-columns: repeat(2, 1fr);
  margin-top: -8px;
}

.profile-stat {
  padding: 18px;
  text-align: center;
}

.profile-stat strong {
  display: block;
  color: var(--accent-strong);
  font-size: 2rem;
}

.profile-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.profile-savings-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 6px;
  padding: 20px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, #3a343b, #b86e7d);
  color: #fff;
  box-shadow: var(--shadow);
}

.profile-savings-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -38px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.profile-savings-card span,
.profile-savings-card strong,
.profile-savings-card p {
  position: relative;
  z-index: 1;
}

.profile-savings-card span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-savings-card strong {
  font-family: var(--font-display);
  font-size: 2.35rem;
  letter-spacing: -0.06em;
}

.profile-savings-card p {
  margin: 0;
  max-width: 290px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.section-label {
  margin: 0;
  color: #8d878a;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

.settings-row {
  display: grid;
  gap: 6px;
  padding: 18px;
  text-align: left;
  cursor: pointer;
}

.settings-row--danger span,
.settings-row--danger small {
  color: #b95460;
}

.settings-row--pro {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 243, 226, 0.95)),
    radial-gradient(circle at 90% 20%, rgba(191, 114, 128, 0.18), transparent 34%);
}

.settings-row--pro span {
  color: var(--accent-strong);
}

.settings-row--pro-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(191, 114, 128, 0.18);
  padding: 20px;
}

.settings-row--pro-card::after {
  content: "39 TL";
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #2f2b32;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.settings-row--pro-card span,
.settings-row--pro-card small {
  max-width: 250px;
}

.settings-row span {
  font-size: 1.05rem;
  font-weight: 700;
}

.settings-row small {
  color: var(--muted);
}

.tab-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(430px, 100vw);
  padding: 10px 14px calc(14px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(218, 208, 211, 0.85);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  z-index: 40;
}

.tab-bar__item {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #9e979a;
  cursor: pointer;
}

.tab-bar__item.is-active {
  color: var(--accent-strong);
  font-weight: 700;
}

.tab-bar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  position: relative;
  font-size: 0;
}

.tab-bar__item.is-active .tab-bar__icon {
  background: var(--accent-soft);
}

.tab-bar__icon::before,
.tab-bar__icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.tab-bar__item[data-screen="trackings"] .tab-bar__icon::before {
  width: 16px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 4px;
  bottom: 10px;
}

.tab-bar__item[data-screen="trackings"] .tab-bar__icon::after {
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
  top: 8px;
}

.tab-bar__item[data-screen="compose"] .tab-bar__icon::before {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.tab-bar__item[data-screen="compose"] .tab-bar__icon::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.tab-bar__item[data-screen="notifications"] .tab-bar__icon::before {
  width: 14px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 8px 8px 6px 6px;
  top: 9px;
}

.tab-bar__item[data-screen="notifications"] .tab-bar__icon::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  bottom: 9px;
}

.tab-bar__item[data-screen="profile"] .tab-bar__icon::before {
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
  top: 7px;
}

.tab-bar__item[data-screen="profile"] .tab-bar__icon::after {
  width: 16px;
  height: 9px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  bottom: 8px;
}

.tab-bar__label {
  font-size: 0.82rem;
}

.scanner-dialog {
  width: min(92vw, 390px);
  border: 0;
  padding: 0;
  background: transparent;
}

.scanner-dialog::backdrop {
  background: rgba(20, 18, 18, 0.72);
}

.scanner-dialog__content {
  padding: 20px 18px 18px;
  border-radius: 26px;
  background: #1c1c1c;
  color: #fff;
  display: grid;
  gap: 18px;
}

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

.scanner-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #262626;
  color: #fff;
}

.scanner-title {
  margin: 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: #101010;
  text-align: center;
}

#scannerVideo {
  width: 100%;
  min-height: 260px;
  border-radius: 22px;
  object-fit: cover;
  background: #0d0d0d;
}

.scanner-guide {
  position: relative;
  height: 150px;
  margin-top: -198px;
  pointer-events: none;
}

.scanner-guide span {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--accent);
  border-style: solid;
}

.scanner-guide span:nth-child(1) {
  top: 0;
  left: 18px;
  border-width: 4px 0 0 4px;
}

.scanner-guide span:nth-child(2) {
  top: 0;
  right: 18px;
  border-width: 4px 4px 0 0;
}

.scanner-guide span:nth-child(3) {
  right: 18px;
  bottom: 0;
  border-width: 0 4px 4px 0;
}

.scanner-guide span:nth-child(4) {
  left: 18px;
  bottom: 0;
  border-width: 0 0 4px 4px;
}

.scanner-sheet {
  margin-top: -26px;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  color: var(--text);
  display: grid;
  gap: 10px;
}

.scanner-sheet strong,
.scanner-sheet p {
  margin: 0;
}

.scanner-sheet p {
  color: var(--muted);
  line-height: 1.5;
}

.app-dialog {
  width: min(92vw, 390px);
  border: 0;
  padding: 0;
  background: transparent;
}

.app-dialog::backdrop {
  background: rgba(20, 18, 18, 0.62);
}

.app-dialog__content {
  padding: 18px 18px 16px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  color: var(--text);
  box-shadow: 0 26px 52px rgba(40, 32, 34, 0.25);
  display: grid;
  gap: 12px;
}

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

.app-dialog__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.app-dialog__close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(241, 235, 236, 0.95);
  color: var(--accent-strong);
  font-weight: 900;
}

.app-dialog__message {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

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

.app-dialog__actions .primary-button {
  width: 100%;
}

.is-hidden {
  display: none;
}

@media (max-width: 380px) {
  .tracking-card,
  .preview-card,
  .notification-card,
  .compose-success-card {
    grid-template-columns: 1fr;
  }

  .tracking-card__actions {
    grid-auto-flow: column;
    justify-content: space-between;
    align-items: center;
  }
}
