/* Clear storefront. Scoped to the gptpro20 shell; the shared shop is unaffected. */
body[data-storefront-design="clear"] {
  --market-ink:#202438; --market-muted:#62697b; --market-line:#e5e7ef;
  --market-panel:#fff; --market-panel-soft:#f7f8fc; --clear-accent:#5b4bd8;
  --clear-tint:#efedff; --clear-shadow:0 8px 28px #29214d06;
  background:#f8f9fc; color:var(--market-ink); font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;
  background-image:none; font-size:14px; line-height:1.6; color-scheme:light;
}
body[data-storefront-design="clear"][data-market-theme="dark"] {
  --market-ink:#f0eef7; --market-muted:#b5b1c6; --market-line:#343145;
  --market-panel:#201d2d; --market-panel-soft:#272336; --clear-accent:#b1a3ff;
  --clear-tint:#342d50; background:#171520; color-scheme:dark;
}
body[data-storefront-design="clear"] :is(button,a,input,select,summary):focus-visible { outline:3px solid #8e7df0; outline-offset:3px; }
body[data-storefront-design="clear"] [hidden] { display:none!important; }
body[data-storefront-design="clear"] .market-member-name { max-width:120px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body[data-storefront-design="clear"] .market-help-menu { position:relative; }
body[data-storefront-design="clear"] .market-help-menu summary { cursor:pointer; list-style:none; padding:8px 15px; color:var(--market-muted); }
body[data-storefront-design="clear"] .market-help-menu summary::-webkit-details-marker { display:none; }
body[data-storefront-design="clear"] .market-help-menu summary span { margin-left:5px; }
body[data-storefront-design="clear"] .market-help-menu>div { position:absolute; top:44px; left:0; width:180px; padding:8px; background:var(--market-panel); border:1px solid var(--market-line); border-radius:12px; box-shadow:0 14px 32px #15152b14; display:grid; gap:2px; }
body[data-storefront-design="clear"] .market-help-menu a { display:block; padding:8px 12px; border-radius:7px; font-size:13px; }
body[data-storefront-design="clear"] .market-help-menu a:hover { background:var(--clear-tint); color:var(--clear-accent); }
body[data-storefront-design="clear"] #marketplace { max-width:1240px; margin:0 auto; padding:0 28px; }
body[data-storefront-design="clear"] .market-intro { display:flex; align-items:center; justify-content:space-between; gap:32px; padding:44px 0 34px; }
body[data-storefront-design="clear"] .market-eyebrow { font-size:10px; letter-spacing:1.8px; font-weight:650; color:var(--clear-accent); margin:0 0 9px; }
body[data-storefront-design="clear"] .market-intro h1 { font-size:34px; font-weight:750; letter-spacing:-1px; margin:0 0 9px; line-height:1.3; }
body[data-storefront-design="clear"] .market-intro p:not(.market-eyebrow) { margin:0; color:var(--market-muted); font-size:14px; }
body[data-storefront-design="clear"] .market-intro-support { display:grid; color:var(--market-muted); font-size:12px; gap:3px; text-align:right; flex-shrink:0; }
body[data-storefront-design="clear"] .market-intro-support span { display:flex; align-items:center; gap:8px; justify-content:flex-end; color:var(--clear-accent); font-size:13px; }
body[data-storefront-design="clear"] :is(.market-intro-support,.market-home-support) svg { width:15px; height:15px; }
body[data-storefront-design="clear"] .market-catalog { padding:0 0 30px; }
body[data-storefront-design="clear"] .market-catalog-controls { display:flex; align-items:center; gap:18px; padding:0 0 18px; border-bottom:1px solid var(--market-line); }
body[data-storefront-design="clear"] .market-categories { gap:6px; flex:1; flex-wrap:wrap; }
body[data-storefront-design="clear"] .market-categories button { color:var(--market-muted); background:transparent; border:1px solid transparent; border-radius:9px; padding:9px 13px; font-size:13px; min-height:42px; gap:7px; white-space:nowrap; }
body[data-storefront-design="clear"] .market-categories button span { background:var(--market-panel-soft); color:var(--market-muted); font-size:10px; min-width:19px; padding:0 4px; }
body[data-storefront-design="clear"] .market-categories button.active { background:var(--market-panel); border-color:var(--market-line); color:var(--clear-accent); box-shadow:var(--clear-shadow); }
body[data-storefront-design="clear"] .market-categories button.active span { background:var(--clear-tint); color:var(--clear-accent); }
body[data-storefront-design="clear"] .market-catalog-tools { display:flex; align-items:center; gap:8px; flex-shrink:0; }
body[data-storefront-design="clear"] .market-search { width:188px; padding:9px 11px; gap:7px; background:var(--market-panel); border:1px solid var(--market-line); border-radius:9px; }
body[data-storefront-design="clear"] .market-search input { font-size:12px; color:var(--market-ink); background:transparent; }
body[data-storefront-design="clear"] .market-search svg { width:16px; height:16px; color:var(--market-muted); }
body[data-storefront-design="clear"] .market-sort-label select { font-size:12px; padding:10px 8px; max-width:138px; border:1px solid var(--market-line); border-radius:9px; background:var(--market-panel); color:var(--market-muted); }
body[data-storefront-design="clear"] .market-catalog-caption { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:22px 0 17px; }
body[data-storefront-design="clear"] .market-catalog-caption h2 { font-size:14px; font-weight:500; color:var(--market-muted); margin:0; }
body[data-storefront-design="clear"] .market-result-count { margin:0; font-size:12px; color:var(--market-muted); }
body[data-storefront-design="clear"] .market-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; align-items:stretch; }
body[data-storefront-design="clear"] .market-product { margin:0; padding:25px; border:1px solid var(--market-line); border-radius:16px; background:var(--market-panel); box-shadow:var(--clear-shadow); min-width:0; transition:border-color .15s ease; }
body[data-storefront-design="clear"] .market-product:hover { transform:none; border-color:#b5aaf2; box-shadow:var(--clear-shadow); }
body[data-storefront-design="clear"] .market-product-body { display:flex; flex-direction:column; padding:0; height:100%; }
body[data-storefront-design="clear"] .market-product-meta { margin:0 0 18px; min-height:23px; gap:10px; display:flex; align-items:center; justify-content:space-between; }
body[data-storefront-design="clear"] .market-stock { background:transparent; padding:0; font-size:11px; line-height:1.5; color:#197351; border:0; white-space:normal; }
body[data-storefront-design="clear"] .market-stock:before { content:""; display:inline-block; width:6px; height:6px; background:currentColor; border-radius:50%; margin-right:6px; vertical-align:middle; }
body[data-storefront-design="clear"] .market-stock.empty { color:#966f25; }
body[data-storefront-design="clear"][data-market-theme="dark"] .market-stock { color:#79dcb5; }
body[data-storefront-design="clear"] .market-product-badge { background:var(--clear-tint); color:var(--clear-accent); border:0; border-radius:5px; font-size:10px; padding:2px 7px; }
body[data-storefront-design="clear"] .market-product h3 { display:block; color:var(--market-ink); font-size:19px; line-height:1.55; letter-spacing:-.3px; min-height:0; margin:0; font-weight:700; overflow-wrap:anywhere; }
body[data-storefront-design="clear"] .market-product-bottom { margin:17px 0 15px; padding:0; border:0; }
body[data-storefront-design="clear"] .market-product-price { color:var(--market-ink); display:flex; align-items:baseline; gap:2px; flex-wrap:wrap; }
body[data-storefront-design="clear"] .market-product-price>span { font-size:18px; font-weight:700; }
body[data-storefront-design="clear"] .market-product-price strong { font-size:32px; letter-spacing:-1px; font-weight:750; line-height:1.3; }
body[data-storefront-design="clear"] .market-product-price small { margin-left:5px; font-size:12px; color:var(--market-muted); overflow-wrap:anywhere; }
body[data-storefront-design="clear"] .market-product-actions { display:flex; gap:8px; margin:0 0 18px; }
body[data-storefront-design="clear"] .market-purchase { flex:1; display:flex; align-items:center; justify-content:center; background:#5b4bd8; color:#fff!important; border:1px solid #5b4bd8; border-radius:9px; min-height:44px; padding:10px 16px; font-size:13px; line-height:1.4; font-weight:600; box-shadow:none; text-decoration:none; cursor:pointer; }
body[data-storefront-design="clear"] .market-purchase:hover { background:#4c3ac9; }
body[data-storefront-design="clear"] button.market-purchase:disabled { opacity:1; cursor:default; background:var(--market-panel-soft); border-color:var(--market-line); color:var(--market-muted)!important; }
body[data-storefront-design="clear"] .market-detail-link { display:flex; align-items:center; justify-content:center; min-width:65px; min-height:44px; padding:10px 12px; border:1px solid var(--market-line); color:var(--market-ink); border-radius:9px; font-size:13px; }
body[data-storefront-design="clear"] .market-detail-link:hover { background:var(--clear-tint); }
body[data-storefront-design="clear"] .market-product-desc { font-size:12px; line-height:1.85; color:var(--market-muted); margin:0 0 12px; min-height:0; }
body[data-storefront-design="clear"] .market-product-features { padding:0; margin:0 0 20px; list-style:none; display:grid; gap:8px; font-size:12px; color:var(--market-muted); }
body[data-storefront-design="clear"] .market-product-features li { display:flex; gap:8px; }
body[data-storefront-design="clear"] .market-product-features li:before { content:"✓"; color:var(--clear-accent); flex-shrink:0; }
body[data-storefront-design="clear"] .market-delivery-note { border-top:1px solid var(--market-line); margin-top:auto; padding-top:14px; display:flex; gap:14px; align-items:flex-start; justify-content:space-between; text-align:left; font-size:11px; color:var(--market-muted); line-height:1.7; }
body[data-storefront-design="clear"] .market-delivery-note span { flex-shrink:0; }
body[data-storefront-design="clear"] .market-delivery-note strong { font-weight:500; text-align:right; }
body[data-storefront-design="clear"] .market-empty { margin:20px 0; padding:32px; border:1px dashed var(--market-line); border-radius:12px; background:var(--market-panel); color:var(--market-muted); }
body[data-storefront-design="clear"] .market-service-bar { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:22px 0 32px; gap:24px; border-bottom:1px solid var(--market-line); }
body[data-storefront-design="clear"] .market-service-bar>div { display:flex; align-items:flex-start; gap:12px; }
body[data-storefront-design="clear"] .market-service-bar>div>span { background:var(--clear-tint); color:var(--clear-accent); width:29px; height:29px; display:grid; place-items:center; font-size:10px; border-radius:8px; flex-shrink:0; }
body[data-storefront-design="clear"] .market-service-bar p { margin:0; display:grid; gap:4px; }
body[data-storefront-design="clear"] .market-service-bar strong { font-size:13px; font-weight:600; }
body[data-storefront-design="clear"] .market-service-bar small { font-size:11px; color:var(--market-muted); line-height:1.7; }
body[data-storefront-design="clear"] .market-home-support { display:flex; gap:24px; align-items:center; justify-content:space-between; padding:34px 0 42px; }
body[data-storefront-design="clear"] .market-home-support h2 { margin:0 0 6px; font-size:19px; font-weight:650; }
body[data-storefront-design="clear"] .market-home-support p { color:var(--market-muted); font-size:12px; margin:0; }
body[data-storefront-design="clear"] .market-home-support>div:last-child { display:flex; gap:10px; flex-wrap:wrap; }
body[data-storefront-design="clear"] .market-home-support a { display:flex; align-items:center; gap:16px; border:1px solid var(--market-line); background:var(--market-panel); border-radius:9px; padding:10px 13px; font-size:12px; }
body[data-storefront-design="clear"] .market-footer { border:0; border-top:1px solid var(--market-line); border-radius:0; background:var(--market-panel); padding:36px max(28px,calc((100vw - 1184px)/2)) 22px; max-width:none; width:100%; margin:0; box-shadow:none; gap:32px; }
body[data-storefront-design="clear"] .market-footer-links { gap:24px; }
body[data-storefront-design="clear"] .market-footer-links h3 { font-size:12px; letter-spacing:0; margin-bottom:12px; }
body[data-storefront-design="clear"] .market-footer-links a { font-size:11px; margin:6px 0; color:var(--market-muted); }
body[data-storefront-design="clear"] .market-footer-brand>p { font-size:12px; }
body[data-storefront-design="clear"] .market-footer-legal { border-color:var(--market-line); font-size:10px; padding-top:18px; }
body[data-storefront-design="clear"] .market-footer-legal p { font-size:10px; max-width:620px; }
body[data-storefront-design="clear"].market-drawer-open { overflow:hidden; }
body[data-storefront-design="clear"] .market-product-drawer {
  position:fixed; inset:0 0 0 auto; margin:0; width:min(600px,100%); height:100dvh; max-height:100dvh;
  max-width:100%; border:0; padding:0; background:var(--market-panel); color:var(--market-ink);
  box-shadow:-16px 0 60px #13122215; overflow:hidden;
}
body[data-storefront-design="clear"] .market-product-drawer[open] { display:flex; flex-direction:column; }
body[data-storefront-design="clear"] .market-product-drawer::backdrop { background:#16172e66; }
body[data-storefront-design="clear"] .market-product-drawer>header { display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--market-line); padding:14px 28px; min-height:62px; font-size:13px; font-weight:600; }
body[data-storefront-design="clear"] .market-product-drawer>header button { background:var(--market-panel-soft); border:0; border-radius:8px; display:grid; place-items:center; width:34px; height:34px; color:var(--market-muted); cursor:pointer; }
body[data-storefront-design="clear"] .market-product-drawer>header svg { width:17px; height:17px; }
body[data-storefront-design="clear"] .market-drawer-scroll { padding:28px; overflow-y:auto; overscroll-behavior:contain; flex:1; min-height:0; }
body[data-storefront-design="clear"] .market-drawer-heading h2 { font-size:25px; line-height:1.5; margin:0 0 13px; overflow-wrap:anywhere; letter-spacing:-.5px; }
body[data-storefront-design="clear"] .market-drawer-heading .market-product-price { margin:16px 0 23px; }
body[data-storefront-design="clear"] .market-drawer-facts { border-top:1px solid var(--market-line); border-bottom:1px solid var(--market-line); padding:16px 0; display:flex; gap:18px; justify-content:space-between; font-size:12px; }
body[data-storefront-design="clear"] .market-drawer-facts span { color:var(--market-muted); flex-shrink:0; }
body[data-storefront-design="clear"] .market-drawer-facts strong { font-weight:500; text-align:right; }
body[data-storefront-design="clear"] .market-drawer-summary { font-size:13px; line-height:1.9; color:var(--market-muted); margin:20px 0; }
body[data-storefront-design="clear"] .market-drawer-details h3 { font-size:15px; margin:22px 0 14px; }
body[data-storefront-design="clear"] .market-drawer-rich { font-size:13px; line-height:1.95; overflow-wrap:anywhere; white-space:pre-line; }
body[data-storefront-design="clear"] .market-drawer-rich h5 { font-size:14px; margin:20px 0 9px; }
body[data-storefront-design="clear"] .market-drawer-rich p { margin:8px 0; }
body[data-storefront-design="clear"] .market-drawer-rich :is(ul,ol) { padding-left:22px; }
body[data-storefront-design="clear"] .market-drawer-full { display:inline-block; margin-top:24px; color:var(--clear-accent); font-size:13px; }
body[data-storefront-design="clear"] .market-drawer-image { margin:20px 0; }
body[data-storefront-design="clear"] .market-drawer-image img { max-width:100%; height:auto; border-radius:10px; }
body[data-storefront-design="clear"] .market-product-drawer>footer { border-top:1px solid var(--market-line); padding:16px 28px max(18px,env(safe-area-inset-bottom)); display:grid; grid-template-columns:1fr 1fr; gap:8px 18px; background:var(--market-panel); }
body[data-storefront-design="clear"] .market-drawer-total>span { color:var(--market-muted); font-size:10px; }
body[data-storefront-design="clear"] .market-drawer-total .market-product-price strong { font-size:24px; }
body[data-storefront-design="clear"] .market-product-drawer .market-purchase { align-self:center; }
body[data-storefront-design="clear"] .market-drawer-fee { grid-column:1/-1; font-size:10px; color:var(--market-muted); }
body[data-storefront-design="clear"] .market-category-page { padding-top:24px!important; }
body[data-storefront-design="clear"] .market-category-page :is(.market-category-intro,.market-category-comparison,.market-category-related>section,.market-catalog) { border-radius:14px; background:var(--market-panel); }
body[data-storefront-design="clear"] .market-category-intro h1 { font-size:28px; }
body[data-storefront-design="clear"] .market-category-comparison h2 { font-size:23px; }
body[data-storefront-design="clear"] .market-category-related h2 { font-size:20px; }
@media(min-width:1450px) { body[data-storefront-design="clear"] #marketplace { max-width:1296px; } }
@media(max-width:1080px) {
  body[data-storefront-design="clear"] .market-catalog-controls { flex-direction:column; align-items:stretch; gap:12px; }
  body[data-storefront-design="clear"] .market-catalog-tools { justify-content:space-between; }
  body[data-storefront-design="clear"] .market-search { width:260px; }
  body[data-storefront-design="clear"] .market-product { padding:21px; }
  body[data-storefront-design="clear"] .market-home-support { align-items:flex-start; flex-direction:column; gap:18px; }
}
@media(max-width:980px) {
  body[data-storefront-design="clear"] .market-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body[data-storefront-design="clear"] .market-footer { padding-inline:28px; }
}
@media(max-width:620px) {
  body[data-storefront-design="clear"] .market-menu-button { width:30px; height:30px; color:var(--market-ink); }
  body[data-storefront-design="clear"] #marketplace { padding:0 16px; }
  body[data-storefront-design="clear"] .market-intro { padding:28px 0 24px; gap:12px; align-items:flex-start; }
  body[data-storefront-design="clear"] .market-intro h1 { font-size:25px; letter-spacing:-.6px; }
  body[data-storefront-design="clear"] .market-intro p:not(.market-eyebrow) { font-size:12px; line-height:1.8; }
  body[data-storefront-design="clear"] .market-eyebrow { font-size:8px; letter-spacing:1.1px; }
  body[data-storefront-design="clear"] .market-intro-support { display:none; }
  body[data-storefront-design="clear"] .market-categories { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:thin; padding:2px 0 7px; }
  body[data-storefront-design="clear"] .market-categories button { font-size:12px; padding:7px 11px; min-height:40px; flex-shrink:0; }
  body[data-storefront-design="clear"] .market-catalog-controls { padding-bottom:14px; gap:6px; }
  body[data-storefront-design="clear"] .market-catalog-tools { gap:8px; }
  body[data-storefront-design="clear"] .market-search { width:auto; flex:1; min-width:0; padding:9px 10px; }
  body[data-storefront-design="clear"] .market-sort-label select { max-width:123px; font-size:11px; }
  body[data-storefront-design="clear"] .market-catalog-caption { padding:18px 0 14px; }
  body[data-storefront-design="clear"] .market-catalog-caption h2 { font-size:12px; }
  body[data-storefront-design="clear"] .market-result-count { font-size:11px; }
  body[data-storefront-design="clear"] .market-grid { grid-template-columns:minmax(0,1fr); gap:16px; }
  body[data-storefront-design="clear"] .market-product { padding:22px; border-radius:14px; }
  body[data-storefront-design="clear"] .market-product h3 { font-size:19px; }
  body[data-storefront-design="clear"] .market-product-meta { margin-bottom:12px; }
  body[data-storefront-design="clear"] .market-product-bottom { margin:13px 0; }
  body[data-storefront-design="clear"] .market-product-price strong { font-size:30px; }
  body[data-storefront-design="clear"] .market-service-bar { grid-template-columns:1fr; gap:20px; padding:10px 0 28px; }
  body[data-storefront-design="clear"] .market-home-support { padding:26px 0 32px; }
  body[data-storefront-design="clear"] .market-home-support h2 { font-size:18px; }
  body[data-storefront-design="clear"] .market-home-support>div:last-child { gap:8px; }
  body[data-storefront-design="clear"] .market-home-support a { font-size:11px; padding:9px 11px; gap:8px; }
  body[data-storefront-design="clear"] .market-footer { padding:28px 20px 20px; }
  body[data-storefront-design="clear"] .market-footer-links { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
  body[data-storefront-design="clear"] .market-drawer-scroll { padding:22px; }
  body[data-storefront-design="clear"] .market-drawer-heading h2 { font-size:22px; }
  body[data-storefront-design="clear"] .market-product-drawer>header { padding:12px 22px; }
  body[data-storefront-design="clear"] .market-product-drawer>footer { padding:14px 22px max(16px,env(safe-area-inset-bottom)); }
}
@media(prefers-reduced-motion:reduce) { body[data-storefront-design="clear"] * { transition:none!important; animation:none!important; scroll-behavior:auto!important; } }

/* Account pages also share this storefront shell; keep their status text legible. */
body[data-storefront-design="clear"][data-market-theme="light"] .customer-page a,
body[data-storefront-design="clear"][data-market-theme="light"] .customer-page .customer-kicker,
body[data-storefront-design="clear"][data-market-theme="light"] .customer-page [data-customer-status] { color:var(--clear-accent); }
body[data-storefront-design="clear"][data-market-theme="light"] .customer-page .customer-badge { color:var(--clear-accent); background:var(--clear-tint); }
body[data-storefront-design="clear"][data-market-theme="light"] .customer-page [data-customer-status][data-error="true"] { color:#ae243d; }
body[data-storefront-design="clear"] .customer-page a.customer-button:not(.secondary) { color:#fff; }

/* Auxiliary pages retain their own layouts; only adapt legacy dark-theme colors. */
body[data-storefront-design="clear"][data-market-theme="light"] .customer-page,
body[data-storefront-design="clear"][data-market-theme="light"] .referral-page { --market-field:var(--market-panel-soft); }
body[data-storefront-design="clear"][data-market-theme="light"] .referral-page a:not(.referral-button),
body[data-storefront-design="clear"][data-market-theme="light"] .referral-page .referral-kicker,
body[data-storefront-design="clear"][data-market-theme="light"] .referral-page [data-referral-status] { color:var(--clear-accent); }
body[data-storefront-design="clear"][data-market-theme="light"] .referral-page [data-referral-status][data-error="true"] { color:#ae243d; }
body[data-storefront-design="clear"][data-market-theme="light"] .referral-page button:not(.secondary),
body[data-storefront-design="clear"][data-market-theme="light"] .referral-page .referral-button:not(.secondary) { background:#6355e8; border-color:#6355e8; color:#fff; }
body[data-storefront-design="clear"][data-market-theme="light"] .community-pinned,
body[data-storefront-design="clear"][data-market-theme="light"] .community-badge.pending,
body[data-storefront-design="clear"][data-market-theme="light"] .community-moderation-note { color:#825d20; }

/* The lucky-stage illustration deliberately keeps its dark palette. */
body[data-storefront-design="clear"][data-market-theme="light"] .commerce-account-nav a,
body[data-storefront-design="clear"][data-market-theme="light"] .commerce-panel a,
body[data-storefront-design="clear"][data-market-theme="light"] .commerce-heading>span,
body[data-storefront-design="clear"][data-market-theme="light"] .commerce-panel .commerce-eyebrow,
body[data-storefront-design="clear"][data-market-theme="light"] .wallet-checkout-expiry,
body[data-storefront-design="clear"][data-market-theme="light"] .commerce-page>[data-commerce-status] { color:var(--clear-accent); }
body[data-storefront-design="clear"][data-market-theme="light"] .commerce-page>[data-commerce-status][data-error="true"] { color:#ae243d; }
body[data-storefront-design="clear"][data-market-theme="light"] .commerce-panel .commerce-primary { background:#6355e8; border-color:#6355e8; color:#fff; }

body[data-storefront-design="clear"][data-market-theme="light"] .inner-policy a:not(.inner-button),
body[data-storefront-design="clear"][data-market-theme="light"] .inner-article-body a,
body[data-storefront-design="clear"][data-market-theme="light"] .inner-guide-stats strong,
body[data-storefront-design="clear"][data-market-theme="light"] .replica-agent-tags>span,
body[data-storefront-design="clear"][data-market-theme="light"] .replica-agent-compare thead small,
body[data-storefront-design="clear"][data-market-theme="light"] .replica-agent-flows b { color:var(--clear-accent); }
body[data-storefront-design="clear"][data-market-theme="light"] .inner-article-body { color:var(--market-ink); }
body[data-storefront-design="clear"][data-market-theme="light"] .inner-article-summary,
body[data-storefront-design="clear"][data-market-theme="light"] .inner-guide-copy>p,
body[data-storefront-design="clear"][data-market-theme="light"] .inner-guide-copy footer,
body[data-storefront-design="clear"][data-market-theme="light"] .inner-guide-stats small,
body[data-storefront-design="clear"][data-market-theme="light"] .inner-knowledge-hero>div>p,
body[data-storefront-design="clear"][data-market-theme="light"] .inner-cooperation-hero>div>p,
body[data-storefront-design="clear"][data-market-theme="light"] .inner-help-head p,
body[data-storefront-design="clear"][data-market-theme="light"] .inner-support-grid p,
body[data-storefront-design="clear"][data-market-theme="light"] .inner-support-contact p,
body[data-storefront-design="clear"][data-market-theme="light"] .inner-cooperation-policy p:not(.inner-kicker) { color:var(--market-muted); }
body[data-storefront-design="clear"][data-market-theme="light"] .inner-article-body pre { background:var(--market-panel-soft); color:var(--market-ink); }
body[data-storefront-design="clear"][data-market-theme="light"] .replica-text-link { color:var(--clear-accent)!important; }
body[data-storefront-design="clear"][data-market-theme="light"] .replica-agent-metrics strong,
body[data-storefront-design="clear"][data-market-theme="light"] .replica-agent-visit .inner-button { color:#825d20; }
body[data-storefront-design="clear"][data-market-theme="light"] .cashier .status,
body[data-storefront-design="clear"][data-market-theme="light"] .cashier .status-badge,
body[data-storefront-design="clear"][data-market-theme="light"] .usdt-cashier .usdt-advice { color:#825d20; }
body[data-storefront-design="clear"][data-market-theme="light"] .usdt-cashier .message[data-error="true"] { color:#ae243d; }

/* Referral sharing is available beside sign-in without requiring an account. */
body[data-storefront-design="clear"] .market-wechat-promote {
  position:relative; display:inline-flex; align-items:center; justify-content:center; gap:5px;
  padding:9px 12px; border:1px solid #d4c8ff; border-radius:999px;
  background:linear-gradient(120deg,#f0eaff,#fff4e9); color:#6540c7;
  font-size:17px; font-weight:750; line-height:1.4; white-space:nowrap;
  box-shadow:0 3px 14px #7855c91c; transition:box-shadow .18s ease,transform .18s ease;
}
body[data-storefront-design="clear"] .market-wechat-promote:hover { border-color:currentColor; transform:translateY(-1px); box-shadow:0 5px 18px #7855c92b; }
body[data-storefront-design="clear"] .market-wechat-promote small { font-size:11px; font-weight:600; opacity:.85; }
body[data-storefront-design="clear"] .promotion-flame { display:inline-block; transform-origin:center 80%; animation:promotion-flame-intro .85s ease-in-out 3; }
body[data-storefront-design="clear"] .promotion-cheer { position:absolute; right:17px; top:0; color:#dc6c36; font-size:12px; opacity:0; pointer-events:none; animation:promotion-cheer-intro 2.4s .4s ease-out both; }
body[data-storefront-design="clear"] .market-wechat-promote:is(:hover,:focus-visible) .promotion-flame { animation:promotion-flame-hover .7s ease-in-out 2; }
body[data-storefront-design="clear"] .market-wechat-promote:is(:hover,:focus-visible) .promotion-cheer { animation:promotion-cheer-hover 1.6s ease-out both; }
body[data-storefront-design="clear"][data-market-theme="dark"] .market-wechat-promote { background:linear-gradient(120deg,#382750,#402c2a); color:#dfcaff; border-color:#745594; }
body[data-storefront-design="clear"] .compact-home-links .market-wechat-promote { font-size:14px; padding:7px 11px; }
body[data-storefront-design="clear"] .market-mobile-account { flex-wrap:wrap; }
body[data-storefront-design="clear"] .market-mobile-account .market-wechat-promote { flex-basis:100%; }
@keyframes promotion-flame-intro { 0%,100%{transform:rotate(-7deg) scale(1)} 50%{transform:rotate(8deg) scale(1.12)} }
@keyframes promotion-flame-hover { 0%,100%{transform:rotate(-7deg) scale(1)} 50%{transform:rotate(8deg) scale(1.12)} }
@keyframes promotion-cheer-intro { 0%,18%{opacity:0;transform:translateY(8px) scale(.75)} 30%,55%{opacity:1} 100%{opacity:0;transform:translate(8px,-16px) scale(1.05)} }
@keyframes promotion-cheer-hover { 0%,18%{opacity:0;transform:translateY(8px) scale(.75)} 30%,55%{opacity:1} 100%{opacity:0;transform:translate(8px,-16px) scale(1.05)} }
@media(prefers-reduced-motion:reduce) {
  body[data-storefront-design="clear"] .promotion-flame { animation:none!important; }
  body[data-storefront-design="clear"] .promotion-cheer { display:none; }
  body[data-storefront-design="clear"] .market-wechat-promote:hover { transform:none; }
}
@media(min-width:981px) and (max-width:1599px) {
  body[data-storefront-design="clear"] .market-header { flex-wrap:wrap; gap:6px 12px; border-radius:30px; }
  body[data-storefront-design="clear"] .market-header>.market-nav { order:5; flex-basis:100%; }
  body[data-storefront-design="clear"] .market-header>.market-qq-group { margin-left:auto; }
  body[data-storefront-design="clear"] .market-header>.market-preferences { margin-left:0; }
}
@media(min-width:621px) and (max-width:980px) {
  body[data-storefront-design="clear"] .market-header { flex-wrap:wrap; border-radius:26px; }
  body[data-storefront-design="clear"] .market-header>.market-auth { order:5; flex-basis:100%; justify-content:flex-end; }
}
