/* =========================================================
   小软喵纯女电竞 · 展示端样式（粉紫可爱风）
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

:root {
  --brand: #9d5fc7;
  --brand-strong: #7f45a8;
  --brand-soft: rgba(157, 95, 199, 0.1);
  --brand-ring: rgba(157, 95, 199, 0.24);
  --on-brand: #ffffff;

  --accent: #ef7fae;
  --accent-strong: #e0568f;
  --accent-soft: rgba(239, 127, 174, 0.12);

  --bg: #fdf7fc;
  --surface: #ffffff;
  --surface-2: #faf0f9;
  --text: #3d2d4f;
  --text-2: #5b4a6d;
  --muted: #94839f;
  --line: #f2e6f5;

  --shadow-sm: 0 2px 6px rgba(110, 60, 140, 0.05);
  --shadow: 0 10px 26px -18px rgba(110, 60, 140, 0.45);
  --shadow-lg: 0 30px 60px -30px rgba(72, 32, 96, 0.45);

  --radius: 22px;
  --radius-lg: 26px;
  --header-h: 66px;

  color-scheme: light;
}

[data-theme='dark'] {
  --bg: #171021;
  --surface: #21162e;
  --surface-2: #2a1c3a;
  --text: #f2e8fa;
  --text-2: #d6c7e6;
  --muted: #a290b6;
  --line: rgba(255, 255, 255, 0.09);

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow: 0 10px 26px -18px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 30px 60px -30px rgba(0, 0, 0, 0.8);

  color-scheme: dark;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--accent-soft);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- 公告 ---------------- */
.notice {
  background: linear-gradient(90deg, #ffeef7, #f6ecff);
  border-bottom: 1px solid var(--line);
  color: #8a5fa5;
  font-size: 12.5px;
  text-align: center;
  padding: 8px 20px;
}

[data-theme='dark'] .notice {
  background: linear-gradient(90deg, rgba(239, 127, 174, 0.14), rgba(157, 95, 199, 0.16));
  color: #e7d6f5;
}

.notice-heart {
  margin-right: 6px;
  color: var(--accent);
}

.notice span:last-child {
  display: inline;
  vertical-align: bottom;
}

/* ---------------- 顶栏 ---------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(140deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand-soft);
}

.brand-logo.small {
  width: 34px;
  height: 34px;
  font-size: 14px;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text small {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
}

.btn-lg {
  height: 50px;
  padding: 0 28px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn-pink {
  background: linear-gradient(135deg, #ffa0c8, #ef6fa8);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(239, 111, 168, 0.85);
}

.btn-pink:hover {
  box-shadow: 0 16px 30px -12px rgba(239, 111, 168, 0.95);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #b072d8, #8b4cb4);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(139, 76, 180, 0.8);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
}

.btn-ghost:hover {
  border-color: var(--brand-ring);
  color: var(--brand);
}

.btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 78% 12%, #7b3fa6 0%, #4a2268 42%, #2a123e 100%);
  color: #fff;
  isolation: isolate;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(600px 300px at 82% 8%, rgba(255, 160, 210, 0.28), transparent 65%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 90px);
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.blob-1 {
  width: 380px;
  height: 380px;
  right: -80px;
  top: -120px;
  background: #ff8ec2;
}

.blob-2 {
  width: 320px;
  height: 320px;
  left: -100px;
  bottom: -160px;
  background: #8b5cf6;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
  align-items: center;
  gap: 24px;
  padding-top: 46px;
  padding-bottom: 56px;
}

.hero-copy {
  min-width: 0;
}

.hero-kicker {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 18px;
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0.005em;
  white-space: pre-line;
  background: linear-gradient(100deg, #ffffff 8%, #ffe0f0 52%, #ffb8da 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 8px 40px rgba(255, 130, 190, 0.35);
  filter: drop-shadow(0 2px 0 rgba(90, 40, 120, 0.35));
}

.hero-sub {
  margin: 0 0 26px;
  max-width: 520px;
  font-size: clamp(13.5px, 1.5vw, 15.5px);
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.82);
  white-space: pre-line;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-points {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-points li {
  position: relative;
  padding: 3px 12px 3px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-points li::before {
  content: '♡';
  position: absolute;
  left: 10px;
  top: 3px;
  color: #ffb3d6;
  font-size: 10px;
}

.hero-art {
  position: relative;
  justify-self: center;
  width: min(430px, 100%);
}

.hero-art::before {
  content: '';
  position: absolute;
  inset: -14px -10px -10px -14px;
  border-radius: 34px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.28), rgba(255, 160, 210, 0.18));
  filter: blur(18px);
  z-index: -1;
}

.hero-art img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 8%;
  border-radius: 30px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.85);
  transform: rotate(-1.6deg);
}

.hero-art::after {
  content: '♡';
  position: absolute;
  right: -6px;
  top: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #ffa0c8, #ef6fa8);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 10px 20px -8px rgba(239, 111, 168, 0.9);
}

/* ---------------- 目录 ---------------- */
.catalog {
  padding-top: 42px;
  padding-bottom: 20px;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.catalog-head {
  margin-bottom: 20px;
}

.search {
  position: relative;
  max-width: 560px;
}

.search svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 50px;
  padding: 0 46px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 14.5px;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.search input::placeholder {
  color: var(--muted);
}

.search input::-webkit-search-cancel-button {
  display: none;
}

.search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.search-clear:hover {
  background: var(--surface-2);
  color: var(--text);
}

.chips {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  display: flex;
  gap: 9px;
  overflow-x: auto;
  margin: 0 -20px;
  padding: 10px 20px 12px;
  background: linear-gradient(var(--bg) 68%, transparent);
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: none;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.16s ease;
}

.chip:hover {
  border-color: var(--brand-ring);
  color: var(--brand);
}

.chip.is-active {
  background: linear-gradient(135deg, #b072d8, #8b4cb4);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 20px -12px rgba(139, 76, 180, 0.9);
}

.chip .chip-num {
  margin-left: 6px;
  font-size: 11px;
  opacity: 0.6;
}

.result-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 12.5px;
}

.result-bar b {
  color: var(--accent-strong);
  font-weight: 700;
}

/* ---------------- 卡片 ---------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.24s ease;
  animation: cardIn 0.34s ease both;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 42px -26px rgba(110, 50, 150, 0.55);
}

.card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--surface-2);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(43, 20, 60, 0.42), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card:hover .card-media::after {
  opacity: 1;
}

.badge-inline {
  align-self: flex-start;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

.card-body {
  padding: 14px 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-sub {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.price {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.price .cur {
  font-size: 13px;
  font-weight: 700;
}

.price .unit {
  margin-left: 3px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

.price.is-ask {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-2);
}

.price-old {
  font-size: 11.5px;
  color: var(--muted);
  text-decoration: line-through;
}

.card-cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* 骨架 */
.skeleton {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.skeleton .sk-img {
  aspect-ratio: 3 / 4;
  background: linear-gradient(100deg, var(--surface-2) 30%, #fff 50%, var(--surface-2) 70%);
  background-size: 220% 100%;
  animation: shimmer 1.4s linear infinite;
}

.skeleton .sk-line {
  height: 12px;
  margin: 12px 15px;
  border-radius: 6px;
  background: var(--surface-2);
}

.skeleton .sk-line.short {
  width: 45%;
}

@keyframes shimmer {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -120% 0;
  }
}

/* ---------------- 空状态 ---------------- */
.empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
}

.empty-paw {
  font-size: 34px;
  margin-bottom: 8px;
  opacity: 0.6;
}

.empty h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-2);
}

.empty p {
  margin: 0;
  font-size: 13px;
}

/* ---------------- 妹宝阵容 ---------------- */
.companions {
  padding-top: 6px;
  padding-bottom: 26px;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.sec-sub {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.comp {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comp:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.comp-avatar {
  width: 78px;
  height: 78px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 27px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(150deg, #c78fe6, #ef8fb8);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.comp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comp-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.comp-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comp-top strong {
  font-size: 15px;
  font-weight: 800;
}

.comp-level {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}

.comp-tag {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.comp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 3px;
}

.comp-tag-item {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 10.5px;
}

.comp-no-voice {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--muted);
}

.voice-btn {
  margin-top: 8px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffa0c8, #ef6fa8);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 18px -12px rgba(239, 111, 168, 0.95);
  transition: transform 0.15s ease, background 0.15s ease;
}

.voice-btn:active {
  transform: scale(0.97);
}

.voice-btn.playing {
  background: linear-gradient(135deg, #b072d8, #8b4cb4);
}

.voice-btn .v-ico {
  font-size: 10px;
  line-height: 1;
}

.voice-btn .bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.voice-btn .bars i {
  width: 2px;
  height: 4px;
  border-radius: 2px;
  background: #fff;
  opacity: 0.9;
}

.voice-btn.playing .bars i {
  animation: vbar 0.9s ease-in-out infinite;
}

.voice-btn.playing .bars i:nth-child(2) {
  animation-delay: 0.18s;
}

.voice-btn.playing .bars i:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes vbar {
  0%,
  100% {
    height: 4px;
  }
  50% {
    height: 12px;
  }
}

/* ---------------- 首页海报轮播 ---------------- */
.banners {
  padding-top: 26px;
  padding-bottom: 6px;
}

.banner-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.banner-track::-webkit-scrollbar {
  display: none;
}

.banner {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.banner img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
}

.banner-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  background: linear-gradient(to top, rgba(30, 10, 40, 0.78), transparent);
  color: #fff;
}

.banner-cap strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.banner-cap span {
  font-size: 12.5px;
  opacity: 0.85;
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.banner-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  transition: all 0.2s ease;
}

.banner-dot.is-active {
  width: 18px;
  border-radius: 99px;
  background: var(--accent);
}

/* ---------------- VIP ---------------- */
.vip {
  padding-top: 12px;
  padding-bottom: 30px;
}

.vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.vip-card {
  position: relative;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.vip-card-img {
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: #0b0710;
  cursor: zoom-in;
}

.vip-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.vip-card:hover .vip-card-img img {
  transform: scale(1.03);
}

.vip-card-body {
  padding: 14px 16px 16px;
  border-top: 2px solid var(--vip-color, var(--brand));
}

.vip-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--vip-color, var(--brand));
}

.vip-thr {
  margin: 5px 0 10px;
  font-size: 11.5px;
  color: var(--muted);
}

.vip-perks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.vip-perks li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  color: var(--text-2);
}

.vip-perks li::before {
  content: '♡';
  position: absolute;
  left: 0;
  color: var(--vip-color, var(--accent));
  font-size: 10px;
  top: 4px;
}

.vip-lookup {
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.vip-lookup-row {
  display: flex;
  gap: 10px;
}

.vip-lookup-row input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  outline: none;
}

.vip-lookup-row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.vip-result {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface-2);
  font-size: 13px;
  line-height: 1.85;
}

.vip-result b {
  color: var(--accent-strong);
}

/* ---------------- 查看大图 ---------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(20, 8, 30, 0.92);
  backdrop-filter: blur(4px);
}

.lightbox img {
  max-width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

.lightbox-close {
  position: fixed;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.lightbox-hint {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  margin: 0;
  text-align: center;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
}

.qr-wrap img {
  cursor: zoom-in;
}

/* ---------------- 下单步骤 ---------------- */
.steps {
  padding-top: 26px;
  padding-bottom: 66px;
}

.steps-title {
  margin: 0 0 18px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 20px 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.step-num {
  display: inline-block;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #c78fe6, #ef8fb8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.step h3 {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 800;
}

.step p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------------- 页脚 ---------------- */
.footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fdf7fc, #f8ecf9);
  padding: 30px 0 34px;
  color: var(--muted);
  font-size: 12.5px;
}

[data-theme='dark'] .footer {
  background: linear-gradient(180deg, #171021, #1d1428);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.footer-brand strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.footer-note {
  margin: 4px 0 0;
  max-width: 640px;
  line-height: 1.75;
}

.footer-meta {
  margin: 0;
  font-size: 11.5px;
  opacity: 0.85;
}

/* ---------------- 详情 ---------------- */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
}

.sheet-mask {
  position: absolute;
  inset: 0;
  background: rgba(38, 16, 52, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 0.22s ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.sheet-panel {
  position: relative;
  width: min(880px, 94vw);
  max-height: 92vh;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: panelIn 0.26s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.sheet-head {
  flex: none;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.sheet-head-t {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
}

.round-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-2);
  transition: background 0.15s ease;
}

.round-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.round-btn:hover {
  background: var(--surface-2);
}

.round-btn.ghost {
  opacity: 0;
  pointer-events: none;
}

.sheet-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
  -webkit-overflow-scrolling: touch;
}

.detail-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.d-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.d-tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 11.5px;
  font-weight: 700;
}

.detail-card h2 {
  margin: 0 0 6px;
  font-size: clamp(19px, 2.6vw, 24px);
  line-height: 1.35;
  font-weight: 800;
}

.d-sub {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.d-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(120deg, #fff2f8, #f8eeff);
  border: 1px solid #fbe3f2;
  margin-bottom: 18px;
}

[data-theme='dark'] .d-price {
  background: rgba(239, 127, 174, 0.1);
  border-color: rgba(239, 127, 174, 0.2);
}

.d-price .price {
  font-size: 30px;
}

.d-price .price .cur {
  font-size: 15px;
}

.d-price .note {
  font-size: 12.5px;
  color: var(--muted);
}

.d-params {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.d-params dl {
  margin: 0;
  display: grid;
  grid-template-columns: 104px 1fr;
}

.d-params dt,
.d-params dd {
  margin: 0;
  padding: 9px 14px;
  font-size: 13px;
  line-height: 1.65;
  border-bottom: 1px solid var(--line);
}

.d-params dt {
  background: var(--surface-2);
  color: var(--muted);
  font-weight: 600;
}

.d-params dd {
  color: var(--text-2);
  word-break: break-word;
}

.d-params dl > dt:last-of-type,
.d-params dl > dd:last-of-type {
  border-bottom: 0;
}

.d-desc {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--text-2);
  white-space: pre-wrap;
  word-break: break-word;
}

/* 长图 */
.poster-block {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.poster-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.poster-head h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.poster-head h4::before {
  content: '';
  width: 4px;
  height: 15px;
  border-radius: 99px;
  background: linear-gradient(180deg, #c78fe6, #ef8fb8);
}

.zoom-btn {
  height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

.zoom-btn:hover {
  border-color: var(--brand-ring);
}

.poster {
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-2);
  cursor: zoom-in;
}

.poster img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.25s ease;
}

.poster.is-zoom {
  overflow: auto;
  max-height: 68vh;
  cursor: zoom-out;
}

.poster.is-zoom img {
  width: 190%;
  max-width: none;
}

.poster-hint {
  margin: 10px 0 0;
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
}

.sheet-cta {
  flex: none;
  padding: 12px 24px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  align-items: center;
}

.sheet-cta .btn {
  flex: 1;
  height: 50px;
  font-size: 15px;
  gap: 8px;
}

.cta-p {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cta-bar {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.45);
  margin: 0 4px;
}

/* ---------------- 联系弹窗 ---------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(38, 16, 52, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 0.2s ease both;
}

.modal-card {
  position: relative;
  width: min(360px, 100%);
  background: var(--surface);
  border-radius: 26px;
  padding: 26px 24px 22px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: panelIn 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.modal-close:hover {
  background: var(--surface-2);
  color: var(--text);
}

.modal-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
}

.modal-card > p {
  margin: 0 0 18px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

.qr-wrap {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.qr-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-wrap.is-empty {
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  padding: 20px;
  box-shadow: none;
}

.c-id {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--surface-2);
  margin-bottom: 12px;
  font-size: 13px;
}

.contact-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 14px;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.contact-tabs::-webkit-scrollbar {
  display: none;
}

.c-tab {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}

.c-tab strong {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}

.c-tab span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: var(--muted);
}

.c-tab em {
  font-style: normal;
  font-weight: 700;
  color: #2fb379;
}

.c-tab.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.c-note {
  margin: 0 0 12px;
  font-size: 11.5px;
  color: var(--muted);
}

.c-id span {
  color: var(--muted);
}

.c-id strong {
  font-size: 14px;
  letter-spacing: 0.02em;
}

.c-id button {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--brand);
  font-weight: 700;
}

.c-id button:hover {
  border-color: var(--brand);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 34px;
    padding-bottom: 40px;
  }

  .hero-art {
    order: -1;
    width: min(280px, 70%);
    margin: 0 auto;
  }

  .hero-art img {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-position: 50% 12%;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-points {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 58px;
  }

  .container {
    padding: 0 16px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
    font-size: 14px;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--brand-soft);
  }

  .brand-text strong {
    font-size: 14.5px;
  }

  .brand-text small {
    font-size: 10.5px;
  }

  .hero {
    border-radius: 0 0 26px 26px;
  }

  .hero-inner {
    padding-top: 26px;
    padding-bottom: 32px;
  }

  .hero-art {
    width: 168px;
  }

  .hero-art::after {
    width: 32px;
    height: 32px;
    font-size: 14px;
    right: -4px;
  }

  .hero-kicker {
    font-size: 9.5px;
    padding: 3px 10px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: 27px;
  }

  .hero-sub {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .btn-lg {
    height: 44px;
    padding: 0 20px;
    font-size: 14px;
  }

  .catalog {
    padding-top: 28px;
  }

  .search input {
    height: 46px;
    font-size: 14px;
  }

  .chips {
    margin: 0 -16px;
    padding: 8px 16px 10px;
  }

  .chip {
    height: 34px;
    padding: 0 15px;
    font-size: 12.5px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .card {
    border-radius: 16px;
  }

  .card-body {
    padding: 10px 11px 12px;
  }

  .card-title {
    font-size: 13px;
  }

  .card-sub {
    font-size: 11px;
    -webkit-line-clamp: 1;
  }

  .price {
    font-size: 17px;
  }

  .price .cur {
    font-size: 11px;
  }

  .price .unit {
    font-size: 10.5px;
  }

  .card-cta {
    display: none;
  }

  .badge-inline {
    font-size: 9.5px;
    padding: 1px 8px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .comp-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .banner img {
    aspect-ratio: 4 / 3;
  }

  .banner {
    border-radius: 20px;
  }

  .banner-cap {
    padding: 14px;
  }

  .vip-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .vip-lookup-row {
    flex-direction: column;
  }

  .vip-lookup-row .btn {
    width: 100%;
  }

  .comp {
    padding: 14px;
    border-radius: 18px;
  }

  .comp-avatar {
    width: 64px;
    height: 64px;
    font-size: 22px;
  }

  .step {
    padding: 16px 18px;
  }

  .step-num {
    font-size: 22px;
    margin-bottom: 6px;
  }

  .steps {
    padding-bottom: 50px;
  }

  /* 详情：全屏 */
  .sheet {
    display: block;
  }

  .sheet-mask {
    display: none;
  }

  .sheet-panel {
    position: fixed;
    inset: 0;
    width: 100%;
    max-height: none;
    border-radius: 0;
    animation: sheetUp 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  @keyframes sheetUp {
    from {
      transform: translateY(5%);
      opacity: 0;
    }
    to {
      transform: none;
      opacity: 1;
    }
  }

  .sheet-body {
    padding: 12px;
    padding-bottom: 20px;
  }

  .detail-card {
    padding: 16px;
    border-radius: 18px;
  }

  .poster-block {
    padding: 12px;
    border-radius: 18px;
  }

  .d-params dl {
    grid-template-columns: 92px 1fr;
  }

  .d-params dt,
  .d-params dd {
    padding: 8px 12px;
    font-size: 12.5px;
  }

  .sheet-cta .btn {
    height: 46px;
  }
}

@media (max-width: 380px) {
  .grid {
    gap: 10px;
  }

  .price {
    font-size: 15.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
