/* Pixa website — "Creative AI Studio" (phase 12.1). Two themes on <html data-theme>: light (default) and dark. One hand-written file, no framework, no CDN. RTL first. */
@font-face { font-family: "Material Symbols Rounded"; src: url("/fonts/material-symbols-rounded.woff2") format("woff2"); font-weight: 100 700; font-display: block; }

:root, :root[data-theme="light"] {
  --bg: #f8f8fb; --surface: #ffffff; --surface-2: #f1f0f6; --ink: #19161f; --muted: #686678; --line: #e5e3ec;
  --accent: #5b45e8; --accent-ink: #ffffff; --accent-2: #8375ff; --hl-a: #5b45e8; --hl-b: #8b7cff;
  --ok: #12805a; --warn: #a15c00; --danger: #c62f45;
  --shadow: 0 18px 40px rgba(40, 30, 90, .12); --shadow-sm: 0 2px 10px rgba(40, 30, 90, .08);
  --glass: rgba(255, 255, 255, .78); --overlay: linear-gradient(transparent, rgba(12, 10, 24, .82));
  --grad: linear-gradient(135deg, #5b45e8 0%, #7657ff 55%, #a594ff 100%);
  --hero-glow-a: rgba(131, 117, 255, .24); --hero-glow-b: rgba(118, 87, 255, .12);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #08080a; --surface: #171719; --surface-2: #202128; --ink: #f5f6ff; --muted: rgba(235, 238, 255, .65); --line: rgba(235, 238, 255, .12);
  --accent: #7657ff; --accent-ink: #ffffff; --accent-2: #a594ff; --hl-a: #b9b2f6; --hl-b: #8375ff;
  --ok: #52e0a1; --warn: #f0b45a; --danger: #ff7a8f;
  --shadow: 0 20px 44px rgba(0, 0, 0, .5); --shadow-sm: 0 2px 10px rgba(0, 0, 0, .4);
  --glass: rgba(8, 8, 10, .82); --overlay: linear-gradient(transparent, rgba(0, 0, 0, .86));
  --grad: linear-gradient(135deg, #7657ff 0%, #8375ff 55%, #a594ff 100%);
  --hero-glow-a: rgba(118, 87, 255, .2); --hero-glow-b: rgba(131, 117, 255, .08);
  color-scheme: dark;
}
:root { --radius: 22px; --radius-sm: 14px; --gap: 18px; --font: "Vazirmatn", "IRANSansX", "Segoe UI", Tahoma, system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.9; min-height: 100vh; display: flex; flex-direction: column; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--hl-a); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.9rem); line-height: 1.3; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 8px; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.landing-body .container { max-width: 1600px; padding-inline: clamp(22px, 4.45vw, 72px); }
.muted { color: var(--muted); }
.center { text-align: center; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 8px; }
.ms { font-family: "Material Symbols Rounded"; font-weight: 400; font-style: normal; font-size: 22px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; font-feature-settings: "liga"; -webkit-font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; flex: none; user-select: none; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--glass); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.logo-img { display: block; height: 36px; width: auto; }
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
@media (max-width: 520px) { .logo-img { height: 30px; } }
.auth-card .brand .logo-img { height: 46px; }
.brand .logo { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm); }
.brand .logo .ms { font-size: 22px; }
.nav { display: none; gap: 4px; align-items: center; }
.nav a { color: var(--muted); padding: 8px 14px; border-radius: 12px; font-weight: 600; }
.nav a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--accent-ink); background: var(--accent); padding: 0 22px; min-height: 44px; margin-inline-start: 6px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; padding: 0; font: inherit; }
.icon-btn:hover { background: var(--surface-2); }
.theme-toggle .when-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .when-dark { display: inline-block; }
:root[data-theme="dark"] .theme-toggle .when-light { display: none; }
.head-actions { display: flex; align-items: center; gap: 8px; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); }
.menu summary::-webkit-details-marker { display: none; }
.menu .sheet { position: absolute; inset-inline-end: 0; top: 54px; min-width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 8px; display: grid; }
.menu .sheet a { padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; }
.menu .sheet a:hover { background: var(--surface-2); text-decoration: none; }
@media (min-width: 900px) { .nav { display: flex; } .menu { display: none; } }

/* buttons, badges, cards */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 14px; padding: 0 24px; font: inherit; font-weight: 700; cursor: pointer; background: var(--surface-2); color: var(--ink); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; min-height: 48px; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 32%, transparent); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: .85rem; }
.badge .ms { font-size: 18px; color: var(--hl-a); }
.badge.ok { color: var(--ok); } .badge.warn { color: var(--warn); } .badge.danger { color: var(--danger); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; }

/* hero */
.hero { padding: 36px 0 28px; background: radial-gradient(900px 460px at 85% -10%, var(--hero-glow-a), transparent), radial-gradient(700px 400px at 0% 20%, var(--hero-glow-b), transparent); }
.hero .grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { margin: 20px 0 16px; }
.hero h1 .accent { background: linear-gradient(90deg, var(--hl-a), var(--hl-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 14px; }
.hero .perks { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 18px 0 0; list-style: none; color: var(--muted); font-size: .92rem; }
.hero .perks li { display: inline-flex; align-items: center; gap: 6px; }
.hero .perks li::before { content: "check_circle"; font-family: "Material Symbols Rounded"; font-feature-settings: "liga"; color: var(--ok); font-size: 19px; line-height: 1; }
@media (max-width: 520px) { .hero .cta .btn { flex: 1 1 100%; } }
@media (min-width: 900px) { .hero { padding: 64px 0 56px; } .hero .grid { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.collage { position: relative; }
.collage .ba { max-width: 520px; margin-inline-start: auto; aspect-ratio: 4 / 5; border-radius: 28px; }
.collage .float { position: absolute; inset-inline-start: 0; border-radius: 20px; overflow: hidden; border: 4px solid var(--bg); box-shadow: var(--shadow); display: none; }
.collage .float img { width: 100%; height: 100%; object-fit: cover; }
.collage .float.f1 { top: 72px; width: 150px; height: 190px; }
.collage .float.f2 { bottom: 56px; width: 136px; height: 164px; }
.collage .pillstyle { position: absolute; bottom: 18px; inset-inline-end: 18px; display: inline-flex; align-items: center; gap: 8px; background: var(--glass); backdrop-filter: blur(10px); border: 1px solid var(--line); padding: 8px 16px; border-radius: 16px; font-weight: 700; font-size: .9rem; pointer-events: none; z-index: 2; }
.collage .pillstyle .ms { font-size: 18px; color: var(--hl-a); }
@media (min-width: 700px) { .collage .float { display: block; } }

/* Public landing: full-width editorial layout with the sample artwork as the main focus. */
.landing-page .hero {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
  padding-block: clamp(36px, 5vw, 76px);
}
.landing-page .hero .grid {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5.5vw, 88px);
  width: 100%;
}
.landing-page .hero-copy { max-width: 620px; }
.landing-page .hero h1 { font-size: clamp(3rem, 5.4vw, 5.5rem); line-height: 1.32; margin-block: 24px 20px; }
.landing-page .hero .lead { max-width: 35em; font-size: clamp(1.05rem, 1.35vw, 1.25rem); }
.landing-page .hero .badge { padding: 7px 16px; }
.landing-page .hero .badge .ms { color: var(--accent); }
.landing-page .collage { width: 100%; }
.landing-page .collage .ba {
  width: 100%;
  max-width: none;
  aspect-ratio: 1.08 / 1;
  border-radius: clamp(24px, 2.5vw, 38px);
}
.landing-page .collage .float { border-width: 5px; border-radius: 24px; }
.landing-page .collage .float.f1 { top: 8%; width: 23%; height: 36%; }
.landing-page .collage .float.f2 { bottom: 8%; width: 21%; height: 31%; }
.landing-page .collage .pillstyle { bottom: 22px; inset-inline-end: 22px; padding: 12px 18px; }
.landing-page .section { padding-block: clamp(64px, 7vw, 104px); }
.landing-page .section.alt { background: var(--surface-2); }
.landing-page .section-head { max-width: 52em; margin-bottom: 34px; }
.landing-page .section-head h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
.landing-page .tabs { gap: 12px; margin-bottom: 30px; padding-bottom: 10px; }
.landing-page .tabs a { min-height: 48px; padding-inline: 22px; background: var(--surface); }
.landing-page .category { margin-bottom: 56px; }
.landing-page .category > h3 { margin-bottom: 18px; font-size: 1.45rem; }
.landing-page .styles { gap: clamp(14px, 1.5vw, 24px); }
.landing-page .sc {
  border: 0;
  border-radius: clamp(18px, 1.8vw, 28px);
  box-shadow: 0 12px 34px rgba(10, 8, 24, .12);
}
.landing-page .sc > .sc-after { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.landing-page .sc:hover > .sc-after { transform: scale(1.045); }
.landing-page .sc .ov { z-index: 3; padding: 64px 18px 18px; }
.landing-page .sc .ov a { position: relative; display: block; color: #fff; pointer-events: auto; }
.landing-page .sc .ov b { font-size: 1.1rem; }
.landing-page .sc .ov small { font-size: .88rem; }
.landing-page .sc .pr { inset-block-start: 16px; inset-inline-end: 16px; padding: 6px 13px; border: 1px solid rgba(255, 255, 255, .16); }
.landing-page .sc .feat { inset-block-start: 16px; inset-inline-start: 16px; width: 36px; height: 36px; }
.landing-page .sc .peek { display: none; }
.landing-page .sc-compare { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.landing-page .sc-before { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); transition: clip-path .08s linear; }
.landing-page .sc-divider { position: absolute; inset-block: 0; left: var(--pos, 50%); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); transform: translateX(-50%); }
.landing-page .sc-divider::after { content: "swap_horiz"; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; transform: translate(-50%, -50%); background: #fff; color: #17141f; box-shadow: 0 4px 16px rgba(0, 0, 0, .28); font-family: "Material Symbols Rounded"; font-size: 21px; font-feature-settings: "liga"; }
.landing-page .sc-range { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; direction: ltr; }
.landing-page .sc-range:focus-visible { outline: 3px solid var(--accent-2); outline-offset: -5px; border-radius: inherit; }
.landing-page .sc-label { position: absolute; top: 14px; z-index: 1; padding: 4px 10px; border-radius: 10px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .74rem; font-weight: 700; backdrop-filter: blur(8px); }
.landing-page .sc-label-before { inset-inline-start: 12px; }
.landing-page .sc-label-after { inset-inline-end: 12px; }
.landing-page .sc .pr, .landing-page .sc .feat { z-index: 4; }
.landing-page .pricing .card { min-height: 100%; padding: clamp(24px, 3vw, 42px); }
.landing-page .faq { max-width: 1050px; }
.landing-page .cta-band { padding: clamp(44px, 7vw, 88px) 24px; border-radius: clamp(24px, 3vw, 40px); }
@media (max-width: 899px) {
  .landing-page .hero { min-height: 0; }
  .landing-page .hero .grid { grid-template-columns: 1fr; }
  .landing-page .hero-copy { max-width: 760px; }
  .landing-page .hero h1 { font-size: clamp(2.8rem, 9vw, 4.5rem); }
  .landing-page .collage { max-width: 760px; margin-inline: auto; }
  .landing-page .collage .ba { aspect-ratio: 1.2 / 1; }
}
@media (max-width: 520px) {
  .landing-body .container { padding-inline: 18px; }
  .landing-page .hero { padding-block: 34px 44px; }
  .landing-page .hero .grid { gap: 28px; }
  .landing-page .hero h1 { font-size: clamp(2.4rem, 11vw, 3.5rem); }
  .landing-page .collage .ba { aspect-ratio: 1 / 1; border-radius: 22px; }
  .landing-page .collage .float { border-width: 3px; border-radius: 16px; }
  .landing-page .collage .pillstyle { bottom: 12px; inset-inline-end: 12px; padding: 8px 12px; }
  .landing-page .section { padding-block: 52px; }
  .landing-page .section-head { margin-bottom: 24px; }
  .landing-page .styles { gap: 12px; }
  .landing-page .sc { border-radius: 16px; }
  .landing-page .sc .ov { padding: 52px 10px 10px; }
  .landing-page .sc .ov b { font-size: .9rem; }
  .landing-page .sc .ov small { font-size: .72rem; }
  .landing-page .sc-label { top: 8px; padding: 3px 7px; font-size: .65rem; }
  .landing-page .sc-label-before { inset-inline-start: 7px; }
  .landing-page .sc-label-after { inset-inline-end: 7px; }
  .landing-page .sc .pr { inset-block-start: 8px; inset-inline-end: 8px; padding: 3px 8px; font-size: .68rem; }
  .landing-page .sc .feat { inset-block-start: 8px; inset-inline-start: 8px; width: 28px; height: 28px; }
  .landing-page .sc-divider::after { width: 30px; height: 30px; font-size: 18px; }
}

/* before / after slider */
.ba { --pos: 50%; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); box-shadow: var(--shadow); user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba .ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); pointer-events: none; transform: translateX(-50%); }
.ba .ba-handle::after { content: "swap_horiz"; font-family: "Material Symbols Rounded"; font-feature-settings: "liga"; font-size: 24px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; box-shadow: var(--shadow); }
.ba .ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; direction: ltr; }
.ba .tag { position: absolute; top: 14px; padding: 4px 14px; border-radius: 12px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); color: #fff; font-size: .8rem; font-weight: 700; pointer-events: none; }
.ba .tag.before { inset-inline-start: 14px; } .ba .tag.after { inset-inline-end: 14px; }
.ba.small { aspect-ratio: 1 / 1; box-shadow: var(--shadow-sm); }
.ba-empty { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--grad); display: grid; place-items: center; align-content: center; gap: 8px; color: #fff; font-weight: 800; font-size: 1.2rem; text-align: center; padding: 24px; overflow: hidden; overflow-wrap: anywhere; line-height: 1.7; min-width: 0; }
.ba-empty .ms { font-size: 44px; opacity: .9; }
.gallery .ba-empty { padding: 14px; }

/* sections */
.section { padding: 52px 0; }
.section.alt { background: var(--surface-2); }
.section-head { margin-bottom: 26px; max-width: 40em; }
.section-head p { color: var(--muted); }
.steps { display: grid; gap: var(--gap); counter-reset: s; }
.step { position: relative; padding-top: 62px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 18px; inset-inline-start: 22px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 22px; scrollbar-width: thin; }
.tabs a { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-weight: 600; }
.tabs a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); text-decoration: none; }
.category { margin-bottom: 40px; scroll-margin-top: 90px; }
.category > h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.category > h3 .ms { color: var(--hl-a); }
.styles { display: grid; gap: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .styles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .styles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .styles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* style card: image-first */
.sc { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); aspect-ratio: 4 / 5; color: #fff; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
a.sc:hover, .sc:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.sc > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc .fallback { position: absolute; inset: 0; background: var(--grad); display: grid; place-items: center; }
.sc .fallback .ms { font-size: 64px; opacity: .85; }
.sc .ov { position: absolute; inset: auto 0 0 0; padding: 48px 14px 14px; background: var(--overlay); }
.sc .ov b { display: block; font-size: 1.02rem; line-height: 1.5; }
.sc .ov small { display: block; color: #d6d4e6; margin-top: 2px; font-size: .8rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc .pr { position: absolute; top: 12px; inset-inline-end: 12px; background: rgba(0, 0, 0, .58); backdrop-filter: blur(6px); padding: 3px 12px; border-radius: 12px; font-size: .78rem; font-weight: 700; }
.sc .feat { position: absolute; top: 12px; inset-inline-start: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.sc .feat .ms { font-size: 18px; }
.sc .peek { position: absolute; inset-inline-start: 12px; bottom: 74px; width: 54px; height: 66px; border-radius: 12px; overflow: hidden; border: 2px solid #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .4); }
.sc .peek img { width: 100%; height: 100%; object-fit: cover; }
.price { font-weight: 800; color: var(--hl-a); }
.price small { color: var(--muted); font-weight: 600; }
.pricing { display: grid; gap: var(--gap); }
@media (min-width: 760px) { .pricing { grid-template-columns: 1fr 1fr; } }
.amounts { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 12px 0 0; list-style: none; }
.amounts li { padding: 8px 20px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 800; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "add"; font-family: "Material Symbols Rounded"; font-feature-settings: "liga"; font-size: 24px; color: var(--hl-a); line-height: 1; }
.faq details[open] summary::after { content: "remove"; }
.faq details p { color: var(--muted); }
.cta-band { background: var(--grad); color: #fff; border-radius: 28px; padding: 44px 24px; text-align: center; }
.cta-band .btn { background: #fff; color: #3a22c0; }
.cta-band p { opacity: .94; }

/* footer */
.site-footer { margin-top: auto; border-top: 1px solid var(--line); padding: 28px 0 32px; color: var(--muted); background: var(--surface); }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--muted); font-weight: 600; }

/* forms, alerts */
label { display: block; font-weight: 700; margin-bottom: 6px; }
input[type="text"], input[type="tel"], input[type="number"], input[type="password"], select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; min-height: 52px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent-2); outline: 3px solid color-mix(in srgb, var(--accent-2) 30%, transparent); }
.alert { border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 14px; border: 1px solid var(--line); background: var(--surface-2); }
.alert.error { border-color: color-mix(in srgb, var(--danger) 50%, transparent); color: var(--danger); background: color-mix(in srgb, var(--danger) 8%, var(--surface)); }
.alert.ok { border-color: color-mix(in srgb, var(--ok) 50%, transparent); color: var(--ok); background: color-mix(in srgb, var(--ok) 8%, var(--surface)); }
.auth-wrap { display: grid; place-items: center; padding: 40px 16px; flex: 1; background: radial-gradient(700px 380px at 80% 0, var(--hero-glow-a), transparent); }
.auth-card { width: 100%; max-width: 440px; border-radius: 28px; padding: 30px 26px; box-shadow: var(--shadow); }
.field { margin-bottom: 14px; }
.auth-card p[role="alert"] { border-radius: var(--radius-sm); padding: 10px 14px; margin: 8px 0 0; border: 1px solid color-mix(in srgb, var(--danger) 50%, transparent); color: var(--danger); background: color-mix(in srgb, var(--danger) 8%, var(--surface)); }

/* app shell */
.app-main { padding: 24px 0 calc(100px + env(safe-area-inset-bottom, 0px)); flex: 1; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.app-top h1 { font-size: 1.7rem !important; }
.balance-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 800; }
.tabbar { position: fixed; bottom: 0; inset-inline: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--glass); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { display: grid; justify-items: center; gap: 0; padding: 8px 2px; color: var(--muted); font-size: .72rem; font-weight: 600; }
.tabbar a .ms { font-size: 24px; }
.tabbar a[aria-current="page"] { color: var(--hl-a); font-weight: 800; }
.tabbar a:hover { text-decoration: none; }
@media (min-width: 900px) {
  .skip { order: -3; }
  .site-header { order: -2; }
  .tabbar { order: -1; position: static; display: flex; gap: 8px; border: 0; background: transparent; padding: 14px 20px 0; backdrop-filter: none; width: 100%; max-width: 1200px; margin-inline: auto; }
  .tabbar a { grid-auto-flow: column; align-items: center; gap: 8px; padding: 0 20px; height: 44px; border-radius: 999px; font-size: .95rem; border: 1px solid transparent; }
  .tabbar a:hover { background: var(--surface-2); }
  .tabbar a[aria-current="page"] { background: var(--ink); color: var(--bg); }
  .tabbar a .ms { font-size: 20px; }
  .app-main { padding-bottom: 48px; }
}

/* studio */
.studio-grid { display: grid; gap: var(--gap); }
@media (min-width: 1000px) { .studio-grid { grid-template-columns: 1.35fr 1fr; align-items: start; } .studio-side { position: sticky; top: 92px; } }
.step-h { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 800; margin: 0 0 14px; }
.step-h i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: .85rem; }
.pick { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
@media (max-width: 520px) { .studio-grid .card { padding: 14px; } }
.pick label { margin: 0; cursor: pointer; position: relative; font-weight: 400; }
.pick input { position: absolute; opacity: 0; }
.pick .opt { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; border: 2px solid transparent; background: var(--surface-2); color: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pick .opt > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pick .opt .fallback { position: absolute; inset: 0; background: var(--grad); display: grid; place-items: center; }
.pick .opt .fallback .ms { font-size: 44px; opacity: .85; }
.pick .opt .ov { position: absolute; inset: auto 0 0 0; padding: 36px 10px 10px; background: var(--overlay); text-align: start; }
.pick .opt strong { display: block; font-size: .9rem; line-height: 1.5; }
.pick .opt .price { color: #e9e7f7; font-size: .78rem; }
.pick .opt .price small { color: #cfcde0; }
.pick .opt .ck { position: absolute; top: 10px; inset-inline-start: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: none; place-items: center; }
.pick .opt .ck .ms { font-size: 18px; }
.pick input:checked + .opt { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.pick input:checked + .opt .ck { display: grid; }
.pick input:focus-visible + .opt { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.dropzone { position: relative; display: grid; justify-items: center; gap: 8px; border: 2px dashed color-mix(in srgb, var(--muted) 45%, transparent); border-radius: var(--radius); padding: 24px; text-align: center; background: var(--surface-2); }
.dropzone .big-ic { font-size: 48px; color: var(--hl-a); }
.dropzone p { margin: 0; }
.dropzone:hover { border-color: var(--accent-2); }
.dropzone:focus-within { outline: 3px solid var(--accent-2); outline-offset: 3px; }
.dropzone .drop-input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; z-index: 2; }
.dropzone .drop-btn { pointer-events: none; background: var(--surface); }
.dropzone.has-photo .preview { width: 100%; max-height: 440px; object-fit: contain; margin: 0; }
.preview { max-height: 300px; margin: 0 auto 12px; border-radius: var(--radius-sm); }
.progress { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress > span { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-radius: 999px; animation: slide 1.4s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(120%); } 100% { transform: translateX(-120%); } }
.spinner { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--accent-2); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-sm); min-height: 120px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.result img { border-radius: var(--radius); box-shadow: var(--shadow); margin-inline: auto; }
.gallery { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.gallery .item { padding: 12px; display: grid; gap: 10px; min-width: 0; overflow: hidden; }
.gallery .item img { border-radius: 14px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; background: var(--surface-2); }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty .big { font-size: 2.8rem; display: block; margin-bottom: 8px; }
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; }
table.t th, table.t td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: start; white-space: nowrap; }
table.t th { color: var(--muted); font-size: .85rem; font-weight: 600; }
@media (max-width: 560px) { table.t th, table.t td { white-space: normal; padding: 8px 6px; font-size: .82rem; } table.t .badge { white-space: nowrap; padding: 2px 8px; } }
.pager { display: flex; justify-content: center; gap: 12px; align-items: center; margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-btn { padding: 0 22px; min-height: 48px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); }
.chip-btn:hover, .chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.stack > * + * { margin-top: var(--gap); }
.grid-2 { display: grid; gap: var(--gap); }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.copy-row { display: flex; gap: 8px; }
.copy-row input { direction: ltr; text-align: left; }
[wire\:loading], [wire\:loading\.delay] { display: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Landing page art direction: dark studio, bright real catalog. Scoped to the public homepage. */
.landing-body { --studio: #0d0e1a; --studio-soft: #111322; --studio-card: #191a2b; --studio-line: rgba(205, 195, 255, .12); --studio-text: #f8f7fc; --studio-muted: #b9b7cc; --studio-purple: #8b5cf6; --studio-pink: #f05dbb; background: var(--studio); color: var(--studio-text); }
.landing-body .site-header { background: rgba(13, 14, 26, .9); border-color: var(--studio-line); }
.landing-body .brand { color: var(--studio-text); }
.landing-body .nav a { color: var(--studio-muted); }
.landing-body .nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.landing-body .head-actions .icon-btn { display: inline-grid; width: 38px; height: 38px; border-color: rgba(168,85,247,.42); color: #f5eaff; background: rgba(255,255,255,.045); }
.landing-body .auth-actions { display: flex; gap: 9px; direction: rtl; }
.landing-body .auth-actions .btn { min-height: 42px; border-radius: 999px; padding-inline: 22px; font-size: .88rem; }
.landing-body .btn-login { border-color: rgba(168, 85, 247, .65); background: transparent; color: #fff; }
.landing-body .btn-register, .landing-body .hero .btn-primary { border: 0; background: linear-gradient(110deg, #9638f5, #ec53b9); color: #fff; box-shadow: 0 8px 30px rgba(139, 92, 246, .24); }
.auth-actions .btn-auth-icon { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; min-height: 42px; padding: 0; border: 1px solid rgba(194,147,255,.65); border-radius: 50%; color: #fff; background: linear-gradient(135deg,#8247ec,#bd4ed5); box-shadow: 0 6px 18px rgba(139,92,246,.2); }
.auth-actions .btn-auth-icon .ms { font-size: 21px; }
.auth-actions .btn-auth-icon:hover { color: #fff; background: linear-gradient(135deg,#9258f5,#d855df); box-shadow: 0 8px 22px rgba(139,92,246,.32); }
.landing-body .auth-actions .btn-auth-icon { width: 42px; height: 42px; min-height: 42px; padding: 0; border-radius: 50%; }
.landing-body .menu summary { background: var(--studio-card); border-color: var(--studio-line); color: #fff; }
.landing-body .menu .sheet { background: #17182a; border-color: var(--studio-line); }
.landing-body .menu .sheet a { color: var(--studio-text); }
.landing-page .hero { min-height: 0; padding-block: clamp(36px, 4vw, 64px); background: radial-gradient(ellipse at 100% 30%, rgba(240, 93, 187, .2), transparent 25%), radial-gradient(ellipse at 0% 45%, rgba(139, 92, 246, .2), transparent 25%), linear-gradient(180deg, #0d0e1a, #101121); }
.landing-page .hero .grid { direction: ltr; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 7vw, 116px); }
.landing-page .hero-copy { direction: rtl; justify-self: end; text-align: start; }
.landing-page .hero .badge { background: transparent; border-color: rgba(168, 85, 247, .6); color: var(--studio-text); }
.landing-page .hero .badge .ms { color: var(--studio-pink); }
.landing-page .hero h1 { max-width: 11.5em; margin-block: 18px 14px; font-size: clamp(2.7rem, 4vw, 4.1rem); line-height: 1.45; }
.landing-page .hero h1 .accent { background: linear-gradient(90deg, #f05dbb, #9d66ff); }
.landing-page .hero .lead { color: var(--studio-muted); font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 2; }
.landing-page .hero .cta { margin-block: 24px 0; gap: 12px; }
.landing-page .hero .cta .ms { font-size: 18px; }
.landing-page .hero .btn-ghost { color: #fff; border-color: rgba(168, 85, 247, .65); background: rgba(17, 19, 34, .56); }
.landing-page .hero-visual { direction: rtl; }
.landing-page .collage { width: min(100%, 620px); margin-inline: auto; padding: 14px; }
.landing-page .collage .ba { aspect-ratio: 1 / 1; border: 1px solid rgba(197, 108, 255, .7); border-radius: 22px; box-shadow: 0 0 42px rgba(139, 92, 246, .2); }
.landing-page .collage .float { border: 2px solid rgba(189, 101, 255, .75); border-radius: 18px; box-shadow: 0 12px 32px rgba(0, 0, 0, .45); }
.landing-page .collage .float.f1 { inset-inline-start: -6%; top: 9%; width: 24%; height: 34%; }
.landing-page .collage .float.f2 { inset-inline-start: -4%; bottom: 7%; width: 22%; height: 31%; }
.landing-page .collage .pillstyle { color: #fff; background: rgba(13, 14, 26, .74); border-color: rgba(255,255,255,.2); }
.landing-body .benefits { background: #101121; border-block: 1px solid var(--studio-line); }
.benefits-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-block: 22px; }
.benefit { display: flex; align-items: center; gap: 12px; min-width: 0; padding-inline: clamp(8px, 1.6vw, 24px); }
.benefit + .benefit { border-inline-start: 1px solid var(--studio-line); }
.benefit-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; color: #e65abf; background: rgba(139, 92, 246, .16); font-size: 22px; }
.benefit h2 { margin: 0 0 2px; font-size: .96rem; }
.benefit p { margin: 0; color: var(--studio-muted); font-size: .77rem; line-height: 1.7; }
.landing-page #styles { background: #f7f5fc; color: #19172b; }
.landing-page #styles .section-head { max-width: none; text-align: center; margin: 0 auto 26px; }
.landing-page #styles .section-head p { color: #66627d; }
.landing-page .tabs { justify-content: center; }
.landing-page .tabs a { background: #fff; color: #514c68; border-color: #e8e4f0; }
.landing-page .tabs a:hover { background: #201d35; color: #fff; }
.landing-page .category { margin: 0; }
.landing-page .category > h3 { color: #221f38; }
.landing-page .styles { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.landing-page .sc { color: #19172b; background: #fff; border: 1px solid #ece9f3; border-radius: 16px; box-shadow: 0 7px 22px rgba(34, 25, 68, .08); aspect-ratio: auto; overflow: hidden; }
.landing-page .sc:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(34, 25, 68, .14); }
.landing-page .sc-media { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: #e9e5f1; }
.landing-page .sc-media > img, .landing-page .sc-media > .fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.landing-page .sc-compare { z-index: 1; }
.landing-page .sc .feat { z-index: 4; top: 10px; inset-inline-start: 10px; background: rgba(16, 14, 30, .72); }
.landing-page .sc .sc-label { top: 10px; z-index: 3; }
.landing-page .sc .sc-label-before { inset-inline-start: 10px; }
.landing-page .sc .sc-label-after { inset-inline-end: 10px; }
.landing-page .sc .sc-range { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; direction: ltr; }
.landing-page .sc-info { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 68px; padding: 10px 12px; }
.landing-page .sc-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; color: #19172b; }
.landing-page .sc-link:hover { text-decoration: none; color: #7c3aed; }
.landing-page .sc-link b { display: block; font-size: .9rem; }
.landing-page .sc-link small { display: block; max-width: 13em; overflow: hidden; color: #716d80; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.landing-page .sc-arrow { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #f1eff8; color: #37334c; font-size: 16px; }
.landing-page .sc-price { flex: none; align-self: end; color: #4b416e; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.landing-page .section { padding-block: clamp(52px, 6vw, 84px); }
.landing-body .section.alt { background: #111322; color: var(--studio-text); }
.landing-body .section.alt .section-head p, .landing-body .section.alt .muted { color: var(--studio-muted); }
.landing-body .section.alt .card, .landing-body .faq details { background: var(--studio-card); color: var(--studio-text); border-color: var(--studio-line); }
.landing-body .section:not(#styles) { color: var(--studio-text); }
.landing-body .section:not(#styles) .section-head p { color: var(--studio-muted); }
.landing-body .section:not(#styles) .section-head { text-align: center; margin-inline: auto; }
.landing-body .steps .card { background: var(--studio-card); border-color: var(--studio-line); }
.landing-body .faq details p { color: var(--studio-muted); }
.landing-body .pricing .card { background: var(--studio-card); border-color: var(--studio-line); }
.landing-body .amounts li { background: rgba(255,255,255,.06); border-color: var(--studio-line); }
.showcase-section { padding-block: clamp(50px, 6vw, 78px); background: #0d0e1a; border-block: 1px solid var(--studio-line); }
.showcase-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.showcase-copy { max-width: 470px; }
.showcase-copy .badge { color: #fff; background: transparent; border-color: rgba(168,85,247,.5); }
.showcase-copy h2 { margin-block: 18px 12px; font-size: clamp(2rem, 3vw, 3rem); }
.showcase-copy p { margin-bottom: 22px; color: var(--studio-muted); }
.showcase-image { position: relative; max-width: 690px; width: 100%; justify-self: center; }
.showcase-image .ba { aspect-ratio: 1.4 / 1; border: 1px solid var(--studio-line); }
.showcase-style { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; z-index: 2; padding: 5px 12px; border-radius: 99px; color: #fff; background: rgba(14,14,27,.7); font-size: .8rem; }
.landing-body .cta-band { background: linear-gradient(115deg, #171427, #241743); border: 1px solid rgba(174, 110, 255, .26); }
.landing-body .cta-band .btn { background: linear-gradient(110deg, #9638f5, #ec53b9); color: #fff; }
.landing-body .site-footer { background: #0b0c17; color: var(--studio-muted); border-color: var(--studio-line); }
@media (max-width: 900px) {
  .landing-page .hero .grid { grid-template-columns: 1fr; gap: 30px; }
  .landing-page .hero-copy { justify-self: stretch; max-width: 760px; }
  .landing-page .hero-visual { grid-row: 1; }
  .landing-page .collage { max-width: 550px; }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; }
  .benefit:nth-child(odd) { border-inline-start: 0; }
  .benefit:last-child { grid-column: 1 / -1; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-copy { max-width: none; text-align: center; margin-inline: auto; }
}
@media (max-width: 520px) {
  .landing-body .auth-actions { display: flex; }
  .landing-page .hero { padding-block: 24px 36px; }
  .landing-page .hero .grid { gap: 20px; }
  .landing-page .hero-visual { grid-row: auto; }
  .landing-page .hero h1 { font-size: clamp(2.25rem, 9.5vw, 3rem); }
  .landing-page .collage { padding: 7px; }
  .landing-page .collage .ba { aspect-ratio: 1 / 1; }
  .landing-page .collage .float.f1 { inset-inline-start: -1%; }
  .landing-page .collage .float.f2 { inset-inline-start: 0; }
  .benefits-grid { grid-template-columns: 1fr; padding-block: 14px; gap: 10px; }
  .benefit, .benefit + .benefit { border: 0; padding: 6px 2px; }
  .benefit:last-child { grid-column: auto; }
  .benefit p { font-size: .8rem; }
  .landing-page #styles .section-head { text-align: start; }
  .landing-page .styles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .landing-page .sc-info { align-items: start; flex-direction: column; gap: 2px; min-height: 78px; padding: 9px; }
  .landing-page .sc-link { width: 100%; }
  .landing-page .sc-link b { font-size: .82rem; }
  .landing-page .sc-link small { font-size: .67rem; }
  .landing-page .sc-price { align-self: start; font-size: .69rem; }
  .landing-page .sc .sc-range { height: calc(100% - 78px); }
  .showcase-image .ba { aspect-ratio: 1 / 1; }
}

/* Reference composition: hero collage left, headline right, five compact style cards, then the comparison band. */
.landing-page .hero { min-height: 0; padding-block: 30px 34px; }
.landing-page .hero .grid { direction: rtl; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 50px; align-items: center; }
.landing-page .hero-copy { justify-self: end; }
.landing-page .hero h1 { font-size: clamp(2.35rem, 3.55vw, 3.4rem); line-height: 1.48; margin-block: 12px; }
.landing-page .hero h1 .accent { background: none; color: #e66adf; -webkit-text-fill-color: #e66adf; }
.landing-page .hero .lead { max-width: 31em; font-size: 1rem; }
.landing-page .hero .cta { justify-content: flex-start; margin-top: 20px; }
.landing-page .hero .cta .btn { min-width: 168px; min-height: 50px; border-radius: 999px; font-size: .9rem; }
.landing-page .hero-reference-art { width: 100%; max-width: 650px; height: auto; margin-inline: auto; }
.landing-page .benefits-grid { max-width: 1500px; padding-block: 18px; }
.landing-page .benefit { text-align: center; flex-direction: column; gap: 6px; padding-inline: 14px; }
.landing-page .benefit-icon { flex-basis: 40px; width: 40px; height: 40px; color: #d84ebd; background: rgba(139, 92, 246, .14); }
.landing-page .benefit h2 { font-size: .88rem; }
.landing-page .benefit p { font-size: .7rem; line-height: 1.65; }
.landing-page #styles { padding-block: 30px; }
.landing-page #styles .style-feature-grid { direction: rtl; display: grid; grid-template-columns: minmax(210px, .72fr) minmax(0, 2.28fr); gap: 24px; align-items: center; }
.landing-page #styles .style-copy { margin: 0; max-width: none; text-align: start; }
.landing-page #styles .style-copy h2 { font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.55; }
.landing-page #styles .style-copy p { font-size: .84rem; line-height: 1.9; margin-bottom: 18px; }
.landing-page #styles .btn-outline { min-height: 42px; padding-inline: 18px; border-color: #8b5cf6; border-radius: 999px; color: #6f36d4; background: transparent; font-size: .78rem; }
.landing-page #styles .btn-outline .ms { font-size: 16px; }
.landing-page #styles .styles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.landing-page #styles .sc { border-radius: 12px; }
.landing-page #styles .sc-media { aspect-ratio: 1.04 / .82; }
.landing-page #styles .sc-info { min-height: 58px; flex-direction: row; align-items: center; padding: 7px 9px; }
.landing-page #styles .sc-link b { font-size: .78rem; }
.landing-page #styles .sc-link small { display: none; }
.landing-page #styles .sc-arrow { width: 22px; height: 22px; font-size: 14px; }
.landing-page #styles .sc-price { font-size: .65rem; }
.landing-page .showcase-section { padding-block: 22px; }
.landing-page .showcase-grid { direction: ltr; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) minmax(0, 1.1fr); gap: 22px; }
.landing-page .showcase-copy { direction: rtl; text-align: start; }
.landing-page .showcase-copy .badge { display: none; }
.landing-page .showcase-copy h2 { font-size: clamp(1.55rem, 2.5vw, 2.35rem); line-height: 1.5; }
.landing-page .showcase-copy p { font-size: .82rem; }
.landing-page .showcase-copy .btn { min-height: 44px; min-width: 145px; border-radius: 999px; font-size: .82rem; }
.landing-page .showcase-center { position: relative; min-width: 0; }
.landing-page .showcase-center img { display: block; width: 100%; height: auto; aspect-ratio: 1.66 / 1; object-fit: cover; border: 1px solid var(--studio-line); border-radius: 16px; }
.landing-page .showcase-style { inset-block-start: 10px; inset-inline-end: 10px; }
.landing-page .showcase-samples { position: relative; min-height: 210px; direction: ltr; }
.landing-page .showcase-float { position: absolute; width: 25%; height: 69%; object-fit: cover; border: 2px solid rgba(168, 85, 247, .8); border-radius: 12px; box-shadow: 0 8px 18px rgba(0,0,0,.28); }
.landing-page .showcase-float-1 { left: 1%; top: 16%; transform: rotate(-8deg); }
.landing-page .showcase-float-2 { left: 24%; top: 8%; transform: rotate(-3deg); }
.landing-page .showcase-float-3 { left: 48%; top: 18%; transform: rotate(4deg); }
.landing-page .showcase-float-4 { left: 71%; top: 10%; transform: rotate(9deg); }
.landing-page .why-section { padding-block: 18px 24px; background: #f1eaff; color: #19172b; text-align: center; }
.landing-page .why-copy { max-width: 720px; }
.landing-page .why-copy h2 { margin-bottom: 4px; font-size: 1.35rem; }
.landing-page .why-copy p { margin: 0; color: #59536f; font-size: .8rem; line-height: 1.8; }
@media (max-width: 900px) {
  .landing-page .hero .grid { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 24px; }
  .landing-page .hero-visual { grid-row: auto; }
  .landing-page .hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
  .landing-page #styles .style-feature-grid { grid-template-columns: minmax(180px, .7fr) minmax(0, 1.6fr); gap: 16px; }
  .landing-page #styles .styles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .landing-page .showcase-grid { grid-template-columns: 1fr 1fr; }
  .landing-page .showcase-samples { grid-column: 1 / -1; min-height: 140px; }
  .landing-page .showcase-float { width: 16%; height: 90%; }
  .landing-page .showcase-float-1 { left: 12%; }
  .landing-page .showcase-float-2 { left: 31%; }
  .landing-page .showcase-float-3 { left: 51%; }
  .landing-page .showcase-float-4 { left: 71%; }
}
@media (max-width: 600px) {
  .landing-page .hero .grid { grid-template-columns: 1fr; }
  .landing-page .hero-visual { grid-row: 1; }
  .landing-page .hero .cta .btn { flex: 1 1 auto; min-width: 0; }
  .landing-page .hero-reference-art { max-width: 440px; }
  .landing-page .benefits-grid { grid-template-columns: repeat(5, minmax(104px, 1fr)); overflow-x: auto; }
  .landing-page .benefit { padding-inline: 6px; }
  .landing-page .benefit-icon { width: 34px; height: 34px; font-size: 19px; }
  .landing-page .benefit h2 { font-size: .73rem; }
  .landing-page .benefit p { display: none; }
  .landing-page #styles .style-feature-grid { grid-template-columns: 1fr; }
  .landing-page #styles .style-copy { text-align: center; }
  .landing-page #styles .styles { grid-template-columns: repeat(5, minmax(138px, 1fr)); overflow-x: auto; padding: 3px 2px 12px; }
  .landing-page #styles .sc-info { min-height: 62px; flex-direction: column; align-items: flex-start; gap: 0; }
  .landing-page .showcase-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .landing-page .showcase-copy h2 { font-size: 1.3rem; }
  .landing-page .showcase-copy p { font-size: .72rem; }
  .landing-page .showcase-center img { aspect-ratio: 1 / 1; }
  .landing-page .showcase-samples { min-height: 115px; }
}

/* Signed-in photo studio. The admin shell keeps its independent panel stylesheet. */
.app-body { --bg: #0d0e1a; --surface: #151729; --surface-2: #1b1d32; --ink: #f8f7fc; --muted: #b9b7cc; --line: rgba(205,195,255,.13); --accent: #8b5cf6; --accent-2: #c074ff; --hl-a: #a855f7; --hl-b: #f05dbb; --grad: linear-gradient(110deg,#8b3ef2,#f05dbb); --glass: rgba(13,14,26,.9); --overlay: linear-gradient(transparent,rgba(8,9,19,.92)); --shadow: 0 20px 46px rgba(0,0,0,.32); --shadow-sm: 0 8px 22px rgba(0,0,0,.2); color-scheme: dark; background: var(--bg); color: var(--ink); }
.app-body .site-header { background: rgba(13,14,26,.9); border-color: var(--line); }
.app-body .brand { color: var(--ink); }
.app-body .app-top-actions { gap: 10px !important; }
.app-body .app-top-actions .icon-btn { background: var(--surface); border-color: var(--line); color: var(--ink); }
.app-body .app-top-actions form { margin: 0; }
.app-body .app-top-actions .btn-ghost { min-height: 42px; border-radius: 999px; border-color: rgba(168,85,247,.45); color: var(--ink); background: rgba(255,255,255,.035); }
.app-body .app-main { padding-block: 34px calc(120px + env(safe-area-inset-bottom,0px)); }
.app-body .app-main > .container { max-width: 1380px; }
.app-body .app-top { align-items: center; margin-bottom: 26px; }
.app-body .app-top h1 { font-size: clamp(1.65rem,2.5vw,2.15rem) !important; }
.app-body .balance-chip { gap: 10px; padding: 8px 18px; border-radius: 999px; border-color: rgba(168,85,247,.3); color: #fff; background: linear-gradient(120deg,rgba(139,92,246,.17),rgba(240,93,187,.08)); box-shadow: inset 0 1px rgba(255,255,255,.04); }
.app-body .balance-chip .muted { color: #c1badc; }
.app-body .studio-grid { grid-template-columns: minmax(0,1.35fr) minmax(300px,.82fr); gap: 22px; align-items: start; }
.app-body .studio-grid > .card,
.app-body .studio-side > section.card { padding: clamp(18px,2.2vw,28px); border: 1px solid var(--line); border-radius: 24px; color: var(--ink); background: linear-gradient(150deg,rgba(255,255,255,.035),transparent 45%),var(--surface); box-shadow: 0 14px 38px rgba(0,0,0,.19); }
.app-body .step-h { align-items: center; gap: 11px; margin-bottom: 18px; font-size: 1rem; }
.app-body .step-h i { width: 34px; height: 34px; color: #fff; background: linear-gradient(135deg,#8b5cf6,#e44ebd); border: 0; box-shadow: 0 6px 18px rgba(139,92,246,.25); }
.app-body .pick { grid-template-columns: repeat(auto-fill,minmax(145px,1fr)); gap: 14px; }
.app-body .pick .opt { aspect-ratio: .84 / 1; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; box-shadow: 0 8px 22px rgba(0,0,0,.22); background: #22243a; }
.app-body .pick .opt > img { transition: transform .35s ease, filter .35s ease; }
.app-body .pick label:hover .opt > img { transform: scale(1.045); filter: saturate(1.08); }
.app-body .pick .opt .ov { padding: 48px 12px 11px; background: linear-gradient(transparent,rgba(8,9,20,.94)); }
.app-body .pick .opt strong { font-size: .87rem; }
.app-body .pick .opt .price { display: inline-block; margin-top: 3px; color: #f3eaff; font-size: .76rem; }
.app-body .pick .opt .price small { color: #d1c8e5; }
.app-body .pick input:checked + .opt { border: 2px solid #b46aff; box-shadow: 0 0 0 3px rgba(139,92,246,.24),0 12px 28px rgba(0,0,0,.32); }
.app-body .pick input:checked + .opt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(145deg,rgba(174,105,255,.12),transparent 45%); }
.app-body .pick .opt .ck { top: 12px; inset-inline-start: 12px; width: 30px; height: 30px; color: #fff; background: linear-gradient(130deg,#8b5cf6,#e44ebd); box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.app-body .studio-side { gap: 16px; }
.app-body .dropzone { min-height: 270px; align-content: center; gap: 12px; padding: 26px 20px; border: 1px dashed rgba(186,128,255,.48); border-radius: 20px; background: radial-gradient(circle at 50% 25%,rgba(139,92,246,.11),transparent 52%),rgba(255,255,255,.018); }
.app-body .dropzone:hover, .app-body .dropzone:focus-within { border-color: #bd7cff; background-color: rgba(139,92,246,.055); }
.app-body .dropzone.is-dragging { border-color: #d184ff; background-color: rgba(139,92,246,.14); box-shadow: 0 0 0 3px rgba(168,85,247,.16); }
.app-body .dropzone .big-ic { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid rgba(177,119,255,.25); border-radius: 20px; color: #d28aff; background: rgba(139,92,246,.12); font-size: 32px; }
.app-body .dropzone p { max-width: 27em; font-size: .82rem; }
.app-body .dropzone .drop-btn { border-color: rgba(179,120,255,.5); color: #fff; border-radius: 999px; background: rgba(139,92,246,.11); }
.app-body .dropzone.has-photo { min-height: 0; }
.app-body .dropzone.has-photo { gap: 8px; padding: 16px; }
.app-body .dropzone.has-photo .preview-wrap { position: relative; display: inline-block; max-width: 100%; border-radius: 12px; line-height: 0; }
.app-body .dropzone.has-photo .preview { display: block; width: auto; max-width: 100%; max-height: 175px; border-radius: 12px; object-fit: contain; }
.app-body .dropzone.has-photo .drop-input { inset: 0 auto auto 0; width: 1px; height: 1px; z-index: 0; }
.app-body .photo-action { position: absolute; z-index: 3; top: 8px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; color: #fff; background: rgba(18,16,35,.78); box-shadow: 0 3px 12px rgba(0,0,0,.28); cursor: pointer; transition: transform .15s ease,background .15s ease; }
.app-body .photo-action:hover { transform: scale(1.06); background: rgba(106,48,174,.92); }
.app-body .photo-action svg { width: 17px; height: 17px; }
.app-body .photo-edit { left: 8px; }
.app-body .photo-remove { right: 8px; }
.app-body .studio-side .stack { gap: 16px; }
.app-body .studio-side .row { align-items: center; padding: 4px 0 10px; color: #eeeaf8; }
.app-body .studio-side .row .muted { max-width: 23em; font-size: .75rem; color: var(--muted); }
.app-body .studio-side .btn-primary,
.app-body .btn-primary { border: 0; border-radius: 14px; color: #fff; background: linear-gradient(110deg,#8b3ef2,#ec53b9); box-shadow: 0 10px 24px rgba(139,92,246,.2); }
.app-body .studio-side .btn-primary:hover { box-shadow: 0 14px 32px rgba(139,92,246,.3); }
.app-body .app-main .empty { color: var(--muted); border: 1px solid var(--line); background: var(--surface); }
.app-body .app-main .alert.error { color: #ffb9c6; border-color: rgba(239,91,124,.35); background: rgba(194,47,69,.12); }
.app-body .app-main .card[role="status"], .app-body .app-main .card[role="alert"], .app-body .app-main .result { border: 1px solid var(--line); background: var(--surface); }
.app-body .app-main .result img { max-height: 70vh; }
.app-body .tabbar { border-color: var(--line); }
.app-body .tabbar a { color: #aaa7bf; }
.app-body .tabbar a[aria-current="page"] { color: #fff; background: linear-gradient(110deg,#7044dc,#a542bd); box-shadow: 0 6px 18px rgba(139,92,246,.23); }
@media (min-width: 1000px) {
  .app-body .studio-side { position: sticky; top: 94px; }
  .app-body .tabbar { max-width: 1380px; border-top: 1px solid var(--line); padding-top: 12px; }
}
@media (max-width: 760px) {
  .app-body .app-main { padding-top: 22px; }
  .app-body .app-top { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 18px; }
  .app-body .studio-grid { grid-template-columns: 1fr; }
  .app-body .studio-side { position: static; }
  .app-body .dropzone { min-height: 230px; }
}
@media (max-width: 480px) {
  .app-body .site-header .bar { min-height: 62px; }
  .app-body .app-top-actions { gap: 7px !important; }
  .app-body .app-top-actions .btn-ghost { min-height: 38px; padding-inline: 14px; }
  .app-body .app-main { padding-inline: 0; }
  .app-body .studio-grid > .card, .app-body .studio-side > section.card { padding: 16px; border-radius: 20px; }
  .app-body .pick { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .app-body .pick .opt { border-radius: 15px; }
  .app-body .pick .opt .ov { padding: 40px 9px 9px; }
  .app-body .pick .opt strong { font-size: .8rem; }
  .app-body .balance-chip { padding: 6px 14px; font-size: .86rem; }
}
:root[data-theme="light"] .app-body { --bg: #f7f5fc; --surface: #fff; --surface-2: #f0edf8; --ink: #19172b; --muted: #625e75; --line: #e5e0ef; --accent: #7547d7; --accent-2: #a56be8; --hl-a: #7344ce; --hl-b: #d64ca9; --grad: linear-gradient(110deg,#7547d7,#d64ca9); --glass: rgba(255,255,255,.94); --overlay: linear-gradient(transparent,rgba(20,15,40,.9)); --shadow: 0 16px 36px rgba(43,32,78,.13); --shadow-sm: 0 6px 18px rgba(43,32,78,.09); color-scheme: light; background: var(--bg); color: var(--ink); }
:root[data-theme="light"] .app-body .site-header { background: rgba(255,255,255,.94); border-color: var(--line); }
:root[data-theme="light"] .app-body .brand { color: var(--ink); }
:root[data-theme="light"] .app-body .app-top-actions .icon-btn { background: #fff; border-color: var(--line); color: var(--ink); }
:root[data-theme="light"] .app-body .app-top-actions .btn-ghost { color: #49376d; border-color: #d9c9f2; background: #fff; }
:root[data-theme="light"] .app-body .balance-chip { color: #302444; border-color: #e1d4f3; background: linear-gradient(120deg,#f0e8ff,#fff1fa); }
:root[data-theme="light"] .app-body .balance-chip .muted { color: #706184; }
:root[data-theme="light"] .app-body .studio-grid > .card,
:root[data-theme="light"] .app-body .studio-side > section.card,
:root[data-theme="light"] .app-body .app-main .card[role="status"],
:root[data-theme="light"] .app-body .app-main .card[role="alert"],
:root[data-theme="light"] .app-body .app-main .result { color: var(--ink); border-color: var(--line); background: #fff; box-shadow: 0 12px 32px rgba(43,32,78,.08); }
:root[data-theme="light"] .app-body .step-h i { color: #fff; }
:root[data-theme="light"] .app-body .pick .opt { background: #ece8f4; border-color: rgba(40,30,65,.08); }
:root[data-theme="light"] .app-body .pick input:checked + .opt { border-color: #9256e8; }
:root[data-theme="light"] .app-body .dropzone { border-color: #c8b2e9; background: radial-gradient(circle at 50% 25%,rgba(139,92,246,.08),transparent 52%),#fbfaff; }
:root[data-theme="light"] .app-body .dropzone:not(.has-photo) { border-color: #9c62e8; background: #f7f2ff; }
:root[data-theme="light"] .app-body .dropzone:not(.has-photo) .muted { color: #756b89; }
:root[data-theme="light"] .app-body .photo-action { color: #fff; border-color: rgba(255,255,255,.65); background: rgba(65,45,100,.82); }
:root[data-theme="light"] .app-body .dropzone p,
:root[data-theme="light"] .app-body .studio-side .row { color: #302b40; }
:root[data-theme="light"] .app-body .studio-side .row .muted { color: #706b7d; }
:root[data-theme="light"] .app-body .dropzone .big-ic { color: #8053c9; border-color: #e0d4f1; background: #f2ebfc; }
:root[data-theme="light"] .app-body .dropzone .drop-btn { color: #50347e; border-color: #d9c9f2; background: #f8f4ff; }
:root[data-theme="light"] .app-body .app-main .empty { color: var(--muted); border-color: var(--line); background: #fff; }
:root[data-theme="light"] .app-body .app-main .alert.error { color: #a32640; border-color: #efc5ce; background: #fff1f3; }
:root[data-theme="light"] .app-body .tabbar a { color: #69647a; }
:root[data-theme="light"] .app-body .tabbar a[aria-current="page"] { color: #fff; }

.app-body .app-header .bar { max-width: 1560px; min-height: 76px; gap: 24px; }
.app-body .app-nav { display: flex; align-items: stretch; justify-content: center; gap: clamp(12px,2vw,30px); min-width: 0; height: 76px; }
.app-body .app-nav a { position: relative; display: flex; align-items: center; color: #c5c0d8; font-weight: 600; font-size: .88rem; white-space: nowrap; }
.app-body .app-nav a:hover, .app-body .app-nav a[aria-current="page"] { color: #f4eaff; text-decoration: none; }
.app-body .app-nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; border-radius: 3px; background: linear-gradient(90deg,#8b5cf6,#f05dbb); box-shadow: 0 0 14px rgba(168,85,247,.65); }
.app-body .app-top-actions { display: flex; align-items: center; flex: none; gap: 10px !important; direction: ltr; }
.app-body .app-top-actions .balance-chip { padding: 7px 16px; font-size: .84rem; white-space: nowrap; }
.app-body .app-top-actions .balance-chip .ms { color: #bd7bff; font-size: 19px; }
.app-body .app-top-actions .btn-ghost { display: inline-flex; align-items: center; gap: 6px; }
.app-body .app-top-actions .btn-ghost .ms { font-size: 18px; }
.app-body .user-menu { position: relative; z-index: 75; flex: none; direction: rtl; }
.app-body .user-menu > summary { display: flex; align-items: center; gap: 7px; min-height: 42px; list-style: none; cursor: pointer; }
.app-body .user-menu > summary::-webkit-details-marker { display: none; }
.app-body .user-avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid rgba(211,173,255,.65); border-radius: 50%; color: #fff; background: linear-gradient(135deg,#8b5cf6,#d749c4); box-shadow: 0 5px 16px rgba(139,92,246,.24); font-size: 1rem; font-weight: 800; }
.app-body .user-avatar .ms { font-size: 23px; }
.app-body .user-menu-caret { color: #b8b0ce; font-size: 19px; transition: transform .18s ease; }
.app-body .user-menu[open] .user-menu-caret { transform: rotate(180deg); }
.app-body .user-menu-panel { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); z-index: 90; width: min(300px,calc(100vw - 28px)); padding: 12px; border: 1px solid rgba(190,157,239,.2); border-radius: 18px; background: #17182a; box-shadow: 0 18px 50px rgba(0,0,0,.42); }
.app-body .user-menu-heading { display: flex; align-items: center; gap: 11px; padding: 7px 6px 13px; }
.app-body .user-avatar.large { width: 45px; height: 45px; }
.app-body .user-menu-heading > div { display: grid; gap: 2px; min-width: 0; }
.app-body .user-menu-heading strong { overflow: hidden; color: #faf8ff; font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.app-body .user-menu-heading small { color: #a9a3bf; font-size: .73rem; }
.app-body .user-menu-balance { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 8px; margin-bottom: 7px; padding: 11px 10px; border: 1px solid rgba(164,111,232,.25); border-radius: 13px; background: linear-gradient(120deg,rgba(139,92,246,.16),rgba(240,93,187,.08)); }
.app-body .user-menu-balance .ms { grid-row: span 2; color: #c58cff; font-size: 20px; }
.app-body .user-menu-balance span:not(.ms) { color: #b9b3cb; font-size: .71rem; }
.app-body .user-menu-balance strong { color: #fff; font-size: .85rem; }
.app-body .user-menu-panel nav { display: grid; gap: 2px; padding-block: 4px 8px; }
.app-body .user-menu-panel nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: #e6e1f1; font-size: .83rem; }
.app-body .user-menu-panel nav a .ms { color: #b784f3; font-size: 19px; }
.app-body .user-menu-panel nav a:hover { text-decoration: none; background: rgba(255,255,255,.06); }
.app-body .user-menu-panel form { margin: 0; padding-top: 8px; border-top: 1px solid rgba(205,195,255,.12); }
.app-body .user-menu-logout { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 42px; padding: 7px 10px; border: 0; border-radius: 10px; color: #ff9ba9; background: transparent; font: inherit; font-size: .83rem; text-align: start; cursor: pointer; }
.app-body .user-menu-logout:hover { background: rgba(239,91,124,.1); }
.app-body .user-menu-logout .ms { font-size: 19px; }
.app-body .app-mobile-menu { display: none; position: relative; flex: none; }
.app-body .app-mobile-menu summary { display: grid; place-items: center; width: 40px; height: 40px; list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--surface); }
.app-body .app-mobile-menu summary::-webkit-details-marker { display: none; }
.app-body .app-mobile-menu nav { position: absolute; inset-inline-end: 0; top: 48px; z-index: 80; display: grid; min-width: 205px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.app-body .app-mobile-menu nav a, .app-body .app-mobile-menu .mobile-balance { padding: 10px 12px; border-radius: 9px; color: var(--ink); font-size: .88rem; }
.app-body .app-mobile-menu nav a[aria-current="page"] { color: #d7b4ff; background: rgba(139,92,246,.14); }
.app-body .app-mobile-menu .mobile-balance { margin-top: 5px; border-top: 1px solid var(--line); color: var(--muted); }
:root[data-theme="light"] .app-body .app-nav a { color: #5e5871; }
:root[data-theme="light"] .app-body .app-nav a:hover,
:root[data-theme="light"] .app-body .app-nav a[aria-current="page"] { color: #543296; }
:root[data-theme="light"] .app-body .app-mobile-menu nav a[aria-current="page"] { color: #593998; background: #f2eaff; }
:root[data-theme="light"] .app-body .user-menu-caret { color: #726986; }
:root[data-theme="light"] .app-body .user-menu-panel { border-color: #e1d7ef; background: #fff; box-shadow: 0 18px 46px rgba(42,31,72,.18); }
:root[data-theme="light"] .app-body .user-menu-heading strong { color: #211a32; }
:root[data-theme="light"] .app-body .user-menu-heading small { color: #766d86; }
:root[data-theme="light"] .app-body .user-menu-balance { border-color: #e3d7f2; background: linear-gradient(120deg,#f2eaff,#fff1fa); }
:root[data-theme="light"] .app-body .user-menu-balance .ms { color: #8050c9; }
:root[data-theme="light"] .app-body .user-menu-balance span:not(.ms) { color: #706780; }
:root[data-theme="light"] .app-body .user-menu-balance strong { color: #342345; }
:root[data-theme="light"] .app-body .user-menu-panel nav a { color: #352c49; }
:root[data-theme="light"] .app-body .user-menu-panel nav a .ms { color: #8050c9; }
:root[data-theme="light"] .app-body .user-menu-panel nav a:hover { background: #f4effa; }
:root[data-theme="light"] .app-body .user-menu-panel form { border-color: #ebe5f2; }
:root[data-theme="light"] .app-body .user-menu-logout { color: #b52d48; }
:root[data-theme="light"] .app-body .user-menu-logout:hover { background: #fff0f3; }
.app-body .app-main > .container { max-width: 1560px; }
.app-body .create-page { gap: 0; }
.app-body .create-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(350px,.9fr); align-items: center; gap: 32px; margin-bottom: 26px; direction: rtl; }
.app-body .create-heading h1 { margin: 0 0 5px; font-size: clamp(1.8rem,3vw,2.65rem); line-height: 1.4; }
.app-body .create-title-accent { color: #d46be8; }
.app-body .create-heading p { margin: 0; color: var(--muted); font-size: .94rem; }
.app-body .creation-steps { position: relative; display: flex; justify-content: space-between; align-items: center; gap: clamp(8px,1.3vw,20px); margin: 0; padding: 0; list-style: none; direction: rtl; }
.app-body .creation-steps li { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; min-width: 0; color: #9c97b4; font-size: .82rem; white-space: nowrap; }
.app-body .creation-steps::before { content: ""; position: absolute; z-index: 0; inset-inline: 18px; top: 50%; height: 1px; background: linear-gradient(90deg,transparent,var(--line) 8%,var(--line) 92%,transparent); transform: translateY(-50%); }
.app-body .creation-steps .step-label { position: relative; padding-inline: 5px; background: var(--bg); }
.app-body .creation-steps .step-number { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1px solid rgba(156,151,180,.25); border-radius: 50%; color: #aba6c1; background: var(--bg); font-weight: 700; }
.app-body .creation-steps .is-active { color: #e4d6ff; }
.app-body .creation-steps .is-active .step-number { color: #fff; border-color: transparent; background: linear-gradient(135deg,#8b5cf6,#d44fe2); box-shadow: 0 0 18px rgba(139,92,246,.45); }
.app-body .creation-steps .is-complete { color: #d5c0f6; }
.app-body .creation-steps .is-complete .step-number { color: #dfbaff; border-color: rgba(168,85,247,.35); background: rgba(139,92,246,.13); }
.app-body .creation-steps .step-number .ms { font-size: 17px; }
.app-body .studio-grid { grid-template-columns: minmax(0,2.18fr) minmax(350px,.82fr); gap: 20px; }
.app-body .styles-panel { min-width: 0; }
.app-body .styles-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.app-body .styles-head .step-h { margin: 0; font-size: 1.03rem; }
.app-body .style-search { position: relative; display: flex; align-items: center; gap: 8px; width: min(100%,390px); margin: 0; padding-inline: 14px; border: 1px solid var(--line); border-radius: 999px; color: #9e98b7; background: rgba(8,10,24,.22); }
.app-body .style-search .ms { font-size: 20px; }
.app-body .style-search input { min-width: 0; min-height: 42px; padding: 7px 0; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; font-size: .8rem; }
.app-body .style-search input:focus { outline: 0; }
.app-body .style-search:focus-within { border-color: #a76aff; box-shadow: 0 0 0 3px rgba(139,92,246,.13); }
.app-body .style-search input::placeholder { color: #8984a4; }
.app-body .style-controls { margin-bottom: 16px; }
.app-body .style-filters { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 9px; }
.app-body .style-filter { min-height: 40px; padding: 5px 18px; border: 1px solid rgba(139,92,246,.27); border-radius: 999px; color: #c6bfdc; background: transparent; font: inherit; font-size: .8rem; cursor: pointer; transition: color .15s ease,background .15s ease,border-color .15s ease; }
.app-body .style-filter:hover { color: #fff; border-color: rgba(174,112,255,.7); background: rgba(139,92,246,.1); }
.app-body .style-filter.is-active { color: #fff; border-color: transparent; background: linear-gradient(110deg,#8247ec,#be4ed5); box-shadow: 0 6px 18px rgba(139,92,246,.2); }
.app-body .pick { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.app-body .pick label { min-width: 0; }
.app-body .pick .opt { aspect-ratio: 1 / 1; border-radius: 16px; }
.app-body .pick .opt .ov { padding: 62px 12px 12px; }
.app-body .pick .opt strong { font-size: .87rem; }
.app-body .pick .opt .price { font-size: .75rem; }
.app-body .pick label[hidden] { display: none !important; }
.app-body .style-no-results { margin: 18px 0 0; color: var(--muted); text-align: center; font-size: .88rem; }
.app-body .studio-side .step-h { margin-bottom: 4px; }
.app-body .studio-order-panel > .step-h { scroll-margin-top: 84px; }
.app-body .studio-side > .studio-order-panel { gap: 13px; padding: 24px; }
.app-body .dropzone { min-height: 195px; align-content: center; gap: 9px; padding: 20px 16px; }
.app-body .dropzone:not(.has-photo) { min-height: 194px; gap: 11px; padding: 18px 14px; border: 2px dashed rgba(151,67,255,.94); border-radius: 15px; background: linear-gradient(145deg,rgba(20,23,47,.96),rgba(15,18,38,.98)); }
.app-body .dropzone:not(.has-photo) .big-ic { width: 60px; height: 60px; border-radius: 50%; color: #b46aff; border-color: rgba(151,67,255,.45); background: rgba(139,92,246,.12); font-size: 30px; }
.app-body .dropzone:not(.has-photo) .big-ic svg { width: 32px; height: 32px; }
.app-body .dropzone:not(.has-photo) .drop-btn { display: none; }
.app-body .dropzone:not(.has-photo) .drop-title { font-size: .82rem; }
.app-body .dropzone:not(.has-photo) .muted { color: #827da0; font-size: .72rem; }
.app-body .dropzone .drop-title { margin: 0; color: var(--ink); font-size: .87rem; font-weight: 700; }
.app-body .dropzone .file-name { max-width: 100%; margin: -4px 0 0; overflow: hidden; color: #d1b1fa; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.app-body .summary-title { margin: 18px 0 0; font-size: .95rem; }
.app-body .summary-empty { margin: 0; font-size: .82rem; }
.app-body .selected-style { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); }
.app-body .selected-style > img, .app-body .selected-fallback { flex: none; width: 62px; height: 62px; border-radius: 12px; object-fit: cover; background: var(--surface-2); }
.app-body .selected-fallback { display: grid; place-items: center; color: #d49cff; font-size: 26px; }
.app-body .selected-style > div { display: grid; flex: 1; gap: 3px; min-width: 0; }
.app-body .selected-style > div strong { overflow: hidden; font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }
.app-body .selected-style > div span { color: var(--muted); font-size: .75rem; }
.app-body .clear-style { display: grid; flex: none; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; color: #aaa3c5; background: transparent; font: inherit; cursor: pointer; }
.app-body .clear-style span { display: block; font-family: Arial,sans-serif; font-size: 24px; font-weight: 300; line-height: 1; }
.app-body .clear-style:hover { color: #fff; background: rgba(255,255,255,.1); }
.app-body .order-total, .app-body .wallet-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .82rem; }
.app-body .order-total { padding-top: 2px; }
.app-body .order-total strong { color: #f1d9ff; font-size: .96rem; }
.app-body .wallet-total { color: var(--muted); }
.app-body .wallet-total strong { color: var(--ink); }
.app-body .hold-note { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.8; }
.app-body .create-submit { min-height: 58px; font-size: 1rem; }
.app-body .create-submit .submit-content { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.app-body .create-submit .ms { font-size: 20px; }
.app-body .create-submit:disabled { color: #a7a0bb; border: 1px solid var(--line); background: #25263a; box-shadow: none; opacity: .75; }
.app-body .submit-hint { margin: 10px 0 0; color: var(--muted); text-align: center; font-size: .73rem; }
:root[data-theme="light"] .app-body .style-search { color: #766c8e; background: #faf9fd; }
:root[data-theme="light"] .app-body .style-search input::placeholder { color: #89829a; }
:root[data-theme="light"] .app-body .style-filter { color: #655b78; border-color: #ddd0f0; }
:root[data-theme="light"] .app-body .style-filter:hover { color: #583896; background: #f4edff; }
:root[data-theme="light"] .app-body .style-filter.is-active { color: #fff; }
:root[data-theme="light"] .app-body .creation-steps li { color: #777087; }
:root[data-theme="light"] .app-body .creation-steps .step-number { background: #fff; }
:root[data-theme="light"] .app-body .creation-steps .is-active .step-number { background: linear-gradient(135deg,#8b5cf6,#d44fe2); }
:root[data-theme="light"] .app-body .creation-steps .is-active { color: #593999; }
:root[data-theme="light"] .app-body .creation-steps .is-complete { color: #6845a2; }
:root[data-theme="light"] .app-body .selected-style { background: #faf9fd; }
:root[data-theme="light"] .app-body .dropzone:not(.has-photo) { border-color: #9c62e8; background: #f7f2ff; }
:root[data-theme="light"] .app-body .dropzone:not(.has-photo) .big-ic { color: #8053c9; border-color: #d4c1ed; background: #eee6fa; }
:root[data-theme="light"] .app-body .dropzone:not(.has-photo) .muted { color: #756b89; }
:root[data-theme="light"] .app-body .clear-style { color: #777087; }
:root[data-theme="light"] .app-body .clear-style:hover { color: #4f3288; background: #f1eafa; }
:root[data-theme="light"] .app-body .order-total strong { color: #623a9b; }
:root[data-theme="light"] .app-body .create-submit:disabled { color: #777087; background: #eeeaf4; }
@media (min-width: 900px) { .app-body .tabbar { display: none; } }
@media (max-width: 1050px) {
  .app-body .app-header .bar { gap: 14px; }
  .app-body .app-nav { gap: 14px; }
  .app-body .app-nav a { font-size: .78rem; }
  .app-body .app-top-actions .balance-chip { padding-inline: 10px; font-size: .75rem; }
}
@media (max-width: 850px) {
  .app-body .app-header .bar { min-height: 68px; }
  .app-body .app-nav { display: none; }
  .app-body .app-mobile-menu { display: block; margin-inline-start: auto; }
  .app-body .studio-grid { grid-template-columns: minmax(0,1.2fr) minmax(290px,.8fr); gap: 16px; }
  .app-body .pick { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .app-body .creation-steps li { font-size: .74rem; }
}
@media (max-width: 680px) {
  .app-body .app-header .bar { gap: 9px; }
  .app-body .app-top-actions { gap: 6px !important; }
  .app-body .app-top-actions .balance-chip { max-width: 142px; overflow: hidden; padding: 6px 9px; font-size: .67rem; text-overflow: ellipsis; }
  .app-body .app-top-actions .balance-chip .ms { display: none; }
  .app-body .app-top-actions .btn-ghost { width: 38px; min-height: 38px; justify-content: center; padding: 0; overflow: hidden; font-size: 0; }
  .app-body .app-top-actions .btn-ghost .ms { font-size: 18px; }
  .app-body .create-intro { grid-template-columns: 1fr; gap: 18px; margin-bottom: 20px; }
  .app-body .creation-steps { justify-content: space-between; gap: 8px; }
  .app-body .creation-steps li { gap: 6px; font-size: .7rem; }
  .app-body .creation-steps .step-number { width: 28px; height: 28px; }
  .app-body .studio-grid { grid-template-columns: 1fr; }
  .app-body .pick { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .app-body .styles-head { align-items: stretch; flex-direction: column; gap: 12px; }
  .app-body .style-search { width: 100%; }
  .app-body .style-filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; scrollbar-width: thin; }
  .app-body .style-filter { flex: none; min-height: 36px; padding-inline: 14px; }
  .app-body .dropzone { min-height: 194px; }
  .app-body .studio-side > .studio-order-panel { gap: 11px; padding: 22px 18px; }
  .app-body .dropzone.has-photo { min-height: 0; padding: 14px; }
  .app-body .dropzone.has-photo .preview { max-height: 160px; }
  .app-body .app-mobile-menu { display: none; }
}
@media (max-width: 390px) {
  .app-body .app-top-actions .balance-chip { max-width: 112px; }
  .app-body .app-mobile-menu summary { width: 36px; height: 36px; }
  .app-body .create-heading h1 { font-size: 1.65rem; }
  .app-body .creation-steps li { gap: 4px; font-size: .65rem; }
  .app-body .creation-steps .step-number { width: 25px; height: 25px; }
}

.landing-body .head-actions .theme-toggle { flex: none; }
.landing-body .head-actions .theme-toggle:hover { background: rgba(139,92,246,.18); }
:root[data-theme="light"] .landing-body { --studio: #f7f5fc; --studio-soft: #f0edf8; --studio-card: #fff; --studio-line: rgba(35,29,63,.12); --studio-text: #19172b; --studio-muted: #625e75; background: var(--studio); color: var(--studio-text); }
:root[data-theme="light"] .landing-body .site-header { background: rgba(255,255,255,.92); border-color: #e8e4f0; }
:root[data-theme="light"] .landing-body .brand { color: #19172b; }
:root[data-theme="light"] .landing-body .nav a { color: #59556a; }
:root[data-theme="light"] .landing-body .nav a:hover { color: #211d36; background: #f0edf8; }
:root[data-theme="light"] .landing-body .btn-login { color: #51317f; border-color: #cbb5ed; background: #fff; }
:root[data-theme="light"] .auth-actions .btn-auth-icon { color: #6036ac; border-color: #d6c3f1; background: #f2eaff; box-shadow: 0 4px 12px rgba(84,56,130,.12); }
:root[data-theme="light"] .auth-actions .btn-auth-icon:hover { color: #4c278f; background: #e9dcfb; }
:root[data-theme="light"] .landing-body .head-actions .theme-toggle { color: #6540bd; border-color: #ded4f3; background: #f4f0fb; }
:root[data-theme="light"] .landing-body .menu summary { color: #51317f; border-color: #ded4f3; background: #fff; }
:root[data-theme="light"] .landing-body .menu .sheet { border-color: #e5e0ef; background: #fff; }
:root[data-theme="light"] .landing-body .menu .sheet a { color: #332c49; }
:root[data-theme="light"] .landing-body .menu .sheet a:hover { color: #51317f; background: #f4f0fb; }
:root[data-theme="light"] .landing-page .hero { background: radial-gradient(ellipse at 100% 25%,rgba(240,93,187,.14),transparent 27%),radial-gradient(ellipse at 0 45%,rgba(139,92,246,.13),transparent 28%),linear-gradient(180deg,#fff,#f7f5fc); }
:root[data-theme="light"] .landing-page .hero .badge { color: #3b3451; border-color: rgba(139,92,246,.42); background: rgba(255,255,255,.68); }
:root[data-theme="light"] .landing-page .hero h1 { color: #19172b; }
:root[data-theme="light"] .landing-page .hero .lead { color: #625e75; }
:root[data-theme="light"] .landing-page .hero .btn-ghost { color: #332c49; border-color: #c9b5ee; background: rgba(255,255,255,.72); }
:root[data-theme="light"] .landing-body .benefits { background: #fff; border-color: #e9e5f0; }
:root[data-theme="light"] .landing-page .benefit p { color: #6b667d; }
:root[data-theme="light"] .landing-page .benefit + .benefit { border-color: #e9e5f0; }
:root[data-theme="light"] .landing-body .section.alt { background: #f0edf8; color: #19172b; }
:root[data-theme="light"] .landing-body .section.alt .card,
:root[data-theme="light"] .landing-body .faq details,
:root[data-theme="light"] .landing-body .pricing .card { background: #fff; color: #19172b; border-color: #e5e0ef; }
:root[data-theme="light"] .landing-body .section.alt .section-head p,
:root[data-theme="light"] .landing-body .section.alt .muted,
:root[data-theme="light"] .landing-body .faq details p { color: #686378; }
:root[data-theme="light"] .landing-body .amounts li { background: #f5f2fa; border-color: #e5e0ef; }
:root[data-theme="light"] .landing-page .showcase-section { background: #fff; border-color: #e7e2ef; }
:root[data-theme="light"] .landing-page .showcase-copy h2 { color: #19172b; }
:root[data-theme="light"] .landing-page .showcase-copy p { color: #625e75; }
:root[data-theme="light"] .landing-page .showcase-copy .badge { color: #463a65; background: #f8f5ff; border-color: #ded2f3; }
:root[data-theme="light"] .landing-page .showcase-section .showcase-float { border-color: #a96ce7; }
:root[data-theme="light"] .landing-body .cta-band { color: #19172b; background: linear-gradient(120deg,#f1eaff,#fceaf6); border-color: #e4d4fa; }
:root[data-theme="light"] .landing-body .cta-band p { color: #625e75; }
:root[data-theme="light"] .landing-body .site-footer { color: #625e75; background: #fff; border-color: #e8e4f0; }
