:root {
  --bg-main: #070b16;
  --bg-panel: rgba(10, 18, 38, 0.88);
  --text-main: #f5fbff;
  --text-sub: #95aacb;
  --primary: #7cf7ff;
  --secondary: #8d5bff;
  --accent: #2bffc7;
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; overflow-y: scroll; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #050814 0%, #090f1f 46%, #04070f 100%);
  color: var(--text-main);
  /* font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; */
  font-family: 楷体;
}
button { font: inherit; border: 0; cursor: pointer; }
#app { max-width: 460px; margin: 0 auto; padding: 14px 12px 100px; }
.card {
  background: var(--bg-panel);
  border: 1px solid rgba(124, 247, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.hero {
  overflow: hidden;
  padding: 0;
  position: relative;
}
.hero-img {
  width: 100%;
  height: auto;
  display: block;
}
/* .hero::before overlay removed */
.hero > * { position: relative; z-index: 1; }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; max-width: 74%;
  padding: 10px 12px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
}
.brand img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.08); color: var(--primary); font-size: 12px; }
.kicker {
  display: inline-flex; padding: 8px 12px; border-radius: 999px; margin-top: 70px;
  background: linear-gradient(135deg, rgba(124,247,255,0.14), rgba(141,91,255,0.14));
  border: 1px solid rgba(124,247,255,0.22); color: var(--primary); font-size: 12px; font-weight: 700;
}
.hero h1 { margin: 60px 0 0; font-size: 30px; line-height: 1.15; max-width: 80%; text-shadow: 0 2px 8px rgba(0,0,0,0.7); }
.hero p { margin: 10px 0 0; color: rgba(245, 251, 255, 0.88); line-height: 1.65; max-width: 80%; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
/* ========== 文字通知条 ========== */
.notice-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 36px;
  margin-top: 10px;
  background: rgba(124,247,255,0.06);
  border: 1px solid rgba(124,247,255,0.18);
  border-radius: 12px;
  overflow: hidden;
}
.notice-icon {
  font-size: 15px;
  flex-shrink: 0;
  color: #fff;
}
.notice-scroll-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}
.notice-text {
  display: inline-block;
  padding-left: 100%;
  font-size: 17px;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  animation: notice-scroll linear infinite;
}
@keyframes notice-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.dots {
  display: flex; gap: 8px;
  position: absolute; bottom: 14px; left: 16px;
  z-index: 2;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.dot.active { width: 26px; border-radius: 999px; background: var(--primary); }
.section { margin-top: 12px; padding: 14px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.section-head h2 { margin: 0; font-size: 18px; }
.section-head span { color: var(--text-sub); font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product {
  padding: 10px; border-radius: 18px; text-align: left;
  background: linear-gradient(180deg, rgba(12, 20, 40, 0.95), rgba(9, 14, 28, 0.95));
  border: 1px solid rgba(124, 247, 255, 0.12); color: var(--text-main);
}
.product-main {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  background: none;
  border: 0;
  color: inherit;
}
.cover-wrap { aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,0.05); }
.cover-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product h3 { margin: 10px 0 0; font-size: 13px; line-height: 1.45; }
.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.price { margin-top: 8px; font-size: 18px; font-weight: 800; color: var(--accent); }
.product-meta-row .price { margin-top: 0; }
.price span { font-size: 12px; color: var(--text-sub); }
.product-copy-btn {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(124,247,255,0.18), rgba(43,255,199,0.16));
  border: 1px solid rgba(124,247,255,0.24);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.product-copy-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}
.category-strip {
  display: flex; gap: 4px; overflow-x: auto; overflow-y: hidden;
  padding: 8px 12px 14px;
  scroll-padding-inline: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(124,247,255,0.25) transparent;
}
.cat-expand-head-btn { white-space: nowrap; }
.category-strip::-webkit-scrollbar { height: 4px; }
.category-strip::-webkit-scrollbar-track { background: transparent; }
.category-strip::-webkit-scrollbar-thumb { background: rgba(124,247,255,0.25); border-radius: 999px; }
.category-strip.expanded {
  flex-wrap: wrap; overflow-x: visible;
  padding-bottom: 8px;
  scrollbar-width: none;
  gap: 8px;
}
.category-strip.expanded::-webkit-scrollbar { display: none; }
/* 展开态：纯文字分类按钮 */
.category-btn.text-only {
  width: auto;
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  flex-direction: row;
  gap: 0;
}
.category-btn.text-only .cat-name {
  white-space: nowrap;
  max-width: none;
  font-size: 13px;
}
/* 头部展开按钮 */
.cat-expand-head-btn {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(124,247,255,0.08);
  border: 1px solid rgba(124,247,255,0.22);
  color: var(--primary);
  font-size: 12px; font-weight: 600;
  white-space: nowrap;
  transition: background .18s;
}
.cat-expand-head-btn:active { background: rgba(124,247,255,0.18); }
.category-btn {
  position: relative;
  flex-shrink: 0;
  width: 78px;
  padding: 10px 4px 10px;
  border-radius: 20px;
  color: var(--text-main);
  text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.15s;
  overflow: visible;
}
/* 一级分类含子分类的提示点 */
.cat-child-dot {
  position: absolute;
  top: 5px; right: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.9;
}
.category-strip .category-btn:first-child {
  margin-left: 2px;
  scroll-margin-inline-start: 12px;
}
.category-strip .category-btn:last-child {
  margin-right: 2px;
  scroll-margin-inline-end: 12px;
}
.category-btn:active { transform: scale(0.94); }
.cat-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; line-height: 1;
  transition: background 0.18s;
}
.cat-icon-img {
  width: 64px; height: 64px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  display: block;
  transition: transform 0.18s;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.cat-name {
  display: block;
  font-size: 12px; font-weight: 600; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 100%; color: var(--text-main);
  transition: color 0.18s;
}
.category-btn.active {
  background: linear-gradient(145deg, rgba(124,247,255,0.15), rgba(141,91,255,0.15));
  border-color: rgba(124,247,255,0.5);
  box-shadow: 0 0 18px rgba(124,247,255,0.1), inset 0 1px 0 rgba(124,247,255,0.12);
}
.category-btn.active .cat-icon {
  background: linear-gradient(135deg, rgba(124,247,255,0.22), rgba(141,91,255,0.22));
}
.category-btn.active .cat-icon-img { transform: scale(1.08); }
.category-btn.active .cat-name { color: var(--primary); }
/* ========== 二级分类横条（移动端） ========== */
.subcategory-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 12px 2px;
  border-top: 1px solid rgba(124,247,255,0.10);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.subcategory-strip::-webkit-scrollbar { display: none; }
.subcategory-strip .sub-category-btn {
  padding: 6px 13px;
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}
.subcategory-strip .sub-category-btn .cat-name {
  font-size: 12px;
  font-weight: 600;
}
.subcategory-strip .sub-category-btn:not(.active) .cat-name {
  color: var(--text-sub);
}
.detail-top { margin-bottom: 12px; }
.back-btn, .nav-btn {
  padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,0.08); color: var(--text-main);
}
.gallery-main { border-radius: 24px; overflow: hidden; border: 1px solid rgba(124,247,255,0.12); }
.gallery-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; cursor: zoom-in; }
.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.thumb { padding: 0; border-radius: 8px; overflow: hidden; border: 1px solid transparent; background: rgba(255,255,255,0.05); }
.thumb.active { border-color: var(--primary); }
.thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.detail-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.detail-price { font-size: 32px; font-weight: 800; color: var(--accent); }
.detail-price span { font-size: 12px; color: var(--text-sub); }
.detail-title { margin: 10px 0 0; font-size: 26px; }
.detail-category { display: inline-flex; margin-top: 12px; padding: 5px 9px; border: 1px solid rgba(124,247,255,0.22); border-radius: 999px; color: var(--primary); background: rgba(124,247,255,0.08); font-size: 12px; line-height: 1.2; }
.detail-intro { margin: 10px 0 0; color: rgba(245,251,255,0.82); line-height: 1.75; }
.rich-content { color: rgba(245,251,255,0.88); line-height: 1.75; }
.rich-content * { max-width: 100%; }
.rich-content h1, .rich-content h2, .rich-content h3, .rich-content h4 { margin: 0.9em 0 0.45em; line-height: 1.3; color: #f7fbff; }
.rich-content p { margin: 0.55em 0; }
.rich-content ul, .rich-content ol { margin: 0.6em 0; padding-left: 1.4em; }
.rich-content a { color: #7cf7ff; text-decoration: underline; }
.rich-content img { display: block; max-width: 100%; height: auto; margin: 0.75em 0; border-radius: 12px; }
.detail-share-btn {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,247,255,0.2), rgba(43,255,199,0.18));
  border: 1px solid rgba(124,247,255,0.28);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.detail-share-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}
.richtext { line-height: 1.8; color: rgba(245,251,255,0.9); }
.richtext img { max-width: 100%; display: block; margin: 12px 0; border-radius: 16px; }
.bottom-nav {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
  width: min(430px, calc(100vw - 16px)); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px;
  padding: 6px; border-radius: 22px; background: rgba(7, 12, 24, 0.92); border: 1px solid rgba(124,247,255,0.16);
  backdrop-filter: blur(12px);
}
.bottom-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  min-width: 0; padding: 7px 2px; border-radius: 14px; color: var(--text-sub); background: transparent;
  font-size: 11px; line-height: 1.1; white-space: nowrap; transition: background 0.18s, color 0.18s;
}
.bottom-item.active { color: var(--text-main); background: linear-gradient(135deg, rgba(124,247,255,0.18), rgba(141,91,255,0.18)); }
.nav-icon { font-size: 18px; line-height: 1; }
.loading, .empty { padding: 40px 20px; text-align: center; color: var(--text-sub); }
@media (max-width: 520px) { .grid { gap: 10px; } }

@media (min-width: 960px) {
  body {
    background:
      radial-gradient(circle at 18% 10%, rgba(124, 247, 255, 0.12), transparent 28%),
      radial-gradient(circle at 82% 14%, rgba(244, 63, 94, 0.10), transparent 22%),
      radial-gradient(circle at 50% 100%, rgba(43, 255, 199, 0.08), transparent 30%),
      linear-gradient(180deg, #050814 0%, #08101b 52%, #04070d 100%);
  }

  #app {
    max-width: 1220px;
    padding: 16px 24px 112px;
  }

  .desktop-shell {
    display: grid;
    gap: 18px;
  }

  .desktop-main {
    display: grid;
    gap: 14px;
  }

  .desktop-shell.page-home .desktop-main,
  .desktop-shell.page-us .desktop-main,
  .desktop-shell.page-exposure .desktop-main,
  .desktop-shell.page-exposure-detail .desktop-main,
  .desktop-shell.page-detail .desktop-main {
    grid-template-columns: 1fr;
  }

  .hero {
    max-height: 360px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  }

  .hero-img {
    width: 100%;
    height: 360px;
    object-fit: fill;
  }

  .hero h1 {
    margin-top: 42px;
    font-size: 38px;
    max-width: 46%;
  }

  .hero p {
    max-width: 42%;
    font-size: 15px;
  }

  .notice-bar {
    height: 34px;
    margin-top: 10px;
    font-size: 13px;
  }

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

  .search-section .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product {
    border-radius: 14px;
    padding: 8px;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.88), rgba(10, 15, 25, 0.96));
    border: 1px solid rgba(124, 247, 255, 0.10);
    transition: border-color 0.18s ease, background 0.18s ease;
  }

  .product-main {
    gap: 14px;
  }

  .cover-wrap {
    border-radius: 12px;
  }

  .product h3 {
    margin-top: 8px;
    font-size: 13px;
    min-height: 38px;
  }

  .product-meta-row {
    margin-top: 6px;
  }

  .price {
    font-size: 16px;
  }

  .product-copy-btn {
    padding: 6px 9px;
    font-size: 11px;
  }

  .bottom-nav {
    width: min(980px, calc(100vw - 48px));
    padding: 8px;
    border-radius: 999px;
    background: rgba(6, 10, 18, 0.78);
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(124, 247, 255, 0.10);
  }

  .bottom-item {
    border-radius: 999px;
  }

  .section {
    padding: 16px;
  }

  .home-featured .section-head {
    margin-bottom: 8px;
  }

  .home-featured .section-head h2 {
    font-size: 18px;
  }

  .home-featured .section-head span {
    font-size: 12px;
  }

  .home-featured .nav-btn {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
  }

  .detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 22px;
    align-items: start;
  }

  .detail-main {
    position: sticky;
    top: 18px;
  }

  .detail-info .section {
    margin-top: 0;
  }

  .gallery-main {
    border-radius: 26px;
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.30);
  }

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

  .category-page {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }

  .category-page > .section {
    margin-top: 0;
  }

  .category-page > .section:first-child {
    position: sticky;
    top: 20px;
    border-radius: 26px;
    background:
      linear-gradient(180deg, rgba(11, 18, 30, 0.98), rgba(7, 12, 20, 0.96));
    border: 1px solid rgba(124, 247, 255, 0.10);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  }

  .category-sidebar .category-desktop-list {
    max-height: calc(100vh - 230px);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(124,247,255,0.32) transparent;
    -ms-overflow-style: none;
  }

  .category-sidebar .category-desktop-list::-webkit-scrollbar {
    width: 6px;
    height: 0;
    display: block;
  }

  .category-sidebar .category-desktop-list::-webkit-scrollbar-track {
    background: transparent;
  }

  .category-sidebar .category-desktop-list::-webkit-scrollbar-thumb {
    background: rgba(124,247,255,0.32);
    border-radius: 999px;
  }

  .category-sidebar .cat-expand-head-btn {
    display: none;
  }

  .category-sidebar .category-desktop-list .category-btn {
    width: 100%;
    min-height: 64px;
    padding: 9px 12px;
    border-radius: 18px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    cursor: pointer;
  }

  .category-sidebar .category-desktop-list .category-btn:active {
    transform: scale(0.985);
  }

  .category-sidebar .category-desktop-list .category-btn:not(.active):hover {
    background: rgba(124, 247, 255, 0.08);
    border-color: rgba(124, 247, 255, 0.26);
  }

  .category-sidebar .category-desktop-list .cat-icon {
    display: flex;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    font-size: 24px;
  }

  .category-sidebar .category-desktop-list .cat-icon-img {
    display: block;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  .category-sidebar .category-desktop-list .cat-name {
    max-width: none;
    white-space: nowrap;
    text-align: left;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.01em;
  }

  .category-sidebar .category-desktop-list .category-btn.active {
    box-shadow:
      0 0 22px rgba(124, 247, 255, 0.14),
      inset 0 1px 0 rgba(124, 247, 255, 0.16);
  }

  /* ---- 桌面端二级分类：侧栏手风琴 ---- */
  .category-sidebar .category-desktop-list .cat-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .category-sidebar .category-desktop-list .cat-child-dot {
    display: none;
  }

  .category-sidebar .category-desktop-list .cat-caret {
    margin-left: auto;
    flex-shrink: 0;
    color: var(--text-sub);
    width: 9px;
    height: 9px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: color 0.18s, transform 0.18s;
  }

  .category-sidebar .category-desktop-list .cat-caret.open {
    transform: rotate(225deg) translate(-1px, -1px);
  }

  .category-sidebar .category-desktop-list .category-btn.active .cat-caret {
    color: var(--primary);
  }

  .category-sidebar .category-desktop-list .cat-children {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-left: 26px;
    padding-left: 20px;
    border-left: 1px solid rgba(124, 247, 255, 0.16);
  }

  .category-sidebar .category-desktop-list .cat-child-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 9px 12px;
    border-radius: 12px;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    color: var(--text-sub);
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
  }

  .category-sidebar .category-desktop-list .cat-child-btn .cat-name {
    max-width: none;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: inherit;
  }

  .category-sidebar .category-desktop-list .cat-child-btn:not(.active):hover {
    background: rgba(124, 247, 255, 0.07);
    border-color: rgba(124, 247, 255, 0.20);
    color: var(--text-main);
  }

  .category-sidebar .category-desktop-list .cat-child-btn.active {
    background: linear-gradient(135deg, rgba(124, 247, 255, 0.16), rgba(141, 91, 255, 0.16));
    border-color: rgba(124, 247, 255, 0.40);
    color: var(--primary);
  }

  .category-sidebar .category-desktop-list .cat-child-btn:active {
    transform: scale(0.985);
  }

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

  .exp-card {
    height: 100%;
    margin-bottom: 0;
  }

  .exp-card-inner {
    min-height: 150px;
  }

  .exp-page-head {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px;
  }

  .exp-page-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(244, 63, 94, 0.10);
    border: 1px solid rgba(244, 63, 94, 0.18);
  }

  .us-page,
  .search-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .us-gallery-card {
    border-radius: 18px;
  }

  .us-gallery-card h3,
  .us-gallery-header h2,
  .section-head h2 {
    font-size: 21px;
  }

  .card.section {
    background: linear-gradient(180deg, rgba(11, 18, 29, 0.92), rgba(8, 13, 21, 0.95));
    border-color: rgba(124, 247, 255, 0.10);
  }
}

/* ========== “我们” page ========== */
.us-page { text-align: center; padding: 30px 20px; }
.us-lock-icon { font-size: 48px; margin-bottom: 12px; }
.us-title { margin: 0 0 8px; font-size: 22px; }
.us-desc { color: var(--text-sub); font-size: 14px; line-height: 1.65; margin: 0 0 20px; }
.us-form { display: flex; flex-direction: column; gap: 12px; max-width: 300px; margin: 0 auto; }
.us-input {
  padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(124,247,255,0.18);
  background: rgba(10,18,38,0.9); color: var(--text-main); font-size: 15px; outline: none;
  text-align: center; transition: border-color 0.2s;
}
.us-input:focus { border-color: var(--primary); }
.us-submit-btn {
  padding: 14px; border-radius: 14px; border: none; font-weight: 700; font-size: 15px;
  background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #070b16; cursor: pointer;
}
.us-retry-btn {
  margin-top: 16px; padding: 12px 24px; border-radius: 14px; border: 1px solid rgba(124,247,255,0.2);
  background: rgba(255,255,255,0.06); color: var(--text-main); cursor: pointer;
}
.us-reject-reason {
  margin: 0 auto 20px; padding: 14px 18px; border-radius: 14px; max-width: 320px;
  background: rgba(244,63,94,0.1); border: 1px solid rgba(244,63,94,0.25);
  color: #fb7185; font-size: 13px; line-height: 1.6; text-align: left;
}
.us-gallery-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.us-gallery-header h2 { margin: 0; font-size: 18px; }
.us-verified { font-size: 12px; color: var(--accent); padding: 6px 12px; border-radius: 999px; background: rgba(43,255,199,0.1); }
.us-gallery-card { margin-top: 14px; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,0.04); border: 1px solid rgba(124,247,255,0.08); }
.us-gallery-card h3 { margin: 0; padding: 14px 16px 8px; font-size: 15px; text-align: left; }
.us-gallery-img { width: 100%; height: auto; display: block; max-height: 400px; object-fit: contain; }

/* ========== "曝光" page ========== */
.exp-page-head {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0 18px; border-bottom: 1px solid rgba(244,63,94,0.18); margin-bottom: 16px;
}
.exp-page-icon { font-size: 36px; flex-shrink: 0; }
.exp-page-title { margin: 0 0 6px; font-size: 20px; color: #fb7185; }
.exp-page-desc { margin: 0; font-size: 13px; color: var(--text-sub); line-height: 1.6; }

.exp-card {
  margin-bottom: 10px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, rgba(244,63,94,0.06), rgba(20,10,25,0.9));
  border: 1px solid rgba(244,63,94,0.18); cursor: pointer;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.exp-card:last-child { margin-bottom: 0; }
.exp-card:active { transform: scale(0.98); }
.exp-card:hover { border-color: rgba(244,63,94,0.38); box-shadow: 0 4px 20px rgba(244,63,94,0.12); }
.exp-card-inner { display: flex; align-items: stretch; gap: 0; }
.exp-card-img {
  width: 100px; flex-shrink: 0;
  background: rgba(244,63,94,0.08);
}
.exp-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.exp-no-img {
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; min-height: 90px;
}
.exp-card-info {
  flex: 1; padding: 12px 14px; display: flex; flex-direction: column; gap: 5px; justify-content: center;
}
.exp-card-tags {
  display: flex; flex-wrap: wrap; gap: 4px; align-self: flex-start;
}
.exp-card-tag {
  display: inline-flex;
  padding: 3px 8px; border-radius: 6px; font-size: 10px; font-weight: 700;
  background: rgba(244,63,94,0.18); color: #fb7185; letter-spacing: 0.04em;
}
.exp-card-name { margin: 0; font-size: 16px; font-weight: 700; color: var(--text-main); }
.exp-card-contact { font-size: 12px; color: var(--text-sub); }
.exp-card-field { display: flex; align-items: baseline; gap: 2px; font-size: 12px; line-height: 1.55; }
.exp-field-label { color: var(--text-sub); flex-shrink: 0; }
.exp-field-val { color: var(--text-main); font-weight: 600; word-break: break-all; }
.exp-card-arrow { font-size: 12px; color: rgba(251,113,133,0.6); margin-top: 4px; }

/* Exposure detail */
.exp-detail-header {
  padding: 6px 0 18px;
}
.exp-detail-badges {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px;
}
.exp-detail-badge {
  display: inline-flex; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(244,63,94,0.15); color: #fb7185; border: 1px solid rgba(244,63,94,0.28);
}
.exp-detail-name { margin: 0 0 12px; font-size: 26px; font-weight: 800; color: var(--text-main); }
.exp-detail-contact {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px;
  background: rgba(244,63,94,0.07); border: 1px solid rgba(244,63,94,0.15);
  font-size: 14px; color: var(--text-sub);
}
.exp-detail-contact span { color: #fb7185; font-weight: 600; }
/* 曝光详情分行字段列表 */
.exp-detail-fields {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 4px;
}
.exp-detail-field {
  display: flex; align-items: center; gap: 0;
  padding: 10px 16px; border-radius: 12px;
  background: rgba(244,63,94,0.07); border: 1px solid rgba(244,63,94,0.12);
  font-size: 14px;
}
.exp-detail-field-label {
  color: var(--text-sub); flex-shrink: 0; min-width: 4.5em;
}
.exp-detail-field-label::after { content: '：'; }
.exp-detail-field-val { color: #fb7185; font-weight: 700; word-break: break-all; }
.exp-gallery {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px;
  margin-top: 4px;
}
.exp-gal-item { position: relative; cursor: zoom-in; border-radius: 12px; overflow: hidden; border: 1px solid rgba(244,63,94,0.12); }
.exp-gal-item img { width: 100%; display: block; object-fit: cover; aspect-ratio: 4/3; transition: opacity .15s; }
.exp-gal-item:active img { opacity: .8; }
.lb-hint {
  position: absolute; bottom: 6px; right: 6px;
  background: rgba(0,0,0,.45); color: #fff;
  border-radius: 8px; font-size: 14px; padding: 3px 6px;
  pointer-events: none; user-select: none;
}

/* 加载更多 / 全部已加载 */
.exp-load-more {
  display: block; width: 100%; padding: 14px;
  margin: 16px 0 4px;
  background: rgba(244,63,94,0.08);
  border: 1px solid rgba(244,63,94,0.25);
  border-radius: 14px;
  color: #fb7185; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background .2s;
}
.exp-load-more:active { background: rgba(244,63,94,0.18); }
.exp-all-loaded {
  text-align: center; color: var(--text-sub); font-size: 13px;
  padding: 14px 0 4px;
}

/* 富文本图片（可放大） */
.richtext-zoomable img { cursor: zoom-in; border-radius: 8px; }

/* Lightbox overlay */
#img-lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  align-items: center; justify-content: center;
}
#img-lightbox.active { display: flex; }
#img-lightbox .lb-mask {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(6px);
}
#img-lightbox .lb-img {
  position: relative; z-index: 1;
  max-width: 96vw; max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
  object-fit: contain;
  animation: lb-pop .18s ease;
}
@keyframes lb-pop {
  from { transform: scale(.88); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
#img-lightbox .lb-close {
  position: absolute; top: 18px; right: 20px; z-index: 2;
  background: rgba(255,255,255,.15); border: none;
  color: #fff; font-size: 28px; line-height: 1;
  width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
#img-lightbox .lb-close:active { background: rgba(255,255,255,.3); }
#img-lightbox .lb-prev,
#img-lightbox .lb-next {
  position: absolute; top: 50%; z-index: 2;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15); border: none;
  color: #fff; font-size: 36px; line-height: 1;
  width: 48px; height: 64px; border-radius: 10px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s; user-select: none;
}
#img-lightbox .lb-prev { left: 10px; }
#img-lightbox .lb-next { right: 10px; }
#img-lightbox .lb-prev:active,
#img-lightbox .lb-next:active { background: rgba(255,255,255,.3); }
#img-lightbox .lb-counter {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 2;
  background: rgba(0,0,0,.5); color: #fff; font-size: 13px;
  padding: 4px 14px; border-radius: 999px; letter-spacing: .05em;
  pointer-events: none; user-select: none;
}

/* ========== Pull-to-Refresh ========== */
#ptr-wrap {
  position: fixed;
  top: -56px;
  left: 0; right: 0;
  height: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 9990;
  pointer-events: none;
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
#ptr-wrap.ptr-dragging {
  transition: none;
}
#ptr-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  color: var(--text-sub);
  font-size: 13px;
  user-select: none;
}
.ptr-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  transition: border-color .2s;
}
#ptr-wrap.ptr-ready .ptr-spinner {
  border-color: rgba(255,255,255,.15);
  border-top-color: var(--accent);
  transform: rotate(180deg);
  transition: transform .25s ease, border-color .2s;
}
#ptr-wrap.ptr-loading .ptr-spinner {
  border-top-color: var(--primary);
  animation: ptr-spin .65s linear infinite;
}
@keyframes ptr-spin {
  to { transform: rotate(360deg); }
}
#ptr-wrap.ptr-ready .ptr-text,
#ptr-wrap.ptr-loading .ptr-text {
  color: var(--primary);
}

/* ========== 搜索 ========== */
.search-section {
  padding: 10px 14px;
  margin-top: 12px;
}
.search-bar-wrap {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(124,247,255,0.18);
  border-radius: 16px;
  padding: 11px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-bar-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,247,255,0.08);
}
.search-icon { font-size: 16px; flex-shrink: 0; opacity: 0.7; }
.search-input {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  color: var(--text-main); font-size: 15px; font-family: inherit;
  -webkit-appearance: none;
}
.search-input::placeholder { color: var(--text-sub); }
.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-decoration { display: none; }
.search-clear-btn {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,0.14); color: var(--text-sub);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; padding: 0; line-height: 1; cursor: pointer;
  border: none; transition: background 0.15s;
}
.search-clear-btn:active { background: rgba(255,255,255,0.28); }

/* ========== 分类页内联搜索 ========== */
.cat-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.cat-price-dropdown {
  position: relative;
  flex-shrink: 0;
}
.cat-price-filter {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  width: auto;
  min-width: 0;
  min-height: 36px;
  padding: 6px 9px 6px 11px;
  border-radius: 14px;
  background:
    radial-gradient(circle at top left, rgba(124,247,255,0.16), transparent 52%),
    linear-gradient(135deg, rgba(8,22,38,0.96), rgba(12,34,48,0.92));
  border: 1px solid rgba(124,247,255,0.16);
  color: var(--text-sub);
  font-size: 12px;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 10px 24px rgba(0,0,0,0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s, color 0.2s;
}
.cat-price-filter.active,
.cat-price-filter.open {
  border-color: rgba(124,247,255,0.42);
  background:
    radial-gradient(circle at top left, rgba(124,247,255,0.24), transparent 54%),
    linear-gradient(135deg, rgba(10,28,43,0.98), rgba(15,42,58,0.96));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 3px rgba(124,247,255,0.08),
    0 14px 30px rgba(0,0,0,0.24);
  color: var(--accent);
}
.cat-price-filter:active {
  transform: translateY(1px) scale(0.985);
}
.cat-price-shell {
  width: auto;
  max-width: 150px;
}
.cat-price-label {
  font-size: 9px;
  line-height: 1;
  color: rgba(226,245,255,0.62);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  white-space: nowrap;
}
.cat-price-value {
  font-size: 12px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.01em;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 78px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 10px rgba(124,247,255,0.08);
}
.cat-price-caret {
  display: none;
}
.cat-price-native-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.cat-price-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
}
.cat-price-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(216px, calc(100vw - 32px));
  padding: 6px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(8,18,30,0.98), rgba(6,14,24,0.96));
  border: 1px solid rgba(124,247,255,0.16);
  box-shadow: 0 18px 40px rgba(0,0,0,0.34);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 30;
}
.cat-price-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.cat-price-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: inherit;
  border-left: 1px solid rgba(124,247,255,0.16);
  border-top: 1px solid rgba(124,247,255,0.16);
  transform: rotate(45deg);
}
.cat-price-option {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "main check"
    "hint check";
  gap: 2px 12px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.cat-price-option + .cat-price-option { margin-top: 4px; }
.cat-price-option:active {
  transform: scale(0.99);
}
.cat-price-option.active {
  background: linear-gradient(135deg, rgba(124,247,255,0.14), rgba(43,255,199,0.08));
  border-color: rgba(124,247,255,0.24);
}
.cat-price-option-main {
  grid-area: main;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
}
.cat-price-option-hint {
  grid-area: hint;
  font-size: 10px;
  color: rgba(226,245,255,0.58);
}
.cat-price-option-check {
  grid-area: check;
  align-self: center;
  justify-self: end;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124,247,255,0.12);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}
.cat-search-wrap {
  display: flex; align-items: center; gap: 5px;
  flex-shrink: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(124,247,255,0.14);
  cursor: text;
  transition: border-color 0.2s, background 0.2s;
}
.cat-search-wrap:focus-within,
.cat-search-wrap.has-kw {
  border-color: rgba(124,247,255,0.45);
  background: rgba(124,247,255,0.06);
}
.cat-search-icon { font-size: 13px; opacity: 0.65; flex-shrink: 0; line-height: 1; }
.cat-search-input {
  width: 68px;
  background: transparent; border: none; outline: none;
  color: var(--text-main); font-size: 13px; font-family: inherit;
  -webkit-appearance: none;
}
.cat-search-wrap:focus-within .cat-search-input,
.cat-search-wrap.has-kw .cat-search-input { width: 100px; }
.cat-search-input::placeholder { color: var(--text-sub); }
.cat-search-input::-webkit-search-cancel-button,
.cat-search-input::-webkit-search-decoration { display: none; }
.cat-search-clear {
  flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(255,255,255,0.18); color: var(--text-sub);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; padding: 0; line-height: 1; cursor: pointer;
  border: none;
}
.category-page { touch-action: pan-y; }
.category-page > .section { min-height: 0; }
.category-sidebar { scrollbar-gutter: stable; }
.cat-load-sentinel {
  height: 40px; display: flex; align-items: center; justify-content: center;
  grid-column: 1 / -1; color: var(--text-sub); font-size: 13px;
}

.ratings-page { padding-bottom: 20px; }
.ratings-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ratings-head h2 { margin: 0; font-size: 20px; }
.ratings-head span { color: var(--text-sub); font-size: 12px; }
.ratings-count { white-space: nowrap; }
.ratings-list { display: grid; gap: 10px; }
.rating-item { padding: 13px 14px; border: 1px solid rgba(124,247,255,.12); border-radius: 15px; background: rgba(255,255,255,.035); }
.rating-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 12px; color: var(--text-sub); }
.rating-meta strong { color: var(--text-main); font-size: 14px; }
.rating-score { margin-left: auto; color: #ffd166; letter-spacing: 1px; white-space: nowrap; }
.rating-score em { margin-left: 5px; color: #ffe6a6; font-style: normal; letter-spacing: 0; }
.rating-item p { margin: 9px 0 0; color: rgba(245,251,255,.86); line-height: 1.65; word-break: break-word; }
.ratings-load-more, .ratings-all-loaded { padding: 14px 8px 4px; text-align: center; color: var(--text-sub); font-size: 12px; }
.ratings-load-more { color: var(--primary); cursor: pointer; }
