:root {
  --navy: #0B1F3A;
  --cyan: #00D4FF;
  --purple: #6C2BD9;
  --pink: #FF4FA3;
  --black: #111111;
  --lime: #B6FF00;
  --orange: #FF6B00;
  --navy-2: #102A43;
  --red: #D72638;
  --cream: #FFF3E0;
  --blue: #2563EB;
  --white: #FFFFFF;
  --emerald: #047857;
  --gold: #D4AF37;
  --coral: #FF6F61;
  --deep: #172554;
  --magenta: #E6007E;
  --violet: #5B21B6;
  --charcoal: #181818;
  --electric: #3B82F6;
  --ink: #0B1F3A;
  --ink-soft: #172554;
  --paper: #FFF3E0;
  --paper-2: #FFE8C7;
  --gold-2: #D4AF37;
  --wine: #E6007E;
  --wine-deep: #5B21B6;
  --rose: #FF4FA3;
  --line: rgba(11, 31, 58, 0.10);
  --shadow: 0 18px 40px rgba(11, 31, 58, 0.14);
  --radius: 22px;
  --nav-h: 72px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: "Vazirmatn", "Tahoma", sans-serif;
  --font-en: "Playfair Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: #F6D5E0;
  color: var(--ink);
  direction: rtl;
  overflow: hidden;
}

.app {
  max-width: 480px;
  margin: 0 auto;
  height: 100dvh;
  position: relative;
  background: #FBE4EE;
  overflow: hidden;
}

.screen {
  position: absolute;
  inset: 0 0 var(--nav-h) 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
  padding-bottom: 24px;
  -webkit-overflow-scrolling: touch;
  background-color: #F7B7D2;
}
.screen.active { display: block; }
#home {
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(255,105,180,.45), transparent 55%),
    linear-gradient(180deg, #FFE6F0 0%, #F7B7D2 48%, #E88BB0 100%) !important;
}
#shop {
  background:
    radial-gradient(90% 50% at 0% 10%, rgba(232, 67, 147, .35), transparent 50%),
    linear-gradient(180deg, #FFD6EA 0%, #F3A3CB 52%, #D96AA3 100%) !important;
}
#product {
  background:
    radial-gradient(80% 40% at 50% 0%, rgba(212,175,55,.3), transparent 50%),
    linear-gradient(180deg, #FFE8DC 0%, #F0C3B0 55%, #E09A8E 100%) !important;
}
#wardrobe {
  background:
    radial-gradient(90% 55% at 100% 0%, rgba(168, 85, 247, .4), transparent 52%),
    linear-gradient(180deg, #EBD7FF 0%, #C9A6F0 50%, #A87BDB 100%) !important;
}
#cart {
  background:
    radial-gradient(90% 50% at 0% 0%, rgba(255, 79, 163, .4), transparent 50%),
    linear-gradient(180deg, #FFD0DC 0%, #FF9BB0 50%, #F06B88 100%) !important;
}
#profile {
  background:
    radial-gradient(90% 50% at 100% 0%, rgba(212,175,55,.35), transparent 50%),
    linear-gradient(180deg, #FFE7C2 0%, #E8B7C4 48%, #D48AA0 100%) !important;
}
#owner {
  background: linear-gradient(180deg, #4A1530 0%, #6B1E45 45%, #8B2E5A 100%);
  color: #FFF3E0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 12px;
  background: linear-gradient(90deg, #8B2E5A, #C2185B 45%, #D4AF37);
  color: #fff;
  box-shadow: 0 10px 28px rgba(139, 46, 90, 0.28);
}
#home .topbar { background: linear-gradient(90deg, #C2185B, #E91E8C 55%, #F48FB1); }
#shop .topbar { background: linear-gradient(90deg, #AD1457, #EC407A); }
#product .topbar { background: linear-gradient(90deg, #6D4C41, #D4AF37); }
#wardrobe .topbar { background: linear-gradient(90deg, #7B1FA2, #CE93D8); }
#cart .topbar { background: linear-gradient(90deg, #E91E63, #FF8A80); }
#profile .topbar { background: linear-gradient(90deg, #B76E79, #D4AF37); }
.topbar .brand-text span { color: rgba(255,243,224,.78); }
.topbar .icon-btn {
  background: rgba(255,255,255,.14);
  color: #fff;
  box-shadow: none;
  border: 1px solid rgba(212,175,55,.35);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.logo-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  padding: 4px;
  box-shadow: 0 8px 18px rgba(212,175,55,.28);
  border: 1px solid rgba(212,175,55,.45);
}
.brand b { font-size: 18px; letter-spacing: -0.3px; font-family: var(--font-en); }
.brand span { font-size: 11px; color: var(--ink-soft); font-family: var(--font-en); }
.icon-btn {
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow);
  display: grid; place-items: center; cursor: pointer; color: var(--ink);
}
.icon-btn svg { width: 18px; height: 18px; }
.badge-dot {
  position: absolute; top: 6px; left: 6px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--magenta); color: #fff; border-radius: 99px;
  font-size: 10px; display: grid; place-items: center;
}

.stories {
  display: flex; gap: 12px; padding: 6px 18px 16px;
  overflow-x: auto; scrollbar-width: none;
}
.stories::-webkit-scrollbar { display: none; }
.story {
  flex: 0 0 auto; width: 74px; text-align: center; cursor: pointer;
}
.story-ring {
  width: 68px; height: 68px; border-radius: 50%;
  padding: 3px; margin: 0 auto 6px;
  background: conic-gradient(from 200deg, var(--purple), var(--pink), var(--cyan), var(--magenta), var(--violet));
}
.story.seen .story-ring { background: #c9d3e8; }
.story-ring i {
  display: block; width: 100%; height: 100%; border-radius: 50%;
  border: 3px solid var(--cream);
  background: var(--cover, #6C2BD9);
}
.story small { font-size: 11px; color: var(--ink-soft); }

.hero {
  margin: 0 18px 18px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  min-height: 250px;
  background: linear-gradient(180deg, #FFF3E0, #FFD6EC 55%, #E8D7FF);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.hero-logo {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center 42%;
}
.hero-inner { padding: 4px 22px 16px; position: relative; z-index: 1; }
.hero h2 { font-size: 18px; margin: 4px 0 6px; line-height: 1.45; }
.hero p { font-size: 13px; color: var(--ink-soft); }
.hero .cta {
  margin-top: 12px; border: 0;
  background: linear-gradient(90deg, var(--purple), var(--magenta));
  color: #fff;
  padding: 10px 16px; border-radius: 999px; font-family: inherit; font-weight: 700; cursor: pointer;
}

.cal-card {
  margin: 0 18px 12px;
  background: #fff;
  border-radius: 18px;
  padding: 12px 16px;
  box-shadow: 0 8px 18px rgba(11,31,58,.06);
}
.cal-fa { font-size: 15px; font-weight: 700; }
.cal-en { font-size: 12px; color: var(--ink-soft); font-family: var(--font-en); margin-top: 2px; }
.note-box {
  margin: 0 18px 14px;
  background: #fff;
  border-radius: 18px;
  padding: 12px 14px;
}
.note-box label { display: block; font-size: 12px; color: var(--magenta); margin-bottom: 6px; }
.note-box textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px; font-family: inherit; font-size: 13px; resize: vertical;
  background: var(--cream); color: var(--ink); min-height: 64px;
}
.vitrine {
  display: flex; gap: 10px; overflow-x: auto; padding: 4px 18px 18px;
  scrollbar-width: none;
}
.vitrine::-webkit-scrollbar { display: none; }
.hanger {
  flex: 0 0 132px; border: 0; background: transparent; cursor: pointer;
  font-family: inherit; color: inherit; text-align: center;
}
.hanger .hook {
  display: block; width: 36px; height: 14px; margin: 0 auto -2px;
  border: 3px solid var(--gold); border-bottom: 0; border-radius: 18px 18px 0 0;
}
.hanger canvas {
  width: 132px; height: 170px; display: block; border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f3e6d8); box-shadow: var(--shadow);
}
.hanger strong { display: block; font-size: 11px; margin-top: 8px; line-height: 1.4; }
.hanger em { font-style: normal; font-size: 11px; font-weight: 700; }
.hanger .color-mini { justify-content: center; }

.search-row { padding: 0 18px 14px; }
.search {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: 0 8px 20px rgba(26,20,16,.05);
}
.search input {
  flex: 1; border: 0; outline: 0; background: transparent; font-family: inherit; font-size: 14px; color: var(--ink);
}
.cats {
  display: flex; gap: 8px; padding: 0 18px 16px; overflow-x: auto; scrollbar-width: none;
}
.cats::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; border: 1px solid var(--line); background: #fff;
  padding: 8px 14px; border-radius: 999px; font-family: inherit; font-size: 13px; cursor: pointer; color: var(--ink-soft);
}
.chip.on {
  background: linear-gradient(90deg, var(--purple), var(--pink));
  color: #fff; border-color: transparent;
}

.section-h {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 4px 18px 10px;
}
.section-h h3 { font-size: 16px; }
.section-h button { border: 0; background: 0; color: var(--wine); font-family: inherit; cursor: pointer; font-size: 12px; }

.grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 18px;
}
.card {
  background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 24px rgba(26,20,16,.06); cursor: pointer;
}
.card-visual {
  height: 170px; position: relative; overflow: hidden;
}
.card-visual canvas { width: 100%; height: 100%; display: block; }
.heart {
  position: absolute; top: 8px; left: 8px; width: 32px; height: 32px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.9); cursor: pointer;
  display: grid; place-items: center;
}
.heart.on { color: var(--magenta); }
.tag {
  position: absolute; top: 8px; right: 8px;
  background: linear-gradient(90deg, var(--orange), var(--red)); color: #fff; font-size: 10px; padding: 4px 8px; border-radius: 999px;
}
.card-body { padding: 10px 12px 12px; }
.card-body h4 { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.color-mini { display: flex; gap: 4px; margin: 4px 0 6px; }
.color-mini i {
  width: 12px; height: 12px; border-radius: 50%;
  display: block; border: 1px solid rgba(11,31,58,.15);
}
.price { display: flex; gap: 6px; align-items: baseline; font-size: 13px; flex-wrap: wrap; }
.price s { color: #9a8f86; font-size: 11px; }
.meta { font-size: 11px; color: var(--ink-soft); margin-top: 4px; }

.nav {
  position: absolute; bottom: 0; left: 0; right: 0; height: calc(var(--nav-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  background: linear-gradient(180deg, #4A1530, #6B1E45);
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(212,175,55,.35); z-index: 30;
}
.nav button {
  border: 0; background: 0; font-family: inherit; font-size: 10px; color: rgba(255,228,236,.7);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer;
}
.nav button.on { color: #FFD6E7; }
.nav button.on svg { filter: drop-shadow(0 0 6px rgba(255,182,193,.7)); }
.nav svg { width: 20px; height: 20px; }

.viewer-wrap {
  margin: 8px 18px 12px; border-radius: 28px; overflow: hidden; background: #ece3d8;
  height: 360px; position: relative; touch-action: none;
}
.viewer-wrap canvas { width: 100%; height: 100%; display: block; }
.viewer-hint {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  background: rgba(26,20,16,.72); color: #fff; font-size: 11px;
  padding: 6px 12px; border-radius: 999px; pointer-events: none; white-space: nowrap;
}
.viewer-tools {
  position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 8px;
}
.viewer-tools button, .back-btn {
  width: 38px; height: 38px; border: 0; border-radius: 50%; background: #fff; box-shadow: var(--shadow); cursor: pointer;
}
.angles {
  display: flex; gap: 8px; padding: 0 18px 10px; overflow-x: auto; scrollbar-width: none;
}
.angle {
  flex: 0 0 auto; width: 64px; height: 64px; border-radius: 16px; border: 2px solid transparent;
  overflow: hidden; background: #ece3d8; cursor: pointer;
}
.angle.on { border-color: var(--pink); }
.angle canvas { width: 100%; height: 100%; }

.p-head { display: flex; align-items: center; gap: 10px; padding: calc(12px + env(safe-area-inset-top, 0px)) 18px 0; }
.p-head h2 { font-size: 20px; flex: 1; }
.p-head .back-btn, .p-head .icon-btn {
  background: #fff;
  color: var(--ink);
}
.p-meta { padding: 4px 18px 8px; color: var(--ink-soft); font-size: 12px; }
.p-price { padding: 0 18px 12px; display: flex; align-items: baseline; gap: 8px; }
.p-price b { font-size: 22px; }
.p-price s { color: #9a8f86; }
.specs { margin: 0 18px 14px; background: #fff; border-radius: 20px; padding: 8px 4px; }
.spec { display: flex; justify-content: space-between; padding: 10px 14px; font-size: 13px; border-bottom: 1px solid var(--line); }
.spec:last-child { border: 0; }
.spec span { color: var(--ink-soft); }
.colors, .sizes { display: flex; gap: 8px; padding: 0 18px 12px; flex-wrap: wrap; }
.color-dot {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #d9cfc4; cursor: pointer;
}
.color-dot.on { box-shadow: 0 0 0 2px var(--ink); }
.size-btn {
  min-width: 44px; height: 36px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; font-family: inherit; cursor: pointer;
}
.size-btn.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.actions {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px 18px 20px;
}
.btn {
  height: 48px; border: 0; border-radius: 16px; font-family: inherit; font-weight: 700; cursor: pointer;
}
.btn.ghost { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn.solid { background: linear-gradient(90deg, var(--purple), var(--magenta)); color: #fff; }
.wa-btn {
  width: 100%;
  margin-top: 8px;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.wa-btn.wa2 { background: #128C7E; }
.desc { padding: 0 18px 16px; font-size: 13.5px; line-height: 1.9; color: var(--ink-soft); }
.chips-soft { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 16px; }
.chips-soft i {
  font-style: normal; background: #fff; border-radius: 999px; padding: 6px 10px; font-size: 11px; color: var(--ink-soft);
}

.wardrobe-hero {
  margin: 8px 18px 16px; padding: 20px; border-radius: 24px;
  background: linear-gradient(160deg, var(--violet), var(--purple) 45%, var(--pink));
  color: #fff;
}
.wardrobe-hero h2 { font-size: 22px; margin-bottom: 6px; }
.wardrobe-hero p { font-size: 12px; opacity: .8; }
.looks { padding: 0 18px; display: flex; flex-direction: column; gap: 12px; }
.look {
  background: #fff; border-radius: 20px; padding: 12px; display: grid; grid-template-columns: 88px 1fr; gap: 12px; cursor: pointer;
}
.look-art { height: 88px; border-radius: 16px; overflow: hidden; background: #ece3d8; }
.look h4 { font-size: 14px; margin-bottom: 4px; }
.look p { font-size: 12px; color: var(--ink-soft); }
.empty {
  text-align: center; padding: 40px 20px; color: var(--ink-soft);
}

.cart-item {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 10px;
  background: #fff; margin: 0 18px 10px; padding: 10px; border-radius: 18px;
}
.cart-item canvas { width: 84px; height: 84px; border-radius: 14px; background: #ece3d8; }
.qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty button { width: 26px; height: 26px; border-radius: 8px; border: 0; background: var(--paper-2); cursor: pointer; }
.checkout-box {
  margin: 12px 18px; background: #fff; border-radius: 20px; padding: 14px;
}
.row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; }
.field {
  width: 100%; margin-top: 8px; padding: 12px; border-radius: 12px; border: 1px solid var(--line);
  font-family: inherit; background: var(--cream); color: var(--ink);
}
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.pay button {
  border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 8px;
  font-family: inherit; cursor: pointer; font-size: 12px;
}
.pay button.on { border-color: transparent; background: linear-gradient(90deg, #C2185B, #E91E8C); color: #fff; }
.pay [data-pay="whatsapp"], .pay [data-pay="whatsapp2"] {
  grid-column: 1 / -1;
  background: #E8FFF3;
  border-color: #25D366;
  font-weight: 700;
}
.pay [data-pay="whatsapp2"] { background: #DFF7E8; }
.pay [data-pay="whatsapp"].on, .pay [data-pay="whatsapp2"].on {
  background: linear-gradient(90deg, #128C7E, #25D366); color: #fff;
}

.story-modal, .toast, .sheet {
  position: absolute; inset: 0; z-index: 50;
}
.story-modal {
  background: linear-gradient(180deg, #0B1F3A, #5B21B6); color: #fff; display: none; flex-direction: column;
}
.story-modal.show { display: flex; }
.story-bar { display: flex; gap: 4px; padding: 12px 12px 8px; }
.story-bar i { flex: 1; height: 3px; background: rgba(255,255,255,.25); border-radius: 99px; overflow: hidden; }
.story-bar i b { display: block; height: 100%; width: 0; background: #fff; }
.story-brand {
  display: flex; align-items: center; gap: 8px; padding: 0 14px 8px; font-size: 12px;
}
.story-brand img {
  width: 32px; height: 32px; object-fit: contain; border-radius: 50%; background: #fff; padding: 3px;
}
.story-slide { flex: 1; padding: 40px 24px; display: flex; flex-direction: column; justify-content: flex-end; }
.story-slide h2 { font-size: 28px; margin-bottom: 10px; }
.ig-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 20px;
}
.ig-row button {
  border: 0; background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 14px; font-family: inherit; font-weight: 700; cursor: pointer;
}

.toast {
  display: none; align-items: flex-end; justify-content: center; pointer-events: none; background: 0;
}
.toast.show { display: flex; }
.toast b {
  pointer-events: none; margin-bottom: 90px; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 500;
}

.sheet {
  display: none; background: rgba(0,0,0,.35); align-items: flex-end;
}
.sheet.show { display: flex; }
.sheet-card {
  width: 100%; background: var(--cream); border-radius: 24px 24px 0 0; padding: 16px 18px 28px; max-height: 80%; overflow: auto;
}
.sheet-card h3 { margin-bottom: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { padding: 8px 4px; text-align: center; border-bottom: 1px solid var(--line); }
.trend-row {
  display: flex; gap: 10px; padding: 0 18px 16px; overflow-x: auto; scrollbar-width: none;
}
.trend-row::-webkit-scrollbar { display: none; }
.trend {
  flex: 0 0 auto; width: 92px; text-align: center; cursor: default;
}
.trend-swatch {
  height: 44px; border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 8px 16px rgba(11,31,58,.12);
}
.trend small { display: block; margin-top: 6px; font-size: 10px; color: var(--ink-soft); }
.splash {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: linear-gradient(180deg, #FFF3E0, #FFD6EC);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity .45s ease, visibility .45s ease;
}
.splash.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash img {
  width: min(78vw, 340px);
  height: auto;
}
.splash p {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--magenta);
}
.contact-card {
  margin: 18px 18px 8px;
  background: #fff;
  border-radius: 22px;
  padding: 16px 16px 8px;
  box-shadow: 0 10px 24px rgba(11,31,58,.06);
}
.contact-card h3 {
  font-size: 15px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--purple), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  font-size: 13px;
}
.contact-row:last-child { border-bottom: 0; }
.contact-row span { color: var(--ink-soft); flex: 0 0 auto; }
.contact-row b { text-align: left; font-weight: 700; line-height: 1.6; }
.wa-line {
  display: block;
  margin: 8px 0;
  padding: 12px;
  border-radius: 14px;
  background: #25D366;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}
.wa-line.wa2 { background: #128C7E; }
.profile-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  display: block;
  margin: 0 auto 10px;
}
.profile-card {
  margin: 8px 18px 14px; background: #fff; border-radius: 22px; padding: 18px; text-align: center;
}
.stat-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 0 18px 16px; }
.stat { background: #fff; border-radius: 16px; padding: 14px 8px; text-align: center; }
.stat b { display: block; font-size: 18px; }
.stat span { font-size: 11px; color: var(--ink-soft); }
.list-btn {
  width: calc(100% - 36px); margin: 0 18px 8px; background: #fff; border: 0; border-radius: 16px;
  padding: 14px; text-align: right; font-family: inherit; cursor: pointer; display: flex; justify-content: space-between;
}

.rotate-hint {
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 50% { opacity: .45; } }

.card-photo, .hang-photo, .p-photo, .owner-thumb img, .owner-preview {
  width: 100%;
  object-fit: cover;
  display: block;
}
.card-photo { height: 170px; }
.hang-photo {
  width: 132px; height: 170px; border-radius: 16px;
  background: #fff; box-shadow: var(--shadow);
}
.p-photo {
  margin: 8px 18px 0; height: 220px; border-radius: 22px;
  object-fit: cover;
}
.daily-show { font-size: 13px; line-height: 1.8; }
.owner-row {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 10px;
  background: #fff; margin: 0 18px 10px; padding: 10px; border-radius: 18px; align-items: center;
}
.owner-thumb {
  width: 72px; height: 72px; border-radius: 14px; overflow: hidden; background: #ece3d8;
}
.owner-thumb canvas, .owner-thumb img { width: 72px; height: 72px; }
.owner-acts { display: flex; flex-direction: column; gap: 6px; }
.owner-acts button {
  border: 0; background: var(--paper-2); border-radius: 10px; padding: 6px 10px;
  font-family: inherit; font-size: 11px; cursor: pointer;
}
.manage-fab {
  position: absolute;
  left: 14px;
  bottom: calc(var(--nav-h) + 14px);
  z-index: 40;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: linear-gradient(90deg, #C2185B, #E91E8C);
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(194,24,91,.35);
  cursor: pointer;
}
.edit-chip {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  border: 0;
  border-radius: 999px;
  background: #C2185B;
  color: #fff;
  font-family: inherit;
  font-size: 10px;
  padding: 4px 8px;
  cursor: pointer;
}
.add-goods { width: calc(100% - 36px); margin: 0 18px 12px; }
.owner-form { padding: 0 18px 20px; }
.owner-form label { display: block; font-size: 12px; color: var(--ink-soft); margin: 10px 0 4px; }
.owner-preview { height: 120px; border-radius: 14px; margin-top: 8px; }
.owner-hint { padding: 0 18px 12px; font-size: 12px; color: var(--ink-soft); }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 13px; }
#owner { padding-bottom: 28px; }
#owner .topbar { background: linear-gradient(90deg, #4A1530, #8B2E5A); }
#owner .stat, #owner .owner-row, #owner .cart-item, #owner .note-box, #owner .field {
  background: rgba(255,243,224,.1);
  color: #FFF3E0;
}
#owner .stat span, #owner .meta, #owner .owner-hint, #owner label { color: rgba(255,243,224,.72); }
#owner .owner-acts button { background: rgba(212,175,55,.2); color: #FFF3E0; }
#owner .empty { color: rgba(255,243,224,.7); }

@media (min-width: 900px) {
  body { background: linear-gradient(180deg, #0B1F3A, #5B21B6); }
  .app { box-shadow: 0 30px 80px rgba(11,31,58,.28); }
}
