/* Wexplace · Material You / Expressive. Seed palette: sage, with personal variants. */
:root {
  --md-sys-color-primary: #285b3a;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #d5efb0;
  --md-sys-color-on-primary-container: #203718;
  --md-sys-color-secondary-container: #e7e1f5;
  --md-sys-color-tertiary-container: #ffddc3;
  --md-sys-color-surface: #f6f8f1;
  --md-sys-color-surface-container: #edf0e7;
  --md-sys-color-surface-container-high: #e5e9df;
  --md-sys-color-on-surface: #20291f;
  --md-sys-color-on-surface-variant: #596252;
  --md-sys-color-outline-variant: #d7ddcf;
  --md-sys-color-error: #a23433;
  --bg: var(--md-sys-color-surface);
  --paper: var(--md-sys-color-surface-container);
  --ink: var(--md-sys-color-on-surface);
  --muted: var(--md-sys-color-on-surface-variant);
  --line: var(--md-sys-color-outline-variant);
  --brand: var(--md-sys-color-primary);
  --brand-ink: var(--md-sys-color-on-primary-container);
  --brand-soft: var(--md-sys-color-primary-container);
  --danger: var(--md-sys-color-error);
  --warn: #70451a;
  --radius: 28px;
  --motion-spring: linear(0, .015 3%, .06 7%, .22 15%, .55 25%, .84 35%, 1.03 47%, 1.07 56%, 1.04 65%, .99 82%, 1);
  --motion-standard: cubic-bezier(.2, 0, 0, 1);
  --shadow: 0 6px 20px #20371806;
  color-scheme: light;
  accent-color: var(--brand);
}
:root[data-theme="lavender"] {
  --md-sys-color-primary: #66518b;
  --md-sys-color-primary-container: #e8ddff;
  --md-sys-color-on-primary-container: #34234e;
  --md-sys-color-secondary-container: #dcebbf;
  --md-sys-color-tertiary-container: #ffdcca;
  --md-sys-color-surface: #faf7fd;
  --md-sys-color-surface-container: #f0eaf6;
  --md-sys-color-surface-container-high: #e7dfee;
  --md-sys-color-on-surface: #292330;
  --md-sys-color-on-surface-variant: #655c6b;
  --md-sys-color-outline-variant: #dbd1e3;
}
:root[data-theme="peach"] {
  --md-sys-color-primary: #894d35;
  --md-sys-color-primary-container: #ffdbc8;
  --md-sys-color-on-primary-container: #4b291c;
  --md-sys-color-secondary-container: #e7e0f5;
  --md-sys-color-tertiary-container: #daebbd;
  --md-sys-color-surface: #fff8f3;
  --md-sys-color-surface-container: #f6ece4;
  --md-sys-color-surface-container-high: #eee0d6;
  --md-sys-color-on-surface: #34281f;
  --md-sys-color-on-surface-variant: #716052;
  --md-sys-color-outline-variant: #e4d6c9;
}
/* Suppress the browser tap flash on every touch target, including labels and SVG descendants. */
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 ui-rounded, "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; transition: background-color .3s, color .3s; }
a { color: var(--brand); text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
button, input, select, textarea { min-width: 0; }
button { border: 0; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.08; font-weight: 650; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); margin: 0 0 20px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0 0 12px; }
h3 { font-size: 1rem; letter-spacing: -.015em; }
::selection { background: var(--brand-soft); color: var(--brand-ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.icon-library { position:absolute; width:0; height:0; overflow:hidden; pointer-events:none; }
.icon { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.skip { position:absolute; left:-999px; }
.skip:focus { left:12px; top:12px; padding:12px 20px; background:var(--brand-soft); z-index:50; border-radius:16px; }
.top { position:sticky; top:0; z-index:20; display:flex; align-items:center; gap:28px; padding:16px max(24px, calc((100vw - 1280px)/2)); background:color-mix(in srgb,var(--bg) 94%,transparent); backdrop-filter:blur(18px); border-bottom:1px solid color-mix(in srgb,var(--line) 55%,transparent); }
.logo { display:inline-flex; align-items:center; gap:10px; color:var(--ink); font-size:24px; font-weight:750; letter-spacing:-1.1px; text-decoration:none; flex:none; }
.logo-mark { width:40px; height:40px; color:var(--brand); transition:transform .5s var(--motion-spring); }
.logo:hover .logo-mark { transform:rotate(-9deg); }
.find { display:flex; align-items:center; flex:1; gap:12px; background:var(--paper); border-radius:99px; padding:5px 5px 5px 18px; max-width:540px; border:1px solid transparent; transition:background .2s,border-color .2s; }
.find:focus-within { border-color:var(--brand); background:var(--bg); }
.find .icon { color:var(--muted); }
.find input { border:0; outline:none; width:100%; min-width:0; background:transparent; padding:10px 0; }
.find input:focus-visible { outline:none; }
.find button { background:var(--brand-soft); padding:10px 18px; border-radius:99px; color:var(--brand-ink); font-size:13px; font-weight:650; }
.menu { display:flex; align-items:center; gap:10px; margin-left:auto; white-space:nowrap; font-size:14px; }
.menu a { text-decoration:none; }
.language-switch { display:flex; align-items:center; padding:3px; border-radius:99px; background:var(--paper); }
.language-switch a { border-radius:99px; padding:7px 9px; font-size:11px; font-weight:700; color:var(--muted); }
.language-switch a[aria-current] { background:var(--bg); color:var(--ink); box-shadow:0 1px 4px #00000008; }
.personalize { position:relative; }
.personalize summary { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; list-style:none; color:var(--brand); }
.personalize summary::-webkit-details-marker, .filter-disclosure summary::-webkit-details-marker { display:none; }
.personalize[open] summary { background:var(--brand-soft); }
.theme-picker { position:absolute; right:0; top:calc(100% + 14px); min-width:200px; display:grid; gap:6px; padding:16px; border-radius:24px; background:var(--bg); border:1px solid var(--line); box-shadow:0 10px 40px #20291f1a; animation:menu-in .35s var(--motion-spring); }
.theme-picker strong { padding:3px 8px 8px; font-size:14px; }
.theme-picker button { display:flex; gap:12px; align-items:center; padding:10px; border-radius:12px; background:transparent; text-align:left; }
.theme-picker button[aria-pressed=true] { background:var(--paper); }
.theme-swatch { width:24px; height:24px; border-radius:8px; }
.theme-swatch.sage { background:#d5efb0; border:1px solid #285b3a; }
.theme-swatch.lavender { background:#e8ddff; border:1px solid #66518b; }
.theme-swatch.peach { background:#ffdbc8; border:1px solid #894d35; }
main { width:min(1280px,calc(100% - 64px)); margin:28px auto 64px; }
.primary, .quiet, .danger, .pill { position:relative; isolation:isolate; display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:13px 23px; border:1px solid transparent; border-radius:99px; font-size:14px; font-weight:650; text-decoration:none; cursor:pointer; overflow:hidden; transition:transform .45s var(--motion-spring),border-radius .35s var(--motion-spring),background .2s,box-shadow .2s; }
.primary { color:var(--md-sys-color-on-primary); background:var(--brand); }
.quiet, .pill { background:var(--bg); color:var(--brand); border-color:var(--line); }
.danger { background:#ffdad6; color:#7d2320; }
.primary::after,.quiet::after,.pill::after,.danger::after { content:""; position:absolute; inset:0; background:currentColor; opacity:0; transition:opacity .2s; pointer-events:none; }
.primary:hover::after,.quiet:hover::after,.pill:hover::after { opacity:.08; }
.primary:active,.quiet:active,.pill:active,.danger:active { transform:scale(.95); border-radius:16px; }
.menu .primary,.menu .pill { min-height:42px; padding:10px 16px; font-size:13px; }
.menu .quiet { min-height:38px; padding:8px 12px; font-size:12px; }
.row { display:flex; flex-wrap:wrap; gap:12px; }
.hero { display:grid; grid-template-columns:1.13fr 1fr; min-height:450px; gap:28px; align-items:center; padding:40px 48px; margin-bottom:14px; background:var(--paper); border-radius:40px; overflow:hidden; }
.hero-copy { position:relative; z-index:2; animation:content-in .7s var(--motion-spring) both; }
.eyebrow { font-size:11px; text-transform:uppercase; letter-spacing:.1em; font-weight:650; color:var(--muted); margin:0 0 16px; }
.hero .eyebrow { display:flex; align-items:center; gap:8px; }
.status-dot { width:7px; height:7px; background:var(--brand); border-radius:50%; }
.hero h1 { font-size:clamp(2.7rem,4.5vw,4.4rem); letter-spacing:-.065em; font-weight:650; line-height:1.03; margin:22px 0; }
.hero h1 em { color:var(--brand); font-style:normal; }
.lead { max-width:400px; font-size:15px; color:var(--muted); margin-bottom:26px; }
.hero-actions .primary { padding:16px 22px; }
.hero-actions .quiet { border-color:var(--line); background:transparent; }
.hero-location { display:flex; align-items:center; gap:8px; margin:25px 0 0; font-size:11px; color:var(--muted); }
.hero-location .icon { width:16px; height:16px; }
.hero-location span { opacity:.5; }
.hero-art { position:relative; width:100%; height:355px; }
.art-orbit { position:absolute; inset:17px 0 0 20px; border:1px solid var(--line); border-radius:50%; transform:rotate(-18deg); }
.art-tile { position:absolute; display:flex; flex-direction:column; align-items:center; justify-content:center; overflow:hidden; }
.art-tile svg { width:75%; height:68%; stroke:currentColor; fill:none; stroke-width:1.1; stroke-linecap:round; stroke-linejoin:round; }
.art-coat { width:220px; height:290px; left:17%; top:20px; background:var(--brand-soft); color:var(--brand-ink); border-radius:100px 100px 28px 28px; transform:rotate(-10deg); animation:art-coat-enter 1s var(--motion-spring) both; }
.art-coat>span { font-size:11px; letter-spacing:.25em; font-weight:650; }
.art-coat small { font-size:7px; letter-spacing:.15em; margin-top:10px; }
.art-shirt { width:138px; height:152px; right:0; top:0; background:var(--md-sys-color-secondary-container); color:#51446a; border-radius:35px; transform:rotate(13deg); animation:art-shirt-enter 1.1s var(--motion-spring) both; }
.art-bag { width:146px; height:156px; right:-4px; bottom:8px; background:var(--md-sys-color-tertiary-container); color:#754a32; border-radius:38px 38px 70px 38px; transform:rotate(8deg); animation:art-bag-enter 1.2s var(--motion-spring) both; }
.art-flower { position:absolute; width:78px; height:78px; left:0; top:4px; display:grid; place-items:center; background:var(--brand); color:white; border-radius:26px; transform:rotate(-18deg); animation:flower-enter 1.2s var(--motion-spring) both; }
.art-flower .icon { width:38px; height:38px; stroke-width:1.2; }
.art-note { position:absolute; bottom:0; left:2%; display:flex; align-items:center; gap:8px; padding:12px 20px; background:var(--bg); border-radius:99px; transform:rotate(-5deg); color:var(--brand); font-size:12px; font-weight:600; box-shadow:0 5px 20px #20371809; animation:note-enter 1.3s var(--motion-spring) both; }
.art-note .icon { width:16px; height:16px; }
.trust-strip { display:flex; justify-content:space-between; gap:20px; padding:15px 22px; color:var(--muted); font-size:11px; margin-bottom:32px; }
.trust-strip span { display:flex; align-items:center; gap:8px; }
.trust-strip .icon { width:17px; height:17px; color:var(--brand); }
.category-nav { display:flex; gap:6px; overflow-x:auto; padding:0 0 8px; margin:20px 0 32px; scrollbar-width:thin; }
.category-nav a { flex:1; display:flex; gap:10px; align-items:center; justify-content:center; min-height:52px; padding:12px 24px; white-space:nowrap; border-radius:16px; background:var(--paper); color:var(--muted); font-size:13px; font-weight:600; text-decoration:none; transition:background .2s,border-radius .4s var(--motion-spring),transform .4s var(--motion-spring),flex .4s var(--motion-spring); }
.category-nav .category-icon { width:20px; height:20px; color:currentColor; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 .category-nav .category-icon { transition:transform .35s var(--motion-spring); }
 .category-nav a:hover .category-icon { transform:translateY(-1px) rotate(-5deg); }
 .category-nav a:active .category-icon { transform:scale(.9); }
}
.category-nav a:first-child { border-top-left-radius:99px; border-bottom-left-radius:99px; }
.category-nav a:last-child { border-top-right-radius:99px; border-bottom-right-radius:99px; }
.category-nav a:hover { background:var(--md-sys-color-surface-container-high); border-radius:99px; transform:translateY(-2px); }
.category-nav a[aria-current] { background:var(--brand-soft); color:var(--brand-ink); border-radius:99px; flex:1.15; }
.catalog-heading { display:flex; justify-content:space-between; align-items:end; margin:28px 0 20px; }
.catalog-heading .eyebrow { margin-bottom:8px; font-size:10px; }
.catalog-heading h2 { display:flex; align-items:center; gap:10px; font-size:32px; margin-bottom:6px; }
.catalog-heading h2 .icon { color:var(--brand); width:25px; height:25px; }
.catalog-heading p:last-child { color:var(--muted); margin:0; font-size:13px; }
.filter-disclosure { margin:-80px 0 24px; position:relative; min-height:56px; }
.filter-disclosure>summary { width:fit-content; margin:0 0 34px auto; min-height:44px; display:flex; align-items:center; gap:10px; padding:10px 18px; background:var(--bg); border:1px solid var(--line); border-radius:99px; font-size:13px; font-weight:600; list-style:none; }
.filter-chevron { margin-left:6px; transition:transform .3s var(--motion-spring); }
.filter-disclosure[open] .filter-chevron { transform:rotate(180deg); }
.filters { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; padding:24px; border-radius:24px; background:var(--paper); align-items:end; margin:0 0 24px; animation:menu-in .4s var(--motion-spring); }
.filters label,.stack label,.variant label,.buy>label { display:grid; gap:8px; color:var(--muted); font-size:12px; font-weight:550; }
input:not([type=hidden]):not([type=radio]):not([type=checkbox]),select,textarea { min-height:48px; border:1px solid var(--line); background:var(--bg); border-radius:14px; width:100%; padding:12px 14px; color:var(--ink); outline-offset:2px; transition:border-color .2s,background .2s; }
.top .find input[type=search] { min-height:36px; border:0; border-radius:0; background:transparent; padding:6px 0; }
textarea { resize:vertical; }
input::placeholder,textarea::placeholder { color:var(--muted); opacity:.7; }
input[type=file] { padding:10px; }
input::file-selector-button { background:var(--brand-soft); color:var(--brand-ink); border:0; border-radius:99px; padding:8px 16px; margin-right:12px; cursor:pointer; }
.search-heading { padding:24px 4px 0; }
.search-term { display:block; color:var(--brand); font-weight:500; font-size:.65em; margin-top:12px; }
.grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.card { min-width:0; background:var(--paper); border-radius:24px; overflow:hidden; transition:transform .55s var(--motion-spring),border-radius .4s var(--motion-spring),box-shadow .3s; }
.card>a { display:block; color:inherit; text-decoration:none; height:100%; }
.card img,.card .ph { width:100%; height:auto; aspect-ratio:4/4.7; object-fit:cover; border-radius:24px 24px 8px 8px; }
.card img { transition:transform .65s var(--motion-spring); }
.ph { position:relative; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:16px; background:var(--brand-soft); color:var(--brand); aspect-ratio:4/4.7; width:100%; }
.ph>svg { width:48%; height:48%; stroke:currentColor; fill:none; stroke-width:1; opacity:.65; stroke-linecap:round; stroke-linejoin:round; }
.ph small { font-size:10px; color:var(--brand-ink); opacity:.65; }
.card:nth-child(3n+2) .ph { background:var(--md-sys-color-secondary-container); color:#66518b; }
.card:nth-child(3n) .ph { background:var(--md-sys-color-tertiary-container); color:#894d35; }
.card-body { padding:17px 18px 20px; }
.card-price { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:9px; }
.card-body strong { font-size:20px; letter-spacing:-.045em; font-weight:700; }
.card-body h3,.card-body h2 { font-size:14px; margin:5px 0; font-weight:600; letter-spacing:-.02em; line-height:1.4; text-wrap:initial; }
.card-body .brand { color:var(--muted); margin:0; font-size:11px; }
.verified-mark { display:grid; place-items:center; width:24px; height:24px; border-radius:9px; background:var(--brand-soft); color:var(--brand); }
.verified-mark .icon { width:16px; height:16px; }
.card-shop { display:flex; justify-content:space-between; gap:10px; color:var(--muted); font-size:10px; margin:14px 0 0; border-top:1px solid var(--line); padding-top:11px; }
.card-shop>span { opacity:.8; }
@media (hover:hover) { .card:hover { transform:translateY(-7px); border-radius:32px; box-shadow:0 14px 28px #2037180d; } .card:hover img { transform:scale(1.025); } .primary:hover { transform:translateY(-2px); box-shadow:0 6px 14px #20371814; } }
.empty-state { text-align:center; background:var(--paper); border-radius:28px; padding:56px 24px; }
.empty-state h2 { max-width:520px; margin:0 auto 24px; font-size:22px; line-height:1.4; color:var(--muted); }
.pagination { display:flex; align-items:center; justify-content:center; gap:20px; margin:40px 0; }
.pagination>span { font-size:13px; color:var(--muted); }
.how-section { margin-top:72px; padding:36px; border-radius:32px; background:var(--paper); display:grid; grid-template-columns:.8fr 1.2fr; gap:44px; }
.how-section h2 { font-size:30px; margin:14px 0 24px; }
.steps { list-style:none; display:grid; gap:0; margin:0; padding:0; }
.steps li { display:flex; align-items:center; gap:20px; padding:18px 0; border-bottom:1px solid var(--line); font-size:13px; color:var(--muted); }
.steps li:last-child { border-bottom:0; }
.steps strong { display:grid; place-items:center; width:44px; height:44px; flex:none; border-radius:16px; background:var(--brand-soft); color:var(--brand-ink); font-size:15px; }
.foot { width:min(1280px,calc(100% - 64px)); margin:0 auto 32px; padding-top:28px; border-top:1px solid var(--line); color:var(--muted); font-size:11px; }
.footer-brand { display:flex; align-items:center; gap:24px; margin:0 0 20px; }
.footer-brand .logo { font-size:22px; }
.logo-dot { color:var(--brand); margin-left:1px; }
.foot>p { max-width:720px; }
.crumbs { color:var(--muted); font-size:12px; padding:8px 0 24px; }
.crumbs a { text-decoration:none; }
.product { display:grid; grid-template-columns:1.1fr 1fr; align-items:start; gap:28px; }
.photos { display:grid; gap:16px; }
.photos img,.ph.big { border-radius:32px; }
.ph.big { min-height:420px; }
.buybox { padding:32px; background:var(--paper); border-radius:32px; align-self:start; }
.buybox h1 { font-size:36px; margin-bottom:16px; }
.price { font-size:32px; font-weight:650; letter-spacing:-.05em; margin:0 0 20px; }
.shop-line,.rating,.desc,.note { color:var(--muted); font-size:13px; }
.desc { white-space:pre-line; line-height:1.75; }
.brand { font-size:12px; color:var(--brand); }
.badge { display:inline-flex; align-items:center; vertical-align:middle; font-size:11px; line-height:1.5; letter-spacing:0; font-weight:600; padding:5px 10px; background:var(--brand-soft); color:var(--brand-ink); border-radius:99px; }
.buy,.stack { display:grid; gap:18px; }
.buy { margin:24px 0; }
fieldset { min-width:0; margin:0; padding:12px 14px 14px; border:1px solid var(--line); border-radius:20px; }
legend { padding:0 7px; color:var(--muted); font-size:12px; font-weight:600; }
.choice { display:flex; align-items:center; gap:10px; min-height:44px; padding:10px 12px; margin:4px 0; border-radius:14px; color:var(--ink); font-size:13px; transition:background .2s,border-radius .4s var(--motion-spring); cursor:pointer; }
.choice:has(input:checked) { background:var(--brand-soft); border-radius:18px; }
input[type=radio],input[type=checkbox] { width:18px; height:18px; flex:none; margin:0; accent-color:var(--brand); }
.choice i { width:14px; height:14px; border-radius:50%; border:1px solid var(--line); flex:none; }
.buy .primary { width:100%; min-height:56px; }
.panel { padding:28px; margin:24px 0; background:var(--paper); border-radius:28px; }
.panel>h2 { font-size:24px; }
.panel .stack { box-shadow:none; }
.narrow { max-width:480px; margin:32px auto; }
.narrow h1 { font-size:32px; }
.split { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.list { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.list li { padding:16px 18px; background:var(--bg); border-radius:18px; font-size:13px; }
.shop-head { display:flex; gap:24px; padding:32px; margin-bottom:28px; border-radius:32px; background:var(--paper); }
.avatar { width:88px; height:88px; border-radius:28px; object-fit:cover; flex:none; }
.chips { display:flex; gap:8px; flex-wrap:wrap; }
.chips span { padding:6px 12px; background:var(--bg); color:var(--muted); border-radius:10px; font-size:11px; }
.flash,.alert { border-radius:18px; padding:14px 18px; font-size:13px; }
.flash { background:var(--brand-soft); color:var(--brand-ink); }
.alert { background:#ffead8; color:var(--warn); }
.sold { background:var(--md-sys-color-surface-container-high); border-radius:16px; padding:16px; font-weight:600; }
.empty { color:var(--muted); }
.bars { list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.bars li { display:grid; grid-template-columns:48px 1fr 32px; gap:10px; align-items:center; font-size:12px; }
.bars i { display:block; height:12px; width:var(--w); background:var(--brand); border-radius:99px; animation:bar-in .8s var(--motion-spring); transform-origin:left; }
.variant { display:grid; grid-template-columns:1fr 1fr 120px 90px; gap:10px; margin-bottom:12px; }
.code { font-size:1.2rem; letter-spacing:.08em; }
.region { margin:16px 0 8px; font-weight:600; font-size:12px; }
button.primary,button.quiet,button.danger { width:auto; }
/* JS is optional: content starts visible, reveal activates only near the viewport. */
[data-reveal].reveal-enter { animation:content-in .7s var(--motion-spring) both; animation-delay:var(--reveal-delay,0ms); }
.ripple { position:absolute; width:20px; height:20px; border-radius:50%; background:currentColor; opacity:.12; pointer-events:none; transform:translate(-50%,-50%) scale(0); animation:ripple .65s var(--motion-standard) forwards; z-index:1; }
@keyframes ripple { to { transform:translate(-50%,-50%) scale(24); opacity:0; } }
/* Also cover touch-capable hybrids and legacy/synthetic pointer events. */
@media (any-pointer: coarse) { .ripple { display:none; animation:none; } }
@keyframes content-in { from { opacity:0; transform:translateY(25px) scale(.98); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes menu-in { from { opacity:0; transform:translateY(-8px) scale(.96); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes art-coat-enter { from { opacity:0; transform:translateY(35px) rotate(-20deg) scale(.7); } to { opacity:1; transform:translateY(0) rotate(-10deg) scale(1); } }
@keyframes art-shirt-enter { from { opacity:0; transform:translate(30px,-30px) rotate(25deg) scale(.6); } to { opacity:1; transform:translate(0,0) rotate(13deg) scale(1); } }
@keyframes art-bag-enter { from { opacity:0; transform:translate(30px,40px) rotate(25deg) scale(.6); } to { opacity:1; transform:translate(0,0) rotate(8deg) scale(1); } }
@keyframes flower-enter { from { opacity:0; transform:rotate(-100deg) scale(.2); } to { opacity:1; transform:rotate(-18deg) scale(1); } }
@keyframes note-enter { from { opacity:0; transform:translateY(25px) rotate(-10deg); } to { opacity:1; transform:translateY(0) rotate(-5deg); } }
@keyframes bar-in { from {transform:scaleX(0);} to {transform:scaleX(1);} }
@media (max-width:1100px) {
 .top { gap:18px; padding:14px 24px; }
 .logo { font-size:21px; }
 .find { max-width:400px; }
 .hero { padding:36px; grid-template-columns:1.1fr .9fr; }
 .hero-art { height:310px; }
 .art-coat { width:175px; height:250px; left:12%; }
 .art-shirt { width:110px; height:124px; }
 .art-bag { width:117px; height:132px; }
 .art-flower { width:64px; height:64px; left:0; }
 .trust-strip span:last-child { display:none; }
}
@media (max-width:900px) {
 main,.foot { width:calc(100% - 40px); }
 .top { flex-wrap:wrap; gap:12px; padding:12px 20px; }
 .find { order:3; max-width:none; flex-basis:100%; }
 .menu { gap:8px; }
 .hero { padding:32px; gap:16px; min-height:400px; }
 .hero h1 { font-size:44px; }
 .hero-art { height:280px; }
 .art-coat { width:150px; height:230px; left:10%; }
 .art-shirt { width:92px; height:110px; right:-12px; }
 .art-bag { width:100px; height:120px; right:-12px; }
 .art-flower { width:50px; height:50px; }
 .art-flower .icon { width:28px; height:28px; }
 .art-note { padding:10px 12px; font-size:10px; left:0; }
 .hero-actions { gap:8px; }
 .hero-actions .primary,.hero-actions .quiet { font-size:12px; padding:12px 16px; }
 .category-nav a { padding:12px 18px; }
 .grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
 .filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .product { gap:18px; }
 .buybox { padding:24px; }
 .buybox h1 { font-size:28px; }
 .how-section { grid-template-columns:1fr; gap:12px; }
 .variant { grid-template-columns:1fr 1fr; }
}
@media (max-width: 680px) {
 html { scroll-padding-top:150px; }
 main { width:calc(100% - 24px); margin:14px auto 40px; }
 .top { padding:10px 14px; gap:10px; }
 .logo { font-size:21px; gap:7px; }
 .logo-mark { width:32px; height:32px; }
 .menu { gap:5px; }
 .menu .primary { min-height:44px; padding:8px 10px; font-size:11px; gap:4px; }
 .menu .sell-link { width:44px; padding:10px; font-size:0; gap:0; }
 .menu .primary .icon { width:20px; height:20px; }
 .menu .pill { min-height:44px; padding:8px 10px; font-size:11px; }
 .language-switch a { font-size:9px; padding:6px; }
 .personalize summary { width:38px; height:44px; }
 .personalize .icon { width:18px; height:18px; }
 .theme-picker { right:-50px; }
 .find { padding:4px 4px 4px 14px; gap:8px; }
 .find .icon { width:18px; height:18px; }
 .find input { font-size:13px; }
 .find button { font-size:11px; padding:9px 16px; }
 .hero { padding:28px 24px 18px; border-radius:28px; grid-template-columns:1fr; gap:12px; min-height:0; }
 .hero h1 { font-size:clamp(36px,10vw,52px); margin:20px 0; }
 .hero .eyebrow { font-size:9px; letter-spacing:.07em; }
 .lead { font-size:13px; margin:0 0 22px; }
 .hero-location { margin-top:20px; font-size:9px; }
 .hero-art { width:min(330px,100%); height:210px; margin:10px auto 0; }
 .art-orbit { inset:0 12px 0 12px; }
 .art-coat { left:23%; top:0; width:140px; height:185px; border-radius:70px 70px 22px 22px; }
 .art-coat>span { font-size:8px; }
 .art-coat small { font-size:5px; margin-top:4px; }
 .art-shirt { width:90px; height:95px; right:0; top:0; border-radius:24px; }
 .art-bag { width:92px; height:99px; right:0; bottom:0; border-radius:24px 24px 44px 24px; }
 .art-flower { top:10px; left:0; width:49px; height:49px; border-radius:18px; }
 .art-note { left:0; bottom:0; }
 .trust-strip { padding:12px 10px; margin:0 0 10px; font-size:9px; gap:8px; }
 .trust-strip .icon { width:14px; height:14px; }
 .trust-strip span { gap:5px; }
 .trust-strip span:first-child { max-width:190px; }
 .category-nav { margin:12px 0 22px; gap:4px; }
 .category-nav a { min-height:44px; padding:10px 19px; font-size:11px; border-radius:12px; }
 .catalog-heading { margin-top:20px; padding-left:5px; }
 .catalog-heading h2 { font-size:26px; }
 .catalog-heading .eyebrow { font-size:8px; }
 .catalog-heading p:last-child { font-size:11px; max-width:220px; }
 .filter-disclosure { margin-top:-76px; }
 .filter-disclosure>summary { font-size:11px; padding:9px 12px; gap:5px; }
 .filter-disclosure>summary .icon { width:17px; height:17px; }
 .filter-chevron { display:none; }
 .filters { padding:18px; gap:12px; }
 .filters label { font-size:11px; }
 input:not([type=hidden]):not([type=radio]):not([type=checkbox]),select,textarea { font-size:16px; }
 .top .find input[type=search] { font-size:13px; }
 .grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .card { border-radius:20px; }
 .card img,.card .ph { border-radius:20px 20px 8px 8px; }
 .card-body { padding:12px; }
 .card-body strong { font-size:17px; }
 .card-body h3,.card-body h2 { font-size:12px; }
 .card-shop { display:block; font-size:9px; }
 .card-shop>span { display:block; margin-top:2px; }
 .card-price { gap:4px; margin-bottom:7px; }
 .verified-mark { width:20px; height:20px; }
 .ph small { font-size:8px; }
 .how-section { margin-top:40px; padding:24px; border-radius:24px; }
 .how-section h2 { font-size:26px; }
 .steps li { gap:14px; font-size:12px; }
 .foot { width:calc(100% - 32px); }
 .footer-brand { gap:16px; font-size:10px; }
 .product,.split { grid-template-columns:1fr; }
 .ph.big { min-height:260px; max-height:420px; aspect-ratio:1.15; }
 .buybox { padding:24px 20px; border-radius:28px; }
 .shop-head { padding:24px; gap:16px; flex-direction:column; }
 .shop-head h1 { font-size:30px; }
 .panel { padding:22px; border-radius:24px; }
 .narrow { margin:20px 0; max-width:100%; }
 .pagination { gap:12px; }
 .pagination .primary,.pagination .quiet { font-size:12px; padding:12px 16px; }
 .search-heading h1 { font-size:32px; }
}
@media (max-width:380px) {
 .top { gap:8px; }
 .logo { font-size:19px; }
 .menu .sell-link { display:none; }
 .trust-strip { flex-direction:column; gap:6px; }
 .catalog-heading p:last-child { max-width:175px; }
 .hero-actions .quiet { padding:12px 13px; }
}
/* Identity chip and personal profile: native disclosure and multipart forms. */
.avatar { position:relative; display:inline-grid; place-items:center; overflow:hidden; flex:none; width:40px; height:40px; border-radius:50%; background:var(--brand-soft); color:var(--brand-ink); font-weight:700; letter-spacing:-.04em; }
.avatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.avatar img[hidden] { display:none; }
.avatar--small { width:32px; height:32px; font-size:13px; }
.avatar--large { width:104px; height:104px; font-size:34px; }
.avatar--edit { width:72px; height:72px; font-size:25px; }
.account-menu { position:relative; }
.account-chip { display:flex; align-items:center; gap:10px; min-height:44px; padding:5px 11px 5px 5px; border:1px solid var(--line); border-radius:99px; background:var(--paper); cursor:pointer; list-style:none; transition:background .2s,box-shadow .2s; }
.account-chip::-webkit-details-marker { display:none; }
.account-chip-name { max-width:115px; overflow:hidden; text-overflow:ellipsis; font-weight:650; }
.account-chevron { width:16px; height:16px; color:var(--muted); transition:transform .3s var(--motion-spring); }
.account-menu[open] .account-chip { background:var(--brand-soft); }
.account-menu[open] .account-chevron { transform:rotate(180deg); }
.account-dropdown { position:absolute; top:calc(100% + 12px); right:0; min-width:250px; max-width:min(300px,calc(100vw - 32px)); border:1px solid var(--line); padding:8px; border-radius:24px; background:var(--bg); box-shadow:0 12px 40px #20291f18; animation:menu-in .3s var(--motion-spring); white-space:normal; }
.account-menu-identity { display:flex; flex-direction:column; gap:3px; padding:12px 12px 15px; border-bottom:1px solid var(--line); margin-bottom:5px; overflow-wrap:anywhere; }
.account-menu-identity strong { font-size:15px; }
.account-menu-identity span { font-size:12px; color:var(--muted); }
.account-dropdown a,.account-dropdown button { display:flex; align-items:center; gap:12px; min-height:48px; width:100%; padding:10px 12px; border-radius:12px; background:transparent; text-align:left; text-decoration:none; color:var(--ink); font-size:14px; line-height:20px; transition:background-color .18s,color .18s; }
.account-dropdown a>.icon,.account-dropdown button>.icon { display:block; width:22px; height:22px; flex:0 0 22px; margin:0; }
.account-dropdown a>span,.account-dropdown button>span { min-width:0; flex:1; overflow-wrap:anywhere; }
.account-dropdown a:focus-visible,.account-dropdown button:focus-visible { outline:2px solid var(--brand); outline-offset:-2px; background:var(--paper); }
@media(prefers-reduced-motion:reduce){.account-dropdown a,.account-dropdown button{transition:none}}
.account-dropdown a:hover,.account-dropdown button:hover { background:var(--paper); }
.account-dropdown form { padding-top:5px; margin-top:5px; border-top:1px solid var(--line); }
.account-dropdown button { color:var(--danger); }
.profile-layout { display:grid; grid-template-columns:260px minmax(0,1fr); gap:28px; align-items:start; margin:40px auto; max-width:1100px; }
.profile-summary { position:sticky; top:120px; padding:28px 22px; text-align:center; border-radius:32px; background:var(--paper); }
.profile-summary h1 { margin:18px 0 10px; font-size:26px; overflow-wrap:anywhere; }
.profile-summary p { margin:8px 0; color:var(--muted); font-size:13px; }
.profile-summary .quiet { margin-top:18px; padding:12px 16px; font-size:12px; }
.profile-location { display:flex; justify-content:center; gap:6px; align-items:center; color:var(--muted); font-size:13px; }
.profile-location .icon { width:17px; height:17px; }
.profile-editor { padding:30px; background:var(--paper); border-radius:32px; }
.profile-editor-heading { display:flex; justify-content:space-between; gap:20px; padding-bottom:24px; }
.profile-editor-heading h2 { margin:0 0 8px; font-size:34px; }
.profile-editor-heading p { margin:0; color:var(--muted); font-size:14px; }
.profile-editor-heading .profile-eyebrow { color:var(--brand); font-size:11px; text-transform:uppercase; letter-spacing:.1em; font-weight:650; margin-bottom:10px; }
.profile-editor-heading>.icon { width:32px; height:32px; color:var(--brand); }
.profile-avatar-editor { display:flex; align-items:center; gap:20px; padding:20px 0 24px; border-top:1px solid var(--line); }
.profile-upload { display:inline-block; width:auto; font-weight:650; font-size:14px; color:var(--brand); margin:0 0 8px; cursor:pointer; }
#avatar-file { position:absolute; width:1px; height:1px; min-height:0; padding:0; border:0; overflow:hidden; clip-path:inset(50%); }
.profile-form label.profile-upload { display:inline-flex; flex-direction:row; align-items:center; width:auto; padding:9px 15px; margin:0 0 5px; border:1px solid var(--line); border-radius:99px; background:var(--bg); color:var(--brand); font-weight:650; }
.profile-avatar-editor:has(#avatar-file:focus-visible) .profile-upload { outline:3px solid var(--brand); outline-offset:3px; }
.profile-form fieldset { border:0; border-top:1px solid var(--line); margin:0; padding:22px 0; min-width:0; }
.profile-form legend { padding:0 8px 0 0; font-weight:650; color:var(--brand); font-size:14px; }
.profile-form label:not(.choice) { display:flex; flex-direction:column; gap:7px; margin:0 0 16px; color:var(--muted); font-size:13px; }
.profile-form .profile-upload { display:inline-block; margin-bottom:8px; color:var(--brand); }
.profile-form input:not([type=checkbox]):not([type=file]),.profile-form select,.profile-form textarea { width:100%; min-width:0; background:var(--bg); border:1px solid var(--line); border-radius:16px; padding:12px 14px; color:var(--ink); }
.profile-form input[readonly] { color:var(--muted)!important; background:transparent!important; }
.profile-form textarea { resize:vertical; min-height:100px; }
.profile-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px; }
.field-hint { color:var(--muted); font-size:12px; margin:-5px 0 16px; line-height:1.5; }
.profile-avatar-editor .field-hint { margin:9px 0; }
.field-error { color:var(--danger); font-size:12px; margin:6px 0; }
.field-error:empty { display:none; }
.profile-form .choice { display:flex; align-items:flex-start; flex-direction:row; gap:9px; font-size:13px; line-height:1.5; color:var(--muted); }
.profile-form input[type=checkbox] { width:18px; height:18px; margin:1px 0 0; flex:none; }
.profile-save { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:20px; border-top:1px solid var(--line); }
.profile-save .primary { flex:none; min-width:150px; }
.profile-activity { max-width:1100px; margin:40px auto 0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.profile-activity>h2 { grid-column:1 / -1; font-size:25px; margin:0; }
.profile-activity>section { margin:0; padding:22px; border-radius:24px; border:1px solid var(--line); }
.profile-activity h2,.profile-activity h3 { font-size:20px; margin:0 0 15px; }
.profile-activity .empty { padding:0; border:0; background:none; margin:0; color:var(--muted); text-align:left; font-size:13px; }
.public-profile { display:flex; align-items:flex-start; gap:25px; max-width:880px; margin:40px auto; }
.public-profile h1 { font-size:36px; overflow-wrap:anywhere; }
.public-profile .profile-location { justify-content:flex-start; }
.profile-bio { white-space:pre-wrap; overflow-wrap:anywhere; }
.public-contacts { display:flex; flex-wrap:wrap; gap:10px 20px; font-size:14px; }
@media (max-width:900px) {
 .account-chip-name { max-width:80px; }
 .account-chip { gap:6px; }
 .profile-layout { grid-template-columns:210px minmax(0,1fr); gap:18px; }
 .profile-editor { padding:24px; }
 .profile-fields { grid-template-columns:minmax(0,1fr); }
 .profile-activity { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:620px) {
 .account-chip-name { max-width:70px; font-size:12px; }
 .account-chip { min-height:40px; padding:4px 8px 4px 4px; gap:7px; }
 .account-chevron { display:none; }
 .avatar--small { width:28px; height:28px; }
 .profile-layout { display:block; margin:24px auto; }
 .profile-summary { position:static; display:grid; grid-template-columns:64px minmax(0,1fr); gap:0 16px; padding:20px; text-align:left; margin-bottom:18px; border-radius:26px; }
 .profile-summary .avatar--large { width:64px; height:64px; font-size:24px; grid-row:1 / 4; }
 .profile-summary h1 { font-size:23px; margin:0 0 5px; }
 .profile-summary p { margin:3px 0; font-size:12px; }
 .profile-summary .profile-location { justify-content:flex-start; }
 .profile-summary .quiet { grid-column:1 / -1; margin-top:16px; }
 .profile-editor { padding:22px 18px; border-radius:26px; }
 .profile-editor-heading h2 { font-size:29px; }
 .profile-avatar-editor { align-items:flex-start; gap:14px; }
 .avatar--edit { width:56px; height:56px; font-size:20px; }
 .profile-avatar-editor>div { min-width:0; flex:1; }
 .profile-save { align-items:stretch; flex-direction:column; gap:16px; }
 .profile-activity { margin-top:28px; }
 .public-profile { flex-direction:column; }
 .public-profile h1 { font-size:30px; }
}
/* First visit: two native, full-card actions, not a permanent account restriction. */
.onboarding { width:min(920px,100%); margin:44px auto 0; }
.onboarding-intro { text-align:center; margin:0 auto 30px; max-width:620px; }
.onboarding-eyebrow { display:inline-flex; align-items:center; gap:7px; margin:0 0 16px; padding:6px 12px; border-radius:99px; background:var(--paper); color:var(--brand); font-size:12px; font-weight:650; }
.onboarding-eyebrow .icon { width:16px; height:16px; }
.onboarding h1 { margin:0 0 14px; font-size:clamp(2.2rem,4vw,3.1rem); }
.onboarding-subtitle { max-width:480px; margin:0 auto; color:var(--muted); font-size:15px; line-height:1.6; text-wrap:balance; }
.role-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.role-grid form { margin:0; min-width:0; display:flex; }
.role-card { width:100%; display:flex; flex-direction:column; text-align:left; position:relative; isolation:isolate; padding:14px; border:2px solid transparent; border-radius:36px; background:var(--paper); color:var(--ink); transition:transform .45s var(--motion-spring),border-color .2s,box-shadow .3s,background .2s; }
.role-card:focus-visible { outline:3px solid var(--brand); outline-offset:5px; }
.role-art { display:flex; align-items:center; justify-content:center; width:100%; height:185px; border-radius:24px; overflow:hidden; background:var(--brand-soft); color:var(--brand); }
.role-card--seller .role-art { background:var(--md-sys-color-secondary-container); }
.role-scene { width:min(320px,100%); height:180px; overflow:visible; pointer-events:none; }
.role-blob { opacity:.1; }
.role-art-front,.role-art-back,.role-art-badge { transform-box:fill-box; transform-origin:center; transition:translate .55s var(--motion-spring),rotate .55s var(--motion-spring); }
.role-copy { display:flex; flex-direction:column; gap:10px; padding:22px 14px 20px; flex:1; }
.role-title { font-size:clamp(1.65rem,2.4vw,2rem); font-weight:650; line-height:1.1; letter-spacing:-.035em; }
.role-description { color:var(--muted); font-size:14px; line-height:1.6; max-width:325px; }
.role-action { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 14px 10px; padding-top:15px; border-top:1px solid var(--line); color:var(--brand); font-size:14px; font-weight:650; }
.role-arrow { display:grid; place-items:center; width:40px; height:40px; flex:none; border-radius:50%; background:var(--brand-soft); color:var(--brand-ink); transition:background .2s,color .2s,transform .45s var(--motion-spring); }
.onboarding-note { display:flex; justify-content:center; align-items:flex-start; gap:8px; margin:25px auto 0; max-width:550px; text-align:center; font-size:12px; color:var(--muted); text-wrap:balance; }
.onboarding-note .icon { width:17px; height:17px; margin-top:1px; color:var(--brand); }
@media (hover:hover) {
 .role-card:hover { transform:translateY(-6px); border-color:color-mix(in srgb,var(--brand) 45%,transparent); box-shadow:0 14px 28px color-mix(in srgb,var(--brand) 10%,transparent); }
 .role-card:hover .role-art-front { translate:2px -5px; rotate:4deg; }
 .role-card:hover .role-art-back { translate:-3px -3px; rotate:-3deg; }
 .role-card:hover .role-art-badge { translate:0 -4px; rotate:-8deg; }
 .role-card:hover .role-arrow { background:var(--brand); color:var(--md-sys-color-on-primary); transform:rotate(-35deg); }
}
.role-card:active { transform:scale(.985); box-shadow:none; }
@keyframes role-arrive { from { opacity:0; transform:translateY(18px) scale(.975); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion:no-preference) {
 .role-grid form { animation:role-arrive .6s var(--motion-spring) both; }
 .role-grid form:nth-child(2) { animation-delay:75ms; }
 :root[data-navigation-entry] .role-grid form { animation:none; }
}
@media (max-width:620px) {
 .onboarding { margin-top:24px; }
 .onboarding-intro { margin-bottom:24px; }
 .onboarding-eyebrow { margin-bottom:12px; }
 .onboarding h1 { font-size:34px; }
 .onboarding-subtitle { font-size:14px; max-width:330px; }
 .role-grid { grid-template-columns:minmax(0,1fr); gap:16px; }
 .role-card { display:grid; grid-template-columns:108px minmax(0,1fr); gap:0 16px; padding:18px; border-radius:28px; align-items:center; }
 .role-art { width:108px; height:136px; grid-row:1 / 3; border-radius:20px; }
 .role-scene { width:164px; max-width:none; height:140px; flex:none; }
 .role-copy { padding:2px 0 14px; gap:8px; }
 .role-title { font-size:23px; }
 .role-description { font-size:12px; line-height:1.5; }
 .role-action { margin:0; padding-top:10px; gap:8px; font-size:12px; }
 .role-arrow { width:30px; height:30px; }
 .role-arrow .icon { width:18px; height:18px; }
 .onboarding-note { font-size:12px; margin-top:22px; }
}
@media (max-width:360px) {
 .role-card { grid-template-columns:80px minmax(0,1fr); gap:0 12px; padding:14px; }
 .role-art { width:80px; height:142px; }
 .role-scene { width:132px; }
 .role-title { font-size:21px; }
}
/* Cross-document transitions: keep the header anchored while content changes. */
@keyframes page-in { from { opacity:0; transform:translateY(24px) scale(.985); } to { opacity:1; transform:none; } }
@keyframes page-out { to { opacity:0; transform:translateY(-12px) scale(.99); } }
@keyframes page-back-in { from { opacity:0; transform:translateX(-24px); } to { opacity:1; transform:none; } }
@keyframes language-in { from { opacity:0; transform:translateY(7px); filter:blur(2px); } to { opacity:1; transform:none; filter:none; } }
@keyframes language-out { to { opacity:0; transform:translateY(-5px); filter:blur(1px); } }
@keyframes navigation-leave { to { opacity:.35; transform:translateY(-9px); } }
@media (prefers-reduced-motion:no-preference) {
 @view-transition { navigation:auto; }
 .top { view-transition-name:site-header; }
 #main { view-transition-name:page; }
 .language-switch a[aria-current] { view-transition-name:language-indicator; }
 :root[data-navigation-entry] .hero-copy,
 :root[data-navigation-entry] .art-coat,
 :root[data-navigation-entry] .art-shirt,
 :root[data-navigation-entry] .art-bag,
 :root[data-navigation-entry] .art-flower,
 :root[data-navigation-entry] .art-note,
 :root[data-navigation-entry] .filters { animation:none; }
 ::view-transition { pointer-events:none; }
 ::view-transition-group(page) { animation:none; }
 ::view-transition-old(page),::view-transition-new(page) { mix-blend-mode:normal; transform-origin:50% 0; }
 ::view-transition-old(page) { animation:page-out 180ms ease-in both; }
 ::view-transition-new(page) { animation:page-in 460ms var(--motion-spring) both; }
 ::view-transition-group(site-header),::view-transition-group(language-indicator) { animation-duration:360ms; animation-timing-function:var(--motion-spring); }
 ::view-transition-old(site-header),::view-transition-new(site-header) { animation-duration:180ms; }
 :root[data-navigation="language"]::view-transition-old(page) { animation:language-out 140ms ease-in both; }
 :root[data-navigation="language"]::view-transition-new(page) { animation:language-in 340ms var(--motion-standard) both; }
 :root[data-navigation-direction="back"]::view-transition-new(page) { animation-name:page-back-in; }
 :root[data-navigation-phase="entering"] #main { animation:page-in 460ms var(--motion-spring) both; }
 :root[data-navigation="language"][data-navigation-phase="entering"] #main { animation:language-in 340ms var(--motion-standard) both; }
 :root[data-navigation-phase="leaving"] #main { animation:navigation-leave 150ms ease-in both; }
 :root[data-navigation="language"][data-navigation-phase="leaving"] #main { transform:none; }
}
/* No continuous decorative motion. Respect accessibility and OS preferences. */
@media (prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 *,*::before,*::after { animation:none!important; transition:none!important; }
 .card:hover,.primary:hover,.role-card:hover,.role-card:active,.role-card:hover .role-arrow { transform:none; }
 .role-card:hover .role-art-front,.role-card:hover .role-art-back,.role-card:hover .role-art-badge { translate:none; rotate:none; }
}

/* Store studio: a real storefront, not a wall of checkboxes. */
.shop-editor [hidden], .city-picker [hidden] { display:none !important; }
.studio-intro { margin:30px 0 28px; max-width:780px; }
.studio-intro h1 { font-size:clamp(32px,4vw,48px); margin:8px 0 12px; letter-spacing:-1.7px; }
.studio-intro>p:last-child { color:var(--muted); line-height:1.6; margin:0; }
.studio-layout { display:grid; grid-template-columns:minmax(0,1fr) 240px; gap:28px; align-items:start; margin-bottom:40px; }
.shop-editor { display:grid; gap:24px; min-width:0; }
.shop-editor-card { background:var(--paper); border-radius:28px; padding:28px; min-width:0; scroll-margin-top:0; }
.editor-section-title { display:flex; gap:14px; align-items:flex-start; margin-bottom:24px; }
.step-number { width:34px; height:34px; border-radius:12px; display:grid; place-items:center; flex:none; font-size:11px; font-weight:750; color:var(--brand); background:var(--brand-soft); }
.editor-section-title h2 { font-size:22px; margin:2px 0 7px; letter-spacing:-.7px; }
.editor-section-title p { font-size:13px; line-height:1.55; color:var(--muted); margin:0; }
.store-brand-preview { border:1px solid var(--line); border-radius:24px; overflow:hidden; background:var(--bg); }
.store-cover { width:100%; position:relative; isolation:isolate; min-height:160px; aspect-ratio:3/1; overflow:hidden; background:linear-gradient(120deg,var(--brand-soft),var(--paper) 65%,var(--brand-soft)); }
.store-cover-art { position:absolute; inset:0; overflow:hidden; }
.store-cover-art:before,.store-cover-art:after { content:""; position:absolute; width:55%; aspect-ratio:1; border:1px solid var(--brand); opacity:.13; border-radius:38%; transform:rotate(24deg); right:-15%; top:-65%; }
.store-cover-art:after { width:42%; right:15%; top:40%; border-radius:50%; background:var(--brand); opacity:.055; }
.store-cover-art>svg { position:absolute; width:110px; height:110px; right:20%; top:18%; stroke:var(--brand); stroke-width:.65; fill:none; opacity:.32; transform:rotate(12deg); }
.store-cover>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.store-preview-label { position:absolute; left:18px; top:18px; border-radius:99px; background:var(--bg); color:var(--muted); padding:7px 11px; font-size:10px; letter-spacing:.15px; opacity:.95; }
.brand-upload { display:inline-flex; gap:8px; align-items:center; justify-content:center; background:var(--bg); color:var(--brand); border:1px solid var(--line); border-radius:99px; min-height:42px; padding:10px 16px; font-size:12px; font-weight:650; cursor:pointer; box-shadow:0 2px 10px #00000008; transition:transform .35s var(--motion-spring),background .2s; }
.brand-upload:hover { background:var(--brand-soft); transform:translateY(-2px); }
.cover-upload { position:absolute; right:18px; bottom:18px; }
.brand-file { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.store-cover:has(#shop-banner:focus-visible) .cover-upload,.store-avatar-wrap:has(#shop-avatar:focus-visible) .avatar-upload { outline:3px solid var(--brand); outline-offset:3px; }
.store-preview-body { display:flow-root; padding:0 24px 24px; position:relative; }
.store-avatar-wrap { position:relative; width:104px; margin-top:-45px; margin-bottom:16px; }
.avatar.store-avatar { width:104px; height:104px; font-size:28px; font-weight:650; border:5px solid var(--bg); background:var(--brand-soft); color:var(--brand); box-shadow:0 0 0 1px var(--line); flex:none; }
.avatar-upload { position:absolute; right:-4px; bottom:1px; width:36px; min-height:36px; padding:0; background:var(--brand); color:var(--md-sys-color-on-primary); border:3px solid var(--bg); }
.store-preview-body h3 { font-size:26px; letter-spacing:-.9px; margin:0 0 10px; line-height:1.2; overflow-wrap:anywhere; }
.store-preview-body>p { color:var(--muted); margin:0; font-size:13px; line-height:1.6; white-space:pre-line; overflow-wrap:anywhere; max-height:105px; overflow:auto; }
.brand-file-hints { display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:20px; }
.brand-file-hints strong { display:block; font-size:12px; margin-bottom:7px; }
.brand-file-hints small { display:block; color:var(--muted); font-size:11px; line-height:1.6; }
.asset-remove { display:flex; align-items:center; gap:8px; min-height:44px; font-size:12px; color:var(--muted); cursor:pointer; }
.asset-remove input,.delivery-card input,.city-option input { width:18px; height:18px; margin:0; accent-color:var(--brand); flex:none; cursor:pointer; }
.shop-fields { display:grid; gap:20px; }
.shop-fields>label { display:grid; gap:9px; color:var(--muted); font-size:12px; font-weight:550; }
.shop-fields small { font-size:11px; font-weight:400; line-height:1.6; }
.delivery-options { border:0; padding:0; margin:0 0 28px; display:grid; grid-template-columns:1fr 1fr; gap:10px; min-width:0; }
.delivery-card { display:flex; gap:12px; align-items:center; min-height:68px; padding:15px; border:1px solid var(--line); background:var(--bg); border-radius:18px; cursor:pointer; transition:background .2s,border-color .2s,transform .4s var(--motion-spring); }
.delivery-card>span { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; min-width:0; }
.delivery-card strong { font-size:12px; font-weight:600; line-height:1.45; }
.delivery-card .icon { width:21px; height:21px; color:var(--brand); flex:none; }
.delivery-card:has(input:checked) { background:var(--brand-soft); border-color:var(--brand); }
.delivery-card:has(input:focus-visible),.city-option:has(input:focus-visible) { outline:3px solid var(--brand); outline-offset:2px; }
.city-picker { min-width:0; padding:0; border:0; margin:0; }
.city-picker>legend { font-size:16px; font-weight:650; padding:0; margin-bottom:14px; letter-spacing:-.3px; }
.city-search-wrap { position:relative; }
.city-search-wrap>.icon { position:absolute; left:15px; top:15px; color:var(--muted); width:20px; height:20px; }
.city-search-wrap>input { padding-left:46px !important; border-radius:99px !important; }
.field-hint { font-size:12px; color:var(--muted); line-height:1.65; margin:10px 0 16px; }
.city-selection { padding:14px 0 18px; border-top:1px solid var(--line); }
.city-selection-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:12px; }
.text-button { padding:7px 0; background:none; border:0; color:var(--brand); cursor:pointer; min-height:36px; font-size:12px; font-weight:600; }
.text-button:disabled { opacity:.4; cursor:default; }
.selected-cities { display:flex; flex-wrap:wrap; gap:6px; max-height:130px; overflow:auto; margin-top:8px; }
.selected-city { display:flex; align-items:center; gap:8px; padding:7px 10px; min-height:34px; border:0; border-radius:10px; color:var(--brand-ink); background:var(--brand-soft); font-size:11px; cursor:pointer; }
.selected-city>span:last-child { font-size:16px; line-height:1; }
.city-regions { max-height:410px; overflow:auto; border:1px solid var(--line); border-radius:18px; background:var(--bg); }
.city-region+ .city-region { border-top:1px solid var(--line); }
.city-region>summary { display:flex; align-items:center; gap:10px; padding:14px 15px; min-height:54px; font-size:13px; font-weight:600; list-style:none; cursor:pointer; }
.city-region>summary::-webkit-details-marker { display:none; }
.city-region>summary>span:first-of-type { flex:1; }
.city-region>summary>.icon:first-child { width:17px; height:17px; color:var(--brand); flex:none; }
.region-count { font-size:11px; font-weight:500; color:var(--muted); white-space:nowrap; }
.city-chevron { width:16px; height:16px; flex:none; transition:transform .35s var(--motion-spring); }
.city-region[open] .city-chevron { transform:rotate(180deg); }
.city-region[open]>summary { background:var(--paper); }
.city-region-body { padding:0 14px 16px; }
.city-options { display:flex; flex-wrap:wrap; gap:8px; padding-top:8px; }
.city-option { display:inline-flex; align-items:center; gap:9px; min-height:42px; padding:9px 12px; border:1px solid var(--line); border-radius:12px; color:var(--ink); cursor:pointer; font-size:12px; background:var(--bg); transition:background .2s,border-radius .35s var(--motion-spring); }
.city-option>.icon { display:none; width:15px; height:15px; }
.city-option:has(input:checked) { background:var(--brand-soft); border-color:transparent; border-radius:16px; }
.shop-submit { display:flex; align-items:center; justify-content:space-between; gap:28px; padding:0 4px; }
.shop-submit>p { display:flex; align-items:flex-start; gap:10px; max-width:360px; font-size:12px; color:var(--muted); line-height:1.6; margin:0; }
.shop-submit>p>.icon { width:18px; height:18px; flex:none; color:var(--brand); margin-top:2px; }
.shop-submit>.primary { display:flex; align-items:center; justify-content:center; gap:10px; flex:none; min-height:52px; padding:14px 20px; font-size:13px; }
.studio-guide { position:sticky; top:110px; padding:28px 22px; background:var(--paper); border-radius:28px; }
.studio-guide-symbol { display:grid; place-items:center; width:50px; height:50px; margin-bottom:22px; border-radius:18px; color:var(--brand); background:var(--brand-soft); transform:rotate(-7deg); }
.studio-guide-symbol>.icon { width:30px; height:30px; }
.studio-guide h2 { font-size:18px; margin:0 0 20px; }
.studio-guide nav { display:grid; gap:4px; }
.studio-guide nav>a { display:flex; align-items:center; gap:12px; min-height:46px; color:var(--ink); text-decoration:none; font-size:12px; }
.studio-guide nav>a>span { color:var(--brand); font-size:10px; font-weight:650; }
.studio-guide>p { margin:24px 0 0; border-top:1px solid var(--line); padding-top:20px; font-size:12px; color:var(--muted); line-height:1.7; }
.storefront-head { overflow:hidden; border-radius:32px; background:var(--paper); margin:28px 0 34px; }
.storefront-head>.store-cover { max-height:360px; }
.storefront-body { position:relative; padding:0 36px 30px; }
.storefront-body>.store-avatar { margin-top:-50px; position:relative; border-color:var(--paper); width:112px; height:112px; }
.storefront-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:20px 0 12px; }
.storefront-heading .eyebrow { margin:0 0 8px; font-size:10px; }
.storefront-heading h1 { font-size:clamp(28px,4vw,42px); letter-spacing:-1.4px; margin:0; overflow-wrap:anywhere; }
.storefront-heading>.quiet { display:flex; align-items:center; gap:10px; font-size:12px; flex:none; }
.storefront-description { max-width:760px; white-space:pre-line; overflow-wrap:anywhere; line-height:1.7; font-size:14px; color:var(--muted); }
.storefront-cities { margin-top:18px; }
.storefront-cities>summary { display:flex; align-items:center; gap:8px; cursor:pointer; font-size:12px; color:var(--brand); width:fit-content; }
.storefront-cities>summary>.icon { width:17px; height:17px; }
.storefront-cities>.chips { margin-top:12px; }
.storefront-catalog { display:flex; gap:10px; align-items:center; margin-bottom:24px; }
.storefront-catalog h2 { font-size:26px; margin:0; }
.storefront-catalog>span { font-size:12px; background:var(--paper); padding:7px 10px; border-radius:99px; color:var(--muted); }
@media (prefers-reduced-motion:no-preference) {
 .city-region[open] .city-region-body { animation:menu-in .3s var(--motion-spring); }
 .selected-city { animation:menu-in .25s var(--motion-spring); }
}
@media (max-width:1050px) { .studio-layout { grid-template-columns:minmax(0,1fr); } .studio-guide { display:none; } }
@media (max-width:620px) {
 .studio-intro { margin:24px 0; } .studio-intro h1 { letter-spacing:-1px; } .studio-intro>p:last-child { font-size:14px; }
 .shop-editor-card { padding:20px 16px; border-radius:24px; } .editor-section-title h2 { font-size:19px; } .editor-section-title p { font-size:12px; }
 .store-cover { aspect-ratio:3/1; min-height:0; } .store-preview-label { display:none; }
 .cover-upload { right:10px; bottom:10px; font-size:11px; padding:8px 12px; }
 .store-preview-body { padding:0 16px 20px; } .store-avatar-wrap { margin-top:-32px; width:80px; }
 .avatar.store-avatar { width:80px; height:80px; font-size:23px; border-width:4px; } .avatar-upload { width:32px; min-height:32px; }
 .store-preview-body h3 { font-size:22px; } .brand-file-hints { gap:14px; } .brand-file-hints small { font-size:10px; }
 .delivery-options { gap:8px; } .delivery-card { padding:12px 10px; gap:8px; } .delivery-card strong { font-size:11px; } .delivery-card .icon { display:none; }
 .city-selection-heading { align-items:flex-start; gap:8px; } .city-selection-heading>strong { padding-top:10px; font-size:11px; }
 .city-option { font-size:11px; padding:9px 10px; } .city-region>summary { padding:14px 12px; font-size:12px; gap:8px; }
 .shop-submit { flex-direction:column; align-items:stretch; gap:20px; } .shop-submit>p { max-width:none; }
 .storefront-head { border-radius:24px; margin-top:20px; } .storefront-body { padding:0 20px 24px; } .storefront-body>.store-avatar { margin-top:-36px; }
 .storefront-heading { align-items:flex-start; flex-direction:column; gap:16px; } .storefront-heading h1 { font-size:28px; } .storefront-description { font-size:13px; }
}

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }

/* A required connection, not a checkbox: completion comes only from the bot. */
.telegram-setup { border:1px solid var(--line); scroll-margin-top:24px; transition:background .3s,border-color .3s; }
.telegram-feature { display:flex; align-items:center; gap:16px; padding:20px; border-radius:24px; background:var(--paper); }
.telegram-symbol { display:grid; place-items:center; flex:none; width:54px; height:54px; background:var(--brand-soft); color:var(--brand); border-radius:18px; }
.telegram-symbol svg { width:28px; height:28px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.telegram-feature strong { font-size:15px; }
.telegram-feature p { color:var(--muted); font-size:13px; line-height:1.6; margin:6px 0 0; }
.telegram-checkmark { margin-left:auto; color:var(--brand); flex:none; }
.telegram-connect-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:20px; }
.telegram-connect-actions .primary { display:inline-flex; align-items:center; justify-content:center; gap:10px; text-decoration:none; }
.telegram-manual { font-size:12px; color:var(--muted); margin-top:18px; }
.telegram-manual summary { cursor:pointer; }
.telegram-setup[data-linked=true] { border-color:var(--brand); }
.shop-submit button:disabled { cursor:not-allowed; opacity:.45; box-shadow:none; transform:none; }
@media (prefers-reduced-motion:no-preference) { .telegram-setup[data-linked=true] .telegram-checkmark { animation:menu-in .4s var(--motion-spring); } }
@media (max-width:620px) { .telegram-feature { padding:16px 12px; gap:12px; } .telegram-symbol { width:44px; height:44px; border-radius:15px; } .telegram-feature strong { font-size:13px; } .telegram-feature p { font-size:12px; } .telegram-connect-actions { align-items:stretch; flex-direction:column; } }

#telegram-connect-form[hidden] { display:none !important; }

/* Shop identity: repeatable contacts and optional, private manual verification. */
.repeat-field{display:grid;gap:14px;padding-top:10px;border-top:1px solid var(--line);min-width:0}.repeat-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.repeat-heading h3{font-size:18px;margin:0}.repeat-heading p{margin:7px 0 0}.repeat-heading>.icon{color:var(--brand);flex-shrink:0}.repeat-rows{display:grid;gap:12px}.repeat-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:center}.repeat-row label{min-width:0}.repeat-row input{margin:0}.repeat-remove{padding:0;min-width:44px;width:44px;height:44px;font-size:23px;line-height:1}.repeat-add{justify-self:start;display:inline-flex;align-items:center;gap:8px}.link-row{grid-template-columns:minmax(100px,.7fr) minmax(0,1.3fr) 44px}.verification-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.verification-heading .badge{font-size:11px;font-weight:600}.verification-seal{width:48px;height:48px;border-radius:18px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand-ink);flex-shrink:0;margin-left:auto;transform:rotate(-8deg)}.verification-card>.editor-section-title{align-items:center}.verification-toggle{display:flex;align-items:center;gap:12px;padding:18px 20px;border-radius:20px;background:var(--md-sys-color-surface-container-high);cursor:pointer;font-weight:600}.verification-toggle input,.verification-consent input{width:20px;height:20px;accent-color:var(--brand);flex-shrink:0;margin:0}.verification-toggle>.icon{margin-left:auto;color:var(--brand);opacity:.2}.verification-toggle:has(input:checked)>.icon{opacity:1}.verification-fields{display:grid;gap:18px;padding-top:22px}.verification-fields[hidden]{display:none}.verification-uploads{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.document-upload{position:relative;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:12px;padding:22px 12px;min-height:175px;border:1px dashed var(--line);border-radius:24px;background:var(--bg);text-align:center;overflow:hidden;cursor:pointer;transition:background .2s,border-color .2s}.document-upload:hover,.document-upload:focus-within{background:var(--brand-soft);border-color:var(--brand)}.document-upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;margin:0}.document-art{width:64px;height:48px;color:var(--brand)}.document-art svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.document-upload strong{font-size:13px;line-height:1.5}.document-filename{font-size:11px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--brand)}.document-filename:empty{display:none}.has-document{border-style:solid;border-color:var(--brand);background:var(--brand-soft)}.verification-selfie-hint{display:flex;align-items:flex-start;gap:10px;padding:16px;border-radius:18px;background:var(--md-sys-color-secondary-container);color:var(--ink);font-size:13px;line-height:1.6;margin:0}.verification-selfie-hint .icon{flex-shrink:0;margin-top:2px}.verification-consent{display:flex;align-items:flex-start;gap:12px;font-size:13px;line-height:1.6;cursor:pointer}.verification-privacy{font-size:12px;line-height:1.7;margin:0}.verification-status{display:flex;align-items:flex-start;gap:14px;padding:20px;border-radius:20px;background:var(--brand-soft);color:var(--brand-ink)}.verification-status p{margin:8px 0 0}.verification-owner-files{display:flex;gap:14px;flex-wrap:wrap;margin-top:18px;font-size:12px}.verification-orbit{width:20px;height:20px;flex-shrink:0;border-radius:50%;border:3px solid currentColor;border-right-color:transparent}.storefront-contacts{margin:24px 0}.storefront-contacts h2{font-size:16px;margin:0 0 12px}.storefront-contacts ul{padding:0;list-style:none;display:grid;gap:12px}.storefront-contacts li{display:flex;gap:10px;align-items:flex-start;white-space:pre-line;overflow-wrap:anywhere}.storefront-contacts .icon{flex-shrink:0;color:var(--brand)}.storefront-links{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 24px}.storefront-links a{display:inline-flex;gap:8px;align-items:center;max-width:100%;overflow-wrap:anywhere}.admin-document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.admin-document-grid img{display:block;width:100%;height:220px;object-fit:contain;border-radius:16px;background:var(--md-sys-color-surface-container-high)}.admin-document-grid a{font-size:12px;display:grid;gap:8px}.admin-verifications{margin-top:50px}
@media(max-width:600px){.link-row{grid-template-columns:minmax(0,1fr) 44px}.link-row label:first-child{grid-column:1;grid-row:1}.link-row label:nth-child(2){grid-column:1;grid-row:2}.link-row .repeat-remove{grid-column:2;grid-row:1 / 3}.verification-uploads{grid-template-columns:1fr}.document-upload{min-height:100px;padding:18px;display:grid;grid-template-columns:56px minmax(0,1fr);text-align:left}.document-art{grid-row:1 / 3;width:52px}.verification-seal{display:none}.verification-toggle{padding:16px;font-size:14px}.admin-document-grid{grid-template-columns:1fr}.verification-heading h2{font-size:23px}}

/* Shared finishing details: native scrolling, personal palette, no JS scroll proxy. */
:root { --scroll-thumb: color-mix(in srgb, var(--muted) 78%, var(--brand)); }
* { scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) transparent; }
html { scrollbar-gutter: stable; }
.city-regions { scrollbar-gutter: stable; overscroll-behavior: contain; }
@supports selector(::-webkit-scrollbar) {
  /* Standards override vendor pseudos in Chromium; reset both together. */
  * { scrollbar-width: auto; scrollbar-color: auto; }
  *::-webkit-scrollbar { width: 12px; height: 12px; background: transparent; }
  *::-webkit-scrollbar-track { background: transparent; margin-block: 10px; }
  *::-webkit-scrollbar-thumb { min-height: 40px; min-width: 40px; border: 4px solid transparent; border-radius: 99px; background: var(--scroll-thumb); background-clip: padding-box; }
  *::-webkit-scrollbar-thumb:hover { border-width: 3px; background-color: var(--brand); }
  *::-webkit-scrollbar-thumb:active { border-width: 2px; background-color: var(--brand); }
  *::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
  *::-webkit-scrollbar-corner { background: transparent; }
}
.verified-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 26px; height: 26px; vertical-align: -.24em; color: var(--brand); background: none; border: 0; border-radius: 0; padding: 0; }
.verified-icon { display: block; width: 100%; height: 100%; overflow: visible; flex: none; }
.verified-badge .verified-icon { transition: transform 420ms var(--motion-spring); }
.storefront-heading .verified-badge { width: 32px; height: 32px; margin-inline-start: 3px; }
.verification-seal { color: var(--brand); background: none; transform: none; }
.verification-seal .verified-icon { width: 44px; height: 44px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .verified-badge:hover .verified-icon { transform: rotate(-9deg) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) { .verified-badge .verified-icon { transition: none; } }
@media (forced-colors: active) {
  * { scrollbar-width: auto; scrollbar-color: auto; }
  *::-webkit-scrollbar-thumb { background-color: ButtonText; }
  .verified-badge, .verification-seal { color: CanvasText; }
  .verified-icon use { --md-sys-color-on-primary: Canvas; }
}

/* Original generated ribbon-W lockup, optical viewport removes transparent padding. */
.brand-logo { display:block; position:relative; width:196px; height:44px; overflow:hidden; flex:none; }
.brand-logo img { position:absolute; width:220px; height:auto; max-width:none; left:-13px; top:-15px; }
.footer-brand .brand-logo { width:160px; height:38px; }
.footer-brand .brand-logo img { width:180px; left:-10px; top:-12px; }
@media (max-width:600px) { .top .brand-logo { width:144px; height:36px; } .top .brand-logo img { width:162px; left:-9px; top:-9px; } }

/* Audit: stable two-row mobile header, readable long content, compact photo gallery. */
main, .buybox, .photos, .product-gallery, .profile-editor { min-width:0; }
.crumbs, .buybox h1, .desc, .shop-description, .panel h1, .seller-heading h1 { overflow-wrap:anywhere; }
.product-gallery { align-self:start; }
.gallery-stage { position:relative; overflow:hidden; border-radius:28px; background:var(--paper); }
.gallery-main { display:block; cursor:zoom-in; }
.gallery-main img { display:block; width:100%; height:auto; aspect-ratio:auto 3 / 4; object-fit:cover; border-radius:0; }
.gallery-tools { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 14px; }
.gallery-tools[hidden], .gallery-arrow[hidden], .order-stepper button[hidden] { display:none; }
.gallery-arrow,.gallery-close { display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:var(--brand-soft); color:var(--brand-ink); font-size:22px; flex:none; }
.gallery-counter { font-size:12px; font-variant-numeric:tabular-nums; color:var(--muted); }
.gallery-thumbs { position:relative; display:flex; gap:8px; overflow-x:auto; padding:10px 2px; scroll-snap-type:x proximity; overscroll-behavior-inline:contain; }
.gallery-thumb { display:block; flex:0 0 76px; padding:3px; border:2px solid transparent; border-radius:16px; scroll-snap-align:start; }
.gallery-thumb img { display:block; width:100%; height:80px; border-radius:10px; object-fit:cover; }
.gallery-thumb[aria-pressed=true] { border-color:var(--brand); background:var(--brand-soft); }
.gallery-lightbox { position:fixed; margin:auto; padding:16px; width:min(1100px,calc(100vw - 24px)); max-width:none; max-height:calc(100dvh - 24px); border:1px solid var(--line); border-radius:28px; color:var(--ink); background:var(--bg); }
.gallery-lightbox::backdrop { background:#0b100de0; backdrop-filter:blur(8px); }
.gallery-lightbox>img { display:block; width:100%; height:calc(100dvh - 145px); max-height:760px; object-fit:contain; border-radius:16px; }
.gallery-close { position:absolute; right:20px; top:20px; z-index:1; font-size:28px; box-shadow:var(--shadow); }
.gallery-lightbox-tools { display:flex; justify-content:center; align-items:center; gap:24px; margin-top:12px; }
.gallery-modal-open { overflow:hidden; }
.order-stepper { display:flex; align-items:center; gap:8px; margin:-6px 0 14px; }
.order-stepper input { width:80px; text-align:center; }
.order-stepper button { width:44px; height:44px; border-radius:14px; background:var(--brand-soft); color:var(--brand-ink); font-size:22px; }
.order-stepper button:disabled { opacity:.38; cursor:not-allowed; }
@media(max-width:680px) {
 .top { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
 .top .find { grid-column:1/-1; width:100%; max-width:none; box-sizing:border-box; }
 .menu { min-width:0; }
 .gallery-main img { height:auto; }
 .gallery-thumb { flex-basis:62px; }
 .gallery-thumb img { height:70px; }
 .gallery-lightbox { padding:10px; border-radius:22px; }
 .gallery-lightbox>img { height:calc(100dvh - 128px); }
}
@media(max-width:480px) {
 .top .brand-logo { width:38px; height:36px; }
 .account-chip-name { display:none; }
 .account-chip { width:44px; height:44px; min-height:44px; padding:4px; justify-content:center; }
 .menu .sell-link { display:inline-flex; }
 .menu .shop-chip { min-width:44px; min-height:44px; justify-content:center; }
 .language-switch { min-height:40px; align-items:center; }
 .language-switch a { min-height:32px; display:grid; place-items:center; }
}

/* Product identity and seller: quiet M3 containers, readable on narrow screens. */
.product-article{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin:0 0 18px;min-height:36px}
.article-value{font-variant-numeric:tabular-nums;letter-spacing:.045em;user-select:all;color:var(--ink);font-weight:600}
.article-copy{display:grid;place-items:center;width:36px;min-width:36px;height:36px;padding:0;border:0;border-radius:12px;background:transparent;color:var(--brand);transition:background .2s,transform .2s}
.article-copy[hidden]{display:none}.article-copy:hover{background:var(--brand-soft)}.article-copy:active{transform:scale(.92)}.article-copy .icon{width:17px;height:17px}
.product-shop-card{display:flex;align-items:center;gap:14px;padding:18px;margin:20px 0 24px;border:1px solid var(--line);border-radius:24px;background:var(--bg);text-decoration:none;transition:background .25s,transform .25s,border-color .25s}
.product-shop-card:hover{background:var(--brand-soft);border-color:var(--brand)}.product-shop-card:active{transform:scale(.985)}
.product-shop-avatar{display:grid;place-items:center;flex:0 0 56px;width:56px;height:56px;overflow:hidden;border-radius:20px;background:var(--brand-soft);color:var(--brand)}
.product-shop-avatar>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}.product-shop-avatar>.icon{width:28px;height:28px}
.product-shop-details{display:grid;gap:6px;min-width:0;flex:1}.product-shop-name{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:var(--ink);font-size:14px;font-weight:650;overflow-wrap:anywhere}
.product-shop-location{display:flex;align-items:center;gap:4px;color:var(--muted);font-size:12px}.product-shop-location .icon{width:13px;height:13px}.product-shop-rating{color:var(--muted);font-size:11px;line-height:1.5}
.product-shop-open{display:grid;place-items:center;flex:0 0 28px;color:var(--brand)}.product-shop-open .icon{width:18px;height:18px}
@media(max-width:560px){.product-shop-card{padding:14px;gap:10px;border-radius:20px}.product-shop-avatar{flex-basis:48px;width:48px;height:48px;border-radius:16px}.product-shop-open{flex-basis:20px}}
@media(prefers-reduced-motion:reduce){.article-copy,.product-shop-card{transition:none}.article-copy:active,.product-shop-card:active{transform:none}}
