/* PC 网页版：独立于手机框 preview/index.html */

body.layout-pc {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 20% -10%, rgba(196,165,116,.12), transparent 55%),
    #0B0B0C;
  color: #F5F2EB;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.layout-pc .tabbar,
body.layout-pc .tabbar[hidden] {
  display: none !important;
}

.pc-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11,11,12,.94);
  border-bottom: 1px solid rgba(245,242,235,.08);
  backdrop-filter: blur(12px);
}

.pc-top-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.pc-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #F5F2EB;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .06em;
  flex-shrink: 0;
}
.pc-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(196,165,116,.35);
}

.pc-city {
  border: 1px solid rgba(196,165,116,.35);
  background: rgba(255,255,255,.03);
  color: #C4A574;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
}
.pc-city:hover { border-color: rgba(196,165,116,.7); }

.pc-nav {
  display: flex;
  gap: 4px;
  margin-left: 8px;
  flex: 1;
  min-width: 0;
}
.pc-nav button {
  border: 0;
  background: transparent;
  color: #9A958C;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}
.pc-nav button:hover { color: #F5F2EB; background: rgba(255,255,255,.04); }
.pc-nav button.on {
  color: #1a1917;
  background: #C4A574;
  font-weight: 600;
}

.pc-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.pc-link {
  color: #9A958C;
  text-decoration: none;
  font-size: 13px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}
.pc-link:hover { color: #C4A574; }

/* 案例：跳手机框预览 */
.pc-phone-preview {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(196,165,116,.55);
  color: #C4A574;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  background: rgba(196,165,116,.08);
}
.pc-phone-preview:hover {
  background: rgba(196,165,116,.16);
  border-color: rgba(196,165,116,.85);
}

.pc-cta {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: #C4A574;
  color: #1a1917;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.pc-cta:hover { filter: brightness(1.05); }

.pc-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
}
body.layout-pc .app {
  overflow: visible;
  background: transparent;
  min-height: 60vh;
}
body.layout-pc .toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 50;
}

.pc-foot {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  text-align: center;
  color: #6f6a63;
  font-size: 12px;
}
.pc-foot a { color: #9A958C; text-decoration: none; }
.pc-foot a:hover { color: #C4A574; }

body.layout-pc .screen > .nav {
  padding: 16px 0 8px;
  background: transparent;
  backdrop-filter: none;
  position: static;
}

body.layout-pc .hero.city-band {
  height: 380px;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 8px;
}
body.layout-pc .hero-copy { padding: 36px 32px; }
body.layout-pc .hero-city { font-size: 36px; }
body.layout-pc .pad { padding: 20px 0 64px; }
body.layout-pc .section-head { margin-top: 28px; margin-bottom: 14px; }
body.layout-pc .pc-card-grid { margin-bottom: 8px; }

body.layout-pc .cta-row {
  display: flex;
  gap: 12px;
  max-width: 480px;
}
body.layout-pc .cta-row .btn { flex: 1; }
body.layout-pc .svc-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow: visible;
}

body.layout-pc .hscroll {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  padding-bottom: 0;
}
body.layout-pc .mag-card {
  width: auto;
  min-width: 0;
  text-align: left;
}
body.layout-pc .mag-card img {
  width: 100%;
  height: 140px;
  border-radius: 10px;
}

body.layout-pc .city-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.layout-pc .section-head h3 { font-size: 18px; }

/* —— 发现：左栏 + 右网格 —— */
.pc-discover {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-top: 20px;
}

.pc-side {
  position: sticky;
  top: 72px;
  max-height: calc(100vh - 88px);
  overflow: auto;
  padding: 16px 14px 20px;
  border-radius: 14px;
  background: #141416;
  border: 1px solid rgba(245,242,235,.08);
  scrollbar-width: thin;
}
.pc-side-title {
  font-size: 12px;
  letter-spacing: .08em;
  color: #9A958C;
  margin-bottom: 10px;
}
.pc-cat-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}
.pc-cat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #c9c4ba;
  font-size: 14px;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}
.pc-cat-item:hover { background: rgba(255,255,255,.04); color: #F5F2EB; }
.pc-cat-item.on {
  background: rgba(196,165,116,.16);
  color: #F5F2EB;
  font-weight: 600;
}
.pc-cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--seg-accent, #C4A574);
  flex-shrink: 0;
}

.pc-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
  color: #9A958C;
  letter-spacing: .06em;
}
.pc-filter-reset {
  border: 0;
  background: transparent;
  color: #C4A574;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}
.pc-filter-reset:disabled { opacity: .35; cursor: default; }

.pc-filter-block { margin-bottom: 14px; }
.pc-filter-label {
  font-size: 11px;
  color: #6f6a63;
  margin-bottom: 6px;
}
.pc-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pc-chip {
  border: 1px solid rgba(245,242,235,.1);
  background: rgba(255,255,255,.03);
  color: #9A958C;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.3;
}
.pc-chip:hover { border-color: rgba(196,165,116,.4); color: #F5F2EB; }
.pc-chip.on {
  border-color: rgba(196,165,116,.65);
  color: #F5F2EB;
  background: rgba(196,165,116,.12);
}

.pc-discover-main { min-width: 0; }
.pc-discover-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.pc-search {
  flex: 1;
  margin: 0;
}
.pc-search input {
  width: 100%;
  font-size: 14px;
}
.pc-result-meta {
  flex-shrink: 0;
  font-size: 13px;
  color: #9A958C;
}

/* 图上字下商品卡 */
.pc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pc-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  border: 1px solid rgba(245,242,235,.08);
  background: #141416;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.pc-card:hover {
  border-color: rgba(196,165,116,.45);
  transform: translateY(-2px);
}
.pc-card-cover {
  display: block;
  aspect-ratio: 16 / 10;
  background: #1c1c1f;
  overflow: hidden;
}
.pc-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pc-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 14px;
}
.pc-card-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #F5F2EB;
}
.pc-card-sub {
  font-size: 12px;
  color: #9A958C;
  line-height: 1.4;
}
.pc-card-meta {
  font-size: 12px;
  color: #8f8a82;
  margin-top: 2px;
}
.pc-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.pc-empty {
  grid-column: 1 / -1;
  padding: 48px 24px;
  text-align: center;
  color: #9A958C;
}

body.layout-pc .screen:has(#c-date),
body.layout-pc .screen:has(.order-card) {
  max-width: 720px;
}

@media (max-width: 1100px) {
  .pc-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.layout-pc .hscroll { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .pc-discover {
    grid-template-columns: 1fr;
  }
  .pc-side {
    position: static;
    max-height: none;
  }
  .pc-cat-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .pc-top-inner { flex-wrap: wrap; }
  .pc-nav { order: 3; width: 100%; margin-left: 0; }
}
