/* 首页 + 全局：纯黑背景、白字，交互色与家具商城搜索框黑色渐变一致 */

:root {
  /* 黑色渐变交互色（与家具商城搜索框一致） */
  --kw-gradient-interactive: linear-gradient(to right, #000000, #1a1a1a 15%, #2d2d2d 50%, #1a1a1a 85%, #000000);
  --kw-btn-bg: linear-gradient(to right, #000000, #1a1a1a 15%, #2d2d2d 50%, #1a1a1a 85%, #000000);
  --kw-btn-color: #ffffff;
  --kw-btn-border: 1px solid rgba(255, 255, 255, 0.12);
  --kw-btn-shadow: 0 0 16px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 255, 255, 0.06);
  --kw-nav-active: #ffffff;
  /* 各功能区块标题前短横线（橙） */
  --kw-section-accent-line: #f97316;

  /* 双导航栏高度 */
  --kw-top-nav-h: 56px;
  --kw-sub-nav-h: 44px;
  --kw-nav-total-h: calc(var(--kw-top-nav-h) + var(--kw-sub-nav-h));
}

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

html {
  font-size: 16px;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #000000;
  color: #ffffff;
}

body.page-home {
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 单页：固定视频背景 + 内容层内部滚动（document 滚动在 fixed 背景下易锁死） */
html.page-onepage-scroll,
html:has(body.page-onepage) {
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}
body.page-onepage .site-content {
  scroll-behavior: smooth;
}
body.page-onepage {
  display: block;
  position: relative;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
  background: transparent;
}
.scroll-section {
  min-height: 100vh;
  width: 100%;
  position: relative;
  z-index: 1;
  margin-bottom: 8rem;
  box-sizing: border-box;
}
.site-footer-section .site-footer { margin: 0; }

/* 全站共享视频背景：仅背景层，绝不包裹页面内容 */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
/* 默认内容容器 */
.site-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}
/* 单页：内容层为唯一纵向滚动容器 */
body.page-onepage .site-content {
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

/* ========== 双导航栏（所有页面固定）========== */
.kw-top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--kw-top-nav-h);
  z-index: 9999;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kw-top-nav-inner {
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  overflow-x: auto;
}

.kw-top-nav-item {
  flex: 0 0 auto;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

.kw-top-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.kw-top-auth-btn {
  margin-left: auto;
  flex: 0 0 auto;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 10px;
  border-radius: 9999px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.kw-top-auth-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.kw-sub-nav {
  position: fixed;
  top: var(--kw-top-nav-h);
  left: 0;
  right: 0;
  height: var(--kw-sub-nav-h);
  z-index: 9999;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.kw-sub-nav-inner {
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  overflow-x: auto;
}

.kw-sub-nav-item {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 9999px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.kw-sub-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.kw-sub-nav-item-active {
  color: #fff;
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.5);
}

/* 给固定导航留出空间（避免遮挡页面内容） */
.site-content {
  padding-top: var(--kw-nav-total-h);
}
.scroll-section-home .page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Canvas 全屏固定背景（其他页面用） */
#bg-canvas.bg-interaction {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: -1;
}
/* 单页只用视频背景，隐藏自动生成的 Canvas 绘图 */
body.page-onepage #bg-canvas.bg-interaction { display: none; }

.page-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 16px;
}

/* 主视觉区：垂直居中，与截图一致；轻微毛玻璃 */
.hero {
  text-align: center;
  max-width: 90vw;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 32px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* 主标题 KYNOWELL：大号、粗体、白字、字间距（再大三号） */
.hero-logo {
  margin: 0;
  font-size: clamp(3.2rem, 11vw, 6rem);
  font-weight: 800;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
}

/* 副标题：略小、字间距、白字 */
.hero-subtitle {
  margin: 18px 0 0 0;
  font-size: clamp(0.65rem, 2vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.95;
}

/* 主按钮：黑色渐变交互色（与家具商城搜索框一致） */
.hero-btn {
  margin-top: 42px;
  padding: 14px 48px;
  font-size: clamp(0.8rem, 2.2vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--kw-btn-color);
  background: var(--kw-btn-bg);
  border: var(--kw-btn-border);
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: var(--kw-btn-shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-btn:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6), 0 0 32px rgba(255, 255, 255, 0.08);
}

.hero-btn:active {
  transform: scale(0.98);
}

.hero-btn span { display: block; }
.hero-btn-sub {
  margin-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: none;
  opacity: 0.9;
}

/* 响应式：手机端适当缩小间距与字号（已有 clamp） */
@media (max-width: 768px) {
  .hero-logo {
    letter-spacing: 0.2em;
  }

  .hero-subtitle {
    letter-spacing: 0.2em;
    margin-top: 14px;
  }

  .hero-btn {
    margin-top: 36px;
    padding: 12px 36px;
    letter-spacing: 0.15em;
  }
  .hero-btn-sub { font-size: 0.66rem; }
}

/* ========== 比赛页 challenge.html ========== */
body.page-challenge {
  min-height: 100vh;
  color: #ffffff;
  background: #060b3d;
}
body.page-challenge .site-content {
  z-index: 1;
}
.challenge-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px 56px;
}
.challenge-poster {
  border-radius: 0;
  overflow: hidden;
  margin: 0 -16px 18px;
}
.challenge-poster-panel {
  position: relative;
  overflow: hidden;
}
.challenge-poster-top {
  min-height: 82vh;
  padding: 22px 14px 32px;
  background:
    radial-gradient(120% 70% at 95% 95%, rgba(31, 110, 255, 0.7) 0, rgba(8, 14, 79, 0) 55%),
    linear-gradient(180deg, #1f52ff 0%, #0f2eb8 45%, #082a9b 100%);
}
.challenge-poster-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(140px 96px at 52% 14%, rgba(4, 2, 80, 0.95) 0 85%, transparent 86%),
    radial-gradient(140px 96px at 52% 30%, rgba(4, 2, 80, 0.95) 0 85%, transparent 86%),
    radial-gradient(140px 96px at 52% 46%, rgba(4, 2, 80, 0.95) 0 85%, transparent 86%),
    radial-gradient(140px 96px at 52% 74%, rgba(4, 2, 80, 0.95) 0 85%, transparent 86%),
    radial-gradient(140px 96px at 52% 89%, rgba(4, 2, 80, 0.95) 0 85%, transparent 86%);
  filter: blur(1px);
}
.challenge-poster-top > * { position: relative; z-index: 1; }
.challenge-brand {
  display: inline-block;
  margin: 2px 0 80px;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  background: rgba(255,255,255,0.9);
  color: #00103f;
  padding: 2px 6px;
  border-radius: 4px;
}
.challenge-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 8.5vw, 4.4rem);
  line-height: 0.95;
}
.challenge-subtitle {
  margin: 18px 0 0;
  font-size: clamp(1.6rem, 4.4vw, 2.2rem);
  font-weight: 700;
}
.challenge-date {
  margin: 18px 0 8px;
  font-size: 0.95rem;
  opacity: 0.92;
}
.challenge-wordmark {
  font-size: clamp(2.4rem, 9vw, 5rem);
  letter-spacing: 0.08em;
  font-weight: 800;
  opacity: 0.95;
}
.challenge-poster-mid {
  min-height: 44vh;
  background: linear-gradient(180deg, #eceff5 0%, #d6dbe5 100%);
  color: #0d2b92;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.challenge-mid-kicker {
  margin: 0;
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  opacity: 0.55;
}
.challenge-mid-time {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}
.challenge-mid-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0d2b92;
  font-size: 1.3rem;
  line-height: 1;
}
.challenge-poster-bottom {
  min-height: 50vh;
  background:
    radial-gradient(50% 50% at 20% 45%, rgba(0,0,0,0.45), transparent 75%),
    radial-gradient(50% 50% at 88% 20%, rgba(49, 114, 255, 0.9), transparent 75%),
    linear-gradient(180deg, #d8dde7 0%, #b4bbcb 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 28px 24px;
}
.challenge-welcome-arrow {
  font-size: clamp(3rem, 8vw, 4rem);
  line-height: 1;
}
.challenge-welcome-text {
  margin-top: 6px;
  font-size: clamp(2rem, 6.5vw, 3.2rem);
  font-weight: 700;
}
.challenge-welcome-sub {
  margin-top: 2px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  opacity: 0.82;
}
.challenge-intro,
.challenge-awards,
.challenge-judging,
.challenge-flow,
.challenge-week,
.challenge-more,
.challenge-sponsor {
  margin-top: 22px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 18px;
  padding: 20px 16px;
  background: transparent; /* 去掉毛玻璃上的蓝色涂层 */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.challenge-page h2 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}
.challenge-page h2 span {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.75;
}
.challenge-page h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}
.challenge-page p,
.challenge-page li {
  margin: 0 0 10px;
  line-height: 1.72;
  color: rgba(255,255,255,0.9);
}
.challenge-award-grid {
  display: grid;
  gap: 12px;
}
.challenge-award-card {
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 14px 12px;
  background: rgba(255,255,255,0.05);
}
.challenge-judging ol {
  margin: 0;
  padding-left: 20px;
}
.challenge-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: 10px;
}
.challenge-step {
  border-radius: 12px;
  padding: 12px 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  text-align: center;
}
.challenge-step span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 8px;
  background: #ffffff;
  color: #0f2eb8;
  font-weight: 700;
}
.challenge-step p { margin: 0; font-size: 0.9rem; }
.challenge-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 12px;
}
.challenge-link-row code {
  display: inline-block;
  padding: 8px 10px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
}
#challenge-copy-btn {
  border: none;
  border-radius: 10px;
  padding: 9px 14px;
  font-weight: 600;
  cursor: pointer;
  color: #02120b;
  background: linear-gradient(90deg, #00ff95, #00d084);
}
.challenge-sponsor-placeholder {
  min-height: 100px;
  border: 1px dashed rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.76);
}
.challenge-footer {
  text-align: center;
  padding: 26px 16px 34px;
  border-top: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.38);
}
.challenge-footer p {
  margin: 0 0 6px;
  color: rgba(255,255,255,0.9);
}
.challenge-footer a {
  color: #4cffba;
  text-decoration: none;
}
@media (max-width: 900px) {
  .challenge-timeline { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
}

/* 首页功能入口 + 尾页 */
.home-wrapper { padding-bottom: 40px; }
body.page-home { min-height: 100vh; overflow-x: hidden; }
.home-nav { max-width: 900px; margin: 0 auto; padding: 48px 24px 32px; }
.home-nav-title { margin: 0 0 24px 0; font-size: 1.1rem; font-weight: 600; color: rgba(255,255,255,0.9); text-align: center; letter-spacing: 0.05em; }
.home-nav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .home-nav-grid { grid-template-columns: repeat(2, 1fr); } }
.home-nav-card { display: block; padding: 20px 16px; border-radius: 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: #fff; text-align: center; font-size: 0.95rem; font-weight: 500; text-decoration: none; transition: background 0.2s, border-color 0.2s; }
.home-nav-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }

/* ========== AI 设计页：按截图一比一还原 ========== */
body.page-ai {
  position: relative;
  z-index: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

.page-ai-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 24px 24px;
  max-width: none;
  margin: 0;
}

/* 跟屏幕对齐的大黑色外框（与全局黑色渐变交互一致） */
.ai-shell {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 48px);
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: visible;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 1px 0 0 rgba(255, 255, 255, 0.06),
    0 0 48px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(255, 255, 255, 0.03);
}

.ai-shell::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: 30%;
  bottom: 60%;
  border-radius: 28px 0 0 0;
  z-index: 0;
  background: linear-gradient(165deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.ai-shell::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: 0;
  bottom: 0;
  border-radius: 28px;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 12px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0%, transparent 14px);
  pointer-events: none;
}

.ai-shell > * {
  position: relative;
  z-index: 1;
}

/* 顶部标题面板：深灰、大圆角 */
.ai-top-panel {
  position: relative;
  margin-top: 0;
  padding: 28px 20px 28px 32px;
  background: #1a1a1a;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 120px;
}

.ai-home-link {
  position: absolute;
  left: 20px;
  top: 28px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.ai-home-link:hover { color: #fff; }

.ai-panel-accent {
  position: absolute;
  left: 20px;
  top: 52px;
  width: 24px;
  height: 3px;
  background: var(--kw-section-accent-line);
  border-radius: 2px;
}

.ai-panel-head {
  padding-left: 36px;
}

.ai-title {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.ai-subtitle {
  margin: 8px 0 0 0;
  font-size: 0.85rem;
  font-weight: 400;
  font-style: italic;
  color: #9ca3af;
  letter-spacing: 0.02em;
}

/* AI 区块：主标题下英文一行（字号介于标题与副标题之间） */
.ai-title-en-row {
  margin: 10px 0 0 0;
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  font-weight: 500;
  font-style: normal;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.06em;
}

/* 区块底部：中文一行 + 英文一行（英文更小） */
.kw-app-tip {
  margin-top: auto;
  padding-top: 20px;
  text-align: center;
}
.kw-app-tip-zh {
  display: block;
  font-size: clamp(0.88rem, 2.4vw, 1rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  margin: 0 0 6px 0;
}
.kw-app-tip-en {
  display: block;
  font-size: clamp(0.65rem, 1.8vw, 0.78rem);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.03em;
  line-height: 1.4;
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.ai-menu-dots {
  position: absolute;
  right: 20px;
  top: 28px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.ai-menu-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9ca3af;
}

/* 输入行 */
.ai-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.ai-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 18px;
}

.ai-input {
  flex: 1;
  background: none;
  border: none;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}

.ai-input::placeholder {
  color: #6b7280;
  font-style: italic;
}

.ai-input-icon {
  margin-left: 10px;
  font-size: 1rem;
  opacity: 0.7;
}

.ai-generate-btn {
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kw-btn-color);
  background: var(--kw-btn-bg);
  border: var(--kw-btn-border);
  border-radius: 16px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--kw-btn-shadow);
}

.ai-generate-btn:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), 0 0 28px rgba(255, 255, 255, 0.08);
}

/* 内容展示区：大圆角、黑色渐变边框（与搜索框交互一致） */
.ai-content-panel {
  position: relative;
  flex: 1;
  margin-top: 20px;
  min-height: 420px;
  background: #050505;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.04), 0 0 48px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ➕ 操作区：居中（不再做小框发光，整体发光由外框负责） */
.ai-drop-zone {
  position: relative;
  padding: 72px 48px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: transparent;
  border: none;
  box-shadow: none;
}
.ai-video-zone {
  width: 100%;
  max-width: 980px;
  min-height: 360px;
}
.ai-video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #050505;
}
.ai-app-tip {
  margin: 14px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.ai-plus-circle {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: #fff;
  box-shadow: none;
}
.ai-plus-circle:hover {
  box-shadow: none;
}

.ai-drop-text {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ca3af;
}

/* 通用隐藏 */
.hidden {
  display: none !important;
}

/* AI 页：已选家具缩略图（多家具组合） */
.ai-selected-thumbs-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px;
  z-index: 2;
}

.ai-selected-thumbs-wrap.hidden {
  display: none !important;
}

.ai-selected-thumbs-title {
  margin: 0 0 12px 0;
  font-size: 0.8rem;
  color: #9ca3af;
  letter-spacing: 0.02em;
}

.ai-selected-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ai-selected-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
  flex-shrink: 0;
}

.ai-selected-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-selected-thumb-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.ai-selected-thumb-remove:hover {
  background: rgba(200, 60, 60, 0.9);
}

/* AI 页：效果图 + 加入购物车（生成后显示） */
.ai-result-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px;
}
.ai-result-wrap.hidden {
  display: none !important;
}
.ai-result-img {
  max-width: 100%;
  max-height: 60vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}
.ai-add-to-cart-btn {
  padding: 12px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--kw-btn-color);
  background: var(--kw-btn-bg);
  border: var(--kw-btn-border);
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: var(--kw-btn-shadow);
}
.ai-add-to-cart-btn:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), 0 0 28px rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .page-ai-wrapper {
    padding: 16px;
  }

  .ai-shell {
    min-height: calc(100vh - 32px);
    padding: 18px 14px 18px;
    border-radius: 24px;
  }

  .ai-top-panel {
    margin-top: 16px;
    padding: 20px 16px 20px 28px;
    min-height: 100px;
  }

  .ai-panel-accent {
    left: 16px;
    top: 22px;
  }

  .ai-panel-head {
    padding-left: 28px;
  }

  .ai-menu-dots {
    right: 16px;
    top: 22px;
  }

  .ai-input-row {
    flex-direction: column;
    align-items: stretch;
    margin-top: 16px;
  }

  .ai-generate-btn {
    width: 100%;
  }

  .ai-content-panel {
    margin-top: 16px;
    min-height: 280px;
  }

  .ai-plus-circle {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .ai-drop-text {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-align: center;
    padding: 0 12px;
  }
}

/* ========== 家具商城页：按截图一一比一 ========== */
body.page-furniture {
  min-height: 100vh;
  overflow-x: hidden;
}

.furniture-wrapper {
  position: relative;
  z-index: 2;
  display: block; /* 覆盖 .page-wrapper 的 flex，使页面从上往下排 */
  min-height: 100vh;
  padding: 0 16px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.furniture-header {
  padding: 20px 0 16px;
  position: relative;
}

.furniture-brand {
  margin: 0 0 16px 0;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.furniture-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.filter-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #000;
  background: #fff;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.filter-icon {
  font-size: 0.9rem;
}

.furniture-search-wrap {
  margin: 16px 0 24px;
}

.furniture-search-wrap .hidden-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.furniture-search-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 0;
  border-radius: 9999px;
  background: transparent;
}

.furniture-search-camera {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--kw-btn-bg);
  border: var(--kw-btn-border);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

.furniture-search-camera:hover {
  box-shadow: var(--kw-btn-shadow);
}

.search-camera-icon {
  line-height: 1;
}

.furniture-search-inner {
  flex: 1;
  height: 40px;
  border-radius: 9999px;
  background: linear-gradient(to right, #000000, #1a1a1a 15%, #2d2d2d 50%, #1a1a1a 85%, #000000);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.4), 0 0 24px rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  padding: 0 18px;
}

.search-device,
.search-device-phone {
  width: 28px;
  height: 48px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.2);
  background: #0a0a0a;
  margin-right: 12px;
  flex-shrink: 0;
}
.search-device-phone { border-radius: 8px; }

.search-placeholder-text {
  margin-left: 16px;
  font-size: 0.9rem;
  color: #ffffff;
}

.furniture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.furniture-card {
  background: #111111;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  text-align: left;
  padding: 0 0 12px;
}

.furniture-card-selected .furniture-card-img-wrap {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.furniture-card-check {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 6px;
  background: rgba(0,0,0,0.3);
  z-index: 2;
}

.furniture-card-selected .furniture-card-check {
  background: rgba(255,255,255,0.9);
  border-color: #fff;
}

.furniture-card-selected .furniture-card-check::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #000;
  font-weight: 700;
}

.furniture-card-img-wrap {
  position: relative;
  border-radius: 24px 24px 16px 16px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #1a1a1a;
}
.furniture-card-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}
.furniture-card-carousel-inner {
  display: flex;
  height: 100%;
  transition: transform 0.25s ease;
}
.furniture-card-carousel-inner img {
  width: 100%;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
.furniture-card-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.furniture-card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  padding: 0;
  cursor: pointer;
}
.furniture-card-dot.active { background: #fff; }

.furniture-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  color: #333;
  font-size: 1rem;
  cursor: pointer;
}

.card-upgrade {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--kw-btn-color);
  background: var(--kw-btn-bg);
  border: var(--kw-btn-border);
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.furniture-card-name {
  margin: 10px 14px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.furniture-card-store {
  margin: 4px 14px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.furniture-price {
  margin: 6px 14px 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.furniture-card-actions {
  display: flex;
  gap: 8px;
  margin: 10px 14px 0;
  padding-bottom: 12px;
}
.furniture-card-actions .btn-consult,
.furniture-card-actions .btn-cart {
  flex: 1;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.furniture-card-actions .btn-consult:hover,
.furniture-card-actions .btn-cart:hover {
  background: rgba(255,255,255,0.12);
}
.furniture-card-actions .btn-cart {
  background: var(--kw-btn-bg);
  border: var(--kw-btn-border);
}
.furniture-card-actions .btn-cart:hover { box-shadow: var(--kw-btn-shadow); }

.furniture-load-more {
  margin: 18px 0 0;
  padding: 12px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.furniture-combo-bar {
  position: fixed;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.furniture-combo-bar.hidden {
  display: none !important;
}

.furniture-combo-count {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.furniture-combo-count strong {
  color: #fff;
}

.furniture-combo-btn {
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--kw-btn-color);
  background: var(--kw-btn-bg);
  border: var(--kw-btn-border);
  border-radius: 9999px;
  cursor: pointer;
}

.furniture-combo-btn:hover {
  box-shadow: var(--kw-btn-shadow);
}

.furniture-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
  z-index: 10;
}

.furniture-nav-item {
  flex: 1;
  max-width: 100px;
  padding: 10px 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.furniture-nav-item:hover,
.furniture-nav-item.furniture-nav-active {
  color: var(--kw-nav-active);
}
.furniture-app-tip {
  margin: 16px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}
.furniture-nav-item .nav-icon,
.videos-nav-item .nav-icon,
.cart-bottom-nav .nav-icon,
.messages-bottom-nav .nav-icon { display: block; font-size: 1.1rem; margin-bottom: 2px; }

@media (max-width: 768px) {
  .furniture-wrapper {
    padding-bottom: 72px;
  }

  .furniture-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .furniture-price {
    font-size: 1.1rem;
  }
}

/* ========== 视频列表页 videos.html（PC 3 列 / 手机 2 列 + 底部导航） ========== */
body.page-videos { min-height: 100vh; background: #000; color: #fff; }
.videos-wrapper { min-height: 100vh; padding: 24px 16px 80px; max-width: 1200px; margin: 0 auto; }
.videos-header { margin-bottom: 24px; }
.videos-title { margin: 0 0 4px 0; font-size: 1.5rem; font-weight: 700; }
.videos-sub { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) { .videos-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.videos-card { display: block; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); text-decoration: none; color: inherit; }
.videos-card-cover { aspect-ratio: 16/9; overflow: hidden; background: #1a1a1a; }
.videos-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.videos-card-title { margin: 10px 12px 4px; font-size: 0.9rem; font-weight: 600; }
.videos-card-duration { margin: 0 12px 12px; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.videos-load-more { min-height: 24px; }
.videos-loading.hidden, .videos-end.hidden { display: none !important; }
.videos-loading, .videos-end { text-align: center; padding: 24px; color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.videos-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; height: 64px; background: #000; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 8px; z-index: 10; }
.videos-nav-item { flex: 1; max-width: 100px; padding: 10px 6px; font-size: 0.75rem; font-weight: 500; color: rgba(255,255,255,0.7); text-align: center; text-decoration: none; }
.videos-nav-item:hover, .videos-nav-item.videos-nav-active { color: var(--kw-nav-active); }

/* ========== BOM 购物车页：按截图三 ========== */
body.page-bom {
  background: #222222;
  min-height: 100vh;
}

.bom-wrapper {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 20px 100px;
}

.bom-logo {
  display: inline-block;
  padding: 12px 24px;
  margin-bottom: 24px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #333;
  border-radius: 9999px;
  text-decoration: none;
}

.bom-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bom-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eee;
}

.bom-check-wrap {
  flex-shrink: 0;
  margin-top: 4px;
}

.bom-check {
  width: 22px;
  height: 22px;
  accent-color: #3b82f6;
  cursor: pointer;
}

.bom-card-img {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  background: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
}

.bom-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bom-card-info {
  flex: 1;
  min-width: 0;
}

.bom-title {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
}

.bom-desc {
  margin: 0 0 12px 0;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
}

.bom-opt {
  margin: 0 0 8px 0;
  font-size: 0.9rem;
  color: #666;
}

.bom-opt-label {
  display: inline-block;
  width: 48px;
  font-weight: 600;
  color: #333;
}

.bom-change {
  margin-left: 8px;
  padding: 0;
  font-size: 0.85rem;
  color: #0066cc;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}

.bom-item-price {
  margin: 12px 0 0 0;
  font-size: 0.9rem;
  color: #666;
}

.bom-card-right {
  flex-shrink: 0;
  text-align: right;
}

.bom-total {
  margin: 0 0 4px 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
}

.bom-shipping-note {
  margin: 0 0 8px 0;
  font-size: 0.8rem;
  color: #00a650;
}

.bom-shipping-fee {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}

.bom-summary {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(34, 34, 34, 0.98);
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 10;
}

.bom-deselect {
  padding: 0;
  font-size: 0.95rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

.bom-total-label {
  font-size: 1rem;
  color: #fff;
}

.bom-total-label strong {
  font-size: 1.2rem;
}

.bom-checkout {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #333;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

.bom-checkout:hover {
  background: #444;
}

/* ========== 消息页（客服回复买家）========== */
body.page-messages {
  min-height: 100vh;
  overflow-x: hidden;
}

.messages-wrapper {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 0 16px 80px;
  max-width: 600px;
  margin: 0 auto;
}

.messages-header {
  padding: 24px 0 20px;
}

.messages-title {
  margin: 0 0 6px 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.messages-desc {
  margin: 0;
  font-size: 0.9rem;
  color: #9ca3af;
}

.messages-list .message-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #1a1a1a;
  border-radius: 16px;
  margin-bottom: 12px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255,255,255,0.06);
}

.messages-list .message-item:hover {
  background: #222;
}

.message-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #333;
  color: var(--kw-nav-active);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
}

.message-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.message-name {
  font-weight: 600;
  color: #fff;
}

.message-preview {
  font-size: 0.85rem;
  color: #9ca3af;
}

.message-time {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}

.message-unread {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  flex-shrink: 0;
  margin-left: auto;
}

.chat-back {
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
}
.chat-back:hover { color: #fff; }

.messages-chat {
  display: flex;
  flex-direction: column;
  min-height: 50vh;
  padding-top: 16px;
}

.messages-chat.hidden {
  display: none !important;
}

.messages-list.hidden {
  display: none !important;
}

.chat-messages {
  flex: 1;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  padding: 10px 14px;
  border-radius: 12px;
  max-width: 85%;
  font-size: 0.95rem;
}

.chat-msg.system {
  align-self: center;
  background: rgba(255,255,255,0.06);
  color: #9ca3af;
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--kw-btn-bg);
  border: var(--kw-btn-border);
  color: var(--kw-btn-color);
}

.chat-msg.service {
  align-self: flex-start;
  background: rgba(255,255,255,0.08);
  color: #e5e5e5;
}

.chat-input-wrap {
  display: flex;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.chat-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #1a1a1a;
  color: #fff;
  font-size: 0.95rem;
}

.chat-send {
  padding: 12px 20px;
  border-radius: 12px;
  border: var(--kw-btn-border);
  background: var(--kw-btn-bg);
  color: var(--kw-btn-color);
  font-weight: 600;
  cursor: pointer;
}

.messages-bottom-nav,
.w-space-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
  z-index: 10;
}

.messages-nav-item,
.w-space-nav-item {
  flex: 1;
  max-width: 100px;
  padding: 10px 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #9ca3af;
  text-align: center;
  text-decoration: none;
}

.messages-nav-item:hover,
.w-space-nav-item:hover {
  color: var(--kw-nav-active);
}

.messages-nav-active,
.w-space-nav-active {
  color: var(--kw-nav-active);
}

/* ========== W窝页（截图一一比一：我的/个人中心）========== */
body.page-w-space {
  min-height: 100vh;
  overflow-x: hidden;
  background: #000;
}

.w-space-wrapper {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 0 0 80px;
  max-width: 600px;
  margin: 0 auto;
}

.w-space-header {
  padding: 20px 16px 24px;
  background: #000;
}

.w-space-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.w-space-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.w-space-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #333;
}

.w-space-user-info {
  flex: 1;
}

.w-space-username {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.w-space-meta {
  margin: 4px 0 0 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

.w-space-follow {
  color: var(--kw-nav-active);
}

.w-space-actions {
  position: absolute;
  top: 20px;
  right: 16px;
  display: flex;
  gap: 12px;
}

.w-space-action {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.w-space-action:hover {
  color: #fff;
}

.w-space-benefits {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 20px;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.w-space-benefits-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
}

.w-space-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #fff;
  font-size: 0.8rem;
}

.w-space-benefit-value {
  font-weight: 600;
  color: var(--kw-nav-active);
}

.w-space-all-rights {
  font-size: 0.8rem;
  color: #9ca3af;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.w-space-arrow {
  font-size: 1rem;
}

.w-space-orders {
  background: #fff;
  margin: 12px 16px 0;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.w-space-orders-title {
  margin: 0 0 14px 0;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
}

.w-space-orders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 8px;
}

.w-space-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  font-size: 0.75rem;
  color: #333;
  background: #f5f5f5;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
}

.w-space-order-btn:hover {
  background: #eee;
}

.w-space-products {
  padding: 20px 16px;
}

.w-space-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.w-space-product-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #1a1a1a;
}

.w-space-product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w-space-bottom-nav {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.w-space-nav-item {
  color: #9ca3af;
}

.w-space-nav-item:hover {
  color: var(--kw-nav-active);
}

.w-space-nav-active {
  color: var(--kw-nav-active) !important;
}

.w-space-badge {
  display: inline-block;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  padding: 0 4px;
  font-size: 0.65rem;
  color: #fff;
  background: #ef4444;
  border-radius: 8px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ========== 套餐页 price.html ========== */
body.page-price {
  min-height: 100vh;
  background: #000;
  color: #fff;
}

.price-wrapper {
  min-height: 100vh;
  padding: 40px 20px 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.price-hero {
  text-align: center;
  margin-bottom: 40px;
}

.price-hero-title {
  margin: 0 0 12px 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.price-hero-sub {
  margin: 0 0 24px 0;
  font-size: clamp(0.85rem, 2vw, 1rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.price-billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-toggle-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.price-toggle-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.price-toggle-btn:not(.active):hover {
  color: rgba(255, 255, 255, 0.9);
}

.price-badge-save {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  background: #3b82f6;
  border-radius: 9999px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

.price-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(24px) saturate(1.1);
  -webkit-backdrop-filter: blur(24px) saturate(1.1);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.price-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.06);
}

.price-card-dark {
  background: rgba(0, 0, 0, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.price-card-popular {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.price-card-popular:hover {
  box-shadow: 0 0 36px rgba(255, 255, 255, 0.14);
}

.price-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: #3b82f6;
  border-radius: 9999px;
}

.price-card-inner {
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price-card-title {
  margin: 0 0 8px 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.price-card-sub {
  margin: 0 0 20px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

.price-features {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  flex: 1;
}

.price-feature {
  margin-bottom: 10px;
  padding-left: 22px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}

.price-feature.yes::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  font-weight: 700;
}

.price-feature.no::before {
  content: "×";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
}

.price-feature.no {
  color: rgba(255, 255, 255, 0.5);
}

.price-btn {
  margin-top: auto;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-btn-black {
  color: #fff;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.price-btn-black:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.price-btn-white {
  color: #000;
  background: #fff;
  border: none;
}

.price-btn-white:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

.price-btn-gray {
  color: #fff;
  background: #2a2a2a;
  border: none;
}

.price-btn-gray:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.price-footer {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.price-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.price-footer-list li::before {
  content: "· ";
}

/* ========== AI 页：升级引导弹窗 + Toast ========== */
.ai-upgrade-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ai-upgrade-overlay.hidden {
  display: none !important;
}

.ai-upgrade-card {
  max-width: 360px;
  width: 100%;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-upgrade-title {
  margin: 0 0 12px 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.ai-upgrade-desc {
  margin: 0 0 24px 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.ai-upgrade-btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--kw-btn-bg);
  border: var(--kw-btn-border);
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.ai-upgrade-btn:hover {
  box-shadow: var(--kw-btn-shadow);
}

.ai-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 101;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 0.9rem;
  color: #fff;
  max-width: 90vw;
  animation: ai-toast-in 0.3s ease;
}

.ai-toast.hidden {
  display: none !important;
}

@keyframes ai-toast-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ========== 第三页：购物车 / 一键购买 ========== */
body.page-cart { min-height: 100vh; background: #000; color: #fff; }
.cart-wrapper { min-height: 100vh; padding: 0 20px 100px; max-width: 1100px; margin: 0 auto; }

/* 一键购买：一比一还原截图，黑色 + 霓虹绿渐变发光交互 */
.cart-wrapper.cart-onepage {
  padding: 0 24px;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.cart-onepage .cart-hero {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
/* 外框 = 电脑屏幕比例；大面板代表显示器 */
.cart-onepage .cart-hero-panel {
  position: relative;
  width: 82%;
  max-width: 1100px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 56px 0 56px 56px;
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    -8px 8px 32px rgba(0, 0, 0, 0.4),
    8px -8px 24px rgba(255, 255, 255, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.cart-onepage .cart-hero-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 29px;
  padding: 1px;
  background: linear-gradient(145deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 25%,
    transparent 50%,
    transparent 75%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.cart-onepage .cart-hero-card {
  flex: 1;
  min-width: 0;
  padding: 0 24px 0 0;
  background: none;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
}
.cart-onepage .cart-hero-title {
  margin: 0 0 6px 0;
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  font-weight: 700;
  color: #ffffff;
  text-align: left;
  letter-spacing: 0.02em;
}
.cart-onepage .cart-hero-title-en {
  margin: 0 0 14px 0;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
}
.cart-onepage .cart-hero-desc {
  margin: 0 0 28px 0;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  text-align: left;
}
.cart-onepage .cart-hero-btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  border-radius: 14px;
  background: var(--kw-btn-bg);
  border: var(--kw-btn-border);
  box-shadow: var(--kw-btn-shadow);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.cart-onepage .cart-hero-btn:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6), 0 0 32px rgba(255, 255, 255, 0.08);
}
/* 手机形状 = 苹果手机尺寸比例（约 1:2.08） */
.cart-onepage .cart-hero-phone {
  flex-shrink: 0;
  margin-right: -56px;
}
.cart-onepage .cart-phone-mockup {
  width: 280px;
  height: 582px;
  border-radius: 36px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 24px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
  padding-top: 36px;
}
.cart-onepage .cart-phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 10px;
  border-radius: 5px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.cart-onepage .cart-phone-icon {
  font-size: 3.2rem;
  color: #fff;
}
.cart-onepage .cart-phone-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .cart-onepage .cart-hero-panel {
    width: 90%;
    padding: 44px 28px 44px 40px;
  }
  .cart-onepage .cart-hero-phone {
    margin-right: -32px;
  }
  .cart-onepage .cart-phone-mockup {
    width: 220px;
    height: 457px;
    padding-top: 28px;
  }
  .cart-onepage .cart-phone-notch {
    width: 56px;
    height: 8px;
  }
}
@media (max-width: 600px) {
  .cart-onepage .cart-hero-panel {
    flex-direction: column;
    width: 94%;
    padding: 36px 24px;
    gap: 28px;
  }
  .cart-onepage .cart-hero-phone {
    margin-right: 0;
  }
  .cart-onepage .cart-phone-mockup {
    width: 200px;
    height: 416px;
  }
}

/* 兼容无 .cart-onepage 的独立 cart 页 */
.cart-hero { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 40px 0; flex-wrap: wrap; }
.cart-hero-card { flex: 1; min-width: 280px; padding: 32px; border-radius: 24px; backdrop-filter: blur(16px); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); }
.cart-hero-title { margin: 0 0 4px 0; font-size: 1.75rem; font-weight: 700; color: #fff; }
.cart-hero-title-en { margin: 0 0 12px 0; font-size: 1rem; color: rgba(255,255,255,0.8); }
.cart-hero-desc { margin: 0 0 24px 0; font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.5; }
.cart-hero-btn { display: inline-block; padding: 12px 28px; font-size: 0.95rem; font-weight: 600; color: #fff; background: var(--kw-btn-bg); border: var(--kw-btn-border); border-radius: 12px; text-decoration: none; }
.cart-hero-phone { flex-shrink: 0; }
.cart-phone-mockup { width: 200px; height: 360px; border-radius: 24px; background: #111; border: 2px solid rgba(255,255,255,0.15); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.cart-phone-icon { font-size: 2.5rem; }
.cart-phone-text { font-size: 0.85rem; color: rgba(255,255,255,0.9); }
.cart-list-title { margin: 24px 0 16px 0; font-size: 1.25rem; font-weight: 700; }
.cart-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .cart-grid { grid-template-columns: repeat(2, 1fr); } }
.cart-item { display: flex; gap: 12px; padding: 16px; background: rgba(255,255,255,0.05); border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); }
.cart-item-img { width: 80px; height: 80px; object-fit: cover; border-radius: 12px; }
.cart-item-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.cart-item-name { font-weight: 600; }
.cart-item-price { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cart-qty-btn { width: 28px; height: 28px; padding: 0; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: #fff; border-radius: 6px; cursor: pointer; }
.cart-bottom-bar { position: fixed; bottom: 64px; left: 0; right: 0; height: 56px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; background: rgba(0,0,0,0.95); border-top: 1px solid rgba(255,255,255,0.08); z-index: 10; }
.cart-total-label { font-size: 0.9rem; }
.cart-total-amount { font-size: 1.25rem; font-weight: 700; }
.cart-checkout-btn { padding: 12px 32px; font-size: 1rem; font-weight: 600; color: #fff; background: var(--kw-btn-bg); border: var(--kw-btn-border); border-radius: 12px; cursor: pointer; }
.cart-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; height: 64px; background: #000; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; gap: 4px; z-index: 11; }
.cart-nav-item { flex: 1; max-width: 100px; padding: 10px 6px; font-size: 0.75rem; font-weight: 500; color: #9ca3af; text-align: center; text-decoration: none; }
.cart-nav-item.cart-nav-active { color: var(--kw-nav-active); }

/* ========== 购物车独立页 cart.html（截图2 一比一） ========== */
.cart-page-wrapper { min-height: 100vh; padding: 0 16px 80px; max-width: 900px; margin: 0 auto; padding-bottom: 80px; }
.cart-page-header { display: flex; align-items: center; gap: 12px; padding: 16px 0; }
.cart-page-menu { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; cursor: pointer; }
.cart-page-brand { font-size: 1.1rem; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: 0.05em; }
/* （原右上角单独“我的”按钮样式已废弃，统一由双导航栏承载） */

/* ========== 登录/注册页面 ========== */
body.page-auth { min-height: 100vh; background: #000; color: #fff; }
.auth-wrapper {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 16px;
  max-width: 520px;
  margin: 0 auto;
}
.auth-header { margin-bottom: 18px; text-align: left; }
.auth-back { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.9rem; display: inline-block; margin-bottom: 10px; }
.auth-back:hover { color: #fff; }
.auth-title { margin: 0; font-size: 1.9rem; font-weight: 800; letter-spacing: 0.04em; }
.auth-sub { margin: 6px 0 0; color: rgba(255,255,255,0.65); font-size: 0.95rem; }

.auth-form {
  margin-top: 10px;
  border-radius: 20px;
  padding: 18px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.auth-label { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.auth-input {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  color: #fff;
  padding: 0 14px;
  outline: none;
}
.auth-input:focus { border-color: rgba(255,255,255,0.28); }
.auth-submit {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--kw-btn-bg);
}
.auth-hint { margin: 12px 0 0; color: rgba(255,255,255,0.72); font-size: 0.9rem; }
.auth-link { color: var(--kw-nav-active); text-decoration: none; }
.auth-link:hover { text-decoration: underline; }
.auth-error {
  margin: 12px 0 0;
  color: #ff6b6b;
  font-size: 0.9rem;
}

/* ========== W窝个人中心（wwo.html）========== */
.wwo-auth-panel { padding: 16px 0 8px; }
.wwo-auth-title { margin: 0 0 14px 0; color: rgba(255,255,255,0.85); line-height: 1.6; font-size: 0.95rem; }
.wwo-auth-actions { display: flex; gap: 12px; }
.wwo-auth-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  color: #fff;
  background: var(--kw-btn-bg);
}
.wwo-auth-btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}

.wwo-user-meta { margin: 0 0 18px 0; color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.wwo-orders-list { display: flex; flex-direction: column; gap: 12px; }
.wwo-order-card {
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}
.wwo-order-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.wwo-order-name { font-weight: 800; color: #fff; }
.wwo-order-total { font-weight: 900; color: #fff; }
.wwo-order-meta { color: rgba(255,255,255,0.65); font-size: 0.85rem; }
.wwo-order-items-count { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-top: 6px; }
.wwo-empty-text { margin: 0; color: rgba(255,255,255,0.6); font-size: 0.9rem; }

.wwo-address-title { margin: 22px 0 14px 0; font-size: 1.1rem; font-weight: 800; color: #fff; }
.wwo-address-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}
.wwo-address-input {
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  color: #fff;
  padding: 0 14px;
  outline: none;
}
.wwo-address-input:focus { border-color: rgba(255,255,255,0.28); }
.wwo-address-textarea {
  min-height: 84px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  color: #fff;
  padding: 12px 14px;
  outline: none;
  resize: vertical;
}
.wwo-address-save-btn {
  height: 42px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  background: var(--kw-btn-bg);
}
.wwo-address-list { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.wwo-address-card {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}
.wwo-address-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.wwo-address-name { font-weight: 900; color: #fff; }
.wwo-address-phone { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.wwo-address-detail { color: rgba(255,255,255,0.85); line-height: 1.6; font-size: 0.9rem; }

.wwo-logout-btn {
  margin-top: 16px;
  width: 100%;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.wwo-logout-btn:hover { background: rgba(255,255,255,0.09); }
.cart-page-wrapper .cart-list-title { margin: 20px 0 16px 0; font-size: 1.25rem; font-weight: 700; color: #fff; }
.cart-items-list { display: flex; flex-direction: column; gap: 16px; }
.cart-item-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  align-items: flex-start;
}
.cart-item-card input[type="checkbox"] { margin-top: 4px; width: 20px; height: 20px; accent-color: #333; cursor: pointer; }
.cart-item-card-img { width: 100px; height: 100px; border-radius: 12px; object-fit: cover; background: #222; flex-shrink: 0; }
.cart-item-card-body { flex: 1; min-width: 0; }
.cart-item-card-name { margin: 0 0 4px 0; font-size: 1rem; font-weight: 600; color: #fff; }
.cart-item-card-desc { margin: 0 0 12px 0; font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.4; }
.cart-item-card-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.cart-item-card-opt { font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.cart-item-card-opt a { color: rgba(255,255,255,0.7); margin-left: 8px; text-decoration: none; }
.cart-item-card-opt a:hover { text-decoration: underline; }
.cart-item-card-price { font-size: 0.9rem; color: rgba(255,255,255,0.9); margin-bottom: 4px; }
.cart-item-card-total { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.cart-item-card-shipping { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.cart-item-card-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cart-item-card-qty button { width: 28px; height: 28px; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: #fff; border-radius: 6px; cursor: pointer; font-size: 1rem; }
.cart-summary-bar {
  position: fixed;
  bottom: 64px;
  left: 0;
  right: 0;
  height: 56px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,0.95);
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 10;
}
.cart-deselect-all { background: none; border: none; color: rgba(255,255,255,0.8); font-size: 0.9rem; cursor: pointer; }
.cart-summary-total { font-size: 1rem; color: rgba(255,255,255,0.9); }
.cart-summary-total strong { color: #fff; font-size: 1.15rem; }
.cart-page-wrapper .cart-checkout-btn { padding: 10px 28px; font-size: 0.95rem; font-weight: 600; color: #fff; background: var(--kw-btn-bg); border: var(--kw-btn-border); border-radius: 12px; cursor: pointer; }
.cart-page-wrapper .cart-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; height: 64px; background: #000; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 8px; z-index: 11; }
.cart-page-wrapper .cart-nav-item { flex: 1; max-width: 100px; padding: 10px 6px; font-size: 0.75rem; font-weight: 500; color: rgba(255,255,255,0.7); text-align: center; text-decoration: none; }
.cart-page-wrapper .cart-nav-item.cart-nav-active { color: var(--kw-nav-active); }

/* ========== W窝页 wwo.html（布局、配色、按键与 K窝 主页一致） ========== */
body.page-wwo { min-height: 100vh; background: #000; color: #fff; }
.wwo-wrapper {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 0 16px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.wwo-header {
  padding: 28px 0 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.wwo-brand {
  margin: 0 0 20px 0;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.wwo-user {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.wwo-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--kw-btn-bg);
  border: var(--kw-btn-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--kw-btn-color);
  flex-shrink: 0;
  box-shadow: var(--kw-btn-shadow);
}
.wwo-user-info { display: flex; flex-direction: column; gap: 8px; }
.wwo-username { font-size: 1.2rem; font-weight: 600; color: #fff; }
.wwo-badge { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.wwo-follow {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #000;
  background: #fff;
  border: none;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  margin-top: 4px;
}
.wwo-follow:hover { opacity: 0.9; }
.wwo-actions { display: flex; justify-content: flex-end; gap: 32px; }
.wwo-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.wwo-action-icon { font-size: 1.35rem; }
.wwo-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 36px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 36px;
}
.wwo-benefit {
  flex: 1;
  min-width: 100px;
  padding: 20px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}
.wwo-benefit:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.15);
}
.wwo-benefit-value { display: block; font-size: 1.05rem; font-weight: 600; color: #fff; }
.wwo-benefit-label { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 6px; }
.wwo-benefit-all {
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  min-width: 56px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}
.wwo-orders { padding: 0 0 40px; margin-bottom: 40px; }
.wwo-orders-title {
  margin: 0 0 24px 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.wwo-orders-tabs { display: flex; flex-wrap: wrap; gap: 14px; }
.wwo-tab {
  flex-shrink: 0;
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #000;
  background: #fff;
  border: none;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.wwo-tab:hover { opacity: 0.92; }
.wwo-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 0 0 100px;
}
.wwo-product {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  aspect-ratio: 4/3;
}
.wwo-product img { width: 100%; height: 100%; object-fit: cover; }
.wwo-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
  z-index: 10;
}
.wwo-nav-item {
  flex: 1;
  max-width: 100px;
  padding: 10px 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-align: center;
  text-decoration: none;
}
.wwo-nav-item:hover, .wwo-nav-item.wwo-nav-active { color: var(--kw-nav-active); }
.wwo-nav-item .nav-icon { display: block; font-size: 1.1rem; margin-bottom: 2px; }

/* ========== 第四页：2D转3D（外框 = 电脑屏幕） ========== */
body.page-2dto3d { min-height: 100vh; background: #000; color: #fff; }
.twod-wrapper { min-height: 100vh; padding: 24px 20px 80px; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.page-2dto3d .twod-wrapper { align-items: stretch; justify-content: flex-start; }
.page-2dto3d .kw-app-tip--twod { margin-top: auto; padding-top: 16px; }
/* 电脑屏幕尺寸：约 16:9 显示器比例 */
.twod-screen-frame {
  width: 88%;
  max-width: 1100px;
  min-height: 560px;
  border-radius: 24px;
  padding: 32px 36px 40px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
}
.twod-header { position: relative; margin-bottom: 24px; }
.twod-accent { position: absolute; left: 0; top: 0; width: 40px; height: 4px; background: var(--kw-section-accent-line); border-radius: 2px; }
.twod-title { margin: 8px 0 4px 0; font-size: 1.5rem; font-weight: 700; }
.twod-sub { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.twod-upload-small { position: absolute; right: 0; top: 0; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.3); background: #1a1a1a; border-radius: 12px; color: #fff; cursor: pointer; font-size: 1.2rem; }
.twod-upload-card { border-radius: 20px; padding: 24px; backdrop-filter: blur(20px); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 0 24px rgba(0,0,0,0.3); margin-bottom: 24px; }
.twod-screen-frame .twod-upload-card { flex: 1; min-height: 0; }
.twod-upload-inner { min-height: 320px; border: 2px dashed rgba(255,255,255,0.2); border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; cursor: pointer; position: relative; }
.twod-video-zone {
  min-height: 420px;
  border-style: solid;
}
.twod-video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #0a0a0a;
}
.twod-app-tip {
  margin: 8px 0 0;
  text-align: center;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
}
.twod-upload-inner.twod-dragover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.03); }
.twod-upload-icon { font-size: 2.5rem; color: rgba(255,255,255,0.6); }
.twod-upload-text { margin: 0; font-size: 1rem; color: #fff; }
.twod-upload-hint { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.twod-file-input { position: absolute; width: 0; height: 0; opacity: 0; }
.twod-thumb-wrap { margin-top: 12px; }
.twod-thumb-wrap img { max-width: 200px; max-height: 150px; border-radius: 12px; }
.twod-actions { margin-bottom: 24px; }
.twod-generate-btn { padding: 14px 32px; font-size: 1rem; font-weight: 600; color: #fff; background: var(--kw-btn-bg); border: var(--kw-btn-border); border-radius: 12px; cursor: pointer; }
.twod-result-wrap { border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); padding: 16px; }
.twod-result-label { margin: 0 0 12px 0; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.twod-result-placeholder { background: #111; border-radius: 12px; overflow: hidden; }
.twod-result-placeholder img { width: 100%; height: auto; display: block; }
.twod-loading { text-align: center; padding: 20px; color: rgba(255,255,255,0.8); }
.twod-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; height: 64px; background: #000; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; gap: 4px; z-index: 10; }
.twod-nav-item { flex: 1; max-width: 100px; padding: 10px 6px; font-size: 0.75rem; color: #9ca3af; text-align: center; text-decoration: none; }

/* ========== 第五页：案例库 cases.html ========== */
body.page-cases { min-height: 100vh; background: #000; color: #fff; }
.cases-wrapper { min-height: 100vh; padding: 24px 20px 80px; max-width: 1200px; margin: 0 auto; }
.cases-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.cases-accent { width: 40px; height: 4px; background: var(--kw-section-accent-line); border-radius: 2px; }
.cases-title { margin: 0 0 4px 0; font-size: 1.5rem; font-weight: 700; }
.cases-sub { margin: 0; font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.cases-upload-btn { padding: 10px 20px; font-size: 0.9rem; color: #000; background: #fff; border: 1px solid #fff; border-radius: 10px; cursor: pointer; }
.cases-grid-wrap { width: 100%; }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (min-width: 769px) and (max-width: 1024px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .cases-grid { grid-template-columns: 1fr; gap: 20px; }
}
.cases-grid-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.cases-grid-card:hover {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
}
/* 竖屏接近全屏：9:16，高度优先占满一屏可视区 */
.cases-grid-card .cases-grid-cover {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: min(92vh, 960px);
  min-height: min(72vh, 640px);
  object-fit: cover;
  object-position: center;
  display: block;
}
.cases-grid-card .cases-grid-body { padding: 14px 16px; }
.cases-grid-card .cases-grid-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.cases-grid-card .cases-grid-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: #333; }
.cases-grid-card .cases-grid-likes { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.cases-grid-title { margin: 0 0 4px 0; font-size: 1rem; font-weight: 600; color: #fff; }
.cases-loading, .cases-end { text-align: center; padding: 24px; color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.cases-loading.hidden, .cases-end.hidden { display: none !important; }
.cases-load-more { min-height: 24px; }

/* ========== 第六页：品牌快闪店 brand.html ========== */
body.page-brand { min-height: 100vh; background: #000; color: #fff; }
/* 毛玻璃墙区域约扩大 0.5 倍（原 1000 → 1500） */
.brand-wrapper { min-height: 100vh; padding: 28px 10px 48px; max-width: 1500px; margin: 0 auto; }
.brand-header { text-align: center; margin-bottom: 40px; }
.brand-title { margin: 0; font-size: 1.75rem; font-weight: 600; letter-spacing: 0.08em; }
.brand-subtitle { margin: 10px 0 0; color: rgba(255,255,255,0.78); font-size: 0.95rem; letter-spacing: 0.06em; }
.brand-wall { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 14px; }
@media (max-width: 768px) { .brand-wall { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); } }
/* 毛玻璃卡片尺寸不变；图片完整显示（contain），与边框留与 padding 一致的细边 */
.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  padding: 6px;
  border-radius: 18px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  color: #fff;
  min-height: min(48vh, 520px);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.brand-card:hover { transform: scale(1.01); border-color: rgba(255, 255, 255, 0.22); }
/* 底部留出标题条高度，避免 Logo 被渐变条盖住看起来像“裁切/不完整” */
.brand-card-logo {
  position: absolute;
  left: 6px;
  top: 6px;
  right: 6px;
  bottom: 68px;
  width: calc(100% - 12px);
  height: calc(100% - 58px);
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  z-index: 0;
  box-sizing: border-box;
}
.brand-card-name {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 10px 4px;
  text-align: center;
  margin: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 100%);
}
.brand-card-caption-en {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 0 10px 14px;
  text-align: center;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 100%);
}
.brand-card--display-only {
  cursor: default;
  text-decoration: none;
}
.brand-card--display-only:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.14);
}

/* ========== 店铺模板 store.html ========== */
body.page-store { min-height: 100vh; background: #0d0a07; color: #e8dcc8; }
.store-wrapper { min-height: 100vh; padding: 24px 20px 60px; max-width: 1100px; margin: 0 auto; }
.store-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.store-back { color: #fff; text-decoration: none; font-size: 0.9rem; }
.store-title { margin: 0; font-size: 1.25rem; font-weight: 700; }
.store-main { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) { .store-main { grid-template-columns: repeat(2, 1fr); } }
.store-card { border-radius: 16px; overflow: hidden; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.store-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.store-card-name { margin: 12px 12px 4px 12px; font-size: 0.95rem; font-weight: 600; }
.store-card-price { margin: 0 12px 12px 12px; font-size: 0.9rem; color: rgba(255,255,255,0.8); }

/* ========== 快闪店铺 / 淘淘市集 模版（4-5 屏可滚动，质感深灰） ========== */
.page-store-template { background: #0a0a0c; }
.store-template { min-height: 100vh; }
/* 外层仅留几毫米边，毛玻璃感；内框比原 1200px 放大 0.5 倍 → 1800px */
.store-screen {
  min-height: 100vh;
  padding: 6px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.store-browser-frame {
  width: calc(100% - 4px);
  max-width: min(1800px, 99.5vw);
  border-radius: 12px;
  overflow: hidden;
  background: #12121a;
  border: 1px solid rgba(200, 200, 210, 0.28);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.store-tpl-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #1e1e24;
  border-bottom: 1px solid rgba(160, 160, 168, 0.2);
}
.store-tpl-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #d8d6d2;
  font-family: Georgia, "Times New Roman", serif;
}
.store-tpl-menu-text { font-size: 0.85rem; color: #a0a0a8; letter-spacing: 0.1em; }
.store-tpl-cart { font-size: 1.1rem; color: #d8d6d2; cursor: pointer; }
.store-tpl-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 18px 24px;
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(160, 160, 168, 0.12);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.store-tpl-nav a { color: #d8d6d2; text-decoration: none; }
.store-tpl-nav a:hover { color: #a0a0a8; }
.store-tpl-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(78vh, 920px);
}
@media (max-width: 768px) { .store-tpl-hero-split { grid-template-columns: 1fr; min-height: auto; } }
.store-tpl-hero-left { overflow: hidden; min-height: min(40vh, 480px); }
.store-tpl-hero-left img {
  width: 100%;
  height: 100%;
  min-height: min(40vh, 480px);
  object-fit: cover;
  object-position: center;
  display: block;
}
.store-tpl-hero-right {
  padding: 48px 40px;
  background: #25252c;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.store-tpl-quote {
  align-self: flex-start;
  padding: 12px 28px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #12121a;
  background: #d2d0cc;
  border: none;
  border-radius: 2px;
  cursor: pointer;
}
.store-tpl-quote:hover { background: #e0deda; }
.store-tpl-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(216, 214, 210, 0.92);
  max-width: 360px;
}
.store-tpl-meta { display: flex; align-items: center; gap: 16px; }
.store-tpl-play { font-size: 0.9rem; color: #a0a0a8; }
.store-tpl-year { font-size: 0.9rem; color: rgba(216, 214, 210, 0.7); letter-spacing: 0.05em; }

/* 第二屏：品牌色块 */
.store-screen-palette {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  min-height: 100vh;
}
@media (max-width: 768px) { .store-screen-palette { grid-template-columns: 1fr; } }
.store-palette-left {
  background: #25252c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.store-palette-right {
  background: #d2d0cc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.store-palette-brand {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #d8d6d2;
  font-family: Georgia, serif;
}
.store-palette-brand-dark { color: #25252c; }
.store-palette-city { font-size: 0.9rem; letter-spacing: 0.3em; color: rgba(216, 214, 210, 0.85); }
.store-palette-city-dark { color: rgba(37, 37, 44, 0.75); }

/* 第三屏：全幅 Hero + 叠字 */
.store-tpl-hero-full { position: relative; min-height: min(72vh, 880px); overflow: hidden; }
.store-tpl-hero-full img {
  width: 100%;
  height: 100%;
  min-height: min(72vh, 880px);
  object-fit: cover;
  object-position: center;
  display: block;
}
.store-tpl-hero-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 48px 40px;
  max-width: 560px;
}
.store-tpl-tagline {
  margin: 0 0 12px 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  font-family: Georgia, serif;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.store-tpl-tagline-sub { margin: 0; font-size: 0.95rem; color: rgba(255,255,255,0.85); }

/* 第四屏：故事区 */
.store-tpl-story-wrap { position: relative; min-height: min(68vh, 820px); overflow: hidden; }
.store-tpl-story-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.store-tpl-story-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 200px;
  padding: 40px 24px;
  background: linear-gradient(90deg, rgba(30, 30, 36, 0.92) 0%, transparent 100%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}
.store-tpl-story-left a { color: #d8d6d2; text-decoration: none; font-size: 0.9rem; letter-spacing: 0.04em; }
.store-tpl-story-left a:hover { color: #a0a0a8; }
.store-tpl-story-right {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.store-tpl-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(37, 37, 44, 0.9);
  border: 2px solid rgba(160, 160, 168, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.store-tpl-circle span {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #d8d6d2;
  letter-spacing: 0.02em;
}

/* 第五屏：左右双栏 产品网格 */
.store-tpl-two-col {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  min-height: min(70vh, 860px);
}
@media (max-width: 900px) { .store-tpl-two-col { grid-template-columns: 1fr; } }
.store-tpl-col-left {
  background: #25252c;
  padding: 32px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.store-tpl-col-left img {
  width: 100%;
  min-height: min(42vh, 480px);
  max-height: none;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
}
.store-tpl-vertical-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.store-tpl-vertical-nav a { color: #d8d6d2; text-decoration: none; font-size: 0.9rem; }
.store-tpl-vertical-nav a:hover { color: #a0a0a8; }
.store-tpl-col-right {
  background: #d2d0cc;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.store-tpl-collection-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: #25252c;
  font-family: Georgia, serif;
  letter-spacing: 0.02em;
}
.store-tpl-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 520px;
}
.store-tpl-product { display: block; border-radius: 8px; overflow: hidden; border: 1px solid rgba(37, 37, 44, 0.18); }
.store-tpl-product img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.store-tpl-collection-desc { margin: 0; font-size: 0.9rem; color: #3a3a42; line-height: 1.6; max-width: 480px; }

/* 第六屏：Footer（与 .store-screen 同用一类名，取消毛玻璃与窄边距） */
.store-screen-footer {
  background: #0a0a0c;
  padding: 60px 24px 80px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.store-footer-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.store-footer-logo {
  margin: 0 0 24px 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #d8d6d2;
  font-family: Georgia, serif;
}
.store-footer-title {
  margin: 0 0 40px 0;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.store-footer-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
  text-align: left;
}
.store-footer-left p, .store-footer-right p { margin: 0 0 8px 0; font-size: 0.9rem; color: rgba(216, 214, 210, 0.7); }
.store-footer-sample { display: grid; grid-template-columns: 120px 1fr; gap: 24px; text-align: left; max-width: 640px; margin: 0 auto; }
.store-footer-sample-label { margin: 0; font-size: 0.85rem; color: rgba(216, 214, 210, 0.5); }
.store-footer-sample-text { margin: 0; font-size: 0.9rem; line-height: 1.7; color: rgba(216, 214, 210, 0.75); }
@media (max-width: 768px) { .store-footer-specs, .store-footer-sample { grid-template-columns: 1fr; } }

/* ========== 第七页：淘淘市集（与快闪店铺同模版时用质感深灰） ========== */
body.page-market.page-store-template { background: #0a0a0c; color: #d8d6d2; }
body.page-market:not(.page-store-template) { min-height: 100vh; background: #000; color: #fff; }
.market-wrapper { min-height: 100vh; padding: 40px 20px 60px; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.market-screen-frame {
  width: 88%;
  max-width: 1100px;
  min-height: 480px;
  border-radius: 24px;
  padding: 40px 44px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.market-hero { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; width: 100%; }
/* 淘淘市集手机 = 与一键购买同尺寸（苹果手机比例 280×582） */
.market-phone { flex-shrink: 0; }
.market-phone-screen {
  width: 280px;
  height: 582px;
  border-radius: 36px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
  padding-top: 36px;
}
.market-phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 10px;
  border-radius: 5px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.market-phone-text { font-size: 1.25rem; color: rgba(255,255,255,0.5); letter-spacing: 0.2em; }
.market-content { flex: 1; min-width: 280px; }
.market-title { margin: 0 0 8px 0; font-size: 2.5rem; font-weight: 700; }
.market-title-en { margin: 0 0 16px 0; font-size: 1.1rem; color: rgba(255,255,255,0.9); }
.market-desc { margin: 0 0 28px 0; font-size: 0.95rem; color: rgba(255,255,255,0.7); }
.market-cta { display: inline-block; padding: 14px 32px; font-size: 1rem; font-weight: 600; color: #fff; background: var(--kw-btn-bg); border: var(--kw-btn-border); border-radius: 12px; text-decoration: none; box-shadow: 0 0 20px rgba(0,0,0,0.4); }
@media (max-width: 900px) {
  .market-phone-screen { width: 220px; height: 457px; padding-top: 28px; }
  .market-phone-notch { width: 56px; height: 8px; }
}
@media (max-width: 600px) {
  .market-phone-screen { width: 200px; height: 416px; }
}

/* ========== 第八页：视频（外框 = 电脑屏幕，视频符号与预览区均在框内，渐变黑） ========== */
body.page-video { min-height: 100vh; background: #000; color: #fff; }
.video-wrapper { min-height: 100vh; padding: 24px 20px 80px; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.video-header { position: relative; margin-bottom: 28px; width: 100%; max-width: 1100px; }
.video-accent { position: absolute; left: 0; top: 0; width: 40px; height: 4px; background: var(--kw-section-accent-line); border-radius: 2px; }
.video-title { margin: 8px 0 4px 0; font-size: 1.5rem; font-weight: 700; }
.video-sub { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
/* 电脑屏幕框：仅渐变黑描边，上传区+预览区均在框内 */
.video-screen-frame {
  position: relative;
  width: 88%;
  max-width: 1100px;
  border-radius: 24px;
  padding: 36px 40px 40px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.video-screen-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.video-upload-area { margin: 0; }
.video-upload-circle {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border: 2px dashed rgba(255,255,255,0.35);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s, background 0.2s;
}
.video-upload-circle:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255, 255, 255, 0.04);
}
.video-upload-icon { font-size: 2.8rem; }
.video-upload-text { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.85); }
.video-screen-frame .video-display { width: 100%; max-width: none; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); background: #0a0a0a; min-height: 260px; }
.video-placeholder { min-height: 260px; display: flex; align-items: center; justify-content: center; }
.video-placeholder-text { color: rgba(255,255,255,0.4); font-size: 0.95rem; }
.video-player { width: 100%; max-height: 70vh; }
.video-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; height: 64px; background: #000; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; gap: 4px; z-index: 10; }
.video-nav-item { flex: 1; max-width: 100px; padding: 10px 6px; font-size: 0.75rem; color: #9ca3af; text-align: center; text-decoration: none; }
.video-nav-item.video-nav-active { color: var(--kw-nav-active); }

/* ========== 用户评价 testimonials.html ========== */
body.page-testimonials { min-height: 100vh; background: #000; color: #fff; }
.testimonials-wrapper { min-height: 100vh; padding: 40px 20px 60px; max-width: 1100px; margin: 0 auto; }
.testimonials-header { text-align: center; margin-bottom: 40px; }
.testimonials-hear { margin: 0 0 8px 0; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.testimonials-title { margin: 0; font-size: 1.75rem; font-weight: 700; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card { padding: 24px; border-radius: 20px; backdrop-filter: blur(16px); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); }
.testimonial-stars { color: rgba(255,255,255,0.9); font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-quote { margin: 0 0 12px 0; font-size: 0.95rem; line-height: 1.6; color: rgba(255,255,255,0.9); }
.testimonial-tags { margin: 0 0 16px 0; font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.testimonial-user { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: #333; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 600; flex-shrink: 0; }
.testimonial-name { display: block; font-weight: 600; }
.testimonial-role { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.testimonial-en { margin: 0; font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ========== 常见问题 faq.html ========== */
body.page-faq { min-height: 100vh; background: #000; color: #fff; }
.faq-wrapper { min-height: 100vh; padding: 40px 20px 60px; max-width: 1100px; margin: 0 auto; }
.faq-header { margin-bottom: 32px; }
.faq-title { margin: 0; font-size: 1.75rem; font-weight: 700; }
.faq-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } }
.faq-list { }
.faq-item { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq-q { margin: 0 0 12px 0; font-size: 1.1rem; font-weight: 700; }
.faq-a { margin: 0; font-size: 0.95rem; line-height: 1.6; color: rgba(255,255,255,0.85); }
.faq-sidebar { }
.faq-sidebar-title { margin: 0 0 12px 0; font-size: 1rem; font-weight: 600; }
.faq-table-wrap { margin-bottom: 24px; }
.faq-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.faq-table th, .faq-table td { padding: 10px 12px; text-align: left; border: 1px solid rgba(255,255,255,0.1); }
.faq-table th { background: rgba(255,255,255,0.05); font-weight: 600; }
.faq-cases ul { margin: 0; padding: 0; list-style: none; }
.faq-cases li { padding: 8px 0; font-size: 0.9rem; color: rgba(255,255,255,0.85); border-bottom: 1px solid rgba(255,255,255,0.06); }

/* ========== 开发者计划 dev.html ========== */
body.page-dev { min-height: 100vh; background: #000; color: #fff; }
.dev-wrapper { min-height: 100vh; padding: 40px 20px 60px; max-width: 900px; margin: 0 auto; }
.dev-header { text-align: center; margin-bottom: 48px; }
.dev-title { margin: 0 0 16px 0; font-size: 1.75rem; font-weight: 700; line-height: 1.4; }
.dev-sub { margin: 0; font-size: 1rem; color: rgba(255,255,255,0.8); line-height: 1.6; max-width: 560px; margin-left: auto; margin-right: auto; }
.dev-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
@media (max-width: 768px) { .dev-cards { grid-template-columns: 1fr; } }
.dev-card { padding: 28px; border-radius: 20px; backdrop-filter: blur(16px); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); text-align: center; }
.dev-card-title { margin: 0 0 8px 0; font-size: 1.25rem; font-weight: 700; }
.dev-card-desc { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.dev-plugins { margin-bottom: 40px; }
.dev-plugins-title { margin: 0 0 20px 0; font-size: 1.25rem; font-weight: 700; }
.dev-plugins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .dev-plugins-grid { grid-template-columns: 1fr; } }
.dev-plugin { padding: 20px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); text-align: center; font-weight: 600; }
.dev-cta { text-align: center; }
.dev-cta-text { margin: 0 0 20px 0; font-size: 1.1rem; color: rgba(255,255,255,0.9); }
.dev-cta-btn { display: inline-block; padding: 14px 32px; font-size: 1rem; font-weight: 600; color: #fff; background: var(--kw-btn-bg); border: var(--kw-btn-border); border-radius: 12px; text-decoration: none; }

/* ========== 网站尾页 site-footer（规整极简，一比一还原） ========== */
.site-footer-section { background: #000000; }
.site-footer { margin: 0; padding: 56px 24px 64px; background: #000000; }
.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .site-footer-inner { grid-template-columns: 1fr; }
  .site-footer-nav { flex-wrap: wrap; gap: 32px; }
}
.site-footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 56px;
}
@media (max-width: 768px) {
  .site-footer-nav { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}
.site-footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.site-footer-col-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  color: #ffffff;
  letter-spacing: 0.02em;
}
.site-footer-col a {
  font-size: 0.9rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #e0e0e0;
  text-decoration: none;
  text-transform: capitalize;
  transition: color 0.2s;
}
.site-footer-col a:hover { color: #fff; }

/* 右侧品牌卡片 */
.site-footer-card {
  min-width: 280px;
  max-width: 320px;
  padding: 32px 28px;
  background: #1a1a1a;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.site-footer-card-logo {
  color: #fff;
  line-height: 0;
}
.site-footer-card-brand {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  color: #ffffff;
  letter-spacing: 0.02em;
}
.site-footer-card-desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #cccccc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-align: left;
  max-width: 100%;
}
.site-footer-card-icons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 4px;
}
.site-footer-card-icons a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}
.site-footer-card-icons a:hover { opacity: 0.8; }
.site-footer-card-icons svg { flex-shrink: 0; }

/* ========== 案例详情 case-detail.html ========== */
body.page-case-detail { min-height: 100vh; background: #000; color: #fff; }
.case-detail-wrapper { max-width: 1000px; margin: 0 auto; padding: 24px 20px 60px; }
.case-detail-back { display: inline-block; margin-bottom: 24px; color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.9rem; }
.case-detail-back:hover { color: #fff; }
.case-detail-carousel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  margin: 0 auto 32px;
  aspect-ratio: 9 / 16;
  width: 100%;
  max-width: min(520px, 100%);
  max-height: min(92vh, 960px);
}
.case-detail-carousel-inner { display: flex; height: 100%; transition: transform 0.3s ease; }
.case-detail-slide { width: 100%; min-width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; }
.case-detail-carousel-prev,
.case-detail-carousel-next { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 1px solid rgba(255,255,255,0.2); background: rgba(0,0,0,0.5); color: #fff; font-size: 1.5rem; cursor: pointer; border-radius: 50%; line-height: 1; padding: 0; }
.case-detail-carousel-prev { left: 16px; }
.case-detail-carousel-next { right: 16px; }
.case-detail-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.case-detail-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; padding: 0; cursor: pointer; }
.case-detail-dot.active { background: #fff; }
.case-detail-designer { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 32px; padding: 24px; border-radius: 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.case-detail-designer-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; background: #222; flex-shrink: 0; }
.case-detail-designer-name { margin: 0 0 8px 0; font-size: 1.25rem; font-weight: 600; }
.case-detail-designer-bio { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.6; }
.case-detail-desc { margin-bottom: 40px; }
.case-detail-desc-title { margin: 0 0 12px 0; font-size: 1.1rem; font-weight: 600; }
.case-detail-desc-text { margin: 0; font-size: 0.95rem; color: rgba(255,255,255,0.8); line-height: 1.7; }
.case-detail-products-title { margin: 0 0 4px 0; font-size: 1.1rem; font-weight: 600; }
.case-detail-products-hint { margin: 0 0 20px 0; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.case-detail-products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .case-detail-products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .case-detail-products-grid { grid-template-columns: 1fr; } }
.case-detail-product { display: block; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); text-decoration: none; color: inherit; transition: border-color 0.2s; }
.case-detail-product:hover { border-color: rgba(255,255,255,0.18); }
.case-detail-product img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.case-detail-product span { display: block; padding: 10px 12px; font-size: 0.9rem; font-weight: 500; }
.case-detail-product .case-detail-product-price { font-size: 0.85rem; color: rgba(255,255,255,0.6); }


/* ========== 官网单页滚动：内容层滚动（与内联 kw-scroll-fix 一致）========== */
html.page-onepage-scroll,
html:has(body.page-onepage),
body.page-onepage {
  height: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
}
body.page-onepage .site-content {
  position: relative !important;
  z-index: 1 !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}
body.page-onepage .video-background {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
