@font-face{font-family:"Vazirmatn";font-weight:400;font-display:swap;src:url(/studio-app/fonts/vazirmatn-400.woff2) format("woff2")}
@font-face{font-family:"Vazirmatn";font-weight:500;font-display:swap;src:url(/studio-app/fonts/vazirmatn-500.woff2) format("woff2")}
@font-face{font-family:"Vazirmatn";font-weight:600;font-display:swap;src:url(/studio-app/fonts/vazirmatn-600.woff2) format("woff2")}
@font-face{font-family:"Vazirmatn";font-weight:700;font-display:swap;src:url(/studio-app/fonts/vazirmatn-700.woff2) format("woff2")}
@font-face{font-family:"Vazirmatn";font-weight:800;font-display:swap;src:url(/studio-app/fonts/vazirmatn-800.woff2) format("woff2")}
@font-face{font-family:"Vazirmatn";font-weight:900;font-display:swap;src:url(/studio-app/fonts/vazirmatn-900.woff2) format("woff2")}

html.bw body { visibility: hidden; }






/* ماده‌ی مشترک طرح ویترین (RND-52): توکن‌ها، سه ضخامت شیشه‌ی مایع، فنرها. در storefront.src.html و kit.src.html با جای‌خالی GLASS می‌آید. */
:root {
  --bg: #fbf5ec; --text: #2b2320; --muted: #6f6458; --faint: #8b8074;
  --primary: #3d1f35; --accent: #e2694b; --success: #3f8361; --danger: #b23a2e; --gold: #b9862f;
  --accent-soft: rgba(226, 105, 75, 0.14);
  --on-primary: #fff; --on-accent: #2e1526; --accent-ink: #bf4527;
  --chip: rgba(61, 31, 53, 0.08); --hair: rgba(61, 31, 53, 0.1); --hair-2: rgba(61, 31, 53, 0.18); --field: rgba(255, 255, 255, 0.7);
  --tile-bg: #ead9cb; --tile-text-a: #f7e2d6; --tile-text-b: #efd3c6;
  --aura-1: #efbfc6; --aura-2: #f0c8a2; --aura-3: #e2694b;
  --bg-desk: #efe3d6; --veil-a: rgba(251, 245, 236, 0.25); --veil-b: rgba(251, 245, 236, 0.75);
  --g-sheen: 0.46; --g-edge: 0.82; --g-regular-tint: rgba(255, 255, 255, 0.46); --g-thick-tint: rgba(255, 253, 249, 0.7);
  --card-r: 24px; --cta-r: 14px; --tile-gap: 2px; --tile-r: 0px; --tile-ar: 3 / 4; --grid-pad: 0px; --name-w: 900;
  --rim: rgba(255, 255, 255, 0.78);
  --shadow-float: 0 14px 34px -16px rgba(30, 12, 24, 0.42), 0 2px 6px -2px rgba(30, 12, 24, 0.12);
  --spr-soft: linear(0, 0.021, 0.073, 0.143, 0.221, 0.302, 0.382, 0.457, 0.527, 0.59, 0.647, 0.697, 0.742, 0.78, 0.814, 0.843, 0.867, 0.888, 0.906, 0.922, 0.934, 0.945, 0.954, 0.962, 0.968, 0.974, 0.978, 0.982, 0.985, 0.988, 0.99, 0.992, 0.993, 0.994, 0.995, 0.996, 0.997, 0.997, 0.998, 0.998, 0.999);
  --spr-soft-d: 0.55s;
  --spr-bounce: linear(0, 0.016, 0.06, 0.123, 0.198, 0.281, 0.366, 0.451, 0.533, 0.61, 0.681, 0.745, 0.802, 0.851, 0.893, 0.929, 0.958, 0.981, 1, 1.014, 1.024, 1.031, 1.036, 1.038, 1.038, 1.038, 1.036, 1.033, 1.03, 1.027, 1.024, 1.021, 1.017, 1.014, 1.012, 1.009, 1.007, 1.005, 1.004, 1.003, 1.001);
  --spr-bounce-d: 0.62s;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --fly: cubic-bezier(0.32, 0.72, 0, 1); --fly-d: 0.54s;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
/* اسکرول‌بار نداریم: روی گوشی انگشت و روی رومیزی کشیدن موس و چرخ کارش را می‌کنند (۲۶۹) */
html, body, * { scrollbar-width: none; }
::-webkit-scrollbar { display: none; width: 0; height: 0; }
html.dragscroll, html.dragscroll * { cursor: grabbing !important; user-select: none !important; -webkit-user-select: none !important; }
html.pv-open { overflow: hidden; }
body { font-family: var(--font-text, "Vazirmatn"), "Vazirmatn", system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.75; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }
/* قاعده‌ی بالا hidden را می‌شکست: ویدیوی پنهان برگه روی گالری می‌افتاد و لمس را می‌گرفت (۲۷۲) */
[hidden] { display: none !important; }
svg { width: 18px; height: 18px; flex: none; }
.num { font-variant-numeric: tabular-nums; }

/* ── شیشه‌ی مایع ──
   .glass تکیه‌گاه است؛ ::before بلور و لنز (فیلتر #lg-lens پس‌زمینه را مثل عدسی کمی بزرگ و در لبه خم می‌کند)؛
   ::after رنگ‌آمیزی، رگه‌ی مورب و درخشش لبه. سه ضخامت: g-clear (روی عکس)، g-regular (نوارها و تب‌ها)، g-thick (برگه و کارت پروفایل).
   g-dark همان Clear با رنگ تیره برای نوار سبد. در حالت figma همه‌چیز روی خود عنصر می‌نشیند تا مبدل ببیند. */
.glass { position: relative; isolation: isolate; border-radius: var(--r, 20px);
  box-shadow: 0 0 0 0.6px rgba(255, 255, 255, 0.55), var(--g-shadow, 0 12px 30px -14px rgba(30, 12, 24, 0.36)); }
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -2; pointer-events: none;
  -webkit-backdrop-filter: blur(var(--g-blur, 16px)) saturate(1.8) brightness(1.04); backdrop-filter: blur(var(--g-blur, 16px)) saturate(1.8) brightness(1.04);
  filter: url(#lg-lens); }
.glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, var(--g-sheen)) 0%, rgba(255, 255, 255, calc(var(--g-sheen) * 0.22)) 36%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, calc(var(--g-sheen) * 0.44)) 100%), var(--g-tint, rgba(255, 255, 255, 0.3));
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, var(--g-edge)), inset -1px -1px 0 rgba(255, 255, 255, 0.28), inset 0 0 18px -6px rgba(255, 255, 255, 0.6);
  transition: background-color 0.3s var(--ease-out); }
.g-clear { --g-blur: 6px; --g-tint: rgba(255, 255, 255, 0.16); --g-shadow: 0 10px 26px -14px rgba(20, 10, 20, 0.45); }
.g-regular { --g-blur: 18px; --g-tint: var(--g-regular-tint); }
.g-thick { --g-blur: 32px; --g-tint: var(--g-thick-tint); --g-shadow: 0 24px 60px -24px rgba(30, 12, 24, 0.45); }
.g-dark { --g-blur: 14px; --g-tint: rgba(42, 20, 34, 0.62); color: #fff; box-shadow: 0 0 0 0.6px rgba(255, 255, 255, 0.28), 0 16px 36px -14px rgba(20, 8, 16, 0.7); }
.g-dark::after { background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.1) 100%), var(--g-tint);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.4), inset -1px -1px 0 rgba(255, 255, 255, 0.12), inset 0 0 18px -6px rgba(255, 255, 255, 0.2); }
.g-accent { --g-tint: color-mix(in srgb, var(--accent) 86%, transparent); color: var(--on-accent); box-shadow: 0 0 0 0.6px rgba(255, 255, 255, 0.5), 0 14px 30px -12px color-mix(in srgb, var(--accent) 70%, transparent); }
.g-accent::after { background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.08) 40%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.14) 100%), var(--g-tint);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.55), inset -1px -1px 0 rgba(120, 30, 10, 0.25), inset 0 0 16px -6px rgba(255, 255, 255, 0.35); }
/* واکنش لمس: شیشه زیر انگشت کمی بزرگ و روشن‌تر */
.btn.g-accent, .glass.g-accent { color: var(--on-accent); }
.glass.press { transition: transform var(--spr-bounce-d) var(--spr-bounce); }
.glass.press:active { transform: scale(1.045); }
.glass.press:active::after { background-color: rgba(255, 255, 255, 0.62); }
.g-dark.press:active::after, .g-accent.press:active::after { background-color: rgba(255, 255, 255, 0.3); }
/* حالت فیگما: بی pseudo، همه روی عنصر */
html.figma .glass::before, html.figma .glass::after { display: none; }
html.figma .glass { -webkit-backdrop-filter: blur(var(--g-blur, 16px)); backdrop-filter: blur(var(--g-blur, 16px));
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0.08) 40%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.18) 100%);
  background-color: var(--g-tint, rgba(255, 255, 255, 0.3)); border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.82), inset 0 0 18px -6px rgba(255, 255, 255, 0.6), var(--g-shadow, 0 12px 30px -14px rgba(30, 12, 24, 0.36)); }
html.figma .g-dark, html.figma .g-accent { border-color: rgba(255, 255, 255, 0.35); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.4), var(--g-shadow, 0 16px 36px -14px rgba(20, 8, 16, 0.6)); }
/* کاهش شفافیت و کنتراست بالا، مثل ویترین فعلی */
@media (prefers-reduced-transparency: reduce) {
  .glass::before { -webkit-backdrop-filter: none; backdrop-filter: none; filter: none; }
  .glass::after { background: rgba(255, 255, 255, 0.94); }
  .g-dark::after { background: rgba(42, 20, 34, 0.96); }
  .g-accent::after { background: var(--accent); }
}
@media (prefers-contrast: more) { .glass { box-shadow: 0 0 0 1px rgba(43, 35, 32, 0.55); } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass::after { background: rgba(255, 255, 255, 0.9); } .g-dark::after { background: rgba(42, 20, 34, 0.94); } }

/* ── پرواز عکس (gestures.js) ── */
.flyx { position: fixed; left: 0; top: 0; z-index: 72; pointer-events: none; will-change: transform, clip-path; }
.flyx img { display: block; width: 100%; height: 100%; max-width: none; }

/* ── گالری: کشیدن، نقطه‌های پرشونده، پیکان روی رومیزی ── */
.gal { position: relative; width: 100%; height: 100%; border-radius: inherit; outline: 0; }
.gal-clip { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; touch-action: pan-y; cursor: zoom-in; background: var(--tile-bg); }
.gal.fade .gal-clip { background: none; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, rgba(0, 0, 0, 0.7) 76%, rgba(0, 0, 0, 0.28) 90%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 62%, rgba(0, 0, 0, 0.7) 76%, rgba(0, 0, 0, 0.28) 90%, transparent 100%); }
.gal-clip.dragging { cursor: grabbing; }
.gal-track { display: flex; height: 100%; will-change: transform; }
.gal-s { flex: 0 0 100%; min-width: 0; height: 100%; overflow: hidden; }
.gal-s img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.gal-dots { --dot: #fff; position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; align-items: center; padding: 0 5px; border-radius: 999px; background: rgba(20, 8, 16, 0.32); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); z-index: 2; }
.gal.fade .gal-dots { --dot: var(--primary); bottom: 2px; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.gal-dot { padding: 8px 3px; }
.gal-dot i { position: relative; display: block; width: 6px; height: 6px; border-radius: 999px; overflow: hidden; background: color-mix(in srgb, var(--dot) 55%, transparent); transition: width 0.5s var(--spr-soft); }
.gal-dot.on i { width: 26px; }
.gal-dot.on i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--dot); transform-origin: right; animation: gal-fill var(--gal-t, 5s) linear both; }
.gal.held .gal-dot.on i::after { animation: none; }
@keyframes gal-fill { from { transform: scaleX(0); } to { transform: none; } }
.gal-nav { --r: 999px; position: absolute; top: calc(44% - 21px); width: 42px; height: 42px; display: none; place-items: center; color: #fff; z-index: 2; opacity: 0; transition: opacity 0.25s var(--ease-out); }
.gal-nav.prev { inset-inline-start: 12px; }
.gal-nav.next { inset-inline-end: 12px; }
.gal-nav svg { width: 19px; height: 19px; }
.gal-nav:disabled { visibility: hidden; }
.gal-zoom, .gal-nav { --g-tint: rgba(20, 8, 16, 0.34); }
.gal-zoom { --r: 999px; position: absolute; inset-inline-end: 12px; bottom: 22%; width: 36px; height: 36px; display: grid; place-items: center; color: #fff; z-index: 2; }
.gal-zoom svg { width: 16px; height: 16px; }
@media (hover: hover) { .gal-nav { display: grid; } .gal:hover .gal-nav, .gal:focus-visible .gal-nav { opacity: 1; } }
html.rm .gal-dot i { transition: none; }
html.rm .gal-dot.on i::after { animation: none; }

/* ── نمای بزرگ ── */
.pv { position: fixed; inset: 0; z-index: 70; overflow: hidden; color: #fff; touch-action: none; user-select: none; -webkit-user-select: none; }
.pv-bg { position: absolute; inset: 0; overflow: hidden; background: #0b0709; opacity: 0; transition: opacity 0.42s var(--ease-out); }
.pv-bg img { position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover; filter: blur(64px) saturate(1.5) brightness(0.5); opacity: 0.75; }
.pv.in .pv-bg { opacity: 1; }
.pv-track { position: absolute; inset: 0; display: flex; will-change: transform; }
.pv-s { flex: 0 0 100%; min-width: 0; height: 100%; overflow: hidden; }
.pv-s img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.pv { cursor: zoom-out; }
.pv.zoomed { cursor: grab; }
.pv-ui { opacity: 0; transition: opacity 0.26s var(--ease-out); }
.pv.in .pv-ui { opacity: 1; transition: opacity 0.4s var(--ease-out) 0.16s; }
.pv.bare .pv-ui, .pv.zoomed .pv-th { opacity: 0; pointer-events: none; }
.pv-top { position: absolute; top: calc(12px + env(safe-area-inset-top)); left: 12px; right: 12px; display: flex; align-items: center; justify-content: space-between; z-index: 3; pointer-events: none; }
.pv-top > * { pointer-events: auto; }
.pv-n { --r: 999px; height: 38px; padding: 0 15px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 800; }
.pv-x { --r: 999px; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; }
.pv-nav { --r: 999px; position: absolute; top: calc(50% - 24px); width: 48px; height: 48px; display: none; place-items: center; color: #fff; z-index: 3; }
.pv-nav.prev { inset-inline-start: 18px; }
.pv-nav.next { inset-inline-end: 18px; }
.pv-nav:disabled { visibility: hidden; }
@media (hover: hover) { .pv-nav { display: grid; } }
.pv-th { --r: 20px; position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom)); display: flex; gap: 6px; padding: 6px; max-width: calc(100% - 24px); overflow-x: auto; z-index: 3; }
.pv-th button { position: relative; flex: none; width: 46px; height: 60px; border-radius: 13px; overflow: hidden; opacity: 0.5; transition: opacity 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out); }
.pv-th button.on { opacity: 1; box-shadow: 0 0 0 2px #fff; }
.pv-th img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── پیشنهاد ترکیبی (۲۶۰): کارت با کلاژ عکس قلم‌ها ── */
.bcard { --r: 20px; display: block; flex: none; width: 216px; overflow: hidden; transition: transform 0.5s var(--spr-bounce); -webkit-tap-highlight-color: transparent; }
.bcard:active { transform: scale(0.98); }
.bcol { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 2px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tile-bg); }
.bcol img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; -webkit-user-drag: none; }
.bcol.n3 img:first-child { grid-row: span 2; }
.bcol.n2 img { grid-row: span 2; }
.bcol .off { position: absolute; top: 8px; inset-inline-start: 8px; height: 24px; padding: 0 9px; border-radius: 999px; display: inline-flex; align-items: center; background: var(--accent); color: var(--on-accent); font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.btx { display: block; min-width: 0; padding: 10px 12px 12px; line-height: 1.6; }
.btx b { display: block; font-size: 13.5px; font-weight: 800; color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btx small { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.bpr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 7px; margin-top: 3px; }
.bpr strong { font-size: 14px; font-weight: 800; color: var(--accent-ink); white-space: nowrap; }
.bpr s { font-size: 11.5px; color: var(--muted); }
.bcard.wide { display: flex; width: 100%; margin-top: 8px; }
.bcard.wide .bcol { flex: none; width: 128px; aspect-ratio: auto; min-height: 112px; }
.bcard.wide .btx { flex: 1; align-self: center; }
html.rm .bcard { transition: none; }

/* ── آنچه ویترین‌ساز روشن می‌کند ── */
.store-pattern { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.name, .t1, .t2, .sheet h2 { font-family: var(--font-display, inherit); }
#bayotfx { position: fixed; inset: 0; z-index: 8; pointer-events: none; }
#stbar { position: fixed; z-index: 45; left: 12px; right: 12px; top: 12px; max-width: 456px; margin: 0 auto; }
#stbar > div { --r: 20px; padding: 12px 16px; text-align: center; line-height: 1.7; }
#stbar b { display: block; font-size: 14.5px; font-weight: 900; color: var(--primary); }
#stbar p { font-size: 12.5px; color: var(--muted); }
#stbar[data-mode="soon"] { inset: 0; max-width: none; margin: 0; display: grid; place-items: center; padding: 24px; background: color-mix(in srgb, var(--bg) 62%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
#stbar[data-mode="soon"] > div { max-width: 340px; padding: 26px 22px; }
#stbar[data-mode="soon"] b { font-size: 20px; }
html.edit [data-edit] { cursor: pointer; }
html.edit .lit { outline: 2px dashed var(--accent-ink); outline-offset: 3px; border-radius: 12px; }
.edit-tag { position: fixed; z-index: 90; height: 26px; padding: 0 10px; border-radius: 999px; background: #1c1118; color: #fff; font-size: 11.5px; font-weight: 800; display: inline-flex; align-items: center; pointer-events: none; white-space: nowrap; }

/* ── مناسبت: آویز، خوشه‌ی نقش، پترن، قاب پروفایل (۲۷۳) ── */
html.seasoned body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: var(--season-bg, none); background-size: 72px; opacity: 0.07; transform: rotate(-8deg) scale(1.3); }
.sdeco { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.sdeco svg { display: block; width: 100%; height: 100%; }
.sg { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 10px; }
.sg span { position: relative; display: block; width: 28px; height: 28px; margin-top: var(--l); transform-origin: 50% calc(-1 * var(--l)); animation: sway 5s ease-in-out var(--d) infinite alternate; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3)); }
.sg span::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1.5px; height: var(--l); margin-left: -0.75px; background: rgba(255, 255, 255, 0.6); }
@keyframes sway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.sc { position: absolute; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35)); }
.sc.a { width: 112px; height: 112px; left: -18px; bottom: 34px; transform: rotate(-16deg); }
.sc.b { width: 78px; height: 78px; left: 78px; bottom: 16px; transform: rotate(12deg); }
.sring { position: absolute; z-index: 4; width: 34px; height: 34px; margin-top: -30px; margin-inline-start: 60px; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.3)); pointer-events: none; }
.sring svg { display: block; width: 100%; height: 100%; }
html.rm .sg span { animation: none; }

/* ── سبک‌های چیدمان ── */
[data-head="center"] .prow { flex-direction: column; align-items: center; gap: 10px; }
[data-head="center"] .stats { width: 100%; flex: none; }
[data-head="center"] .name { justify-content: center; }
[data-head="center"] .cat, [data-head="center"] .bio { text-align: center; }
[data-head="card"] .profile { margin: -64px 12px 0; padding: 12px 14px 14px; border-radius: var(--card-r); background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: 0 20px 40px -24px rgba(20, 8, 16, 0.5); }
[data-head="mag"] .avatar { width: 62px; height: 62px; }
[data-head="mag"] .name { font-size: calc(36px * var(--name-k, 1)); line-height: 1.2; letter-spacing: -0.01em; }
[data-tabs="line"] .tabs .pill { top: auto !important; bottom: 4px; height: 3px; border-radius: 3px; background: var(--accent); box-shadow: none; }
[data-tabs="line"] .tab.on { color: var(--primary); }
[data-tabs="icon"] .tab .lb { display: none; }
[data-btn="solid"] .btn.g-accent::before, [data-btn="solid"] .btn.g-accent::after, [data-btn="line"] .btn.g-accent::before, [data-btn="line"] .btn.g-accent::after { display: none; }
[data-btn="solid"] .btn.g-accent { background: var(--accent); box-shadow: none; }
[data-btn="line"] .btn.g-accent { background: none; color: var(--accent-ink); box-shadow: inset 0 0 0 1.5px var(--accent-ink); }
[data-edge="flat"] .media-clip { -webkit-mask-image: none; mask-image: none; }
[data-edge="arch"] .media-clip { -webkit-mask-image: none; mask-image: none; clip-path: ellipse(92% 100% at 50% 0); }
[data-edge="wave"] .media-clip { -webkit-mask-image: none; mask-image: none; clip-path: polygon(0 0, 100% 0, 100% 90%, 92% 93%, 84% 95.5%, 76% 96.5%, 68% 96%, 60% 94%, 52% 91.5%, 44% 90%, 36% 90.5%, 28% 92.5%, 20% 95%, 12% 96.5%, 4% 96%, 0 95%); }
[data-ring="none"] .avatar .ring { display: none; }
[data-ring="glow"] .avatar { box-shadow: 0 0 0 3px var(--bg), 0 0 26px 4px var(--accent); }
[data-ring="story"] .avatar { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--accent), 0 0 0 7px var(--primary); }
[data-bgm="grad"] body { background: linear-gradient(180deg, var(--bg) 30%, color-mix(in srgb, var(--accent) 16%, var(--bg)) 100%) fixed; }
[data-bgm="photo"] .ambient { display: block; position: fixed; inset: -8%; z-index: -1; opacity: 0.34; filter: blur(46px) saturate(1.3); }
[data-bgm="photo"] .ambient img { width: 100%; height: 100%; object-fit: cover; }
[data-enter="none"] .reveal, [data-enter="none"] .tile.wave, [data-enter="none"] .name .w, [data-enter="none"] .avatar { animation: none !important; opacity: 1 !important; transform: none !important; }
[data-enter="fade"] .tile.wave.in { animation-name: tile-fade; }
@keyframes tile-fade { from { opacity: 0; } to { opacity: 1; } }
[data-gridm="puzzle"] .grid .tile:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
[data-gridm="list"] .grid { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-inline: 12px; }
[data-gridm="list"] .tile { aspect-ratio: 16 / 7; border-radius: var(--card-r); }
[data-tilefx="shadow"] .tile { box-shadow: 0 12px 24px -14px rgba(20, 8, 16, 0.5); }
[data-tilefx="border"] .tile { box-shadow: inset 0 0 0 1.5px var(--hair-2); }
html.no-glyph .tile .gl { display: none; }
.tile::after { position: absolute; top: 8px; right: 8px; z-index: 3; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 10.5px; font-weight: 800; }

/* ── بلوک‌های تازه ── */
/* بلوک‌های متن (۳۲۶): هر بلوک یک کارت شیشه‌ای با نشانه‌ی خودش؛ روی رومیزی دو ستون */
#xblocks { display: grid; gap: 12px; margin: 18px 16px 0; align-items: start; }
.xb { --r: var(--card-r); padding: 18px 16px; font-size: 13.5px; line-height: 2; color: var(--text); }
.xb h3 { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; font-size: 15px; font-weight: 800; line-height: 1.6; color: var(--primary); }
.xb h3::before { content: ""; flex: none; width: 20px; height: 20px; background: var(--accent-ink); -webkit-mask: var(--xi) center / contain no-repeat; mask: var(--xi) center / contain no-repeat; }
.xb[data-edit="about"] { --xi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7.5-4.8-7.5-10.4A4.4 4.4 0 0 1 12 7.8a4.4 4.4 0 0 1 7.5 2.8C19.500 16.200 12 21 12 21z'/%3E%3C/svg%3E"); }
.xb[data-edit="hours"] { --xi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.500'/%3E%3Cpath d='M12 7.500V12l3 2'/%3E%3C/svg%3E"); }
.xb[data-edit="faq"] { --xi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.500'/%3E%3Cpath d='M9.700 9.500a2.400 2.400 0 1 1 3.400 2.200c-.8.4-1.100.9-1.100 1.800M12 16.500h.01'/%3E%3C/svg%3E"); }
.xb[data-edit="team"] { --xi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8.500' r='3.200'/%3E%3Cpath d='M3.500 19c.6-3.200 2.800-5 5.500-5s4.900 1.800 5.500 5M15.500 5.700a3.200 3.200 0 0 1 0 5.700M17.500 14.500c1.700.7 2.700 2.300 3 4.500'/%3E%3C/svg%3E"); }
.xb[data-edit="ship"] { --xi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6.500h11v10H3zM14 10h3.800L21 13v3.500h-7z'/%3E%3Ccircle cx='7.500' cy='18' r='1.700'/%3E%3Ccircle cx='17' cy='18' r='1.700'/%3E%3C/svg%3E"); }
.xb[data-edit="reviews"] { --xi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.500l2.600 5.300 5.900.9-4.200 4.100 1 5.800-5.300-2.800-5.300 2.800 1-5.800L3.500 9.700l5.900-.9z'/%3E%3C/svg%3E"); }
.xb[data-edit="ba"] { --xi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M7 8l-4 4 4 4M17 8l4 4-4 4'/%3E%3C/svg%3E"); }
.xb[data-edit="gift"] { --xi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11h16v9H4zM3 7.500h18V11H3zM12 7.500V20M12 7.500S10.500 3.500 8 4.500s.5 3 4 3zm0 0s1.500-4 4-3-.5 3-4 3z'/%3E%3C/svg%3E"); }
.xb[data-edit="stamp"] { --xi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.500'/%3E%3Cpath d='M8.500 12.200l2.400 2.300 4.600-4.700'/%3E%3C/svg%3E"); }
.xb > p { color: var(--muted); }
.xb .open { margin-inline-start: auto; height: 24px; padding: 0 9px; border-radius: 999px; display: inline-flex; align-items: center; background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); font-size: 11.5px; font-weight: 800; }
.xb ul { list-style: none; }
.xb li { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 40px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--hair); }
.xb li:first-child { border-top: 0; }
.xb li b { font-weight: 800; color: var(--primary); }
.xb details { border-top: 1px solid var(--hair); }
.xb details:first-of-type { border-top: 0; }
.xb summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; cursor: pointer; font-weight: 700; line-height: 1.7; color: var(--primary); list-style: none; }
.xb summary::-webkit-details-marker { display: none; }
.xb summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-inline-end: 4px; border-inline-end: 2px solid var(--faint); border-block-end: 2px solid var(--faint); transform: rotate(45deg); transition: transform 0.25s var(--ease-out); }
.xb details[open] summary::after { transform: rotate(-135deg); }
.xb details p { padding-bottom: 12px; color: var(--muted); }
.xb blockquote { margin-top: 8px; padding: 12px 14px; border-radius: calc(var(--card-r) * 0.6); background: var(--chip); color: var(--text); line-height: 1.9; }
.xb h3 + blockquote { margin-top: 0; }
.xb cite { display: block; margin-top: 2px; font-style: normal; font-size: 11.5px; color: var(--muted); }
.xb .more-r { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-size: 13px; font-weight: 800; color: var(--accent-ink); }
.qs { --n: 5; display: block; width: fit-content; direction: ltr; font-size: 14px; line-height: 1.5; letter-spacing: 1px; color: transparent; background: linear-gradient(90deg, #f5b73c calc(var(--n) * 20%), var(--hair-2) 0); -webkit-background-clip: text; background-clip: text; }
@media (min-width: 64rem) {
  #xblocks { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 18px 0 0; }
  .xb[data-edit="ba"], .xb[data-edit="reviews"], .xb[data-edit="about"] { grid-column: 1 / -1; }
}
html.rm .xb summary::after { transition: none; }
#popw { position: fixed; inset: 0; z-index: 44; display: grid; place-items: center; padding: 24px; background: rgba(20, 8, 16, 0.38); }
#popw > div { --r: 24px; position: relative; max-width: 330px; padding: 22px 20px; text-align: center; line-height: 1.8; }
#popw button { position: absolute; top: 8px; left: 10px; width: 34px; height: 34px; font-size: 20px; color: var(--muted); }
#popw h3 { font-size: 18px; font-weight: 900; color: var(--primary); }
#popw p { font-size: 13.5px; color: var(--text); }
#popw code { display: inline-block; margin-top: 8px; padding: 6px 14px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); font: inherit; font-size: 15px; font-weight: 900; letter-spacing: 0.06em; direction: ltr; }
/* کف صفحه‌ی گوشی و تبلت یک ردیف است: تماس، دکمه‌ی اصلی و پرسش روی یک خط. سبد که پر شد ردیف یک پله بالا می‌رود و دکمه‌ی چسبان جا را به سبد می‌دهد؛ روی رومیزی چیزی شناور نیست و همه در ستون کناری است (۳۰۹) */
:root { --dock: calc(14px + env(safe-area-inset-bottom)); }
html .ask:not(.desk) { right: 14px; bottom: calc(var(--dock) + 3px); }
html.has-sticky .ask:not(.desk), html.cart-on .ask:not(.desk) { width: 50px; height: 50px; bottom: var(--dock); padding: 0; gap: 0; justify-content: center; }
html.has-sticky .ask:not(.desk) .lb, html.cart-on .ask:not(.desk) .lb { max-width: 0; opacity: 0; }
html.cart-on #stickyb { display: none; }
@media (max-width: 63.99rem) {
  html .cartbar { left: 72px; right: 72px; bottom: var(--dock); height: 50px; max-width: 520px; padding: 0 8px 0 10px; }
  html .cartbar .badge { width: 34px; height: 34px; }
}
@media (max-width: 26rem) { html .cartbar .lbl, html .cartbar > svg { display: none; } html .cartbar .sum { margin-inline-start: auto; } }
#calld { display: none; }
@media (min-width: 64rem) {
  html #stickyb, html #callb { display: none; }
  #calld { --r: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; height: 44px; margin-top: 8px; font-size: 12.5px; font-weight: 800; color: var(--primary); }
  #calld svg { width: 18px; height: 18px; color: var(--accent-ink); }
}
/* تا دکمه‌ی اصلی پیداست، دکمه‌ی چسبان کنار می‌رود: دو دکمه‌ی یکسان روی هم و روی متن معرفی می‌افتادند (۳۰۸) */
#stickyb { transition: opacity 0.25s var(--ease-out, ease), transform 0.25s var(--ease-out, ease); }
#stickyb.hold { opacity: 0; transform: translateY(12px); pointer-events: none; }
html.rm #stickyb { transition: none; }
#stickyb { --r: var(--cta-r); position: fixed; left: 72px; right: 72px; bottom: var(--dock); z-index: 24; height: 50px; max-width: 520px; margin: 0 auto; justify-content: center; font-size: 15px; }

/* ── ردیف اعتماد ── */
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.trust a { display: contents; }
.trust b, .trust span { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--chip); font-size: 11.5px; font-weight: 700; line-height: 1; white-space: nowrap; color: var(--text); }
.trust b svg { width: 12px; height: 12px; color: var(--success); }
.trust b.star { color: var(--primary); font-weight: 800; }
.trust b.star::before { content: "★"; color: #f5b73c; font-size: 13px; }
.trust b.star svg { display: none; }
[data-align="center"] .trust, [data-head="center"] .trust { justify-content: center; }

/* ── لایه‌های پشت صفحه (۲۷۷): رنگ، هاله، پترن، صحنه. پترن روی هاله است تا واقعاً دیده شود ── */
.aura { z-index: -3 !important; }
.ambient { z-index: -4 !important; }
.store-pattern { z-index: -2; }
html.scened .aura { display: none; }
html.scened body { background: var(--bg); }

/* ── صحنه‌ی زنده به‌جای عکس (قالب‌های حرفه‌ای): بوم فقط داخل قاب بالاست، پس نوشته هرگز روی کاراکتر نمی‌افتد ── */
html.herosc .stage { height: 46svh; min-height: 340px; max-height: 520px; }
html.herosc .stage .glow { display: none; }
html.herosc .demo-pill, html.herosc .circ, html.herosc .announce { color: var(--primary); }
html.herosc .glass.g-clear { --g-tint: color-mix(in srgb, var(--bg) 62%, transparent); }
#stage .bscene { -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
/* پرده‌ی نرم: صحنه‌ی تمام‌صفحه دیده می‌شود ولی نوشته‌ی بیرون کارت از رنگ صحنه آسیب نمی‌بیند */
html.scened { --veil-k: 62%; }
html.seasoned { --veil-k: 40%; }
html.scened:not(.sc-stage):not(.night) body::after, html.seasoned body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: color-mix(in srgb, var(--bg) var(--veil-k), transparent); }

/* ── حالت شب (۲۷۷): عکس کم‌نور، لبه‌ی مهتابی، دکمه‌ی روشن و کلید ماه ── */
html.night { color-scheme: dark; }
html.night .media, html.night .tile img, html.night .hl img, html.night .gal img, html.night .avatar img, html.night .xb img { filter: brightness(var(--night-dim, 0.86)) saturate(0.92); }
html.night #tplart, html.night #tplclip { filter: brightness(var(--night-dim, 0.86)) saturate(0.94); }
html.night .scrim { background: linear-gradient(180deg, rgba(6, 8, 20, 0.6) 0%, rgba(6, 8, 20, 0.2) 60%, rgba(6, 8, 20, 0) 100%); }
html.night .glass.g-regular, html.night .glass.g-thick { box-shadow: inset 0 0 0 0.6px rgba(190, 205, 255, 0.2), 0 18px 40px -22px rgba(0, 0, 0, 0.8); }
html.night .btn.g-accent { box-shadow: 0 0 0 0.6px rgba(255, 255, 255, 0.28), 0 0 30px -6px color-mix(in srgb, var(--accent) 70%, transparent); }
html.night .name { text-shadow: 0 0 26px color-mix(in srgb, var(--accent) 34%, transparent); }
html.night .avatar { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 50%, transparent), 0 0 34px -4px color-mix(in srgb, var(--accent) 56%, transparent); }
#nightb svg { overflow: visible; }
#nightb .sun, #nightb .moon { transform-origin: 12px 12px; transition: transform 0.6s var(--spr-soft, ease), opacity 0.3s var(--ease-out, ease); }
#nightb .moon { transform: rotate(-70deg) scale(0.4); opacity: 0; }
html.night #nightb .sun { transform: rotate(70deg) scale(0.4); opacity: 0; }
html.night #nightb .moon { transform: none; opacity: 1; }
#nav #nightb { width: 38px; height: 38px; background: none; color: var(--primary); box-shadow: none; }
#nav #nightb::before, #nav #nightb::after { display: none; }
#nightb.free { position: fixed; top: 12px; left: 12px; z-index: 30; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.rm #nightb .sun, html.rm #nightb .moon { transition: none; }

/* ── عکس Flow در قاب بالا ── */
#tplart { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent); mask-image: linear-gradient(180deg, #000 74%, transparent); animation: artzoom 26s ease-in-out infinite alternate; }
@keyframes artzoom { from { transform: scale(1); } to { transform: scale(1.06); } }
html.rm #tplart { animation: none; }
html.arted .stage { height: 64svh; max-height: 680px; }
html.arted #stage .bscene { z-index: 3; }
html.arted .stage .sdeco, html.arted .stage .sring { display: none; }
html.arted .media-clip { visibility: hidden; }

/* ── رسانه (۲۸۳): زیر ویدیو همیشه پوستر است؛ در حالت «کامل» ویدیوی افقی روی نسخه‌ی مات می‌نشیند ── */
.stage .media-wrap { background: var(--poster, none) center / cover no-repeat; }
[data-vfit="blur"] .stage .media-wrap::before { content: ""; position: absolute; inset: -8%; background: var(--poster, none) center / cover no-repeat; filter: blur(26px) saturate(1.2); }
[data-vfit="blur"] .stage .media { object-fit: contain; }
html.lowfps #mute { display: none; }
#tplclip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; z-index: 2; -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent); mask-image: linear-gradient(180deg, #000 74%, transparent); }
[data-fdisp="nast"] .name { line-height: 2.1; }

/* ── چیدمان‌های کاشی (۲۸۳) ── */
[data-gridm="cards"] .grid, [data-gridm="polaroid"] .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-inline: 12px; }
[data-gridm="cards"] .tile { aspect-ratio: auto; display: flex; flex-direction: column; border-radius: var(--card-r); background: color-mix(in srgb, var(--text) 5%, var(--bg)); box-shadow: inset 0 0 0 1px var(--hair); }
[data-gridm="cards"] .tile img { aspect-ratio: 1; height: auto; }
[data-gridm="cards"] .tile .cap, [data-gridm="menu"] .tile .cap, [data-gridm="polaroid"] .tile .cap, [data-gridm="lookbook"] .tile .cap { position: static; background: none; color: var(--text); padding: 10px 12px 12px; }
[data-gridm="cards"] .tile .cap b, [data-gridm="menu"] .tile .cap b, [data-gridm="polaroid"] .tile .cap b, [data-gridm="lookbook"] .tile .cap b { text-shadow: none; color: var(--primary); }
[data-gridm="cards"] .tile .price, [data-gridm="menu"] .tile .price, [data-gridm="polaroid"] .tile .price, [data-gridm="lookbook"] .tile .price { color: var(--accent-ink); --g-tint: transparent; padding: 0; height: auto; }
[data-gridm="cards"] .tile .price::before, [data-gridm="menu"] .tile .price::before, [data-gridm="polaroid"] .tile .price::before, [data-gridm="lookbook"] .tile .price::before, [data-gridm="cards"] .tile .price::after, [data-gridm="menu"] .tile .price::after, [data-gridm="polaroid"] .tile .price::after, [data-gridm="lookbook"] .tile .price::after { display: none; }
[data-gridm="rail"] .grid { display: flex; overflow-x: auto; gap: 10px; padding-inline: 14px; scroll-snap-type: x mandatory; }
[data-gridm="rail"] .tile { flex: 0 0 62%; aspect-ratio: 4 / 5; scroll-snap-align: center; border-radius: var(--card-r); }
[data-gridm="menu"] .grid { grid-template-columns: minmax(0, 1fr); gap: 2px; padding-inline: 14px; }
[data-gridm="menu"] .tile { aspect-ratio: auto; display: flex; align-items: center; gap: 12px; background: none; border-radius: 0; padding: 10px 2px; border-bottom: 1px dashed var(--hair-2); overflow: visible; }
[data-gridm="menu"] .tile img { flex: none; width: 58px; height: 58px; border-radius: 50%; }
[data-gridm="menu"] .tile .cap { flex: 1; min-width: 0; padding: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
[data-gridm="menu"] .tile .gl, [data-gridm="menu"] .tile .pin { display: none; }
[data-gridm="bento"] .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 22vw; grid-auto-flow: dense; gap: 8px; padding-inline: 10px; }
[data-gridm="bento"] .tile { aspect-ratio: auto; border-radius: var(--card-r); grid-column: span 2; }
[data-gridm="bento"] .tile:nth-child(7n + 1) { grid-row: span 2; }
[data-gridm="bento"] .tile:nth-child(7n + 2), [data-gridm="bento"] .tile:nth-child(7n + 5) { grid-column: span 2; }
[data-gridm="bento"] .tile:nth-child(7n + 3), [data-gridm="bento"] .tile:nth-child(7n + 4) { grid-column: span 1; }
[data-gridm="bento"] .tile:nth-child(7n) { grid-column: span 4; grid-row: span 2; }
[data-gridm="bento"] .tile:nth-child(7n + 3) .cap, [data-gridm="bento"] .tile:nth-child(7n + 4) .cap, [data-gridm="bento"] .tile:nth-child(7n + 3) .gl, [data-gridm="bento"] .tile:nth-child(7n + 4) .gl { display: none; }
[data-gridm="masonry"] .grid { display: block; columns: 2; column-gap: 8px; padding-inline: 8px; }
[data-gridm="masonry"] .tile { break-inside: avoid; margin-bottom: 8px; border-radius: var(--card-r); aspect-ratio: 3 / 4; }
[data-gridm="masonry"] .tile:nth-child(3n + 2) { aspect-ratio: 1; }
[data-gridm="masonry"] .tile:nth-child(4n + 3) { aspect-ratio: 2 / 3; }
[data-gridm="lookbook"] .grid { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-inline: 18px; }
[data-gridm="lookbook"] .tile { aspect-ratio: auto; background: none; overflow: visible; border-radius: 0; }
[data-gridm="lookbook"] .tile img { aspect-ratio: 4 / 5; height: auto; border-radius: var(--card-r); }
[data-gridm="lookbook"] .tile:nth-child(even) { margin-inline-start: 18%; }
[data-gridm="lookbook"] .tile:nth-child(odd) { margin-inline-end: 18%; }
[data-gridm="lookbook"] .tile .cap { padding: 12px 2px 0; }
[data-gridm="lookbook"] .tile .cap b { font-family: var(--font-display, inherit); font-size: 22px; line-height: 1.6; -webkit-line-clamp: 3; }
[data-gridm="polaroid"] .tile { aspect-ratio: auto; background: #fbf9f4; padding: 8px 8px 0; border-radius: 3px; box-shadow: 0 16px 26px -16px rgba(20, 10, 16, 0.55); overflow: visible; }
[data-gridm="polaroid"] .tile img { aspect-ratio: 1; height: auto; border-radius: 1px; }
[data-gridm="polaroid"] .tile:nth-child(odd) { transform: rotate(-2.2deg); }
[data-gridm="polaroid"] .tile:nth-child(even) { transform: rotate(1.8deg) translateY(10px); }
[data-gridm="polaroid"] .tile .cap { padding: 8px 2px 12px; }
[data-gridm="polaroid"] .tile .cap b { color: #2b2320; font-family: var(--font-display, inherit); }
[data-gridm="polaroid"] .tile .price { color: #5a3a18; }
[data-gridm="shelf"] .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 6px; padding-inline: 10px; row-gap: 22px; }
[data-gridm="shelf"] .tile { aspect-ratio: 3 / 4; background: none; overflow: visible; border-radius: 10px 10px 2px 2px; }
[data-gridm="shelf"] .tile img { border-radius: 10px 10px 2px 2px; }
[data-gridm="shelf"] .tile::before { content: ""; position: absolute; z-index: 2; left: -6px; right: -6px; bottom: -8px; height: 9px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 34%, var(--bg)), color-mix(in srgb, var(--accent) 56%, #000)); box-shadow: 0 10px 14px -6px rgba(0, 0, 0, 0.45); }
[data-gridm="reels"] .grid { display: flex; flex-direction: column; height: min(82svh, 720px); overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: y mandatory; gap: 10px; padding-inline: 10px; }
[data-gridm="reels"] .tile { flex: 0 0 100%; aspect-ratio: auto; scroll-snap-align: start; border-radius: var(--card-r); }
[data-gridm="reels"] .tile .cap { padding: 110px 18px 22px; }
[data-gridm="reels"] .tile .cap b { font-size: 21px; }
[data-gridm="deck"] .grid { display: block; position: relative; height: min(122vw, 560px); margin: 8px 18px 44px; padding: 0; }
[data-gridm="deck"] .tile { position: absolute; inset: 0; aspect-ratio: auto; border-radius: var(--card-r); touch-action: pan-y; box-shadow: 0 22px 40px -24px rgba(20, 8, 16, 0.7); transform: translate(var(--dx, 0), calc(var(--k, 0) * 13px)) rotate(var(--dr, 0deg)) scale(calc(1 - var(--k, 0) * 0.05)); transition: transform 0.42s var(--spr-soft, ease); }
[data-gridm="deck"] .tile.drag { transition: none; }
[data-gridm="ring"] .grid { display: flex; overflow-x: auto; gap: 0; padding-inline: 18%; scroll-snap-type: x mandatory; perspective: 900px; }
[data-gridm="ring"] .tile { flex: 0 0 66%; aspect-ratio: 3 / 4; border-radius: var(--card-r); scroll-snap-align: center; animation: none !important; filter: none !important; transform: rotateY(calc(var(--d, 0) * -42deg)) scale(calc(1 - var(--a, 0) * 0.22)); opacity: calc(1 - var(--a, 0) * 0.42) !important; }
@media (min-width: 1024px) { [data-gridm="bento"] .grid { grid-auto-rows: 120px; } [data-gridm="rail"] .tile { flex-basis: 40%; } [data-gridm="masonry"] .grid { columns: 3; } [data-gridm="lookbook"] .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* شکل، واکنش و قیمت کاشی */
[data-tshape="arch"] .tile, [data-tshape="arch"] .tile img { border-radius: 999px 999px var(--tile-r) var(--tile-r); }
[data-tshape="circle"] .tile { aspect-ratio: 1; border-radius: 50%; }
[data-tshape="leaf"] .tile { border-radius: 0 44% 0 44%; }
[data-tshape="hex"] .tile { aspect-ratio: 1; border-radius: 0; clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
[data-tshape="blob"] .tile:nth-child(odd) { border-radius: 58% 42% 55% 45% / 46% 56% 44% 54%; }
[data-tshape="blob"] .tile:nth-child(even) { border-radius: 42% 58% 45% 55% / 56% 44% 56% 44%; }
[data-hover="zoom"] .tile:hover img { transform: scale(1.08); }
[data-hover="lift"] .tile { transition: transform 0.35s var(--spr-soft, ease), box-shadow 0.35s; }
[data-hover="lift"] .tile:hover { transform: translateY(-6px); box-shadow: 0 22px 30px -18px rgba(20, 8, 16, 0.6); }
[data-hover="tilt"] .tile { transition: transform 0.4s var(--spr-soft, ease); }
[data-hover="tilt"] .tile:hover { transform: perspective(600px) rotateX(5deg) rotateY(-6deg) scale(1.02); }
[data-hover="shine"] .tile::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.42) 50%, transparent 62%); transform: translateX(-120%); transition: transform 0.8s var(--ease-out, ease); }
[data-hover="shine"] .tile:hover::after { transform: translateX(120%); }
/* چیدمان‌هایی که کاشی را باز می‌گذارند: نوار براق بیرون از کاشی صفحه را از عرض بیرون می‌زد (۳۰۸) */
[data-hover="shine"][data-gridm] .tile { overflow: hidden; }
[data-price="tag"] .tile .price { --r: 4px 12px 12px 4px; }
[data-price="plain"] .tile .price { --g-tint: transparent; padding: 0; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
[data-price="plain"] .tile .price::before, [data-price="plain"] .tile .price::after { display: none; }
[data-btng="true"] .btn.g-accent::after { background: linear-gradient(120deg, var(--accent), color-mix(in srgb, var(--accent) 66%, #fff 34%) 55%, var(--accent)); }
[data-sec="line"] .bsec h2::after { content: ""; display: block; width: 44px; height: 2px; margin-top: 6px; background: var(--accent); }
[data-sec="center"] .bsec h2 { text-align: center; }
[data-sec="center"] #xblocks h3 { justify-content: center; }
html.rm [data-hover] .tile, html.rm [data-hover] .tile img, html.rm [data-hover="shine"] .tile::after { transition: none; }

/* ── چیدمان و صحنه‌ی تکمیلی (۲۷۷) ── */
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(var(--cols-d, var(--cols, 3)), minmax(0, 1fr)); } }
[data-stick="off"] .tabs-wrap { position: static; }
[data-dense="tight"] #highlights, [data-dense="tight"] #bundles, [data-dense="tight"] #tabs, [data-dense="tight"] #xblocks, [data-dense="tight"] .lead { margin-top: 4px; }
[data-dense="airy"] #highlights, [data-dense="airy"] #bundles, [data-dense="airy"] #tabs, [data-dense="airy"] #xblocks, [data-dense="airy"] .lead { margin-top: 30px; }
#tagl { margin-top: 2px; color: var(--accent-ink); font-size: 14px; font-weight: 700; line-height: 1.8; }
[data-head="center"] #tagl, [data-align="center"] #tagl, [data-hero="plain"] #tagl { text-align: center; }
.announce span { transition: opacity 0.28s var(--ease-out, ease); }
.announce.sw span { opacity: 0; }
html.rm .announce span { transition: none; }

/* ── صحنه‌ی زنده و تزئین همه‌ی صفحه‌ها (۲۷۴) ── */
.bscene { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
html.seasoned .aura { display: none; }
html.seasoned body { background: var(--bg); }
html.seasoned body::before { opacity: 0.035; }
.sdeco.page { position: fixed; inset: 0 0 auto 0; height: 110px; z-index: 12; }
.sdeco.page .sg { max-width: 560px; margin: 0 auto; }
.sdeco.page .sg span { width: 22px; height: 22px; }
html.seasoned .btn.g-accent::after { background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.42) 50%, rgba(255, 255, 255, 0) 62%) no-repeat, var(--g-tint); background-size: 240% 100%, auto; animation: sheen 3.8s ease-in-out infinite; }
@keyframes sheen { from { background-position: 120% 0, 0 0; } to { background-position: -60% 0, 0 0; } }
html.rm.seasoned .btn.g-accent::after { animation: none; }
.greet { font-size: 15px; font-weight: 900; color: var(--accent-ink); margin-top: 4px; }

/* ── بلوک‌های تازه ── */
/* قبل و بعد (۳۲۶): دو عکس دقیقا روی هم؛ با کشیدن فقط برش عکس بالایی عوض می‌شود */
.baw { --p: 50%; position: relative; aspect-ratio: 4 / 3; margin-top: 4px; border-radius: 14px; overflow: hidden; direction: ltr; cursor: ew-resize; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.baw img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.bac { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.baw i { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.45); pointer-events: none; }
.baw i::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #2b2320; font-size: 17px; font-weight: 800; font-style: normal; line-height: 1; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32); }
.baw em { position: absolute; top: 10px; height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(20, 12, 16, 0.55); color: #fff; font-size: 11.5px; font-style: normal; font-weight: 700; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.baw em.b0 { left: 10px; }
.baw em.b1 { right: 10px; }
.baw input { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.baw input:focus-visible ~ i::after { outline: 2px solid var(--accent); outline-offset: 2px; }
.tmr { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 14px 10px; margin-top: 4px; }
.tmr > div { text-align: center; line-height: 1.6; }
.tmr img, .tmi { width: 64px; height: 64px; margin: 0 auto 6px; border-radius: 50%; object-fit: cover; }
.tmi { display: grid; place-items: center; background: linear-gradient(145deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--primary))); color: var(--on-accent); font-size: 22px; font-weight: 800; font-style: normal; }
.tmr b { display: block; font-size: 13px; font-weight: 800; color: var(--primary); }
.tmr small { font-size: 11.5px; color: var(--muted); }
.stp { display: grid; grid-template-columns: repeat(auto-fill, 34px); gap: 8px; margin-top: 8px; }
.stp i { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--hair-2); }
.stp i.on { background: var(--accent); box-shadow: none; }
#callb { --r: 999px; position: fixed; left: 14px; bottom: var(--dock); z-index: 24; width: 50px; height: 50px; display: grid; place-items: center; }
#callb svg { width: 22px; height: 22px; }

/* صحنه‌ی متحرک زیر شیشه گران است: مرورگر باید هر فریم تاری را از نو بسازد. روی صحنه شیشه بی‌تاری و پررنگ‌تر می‌شود؛ هم روان‌تر است و هم نوشته‌ی روی کارت خواناتر (۲۷۷). */
html.scened .glass::before, html.seasoned .glass::before { -webkit-backdrop-filter: none; backdrop-filter: none; }
html.scened .glass.g-regular, html.seasoned .glass.g-regular { --g-tint: color-mix(in srgb, var(--bg) 78%, transparent); }
html.scened .glass.g-thick, html.seasoned .glass.g-thick { --g-tint: color-mix(in srgb, var(--bg) 90%, transparent); }
html.herosc [data-hero="plain"] .profile { margin-top: -34px; }
@media (min-width: 1024px) { html.herosc [data-hero="plain"] .profile { margin-top: -30px; } }
.stage .sdeco { z-index: 1; }
.stage .announce, .stage .float-top { z-index: 4; }

/* روی صحنه شیشه تار نیست، پس نوار سبد و دکمه‌های شناور باید تقریباً مات باشند تا متن پشتشان با نوشته‌ی خودشان قاطی نشود */
html.scened .g-dark, html.seasoned .g-dark { --g-tint: rgba(26, 14, 22, 0.94); }
html.scened .ask.glass, html.seasoned .ask.glass { --g-tint: color-mix(in srgb, var(--bg) 94%, transparent); }

/* روی عکس روشن، قرص‌های بالا تیره می‌شوند تا نوشته‌ی سفید خوانا بماند */
html.arted .demo-pill, html.arted .circ, html.arted .announce { color: #fff; }
html.arted .stage .glass.g-clear { --g-tint: rgba(20, 10, 16, 0.58); }
html.arted .announce svg { color: #ffd98a; }

/* منوی دسته‌ها (۳۲۶): شیشه با رنگ خود قالب؛ روی هر عکسی پیدا می‌ماند و نوشته‌اش کنتراست کامل دارد */
html .tabs.glass.g-regular { --g-blur: 24px; --g-tint: color-mix(in srgb, var(--bg) 84%, transparent); box-shadow: 0 0 0 0.6px color-mix(in srgb, var(--text) 16%, transparent), 0 10px 26px -14px rgba(20, 8, 16, 0.5); }
html.scened .tabs.glass::before, html.seasoned .tabs.glass::before { -webkit-backdrop-filter: blur(24px) saturate(1.8); backdrop-filter: blur(24px) saturate(1.8); }
.tabs .tab:not(.on) { color: var(--primary); }
[data-tabs="line"] .tabs .tab.on { color: var(--primary); }

html, body { min-height: 100%; overflow-x: clip; width: 100%; }
body { overflow-x: clip; }
/* زمینه: پترن فروشنده کم‌رنگ + نور محیط از عکس صحنه (aura  موجود) */
.aura { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aura { opacity: var(--aura-k, 1); }
.aura i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.6; }
.aura .a1 { width: 460px; height: 380px; right: -140px; top: 30%; background: var(--aura-1); }
.aura .a2 { width: 380px; height: 320px; left: -160px; top: 62%; background: var(--aura-2); }
.aura .a3 { width: 300px; height: 300px; right: 20%; bottom: -120px; background: var(--aura-3); opacity: 0.35; }
.ambient { display: none; }

/* ── صحنه ── */
.aside { position: relative; }
.stage { position: relative; height: calc(62svh * var(--stage-k, 1)); min-height: calc(440px * var(--stage-k, 1)); max-height: calc(600px * var(--stage-k, 1)); }
[data-hero="plain"] .stage { height: 40svh; min-height: 300px; }
/* محو روی لایه‌ی ثابت است، نه روی خود رسانه: رسانه با اسکرول پایین می‌رود و اگر ماسک با آن برود، لبه‌ی نرم از قاب بیرون می‌افتد و مرز تیز برمی‌گردد */
.media-clip { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgba(0, 0, 0, 0.86) 60%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0.32) 80%, rgba(0, 0, 0, 0.12) 90%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgba(0, 0, 0, 0.86) 60%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0.32) 80%, rgba(0, 0, 0, 0.12) 90%, transparent 100%); }
html.figma .media-clip { -webkit-mask-image: none; mask-image: none; }
.stage .media-wrap { position: absolute; inset: 0; will-change: transform, filter; }
.stage .media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) var(--fy, 50%); transform: scale(var(--z, 1)); }
html.no-kb .stage .media { animation: none !important; }
[data-hero="cover"] .stage .media { animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(var(--z, 1)); } to { transform: scale(calc(var(--z, 1) * 1.07)); } }
.stage .glow { display: none; }
[data-hero="plain"] .stage .glow { display: block; position: absolute; border-radius: 50%; filter: blur(60px); }
[data-hero="plain"] .stage .glow.g1 { width: 360px; height: 300px; right: -80px; top: -60px; background: var(--aura-3); opacity: 0.45; }
[data-hero="plain"] .stage .glow.g2 { width: 320px; height: 300px; left: -100px; top: 40px; background: var(--aura-1); opacity: 0.6; }
[data-hero="plain"] .stage .glow.g3 { width: 260px; height: 220px; left: 30%; bottom: -80px; background: var(--aura-2); opacity: 0.6; }
.scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(var(--scrim-c, 20, 8, 16), var(--scrim-a, 0.42)) 0%, rgba(var(--scrim-c, 20, 8, 16), calc(var(--scrim-a, 0.42) * 0.4)) 60%, rgba(20, 8, 16, 0) 100%); }
html.figma .scrim { background: linear-gradient(180deg, rgba(20, 8, 16, 0.42) 0%, rgba(20, 8, 16, 0) 28%, rgba(251, 245, 236, 0) 56%, var(--bg) 100%); }
[data-hero="plain"] .scrim { background: none; }
.float-top { position: absolute; inset: 12px 12px auto 12px; display: flex; align-items: center; justify-content: space-between; z-index: 3; }
.demo-pill { --r: 999px; height: 34px; padding: 0 12px 0 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; color: #fff; }
[data-hero="plain"] .demo-pill { color: var(--primary); }
.float-top .end { display: flex; gap: 8px; }
.circ { --r: 999px; width: 40px; height: 40px; display: grid; place-items: center; color: #fff; }
.circ svg { width: 19px; height: 19px; }
[data-hero="plain"] .circ { color: var(--primary); }
.announce { --r: 999px; position: absolute; top: 60px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 48px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  height: 34px; padding: 0 14px; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; color: #fff; z-index: 3; }
.announce svg { width: 15px; height: 15px; color: #ffd089; }
[data-hero="plain"] .announce { color: var(--primary); }
[data-hero="plain"] .announce svg { color: var(--accent-ink); }
.mute { --r: 999px; position: absolute; left: 12px; top: 56%; width: 40px; height: 40px; display: grid; place-items: center; color: #fff; z-index: 3; }
.mute svg { width: 17px; height: 17px; }
[data-hero="cover"] .mute, [data-hero="plain"] .mute { display: none; }

/* @components */
/* ── پروفایل ── */
.profile { position: relative; z-index: 2; padding: 0 16px 6px; margin-top: -46px; }
.prow { display: flex; align-items: flex-end; gap: 16px; }
.avatar { --r: 50%; position: relative; width: calc(92px * var(--avatar-k, 1)); height: calc(92px * var(--avatar-k, 1)); border-radius: 50%; flex: none; overflow: hidden; background: #e8d9cf;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 0 4px rgba(255, 255, 255, 0.35), 0 14px 30px -10px rgba(226, 105, 75, 0.55); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
html.live-dialog-open { overflow: hidden; }
.live-dialog { position: fixed; inset: 0; margin: auto; padding: 48px 0 32px; width: min(640px, calc(100% - 32px)); height: min(860px, calc(100dvh - 48px)); max-width: 100%; max-height: 100dvh; border: 1px solid var(--hair); border-radius: 28px; background: var(--bg); color: var(--text); box-shadow: 0 24px 90px #0005; }
.live-dialog::backdrop { background: #180d16a6; backdrop-filter: blur(8px); }
.live-dialog iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.live-close { position: absolute; top: 2px; inset-inline-end: 8px; width: 44px; height: 44px; border-radius: 50%; font-size: 30px; cursor: pointer; }
.live-fallback { position: absolute; bottom: 0; inset-inline: 12px; text-align: center; font-size: 12px; line-height: 32px; }
.live-loading { position: absolute; inset: 45% 0 auto; text-align: center; }
.live-loading[hidden] { display: none; }
.live-photo { padding: 52px 16px 16px; height: auto; background: var(--bg); touch-action: none; }
.live-photo img { display: block; max-height: 75dvh; width: 100%; object-fit: contain; border-radius: 16px; }
#tabs { scroll-margin-top: 24px; }
@media (max-width: 639px) { .live-dialog:not(.live-photo) { width: 100%; height: calc(100dvh - 12px); margin-bottom: 0; border-radius: 24px 24px 0 0; } }
.avatar .ring { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 1.5px 1.5px 0 rgba(255, 255, 255, 0.8), inset -1px -1px 0 rgba(255, 255, 255, 0.3); }
.avatar-glow { position: absolute; width: 140px; height: 140px; right: -8px; top: -14px; border-radius: 50%; background: var(--aura-1); filter: blur(34px); opacity: 0.55; z-index: -1; pointer-events: none; }
.stats { display: flex; flex: 1; min-width: 0; list-style: none; }
.stats li { flex: 1 1 auto; min-width: 0; padding: 0 6px; text-align: center; line-height: 1.3; }
.stats li + li { border-inline-start: 1px solid var(--hair); }
.stats b { display: block; font-size: 20px; font-weight: 800; color: var(--primary); line-height: 1.25; }
.stats span { display: block; margin-top: 2px; font-size: clamp(11px, 3.1vw, 12px); color: var(--muted); font-weight: 600; white-space: nowrap; }
.name { display: flex; align-items: center; gap: 7px; font-size: calc(26px * var(--name-k, 1)); font-weight: var(--name-w); color: var(--primary); line-height: 1.3; margin-top: 16px; }
.name .w { display: inline-block; }
.name .vf { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: var(--on-primary); flex: none; }
.name .vf svg { width: 12px; height: 12px; }
.cat { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 3px; }
.bio { font-size: calc(14.5px * var(--body-k, 1)); line-height: 1.95; margin-top: 12px; color: var(--text); }
[data-align="center"] .name { justify-content: center; }
[data-align="center"] .cat, [data-align="center"] .bio { text-align: center; }
html.no-price .tile .price { display: none; }
html.no-title .tile .cap > b { display: none; }
.addr { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 12px; }
.addr > svg { width: 16px; height: 16px; color: var(--accent-ink); flex: none; }
.addr .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addr .btn { --r: 12px; height: 36px; padding: 0 12px; font-size: 12.5px; flex: none; }
.addr .btn svg { width: 15px; height: 15px; color: var(--accent-ink); }
.actions { display: flex; gap: 8px; margin-top: 16px; }
.btn { --r: var(--cta-r); overflow: hidden; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; font-size: 13.5px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.btn.g-accent { color: var(--on-accent); }
.btn svg { width: 17px; height: 17px; }
.btn.main { flex: 1.5 1 auto; min-width: 0; }
.btn.ghost { flex: 1 1 auto; min-width: 0; }
.btn.icon { width: 44px; padding: 0; flex: none; }
[data-follow].on svg path { fill: currentColor; }
.btn.icon[data-follow].on, .circ[data-follow].on { color: var(--accent-ink); }
[data-follow].pop svg { animation: heart-pop var(--spr-bounce-d) var(--spr-bounce); }
@keyframes heart-pop { 0% { transform: scale(1); } 35% { transform: scale(1.32); } 100% { transform: scale(1); } }
.welcome { --r: 18px; display: none; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 2px; align-items: center; padding: 10px 14px; margin-top: 12px; font-size: 12.5px; line-height: 1.7; }
[data-hero="cover"] .welcome { display: grid; }
.welcome .hi { font-weight: 800; color: var(--primary); }
.welcome .ap { color: var(--muted); }
.welcome .hi, .welcome .ap { grid-column: 1; }
.welcome a { grid-column: 2; grid-row: 1 / span 2; color: var(--accent-ink); font-weight: 800; white-space: nowrap; }
.links { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.link { --r: 16px; min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 12px; font-size: 13.5px; font-weight: 700; color: var(--primary); }
.link .ic { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--chip); color: var(--primary); flex: none; }
.link .ic svg { width: 17px; height: 17px; }
.link .t { flex: 1; min-width: 0; line-height: 1.55; overflow-wrap: anywhere; }
.link .s { display: block; font-size: 11.5px; line-height: 1.5; color: var(--muted); font-weight: 600; }
.link > svg { color: var(--faint); }
.link.callout { height: auto; padding: 8px 8px 8px 12px; }
.link.callout .ic { width: 44px; height: 44px; overflow: hidden; }
.link.callout .ic img { width: 100%; height: 100%; object-fit: cover; }
.more-links { align-self: center; font-size: 12px; font-weight: 800; color: var(--muted); padding: 2px 10px; }
.socials { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.socials a { --r: 999px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--primary); }
.socials svg { width: 18px; height: 18px; }
/* بی‌کاور: پروفایل در کارت ضخیم و وسط‌چین */
/* flow-root: بی آن حاشیه‌ی منفی آواتار با حاشیه‌ی کارت یکی می‌شود و آواتار به‌جای بیرون‌زدن داخل کارت می‌نشیند */
[data-hero="plain"] .profile { display: flow-root; margin: -120px 16px 0; padding: 0 16px 18px; --r: 28px; }
[data-hero="plain"] .prow { flex-direction: column; align-items: center; gap: 16px; margin-top: -46px; }
[data-hero="plain"] .avatar { width: 96px; height: 96px; }
[data-hero="plain"] .avatar-glow { right: 50%; margin-right: -70px; top: -70px; }
[data-hero="plain"] .stats { width: 100%; flex: none; }
[data-hero="plain"] .name, [data-hero="plain"] .cat { justify-content: center; text-align: center; }
[data-hero="plain"] .bio { text-align: center; }
[data-hero="plain"] .addr .t { flex: none; max-width: 60%; }
[data-hero="plain"] .addr { justify-content: center; }

/* ── هایلایت‌ها ── */
.highlights { display: flex; gap: 14px; padding: 18px 16px 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
.highlights.dragging { cursor: grabbing; scroll-behavior: auto; }
.highlights img { -webkit-user-drag: none; }
.highlights::-webkit-scrollbar { display: none; }
.bsec { padding-top: 12px; }
.bsec h2 { padding: 0 16px; font-size: 15px; font-weight: 900; color: var(--primary); line-height: 1.6; }
.brail { display: flex; gap: 10px; padding: 8px 16px 12px; overflow-x: auto; cursor: grab; user-select: none; -webkit-user-select: none; }
.brail.dragging { cursor: grabbing; }
.hl { flex: none; width: 72px; text-align: center; }
.hl .ring { display: block; width: 72px; height: 72px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, #e2694b, #d9707e, #f2c38a, #e2694b); }
.hl.seen .ring { background: var(--hair-2); padding: 2px; }
.hl .ring > span { display: block; width: 100%; height: 100%; border-radius: 50%; padding: 2.5px; background: var(--bg); }
.hl .ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hl .lb { display: block; font-size: 12px; font-weight: 700; color: var(--primary); margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl.live .lb { color: var(--accent-ink); }
.hl .new { position: absolute; margin: -22px 0 0 -2px; font-size: 9.5px; font-weight: 900; color: var(--on-accent); background: var(--accent); border-radius: 999px; padding: 1px 6px; border: 1.5px solid var(--bg); }
.hl { position: relative; }

/* ── تب‌ها ── */
.tabs-wrap { position: sticky; top: var(--tabs-top, 8px); z-index: 20; padding: 8px 12px 6px; transition: top 0.3s var(--ease-out); }
.tabs { --r: 999px; height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 2px; padding: 4px; position: relative; overflow: hidden; }
.tabs::-webkit-scrollbar { display: none; }
.tabs .pill { position: absolute; top: 4px; height: 40px; border-radius: 999px; background: var(--primary); box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--primary) 60%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.25); z-index: 0; }
.tab { position: relative; z-index: 1; flex: none; height: 40px; min-width: 38px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--primary); border-radius: 999px; transition: color 0.25s var(--ease-out); }
.tab .lb, .tab .c { display: none; }
.tab.on { padding: 0 12px 0 11px; }
.tab.on .lb { display: inline; }
.tab.on .lb.lg { display: none; }
.tab svg { width: 17px; height: 17px; }
.tab.on svg { width: 15px; height: 15px; }
.tab.on { color: var(--on-primary); }
.tab .c { font-size: 10.5px; opacity: 0.6; font-weight: 700; }
.cats { display: none; gap: 6px; padding: 2px 16px 8px; overflow-x: auto; scrollbar-width: none; }
.cats.show { display: flex; }
.cats button { --r: 999px; flex: none; height: 32px; padding: 0 12px; font-size: 12px; font-weight: 800; color: var(--primary); }
.cats button.on { background: var(--primary); color: var(--on-primary); }

/* ── شبکه‌ی سه‌ستونه ── */
.grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--tile-gap); padding-inline: var(--grid-pad); margin-top: 2px; }
.tile { position: relative; aspect-ratio: var(--tile-ar); border-radius: var(--tile-r); overflow: hidden; background: var(--tile-bg); display: block; -webkit-tap-highlight-color: transparent; }
.tile.reel { aspect-ratio: 9 / 16; grid-row: span 1; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.tile .cap { position: absolute; inset: auto 0 0 0; padding: 44px 9px 9px; display: flex; flex-direction: column; gap: 5px; color: #fff; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 8, 16, 0) 0%, rgba(20, 8, 16, 0.42) 38%, rgba(20, 8, 16, 0.76) 100%); }
.tile .cap b { font-size: 13px; font-weight: 800; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); }
.tile .cap .row { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; min-height: 22px; }
.tile .tag { font-size: 10.5px; font-weight: 700; opacity: 0.9; white-space: nowrap; }
.tile .more { display: none; }
.tile .gl { position: absolute; top: 7px; left: 7px; width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; color: #fff; background: rgba(20, 8, 16, 0.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.tile .gl svg { width: 14px; height: 14px; }
.tile .pin { position: absolute; top: 7px; right: 7px; width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; color: var(--on-accent); background: var(--accent); box-shadow: 0 4px 10px -4px rgba(226, 105, 75, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.tile .pin svg { width: 14px; height: 14px; }
.tile .price { --r: 999px; --g-tint: rgba(20, 8, 16, 0.36); --g-blur: 8px; height: 24px; padding: 0 8px; display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 800; color: #fff; white-space: nowrap; }
.tile .price small { font-size: 9.5px; font-weight: 700; opacity: 0.85; }
.tile .price.free { color: #fff; }
.tile .flag { --r: 999px; height: 22px; padding: 0 7px; display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 800; color: #fff; white-space: nowrap; }
.tile .price .dot { width: 6px; height: 6px; border-radius: 50%; background: #ffb257; box-shadow: 0 0 0 2px rgba(255, 178, 87, 0.3); }
.tile.out img { filter: grayscale(0.7); opacity: 0.6; }
.tile.out .price { color: #fff; }
.tile .views { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-size: 11px; font-weight: 800; }
.tile .views svg { width: 13px; height: 13px; }
.tile.text { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; text-align: center; background: linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.15)), linear-gradient(160deg, var(--tile-text-a), var(--tile-text-b)); color: var(--primary); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); }
.tile.text .ti { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--chip); }
.tile.text .ti svg { width: 18px; height: 18px; }
.tile.text .tt { font-size: 12.5px; font-weight: 800; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile.text .tp { font-size: 11px; color: var(--muted); font-weight: 700; }
.tile.gift { background: linear-gradient(150deg, #e2694b, #c94d6c 70%, #9c3b63); color: #fff; box-shadow: none; }
.tile.gift .ti { background: rgba(255, 255, 255, 0.22); color: #fff; }
.tile.gift .tt, .tile.gift .tp { color: #fff; }
.tile.gift .tp { opacity: 0.85; }
.tile:active img { transform: scale(1.04); }
.tile:focus-visible, .tab:focus-visible, .btn:focus-visible, .hl:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── جذب سرنخ، پابرگ ── */
.lead { --r: var(--card-r); margin: 18px 16px 0; padding: 14px; }
.lead h3 { font-size: 14px; font-weight: 900; color: var(--primary); display: flex; align-items: center; gap: 6px; }
.lead h3 svg { color: var(--accent-ink); width: 17px; height: 17px; }
.lead p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.lead .row { display: flex; gap: 8px; margin-top: 10px; }
.lead .in { flex: 1; height: 44px; border-radius: calc(var(--cta-r) - 2px); background: var(--field); box-shadow: inset 0 0 0 1px var(--hair); display: flex; align-items: center; padding: 0 12px; font-size: 14px; color: var(--muted); direction: ltr; justify-content: flex-end; }
.lead .btn { --r: calc(var(--cta-r) - 2px); padding: 0 16px; }
.foot { text-align: center; font-size: 12px; color: var(--muted); padding: 26px 16px 130px; display: flex; justify-content: center; gap: 14px; }
.foot b { color: var(--primary); font-weight: 800; }

/* ── شناورها ── */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: 58px; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 10px; border-radius: 0 0 22px 22px; transform: translateY(-110%); transition: transform 0.45s var(--spr-soft); }
.topbar.show { transform: translateY(0); }
.topbar .av { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9); }
.topbar .av img { width: 100%; height: 100%; object-fit: cover; }
.topbar .tn { font-size: 15px; font-weight: 900; color: var(--primary); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .btn { height: 34px; font-size: 12.5px; padding: 0 12px; }
.topbar .btn.icon { width: 34px; }
.ask { --r: 999px; position: fixed; right: 16px; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 25; height: 44px; padding: 0 14px 0 12px; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; color: var(--primary); }
html.sheet-open .ask { display: none; }
.ask svg { width: 18px; height: 18px; color: var(--accent-ink); }
.ask.glass.press { transition: transform var(--spr-bounce-d) var(--spr-bounce), padding 0.4s var(--spr-soft), gap 0.4s var(--spr-soft); }
.ask .lb { display: inline-block; max-width: 130px; overflow: hidden; white-space: nowrap; transition: max-width 0.4s var(--spr-soft), opacity 0.25s var(--ease-out); }
.ask.mini { padding: 0 13px; gap: 0; }
.ask.mini .lb { max-width: 0; opacity: 0; }
.ask.desk { display: none; }
.cartbar { --r: 18px; position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 25; height: 58px; display: flex; align-items: center; gap: 10px; padding: 0 10px 0 14px; max-width: 420px; margin: 0 auto; }
.cartbar .badge { position: relative; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); color: #fff; }
.cartbar .badge svg { width: 18px; height: 18px; }
.cartbar .badge b { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 10.5px; font-weight: 900; display: grid; place-items: center; border: 1.5px solid #3a1a2c; }
.cartbar .lbl { font-size: 13px; font-weight: 800; }
.cartbar .sum { margin-inline-start: auto; font-size: 13px; font-weight: 800; display: flex; gap: 4px; align-items: baseline; }
.cartbar .sum small { font-size: 10.5px; opacity: 0.8; font-weight: 700; }
.cartbar > svg { color: rgba(255, 255, 255, 0.7); }

/* ── برگه‌ی پیش‌نمایش ── */
.sheet-root { position: fixed; inset: 0; z-index: 40; display: none; }
.sheet-root.open { display: block; }
.sheet-root .scrim2 { position: absolute; inset: 0; background: rgba(20, 8, 16, 0.42); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.46s var(--ease-out); }
.sheet-root.in .scrim2 { opacity: 1; }
.sheet { --r: 30px; position: absolute; left: 0; right: 0; bottom: 0; max-height: 88dvh; padding: 8px 8px calc(14px + env(safe-area-inset-bottom)); border-radius: 30px 30px 0 0; overflow: hidden; display: flex; flex-direction: column; gap: 0;
  transform: translateY(104%); will-change: transform; touch-action: none; transition: transform 0.4s var(--fly); }
.sheet-root.in .sheet { transform: translateY(0); transition: transform var(--spr-soft-d) var(--spr-soft); }
.sheet-root.drag .sheet, .sheet-root.morph.in.drag .sheet { transition: none; }
/* پرواز (۲۶۹): برگه از پایین نمی‌پرد؛ عکس در قابش می‌نشیند و شیشه و متن دورش پدیدار می‌شوند. opacity روی خود برگه نیست چون بلور پس‌زمینه را می‌پراند. */
.sheet-root.morph .sheet { transform: translateY(40px); box-shadow: none; transition: transform 0.42s var(--fly), box-shadow 0.3s var(--ease-out); }
.sheet-root.morph .sheet::before, .sheet-root.morph .sheet::after { opacity: 0; transition: opacity 0.3s var(--ease-out); }
.sheet-root.morph .sheet > .grab, .sheet-root.morph .sheet .body > * { opacity: 0; transform: translateY(12px); transition: opacity 0.2s var(--ease-out), transform 0.3s var(--ease-out); }
.sheet-root.morph.in .sheet { transform: translateY(0); box-shadow: 0 0 0 0.6px rgba(255, 255, 255, 0.55), var(--g-shadow); transition: transform var(--fly-d) var(--fly), box-shadow 0.5s var(--ease-out) 0.1s; }
.sheet-root.morph.in .sheet::before, .sheet-root.morph.in .sheet::after { opacity: 1; transition: opacity 0.42s var(--ease-out) 0.06s; }
.sheet-root.morph.in .sheet > .grab, .sheet-root.morph.in .sheet .body > * { opacity: 1; transform: none; transition: opacity 0.4s var(--ease-out), transform 0.62s var(--fly); }
.sheet-root.morph.in .sheet .body > :nth-child(1) { transition-delay: 0.14s; }
.sheet-root.morph.in .sheet .body > :nth-child(2) { transition-delay: 0.18s; }
.sheet-root.morph.in .sheet .body > :nth-child(3) { transition-delay: 0.22s; }
.sheet-root.morph.in .sheet .body > :nth-child(n + 4) { transition-delay: 0.26s; }
.tile.lifted > * { opacity: 0; }
html.sheet-open { overflow: hidden; }
#sheetgal { position: absolute; inset: 0; border-radius: inherit; }
.sheet .hero.hold { background: none; }
.sheet .hero.hold > * { opacity: 0; }
.sheet .hero .gl { transition: opacity 0.3s var(--ease-out); }
.sheet .hero .gal-zoom { bottom: 12px; inset-inline-end: 12px; }
.sheet .grab { width: 40px; height: 5px; border-radius: 999px; background: var(--hair-2); margin: 4px auto 8px; flex: none; }
.sheet .hero { position: relative; height: 270px; border-radius: 22px; overflow: hidden; flex: none; background: var(--tile-bg); }
.sheet .hero img, .sheet .hero video { width: 100%; height: 100%; object-fit: cover; }
.sheet .hero video { position: absolute; inset: 0; }
.sheet .hero .gl { position: absolute; top: 10px; left: 10px; height: 28px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; color: #fff; background: rgba(20, 8, 16, 0.32); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.sheet .hero .gl svg { width: 14px; height: 14px; }
.sheet .body { padding: 14px 10px 0; overflow: auto; }
.sheet h2 { font-size: 19px; font-weight: 900; color: var(--primary); line-height: 1.45; }
.sheet .top { display: flex; align-items: flex-start; gap: 10px; }
.sheet .rate { margin-inline-start: auto; flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; color: var(--primary); background: var(--chip); border-radius: 999px; padding: 4px 9px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8); }
.sheet .rate svg { width: 13px; height: 13px; color: var(--gold); }
.sheet .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sheet .meta span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--primary); background: var(--chip); border-radius: 999px; padding: 4px 10px; }
.sheet .meta svg { width: 13px; height: 13px; color: var(--muted); }
.sheet .desc { font-size: 13.5px; line-height: 1.9; color: var(--text); margin-top: 10px; }
.sheet .cta { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.sheet .pr { line-height: 1.2; }
.sheet .pr b { font-size: 20px; font-weight: 900; color: var(--primary); display: block; }
.sheet .pr small { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.sheet .pr .was { font-size: 12px; color: var(--faint); text-decoration: line-through; display: block; }
.sheet .cta .btn { flex: 1; height: 50px; font-size: 14.5px; justify-content: space-between; padding: 0 16px; }
.sheet .cta .btn svg { width: 18px; height: 18px; }
.sheet .more { display: block; text-align: center; font-size: 12.5px; font-weight: 800; color: var(--muted); margin-top: 12px; }
.sheet .seller { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 12px; }
.sheet .seller img { width: 24px; height: 24px; border-radius: 50%; }
.sheet .seller b { color: var(--primary); font-weight: 800; }
.flyer { position: fixed; z-index: 60; width: 48px; height: 48px; border-radius: 14px; overflow: hidden; pointer-events: none; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5); }
.flyer img { width: 100%; height: 100%; object-fit: cover; }

/* @/components */
/* قالب‌های مجله‌ای: نام و قیمت زیر عکس */
[data-cap="below"] .tile:not(.text) { aspect-ratio: auto; overflow: visible; background: none; border-radius: 0; }
[data-cap="below"] .tile:not(.text) img { aspect-ratio: var(--tile-ar); height: auto; border-radius: var(--tile-r); }
[data-cap="below"] .tile:not(.text) .cap { position: static; padding: 8px 2px 2px; background: none; color: var(--text); pointer-events: auto; }
[data-cap="below"] .tile:not(.text) .cap b { text-shadow: none; font-weight: 700; }
[data-cap="below"] .tile:not(.text) .cap .price { height: auto; padding: 0; color: var(--muted); font-weight: 700; box-shadow: none; }
[data-cap="below"] .tile:not(.text) .cap .price::before, [data-cap="below"] .tile:not(.text) .cap .price::after { display: none; }
[data-cap="below"] .tile:not(.text) .views, [data-cap="below"] .tile:not(.text) .tag { color: var(--muted); }
[data-cap="below"] .tile .more { color: var(--muted); }
[data-shape="squircle"] .avatar, [data-shape="squircle"] .topbar .av { border-radius: 30%; }
[data-shape="squircle"] .avatar .ring { border-radius: inherit; }

/* ── ورود و حرکت ── */
.reveal { opacity: 0; transform: translateY(16px); animation: rise var(--spr-soft-d) var(--spr-soft) forwards; animation-delay: calc(0.55s + var(--i, 0) * 55ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.stage .media-wrap { animation: stage-in 1.1s var(--ease-out) both; }
@keyframes stage-in { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
.avatar { animation: avatar-in var(--spr-bounce-d) var(--spr-bounce) 0.25s both; }
@keyframes avatar-in { from { opacity: 0; transform: translateY(28px) scale(0.92); } to { opacity: 1; transform: none; } }
.name .w { opacity: 0; filter: blur(8px); transform: translateY(10px); animation: word-in 0.55s var(--ease-out) forwards; animation-delay: calc(0.42s + var(--i, 0) * 70ms); }
@keyframes word-in { to { opacity: 1; filter: blur(0); transform: none; } }
.tile.wave { opacity: 0; transform: scale(0.96); filter: blur(6px); }
.tile.wave.in { animation: tile-in 0.55s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 40ms); }
@keyframes tile-in { to { opacity: 1; transform: none; filter: blur(0); } }
.tile.enter { animation: tile-enter 0.4s var(--spr-soft) both; }
@keyframes tile-enter { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
.tile.pressed img { transform: scale(0.97); transition-duration: 0.09s; }
.cartbar.bump .badge { animation: bump var(--spr-bounce-d) var(--spr-bounce); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.28); } 100% { transform: scale(1); } }
html.figma .reveal, html.figma .name .w, html.figma .tile.wave, html.figma .avatar, html.figma .stage .media-wrap { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
html.rm .reveal, html.rm .name .w, html.rm .tile.wave, html.rm .avatar, html.rm .stage .media-wrap, html.rm .tile.enter { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
html.rm [data-follow].pop svg { animation: none; }
html.rm .ask .lb, html.rm .ask.glass.press { transition: none !important; }
html.rm .glass.press, html.rm .tile img, html.rm .topbar, html.rm .tabs .pill { transition: none !important; }
html.rm [data-hero="cover"] .stage .media { animation: none; }
html.rm .cartbar.bump .badge { animation: none; }
.rm-note { --r: 999px; position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 26; height: 34px; padding: 0 12px; display: none; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.rm-note a { color: var(--accent-ink); font-weight: 800; }
html.rm .rm-note { display: inline-flex; }

/* ── گوشی باریک: باید بعد از همه‌ی قاعده‌های پایه بیاید ── */
@media (max-width: 359px) {
  .actions { gap: 6px; }
  .actions .btn.main svg, .actions .btn.ghost svg { display: none; }
  [data-hero="plain"] .profile { padding-inline: 12px; }
  .tabs { gap: 0; }
  .tab { min-width: 34px; padding: 0 5px; }
  .tab.on { padding: 0 9px; }
}

/* ── رومیزی ── */
@media (min-width: 64rem) {
  body { background: var(--bg-desk); }
  .ambient { display: block; position: fixed; inset: -40px; z-index: -2; overflow: hidden; }
  .ambient img, .ambient video { width: 100%; height: 100%; object-fit: cover; filter: blur(54px) saturate(1.3) brightness(0.92); opacity: 0.55; }
  .ambient::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--veil-a), var(--veil-b)); }
  .aura { display: none; }
  .store { display: grid; grid-template-columns: 360px minmax(0, 760px); column-gap: 48px; justify-content: center; padding: 28px 24px 40px; align-items: start; }
  .store > * { grid-column: 2; }
  .aside { grid-column: 1; grid-row: 1 / span 40; position: sticky; top: 24px; max-height: calc(100dvh - 48px); overflow-y: auto; scrollbar-width: none; margin-inline: -16px; padding: 0 16px 24px; }
  .aside::-webkit-scrollbar { display: none; }
  .stage { height: min(420px, 50dvh); min-height: 0; }
  .media-clip { border-radius: 28px 28px 0 0; }
  [data-hero="plain"] .stage { height: 300px; }
  .profile { margin-top: -46px; padding: 0 4px 6px; }
  [data-hero="plain"] .profile { margin: -90px 4px 0; }
  .topbar, .ask { display: none; }
  .ask.desk { display: inline-flex; position: relative; inset: auto; height: 44px; margin-top: 14px; width: 100%; justify-content: center; }
  .highlights { padding: 4px 4px 10px; }
  .bsec { padding-top: 0; }
  .bsec h2 { padding: 0 4px; }
  .brail { padding: 8px 4px 14px; }
  .tabs-wrap { top: 16px; padding: 0 0 8px; }
  .tabs { justify-content: flex-start; }
  .tab { padding: 0 13px; }
  .tab .lb, .tab .c, .tab.on .c, .tab.on .lb.lg { display: inline; }
  .tab .lb.sm, .tab.on .lb.sm { display: none; }
  .tab svg { width: 15px; height: 15px; }
  .grid { gap: max(var(--tile-gap), 4px); padding-inline: 0; }
  .tile { border-radius: max(var(--tile-r), 6px); }
  .tile .cap { padding: 60px 13px 12px; gap: 6px; }
  .tile .cap b { font-size: 15px; }
  .tile .more { display: block; max-height: 0; opacity: 0; overflow: hidden; font-size: 11.5px; line-height: 1.6; filter: blur(6px); transform: translateY(6px); transition: max-height 0.4s var(--ease-out), opacity 0.35s var(--ease-out), filter 0.4s var(--ease-out), transform 0.45s var(--spr-soft); }
  .tile .more i { font-style: normal; color: #ffd089; font-weight: 800; }
  .tile:hover .more { max-height: 48px; opacity: 1; filter: blur(0); transform: none; }
  .tile:hover img { transform: scale(1.05); }
  .tile:hover { transform: translateY(-4px); transition: transform 0.4s var(--spr-soft); z-index: 1; box-shadow: 0 18px 30px -16px rgba(30, 12, 24, 0.5); }
  .tile { transition: transform 0.4s var(--spr-soft), box-shadow 0.4s var(--ease-out); }
  .lead { margin: 18px 0 0; }
  .foot { padding-bottom: 40px; }
  .cartbar { left: 24px; right: auto; margin: 0; width: 360px; }
  .sheet { left: 50%; right: auto; width: 480px; transform: translate(-50%, 104%); border-radius: 30px; bottom: 24px; }
  .sheet-root.in .sheet { transform: translate(-50%, 0); }
  .sheet-root.morph .sheet { transform: translate(-50%, 40px); }
  .sheet-root.morph.in .sheet { transform: translate(-50%, 0); }
}

${p.css}