/* 饱巴适自营店铺：深色霓虹商品陈列 + 独立服务页 */
.shop-home,
.shop-detail {
  --shop-bg: #080810;
  --shop-card: rgba(18, 18, 38, 0.92);
  --shop-card-strong: #12122a;
  --shop-line: rgba(124, 92, 255, 0.25);
  --shop-line-strong: rgba(168, 85, 247, 0.58);
  --shop-text: #f7f5ff;
  --shop-muted: #9aa6c4;
  --shop-primary: #6d5dfc;
  --shop-purple: #8b5cf6;
  --shop-accent: #a855f7;
  --shop-gold: #fbbf24;
  --shop-green: #34d399;
  min-width: 0;
  color: var(--shop-text);
}

.shop-home *,
.shop-home *::before,
.shop-home *::after,
.shop-detail *,
.shop-detail *::before,
.shop-detail *::after { box-sizing: border-box; }

.shop-home { display: grid; gap: 20px; }

.shop-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  min-height: 278px;
  padding: 34px 36px;
  border: 1px solid rgba(139, 92, 246, 0.44);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% -10%, rgba(168, 85, 247, 0.43), transparent 35%),
    radial-gradient(circle at 2% 110%, rgba(37, 99, 235, 0.32), transparent 43%),
    linear-gradient(128deg, rgba(20, 17, 48, 0.98), rgba(7, 8, 20, 0.99));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.shop-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(167, 139, 250, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.24) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, black, transparent 82%);
}

.shop-hero::after {
  content: "BAOBASHI";
  position: absolute;
  right: -18px;
  bottom: -48px;
  z-index: -1;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(5rem, 13vw, 11rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.9;
  white-space: nowrap;
  transform: skewX(-8deg);
}

.shop-hero-glow {
  position: absolute;
  top: -150px;
  right: 7%;
  width: 370px;
  height: 370px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.22);
  filter: blur(60px);
  pointer-events: none;
}

.shop-hero-copy { position: relative; z-index: 1; display: grid; gap: 12px; max-width: 760px; }
.shop-hero-copy .eyebrow { color: #c4b5fd; letter-spacing: 0.18em; }
.shop-hero-copy h1 { margin: 0; color: #fff; font-size: clamp(2rem, 4.3vw, 3.35rem); line-height: 1.04; letter-spacing: -0.055em; text-shadow: 0 0 35px rgba(168, 85, 247, 0.22); }
.shop-hero-copy p { max-width: 690px; margin: 0; color: #c9d1ed; font-size: 1.03rem; line-height: 1.8; }
.shop-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.shop-hero-note { color: #8996b8; font-size: 0.83rem; }
.shop-hero-note b { margin-left: 3px; color: #fbbf24; }

.shop-hero-stats { position: relative; z-index: 1; display: flex; gap: 9px; align-self: end; }
.shop-hero-stats > div { min-width: 84px; padding: 13px 12px; border: 1px solid rgba(167, 139, 250, 0.24); border-radius: 13px; background: rgba(7, 7, 18, 0.57); text-align: center; backdrop-filter: blur(12px); }
.shop-hero-stats strong { display: block; color: #fff; font-size: 1.36rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.shop-hero-stats span { display: block; margin-top: 4px; color: #8794b5; font-size: 0.78rem; white-space: nowrap; }

.shop-list-section,
.shop-my-orders { display: grid; gap: 15px; }
.shop-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 1px 2px; }
.shop-section-heading.compact { align-items: center; }
.shop-section-heading > div { display: grid; gap: 4px; }
.shop-section-heading .eyebrow { color: #a78bfa; }
.shop-section-heading h2 { margin: 0; color: #f8f7ff; font-size: 1.32rem; letter-spacing: -0.025em; }
.shop-section-heading p { margin: 1px 0 0; color: #7783a2; font-size: 0.83rem; line-height: 1.6; }
.shop-section-tip { flex: 0 0 auto; padding: 5px 10px; border: 1px solid rgba(139, 92, 246, 0.24); border-radius: 999px; background: rgba(139, 92, 246, 0.09); color: #b8a6f7; font-size: 0.78rem; white-space: nowrap; }

.shop-product-stack { display: grid; gap: 22px; }
.shop-poster-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(310px, 30vw, 430px);
  padding: 34px 42px;
  border: 1px solid color-mix(in srgb, var(--shop-accent) 34%, rgba(255, 255, 255, 0.06));
  border-radius: 999px 0 0 999px;
  background:
    radial-gradient(circle at 24% 32%, color-mix(in srgb, var(--shop-accent) 36%, transparent), transparent 46%),
    linear-gradient(118deg, #1b1538, #090812 70%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(168, 85, 247, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}
.shop-poster-card::before {
  content: "";
  position: absolute;
  inset: -45% -12%;
  z-index: 3;
  background: linear-gradient(104deg, transparent 36%, rgba(255, 255, 255, 0.18) 46%, rgba(196, 181, 253, 0.06) 51%, transparent 61%);
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
  transition: transform 0.95s ease, opacity 0.35s ease;
}
.shop-poster-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 60px rgba(10, 6, 28, 0.38);
  pointer-events: none;
}
.shop-poster-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--shop-accent) 80%, rgba(255, 255, 255, 0.26));
  box-shadow: 0 38px 84px rgba(0, 0, 0, 0.56), 0 0 52px color-mix(in srgb, var(--shop-accent) 28%, transparent), inset 0 0 46px color-mix(in srgb, var(--shop-accent) 10%, transparent);
}
.shop-poster-card:hover::before { opacity: 1; transform: translateX(60%); }

.shop-poster-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.9) contrast(1.04) saturate(1.06);
  transform: scale(1.001);
  transition: transform 0.55s ease, filter 0.35s ease;
}
.shop-poster-card:hover .shop-poster-image { transform: scale(1.025); filter: brightness(0.98) contrast(1.05) saturate(1.1); }

.shop-poster-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 72% 38%, color-mix(in srgb, var(--shop-accent) 46%, transparent), transparent 34%),
    linear-gradient(125deg, #211a48, #090812 72%);
}
.shop-poster-fallback span { color: rgba(255, 255, 255, 0.1); font-size: clamp(5.5rem, 15vw, 10rem); font-weight: 950; letter-spacing: -0.08em; }

.shop-poster-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 4, 14, 0.02) 0%, rgba(5, 4, 14, 0.03) 44%, rgba(7, 5, 19, 0.66) 72%, rgba(8, 5, 22, 0.94) 100%),
    linear-gradient(180deg, rgba(5, 4, 14, 0.18), transparent 36%, rgba(5, 4, 14, 0.4));
  pointer-events: none;
}

.shop-poster-label {
  position: absolute;
  left: clamp(92px, 8.6vw, 132px);
  top: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: min(62%, 620px);
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(9, 7, 24, 0.72), rgba(19, 14, 42, 0.48));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}
.shop-poster-label strong { overflow: hidden; color: #fff; font-size: 1.2rem; font-weight: 800; letter-spacing: 0.01em; text-overflow: ellipsis; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.58); white-space: nowrap; }
.shop-poster-badge { flex: 0 0 auto; padding: 4px 10px; border: 1px solid rgba(251, 191, 36, 0.28); border-radius: 999px; background: linear-gradient(120deg, rgba(251, 191, 36, 0.24), rgba(251, 191, 36, 0.1)); color: #fcd34d; font-size: 0.78rem; font-weight: 850; letter-spacing: 0.04em; text-shadow: 0 0 14px rgba(251, 191, 36, 0.44); }

.shop-poster-action {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: end;
  gap: 14px;
  min-width: 290px;
  margin-left: auto;
  padding-left: 62px;
}
.shop-poster-kicker { max-width: 350px; overflow: hidden; color: #d5cfee; font-size: 0.97rem; font-weight: 600; letter-spacing: 0.045em; text-align: right; text-overflow: ellipsis; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.82); white-space: nowrap; }
.shop-poster-from { color: #fbbf24; font-size: 1.26rem; font-weight: 850; font-variant-numeric: tabular-nums; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75); }
.shop-poster-from small { margin-right: 4px; color: #d1c9e6; font-size: 0.78rem; font-weight: 500; }

.shop-purple-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 236px;
  min-height: 60px;
  padding: 15px 30px;
  border: 1px solid rgba(226, 212, 255, 0.4);
  border-radius: 999px;
  background: linear-gradient(108deg, #6338ff 0%, #8b5cf6 48%, #b45cff 100%);
  color: #fff;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 10px rgba(40, 12, 96, 0.6);
  box-shadow: 0 14px 34px rgba(109, 74, 255, 0.44), 0 0 26px rgba(168, 85, 247, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.shop-button-shine {
  position: absolute;
  top: -70%;
  bottom: -70%;
  left: -45%;
  width: 42%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  opacity: 0;
  transform: rotate(14deg) translateX(-220%);
  pointer-events: none;
  transition: transform 0.7s ease, opacity 0.2s ease;
}
.shop-purple-button:hover .shop-button-shine { opacity: 1; transform: rotate(14deg) translateX(440%); }
.shop-purple-button:hover { transform: translateY(-1px); filter: brightness(1.1); box-shadow: 0 13px 31px rgba(124, 58, 237, 0.44), 0 0 22px rgba(168, 85, 247, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.shop-purple-button:active { transform: translateY(0); }
.shop-purple-button:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.shop-purple-button.wide { width: 100%; min-height: 47px; }

.shop-login-note { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 19px; border: 1px solid rgba(139, 92, 246, 0.25); border-radius: 15px; background: linear-gradient(100deg, rgba(26, 24, 56, 0.78), rgba(10, 10, 23, 0.84)); }
.shop-login-note > div { display: grid; gap: 3px; }
.shop-login-note strong { color: #f5f3ff; font-size: 0.99rem; }
.shop-login-note span { color: #8995b4; font-size: 0.79rem; }

.shop-order-list { display: grid; gap: 8px; }
.shop-order-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 15px; border: 1px solid rgba(124, 92, 255, 0.2); border-radius: 12px; background: rgba(15, 15, 32, 0.82); }
.shop-order-main { display: grid; gap: 3px; min-width: 0; }
.shop-order-title { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.shop-order-title strong { color: #f2efff; font-size: 0.9rem; }
.shop-order-main > span { color: #aab4cf; font-size: 0.81rem; }
.shop-order-main small { color: #737f9d; font-size: 0.78rem; }
.shop-order-side { display: grid; flex: 0 0 auto; justify-items: end; gap: 4px; }
.shop-order-side > strong { color: #fbbf24; font-size: 1.03rem; }
.shop-order-side > span { color: #8792ad; font-size: 0.78rem; }
.shop-order-side .text-button { color: #c4b5fd; }

.status-pending { border-color: rgba(251, 191, 36, 0.24) !important; background: rgba(251, 191, 36, 0.1) !important; color: #fcd34d !important; }
.status-processing { border-color: rgba(96, 165, 250, 0.28) !important; background: rgba(59, 130, 246, 0.12) !important; color: #93c5fd !important; }
.status-completed { border-color: rgba(52, 211, 153, 0.26) !important; background: rgba(52, 211, 153, 0.1) !important; color: #6ee7b7 !important; }
.status-cancelled { border-color: rgba(148, 163, 184, 0.22) !important; background: rgba(148, 163, 184, 0.08) !important; color: #94a3b8 !important; }

/* 独立服务页 */
.shop-detail { display: grid; gap: 18px; }
.shop-back { width: fit-content; color: #a99cf0; }
.shop-detail-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-height: clamp(322px, 30vw, 450px);
  padding: 48px 50px;
  border: 1px solid color-mix(in srgb, var(--shop-accent) 48%, rgba(255, 255, 255, 0.1));
  border-radius: 26px;
  background:
    radial-gradient(circle at 82% 6%, color-mix(in srgb, var(--shop-accent) 38%, transparent), transparent 42%),
    linear-gradient(128deg, #1b163a, #080812);
  box-shadow: 0 34px 84px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.shop-detail-hero > *,
.shop-detail-layout > * { min-width: 0; }
@media (min-width: 821px) {
  .shop-detail-hero::after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    z-index: 1;
    width: 52%;
    background: linear-gradient(270deg, rgba(6, 5, 16, 0.82) 0%, rgba(6, 5, 16, 0.62) 34%, rgba(6, 5, 16, 0.3) 68%, rgba(6, 5, 16, 0) 100%);
    pointer-events: none;
  }
}
.shop-detail-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.07) contrast(1.03) saturate(1.08);
  transform: scale(1.005);
  transition: transform 0.8s ease, filter 0.4s ease;
}
.shop-detail-hero:hover .shop-detail-cover { transform: scale(1.028); filter: brightness(0.99) contrast(1.05) saturate(1.12); }
.shop-detail-cover-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 76% 26%, color-mix(in srgb, var(--shop-accent) 56%, transparent), transparent 44%),
    linear-gradient(125deg, #241c52, #080812 72%);
}

.shop-detail-aura {
  position: absolute;
  z-index: 1;
  top: -190px;
  right: 1%;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--shop-accent) 18%, transparent);
  filter: blur(85px);
  pointer-events: none;
}
.shop-detail-full {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 7, 20, 0.52);
  color: #ece8ff;
  font-size: 0.81rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.shop-detail-full:hover { transform: translateY(-1px); border-color: rgba(196, 181, 253, 0.55); background: rgba(109, 74, 255, 0.34); }
.shop-detail-hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 15px; max-width: 760px; padding-bottom: 4px; text-align: right; }
.shop-detail-kicker { display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: #ddd4ff; font-size: 0.83rem; font-weight: 800; letter-spacing: 0.1em; text-shadow: 0 0 1px rgba(0, 0, 0, 0.95), 0 0 3px rgba(0, 0, 0, 0.85), 0 4px 14px rgba(0, 0, 0, 0.75); }
.shop-detail-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid color-mix(in srgb, var(--shop-accent) 62%, rgba(255, 255, 255, 0.16)); border-radius: 14px; background: linear-gradient(145deg, color-mix(in srgb, var(--shop-accent) 46%, #14122c), rgba(12, 10, 28, 0.9)); color: #fff; font-size: 1.26rem; font-weight: 900; box-shadow: 0 0 28px color-mix(in srgb, var(--shop-accent) 34%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.24); backdrop-filter: blur(8px); }
.shop-detail-hero-copy h1 { margin: 0; color: #fff; font-size: clamp(2.5rem, 5vw, 4.35rem); line-height: 1.02; letter-spacing: -0.06em; text-shadow: 0 0 1px rgba(0, 0, 0, 0.95), 0 0 4px rgba(0, 0, 0, 0.85), 0 6px 22px rgba(0, 0, 0, 0.75); }
.shop-detail-hero-copy > p { max-width: 620px; margin: 0; color: #ffffff; font-size: clamp(0.95rem, 1.2vw, 1.08rem); font-weight: 700; line-height: 1.72; text-shadow: 0 0 1px rgba(0, 0, 0, 0.98), 0 0 4px rgba(0, 0, 0, 0.9), 0 4px 16px rgba(0, 0, 0, 0.85); }
.shop-detail-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.shop-detail-tags span { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; background: rgba(9, 8, 22, 0.5); color: #ded8ff; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.02em; backdrop-filter: blur(10px); }
.shop-detail-tags span:first-child { border-color: rgba(251, 191, 36, 0.36); background: rgba(251, 191, 36, 0.12); color: #fcd34d; }
.shop-detail-cta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.shop-detail-cta .shop-purple-button { min-width: 232px; min-height: 54px; padding: 12px 26px; font-size: 1.13rem; }
.shop-detail-order-panel { position: relative; z-index: 1; display: grid; align-content: center; gap: 8px; padding: 20px; border: 1px solid rgba(167, 139, 250, 0.29); border-radius: 17px; background: rgba(8, 8, 20, 0.72); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 36px rgba(0, 0, 0, 0.3); backdrop-filter: blur(17px); }
.shop-detail-order-panel > * { min-width: 0; }
.shop-detail-order-panel .eyebrow { color: #a78bfa; }
.shop-detail-from { color: #fff; font-size: 1.94rem; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; }
.shop-detail-from small { color: #8d99b8; font-size: 0.78rem; font-weight: 500; letter-spacing: 0; }
.shop-detail-order-panel > p { margin: 0 0 6px; color: #8794b4; font-size: 0.78rem; line-height: 1.6; }
.shop-detail-select-field { gap: 5px; }
.shop-detail-select-field > span { color: #9ba7c8; font-size: 0.78rem; }
.shop-detail-select-field select { width: 100%; max-width: 100%; min-height: 39px; padding: 0 10px; border: 1px solid rgba(124, 92, 255, 0.3); border-radius: 9px; background: #0b0b18; color: #ebe8ff; font: inherit; font-size: 0.81rem; outline: none; }
.shop-detail-select-field select:focus { border-color: rgba(168, 85, 247, 0.7); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12); }
.shop-detail-panel-note { color: #707d9b; font-size: 0.78rem; text-align: center; }
.shop-detail-panel-note b { color: #fbbf24; }
.shop-detail-poster-link { display: block; overflow: hidden; margin-top: 3px; border: 1px solid rgba(167, 139, 250, 0.28); border-radius: 12px; background: #090812; }
.shop-detail-poster-link img { display: block; width: 100%; height: auto; transition: transform 0.3s ease; }
.shop-detail-poster-link:hover img { transform: scale(1.02); }

/* 店铺分类控制台 */
.shop-cat-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(14, 13, 31, 0.72), rgba(7, 7, 18, 0.48));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 44px rgba(0, 0, 0, 0.24);
}
.shop-cat-item {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  min-height: 90px;
  padding: 15px 14px 15px 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 17px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), transparent 38%),
    linear-gradient(148deg, rgba(26, 24, 55, 0.96), rgba(8, 8, 20, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px rgba(0, 0, 0, 0.22);
  color: #efeaff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  animation: shop-cat-card-in 0.5s backwards cubic-bezier(0.22, 1, 0.36, 1);
  animation-delay: calc(var(--cat-order, 0) * 42ms);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
@keyframes shop-cat-card-in {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.shop-cat-item::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 15px;
  right: 15px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--cat-accent) 72%, #fff), transparent);
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.28s ease, box-shadow 0.28s ease, left 0.28s ease, right 0.28s ease;
}
.shop-cat-item::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -55%;
  left: -18%;
  width: 86%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--cat-accent) 38%, transparent), transparent 68%);
  filter: blur(16px);
  opacity: 0.16;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.4s ease;
}
.shop-cat-item:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--cat-accent) 58%, rgba(255, 255, 255, 0.12));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), transparent 42%),
    linear-gradient(148deg, color-mix(in srgb, var(--cat-accent) 12%, #191733), rgba(8, 8, 20, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 20px 42px rgba(0, 0, 0, 0.42), 0 0 34px color-mix(in srgb, var(--cat-accent) 18%, transparent);
}
.shop-cat-item:hover::before { left: 8px; right: 8px; opacity: 0.95; box-shadow: 0 0 14px color-mix(in srgb, var(--cat-accent) 54%, transparent); }
.shop-cat-item:hover::after { opacity: 0.32; transform: translate(8px, 6px); }
.shop-cat-item.is-active {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--cat-accent) 78%, rgba(255, 255, 255, 0.22));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 45%),
    linear-gradient(148deg, color-mix(in srgb, var(--cat-accent) 30%, #191632), rgba(8, 8, 20, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 20px 46px rgba(0, 0, 0, 0.48), 0 0 0 1px color-mix(in srgb, var(--cat-accent) 30%, transparent), 0 0 46px color-mix(in srgb, var(--cat-accent) 25%, transparent);
}
.shop-cat-item.is-active::before { left: 9px; right: 9px; height: 2px; opacity: 1; box-shadow: 0 0 18px color-mix(in srgb, var(--cat-accent) 78%, transparent); }
.shop-cat-item.is-active::after { opacity: 0.42; }
.shop-cat-item.is-active:hover { transform: translateY(-4px); }
.shop-cat-item:active { transform: translateY(0) scale(0.985); transition-duration: 0.1s; }
.shop-cat-item:focus-visible { outline: 2px solid color-mix(in srgb, var(--cat-accent) 76%, #fff); outline-offset: 3px; }
.shop-cat-index {
  position: absolute;
  z-index: 0;
  right: 13px;
  bottom: 8px;
  color: rgba(255, 255, 255, 0.09);
  font-size: 1.78rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
  transition: color 0.28s ease, transform 0.28s ease;
}
.shop-cat-item:hover .shop-cat-index { color: color-mix(in srgb, var(--cat-accent) 20%, transparent); transform: translateY(-2px); }
.shop-cat-item.is-active .shop-cat-index { color: color-mix(in srgb, var(--cat-accent) 28%, transparent); }
.shop-cat-icon {
  position: relative;
  z-index: 1;
  display: grid;
  flex: none;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--cat-accent) 48%, rgba(255, 255, 255, 0.14));
  border-radius: 16px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--cat-accent) 42%, #15122e), rgba(9, 8, 23, 0.97));
  box-shadow: 0 0 28px color-mix(in srgb, var(--cat-accent) 25%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  color: #fff;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.shop-cat-icon::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  pointer-events: none;
}
.shop-cat-item:hover .shop-cat-icon { transform: translateY(-1px) scale(1.055) rotate(-2deg); box-shadow: 0 0 34px color-mix(in srgb, var(--cat-accent) 36%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.shop-cat-item.is-active .shop-cat-icon { border-color: color-mix(in srgb, var(--cat-accent) 74%, #fff); box-shadow: 0 0 34px color-mix(in srgb, var(--cat-accent) 45%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.34); }
.shop-cat-icon svg { width: 29px; height: 29px; filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.28)); }
.shop-cat-copy { position: relative; z-index: 1; display: grid; gap: 4px; min-width: 0; }
.shop-cat-copy strong { overflow: hidden; color: #fff; font-size: 1.4rem; font-weight: 900; letter-spacing: 0.01em; line-height: 1.08; text-overflow: ellipsis; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42); white-space: nowrap; }
.shop-cat-copy small { overflow: hidden; color: color-mix(in srgb, var(--cat-accent) 65%, #cfc8ff); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.17em; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.shop-cat-item.is-active .shop-cat-copy small { color: color-mix(in srgb, var(--cat-accent) 42%, #fff); }
.shop-cat-chevron {
  position: relative;
  z-index: 1;
  display: grid;
  flex: none;
  width: 25px;
  height: 25px;
  margin-left: auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: color-mix(in srgb, var(--cat-accent) 62%, #e4e0ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0.72;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.shop-cat-chevron svg { width: 14px; height: 14px; }
.shop-cat-item:hover .shop-cat-chevron { opacity: 1; background: color-mix(in srgb, var(--cat-accent) 14%, rgba(255, 255, 255, 0.04)); border-color: color-mix(in srgb, var(--cat-accent) 36%, transparent); }
.shop-cat-item.is-active .shop-cat-chevron { transform: rotate(180deg); opacity: 1; border-color: color-mix(in srgb, var(--cat-accent) 46%, transparent); background: color-mix(in srgb, var(--cat-accent) 18%, rgba(255, 255, 255, 0.04)); }
.shop-cat-item-task { background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 38%), linear-gradient(148deg, rgba(15, 43, 48, 0.96), rgba(8, 13, 23, 0.98)); }
.shop-cat-item-task .shop-cat-icon { background: linear-gradient(145deg, rgba(34, 211, 238, 0.42), rgba(9, 22, 31, 0.98)); }
.shop-cat-task-meta { position: relative; z-index: 1; display: grid; min-width: 34px; margin-left: auto; padding: 5px 7px 4px; border: 1px solid rgba(34, 211, 238, 0.3); border-radius: 9px; background: rgba(8, 30, 38, 0.72); color: #a5f3fc; line-height: 1; text-align: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 0 18px rgba(34, 211, 238, 0.1); }
.shop-cat-task-meta b { font-size: 0.99rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.shop-cat-task-meta small { margin-top: 2px; color: #67e8f9; font-size: 0.78rem; font-weight: 750; letter-spacing: 0.08em; }
.shop-cat-item-task .shop-cat-chevron { margin-left: 0; color: #a5f3fc; }
.shop-cat-item-task:hover .shop-cat-chevron { transform: translate(1px, -1px); }
.shop-cat-panel {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(124, 92, 255, 0.24);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(19, 18, 40, 0.92), rgba(9, 9, 22, 0.96));
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
  animation: shop-cat-panel-in 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes shop-cat-panel-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.shop-cat-panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.shop-cat-panel-head .eyebrow { color: #a78bfa; font-size: 0.78rem; letter-spacing: 0.2em; }
.shop-cat-panel-head h2 { margin: 3px 0 0; color: #fff; font-size: 1.62rem; line-height: 1.1; letter-spacing: -0.02em; }
.shop-cat-count { flex: none; padding: 6px 12px; border: 1px solid rgba(167, 139, 250, 0.3); border-radius: 999px; background: rgba(139, 92, 246, 0.1); color: #c8bcff; font-size: 0.78rem; font-weight: 750; }
.shop-cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.shop-cat-card { position: relative; overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(148, 163, 184, 0.14); border-radius: 16px; background: rgba(13, 12, 30, 0.9); cursor: pointer; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease; }
.shop-cat-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--cat-accent) 55%, transparent); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45), 0 0 32px color-mix(in srgb, var(--cat-accent) 22%, transparent); }
.shop-cat-card-media { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 16 / 9; background: radial-gradient(circle at 50% 40%, rgba(139, 92, 246, 0.22), rgba(9, 9, 22, 0.96)); }
.shop-cat-card-media::before { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 84% at 50% 0%, color-mix(in srgb, var(--cat-accent) 20%, transparent), transparent 64%); pointer-events: none; }
.shop-cat-card-media::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5, 6, 16, 0.02) 26%, rgba(5, 6, 16, 0.16) 52%, rgba(5, 6, 16, 0.93) 100%); pointer-events: none; }
.shop-cat-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1); }
.shop-cat-card:hover .shop-cat-card-media img { transform: scale(1.06); }
.shop-cat-card-media > span:not([class]) { display: grid; width: 100%; height: 100%; place-items: center; color: #c9beff; font-size: 2.16rem; font-weight: 900; }
.shop-cat-card-glow { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 48%, rgba(6, 5, 16, 0.92) 100%); pointer-events: none; }
.shop-cat-card-shine { position: absolute; inset: -45% -70%; z-index: 2; background: linear-gradient(105deg, transparent 43%, rgba(255, 255, 255, 0.16) 50%, transparent 57%); opacity: 0; pointer-events: none; transform: translateX(-62%) rotate(8deg); }
.shop-cat-card:hover .shop-cat-card-shine { opacity: 1; animation: shop-card-sheen 0.85s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes shop-card-sheen { from { transform: translateX(-62%) rotate(8deg); } to { transform: translateX(62%) rotate(8deg); } }
.shop-cat-card-open { position: absolute; top: 12px; right: 12px; z-index: 3; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 50%; background: rgba(6, 8, 20, 0.58); color: #fff; opacity: 0.72; transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease; }
.shop-cat-card-open svg { width: 15px; height: 15px; }
.shop-cat-card:hover .shop-cat-card-open { opacity: 1; transform: translateY(-2px); border-color: color-mix(in srgb, var(--cat-accent) 70%, #fff); }
.shop-cat-card-hero { position: absolute; right: 0; bottom: 0; left: auto; z-index: 3; display: grid; width: min(82%, 370px); gap: 5px; justify-items: end; padding: 16px 15px 14px; text-align: right; pointer-events: none; }
.shop-cat-card-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.shop-cat-card-hero .shop-cat-card-badge { padding: 4px 10px; font-size: 0.78rem; }
.shop-cat-card-badge.is-ghost { border-color: rgba(196, 181, 253, 0.4); background: rgba(76, 29, 149, 0.38); color: #e8e0ff; }
.shop-cat-card-title { display: -webkit-box; overflow: hidden; color: #fff; font-size: 1.62rem; font-weight: 900; line-height: 1.12; letter-spacing: -0.03em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7); }
.shop-cat-card-subtitle { display: -webkit-box; margin: 0; overflow: hidden; color: #d7ddeb; font-size: 0.85rem; font-weight: 650; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.68); }
.shop-cat-card-body { display: grid; gap: 8px; padding: 13px 14px 14px; }
.shop-cat-card-badge { justify-self: start; padding: 3px 9px; border: 1px solid rgba(251, 191, 36, 0.3); border-radius: 999px; background: rgba(251, 191, 36, 0.1); color: #fbbf24; font-size: 0.78rem; font-weight: 750; }
.shop-cat-card-body strong { color: #f4f1ff; font-size: 1.2rem; line-height: 1.25; }
.shop-cat-card-body p { margin: 0; overflow: hidden; color: #93a0bd; font-size: 0.83rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.shop-cat-card-copy { display: grid; gap: 5px; padding: 8px 9px; border: 1px solid rgba(148, 163, 184, 0.13); border-radius: 9px; background: rgba(255, 255, 255, 0.025); }
.shop-cat-card-copy p { display: -webkit-box; margin: 0; overflow: hidden; color: #b3bfd4; font-size: 0.81rem; line-height: 1.58; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.shop-cat-card-body .shop-cat-card-copy p { color: #b3bfd4; font-size: 0.81rem; line-height: 1.58; -webkit-line-clamp: 3; }
.shop-cat-card-copy p + p { color: #cbb8bb; -webkit-line-clamp: 2; }
.shop-cat-card-copy p span { display: inline-block; margin-right: 5px; padding: 1px 5px; border-radius: 999px; background: rgba(167, 139, 250, 0.12); color: #d6c9ff; font-size: 0.78rem; font-weight: 850; vertical-align: 1px; }
.shop-cat-card-copy p + p span { background: rgba(203, 103, 103, 0.12); color: #e5a3a3; }
.shop-cat-card-meta { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.shop-cat-price { color: #fbbf24; font-size: 1.22rem; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.shop-cat-price small { color: #8d99b7; font-size: 0.78rem; font-weight: 600; letter-spacing: 0; }
.shop-cat-display { display: grid; gap: 3px; min-width: 0; }
.shop-cat-display-primary { color: #f4f1ff; font-size: 1.38rem; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.18; letter-spacing: -0.025em; }
.shop-cat-display-primary small { color: #aeb8d3; font-size: 0.78rem; font-weight: 750; letter-spacing: 0; }
.shop-cat-display-secondary { color: #b0bbd0; font-size: 1.1rem; font-weight: 700; line-height: 1.35; }
.shop-cat-display.is-currency .shop-cat-display-primary { color: #f6c453; font-size: 1.99rem; text-shadow: 0 0 24px rgba(246, 196, 83, 0.16); }
.shop-cat-display.is-currency .shop-cat-display-primary small { color: #d8bd79; }
.shop-cat-display.is-currency .shop-cat-display-secondary { color: #b7c2d7; }
.shop-cat-display.is-fun { border-left: 2px solid rgba(211, 116, 116, 0.4); padding-left: 9px; }
.shop-cat-display.is-fun .shop-cat-display-primary { display: -webkit-box; overflow: hidden; color: #e5a3a3; font-size: 1.9rem; font-weight: 780; line-height: 1.32; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.shop-cat-display.is-fun .shop-cat-display-secondary { color: #fff; font-size: 1.45rem; font-weight: 900; line-height: 1.2; letter-spacing: -0.015em; text-shadow: 0 0 18px rgba(255, 255, 255, 0.14); }
.shop-cat-display.is-fun .shop-cat-display-secondary b { color: #fff; font-size: inherit; font-weight: 900; }
.shop-cat-display.is-fun .shop-cat-display-secondary small { color: #c5cde0; font-size: 0.83rem; font-weight: 750; letter-spacing: 0; }
.shop-cat-card-actions { display: flex; gap: 8px; margin-top: 4px; }
.shop-cat-buy { flex: 1; padding: 9px 12px; border: 1px solid color-mix(in srgb, var(--cat-accent) 55%, rgba(168, 85, 247, 0.5)); border-radius: 10px; background: linear-gradient(135deg, color-mix(in srgb, var(--cat-accent) 70%, #7c3aed), color-mix(in srgb, var(--cat-accent) 45%, #a855f7)); color: #fff; font-size: 0.85rem; font-weight: 800; cursor: pointer; transition: filter 0.25s ease, transform 0.25s ease; }
.shop-cat-buy:hover { filter: brightness(1.12); transform: translateY(-1px); }
.shop-cat-buy:disabled { cursor: wait; filter: grayscale(0.4) brightness(0.8); }
.shop-cat-detail { flex: none; padding: 9px 12px; border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 10px; background: rgba(255, 255, 255, 0.04); color: #cfc8ff; font-size: 0.83rem; font-weight: 700; cursor: pointer; }
.shop-cat-detail:hover { border-color: rgba(196, 181, 253, 0.5); color: #fff; }
.shop-cat-empty { display: grid; place-items: center; gap: 8px; padding: 36px 18px; border: 1px dashed rgba(148, 163, 184, 0.22); border-radius: 16px; text-align: center; }
.shop-cat-empty-icon { display: grid; width: 56px; height: 56px; place-items: center; border: 1px solid rgba(167, 139, 250, 0.28); border-radius: 17px; background: rgba(139, 92, 246, 0.12); color: #c9beff; }
.shop-cat-empty-icon svg { width: 27px; height: 27px; }
.shop-cat-empty h3 { margin: 0; color: #eee9ff; font-size: 1.24rem; }
.shop-cat-empty p { margin: 0; color: #8d99b7; font-size: 0.85rem; }
.shop-cat-feature { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr); overflow: hidden; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 18px; background: rgba(13, 12, 30, 0.9); cursor: pointer; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease; }
.shop-cat-feature:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--cat-accent) 55%, transparent); box-shadow: 0 24px 52px rgba(0, 0, 0, 0.48), 0 0 40px color-mix(in srgb, var(--cat-accent) 22%, transparent); }
.shop-cat-feature-media { position: relative; overflow: hidden; min-height: 320px; background: radial-gradient(circle at 50% 40%, rgba(139, 92, 246, 0.24), rgba(9, 9, 22, 0.96)); }
.shop-cat-feature-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.shop-cat-feature:hover .shop-cat-feature-media img { transform: scale(1.04); }
.shop-cat-feature-media > span { display: grid; height: 100%; place-items: center; color: #c9beff; font-size: 2.81rem; font-weight: 900; }
.shop-cat-feature-body { display: grid; align-content: center; gap: 11px; padding: 26px; }
.shop-cat-feature-body h3 { margin: 0; color: #fff; font-size: 1.86rem; line-height: 1.15; letter-spacing: -0.02em; }
.shop-cat-feature-body > p { margin: 0; color: #a7b2ce; font-size: 0.97rem; line-height: 1.7; }
.shop-cat-feature-meta { display: flex; flex-wrap: wrap; gap: 26px; margin: 8px 0 4px; }
.shop-cat-feature-meta > div { display: grid; gap: 4px; }
.shop-cat-feature-meta small { color: #8d99b7; font-size: 0.78rem; letter-spacing: 0.06em; }
.shop-cat-feature-meta strong { color: #fff; font-size: 1.22rem; }
.shop-cat-feature-meta .shop-cat-price { font-size: 1.73rem; }
.shop-cat-price em { font-style: normal; color: #8d99b7; font-size: 0.78rem; font-weight: 600; letter-spacing: 0; }
.shop-cat-feature-price { min-width: 0; flex: 1 1 230px; }
.shop-cat-feature .shop-cat-display { gap: 5px; }
.shop-cat-feature .shop-cat-display.is-currency .shop-cat-display-primary { font-size: 2.16rem; }
.shop-cat-feature .shop-cat-display.is-currency .shop-cat-display-primary small { color: #d8bd79; font-size: 0.9rem; }
.shop-cat-feature .shop-cat-display.is-currency .shop-cat-display-secondary { color: #b7c2d7; font-size: 1.17rem; }
.shop-cat-feature .shop-cat-display.is-fun .shop-cat-display-primary { font-size: 2.25rem; line-height: 1.36; }
.shop-cat-feature .shop-cat-display.is-fun .shop-cat-display-secondary { color: #fff; font-size: 1.64rem; }
.shop-cat-feature .shop-cat-display.is-fun .shop-cat-display-secondary small { font-size: 0.92rem; }
.shop-cat-feature .shop-cat-card-actions { margin-top: 10px; }
.shop-cat-feature .shop-cat-buy { flex: none; min-width: 210px; padding: 13px 20px; font-size: 0.99rem; border-radius: 12px; }
.shop-cat-feature .shop-cat-detail { padding: 13px 18px; font-size: 0.92rem; border-radius: 12px; }
.shop-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 16px; }
.shop-detail-main { display: grid; gap: 15px; min-width: 0; }
.shop-detail-aside { position: sticky; top: 87px; display: grid; gap: 13px; }
.shop-detail-block,
.shop-detail-support-card { display: grid; gap: 11px; padding: 19px; border: 1px solid rgba(124, 92, 255, 0.22); border-radius: 16px; background: linear-gradient(145deg, rgba(20, 20, 43, 0.9), rgba(11, 11, 25, 0.93)); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2); }
.shop-detail-block .eyebrow,
.shop-detail-support-card .eyebrow { color: #a78bfa; }
.shop-detail-block > h2 { margin: 0; color: #f8f7ff; font-size: 1.2rem; }
.shop-detail-description { margin: 2px 0 0; color: #aeb8d3; font-size: 0.87rem; line-height: 1.8; }
.shop-highlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.shop-highlight-grid article { padding: 12px; border: 1px solid rgba(124, 92, 255, 0.17); border-radius: 11px; background: rgba(99, 102, 241, 0.05); }
.shop-highlight-grid strong { display: block; margin-bottom: 4px; color: #e7e3ff; font-size: 0.87rem; }
.shop-highlight-grid p { margin: 0; color: #8995b4; font-size: 0.78rem; line-height: 1.6; }
.shop-note-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; counter-reset: shop-note; }
.shop-note-list li { position: relative; padding-left: 25px; color: #a7b2ce; font-size: 0.83rem; line-height: 1.7; counter-increment: shop-note; }
.shop-note-list li::before { content: counter(shop-note); position: absolute; left: 0; top: 1px; display: grid; width: 17px; height: 17px; place-items: center; border: 1px solid rgba(139, 92, 246, 0.28); border-radius: 6px; background: rgba(139, 92, 246, 0.09); color: #b9a7ff; font-size: 0.78rem; font-weight: 800; }
.shop-muted { margin: 0; color: #7c88a6; font-size: 0.83rem; }

.shop-option-groups { display: grid; gap: 14px; }
.shop-option-group { display: grid; gap: 8px; }
.shop-option-group-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid rgba(124, 92, 255, 0.16); }
.shop-option-group-head strong { color: #d8d2ff; font-size: 0.85rem; letter-spacing: 0.03em; }
.shop-option-group-head span { color: #727f9c; font-size: 0.78rem; }
.shop-option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: 8px; }
.shop-option-card { position: relative; overflow: hidden; display: grid; justify-items: start; gap: 4px; min-height: 105px; padding: 13px; border: 1px solid rgba(124, 92, 255, 0.2); border-radius: 12px; background: linear-gradient(148deg, rgba(26, 25, 55, 0.9), rgba(13, 13, 29, 0.95)); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease; }
.shop-option-card:hover { transform: translateY(-1px); border-color: rgba(168, 85, 247, 0.6); background: linear-gradient(148deg, rgba(44, 30, 78, 0.9), rgba(16, 14, 35, 0.95)); }
.shop-option-card.is-featured { border-color: rgba(251, 191, 36, 0.27); }
.shop-option-card.is-selected { border-color: rgba(192, 132, 252, 0.86); background: linear-gradient(148deg, rgba(67, 38, 118, 0.82), rgba(24, 16, 52, 0.96)); box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.12), 0 0 24px rgba(139, 92, 246, 0.16); }
.shop-option-card.is-selected::after { content: "✓"; position: absolute; right: 9px; top: 8px; display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: #8b5cf6; color: #fff; font-size: 0.78rem; font-weight: 900; }
.shop-option-badge { padding: 1px 5px; border-radius: 999px; background: rgba(251, 191, 36, 0.12); color: #fcd34d; font-size: 0.78rem; }
.shop-option-name { padding-right: 18px; color: #f0edff; font-size: 1.15rem; font-weight: 850; line-height: 1.35; }
.shop-option-price { color: #d8d0f7; font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.shop-option-price small { color: #a1abc1; font-size: 0.78rem; font-weight: 500; }
.shop-option-price.is-currency,
.shop-option-price.is-fun { display: grid; width: 100%; gap: 2px; }
.shop-option-price.is-currency b { color: #f6c453; font-size: 1.68rem; font-weight: 900; letter-spacing: -0.025em; line-height: 1.15; }
.shop-option-price.is-currency b small { color: #d8bd79; font-size: 0.78rem; font-weight: 750; }
.shop-option-price.is-currency em,
.shop-option-price.is-fun em { color: #aab5cb; font-size: 1.01rem; font-style: normal; font-weight: 650; line-height: 1.4; }
.shop-option-price.is-currency em span,
.shop-option-price.is-fun em span { color: #7f8ba6; }
.shop-option-price.is-fun b { display: -webkit-box; overflow: hidden; color: #e5a3a3; font-size: 1.66rem; font-weight: 780; line-height: 1.32; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.shop-option-sub { color: #c5d1e6; font-size: 0.91rem; font-weight: 650; line-height: 1.55; }

.shop-detail-support-card h3 { margin: 0; color: #f2efff; font-size: 0.98rem; }
.shop-detail-support-card > p { margin: 0; color: #8d99b7; font-size: 0.78rem; line-height: 1.7; }
.shop-support-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid rgba(124, 92, 255, 0.14); }
.shop-support-line span { color: #7e8aa7; font-size: 0.78rem; }
.shop-support-line strong { color: #d7cbff; font-size: 0.78rem; text-align: right; }
.shop-mini-orders { display: grid; gap: 6px; }
.shop-mini-orders > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid rgba(124, 92, 255, 0.12); }
.shop-mini-orders > div:last-child { border-bottom: 0; padding-bottom: 0; }
.shop-mini-orders span { display: grid; gap: 2px; color: #c4cbe0; font-size: 0.78rem; }
.shop-mini-orders small { color: #7784a1; font-size: 0.78rem; }
.shop-mini-orders strong { color: #fbbf24; font-size: 0.78rem; white-space: nowrap; }

/* 下单弹窗沿用站点原生弹窗，只覆盖店铺内部视觉 */
.shop-order-modal .shop-modal-product { display: flex; align-items: center; gap: 11px; padding: 10px 11px; border: 1px solid rgba(139, 92, 246, 0.24); border-radius: 11px; background: rgba(139, 92, 246, 0.08); }
.shop-modal-icon { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border: 1px solid rgba(168, 85, 247, 0.42); border-radius: 11px; background: linear-gradient(145deg, #4f3ab5, #a855f7); color: #fff; font-weight: 900; }
.shop-modal-product > div { display: grid; gap: 2px; min-width: 0; flex: 1; }
.shop-modal-product strong { color: #f8f6ff; font-size: 0.97rem; }
.shop-modal-product span { overflow: hidden; color: #97a2bf; font-size: 0.78rem; text-overflow: ellipsis; white-space: nowrap; }
.shop-modal-badge { flex: 0 0 auto; padding: 3px 7px; border-radius: 999px; background: rgba(251, 191, 36, 0.12); color: #fcd34d; font-size: 0.78rem; }
.shop-order-form { display: grid; gap: 10px; margin-top: 12px; }
.shop-order-price-box { display: grid; align-content: center; gap: 3px; min-height: 62px; padding: 7px 10px; border: 1px solid rgba(139, 92, 246, 0.2); border-radius: 9px; background: rgba(139, 92, 246, 0.07); }
.shop-order-price-box span { color: #8e9ab8; font-size: 0.78rem; }
.shop-order-price-box strong { color: #fbbf24; font-size: 0.92rem; }
.shop-order-summary { display: flex; justify-content: space-between; gap: 12px; padding: 11px 12px; border: 1px solid rgba(139, 92, 246, 0.2); border-radius: 10px; background: rgba(10, 10, 24, 0.52); }
.shop-order-summary > div { display: grid; gap: 2px; }
.shop-order-summary > div:last-child { justify-items: end; }
.shop-order-summary span { color: #8591ae; font-size: 0.78rem; }
.shop-order-summary strong { color: #f5f2ff; font-size: 0.98rem; }
.shop-order-summary > div:first-child strong { color: #fbbf24; }
.shop-order-warning { margin: 0; padding: 8px 10px; border: 1px solid rgba(248, 113, 113, 0.24); border-radius: 8px; background: rgba(248, 113, 113, 0.09); color: #fca5a5; font-size: 0.78rem; }
.shop-order-warning b { color: #fbbf24; }

/* 前台点发布后，在弹层里先选分类与档位 */
.shop-tier-picker { display: grid; gap: 12px; margin-top: 12px; }
.shop-tier-picker-hint { margin: 0; color: #aeb8d3; font-size: 0.83rem; line-height: 1.7; }
.shop-tier-picker .shop-option-groups { max-height: none; overflow: visible; padding-right: 0; }
.shop-tier-picker-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 12px; border: 1px solid rgba(139, 92, 246, 0.24); border-radius: 12px; background: rgba(9, 9, 22, 0.58); }
.shop-tier-picker-summary > div { display: grid; gap: 3px; min-width: 0; }
.shop-tier-picker-summary span { color: #8591ae; font-size: 0.78rem; }
.shop-tier-picker-summary strong { overflow: hidden; color: #f5f2ff; font-size: 1.15rem; text-overflow: ellipsis; white-space: nowrap; }
.shop-tier-picker-summary > div:nth-child(2) strong { color: #fbbf24; }
.shop-tier-picker-note { margin: 0; color: #8591ae; font-size: 0.78rem; line-height: 1.65; }
.shop-tier-picker .modal-actions { margin-top: 2px; }
.shop-tier-picker .modal-actions .button { flex: 1; }
.shop-tier-picker .modal-actions .button-primary:disabled { opacity: 0.45; cursor: not-allowed; }
.shop-tier-modal .shop-tier-picker .modal-actions {
  position: sticky;
  z-index: 4;
  bottom: 0;
  margin: 0;
  padding: 12px 0 20px;
  border-top: 1px solid rgba(93, 132, 190, 0.18);
  background: #070f1d;
}
body[data-app-view] .shop-tier-modal .app-modal-card {
  width: min(880px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  grid-template-rows: auto minmax(0, 1fr);
}
body[data-app-view] .shop-tier-modal .app-modal-body {
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 0;
  overscroll-behavior: contain;
}
.shop-hours-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border: 1px solid rgba(139, 92, 246, 0.24); border-radius: 12px; background: rgba(9, 9, 22, 0.58); }
.shop-hours-copy { display: grid; gap: 2px; min-width: 0; }
.shop-hours-copy span { color: #f5f2ff; font-size: 0.9rem; font-weight: 800; }
.shop-hours-copy small { color: #8591ae; font-size: 0.78rem; line-height: 1.5; }
.shop-hours-stepper { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; }
.shop-hours-stepper button { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(139, 92, 246, 0.34); border-radius: 9px; background: rgba(139, 92, 246, 0.16); color: #e9e3ff; font-size: 1.15rem; font-weight: 900; line-height: 1; cursor: pointer; }
.shop-hours-stepper button:hover { background: rgba(139, 92, 246, 0.28); }
.shop-hours-stepper input { width: 56px; height: 34px; padding: 0 4px; border: 1px solid rgba(139, 92, 246, 0.34); border-radius: 9px; background: rgba(5, 5, 14, 0.72); color: #fff; font-size: 1.06rem; font-weight: 850; text-align: center; -moz-appearance: textfield; }
.shop-hours-stepper input::-webkit-outer-spin-button,
.shop-hours-stepper input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.shop-hours-stepper input:focus-visible { outline: 2px solid rgba(168, 85, 247, 0.6); outline-offset: 1px; }
.shop-hours-stepper em { color: #aeb8d3; font-size: 0.78rem; font-style: normal; }
.shop-hours-field[hidden],
.shop-currency-field[hidden] { display: none !important; }
.shop-currency-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 13px; border: 1px solid rgba(251, 191, 36, 0.3); border-radius: 12px; background: linear-gradient(135deg, rgba(120, 78, 16, 0.16), rgba(9, 9, 22, 0.7)); }
.shop-currency-value { display: flex; flex: 0 0 auto; align-items: baseline; flex-wrap: wrap; justify-content: flex-end; gap: 5px; text-align: right; }
.shop-currency-value b { color: #fbbf24; font-size: 1.57rem; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; }
.shop-currency-value > span { color: #d7c9a4; font-size: 0.81rem; }
.shop-currency-value em { flex-basis: 100%; color: #93a0bb; font-size: 0.78rem; font-style: normal; }
.shop-currency-value em strong { color: #fff; font-size: 0.94rem; }
.shop-option-sub.is-currency { color: #b9a881; }
.shop-option-sub.is-fun { color: #bf9fa2; }
.shop-tier-picker-summary em { overflow: hidden; color: #a6b1c7; font-size: 0.87rem; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.shop-tier-picker-summary em.is-currency { color: #e6c875; }
.shop-tier-picker-summary em.is-fun { overflow: visible; color: #dfa1a1; line-height: 1.45; text-overflow: clip; white-space: normal; }

.shop-order-manual { display: grid; gap: 10px; padding: 13px 14px; border: 1px solid rgba(139, 92, 246, 0.26); border-radius: 13px; background: linear-gradient(135deg, rgba(58, 38, 111, 0.22), rgba(7, 12, 24, 0.78)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035); }
.shop-order-manual[hidden],
.shop-order-manual-block[hidden] { display: none !important; }
.shop-order-manual-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(139, 92, 246, 0.18); }
.shop-order-manual-head strong { color: #f2edff; font-size: 0.99rem; font-weight: 900; }
.shop-order-manual-head small { color: #8f9bb5; font-size: 0.78rem; }
.shop-order-manual-block { display: grid; gap: 4px; }
.shop-order-manual-block > span { color: #b9a7ff; font-size: 0.78rem; font-weight: 850; letter-spacing: 0.05em; }
.shop-order-manual-block[data-shop-manual-block="fun"] > span { color: #e5a3a3; }
.shop-order-manual-block p { margin: 0; color: #e4e8f3; font-size: 0.94rem; font-weight: 650; line-height: 1.72; white-space: pre-wrap; overflow-wrap: anywhere; }
.shop-order-manual-block[data-shop-manual-block="fun"] p { color: #efc0c0; }
.shop-purple-button.is-loading { opacity: 0.6; pointer-events: none; }

@media (max-width: 640px) {
  .shop-tier-picker-summary { grid-template-columns: 1fr; }
  .shop-hours-field { flex-direction: column; align-items: flex-start; gap: 8px; }
  .shop-currency-field { flex-direction: column; align-items: flex-start; gap: 8px; }
  .shop-currency-value { justify-content: flex-start; text-align: left; }
  .shop-order-manual-head { align-items: flex-start; flex-direction: column; gap: 3px; }
  body[data-app-view] .shop-tier-modal .app-modal-card { max-height: calc(100dvh - 16px); }
  .shop-tier-modal .shop-tier-picker .modal-actions { padding-bottom: 14px; }
}

@media (max-height: 820px) {
  body[data-app-view] .shop-tier-modal .app-modal-head { padding: 14px 20px 12px; }
  .shop-tier-modal .shop-tier-picker { gap: 9px; }
  .shop-tier-modal .shop-option-grid { gap: 7px; }
  .shop-tier-modal .shop-option-card { min-height: 92px; padding: 11px; }
  .shop-tier-modal .shop-tier-picker-summary { padding: 10px; }
  .shop-tier-modal .shop-tier-picker-note { display: none; }
}

@media (max-width: 1180px) {
  .shop-cat-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-cat-item-task { grid-column: span 2; }
}

@media (max-width: 1040px) {
  .shop-hero { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .shop-hero-stats { justify-self: start; }
  .shop-detail-order-panel { max-width: 430px; }
  .shop-detail-layout { grid-template-columns: minmax(0, 1fr) 278px; }
}

@media (max-width: 820px) {
  .shop-poster-card { min-height: 260px; padding: 22px 24px; border-radius: 999px 0 0 999px; }
  .shop-poster-label { left: 86px; top: 18px; max-width: 66%; }
  .shop-poster-label strong { font-size: 1.01rem; }
  .shop-poster-action { min-width: 216px; gap: 10px; padding-left: 32px; }
  .shop-poster-kicker { font-size: 0.85rem; }
  .shop-purple-button { min-width: 176px; min-height: 52px; padding: 12px 22px; font-size: 1.06rem; }
  .shop-detail-hero { padding: 34px 30px; }
  .shop-detail-layout { grid-template-columns: 1fr; }
  .shop-detail-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-highlight-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .shop-hero { padding: 22px 19px; border-radius: 17px; }
  .shop-hero-copy h1 { font-size: 2.21rem; }
  .shop-hero-copy p { font-size: 0.92rem; }
  .shop-hero-stats { width: 100%; }
  .shop-hero-stats > div { min-width: 0; flex: 1; }
  .shop-section-heading { align-items: start; flex-direction: column; gap: 8px; }
  .shop-poster-card { min-height: 290px; align-items: flex-end; padding: 16px; border-radius: 999px 0 0 999px; }
  .shop-poster-shade { background: linear-gradient(180deg, rgba(5, 4, 14, 0.06) 6%, rgba(5, 4, 14, 0.18) 40%, rgba(6, 4, 17, 0.92) 100%); }
  .shop-poster-label { left: 80px; top: 16px; max-width: calc(100% - 104px); padding: 7px 11px; }
  .shop-poster-label strong { font-size: 0.9rem; }
  .shop-poster-badge { font-size: 0.78rem; padding: 3px 8px; }
  .shop-poster-action { display: flex; width: 100%; min-width: 0; align-items: center; justify-content: flex-end; gap: 10px; padding-left: 0; }
  .shop-poster-kicker { display: none; }
  .shop-poster-action .shop-purple-button { width: auto; min-width: 168px; min-height: 54px; font-size: 1.1rem; }
  .shop-order-row { align-items: start; flex-direction: column; }
  .shop-order-side { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; }
  .shop-detail-hero { min-height: 292px; padding: 20px 16px; border-radius: 18px; }
  .shop-cat-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 6px; border-radius: 19px; }
  .shop-cat-item { min-height: 78px; padding: 10px; gap: 10px; border-radius: 15px; }
  .shop-cat-item-task { grid-column: 1 / -1; }
  .shop-cat-icon { width: 44px; height: 44px; border-radius: 13px; }
  .shop-cat-icon svg { width: 22px; height: 22px; }
  .shop-cat-copy strong { font-size: 1.24rem; }
  .shop-cat-copy small { font-size: 0.78rem; letter-spacing: 0.12em; }
  .shop-cat-chevron { width: 22px; height: 22px; border-radius: 7px; }
  .shop-cat-task-meta { min-width: 30px; padding: 4px 5px 3px; }
  .shop-cat-task-meta b { font-size: 0.9rem; }
  .shop-cat-task-meta small { font-size: 0.78rem; }
  .shop-cat-panel { padding: 14px; gap: 13px; }
  .shop-cat-feature { grid-template-columns: 1fr; }
  .shop-cat-feature-media { min-height: 0; aspect-ratio: 16 / 9; }
  .shop-cat-feature-body { padding: 18px; }
  .shop-cat-feature-body h3 { font-size: 1.46rem; }
  .shop-cat-feature .shop-cat-buy { flex: 1; min-width: 0; }
  .shop-cat-panel-head h2 { font-size: 1.35rem; }
  .shop-cat-grid { grid-template-columns: 1fr; }
  .shop-detail-cover { object-position: 30% center; }
  .shop-detail-hero-copy { max-width: 100%; align-items: flex-end; padding: 16px 18px 15px; border-radius: 18px; background: rgba(6, 5, 16, 0.52); backdrop-filter: blur(10px); }
  .shop-detail-hero-copy h1 { font-size: 2.32rem; }
  .shop-detail-hero-copy > p { font-size: 0.97rem; }
  .shop-detail-full { top: 14px; right: 14px; padding: 7px 11px; font-size: 0.78rem; }
  .shop-detail-order-panel { max-width: none; padding: 16px; }
  .shop-detail-aside { grid-template-columns: 1fr; }
  .shop-option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-option-card { min-height: 99px; padding: 11px; }
  .shop-option-price { font-size: 1.06rem; }
  .shop-login-note { align-items: stretch; flex-direction: column; }
  .shop-order-summary { flex-direction: column; }
  .shop-order-summary > div:last-child { justify-items: start; }
}

@media (max-width: 410px) {
  .shop-cat-item { padding: 9px 8px; gap: 8px; }
  .shop-cat-icon { width: 40px; height: 40px; }
  .shop-cat-icon svg { width: 20px; height: 20px; }
  .shop-cat-copy strong { font-size: 1.17rem; }
  .shop-cat-copy small { font-size: 0.78rem; letter-spacing: 0.08em; }
  .shop-cat-index { display: none; }
  .shop-option-grid { grid-template-columns: 1fr; }
  .shop-poster-card { min-height: 260px; }
  .shop-poster-action { flex-direction: column; align-items: stretch; }
  .shop-poster-action .shop-purple-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-poster-card,
  .shop-poster-image,
  .shop-poster-card::before,
  .shop-purple-button,
  .shop-button-shine,
  .shop-option-card,
  .shop-cat-item,
  .shop-cat-item::before,
  .shop-cat-item::after,
  .shop-cat-icon,
  .shop-cat-chevron,
  .shop-cat-index { animation: none; transition: none; }
}

.shop-detail-buy-note {
  display: block;
  max-width: 330px;
  margin-top: 8px;
  color: #a7b3cf;
  font-size: 0.78rem;
  line-height: 1.55;
}
.type-tag.is-self-operated {
  border-color: rgba(110, 255, 163, 0.38);
  background: rgba(77, 232, 132, 0.11);
  color: #9dffb9;
}

/* 店铺主页独立主视觉：海报常驻，封面商品可悬停 / 点击切换 */
.shop-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(375px, 37.5vw, 525px);
  border: 1px solid rgba(196, 181, 253, 0.34);
  border-top-color: rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  background:
    linear-gradient(148deg, rgba(124, 92, 255, 0.16), rgba(9, 7, 20, 0.22) 46%, rgba(6, 5, 14, 0.4)),
    #080810;
  box-shadow:
    0 34px 92px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(168, 85, 247, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(3px) saturate(1.14);
}
.shop-showcase::before {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  box-shadow: inset 0 0 110px rgba(4, 3, 14, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  content: "";
  pointer-events: none;
}
.shop-showcase::after {
  display: none;
}
.shop-showcase-stage { position: absolute; inset: 0; }
.shop-showcase-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity 0.55s ease, visibility 0.55s ease, transform 0.9s ease;
  pointer-events: none;
}
.shop-showcase-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}
.shop-showcase-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.96) contrast(1.04) saturate(1.08);
}
.shop-showcase-slide.is-active:hover .shop-showcase-cover { transform: scale(1.018); }
.shop-showcase-cover { transition: transform 1.2s ease; }
.shop-showcase-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 38% 34%, rgba(124, 58, 237, 0.38), transparent 38%),
    radial-gradient(circle at 72% 72%, rgba(34, 211, 238, 0.18), transparent 36%),
    linear-gradient(126deg, #17122f, #070710 72%);
}
.shop-showcase-fallback span {
  color: rgba(255, 255, 255, 0.055);
  font-size: clamp(5rem, 15vw, 11rem);
  font-weight: 950;
  letter-spacing: -0.09em;
  transform: skewX(-7deg);
}
.shop-showcase-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 58%, rgba(5, 4, 14, 0.55) 100%);
  pointer-events: none;
}
.shop-showcase-aura {
  display: none;
}
.shop-showcase-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(63%, 760px);
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  margin-left: auto;
  padding: 34px clamp(104px, 9vw, 138px) 32px 30px;
  text-align: right;
}
.shop-showcase-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ddd4ff;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-shadow: 0 0 2px #05040e, 0 3px 16px rgba(0, 0, 0, 0.9);
}
.shop-showcase-eyebrow::after { width: 34px; height: 1px; background: rgba(221, 212, 255, 0.62); content: ""; }
.shop-showcase-badge {
  padding: 6px 12px;
  border: 1px solid rgba(251, 191, 36, 0.36);
  border-radius: 999px;
  background: linear-gradient(110deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.07));
  color: #fcd34d;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-shadow: 0 0 14px rgba(251, 191, 36, 0.5);
  backdrop-filter: blur(10px);
}
.shop-showcase-copy h1 {
  max-width: 620px;
  margin: 2px 0 0;
  color: #ffffff;
  font-size: clamp(2.25rem, 4vw, 3.95rem);
  font-weight: 900;
  line-height: 1.01;
  letter-spacing: -0.06em;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.98), 0 6px 8px rgba(0, 0, 0, 0.6), 0 18px 42px rgba(0, 0, 0, 0.78);
}
.shop-showcase-copy > p {
  max-width: 560px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(0.82rem, 1.05vw, 0.95rem);
  font-weight: 650;
  line-height: 1.6;
  text-shadow: 0 0 2px #04030c, 0 4px 16px rgba(0, 0, 0, 0.92);
}
.shop-showcase-price {
  color: #fbbf24;
  font-size: 1.22rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  text-shadow: 0 0 2px #04030c, 0 4px 15px rgba(0, 0, 0, 0.9);
}
.shop-showcase-price small { margin-left: 5px; color: #e5dcf8; font-size: 0.78rem; font-weight: 600; }
.shop-showcase-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 5px; }
.shop-showcase-actions .shop-purple-button { min-width: 206px; min-height: 50px; font-size: 1.06rem; }

.shop-showcase-rail {
  position: absolute;
  top: 50%;
  right: 18px;
  z-index: 5;
  display: grid;
  gap: 9px;
  transform: translateY(-50%);
}
.shop-showcase-dot {
  position: relative;
  width: 66px;
  height: 46px;
  overflow: visible;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  background: rgba(7, 6, 18, 0.64);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  transition: width 0.24s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.shop-showcase-dot::after {
  position: absolute;
  inset: 4px;
  border: 1px solid transparent;
  border-radius: 7px;
  content: "";
  pointer-events: none;
  transition: border-color 0.2s ease;
}
.shop-showcase-dot-image { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 10px; background: linear-gradient(145deg, #201743, #090812); }
.shop-showcase-dot-image img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7) saturate(0.82); transition: filter 0.22s ease, transform 0.3s ease; }
.shop-showcase-dot-image i { display: grid; width: 100%; height: 100%; place-items: center; color: rgba(255, 255, 255, 0.54); font-size: 0.81rem; font-style: normal; font-weight: 900; }
.shop-showcase-dot:hover,
.shop-showcase-dot:focus-visible { width: 84px; border-color: rgba(196, 181, 253, 0.62); outline: none; transform: translateX(-3px); }
.shop-showcase-dot.is-active { width: 84px; border-color: rgba(196, 181, 253, 0.9); box-shadow: 0 0 0 2px rgba(109, 74, 255, 0.45), 0 10px 28px rgba(0, 0, 0, 0.48); }
.shop-showcase-dot.is-active::after { border-color: rgba(255, 255, 255, 0.28); }
.shop-showcase-dot:hover .shop-showcase-dot-image img,
.shop-showcase-dot.is-active .shop-showcase-dot-image img { filter: brightness(1) saturate(1.08); transform: scale(1.04); }
.shop-showcase-dot-copy {
  position: absolute;
  top: 50%;
  right: calc(100% + 9px);
  display: grid;
  min-width: 120px;
  gap: 1px;
  padding: 7px 10px;
  border: 1px solid rgba(196, 181, 253, 0.22);
  border-radius: 9px;
  background: rgba(5, 4, 15, 0.86);
  opacity: 0;
  text-align: right;
  transform: translate(7px, -50%);
  pointer-events: none;
  backdrop-filter: blur(10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.shop-showcase-dot:hover .shop-showcase-dot-copy,
.shop-showcase-dot:focus-visible .shop-showcase-dot-copy { opacity: 1; transform: translate(0, -50%); }
.shop-showcase-dot-copy b { color: #c4b5fd; font-size: 0.78rem; letter-spacing: 0.12em; }
.shop-showcase-dot-copy small { overflow: hidden; max-width: 170px; color: #f6f2ff; font-size: 0.78rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.shop-showcase-progress { position: absolute; right: 0; bottom: 0; left: 0; z-index: 5; height: 2px; background: rgba(255, 255, 255, 0.09); }
.shop-showcase-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #6d5dfc, #c084fc, #67e8f9); box-shadow: 0 0 15px rgba(168, 85, 247, 0.72); }
.shop-showcase-progress.is-running span { animation: shop-showcase-progress var(--shop-progress-duration, 6500ms) linear forwards; }
.shop-showcase.is-paused .shop-showcase-progress span { animation-play-state: paused; }
@keyframes shop-showcase-progress { from { width: 0; } to { width: 100%; } }

@media (max-width: 820px) {
  .shop-showcase { min-height: 366px; border-radius: 19px; }
  .shop-showcase-copy { width: 76%; padding: 26px 82px 28px 24px; }
  .shop-showcase-copy h1 { font-size: clamp(1.95rem, 5vw, 2.85rem); }
  .shop-showcase-rail { right: 12px; gap: 7px; }
  .shop-showcase-dot,
  .shop-showcase-dot.is-active { width: 48px; height: 34px; }
  .shop-showcase-dot:hover,
  .shop-showcase-dot:focus-visible { width: 58px; }
}

@media (max-width: 620px) {
  .shop-showcase { min-height: 325px; }
  .shop-showcase-cover { object-position: 36% center; }
  .shop-showcase-veil { background: linear-gradient(180deg, rgba(5, 4, 14, 0.12), transparent 25%, rgba(5, 4, 14, 0.35) 52%, rgba(5, 4, 14, 0.95) 100%); }
  .shop-showcase-copy { width: 100%; align-self: flex-end; gap: 6px; padding: 14px 14px 56px; background: linear-gradient(180deg, transparent, rgba(5, 4, 14, 0.42) 34%, rgba(5, 4, 14, 0.72)); }
  .shop-showcase-copy h1 { font-size: 1.67rem; line-height: 1.02; }
  .shop-showcase-copy > p { font-size: 0.78rem; line-height: 1.5; }
  .shop-showcase-eyebrow { display: none; }
  .shop-showcase-badge { padding: 4px 9px; font-size: 0.78rem; }
  .shop-showcase-price { font-size: 1.06rem; }
  .shop-showcase-actions { width: 100%; }
  .shop-showcase-actions .shop-purple-button { width: 100%; min-width: 0; min-height: 44px; font-size: 0.94rem; }
  .shop-showcase-rail { top: auto; right: 50%; bottom: 10px; display: flex; max-width: calc(100% - 26px); overflow-x: auto; padding: 3px; transform: translateX(50%); scrollbar-width: none; }
  .shop-showcase-rail::-webkit-scrollbar { display: none; }
  .shop-showcase-dot,
  .shop-showcase-dot:hover,
  .shop-showcase-dot:focus-visible,
  .shop-showcase-dot.is-active { width: 42px; height: 30px; flex: 0 0 auto; transform: none; }
  .shop-showcase-dot-copy { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-showcase-slide,
  .shop-showcase-cover,
  .shop-showcase-dot,
  .shop-showcase-dot-image img,
  .shop-showcase-progress span { animation: none !important; transition: none !important; }
}

/* 四个分类独立窗口：同一模块，不同封面与商品。 */
.shop-category-page { min-width: 0; color: #f7f5ff; }
.shop-category-page *,
.shop-category-page *::before,
.shop-category-page *::after { box-sizing: border-box; }

.shop-category-portal { display: grid; gap: 15px; }
.shop-category-portal-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 3px 2px 0; }
.shop-category-portal-head > div { display: grid; gap: 5px; }
.shop-category-portal-head .eyebrow { color: #c4b5fd; }
.shop-category-portal-head h2 { margin: 0; color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.72rem); line-height: 1.1; letter-spacing: -0.035em; }
.shop-category-portal-head p { margin: 0; color: #8995b4; font-size: 0.83rem; line-height: 1.7; }
.shop-category-portal-note { flex: none; padding: 7px 13px; border: 1px solid rgba(167, 139, 250, 0.3); border-radius: 999px; background: rgba(139, 92, 246, 0.11); color: #c4b5fd; font-size: 0.78rem; font-weight: 750; }
.shop-category-portal-note b { margin-right: 3px; color: #fff; font-size: 1.03rem; }

.shop-category-window-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.shop-category-window-card {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 252px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--cat-accent) 34%, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  background: #080810;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  animation: shop-category-window-in 0.55s backwards cubic-bezier(0.22, 1, 0.36, 1);
  animation-delay: calc(var(--cat-order, 0) * 55ms);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
@keyframes shop-category-window-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.shop-category-window-card:hover,
.shop-category-window-card:focus-visible {
  border-color: color-mix(in srgb, var(--cat-accent) 74%, #fff 8%);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.48), 0 0 46px color-mix(in srgb, var(--cat-accent) 22%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  outline: none;
  transform: translateY(-4px);
}
.shop-category-window-media { position: absolute; inset: 0; z-index: -2; display: block; background: #080810; }
.shop-category-window-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(0.93) saturate(1.06); transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease; }
.shop-category-window-card:hover .shop-category-window-media img { transform: scale(1.035); filter: brightness(1.03) saturate(1.12); }
.shop-category-window-fallback { display: grid; width: 100%; height: 100%; place-items: center; background: radial-gradient(circle at 30% 50%, color-mix(in srgb, var(--cat-accent) 36%, transparent), transparent 46%), linear-gradient(135deg, #171232, #080810); color: color-mix(in srgb, var(--cat-accent) 58%, #fff); }
.shop-category-window-fallback svg { width: 74px; height: 74px; opacity: 0.62; }
.shop-category-window-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 3, 11, 0.02) 0%, rgba(4, 3, 11, 0.04) 29%, rgba(5, 4, 14, 0.54) 57%, rgba(5, 4, 14, 0.95) 82%, #05040d 100%); }
.shop-category-window-index { position: absolute; left: 20px; top: 15px; color: rgba(255, 255, 255, 0.72); font-size: 1.78rem; font-weight: 950; line-height: 1; letter-spacing: -0.08em; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.66); }
.shop-category-window-copy { position: absolute; top: 50%; right: 0; display: grid; align-content: center; justify-items: start; gap: 7px; width: 48%; min-height: 100%; padding: 24px 24px; transform: translateY(-50%); }
.shop-category-window-kicker { color: color-mix(in srgb, var(--cat-accent) 72%, #fff); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.16em; text-transform: uppercase; }
.shop-category-window-icon { display: grid; width: 45px; height: 45px; margin-bottom: 2px; place-items: center; border: 1px solid color-mix(in srgb, var(--cat-accent) 54%, rgba(255, 255, 255, 0.17)); border-radius: 14px; background: linear-gradient(145deg, color-mix(in srgb, var(--cat-accent) 34%, rgba(255, 255, 255, 0.05)), rgba(8, 7, 20, 0.82)); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.19); color: #fff; }
.shop-category-window-icon svg { width: 25px; height: 25px; }
.shop-category-window-copy strong { color: #fff; font-size: clamp(1.5rem, 2.7vw, 2rem); font-weight: 950; line-height: 1.02; letter-spacing: -0.045em; text-shadow: 0 3px 20px rgba(0, 0, 0, 0.6); }
.shop-category-window-copy small { display: -webkit-box; overflow: hidden; color: #cfd5e9; font-size: 0.79rem; line-height: 1.58; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.shop-category-window-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 5px; padding: 8px 13px; border: 1px solid color-mix(in srgb, var(--cat-accent) 45%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--cat-accent) 13%, rgba(8, 7, 20, 0.58)); color: #fff; font-size: 0.78rem; font-weight: 800; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.shop-category-window-cta i { font-style: normal; color: color-mix(in srgb, var(--cat-accent) 55%, #fff); transition: transform 0.25s ease; }
.shop-category-window-card:hover .shop-category-window-cta i { transform: translateX(4px); }

.shop-category-window-page { display: grid; gap: 15px; min-width: 0; --shop-text: #f7f5ff; --shop-muted: #9aa6c4; }
.shop-category-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; }
.shop-category-topbar .shop-back { margin: 0; }
.shop-category-topbar-meta { display: flex; align-items: center; gap: 8px; margin-left: auto; padding: 6px 11px; border: 1px solid rgba(148, 163, 184, 0.14); border-radius: 999px; background: rgba(12, 12, 28, 0.56); color: #8794b5; font-size: 0.78rem; }
.shop-category-topbar-meta span { display: inline-flex; align-items: center; gap: 6px; }
.shop-category-topbar-meta i { width: 6px; height: 6px; border-radius: 50%; background: var(--cat-accent); box-shadow: 0 0 11px var(--cat-accent); }
.shop-category-topbar-meta strong { color: #fff; font-size: 0.81rem; }
.shop-category-task-button { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid rgba(34, 211, 238, 0.26); border-radius: 999px; background: rgba(8, 30, 38, 0.62); color: #a5f3fc; font: inherit; font-size: 0.78rem; font-weight: 750; cursor: pointer; transition: border-color 0.22s ease, background 0.22s ease; }
.shop-category-task-button:hover { border-color: rgba(34, 211, 238, 0.58); background: rgba(8, 43, 52, 0.78); }
.shop-category-task-button b { padding: 2px 5px; border-radius: 6px; background: rgba(34, 211, 238, 0.16); font-size: 0.78rem; font-variant-numeric: tabular-nums; }

.shop-category-hero { isolation: isolate; position: relative; overflow: hidden; display: flex; align-items: center; min-height: 382px; border: 1px solid color-mix(in srgb, var(--cat-accent) 42%, rgba(255, 255, 255, 0.07)); border-radius: 22px; background: #070711; box-shadow: 0 28px 68px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.09); }
.shop-category-hero-media { position: absolute; inset: 0; z-index: -3; }
.shop-category-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(0.94) contrast(1.02) saturate(1.06); }
.shop-category-hero-fallback { display: grid; height: 100%; place-items: center; background: radial-gradient(circle at 27% 45%, color-mix(in srgb, var(--cat-accent) 36%, transparent), transparent 42%), linear-gradient(126deg, #1b1537, #070711 70%); color: color-mix(in srgb, var(--cat-accent) 58%, #fff); }
.shop-category-hero-fallback svg { width: 116px; height: 116px; opacity: 0.48; }
.shop-category-hero-veil { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(4, 3, 11, 0.01) 0%, rgba(4, 3, 11, 0.02) 32%, rgba(5, 4, 14, 0.34) 51%, rgba(5, 4, 14, 0.9) 71%, rgba(5, 4, 14, 0.98) 88%, #05040d 100%), linear-gradient(0deg, rgba(5, 4, 14, 0.52), transparent 34%); }
.shop-category-hero-grid { position: absolute; inset: 0; z-index: -1; opacity: 0.1; background-image: linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg, transparent 46%, black 100%); }
.shop-category-hero-orb { position: absolute; right: 2%; top: -120px; z-index: -1; width: 360px; height: 360px; border-radius: 50%; background: color-mix(in srgb, var(--cat-accent) 24%, transparent); filter: blur(68px); }
.shop-category-hero-copy { position: relative; z-index: 1; display: grid; justify-items: start; gap: 10px; width: min(43%, 545px); margin-left: auto; padding: 32px 36px 32px 20px; }
.shop-category-hero-kicker { color: color-mix(in srgb, var(--cat-accent) 72%, #fff); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.17em; text-transform: uppercase; }
.shop-category-hero-icon { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid color-mix(in srgb, var(--cat-accent) 60%, rgba(255, 255, 255, 0.18)); border-radius: 18px; background: linear-gradient(145deg, color-mix(in srgb, var(--cat-accent) 40%, rgba(255, 255, 255, 0.08)), rgba(8, 7, 20, 0.82)); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32), 0 0 30px color-mix(in srgb, var(--cat-accent) 22%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.22); color: #fff; }
.shop-category-hero-icon svg { width: 31px; height: 31px; }
.shop-category-hero-copy h1 { margin: 0; color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.55rem); font-weight: 950; line-height: 0.98; letter-spacing: -0.06em; text-shadow: 0 4px 28px rgba(0, 0, 0, 0.68); }
.shop-category-hero-copy > p { margin: 0; color: #d7dced; font-size: 0.98rem; font-weight: 600; line-height: 1.72; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72); }
.shop-category-hero-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 3px; }
.shop-category-hero-stats span { padding: 6px 10px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 9px; background: rgba(7, 6, 18, 0.56); color: #aeb8d3; font-size: 0.78rem; backdrop-filter: blur(10px); }
.shop-category-hero-stats b { margin-right: 3px; color: #fff; font-size: 0.9rem; }
.shop-category-hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 3px; }
.shop-category-hero-actions .shop-purple-button { min-width: 218px; min-height: 52px; font-size: 1.01rem; }
.shop-category-ghost-button { padding: 12px 17px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; background: rgba(9, 8, 22, 0.46); color: #ece8ff; font: inherit; font-size: 0.86rem; font-weight: 750; cursor: pointer; backdrop-filter: blur(10px); transition: border-color 0.22s ease, background 0.22s ease; }
.shop-category-ghost-button:hover { border-color: color-mix(in srgb, var(--cat-accent) 60%, rgba(255, 255, 255, 0.3)); background: color-mix(in srgb, var(--cat-accent) 13%, rgba(9, 8, 22, 0.68)); }

.shop-category-switcher { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; padding: 7px; border: 1px solid rgba(148, 163, 184, 0.11); border-radius: 19px; background: linear-gradient(180deg, rgba(14, 13, 31, 0.72), rgba(7, 7, 18, 0.48)); }
.shop-category-switch { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 10px 11px; border: 1px solid rgba(148, 163, 184, 0.14); border-radius: 13px; background: rgba(255, 255, 255, 0.025); color: #e6e0ff; font: inherit; text-align: left; cursor: pointer; transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease; }
.shop-category-switch:hover { border-color: color-mix(in srgb, var(--cat-accent) 50%, rgba(255, 255, 255, 0.12)); background: color-mix(in srgb, var(--cat-accent) 8%, rgba(255, 255, 255, 0.025)); transform: translateY(-2px); }
.shop-category-switch.is-active { border-color: color-mix(in srgb, var(--cat-accent) 68%, rgba(255, 255, 255, 0.18)); background: linear-gradient(145deg, color-mix(in srgb, var(--cat-accent) 20%, rgba(20, 18, 42, 0.9)), rgba(9, 8, 22, 0.94)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), 0 0 24px color-mix(in srgb, var(--cat-accent) 14%, transparent); }
.shop-category-switch-icon { display: grid; flex: none; width: 34px; height: 34px; place-items: center; border: 1px solid color-mix(in srgb, var(--cat-accent) 38%, transparent); border-radius: 10px; background: color-mix(in srgb, var(--cat-accent) 12%, rgba(10, 9, 24, 0.82)); color: #fff; }
.shop-category-switch-icon svg { width: 20px; height: 20px; }
.shop-category-switch > span:last-child { display: grid; min-width: 0; gap: 2px; }
.shop-category-switch strong { overflow: hidden; color: #f7f5ff; font-size: 0.9rem; text-overflow: ellipsis; white-space: nowrap; }
.shop-category-switch small { color: #8490ad; font-size: 0.78rem; }
.shop-category-switch.is-active small { color: color-mix(in srgb, var(--cat-accent) 54%, #fff); }

.shop-category-products { display: grid; gap: 14px; padding: 19px; border: 1px solid rgba(124, 92, 255, 0.2); border-radius: 20px; background: linear-gradient(145deg, rgba(18, 17, 39, 0.9), rgba(8, 8, 20, 0.93)); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.04); scroll-margin-top: 88px; }
.shop-category-products-head { align-items: center; }
.shop-category-products-head p { margin: 3px 0 0; color: #8490ad; font-size: 0.78rem; line-height: 1.6; }
.shop-category-products-head .eyebrow { color: color-mix(in srgb, var(--cat-accent) 62%, #fff); }
.shop-category-empty { min-height: 240px; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--cat-accent) 10%, transparent), transparent 52%); }
.shop-category-description { display: grid; gap: 8px; padding: 20px 22px; border: 1px solid rgba(148, 163, 184, 0.14); border-radius: 18px; background: linear-gradient(145deg, rgba(17, 16, 36, 0.84), rgba(8, 8, 20, 0.9)); }
.shop-category-description .eyebrow { color: color-mix(in srgb, var(--cat-accent) 62%, #fff); }
.shop-category-description h2 { margin: 0; color: #f4f1ff; font-size: 1.17rem; }
.shop-category-description p { margin: 0; color: #a8b2cc; font-size: 0.86rem; line-height: 1.78; }

.shop-page-category-switcher { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.shop-page-category-switch { min-height: 82px; padding: 13px 14px; }
.shop-page-category-switch strong { font-size: 1.06rem; }
.shop-page-category-switch small { font-size: 0.78rem; }
.shop-page-category-switch-icon { width: 39px; height: 39px; border-radius: 12px; }
.shop-page-category-switch-icon svg { width: 23px; height: 23px; }
.shop-page-level-badge { padding: 7px 13px; border: 1px solid rgba(34, 211, 238, 0.32); border-radius: 999px; background: rgba(34, 211, 238, 0.09); color: #a5f3fc; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; }
.shop-page-point-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.shop-page-category-cover { position: relative; overflow: hidden; min-height: 168px; border: 1px solid color-mix(in srgb, var(--cat-accent) 34%, rgba(148, 163, 184, 0.15)); border-radius: 16px; background: #090812; }
.shop-page-category-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.72) saturate(1.05); }
.shop-page-category-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 4, 13, 0.12), rgba(5, 4, 13, 0.75)); }
.shop-page-category-cover > span { position: absolute; right: 22px; bottom: 18px; z-index: 1; display: grid; gap: 4px; text-align: right; }
.shop-page-category-cover b { color: #fff; font-size: 1.51rem; font-weight: 950; text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72); }
.shop-page-category-cover small { color: color-mix(in srgb, var(--cat-accent) 60%, #fff); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; }
.shop-page-point-grid article { padding: 14px 15px; border: 1px solid rgba(148, 163, 184, 0.14); border-radius: 13px; background: rgba(255, 255, 255, 0.025); }
.shop-page-point-grid strong { display: block; margin-bottom: 5px; color: #f5f2ff; font-size: 0.9rem; }
.shop-page-point-grid p { margin: 0; color: #98a4bf; font-size: 0.78rem; line-height: 1.65; }
.shop-page-notes ol { display: grid; gap: 7px; margin: 0; padding-left: 1.2rem; color: #a8b2cc; font-size: 0.83rem; line-height: 1.7; }
.shop-page-notes li::marker { color: color-mix(in srgb, var(--cat-accent) 70%, #fff); font-weight: 900; }

.shop-page-hero-stage { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.shop-page-hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 0.85s ease, transform 9s linear;
  will-change: opacity, transform;
}
.shop-page-hero-slide.is-active { opacity: 1; transform: scale(1.002); }
.shop-page-hero-slide img { width: 100%; height: 100%; object-fit: cover; }

.shop-page-hero-rail {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 4;
  display: grid;
  gap: 8px;
  width: min(38%, 500px);
  pointer-events: auto;
}
.shop-page-hero-rail-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: #c9c2e8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.shop-page-hero-rail-head b {
  padding: 3px 8px;
  border: 1px solid rgba(196, 181, 253, 0.35);
  border-radius: 999px;
  background: rgba(12, 9, 28, 0.62);
  color: #f3ebff;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}
.shop-page-hero-thumbs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.shop-page-hero-thumbs::-webkit-scrollbar { display: none; }
.shop-page-hero-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 58px;
  height: 40px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: #0a0914;
  cursor: pointer;
  transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.shop-page-hero-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62) saturate(0.9);
  transition: filter 0.3s ease, transform 0.5s ease;
}
.shop-page-hero-thumb span {
  position: absolute;
  left: 5px;
  bottom: 3px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 6px #000;
}
.shop-page-hero-thumb:hover { border-color: rgba(196, 181, 253, 0.6); transform: translateY(-2px); }
.shop-page-hero-thumb.is-active {
  width: 92px;
  border-color: color-mix(in srgb, var(--cat-accent) 82%, #fff 8%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--cat-accent) 42%, transparent), 0 10px 26px rgba(0, 0, 0, 0.5);
}
.shop-page-hero-thumb:hover img,
.shop-page-hero-thumb.is-active img { filter: brightness(1) saturate(1.06); transform: scale(1.04); }
.shop-page-hero-caption {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(10, 8, 24, 0.82), rgba(10, 8, 24, 0.52));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}
.shop-page-hero-caption > div { display: grid; flex: 1; gap: 1px; min-width: 0; }
.shop-page-hero-caption small {
  color: color-mix(in srgb, var(--cat-accent) 62%, #fff);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.shop-page-hero-caption strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shop-page-hero-caption > span { color: #e9e2ff; font-size: 0.78rem; font-weight: 800; white-space: nowrap; }
.shop-page-hero-open {
  flex: none;
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--cat-accent) 55%, transparent);
  border-radius: 9px;
  background: color-mix(in srgb, var(--cat-accent) 20%, rgba(12, 9, 28, 0.72));
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.shop-page-hero-open:hover { border-color: color-mix(in srgb, var(--cat-accent) 80%, #fff); transform: translateY(-1px); }
.shop-page-hero-open:disabled { opacity: 0.45; cursor: default; transform: none; }
.shop-page-hero .shop-category-hero-copy { width: min(46%, 570px); }

@media (max-width: 980px) {
  .shop-page-category-switcher { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-page-point-grid { grid-template-columns: 1fr 1fr; }
  .shop-page-hero-rail { width: min(46%, 440px); }
}

@media (max-width: 640px) {
  .shop-page-category-switcher { grid-template-columns: 1fr 1fr; }
  .shop-page-point-grid { grid-template-columns: 1fr; }
  .shop-page-hero .shop-category-hero-copy { width: 100%; }
  .shop-page-hero-rail { display: none; }
}

@media (max-width: 980px) {
  .shop-category-window-grid { grid-template-columns: 1fr; }
  .shop-category-window-card { min-height: 224px; }
  .shop-category-hero-copy { width: 56%; }
  .shop-category-switcher { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .shop-category-portal-head { align-items: start; }
  .shop-category-portal-note { display: none; }
  .shop-category-window-card { min-height: 210px; }
  .shop-category-window-copy { width: 56%; padding: 18px 15px; }
  .shop-category-window-copy strong { font-size: 1.57rem; }
  .shop-category-window-copy small { -webkit-line-clamp: 2; font-size: 0.78rem; }
  .shop-category-window-icon { width: 38px; height: 38px; }
  .shop-category-hero { min-height: 360px; align-items: flex-end; }
  .shop-category-hero-media img { object-position: 35% center; }
  .shop-category-hero-veil { background: linear-gradient(180deg, rgba(4, 3, 11, 0.02), rgba(5, 4, 14, 0.12) 34%, rgba(5, 4, 14, 0.76) 68%, rgba(5, 4, 14, 0.98) 100%); }
  .shop-category-hero-copy { width: 100%; padding: 22px 16px 18px; background: linear-gradient(180deg, transparent, rgba(5, 4, 14, 0.44) 28%, rgba(5, 4, 14, 0.77)); }
  .shop-category-hero-copy h1 { font-size: 2.21rem; }
  .shop-category-hero-copy > p { font-size: 0.85rem; }
  .shop-category-hero-icon { width: 46px; height: 46px; border-radius: 14px; }
  .shop-category-hero-icon svg { width: 25px; height: 25px; }
  .shop-category-hero-actions { width: 100%; }
  .shop-category-hero-actions .shop-purple-button { width: 100%; min-width: 0; min-height: 48px; }
  .shop-category-ghost-button { flex: 1; }
  .shop-category-topbar-meta { display: none; }
  .shop-category-products { padding: 14px; }
  .shop-category-products-head { align-items: start; }
}

@media (max-width: 480px) {
  .shop-category-switcher { grid-template-columns: 1fr 1fr; padding: 5px; gap: 6px; }
  .shop-category-switch { padding: 8px; }
  .shop-category-switch-icon { width: 29px; height: 29px; }
  .shop-category-switch small { display: none; }
  .shop-category-window-card { min-height: 192px; }
  .shop-category-window-copy { width: 61%; }
  .shop-category-window-cta { padding: 7px 10px; font-size: 0.78rem; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-category-window-card,
  .shop-category-window-media img,
  .shop-category-window-cta i { animation: none !important; transition: none !important; }
}

/* 一级游戏卡：左侧全圆角画面、文字靠左排布并保留横向扫光。 */
.shop-page-window-grid {
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  padding: 0 clamp(4px, 1vw, 16px) 0 0;
}

.shop-page-window-card {
  min-height: clamp(286px, 25vw, 390px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--cat-accent) 36%, rgba(202, 184, 255, 0.26));
  border-radius: 999px 0 0 999px;
  background: #06050d;
  box-shadow:
    0 26px 64px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset,
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
  transform: translateZ(0);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.32s ease,
    box-shadow 0.36s ease;
}

.shop-page-window-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, transparent 48%, rgba(0, 0, 0, 0.18) 57%, rgba(0, 0, 0, 0.54) 67%, rgba(0, 0, 0, 0.83) 78%, rgba(0, 0, 0, 0.96) 89%, #000 100%);
}

.shop-page-window-card::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.shop-page-window-card::after {
  top: -45%;
  bottom: -45%;
  left: -32%;
  z-index: 3;
  width: 22%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(195, 173, 255, 0.06) 22%, rgba(255, 255, 255, 0.44) 50%, rgba(195, 173, 255, 0.08) 78%, transparent 100%);
  filter: blur(8px);
  opacity: 0;
  transform: translate3d(-220%, 0, 0) skewX(-18deg);
}

.shop-page-window-card:hover,
.shop-page-window-card:focus-visible {
  border-color: color-mix(in srgb, var(--cat-accent) 74%, #fff 12%);
  box-shadow:
    0 34px 84px rgba(0, 0, 0, 0.54),
    0 0 54px color-mix(in srgb, var(--cat-accent) 19%, transparent),
    0 0 0 1px rgba(255, 255, 255, 0.075) inset,
    0 1px 0 rgba(255, 255, 255, 0.18) inset;
  transform: translate3d(4px, -3px, 0);
}

.shop-page-window-card:hover::after,
.shop-page-window-card:focus-visible::after {
  animation: shop-page-glass-sweep 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

@keyframes shop-page-glass-sweep {
  0% { opacity: 0; transform: translate3d(-220%, 0, 0) skewX(-18deg); }
  12% { opacity: 0.92; }
  72% { opacity: 0.44; }
  100% { opacity: 0; transform: translate3d(680%, 0, 0) skewX(-18deg); }
}

.shop-page-window-card .shop-category-window-media img {
  object-position: center 42%;
  filter: brightness(0.98) contrast(1.04) saturate(1.11);
  transform: scale(1.008);
}

.shop-page-window-card:hover .shop-category-window-media img,
.shop-page-window-card:focus-visible .shop-category-window-media img {
  filter: brightness(1.07) contrast(1.04) saturate(1.18);
  transform: scale(1.045);
}

.shop-page-window-card .shop-category-window-veil {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.32) 22%, rgba(0, 0, 0, 0.04) 44%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.8) 76%, rgba(0, 0, 0, 0.98) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.46), transparent 36%);
}

.shop-page-window-heading {
  position: absolute;
  top: clamp(24px, 3.3vw, 42px);
  left: clamp(76px, 6.2vw, 104px);
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: 10px;
  width: min(33%, 340px);
  max-width: 340px;
  text-align: left;
}

.shop-page-window-heading .shop-category-window-kicker {
  padding: 8px 16px;
  border: 1px solid rgba(255, 237, 174, 0.3);
  border-radius: 999px;
  background: rgba(10, 8, 22, 0.58);
  color: #f5d884;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: none;
  backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.shop-page-window-heading strong {
  color: #fff;
  font-size: clamp(1.42rem, 2.05vw, 1.95rem);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.55), 0 6px 26px rgba(0, 0, 0, 0.9);
}

.shop-page-window-heading > small {
  color: rgba(240, 243, 255, 0.9);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7), 0 3px 16px rgba(0, 0, 0, 0.92);
}

.shop-page-window-card .shop-category-window-copy {
  right: clamp(28px, 4vw, 58px);
  left: auto;
  top: 50%;
  bottom: auto;
  z-index: 2;
  align-content: center;
  justify-items: end;
  gap: 19px;
  width: min(34%, 420px);
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  text-align: right;
  transform: translateY(-50%);
}

.shop-page-window-card .shop-category-window-copy > small {
  display: block;
  overflow: visible;
  padding-left: 0;
  border-left: 0;
  color: #fbfbff;
  font-size: clamp(0.86rem, 1.15vw, 1.02rem);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.07em;
  -webkit-line-clamp: unset;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.62), 0 4px 18px rgba(0, 0, 0, 0.9);
}

.shop-page-window-card .shop-category-window-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 286px);
  min-height: 62px;
  padding: 16px 25px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.45), transparent 28%),
    linear-gradient(135deg, color-mix(in srgb, var(--cat-accent) 82%, #a78bfa), color-mix(in srgb, var(--cat-accent) 66%, #4c1d95));
  color: #fff;
  font-size: 1.06rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 12px rgba(29, 12, 59, 0.45);
  box-shadow:
    0 18px 42px color-mix(in srgb, var(--cat-accent) 30%, rgba(0, 0, 0, 0.46)),
    0 0 32px color-mix(in srgb, var(--cat-accent) 20%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -12px 24px rgba(35, 14, 72, 0.3);
  transform: none;
  transition: filter 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.shop-page-window-card .shop-category-window-cta::before {
  content: '';
  position: absolute;
  inset: -65% -28%;
  z-index: -1;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.44) 49%, transparent 64%);
  opacity: 0;
  transform: translateX(-72%) rotate(8deg);
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.shop-page-window-card .shop-category-window-cta::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: inherit;
  pointer-events: none;
}

.shop-page-window-card .shop-category-window-cta b,
.shop-page-window-card .shop-category-window-cta i {
  position: relative;
  z-index: 1;
}

.shop-page-window-card .shop-category-window-cta i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 1.06rem;
  font-style: normal;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.shop-page-window-card:hover .shop-category-window-cta,
.shop-page-window-card:focus-visible .shop-category-window-cta {
  filter: brightness(1.1) saturate(1.07);
  box-shadow:
    0 22px 50px color-mix(in srgb, var(--cat-accent) 38%, rgba(0, 0, 0, 0.5)),
    0 0 44px color-mix(in srgb, var(--cat-accent) 30%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -12px 24px rgba(35, 14, 72, 0.26);
  transform: translateY(-2px) scale(1.012);
}

.shop-page-window-card:hover .shop-category-window-cta::before,
.shop-page-window-card:focus-visible .shop-category-window-cta::before {
  opacity: 1;
  animation: shop-page-cta-shimmer 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes shop-page-cta-shimmer {
  from { transform: translateX(-72%) rotate(8deg); }
  to { transform: translateX(72%) rotate(8deg); }
}

.shop-page-window-card:active .shop-category-window-cta {
  filter: brightness(0.94);
}

.shop-page-window-index {
  position: absolute;
  left: clamp(34px, 5vw, 88px);
  bottom: 26px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

@media (max-width: 980px) {
  .shop-page-window-card { min-height: 288px; }
  .shop-page-window-heading { left: 60px; width: min(36%, 320px); max-width: 320px; }
  .shop-page-window-card .shop-category-window-copy { right: 26px; width: min(36%, 330px); }
}

@media (max-width: 720px) {
  .shop-page-window-grid { padding-right: 0; }
  .shop-page-window-card {
    min-height: 372px;
    border-radius: 118px 0 0 118px;
  }
  .shop-page-window-heading {
    top: 28px;
    left: 56px;
    width: min(54%, 270px);
    max-width: 270px;
  }
  .shop-page-window-heading strong { font-size: 1.62rem; }
  .shop-page-window-card .shop-category-window-copy {
    right: 18px;
    left: auto;
    top: auto;
    bottom: 92px;
    width: min(62%, 280px);
    padding: 0;
    transform: none;
  }
  .shop-page-window-card .shop-category-window-cta { width: 100%; min-height: 48px; }
  .shop-page-window-index { display: none; }
}

@media (max-width: 480px) {
  .shop-page-window-card { min-height: 330px; border-radius: 62px 0 0 62px; }
  .shop-page-window-heading { left: 44px; width: min(58%, 220px); max-width: 220px; gap: 7px; }
  .shop-page-window-heading .shop-category-window-kicker { padding: 6px 11px; font-size: 0.78rem; }
  .shop-page-window-heading strong { font-size: 1.36rem; }
  .shop-page-window-heading > small { font-size: 0.78rem; }
  .shop-page-window-card .shop-category-window-copy { right: 14px; left: auto; bottom: 90px; width: calc(100% - 74px); gap: 10px; padding: 0; }
  .shop-page-window-card .shop-category-window-copy > small { font-size: 0.87rem; line-height: 1.55; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-page-window-card,
  .shop-page-window-card::after,
  .shop-page-window-card .shop-category-window-copy,
  .shop-page-window-card .shop-category-window-cta,
  .shop-page-window-card .shop-category-window-media img { animation: none !important; transition: none !important; }
}

/* 二级游戏页：沿用后台游戏海报，只保留简洁文案与商品入口。 */
.shop-page-hero-simple {
  min-height: clamp(350px, 38vw, 452px);
  border-color: color-mix(in srgb, var(--cat-accent) 28%, rgba(255, 255, 255, 0.1));
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.shop-page-hero-simple .shop-page-hero-stage img {
  object-position: center 42%;
  filter: brightness(0.97) contrast(1.03) saturate(1.04);
}

.shop-page-hero-simple .shop-category-hero-veil {
  background:
    linear-gradient(90deg, rgba(4, 3, 11, 0.02) 0%, rgba(4, 3, 11, 0.06) 38%, rgba(5, 4, 14, 0.48) 57%, rgba(5, 4, 14, 0.9) 76%, rgba(5, 4, 14, 0.98) 100%),
    linear-gradient(0deg, rgba(5, 4, 14, 0.34), transparent 36%);
}

.shop-page-hero-simple-copy {
  width: min(46%, 570px);
  gap: 12px;
  padding: 30px 38px 30px 18px;
}

.shop-page-hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 6px 13px;
  border: 1px solid rgba(255, 225, 145, 0.3);
  border-radius: 999px;
  background: rgba(9, 8, 22, 0.52);
  color: #f5d884;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}

.shop-page-hero-simple-copy h1 {
  font-size: clamp(2.45rem, 4.7vw, 4rem);
  line-height: 1.02;
  text-shadow: 0 3px 4px rgba(0, 0, 0, 0.42), 0 8px 30px rgba(0, 0, 0, 0.9);
}

.shop-page-hero-simple-copy > p {
  color: #f4f5ff;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.82);
}

.shop-page-hero-simple-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 3px 0 4px;
}

.shop-page-hero-simple-meta span {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(7, 6, 18, 0.46);
  color: #d9def1;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.shop-page-hero-simple-cta {
  min-width: 254px;
  min-height: 59px;
  padding: 14px 26px;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
}

@media (max-width: 980px) {
  .shop-page-hero-simple-copy { width: min(52%, 520px); padding-right: 28px; }
}

@media (max-width: 720px) {
  .shop-page-hero-simple { min-height: 430px; }
  .shop-page-hero-simple .shop-page-hero-stage img { object-position: 36% center; }
  .shop-page-hero-simple .shop-category-hero-veil {
    background: linear-gradient(180deg, rgba(4, 3, 11, 0.02) 0%, rgba(5, 4, 14, 0.1) 28%, rgba(5, 4, 14, 0.78) 64%, rgba(5, 4, 14, 0.98) 100%);
  }
  .shop-page-hero-simple-copy {
    width: 100%;
    gap: 9px;
    padding: 22px 17px 18px;
  }
  .shop-page-hero-simple-copy h1 { font-size: 2.38rem; }
  .shop-page-hero-simple-copy > p { font-size: 0.92rem; }
  .shop-page-hero-simple-cta { width: 100%; min-width: 0; min-height: 50px; }
}

/* ===== 甜蜜双排（粉色 ♥ 选项，全商品通用） ===== */
.sweet-duo {
  margin: 14px 0 4px;
  border: 1px solid rgba(255, 111, 170, 0.32);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(58, 16, 38, 0.72), rgba(18, 10, 22, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 30px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.sweet-duo-head {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  color: #ffe3ef;
  text-align: left;
  cursor: pointer;
}

.sweet-duo-head:focus-visible {
  outline: 2px solid rgba(255, 130, 180, 0.7);
  outline-offset: -2px;
}

.sweet-duo-heart {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(150deg, #ff7fb8, #ff4f8b);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(255, 79, 139, 0.35);
}

.sweet-duo-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.sweet-duo-copy strong {
  color: #fff;
  font-size: 15.5px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.sweet-duo-copy small {
  color: rgba(255, 205, 226, 0.72);
  font-size: 12.5px;
}

.sweet-duo-price {
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 1px solid rgba(255, 134, 182, 0.4);
  border-radius: 999px;
  background: rgba(255, 79, 139, 0.14);
  color: #ffb3d2;
  font-size: 13px;
  font-weight: 800;
}

.sweet-duo-arrow {
  flex: 0 0 auto;
  color: rgba(255, 190, 215, 0.65);
  font-size: 16px;
  transition: transform 160ms ease;
}

.sweet-duo.is-open .sweet-duo-arrow {
  transform: rotate(90deg);
}

.sweet-duo-body {
  padding: 2px 14px 14px;
  border-top: 1px solid rgba(255, 120, 170, 0.16);
}

.sweet-duo-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 0 2px;
}

.sweet-duo-mode {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 134, 182, 0.28);
  border-radius: 12px;
  background: rgba(255, 79, 139, 0.06);
  color: rgba(255, 220, 234, 0.82);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.sweet-duo-mode input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sweet-duo-mode span {
  font-size: 15px;
  font-weight: 900;
}

.sweet-duo-mode b {
  color: #ff9fca;
  font-size: 13.5px;
  font-weight: 900;
  white-space: nowrap;
}

.sweet-duo-mode.is-active,
.sweet-duo-mode:has(input:checked) {
  border-color: rgba(255, 111, 170, 0.85);
  background: linear-gradient(145deg, rgba(255, 79, 139, 0.32), rgba(160, 30, 85, 0.2));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 173, 207, 0.22) inset, 0 8px 18px rgba(255, 79, 139, 0.16);
}

.sweet-duo-mode.is-active b,
.sweet-duo-mode:has(input:checked) b {
  color: #fff5fa;
}

.sweet-duo-calls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0 6px;
}

.sweet-duo-calls label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 134, 182, 0.3);
  border-radius: 999px;
  background: rgba(255, 79, 139, 0.08);
  color: #ffd8e8;
  font-size: 13.5px;
  cursor: pointer;
}

.sweet-duo-calls input {
  accent-color: #ff4f8b;
  width: 15px;
  height: 15px;
}

.sweet-duo-calls label:has(input:checked) {
  border-color: rgba(255, 111, 170, 0.8);
  background: rgba(255, 79, 139, 0.24);
  color: #fff;
}

.sweet-duo-tip {
  margin: 2px 0 0;
  color: rgba(255, 206, 227, 0.75);
  font-size: 12.5px;
  line-height: 1.6;
}

.sweet-duo-legal {
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 176, 120, 0.22);
  border-radius: 12px;
  background: rgba(255, 176, 120, 0.06);
  color: rgba(255, 226, 205, 0.78);
  font-size: 12.5px;
  line-height: 1.65;
}
