body{visibility:hidden;background:var(--color-brand-tint, #fff5f7)}body.loaded{visibility:visible}
/* 首页性能优化：禁用商品卡片所有粉色阴影/光晕效果 */
.product-card::before{display:none !important}
.product-card:hover{box-shadow:0 4px 12px rgba(0,0,0,0.08) !important;border-color:var(--color-border, #e5e7eb) !important}
.card:hover{box-shadow:0 4px 12px rgba(0,0,0,0.08) !important;border-color:var(--color-border, #e5e7eb) !important}
.card::before,.card::after{display:none !important}
/* 暗色模式：高级灰蓝调，仿 Linear / GitHub Dark */
body.theme-dark{background:var(--dark-900, #0d1117) !important}
body.theme-dark .home-main{background:var(--dark-900, #0d1117) !important}
body.theme-dark .card{background:var(--dark-800, #161b22) !important;border-color:var(--dark-600, #30363d) !important}
body.theme-dark .hero-card{background:var(--dark-800, #161b22) !important;border-color:var(--dark-600, #30363d) !important}
body.theme-dark .summary-panel{background:var(--dark-800, #161b22) !important;border-color:var(--dark-600, #30363d) !important}
body.theme-dark .product-card{background:var(--dark-800, #161b22) !important;border-color:var(--dark-600, #30363d) !important;box-shadow:0 4px 12px rgba(0,0,0,0.3) !important}
body.theme-dark .product-card--ok{background:#0d1b12 !important;border-color:rgba(34,197,94,.25) !important}
body.theme-dark .product-card--warn{background:#1b170d !important;border-color:rgba(245,158,11,.25) !important}
body.theme-dark .product-card--danger{background:#1b1212 !important;border-color:rgba(239,68,68,.25) !important}
body.theme-dark .home-kpi{background:var(--dark-800, #161b22) !important;border-color:var(--dark-600, #30363d) !important}
body.theme-dark .home-kpi .v{color:var(--pink-pale-2, #f0c6e0) !important}
body.theme-dark .home-kpi .l{color:var(--dark-text-dim, #8b949e) !important}
body.theme-dark .avatar-panel{background:radial-gradient(circle at 22% 22%,rgba(125,211,252,0.10) 0%,rgba(125,211,252,0) 42%),radial-gradient(circle at 82% 18%,rgba(56,189,248,0.08) 0%,rgba(56,189,248,0) 40%),linear-gradient(135deg,#121d28 0%,var(--dark-800, #161b22) 100%) !important;border-color:var(--dark-600, #30363d) !important}
body.theme-dark .muted{color:var(--dark-text-dim, #8b949e) !important}
body.theme-dark .stock-badge.ok{background:#0d3321 !important;color:#3fb950 !important;border-color:#1a5432 !important}
body.theme-dark .stock-badge.warn{background:#29210a !important;color:#d29922 !important;border-color:#6e4b0a !important}
body.theme-dark .stock-badge.danger{background:#2d1215 !important;color:#f85149 !important;border-color:#7d1a1e !important}
body.theme-dark .home-notice{color:#79c0ff !important;background:linear-gradient(135deg,#0d2137 0%,#112b47 100%) !important}
body.theme-dark .skeleton-card{background:linear-gradient(90deg,var(--dark-800, #161b22) 25%,var(--dark-700, #21262d) 37%,var(--dark-800, #161b22) 63%) !important;border-color:var(--dark-600, #30363d) !important}
body.theme-dark .home-kpi:hover{background:#1c2333 !important}
body.theme-dark .product-name{color:var(--dark-text, #e6edf3) !important}
body.theme-dark .product-card .product-name{color:var(--dark-text, #e6edf3) !important}
body.theme-dark .product-card:hover .product-name{color:var(--pink-pale-2, #f0c6e0) !important;-webkit-text-fill-color:var(--pink-pale-2, #f0c6e0) !important}

/* visual-unify 2026-11-22: single brand colour, flatter surfaces, light theme only */
body:not(.theme-dark){background:linear-gradient(180deg,#fff5f9 0%,#f7f8ff 100%)}
body:not(.theme-dark) .avatar-panel{background:linear-gradient(160deg,#ffeef6 0%,#ffffff 75%)!important;border:1px solid #fbd5e6!important}
.avatar-panel::before{display:none}
body:not(.theme-dark) .card,body:not(.theme-dark) .hero-card,body:not(.theme-dark) .summary-panel{border:1px solid #f6e3ec!important;border-radius:18px!important;box-shadow:0 6px 18px rgba(236,72,153,.08)!important}
body:not(.theme-dark) .product-card{border-radius:16px;box-shadow:0 4px 14px rgba(15,23,42,.06)!important}
body:not(.theme-dark) .product-card .product-name{font-weight:700}
body:not(.theme-dark) .home-main button{background:linear-gradient(135deg,#ec4899,#db2777);border:0;color:#fff;box-shadow:0 4px 12px rgba(219,39,119,.22)}
body:not(.theme-dark) .home-main button:hover{background:linear-gradient(135deg,#f0589f,#e11d74);box-shadow:0 6px 16px rgba(219,39,119,.3)}
body:not(.theme-dark) .home-main button.ghost{background:#fdf2f8;color:#9d174d;border:1px solid #fbcfe8;box-shadow:none}
body:not(.theme-dark) .home-main .top-nav-btn{background:#fff;color:#9d174d;border:1px solid #fbcfe8;box-shadow:0 2px 8px rgba(219,39,119,.1)}
body:not(.theme-dark) .expand-products-btn{background:#fdf2f8!important;color:#9d174d!important;border:1px solid #fbcfe8!important}
body:not(.theme-dark) .floating-contact-btn{background:linear-gradient(135deg,#ec4899,#db2777);border-color:#db2777;color:#fff;box-shadow:0 6px 16px rgba(219,39,119,.25)}
body:not(.theme-dark) .home-notice,body:not(.theme-dark) .home-notice-extra{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;box-shadow:none}
body:not(.theme-dark) .home-kpi{border:1px solid #f6e3ec;border-radius:14px}
body:not(.theme-dark) .home-kpi .v{color:#be185d}
@media (max-width:640px){.home-main{gap:12px}body:not(.theme-dark) .card{border-radius:16px!important}}


/* visual-unify-2 2026-11-22: override inline styles of claim button and blue share button text */
body:not(.theme-dark) .home-main .claim-by-product:not(:disabled){background:linear-gradient(135deg,#ec4899,#db2777)!important;color:#fff!important;border:0!important;border-radius:12px!important;min-height:46px;box-shadow:0 4px 12px rgba(219,39,119,.22)!important}
body:not(.theme-dark) .home-main .claim-by-product:not(:disabled):hover{background:linear-gradient(135deg,#f0589f,#e11d74)!important}
body:not(.theme-dark) .home-main .claim-by-product:disabled{background:#f3f4f6!important;color:#9ca3af!important;border:1px solid #e5e7eb!important;border-radius:12px!important;box-shadow:none!important}
body:not(.theme-dark) .home-main .share-corner-btn,body:not(.theme-dark) .home-main .theme-switch-mini{background:#fff!important;color:#9d174d!important;border:1px solid #fbcfe8!important;box-shadow:0 2px 8px rgba(219,39,119,.1)!important}

/* btn-desat 2026-11-22: same rose hue, lower saturation (specificity matches earlier rule) */
body:not(.theme-dark) .home-main .claim-by-product:not(:disabled){
  background:linear-gradient(135deg,#cf87ad 0%,#b46a90 100%)!important;
  color:#ffffff!important;
  border:0!important;
  border-radius:12px!important;
  box-shadow:0 2px 8px rgba(180,106,144,.20)!important;
  font-weight:700!important;
  letter-spacing:.3px;
}
body:not(.theme-dark) .home-main .claim-by-product:not(:disabled):hover{
  background:linear-gradient(135deg,#d596b8 0%,#a85f83 100%)!important;
}


/* rose-btn 2026-11-22: keep the green stock badge, claim button in light rose pink */
body:not(.theme-dark) .stock-badge.ok{
  background:#E9F9F0!important;
  color:#34C77B!important;
  border:1px solid #CBEFDD!important;
  box-shadow:none!important;
}
body:not(.theme-dark) .home-main .claim-by-product:not(:disabled){
  background:linear-gradient(135deg,#FFD9E6 0%,#FFB8D0 100%)!important;
  color:#7A2E4E!important;
  border:0!important;
  border-radius:12px!important;
  box-shadow:0 2px 8px rgba(255,184,208,.28)!important;
  font-weight:800!important;
  letter-spacing:.3px;
}
body:not(.theme-dark) .home-main .claim-by-product:not(:disabled):hover{
  background:linear-gradient(135deg,#FFE3EC 0%,#FFC7DA 100%)!important;
}
