/* 2026-08-12 · Codex · 公开教程/工具/社区统一成浅色磨砂导航，清除旧黑底荧光黄残留。 · CHG-20260812-PUBLIC-SHELL-ROUTE-AND-VISUAL-CLEANUP */
:root {
  --border-subtle: rgba(50, 44, 66, .10);
}

html {
  overflow-x: clip;
  background: #f3f3f7;
}
body {
  overflow-x: clip;
  background:
    radial-gradient(circle at 12% 6%, rgba(124, 92, 255, .13), transparent 27rem),
    radial-gradient(circle at 90% 12%, rgba(236, 72, 153, .09), transparent 25rem),
    linear-gradient(180deg, #f7f7fa 0%, #f2f1f5 100%) !important;
  background-attachment: fixed !important;
}

.navbar,
.public-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  z-index: 1000;
  background: rgba(255, 255, 255, .76) !important;
  border-bottom: 1px solid rgba(60, 52, 78, .10) !important;
  box-shadow: 0 10px 34px rgba(35, 30, 50, .06) !important;
  -webkit-backdrop-filter: saturate(155%) blur(22px) !important;
  backdrop-filter: saturate(155%) blur(22px) !important;
}
.top-spacer { height: 64px; }
.navbar-inner {
  width: 100%;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo,
.public-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: #1d1b22 !important;
}
.nav-logo img { height: 32px; }
.nav-links,
.nav-right {
  display: flex;
  align-items: center;
}
.nav-links { gap: 2px; }
.nav-right { gap: 12px; }
.nav-links > a,
.public-links > a {
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  color: #686470 !important;
}
.nav-links > a:hover,
.public-links > a:hover {
  color: #1d1b22 !important;
  background: rgba(111, 82, 255, .07) !important;
}
.nav-links > a.active,
.public-links > a.active {
  color: #6547f5 !important;
  background: rgba(111, 82, 255, .10) !important;
}
.btn-console,
.mobile-menu .mm-console,
.pb-article-cta a,
.public-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  color: #fff !important;
  background: linear-gradient(135deg, #6f52ff 0%, #c044aa 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 26px rgba(111, 82, 255, .24) !important;
}
.btn-console:hover,
.pb-article-cta a:hover,
.public-account:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 34px rgba(111, 82, 255, .30) !important;
}
.nav-hamburger {
  display: none;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid;
  border-radius: 999px;
  cursor: pointer;
  color: #34313b !important;
  background: rgba(255, 255, 255, .72) !important;
  border-color: rgba(60, 52, 78, .14) !important;
}
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
  background: rgba(42, 36, 56, .22) !important;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.mobile-menu-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1600;
  width: min(300px, 82vw);
  height: 100%;
  padding: 72px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .26s ease;
  background: rgba(249, 249, 252, .96) !important;
  border-left-color: rgba(60, 52, 78, .10) !important;
  box-shadow: -18px 0 50px rgba(35, 30, 50, .12) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  backdrop-filter: blur(24px) !important;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  padding: 13px 14px;
  border-radius: 8px;
  color: #585461 !important;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: #6547f5 !important;
  background: rgba(111, 82, 255, .09) !important;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  color: #393640 !important;
  background: rgba(111, 82, 255, .08) !important;
}

.pb-guide-card,
.pb-guide-feature,
.pb-tool-card,
.pbgd-card,
.public-main .pb-view {
  background: rgba(255, 255, 255, .74) !important;
  border-color: rgba(60, 52, 78, .10) !important;
  box-shadow: 0 14px 38px rgba(34, 29, 49, .07) !important;
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  backdrop-filter: saturate(140%) blur(18px);
}
.pb-guide-card:hover,
.pb-guide-feature:hover,
.pb-tool-card:hover,
.pbgd-card:hover {
  transform: perspective(900px) translateY(-6px) rotateX(1.2deg) !important;
  border-color: rgba(111, 82, 255, .28) !important;
  box-shadow: 0 24px 58px rgba(43, 35, 68, .13) !important;
}
.pb-mini-pill,
.pb-filter-pill.active,
.pb-feature-tag {
  border-color: rgba(111, 82, 255, .16) !important;
}
.pb-guide-cat {
  background: rgba(25, 22, 34, .48) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
}
.pb-feature-cover,
.pb-guide-cover {
  background-position: center !important;
  background-size: cover !important;
}
.pb-feature-cover,
.pb-guide-card[href="/guides/first-image.html"] .pb-guide-cover {
  background-image: linear-gradient(180deg, rgba(20, 15, 32, .04), rgba(20, 15, 32, .48)), url("https://cdn.wutuobangai.com/aigc/output/20260605/e037f661-d41b-42c2-98c5-1d1575247e36_0.png") !important;
}
.pb-guide-card[href="/guides/welcome.html"] .pb-guide-cover {
  background-image: linear-gradient(180deg, rgba(20, 15, 32, .04), rgba(20, 15, 32, .48)), url("https://cdn.wutuobangai.com/aigc/v2/image/1551be3e-d7e9-4aa4-a301-454d99f12e1d_1780888857055_m1bj5f.jpg") !important;
}
.pb-guide-card[href="/guides/first-video.html"] .pb-guide-cover,
.pb-guide-card[href="/guides/extend-a-video.html"] .pb-guide-cover {
  background-image: linear-gradient(180deg, rgba(20, 15, 32, .04), rgba(20, 15, 32, .48)), url("https://cdn.wutuobangai.com/img/showcase/higgsfield/earth_zoom_out.webp") !important;
}
.pb-guide-card[href="/guides/consistent-characters.html"] .pb-guide-cover,
.pb-guide-card[href="/guides/edit-with-prompts.html"] .pb-guide-cover {
  background-image: linear-gradient(180deg, rgba(20, 15, 32, .04), rgba(20, 15, 32, .48)), url("https://cdn.wutuobangai.com/aigc/output/20260525/b3b2f99e-8384-4e70-b733-2399746f0835_0.png") !important;
}
.pb-guide-card[href="/guides/image-to-video.html"] .pb-guide-cover,
.pb-guide-card[href="/guides/lip-sync-audio.html"] .pb-guide-cover {
  background-image: linear-gradient(180deg, rgba(20, 15, 32, .04), rgba(20, 15, 32, .48)), url("https://cdn.wutuobangai.com/img/showcase/workflow/digital-human-talk.jpg") !important;
}
.pb-guide-card[href="/guides/remove-backgrounds.html"] .pb-guide-cover,
.pb-guide-card[href="/guides/multi-angle-product.html"] .pb-guide-cover {
  background-image: linear-gradient(180deg, rgba(20, 15, 32, .04), rgba(20, 15, 32, .48)), url("https://cdn.wutuobangai.com/img/showcase/workflow/flux2-fast-image.jpg") !important;
}
.pb-guide-card[href="/guides/upscale-images.html"] .pb-guide-cover {
  background-image: linear-gradient(180deg, rgba(20, 15, 32, .04), rgba(20, 15, 32, .48)), url("https://cdn.wutuobangai.com/img/showcase/workflow/image-upscale.jpg") !important;
}
.pb-feature-cover > svg,
.pb-guide-cover > svg { filter:drop-shadow(0 4px 16px rgba(0,0,0,.32)); }
.pb-figure-img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(60, 52, 78, .10);
  box-shadow: 0 18px 44px rgba(37, 30, 55, .12);
}
.pb-footer,
.public-footer { background: rgba(255, 255, 255, .62) !important; }

@media (max-width: 768px) {
  .nav-links,
  .btn-console { display: none; }
  .nav-hamburger { display: inline-flex; }

  .pb-guide-card:hover,
  .pb-guide-feature:hover,
  .pb-tool-card:hover,
  .pbgd-card:hover { transform: translateY(-2px) !important; }
}

@media (prefers-reduced-motion: reduce) {
  .pb-guide-card,
  .pb-guide-feature,
  .pb-tool-card,
  .pbgd-card,
  .btn-console,
  .public-account { transition: none !important; }
}
