/* Shared storefront visual language; all purchase controls remain native. */
body.xique-shop-layout {
  --ui-bg-page:#f5f6f8; --ui-bg-surface:#fff; --ui-bg-elevated:#fff; --ui-bg-muted:#f0f2f5;
  --ui-text-primary:#20252d; --ui-text-secondary:#59616e; --ui-text-muted:#6e7784;
  --ui-border:#e2e5e9; --ui-accent:#c0563a; --ui-accent-hover:#ab4932;
  --ui-accent-soft:#c0563a14; --ui-price-primary:#20252d;
  --ui-shadow-1:none; --ui-shadow-2:none;
  background:#f5f6f8; color:#20252d;
  font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;
}
html.dark body.xique-shop-layout {
  --ui-bg-page:#16191e; --ui-bg-surface:#1f232a; --ui-bg-elevated:#1f232a; --ui-bg-muted:#292f38;
  --ui-text-primary:#f0f2f5; --ui-text-secondary:#c0c6cf; --ui-text-muted:#a2acba;
  --ui-border:#363e48; --ui-accent:#d9744f; --ui-accent-hover:#e0805f; --ui-accent-soft:#d9744f18; --ui-price-primary:#f0f2f5;
  background:#16191e; color:#f0f2f5;
}
body.xique-shop-layout .container { max-width:1200px; padding-inline:28px; }
body.xique-shop-layout nav[data-v-2fa6c5a7] { position:relative !important; top:auto; padding:0 !important; background:var(--ui-bg-surface); box-shadow:none !important; backdrop-filter:none; border-color:var(--ui-border); }
body.xique-shop-layout nav[data-v-2fa6c5a7] > .container { min-height:80px; gap:20px; }
body.xique-shop-layout .theme-wordmark { padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; max-width:280px; }
body.xique-shop-layout .theme-wordmark img { width:36px; height:36px; max-width:36px; animation:none; }
body.xique-shop-layout .theme-wordmark-text { font-size:16px; font-weight:650; }
body.xique-shop-layout nav[data-v-2fa6c5a7] a { border-radius:7px; }
body.xique-shop-layout main > .home-page { min-height:0; background:var(--ui-bg-page); }
.xqs-hero { display:block; padding-block:38px 32px; text-align:center; }
.xqs-hero h1 { display:flex; align-items:center; justify-content:center; gap:12px; width:fit-content; max-width:100%; margin:0 auto; font-size:clamp(26px,2.65vw,36px); font-weight:650; line-height:1.4; letter-spacing:-.025em; color:var(--ui-text-primary); }
.xqs-hero p { margin:10px auto 0; color:var(--ui-text-secondary); font-size:13px; line-height:1.8; }
.xqs-benefits { display:flex; flex-wrap:wrap; justify-content:center; gap:10px 22px; margin-top:20px; color:var(--ui-text-secondary); font-size:12px; }
.xqs-benefits span::before { content:'✓'; margin-right:6px; color:#287753; }
html.dark .xqs-benefits span::before { color:#75c79c; }
.xqs-services { padding:4px 18px 0; background:var(--ui-bg-surface); border:1px solid var(--ui-border); border-radius:12px; }
.xqs-service { display:flex; align-items:center; gap:12px; padding:14px 0; color:var(--ui-text-primary); }
.xqs-service + .xqs-service { border-top:1px solid var(--ui-border); }
.xqs-service svg { width:24px; height:24px; flex-shrink:0; color:var(--ui-accent); }
.xqs-service strong,.xqs-service small { display:block; }
.xqs-service strong { font-size:13px; font-weight:600; }
.xqs-service small { margin-top:2px; font-size:11px; color:var(--ui-text-muted); }
.xqs-service > b { margin-left:auto; color:var(--ui-text-muted); font-weight:400; font-size:22px; }
.xqs-guide { display:flex; justify-content:space-between; padding:10px 0; border-top:1px solid var(--ui-border); font-size:11px; color:var(--ui-text-secondary); }
.xqs-service:hover strong,.xqs-guide:hover { color:var(--ui-accent); }
body.xique-shop-layout #featured { padding:0 0 32px !important; }
body.xique-shop-layout #featured > .container > div:first-child { margin-bottom:20px; padding-top:26px; border-top:1px solid var(--ui-border); align-items:center; }
body.xique-shop-layout .theme-section-heading { font-size:23px; line-height:1.4; font-weight:650; }
body.xique-shop-layout #featured h2 + p { font-size:12px; margin-top:7px; }
body.xique-shop-layout #featured > .container > .grid,
body.xique-shop-layout .products-page main > div > .grid:has(> .bg-card) { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
body.xique-shop-layout .bg-card:has(> div > .theme-price-sm) { box-shadow:none; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) { border:1px solid var(--ui-border); border-radius:12px; background:var(--ui-bg-surface); box-shadow:none !important; transform:none !important; animation:none !important; overflow:hidden; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) > div:first-child { height:172px; aspect-ratio:auto; background:var(--ui-bg-surface); border:0; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) > div:first-child > img { object-fit:contain !important; padding:10px !important; transform:none !important; filter:none !important; opacity:1 !important; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) > div:first-child > .absolute.inset-0 { background:transparent !important; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) > div:first-child > .absolute:not(.inset-0) { top:12px; right:12px; max-width:65%; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) > div:first-child > .absolute > span { background:var(--ui-bg-muted); border-color:var(--ui-border); color:var(--ui-text-secondary); border-radius:5px; padding:3px 7px; font-size:10px; backdrop-filter:none; }
body.xique-shop-layout .lucky-main-badge { display:none; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) > div:last-child { padding:20px; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) h3 { font-size:22px; font-weight:650; line-height:1.45; min-height:2.9em; display:block; overflow:visible; -webkit-line-clamp:unset; margin-bottom:12px; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) .uppercase { text-transform:none; letter-spacing:0; font-size:10px; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) p { display:block; font-size:12px; line-height:1.7; margin-bottom:18px; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) .theme-price-sm { font:650 25px/1.3 Inter,"Microsoft YaHei",sans-serif; font-variant-numeric:tabular-nums; letter-spacing:-.04em; color:var(--ui-text-primary); }
body.xique-shop-layout main button[aria-label="快速购买"] { min-width:44px; min-height:40px; border:0; border-radius:7px; background:var(--ui-accent); color:#fff; box-shadow:none; }
body.xique-shop-layout main button[aria-label="快速购买"]:hover { background:var(--ui-accent-hover); }
body.xique-shop-layout .products-page { padding-top:28px !important; padding-bottom:36px; min-height:0; }
body.xique-shop-layout .products-page > .container > div:first-child { margin:0 0 22px; text-align:left; }
body.xique-shop-layout .products-page h1 { font-size:28px; font-weight:650; margin-bottom:8px; }
body.xique-shop-layout .products-page h1 + p { margin:0; max-width:none; padding-bottom:20px; font-size:13px; }
body.xique-shop-layout .products-page > .container > div:has(> aside) { flex-direction:column; gap:20px; }
body.xique-shop-layout .products-page aside { width:100%; }
body.xique-shop-layout .products-page aside > div { display:flex; flex-wrap:wrap; align-items:center; gap:18px; position:static; padding:16px; border-radius:12px; box-shadow:none; }
body.xique-shop-layout .products-page aside > div > div:first-child { margin:0; width:240px; max-width:100%; }
body.xique-shop-layout .products-page aside label { display:block; font-size:11px; margin-bottom:6px; }
body.xique-shop-layout .products-page aside input { background:var(--ui-bg-surface); }
body.xique-shop-layout .products-page aside div:has(> input) { margin-top:0; }
body.xique-shop-layout .products-page aside h2 { font-size:13px; margin:0; }
body.xique-shop-layout .products-page aside ul { display:flex; flex:1; flex-wrap:wrap; align-items:center; gap:8px; margin:0; }
body.xique-shop-layout .products-page aside li { margin:0 !important; min-width:0; }
body.xique-shop-layout .products-page aside button { width:auto; min-height:40px; padding:8px 12px; border-radius:7px; font-size:12px; }
body.xique-shop-layout .home-page > section:not(#featured) { padding-block:26px 32px; border-color:var(--ui-border); }
body.xique-shop-layout .home-page > section:not(#featured) .bg-card { box-shadow:none; border-radius:12px; }
body.xique-shop-layout footer { background:var(--ui-bg-surface); margin-top:0; }
body.xique-shop-layout footer > .container { padding-block:28px; }
body.xique-shop-layout footer > .container > .grid { margin-bottom:24px; gap:28px; }
body.xique-shop-layout footer h3 { font-size:16px; }
body.xique-shop-layout footer h4 { font-size:13px; margin-bottom:12px; }
body.xique-shop-layout footer p,body.xique-shop-layout footer li { font-size:12px; }
body.xique-shop-layout footer .border-t { padding-top:18px; }
body.xique-shop-layout a:focus-visible,body.xique-shop-layout button:focus-visible { outline:2px solid var(--ui-accent); outline-offset:3px; }
@media(max-width:1100px) {
  body.xique-shop-layout nav[data-v-2fa6c5a7] .theme-wordmark { max-width:220px; gap:8px; }
  body.xique-shop-layout .theme-wordmark-text { font-size:14px; }
  body.xique-shop-layout nav[data-v-2fa6c5a7] > .container { gap:10px; }
}
@media(max-width:1023px) {
  body.xique-shop-layout .container { padding-inline:24px; }
  body.xique-shop-layout nav[data-v-2fa6c5a7] > .container { min-height:68px; }
  body.xique-shop-layout #featured > .container > .grid,
  body.xique-shop-layout .products-page main > div > .grid:has(> .bg-card) { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .xqs-hero { grid-template-columns:minmax(0,1fr) 260px; gap:24px; }
  body.xique-shop-layout .products-page > .container > div:has(> aside) { gap:18px; }
  body.xique-shop-layout .products-page aside { display:none; }
  body.xique-shop-layout footer { padding-bottom:66px; }
}
@media(max-width:640px) {
  body.xique-shop-layout .container { padding-inline:18px; }
  body.xique-shop-layout nav[data-v-2fa6c5a7] > .container { min-height:66px; }
  body.xique-shop-layout .theme-wordmark-text { font-size:13px; }
  body.xique-shop-layout .theme-wordmark img { width:28px; height:28px; }
  .xqs-hero { grid-template-columns:1fr; padding-block:26px 24px; gap:20px; }
  .xqs-hero h1 { font-size:26px; }
  .xqs-hero p { font-size:12px; }
  .xqs-benefits { gap:12px; margin-top:14px; font-size:11px; }
  .xqs-services { display:grid; grid-template-columns:1fr 1fr; gap:0 14px; padding:0 14px; }
  .xqs-service { gap:8px; padding:13px 0; }
  .xqs-service + .xqs-service { border:0; }
  .xqs-service svg { width:20px; height:20px; }
  .xqs-service strong { font-size:12px; }
  .xqs-service small { font-size:10px; }
  .xqs-service > b { display:none; }
  .xqs-guide { grid-column:1/-1; }
  body.xique-shop-layout #featured > .container > .grid,
  body.xique-shop-layout .products-page main > div > .grid:has(> .bg-card) { grid-template-columns:minmax(0,1fr); gap:14px; }
  body.xique-shop-layout .theme-section-heading { font-size:21px; }
  body.xique-shop-layout #featured > .container > div:first-child { gap:12px; }
  body.xique-shop-layout #featured > .container > div:first-child > a { font-size:11px; flex-shrink:0; }
  body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) h3 { min-height:0; }
  body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) > div:first-child { height:164px; }
  body.xique-shop-layout .products-page h1 { font-size:24px; }
  body.xique-shop-layout footer > .container > .grid { grid-template-columns:1fr 1fr; }
  body.xique-shop-layout footer .col-span-2 { grid-column:1/-1; }
}
@media(prefers-reduced-motion:reduce) { .xique-shop-layout *, .xique-shop-layout *::before, .xique-shop-layout *::after { animation:none !important; transition:none !important; } }
/* Keep product content continuous, without category labels or internal dividers. */
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) > div:last-child > .truncate:first-child { display:none; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) > div:last-child > .border-t { border-top:0; padding-top:8px; }
.xqs-categories { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:0 0 22px; }
.xqs-categories a { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:9px 16px; border:1px solid var(--ui-border); border-radius:8px; color:var(--ui-text-secondary); background:var(--ui-bg-surface); font-size:14px; white-space:nowrap; }
.xqs-categories a:hover, .xqs-categories a:focus-visible { color:var(--ui-accent); border-color:var(--ui-accent); background:var(--ui-accent-soft); }
.xqs-categories img { width:24px; height:24px; object-fit:contain; }
body.xique-shop-layout .products-page aside { display:block; }
body.xique-shop-layout .products-page aside h2 { display:none; }
body.xique-shop-layout .products-page aside ul { min-width:0; }
@media(max-width:640px) {
  .xqs-categories { flex-wrap:nowrap; overflow-x:auto; overscroll-behavior-x:contain; max-width:100%; padding-bottom:6px; }
  .xqs-categories a { flex:0 0 auto; padding-inline:12px; font-size:13px; }
  body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) h3 { font-size:21px; }
  body.xique-shop-layout .products-page aside > div { display:block; padding:12px; }
  body.xique-shop-layout .products-page aside ul { flex-wrap:nowrap; overflow-x:auto; margin-top:12px; padding-bottom:4px; }
  body.xique-shop-layout .products-page aside li { flex:0 0 auto; }
}
/* White-backed catalog icons blend into the warm card instead of forming a tile. */
html:not(.dark) body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) > div:first-child > img[src^="/ai-icons/covers/"] {
  mix-blend-mode:multiply;
}
html.dark body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) > div:first-child > img[src^="/ai-icons/covers/"] {
  filter:invert(1) hue-rotate(180deg) !important;
  mix-blend-mode:screen;
}
.xqs-hero-logo { display:block; width:44px; height:44px; flex:0 0 44px; object-fit:contain; filter:brightness(0); opacity:.88; }
.xqs-hero h1 > span { min-width:0; }
html.dark .xqs-hero-logo { filter:brightness(0) invert(1); }
@media(max-width:640px) {
  .xqs-hero h1 { gap:9px; }
  .xqs-hero-logo { width:32px; height:32px; flex-basis:32px; }
}
/* Focused diffuse light sits behind the icon, with no rectangular image shadow. */
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) > div:first-child:has(> img[src^="/ai-icons/covers/"]) {
  --xqs-icon-glow:192,112,73;
  isolation:isolate;
}
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) > div:first-child:has(> img[src$="/muse.svg"]) { --xqs-icon-glow:82,126,218; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) > div:first-child:has(> img[src$="/gemini.svg"]) { --xqs-icon-glow:135,112,208; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) > div:first-child:has(> img[src^="/ai-icons/covers/"])::before {
  content:""; position:absolute; inset:6% 17%; pointer-events:none;
  background:radial-gradient(ellipse at center, rgba(var(--xqs-icon-glow),.24) 0%, rgba(var(--xqs-icon-glow),.12) 30%, rgba(var(--xqs-icon-glow),0) 72%);
  filter:blur(12px); opacity:.72;
  transition:opacity .22s ease;
}
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) > div:first-child > img[src^="/ai-icons/covers/"] { position:relative; z-index:1; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):is(:hover,:focus-within) > div:first-child:has(> img[src^="/ai-icons/covers/"])::before { opacity:1; }
html.dark body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) > div:first-child:has(> img[src^="/ai-icons/covers/"])::before { opacity:.5; }
html.dark body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):is(:hover,:focus-within) > div:first-child:has(> img[src^="/ai-icons/covers/"])::before { opacity:.8; }
/* Readable supporting copy on both warm light and dark surfaces. */
.xqs-hero p { font-size:14px; }
.xqs-benefits { font-size:13px; }
body.xique-shop-layout #featured h2 + p { font-size:14px; line-height:1.75; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) p { font-size:14px; line-height:1.8; white-space:pre-line; overflow-wrap:anywhere; overflow:visible; -webkit-line-clamp:unset; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]) .uppercase { font-size:13px; letter-spacing:0; }
body.xique-shop-layout .products-page aside label { font-size:13px; }
body.xique-shop-layout .products-page aside button { font-size:14px; }
body.xique-shop-layout footer :is(p,li) { font-size:13px; line-height:1.8; }
body.xique-shop-layout #featured > .container > div:first-child > a { font-size:13px; }
@media(max-width:360px) {
  body.xique-shop-layout #featured > .container > div:first-child { flex-wrap:wrap; }
}
