
:root {
  --ink: #0d1117;
  --ink-2: #1f2937;
  --muted: #6b7280;
  --paper: #f6f5f1;
  --card: #ffffff;
  --line: #e7e4dc;
  --accent: #0f766e;
  --accent-2: #f59e0b;
  --accent-soft: #e6f4f1;
  --hero: #080d16;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(13, 17, 23, .08);
  --shadow-sm: 0 8px 24px rgba(13, 17, 23, .06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  
  background: linear-gradient(180deg, var(--topbar-bg) 0, var(--topbar-bg) 64px, var(--paper) 64px), var(--paper);
  color: var(--ink);
  font: 15px/1.7 "Inter", "SF Pro Text", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}


body:not(.is-home) .main { padding-top: 30px; }

a { color: inherit; text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
::selection { background: rgba(15, 118, 110, .18); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.muted { color: var(--muted); }


.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 245, 241, .84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(13, 17, 23, .07);
}

.topbar-inner { display: flex; align-items: center; gap: 24px; height: 76px; }

.brand { font-size: 21px; font-weight: 800; letter-spacing: -.035em; white-space: nowrap; }
.brand img { height: 36px; width: auto; max-width: 220px; object-fit: contain; }

.nav {
  flex: 1;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar { display: none; }

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.nav a:hover { background: var(--accent-soft); color: var(--accent); }
.nav a.active { background: var(--ink); color: #fff; }

.search { display: flex; gap: 8px; }

.search input {
  width: 200px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  outline: none;
}

.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15, 118, 110, .10); }

.search button {
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.search button:hover { background: var(--accent); }

.member-link {
  flex: none;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}

.member-link:hover { border-color: var(--accent); color: var(--accent); }

.main { padding: 30px 24px 80px; }


body:not(.is-home) .main { padding-top: 84px; }


body .hero8 { margin-top: -30px; }
body:not(.is-home) .dir-head, body:not(.is-home) .cat-banner { margin-top: -84px; }


.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 92px 24px 84px;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 8% -10%, rgba(15, 118, 110, .42), transparent 60%),
    radial-gradient(760px 460px at 96% 8%, rgba(245, 158, 11, .20), transparent 58%),
    linear-gradient(135deg, #080d16, #0f1b2a 58%, #080d16);
  color: #fff;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero::before { width: 420px; height: 420px; top: -180px; left: -100px; background: rgba(15, 118, 110, .45); }
.hero::after { width: 360px; height: 360px; right: -100px; bottom: -180px; background: rgba(245, 158, 11, .18); }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px;
  align-items: center;
  max-width: 1152px;
  margin: 0 auto;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: #a7f3d0;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.hero-title {
  margin: 18px 0;
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 800;
}

.hero-sub {
  max-width: 560px;
  margin: 0 0 28px;
  color: #c7d2e0;
  font-size: 16px;
  line-height: 1.8;
}

.hero-search {
  display: flex;
  max-width: 560px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 18px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.hero-search button {
  flex: none;
  height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.hero-search button:hover { background: #0b5f59; }

.hero-channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.hero-channel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  color: #e5e7eb;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.hero-channel:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .12);
  border-color: rgba(167, 243, 208, .38);
  color: #fff;
}

.hero-channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #14b8a6);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.hero-channel-name { font-size: 14px; font-weight: 600; }


.pinned { display: flex; flex-direction: column; gap: 10px; margin: 42px 0 0; }

.pin {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
}

.pin:hover { border-color: #fcd34d; }

.pin-badge {
  flex: none;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-2);
  color: #111827;
  font-size: 11.5px;
  font-weight: 700;
}

.pin-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.pin-date { flex: none; color: var(--muted); font-size: 12px; }


.section { margin: 64px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 26px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 800;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.section-desc { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.section-more { flex: none; color: var(--accent); font-size: 14px; font-weight: 600; }
.section-more span { display: inline-block; transition: transform .18s ease; }
.section-more:hover span { transform: translateX(4px); }


.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.module-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.module-card:hover {
  transform: translateY(-6px);
  border-color: #d8d3c6;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.module-cover {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #e6f4f1, #fef3c7);
}

.module-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.module-card:hover .module-cover img { transform: scale(1.045); }

.cover-fallback {
  padding: 0 18px;
  color: #4b5563;
  font-size: 13px;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.module-body { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 18px 20px 20px; }

.module-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.module-summary {
  margin: 0;
  color: #5b6472;
  font-size: 13.5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.module-meta { display: flex; align-items: center; gap: 8px; margin-top: auto; color: var(--muted); font-size: 12px; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
}


.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.catalog-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.catalog-card:hover { transform: translateY(-4px); border-color: #d8d3c6; box-shadow: var(--shadow); }

.catalog-head { display: flex; flex-direction: column; gap: 8px; }

.catalog-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
}

.catalog-name { font-size: 17px; font-weight: 700; }
.catalog-desc { color: var(--muted); font-size: 13px; line-height: 1.7; }
.catalog-count { color: var(--muted); font-size: 12px; }

.catalog-children { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

.catalog-children a {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--paper);
  color: #4b5563;
  font-size: 12px;
}

.catalog-children a:hover { background: var(--accent-soft); color: var(--accent); }


.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.product-card:hover { transform: translateY(-6px); border-color: #d8d3c6; box-shadow: var(--shadow); }

.product-cover {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #e6f4f1, #fef3c7);
}

.product-cover img { width: 100%; height: 100%; object-fit: cover; }
.product-noimg { padding: 0 16px; color: var(--muted); font-size: 13px; text-align: center; }

.product-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }

.product-title { margin: 0; font-size: 16px; line-height: 1.45; font-weight: 700; }
.product-sub { margin: 0; color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.product-price { margin-top: 4px; color: #d97706; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.product-discount { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #fef3c7; color: #92400e; font-size: 11.5px; font-weight: 700; }
.product-meta { color: var(--muted); font-size: 12px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }


.pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 40px 0 0; }

.pager-btn {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}

.pager-btn:hover { border-color: var(--accent); color: var(--accent); }
.pager-btn.disabled { opacity: .45; cursor: not-allowed; }
.pager-now { color: var(--muted); font-size: 13px; }

.empty {
  padding: 72px 20px;
  text-align: center;
  color: var(--muted);
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}


.channel-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 74px 24px 64px;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 12% 0%, rgba(15, 118, 110, .38), transparent 62%),
    linear-gradient(135deg, #0a101a, #13202e);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.channel-hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  max-width: 1152px;
  margin: 0 auto;
}

.channel-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  background: rgba(255, 255, 255, .10);
  font-size: 28px;
  font-weight: 700;
}

.channel-title {
  margin: 0 0 10px;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 800;
}

.channel-desc { max-width: 760px; margin: 0; color: #cbd5e1; font-size: 15px; line-height: 1.8; }

.crumbs { margin-bottom: 12px; color: #94a3b8; font-size: 13px; }
.crumbs a { color: #94a3b8; }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 7px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #e2e8f0;
  font-size: 13px;
}

.chip:hover { background: rgba(255, 255, 255, .18); color: #fff; }

.channel-chips { margin-top: 18px; }

.list-head { margin-bottom: 28px; }
.list-head h1 { margin: 0 0 10px; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.03em; }


.articles { display: flex; flex-direction: column; gap: 18px; margin-top: 36px; }

.card {
  display: flex;
  gap: 24px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card:hover { transform: translateY(-3px); border-color: #d8d3c6; box-shadow: var(--shadow); }

.card-cover { flex: none; width: 250px; height: 165px; overflow: hidden; border-radius: 13px; background: var(--paper); }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-cover img { transform: scale(1.04); }

.card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.card-title { margin: 2px 0 10px; font-size: 21px; line-height: 1.4; letter-spacing: -.02em; font-weight: 750; }

.card-summary {
  margin: 0 0 14px;
  color: #5b6472;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; color: var(--muted); font-size: 12.5px; }

.badge {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
}

.resource-card { border-left: 3px solid var(--accent); }


.detail {
  max-width: 860px;
  margin: 40px auto 0;
  padding: 48px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.detail-head { padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.detail-head .crumbs { color: var(--muted); }
.detail-head .crumbs a { color: var(--muted); }
.detail-head .crumbs a:hover { color: var(--accent); }

.detail-head h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
  letter-spacing: -.035em;
  font-weight: 800;
}

.body { font-size: 16px; line-height: 1.95; color: #1f2937; word-break: break-word; }
.body h2, .body h3, .body h4 { margin: 36px 0 14px; line-height: 1.4; letter-spacing: -.02em; }
.body h2 { font-size: 26px; }
.body h3 { font-size: 21px; }
.body p { margin: 0 0 18px; }
.body img { margin: 24px auto; border-radius: 14px; }
.body blockquote { margin: 24px 0; padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 12px 12px 0; color: #334155; }
.body pre { padding: 18px; background: #0b1220; color: #e2e8f0; border-radius: 14px; overflow-x: auto; font-size: 13.5px; }
.body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
.body table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px; }
.body th, .body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.body a { color: var(--accent); text-decoration: underline; }


.notice {
  margin: 0 0 28px;
  padding: 22px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 16px;
}

.notice-text { margin: 0; font-size: 15px; font-weight: 600; }
.notice-tip { margin: 10px 0 0; color: #b45309; font-size: 13px; }
.notice-actions { margin: 16px 0 0; }

.unlock { display: flex; gap: 10px; margin-top: 14px; }

.unlock input {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  background: #fff;
  outline: none;
}

.unlock button {
  height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
}

.unlock button:disabled { opacity: .6; cursor: default; }


.official { margin: 0 0 28px; }

.btn-official {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.btn-official:hover { background: #0b5f59; color: #fff; }

.downloads { margin: 0 0 32px; }
.downloads .section-title { font-size: 22px; margin-bottom: 18px; }

.version { padding: 20px 0; border-top: 1px solid var(--line); }
.version:first-of-type { border-top: 0; padding-top: 0; }
.version-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.version-meta { color: var(--muted); font-size: 12.5px; }

.channels { display: flex; flex-direction: column; gap: 8px; }

.channel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-size: 13.5px;
}

.channel-name { flex: none; font-weight: 600; }
.channel-link { color: var(--accent); font-weight: 600; }
.share-code { flex: 1; min-width: 140px; padding: 4px 8px; border-radius: 8px; background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; word-break: break-all; }
.share-pwd { color: var(--muted); font-size: 12.5px; }


.site-card {
  display: flex;
  gap: 22px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.site-shot { flex: none; width: 220px; height: 140px; object-fit: cover; border-radius: 12px; background: var(--paper); }
.site-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.site-line { color: var(--muted); font-size: 13px; }
.site-qr { width: 110px; height: 110px; object-fit: contain; border-radius: 10px; background: #fff; }


.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }

.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { padding: 12px 14px; background: var(--paper); color: var(--muted); font-weight: 600; text-align: left; white-space: nowrap; }
.table td { padding: 13px 14px; border-top: 1px solid var(--line); }
.table a { color: var(--accent); font-weight: 600; }

.query-result { margin-top: 22px; font-size: 14px; }


.field { display: flex; flex-direction: column; gap: 7px; color: #4b5563; font-size: 13.5px; }

.field input,
.field textarea,
.field select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.field textarea { height: auto; min-height: 108px; padding: 12px 14px; line-height: 1.7; }

.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(15, 118, 110, .10); }

.field-row { display: flex; gap: 10px; }
.field-row input { flex: 1; }

.btn-primary {
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .55; cursor: default; transform: none; }

.btn-outline {
  flex: none;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline:disabled { opacity: .55; cursor: default; }


.oauth-login { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.oauth-title { margin: 0 0 14px; color: var(--muted); font-size: 13px; text-align: center; }
.oauth-btns { display: flex; flex-wrap: wrap; gap: 10px; }

.oauth-btn {
  flex: 1 1 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}

.oauth-btn:hover { border-color: var(--accent); color: var(--accent); }

.oauth-bind-list { display: flex; flex-direction: column; gap: 10px; margin: 0 0 12px; padding: 0; list-style: none; }

.oauth-bind-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.oauth-bind-name { min-width: 64px; font-size: 14px; font-weight: 600; }
.oauth-bind-state { color: var(--accent); font-size: 13px; }
.oauth-bind-state.muted { color: var(--muted); }
.oauth-bind-item .btn-outline,
.oauth-bind-link { margin-left: auto; }
.oauth-bind-link { display: inline-flex; align-items: center; justify-content: center; height: 46px; box-sizing: border-box; text-decoration: none; }


.panel {
  margin-bottom: 20px;
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.panel-title { margin: 0 0 18px; font-size: 22px; letter-spacing: -.025em; font-weight: 800; }
.panel-head .panel-title { margin-bottom: 0; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.panel-action {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}

.panel-action:hover { border-color: var(--accent); color: var(--accent); }

.kv { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv:last-of-type { border-bottom: 0; }
.kv-label { min-width: 78px; color: var(--muted); font-size: 12.5px; }

/* 会员中心（紧凑版：资料一行 + 指标一行 + chip 导航 + 行式列表） */
.mc-panel { padding-bottom: 6px; }
.mc-top { display: flex; align-items: center; gap: 12px; }
.mc-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--paper); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: var(--muted); overflow: hidden; flex: none; }
.mc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mc-top-main { min-width: 0; flex: 1; }
.mc-nick { font-size: 15.5px; font-weight: 700; margin-bottom: 2px; }
.mc-top-ops { display: flex; gap: 6px; flex: none; }
.mc-metrics { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.mc-metrics b { color: #1f2d3d; font-size: 14px; font-weight: 700; margin-left: 2px; }
.mc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.mc-chip { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--paper); color: #40495a; font-size: 12.5px; text-decoration: none; }
.mc-chip:hover { color: #1e9fff; }
.mc-chip.active { background: #1e9fff; color: #fff; }
/* 跳转类（跳到别的页面）：弱化文字链 + 箭头，与页内切换的 pill 明确区分 */
.mc-linkchip { display: inline-flex; align-items: center; gap: 3px; padding: 5px 4px; color: var(--muted); font-size: 12.5px; text-decoration: none; }
.mc-linkchip::after { content: '\2192'; font-size: 11px; opacity: .7; }
.mc-linkchip:hover { color: #1e9fff; }
.mc-chip-sep { width: 1px; height: 12px; background: var(--line); margin: 0 4px; }
.mc-body { margin-top: 10px; }
.mc-list { display: flex; flex-direction: column; }
.mc-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.mc-row:last-child { border-bottom: 0; }
.mc-row:hover .mc-row-title { color: #1e9fff; }
.mc-row-main { min-width: 0; flex: 1; }
.mc-row-title { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-row-sub { margin-top: 3px; font-size: 12.5px; color: var(--muted); line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-row-side { display: flex; align-items: center; gap: 8px; flex: none; font-size: 12px; }
.mc-tag { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 11.5px; text-decoration: none; }
@media (max-width: 640px) {
  .mc-top-ops { display: none; }
}


.order-item-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.order-item-cover { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; background: var(--paper); }
.order-item-title { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.order-block { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.order-block-title { margin: 0 0 12px; color: var(--muted); font-size: 13px; font-weight: 700; }

.delivery-content {
  margin: 0 0 12px;
  padding: 14px;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-all;
}

/* 订单状态徽章 */
.order-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}

.order-state::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.order-state.is-wait { color: #92400e; background: #fef3c7; }
.order-state.is-paid { color: #065f46; background: #d1fae5; }
.order-state.is-refund { color: #9a3412; background: #ffedd5; }
.order-state.is-closed { color: var(--muted); background: var(--paper); }

/* 订单摘要 */
.order-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.order-amount {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.order-meta {
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  color: var(--muted);
  font-size: 12.5px;
}

/* 退款进度横幅 */
.refund-banner {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
}

.refund-banner .refund-remark {
  margin: 4px 0 0;
  font-size: 12.5px;
  font-weight: 500;
  opacity: .85;
}

.refund-banner.is-pending { background: #fef3c7; color: #92400e; }
.refund-banner.is-approved { background: #d1fae5; color: #065f46; }
.refund-banner.is-rejected { background: #f3f4f6; color: #6b7280; }

/* 订单详情 · 退款申请折叠区 */
.refund-area { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }

/* 订单详情 · 发货记录 */
.order-deliveries { display: flex; flex-direction: column; gap: 12px; }
.order-delivery { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.order-delivery-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); }
.order-delivery-text { margin: 8px 0 0; white-space: pre-wrap; word-break: break-word; font: inherit; font-size: 13px; line-height: 1.7; color: var(--ink-2); }

/* 订单详情 · 小票式布局（后台订单弹窗与 C 端共用同一套视觉） */
.od-page { display: flex; flex-direction: column; gap: 14px; max-width: 860px; margin: 0 auto; }
.od-back { display: inline-flex; align-items: center; gap: 7px; width: fit-content; color: var(--muted); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.od-back:hover { color: var(--accent); }
.od-card { padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.od-sec { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 15px; font-weight: 700; color: var(--ink); }
.od-sec i { color: var(--accent); font-size: 15px; }
.od-sec-sm { margin: 18px 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.od-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.od-field > span:not(.od-tag) { display: block; margin-bottom: 4px; font-size: 12.5px; color: var(--muted); }
.od-field b { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink); word-break: break-all; }
.od-money { color: var(--ink); font-weight: 700; }
.od-tag { display: inline-flex; align-items: center; width: fit-content; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.od-field > .od-tag { margin-top: 2px; }
.od-tag.is-paid { color: #065f46; background: #d1fae5; }
.od-tag.is-wait { color: #92400e; background: #fef3c7; }
.od-tag.is-refund { color: #9a3412; background: #ffedd5; }
.od-tag.is-closed { color: var(--muted); background: #f3f4f6; }
.od-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.od-btn, .od-btn-primary { display: inline-flex; align-items: center; justify-content: center; padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
.od-btn { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.od-btn:hover { border-color: var(--accent); color: var(--accent); }
.od-btn-primary { border: 1px solid transparent; background: var(--accent); color: #fff; }
.od-btn-primary:hover { color: #fff; opacity: .92; }
.od-item-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.od-item-title { margin: 0 0 5px; font-size: 16px; font-weight: 700; }
.od-sub { margin: 0; color: var(--muted); font-size: 12.5px; }
.od-item-side { display: flex; align-items: center; gap: 10px; }
.od-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 20px; font-size: 13px; }
.od-kv span { display: block; margin-bottom: 3px; font-size: 12px; color: var(--muted); }
.od-kv b { font-weight: 500; color: var(--ink); word-break: break-all; }
.od-kv .od-span { grid-column: 1 / -1; }
.od-deliver-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 18px 0 10px; }
.od-deliver-head h4 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.od-deliver-head h4 i { color: var(--accent); }
.od-tools { display: flex; gap: 12px; }
.od-link-btn { padding: 0; border: 0; background: none; color: var(--accent); font-size: 12.5px; cursor: pointer; }
.od-link-btn:hover { text-decoration: underline; }
.od-deliveries { display: flex; flex-direction: column; gap: 10px; }
.od-delivery { padding: 12px 14px; background: #f8fafc; border-radius: 10px; }
.od-delivery-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: 12px; color: var(--muted); }
.od-content { margin: 0; font: inherit; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); white-space: pre-wrap; word-break: break-all; }
.od-empty { margin: 0; }
.od-toast { position: fixed; left: 50%; bottom: 42px; z-index: 9999; padding: 9px 18px; border-radius: 999px; background: rgba(17, 24, 39, .92); color: #fff; font-size: 13px; transform: translateX(-50%); }
.od-toast[hidden] { display: none; }
@media (max-width: 640px) {
  .od-card { padding: 18px; }
  .od-grid { grid-template-columns: 1fr; gap: 12px; }
  .od-item-head { flex-direction: column; }
}


.hl-toast { position: fixed; left: 50%; bottom: 42px; z-index: 9999; max-width: 80vw; padding: 10px 18px; border-radius: 999px; background: rgba(17, 24, 39, .92); color: #fff; font-size: 13.5px; line-height: 1.5; text-align: center; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: opacity .22s ease, transform .22s ease; }
.hl-toast.is-show { opacity: 1; transform: translate(-50%, 0); }


.pm-mask { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 23, 42, .45); }
.pm-mask[hidden] { display: none; }
.pm-dialog { position: relative; width: min(520px, 94vw); max-height: 88vh; overflow: auto; padding: 26px 28px 24px; background: #fff; border-radius: 16px; box-shadow: 0 24px 64px rgba(15, 23, 42, .28); }
.pm-close { position: absolute; right: 14px; top: 10px; border: 0; background: none; color: #9aa4b2; font-size: 24px; line-height: 1; cursor: pointer; }
.pm-close:hover { color: var(--ink); }
.pm-head { margin: 0 0 18px; font-size: 17px; font-weight: 650; color: var(--ink); }
.pm-row { display: flex; gap: 14px; align-items: flex-start; padding: 9px 0; font-size: 13.5px; }
.pm-row > span { flex: none; width: 76px; color: #94a3b8; }
.pm-row > b { flex: 1; min-width: 0; color: var(--ink); font-weight: 500; word-break: break-all; }
.pm-money { color: #ef4444; font-weight: 700; }
.pm-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-method { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 13px; cursor: pointer; }
.pm-method.is-active { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.pm-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 12px; text-align: center; }
.pm-qr img { display: block; width: 190px; height: 190px; object-fit: contain; }
.pm-qr p { margin: 0; color: var(--muted); font-size: 12.5px; }
.pm-status { display: inline-flex; align-items: center; gap: 6px; color: #64748b; font-size: 12.5px; }
.pm-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f59e0b; animation: pm-pulse 1.2s ease-in-out infinite; }
.pm-status.is-paid { color: #16a34a; }
.pm-status.is-paid::before { background: #16a34a; animation: none; }
@keyframes pm-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.pm-submit { width: 100%; margin-top: 18px; padding: 12px 0; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
.pm-submit:disabled { opacity: .6; }
@media (max-width: 640px) {
  .pm-row { flex-direction: column; gap: 4px; }
  .pm-row > span { width: auto; }
}


.pay-box { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow-sm); }
.pay-qr { width: 220px; height: 220px; margin: 16px auto; object-fit: contain; border-radius: 14px; background: #fff; }


.pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.pay-btn:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-1px); }

.pay-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 19px; background: #eefaf1; color: #16a34a; }
.pay-btn[data-method="alipay"] .pay-ico { background: #eef4ff; color: #1677ff; }
.pay-name { white-space: nowrap; }

.pay-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pay-code { padding: 12px; border-radius: 10px; background: var(--paper); font-size: 12.5px; word-break: break-all; }


.price { color: #d97706; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.price-lg { font-size: 36px; }
.price-old { margin-left: 8px; color: var(--muted); font-size: 14px; text-decoration: line-through; }
.discount-tag { display: inline-flex; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #fef3c7; color: #92400e; font-size: 11.5px; font-weight: 700; }

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 32px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.product-hero .product-cover { aspect-ratio: 4 / 3; border-radius: 16px; }

.buy { display: flex; flex-direction: column; gap: 18px; }
.buy-form { display: flex; flex-direction: column; gap: 16px; }


@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .module-grid,
  .product-grid,
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer .wrap { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .topbar-inner { height: auto; flex-wrap: wrap; gap: 12px; padding: 12px 0; }
  .nav { order: 3; flex: 1 0 100%; }
  .search { order: 4; flex: 1 0 100%; }
  .search input { flex: 1; width: auto; }
  .member-link { margin-left: auto; }
  .hero { padding: 64px 24px 56px; }
  .hero-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main { padding-bottom: 56px; }
  .section { margin: 48px 0; }
  .detail { margin-top: 24px; padding: 30px; border-radius: 20px; }
  .product-hero { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .main { padding: 0 18px 56px; }
  .hero { padding: 52px 18px 46px; }
  .hero-title { font-size: clamp(36px, 12vw, 54px); }
  .hero-channels { grid-template-columns: 1fr; }
  .hero-search { border-radius: 18px; }
  .hero-search button { padding: 0 18px; }
  .module-grid,
  .product-grid,
  .catalog-grid,
  .pay-methods { grid-template-columns: 1fr; }
  .card { flex-direction: column; gap: 16px; }
  .card-cover { width: 100%; height: 200px; }
  .card-title { font-size: 19px; }
  .channel-hero { padding: 52px 18px 44px; }
  .channel-hero-inner { flex-direction: column; }
  .channel-icon { width: 58px; height: 58px; border-radius: 16px; font-size: 23px; }
  .detail { padding: 24px 20px; border-radius: 18px; }
  .detail-head h1 { font-size: 30px; }
  .panel { padding: 22px 18px; border-radius: 16px; }
  .site-card { flex-direction: column; }
  .site-shot { width: 100%; height: 180px; }
  .footer { padding: 36px 0 28px; }
  .footer .wrap { gap: 14px; }
}


@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-copy,
.hero-channels { animation: rise-in .55s ease both; }
.hero-channels { animation-delay: .08s; }

.pinned,
.section,
.channel-hero-inner { animation: rise-in .5s ease both; }
.section:nth-of-type(2) { animation-delay: .04s; }
.section:nth-of-type(3) { animation-delay: .08s; }
.section:nth-of-type(4) { animation-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-channels,
  .pinned,
  .section,
  .channel-hero-inner { animation: none; }
  .module-card,
  .product-card,
  .catalog-card,
  .card,
  .hero-channel { transition: none; }
  .module-card:hover,
  .product-card:hover,
  .catalog-card:hover,
  .card:hover,
  .hero-channel:hover { transform: none; }
}


:root {
  --ink: #151515;
  --ink-2: #2a2a2a;
  --muted: #6f6a62;
  --paper: #f7f5ef;
  --card: #ffffff;
  --line: #e5e0d6;
  --accent: #c2410c;
  --accent-2: #d97706;
  --accent-soft: #fdf0e7;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 34px rgba(21, 21, 21, .07);
  --shadow-sm: 0 2px 8px rgba(21, 21, 21, .04);
}

body { background: var(--paper); }


.topbar { background: rgba(247, 245, 239, .92); border-bottom: 1px solid var(--line); }
.topbar-inner { height: 68px; gap: 26px; }
.brand { font-size: 20px; letter-spacing: -.03em; }

.nav a { padding: 6px 0; margin-right: 20px; border-radius: 0; color: var(--muted); }
.nav a:hover { background: none; color: var(--ink); }
.nav a.active { background: none; color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }

.search input { width: 190px; height: 36px; border-radius: 8px; background: #fff; }
.search button { height: 36px; border-radius: 8px; background: var(--ink); }
.search button:hover { background: var(--accent); }
.member-link { border-radius: 8px; background: transparent; }


.hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 72px max(24px, calc((100vw - 1200px) / 2 + 24px)) 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 48px;
  align-items: center;
  border-radius: 0;
  background: #efece4;
  box-shadow: none;
  color: var(--ink);
}

.hero::before,
.hero::after { display: none; }

.hero-copy { max-width: 620px; }

.kicker,
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 16px 0 18px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -.05em;
  font-weight: 800;
}

.hero-sub { max-width: 520px; margin: 0 0 28px; color: var(--muted); font-size: 16px; line-height: 1.8; }

.hero-search { max-width: 520px; padding: 0; border-radius: 10px; background: transparent; box-shadow: none; border-bottom: 1px solid var(--ink); }
.hero-search input { height: 48px; padding: 0 4px; background: transparent; font-size: 15px; }
.hero-search button { height: 40px; margin: 4px 0; padding: 0 20px; border-radius: 8px; background: var(--ink); }
.hero-search button:hover { background: var(--accent); }

.hero-feature {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.hero-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.hero-feature-cover { aspect-ratio: 16 / 10; overflow: hidden; background: #e7e2d8; }
.hero-feature-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hero-feature:hover .hero-feature-cover img { transform: scale(1.03); }
.hero-feature-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.hero-feature-body h2 { margin: 4px 0 0; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.3; letter-spacing: -.025em; }
.hero-feature-body p { margin: 0; color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-feature-meta { color: var(--muted); font-size: 12px; }


.section { margin: 56px 0; }
.section-head { align-items: flex-end; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; font-weight: 800; }
.section-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 13px; }
.section-desc { color: var(--muted); font-size: 13.5px; }
.section-more { color: var(--accent); }
.section-head .eyebrow { display: block; margin-bottom: 6px; }


.channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.channel-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.channel-card:hover { transform: translateY(-3px); border-color: #d6cfc1; box-shadow: var(--shadow-sm); color: var(--ink); }

.channel-card-cover { min-height: 170px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #ebe6dc; }
.channel-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.channel-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 16px; background: var(--ink); color: #fff; font-size: 22px; font-weight: 700; }

.channel-card-body { display: flex; flex-direction: column; gap: 7px; padding: 20px 22px; }
.channel-card-count { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; }
.channel-card-body h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.channel-card-body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.channel-card-subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.channel-card-subs span { padding: 2px 8px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 11.5px; }


.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.feature-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.feature-card:hover { transform: translateY(-3px); border-color: #d6cfc1; box-shadow: var(--shadow-sm); color: var(--ink); }
.feature-card-lg { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.feature-cover { aspect-ratio: 3 / 2; overflow: hidden; background: #ebe6dc; }
.feature-card-lg .feature-cover { aspect-ratio: auto; min-height: 330px; }
.feature-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature-card:hover .feature-cover img { transform: scale(1.03); }
.feature-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.feature-card-lg .feature-body { justify-content: center; padding: 34px; }
.feature-body h3 { margin: 2px 0 0; font-size: 19px; line-height: 1.4; letter-spacing: -.02em; }
.feature-card-lg .feature-body h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.2; letter-spacing: -.035em; }
.feature-body p { margin: 0; color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feature-body .meta { margin-top: auto; }


.latest-list { border-top: 1px solid var(--line); }

.latest-item {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity .18s ease;
}

.latest-item:hover { opacity: .78; color: var(--ink); }
.latest-cover { aspect-ratio: 16 / 10; overflow: hidden; background: #ebe6dc; border-radius: 10px; }
.latest-cover img { width: 100%; height: 100%; object-fit: cover; }
.latest-body { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.latest-body h3 { margin: 0; font-size: 22px; line-height: 1.35; letter-spacing: -.025em; }
.latest-body p { margin: 0; color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }


.module-card,
.product-card,
.catalog-card { box-shadow: var(--shadow-sm); border-radius: 14px; }
.module-card:hover,
.product-card:hover,
.catalog-card:hover { transform: translateY(-3px); border-color: #d6cfc1; box-shadow: var(--shadow); }
.module-cover,
.product-cover { aspect-ratio: 3 / 2; background: #ebe6dc; }
.module-body,
.product-body { padding: 18px 20px 20px; }
.module-title { font-size: 18px; }
.product-price { color: var(--accent); }


.channel-masthead {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 72px max(24px, calc((100vw - 1200px) / 2 + 24px)) 62px;
  background: #ece8df;
  background-size: cover;
  background-position: center;
  color: var(--ink);
}

.channel-masthead.has-cover { color: #fff; }
.channel-masthead-inner { max-width: 1152px; margin: 0 auto; }

.channel-masthead h1 {
  margin: 16px 0 14px;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.02;
  letter-spacing: -.05em;
  font-weight: 800;
}

.channel-masthead p { max-width: 760px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.channel-masthead.has-cover p { color: #e5e7eb; }
.channel-masthead.has-cover .eyebrow { color: #fed7aa; }

.channel-masthead-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: var(--muted); font-size: 13px; }
.channel-masthead.has-cover .channel-masthead-meta { color: #cbd5e1; }

.channel-tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 12px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.channel-tabs::-webkit-scrollbar { display: none; }

.channel-tabs a {
  flex: none;
  padding: 12px 14px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 13.5px;
  white-space: nowrap;
}

.channel-tabs a:hover { color: var(--ink); }
.channel-tabs a.active { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
.channel-tabs em { margin-left: 6px; color: var(--muted); font-size: 11px; font-style: normal; }


.card { border-radius: 14px; box-shadow: none; }
.card:hover { box-shadow: var(--shadow-sm); }
.card-cover { width: 230px; height: 154px; border-radius: 10px; }
.card-title { font-size: 20px; }

.detail { padding: 44px; border-radius: 16px; box-shadow: var(--shadow-sm); }
.panel { border-radius: 14px; box-shadow: none; }
.btn-official { border-radius: 8px; background: var(--accent); }
.btn-official:hover { background: #9a3412; }
.chip { border-radius: 8px; background: #fff; color: var(--muted); border-color: var(--line); }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.footer { background: #141414; }
.footer-title { font-size: 19px; }

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .channel-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card-lg { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .topbar-inner { height: auto; flex-wrap: wrap; gap: 12px; padding: 12px 0; }
  .nav { order: 3; flex: 1 0 100%; }
  .search { order: 4; flex: 1 0 100%; }
  .search input { flex: 1; width: auto; }
  .member-link { margin-left: auto; }
  .channel-card { grid-template-columns: 140px minmax(0, 1fr); }
  .feature-card-lg { grid-template-columns: 1fr; }
  .feature-card-lg .feature-cover { aspect-ratio: 16 / 10; min-height: 0; }
  .feature-card-lg .feature-body { padding: 22px; }
  .latest-item { grid-template-columns: 140px minmax(0, 1fr); gap: 16px; }
}

@media (max-width: 640px) {
  .hero { padding: 48px 18px 44px; }
  .hero-copy h1 { font-size: 42px; }
  .hero-sub { font-size: 15px; }
  .channel-card { grid-template-columns: 1fr; }
  .channel-card-cover { min-height: 180px; }
  .featured-grid { grid-template-columns: 1fr; }
  .latest-item { grid-template-columns: 1fr; }
  .latest-cover { aspect-ratio: 16 / 9; }
  .channel-masthead { padding: 48px 18px 42px; }
  .detail { padding: 24px 20px; }
}


.section .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1024px) {
  .section .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .section .product-grid { grid-template-columns: 1fr; }
}


:root {
  --ink: #111827;
  --ink-2: #1f2937;
  --muted: #6b7280;
  --paper: #f7f8fa;
  --card: #ffffff;
  --line: #e5e7eb;
  --accent: #2563eb;
  --accent-2: #0ea5e9;
  --accent-soft: #eff6ff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 12px 30px rgba(17, 24, 39, .06);
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .04);
}

body { background: var(--paper); }

.topbar { background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); }
.topbar-inner { height: 64px; }
.brand { font-size: 19px; }
.nav a { border-radius: 0; color: var(--muted); }
.nav a.active { background: none; color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.search input { height: 36px; border-radius: 8px; }
.search button { height: 36px; border-radius: 8px; background: var(--ink); }
.member-link { border-radius: 8px; }


.home-head { max-width: 760px; padding: 56px 0 34px; }

.page-eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-head h1 {
  margin: 12px 0 12px;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 800;
}

.home-head p { max-width: 600px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }

.home-search {
  display: flex;
  max-width: 500px;
  margin-top: 24px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.home-search input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.home-search button {
  flex: none;
  height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.home-search button:hover { background: var(--accent); }


.pinned-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pinned-item { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.pinned-item:hover { color: var(--ink); }

.pinned-tag {
  padding: 1px 7px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
}


.section { margin: 44px 0; }
.section-head { margin-bottom: 18px; padding-bottom: 0; border-bottom: 0; }
.section-title { font-size: 26px; letter-spacing: -.03em; font-weight: 700; }
.section-desc { margin-top: 4px; color: var(--muted); font-size: 13px; }
.section-more { color: var(--accent); font-size: 13px; }


.channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.channel-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.channel-card:hover { transform: translateY(-2px); border-color: #cbd5e1; box-shadow: var(--shadow); color: var(--ink); }

.channel-card-cover {
  aspect-ratio: 16 / 6;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f1f5f9;
}

.channel-card-cover img { width: 100%; height: 100%; object-fit: cover; }

.channel-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.channel-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.channel-card-count { color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.channel-card-body h3 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.channel-card-body p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.channel-card-subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.channel-card-subs span { padding: 2px 7px; border-radius: 4px; background: var(--paper); color: var(--muted); font-size: 11px; }


.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.article-card:hover { transform: translateY(-2px); border-color: #cbd5e1; box-shadow: var(--shadow); color: var(--ink); }
.article-cover { aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.article-card:hover .article-cover img { transform: scale(1.03); }

.article-body { flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 15px 17px 17px; }
.article-meta { color: var(--muted); font-size: 11.5px; }
.article-body h3 { margin: 0; font-size: 15.5px; line-height: 1.45; letter-spacing: -.01em; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-body p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; color: var(--muted); font-size: 11.5px; }

.pill { padding: 1px 7px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); font-size: 11px; }


.page-head { padding: 34px 0 24px; border-bottom: 1px solid var(--line); }

.breadcrumbs { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; color: var(--muted); font-size: 12.5px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }

.page-head-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.page-head h1 { margin: 10px 0 8px; font-size: clamp(30px, 3.8vw, 44px); line-height: 1.1; letter-spacing: -.04em; font-weight: 800; }
.page-head p { max-width: 680px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.page-head-stat { flex: none; text-align: right; color: var(--muted); font-size: 12px; }
.page-head-stat strong { display: block; color: var(--ink); font-size: 34px; line-height: 1; letter-spacing: -.04em; }

.filter-bar { display: flex; gap: 8px; padding: 16px 0; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar a { flex: none; padding: 7px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.filter-bar a:hover { border-color: #cbd5e1; color: var(--ink); }
.filter-bar a.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-bar a span { margin-left: 6px; font-size: 11px; color: var(--muted); }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; padding-top: 24px; }
.content-main { min-width: 0; }
.content-main .list-head { margin-bottom: 16px; }
.content-main .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-side { min-width: 0; }

.side-card { padding: 18px; margin-bottom: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.side-title { margin: 0 0 12px; font-size: 15px; letter-spacing: -.01em; }
.side-post { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.side-post:last-child { padding-bottom: 0; border-bottom: 0; }
.side-post-title { font-size: 13.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-post-meta { color: var(--muted); font-size: 11.5px; }
.side-links { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.side-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; color: var(--ink-2); font-size: 13.5px; }
.side-links a:hover { color: var(--accent); }
.side-links em { color: var(--muted); font-size: 11.5px; font-style: normal; }
.side-text { margin: 0 0 6px; color: var(--muted); font-size: 13px; line-height: 1.8; }


.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { border-radius: var(--radius); box-shadow: none; }
.product-card:hover { box-shadow: var(--shadow); }
.product-cover { aspect-ratio: 4 / 3; background: #f1f5f9; }
.product-title { font-size: 15px; }
.product-price { color: var(--ink); font-size: 20px; }

.card { border-radius: var(--radius); box-shadow: none; }
.card:hover { box-shadow: var(--shadow); }
.detail { border-radius: var(--radius); box-shadow: none; }
.panel { border-radius: var(--radius); box-shadow: none; }

.footer { margin-top: 56px; padding: 40px 0 28px; background: #fff; color: var(--muted); border-top: 1px solid var(--line); }
.footer-title { color: var(--ink); font-size: 16px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--accent); }
.footer-copy { font-size: 12px; }

@media (max-width: 1024px) {
  .channel-grid,
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-layout { grid-template-columns: 1fr; }
  .content-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .side-card { margin-bottom: 0; }
}

@media (max-width: 640px) {
  .home-head { padding: 36px 0 26px; }
  .home-head h1 { font-size: 34px; }
  .channel-grid,
  .article-grid,
  .content-main .article-grid,
  .product-grid,
  .content-side { grid-template-columns: 1fr; }
  .page-head-main { align-items: flex-start; flex-direction: column; }
  .page-head-stat { text-align: left; }
  .page-head-stat strong { display: inline; margin-right: 6px; font-size: 20px; }
}

:root {
  --ink: #171821;
  --ink-2: #374151;
  --muted: #6d727e;
  --paper: #ffffff;
  --card: #ffffff;
  --line: #e9ebf2;
  --preview: #f4f6fa;
  --dark: #171821;
  --radius: 16px;

  
  --accent: #2c4a7c;
  --accent-soft: #eaf0f8;
  --accent-line: rgba(44, 74, 124, .28);
  --accent-bright: #9ab6de;
  --topbar-bg: #101a2b;
  --hero-1: #22395c;
  --hero-2: #15233a;
  --hero-3: #0a1120;
  --brand-1: #1a2f4d;
  --section-bg: #f8fafd;

  
  --topbar-ink: rgba(255, 255, 255, .78);
  --topbar-strong: #ffffff;
  --topbar-hover: rgba(255, 255, 255, .1);
  --hero-ink: #ffffff;
  --hero-muted: rgba(255, 255, 255, .62);
  --hero-faint: rgba(255, 255, 255, .45);
  --hero-line: rgba(255, 255, 255, .2);
  --hero-glass: rgba(255, 255, 255, .08);
  --hero-btn-bg: #ffffff;
  --hero-btn-ink: #171821;
  --hero-star: rgba(255, 255, 255, .9);
  --hero-shadow: rgba(12, 14, 28, .55);
  --hero-glow: rgba(255, 255, 255, .07);
}


.wrap { max-width: 1320px; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}


.topbar {
  position: fixed; left: 0; right: 0; top: 0; z-index: 80;
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--hero-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  backdrop-filter: saturate(1.3) blur(14px);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.topbar.is-top { background: transparent; border-bottom-color: transparent; box-shadow: none; backdrop-filter: none; }
.topbar-inner { height: 64px; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--topbar-strong); font-weight: 800; letter-spacing: -.045em; white-space: nowrap; }
.brand-mark { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(135deg, var(--brand-1), var(--accent)); color: #fff; font-size: 12px; }
.brand img { height: 32px; }
.nav { overflow: visible; gap: 4px; }
.nav a { position: relative; padding: 9px 11px; border-radius: 0; background: transparent; color: var(--topbar-ink); font-size: 14px; white-space: nowrap; }
.nav a:hover { background: var(--topbar-hover); color: var(--topbar-strong); }
.nav a.active { background: transparent; color: var(--topbar-strong); box-shadow: none; }
.nav a.active::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent-bright); }
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-item::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
.nav-caret { font-size: 9px; opacity: .6; }
.nav-sub { display: none; position: absolute; z-index: 60; top: calc(100% + 10px); left: 0; min-width: 190px; max-height: 320px; overflow-y: auto; padding: 8px; border: 1px solid var(--hero-line); border-radius: 12px; background: var(--topbar-bg); box-shadow: 0 20px 48px rgba(0, 0, 0, .4); }
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub { display: block; animation: nav-drop .18s ease-out both; }
@keyframes nav-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav-sub a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; color: var(--topbar-ink); font-size: 13px; white-space: nowrap; }
.nav-sub a i { width: 14px; font-size: 12.5px; opacity: .8; text-align: center; }
.nav-sub a:hover { background: var(--topbar-hover); color: var(--topbar-strong); }
.member-link { padding: 9px 17px; border: 0; border-radius: 999px; background: var(--hero-btn-bg); color: var(--hero-btn-ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
.member-link:hover { opacity: .85; color: var(--hero-btn-ink); }
.member-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.member-link-ghost { background: transparent; color: var(--topbar-ink); }
.member-link-ghost:hover { background: var(--topbar-hover); color: var(--topbar-strong); }
.nav-toggle { display: none; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 38px; height: 38px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--topbar-strong); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


.hero8 { position: relative; overflow: hidden; width: 100vw; margin: 0 0 0 calc(50% - 50vw); padding: 92px 24px 56px; border-radius: 0 0 32px 32px; text-align: center; color: var(--hero-ink); background: radial-gradient(120% 140% at 50% -20%, var(--hero-1) 0%, var(--hero-2) 46%, var(--hero-3) 100%); box-shadow: 0 30px 70px -30px var(--hero-shadow); }
.hero8-inner { position: relative; z-index: 1; max-width: 940px; margin: 0 auto; }

.hero8-sky {
  position: absolute; inset: 0; pointer-events: none; opacity: .85;
  background-size: 280px 280px;
  background-image:
    radial-gradient(circle at 24px 38px, var(--hero-star) 1px, transparent 1.2px),
    radial-gradient(circle at 96px 120px, var(--hero-star) 1px, transparent 1.2px),
    radial-gradient(circle at 178px 62px, var(--hero-star) 1px, transparent 1.2px),
    radial-gradient(circle at 232px 196px, var(--hero-star) 1px, transparent 1.2px),
    radial-gradient(circle at 62px 224px, var(--hero-star) 1px, transparent 1.2px),
    radial-gradient(circle at 148px 258px, var(--hero-star) 1px, transparent 1.2px),
    radial-gradient(circle at 258px 128px, var(--hero-star) 1px, transparent 1.2px),
    radial-gradient(circle at 12px 168px, var(--hero-star) 1px, transparent 1.2px);
  animation: sky-rise 50s linear infinite;
}
.hero8-sky::before {
  content: ""; position: absolute; inset: 0; opacity: .7;
  background-size: 280px 280px;
  background-image:
    radial-gradient(circle at 70px 92px, var(--hero-star) 1.6px, transparent 1.9px),
    radial-gradient(circle at 210px 40px, var(--hero-star) 1.6px, transparent 1.9px),
    radial-gradient(circle at 132px 208px, var(--hero-star) 1.6px, transparent 1.9px),
    radial-gradient(circle at 252px 248px, var(--hero-star) 1.6px, transparent 1.9px),
    radial-gradient(circle at 36px 260px, var(--hero-star) 1.6px, transparent 1.9px);
  animation: sky-rise 100s linear infinite;
}
.hero8-sky::after {
  content: ""; position: absolute; inset: 0; opacity: .55;
  background-size: 280px 280px;
  background-image:
    radial-gradient(circle at 118px 56px, var(--hero-star) 2.2px, transparent 2.6px),
    radial-gradient(circle at 196px 176px, var(--hero-star) 2.2px, transparent 2.6px),
    radial-gradient(circle at 44px 148px, var(--hero-star) 2.2px, transparent 2.6px),
    radial-gradient(circle at 264px 96px, var(--hero-star) 2.2px, transparent 2.6px);
  animation: sky-rise 150s linear infinite;
}
@keyframes sky-rise { from { background-position: 0 0; } to { background-position: 0 -280px; } }

.meteor8 {
  position: absolute; top: var(--top); left: var(--left);
  width: var(--len); height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .95), var(--hero-star) 32%, transparent);
  opacity: 0; pointer-events: none;
  transform: rotate(-35deg);
  animation: meteor8 var(--dur) linear var(--delay) infinite;
}
.meteor8::before {
  content: ""; position: absolute; left: -1px; top: 50%;
  width: 4px; height: 4px; margin-top: -2px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px 3px var(--hero-star);
}
.meteor8-a { --top: 10%; --left: 76%; --len: 150px; --dur: 9s;  --delay: 0s; }
.meteor8-b { --top: 34%; --left: 94%; --len: 210px; --dur: 13s; --delay: 5s; }
.meteor8-c { --top: 4%;  --left: 52%; --len: 120px; --dur: 11s; --delay: 8s; }
@keyframes meteor8 {
  0%        { opacity: 0; transform: rotate(-35deg) translate3d(0, 0, 0); }
  4%        { opacity: 1; }
  28%       { opacity: 1; transform: rotate(-35deg) translate3d(-700px, 0, 0); }
  32%, 100% { opacity: 0; transform: rotate(-35deg) translate3d(-700px, 0, 0); }
}
.hero8 h1 { max-width: 900px; margin: 24px auto 0; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.12; letter-spacing: -.045em; font-weight: 700; text-wrap: balance; }
.hero8-dot { color: var(--accent-bright); }

.hero8-title-text {
  display: inline-block;
  color: var(--hero-ink);
  background: linear-gradient(100deg, #fff 34%, var(--accent-bright) 50%, #fff 66%);
  background-size: 220% 100%;
  background-position: 130% 0;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero8-title-text {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: title-shine 7s ease-in-out 1.1s infinite;
  }
}
.hero8-char { position: relative; animation: char-in .5s cubic-bezier(.22, .8, .24, 1) both; animation-delay: calc(var(--i) * 55ms); }
@keyframes char-in { from { opacity: 0; top: .3em; } to { opacity: 1; top: 0; } }
@keyframes title-shine { 0%, 40% { background-position: 130% 0; } 70%, 100% { background-position: -30% 0; } }
.hero8-sub { max-width: 540px; margin: 18px auto 0; color: var(--hero-muted); font-size: 16.5px; line-height: 1.8; text-wrap: pretty; }


.hero8-search {
  display: flex; align-items: center; gap: 12px;
  max-width: 620px; margin: 36px auto 0;
  padding: 7px 7px 7px 20px;
  border: 1px solid transparent; border-radius: 16px;
  background:
    linear-gradient(var(--hero-glass), var(--hero-glass)) padding-box,
    linear-gradient(110deg, rgba(255, 255, 255, .1), rgba(154, 182, 222, .5), rgba(255, 255, 255, .1)) border-box;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .18);
  transition: box-shadow .25s ease, transform .25s ease;
}
.hero8-search:focus-within { box-shadow: 0 0 0 4px var(--hero-glow), 0 18px 48px rgba(0, 0, 0, .28); transform: translateY(-2px); }
.hero8-search > i { color: var(--hero-faint); font-size: 16px; }
.hero8-search input { flex: 1; min-width: 0; height: 46px; border: 0; outline: none; background: transparent; color: var(--hero-ink); font-size: 16px; }
.hero8-search input::placeholder { color: var(--hero-faint); }
.hero8-search button {
  flex: none; height: 46px; padding: 0 20px;
  border: 0; border-radius: 11px;
  background: var(--hero-btn-bg); color: var(--hero-btn-ink);
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.hero8-search button i { margin-left: 7px; font-size: 10px; }
.hero8-search button:hover { background: var(--accent-soft); color: var(--ink); transform: translateY(-1px); }


.hero8-sub, .hero8-search, .tagcloud8 { animation: rise .8s cubic-bezier(.22, .8, .24, 1) both; }
.hero8-sub { animation-delay: .08s; }
.hero8-search { animation-delay: .16s; }
.tagcloud8 { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.tagcloud8 { position: relative; margin-top: 36px; padding: 0; overflow: hidden; }
.tagcloud8-rows { position: relative; display: flex; flex-direction: column; gap: 12px; }
.tagcloud8-row { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.tagcloud8-track { display: flex; align-items: center; width: max-content; will-change: transform; animation: tag-scroll 40s linear infinite; }
.tagcloud8-row-b .tagcloud8-track { animation-duration: 48s; animation-direction: reverse; }
.tagcloud8-row-c .tagcloud8-track { animation-duration: 44s; }

@keyframes tag-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tagcloud8-tag { flex: none; margin-right: 10px; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 7px; color: rgba(255, 255, 255, .68); font-size: 12.5px; white-space: nowrap; transition: opacity .2s ease, border-color .2s ease, background-color .2s ease; }

a.tagcloud8-tag { display: inline-block; text-decoration: none; }
a.tagcloud8-tag:hover { text-decoration: none; }

.tagcloud8-tag.is-hot { border-color: rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .82); }
.tagcloud8-row:hover .tagcloud8-track { animation-play-state: paused; }

.tagcloud8-row:hover .tagcloud8-tag { opacity: .82; }
.tagcloud8-row .tagcloud8-tag:hover, .tagcloud8-row .tagcloud8-tag:focus-visible { opacity: 1; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .1); outline: none; }
.tagcloud8-row .tagcloud8-tag.is-hot:hover, .tagcloud8-row .tagcloud8-tag.is-hot:focus-visible { border-color: rgba(154, 182, 222, .8); background: rgba(154, 182, 222, .24); }


.ticker8 { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; margin: 24px 0 0; font-size: 13px; }
.ticker8-label { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 700; }
.ticker8-label i { font-size: 10px; }
.ticker8 a { color: var(--muted); }
.ticker8 a:hover { color: var(--accent); }


.feed8-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.feed8-head-more { flex: none; display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 13px; font-weight: 600; }
.feed8-head-more i { font-size: 10px; }
.feed8-group { padding-top: 22px; border-top: 1px solid var(--line); }
.feed8-group:first-of-type { padding-top: 0; border-top: 0; }
.feed8-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 6px; }
.feed8-group-head h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.feed8-group-head a { flex: none; display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 12.5px; font-weight: 600; }
.feed8-group-head a i { font-size: 9px; }
.feed8-group .feed8 { border: 0; border-radius: 0; background: transparent; }
.feed8-group .feed8-row { padding: 12px 0; }
.feed8 { display: flex; flex-direction: column; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.feed8-row { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); transition: background .18s ease; }
.feed8-row:last-child { border-bottom: 0; }
.feed8-row:hover { background: var(--accent-soft); color: var(--ink); }
.feed8-cover { flex: none; width: 96px; height: 64px; overflow: hidden; border-radius: 8px; background: #eef2f7; }
.feed8-cover img { width: 100%; height: 100%; object-fit: cover; }
.feed8-cover-fallback { display: -webkit-box; padding: 8px; color: var(--muted); font-size: 11px; line-height: 1.4; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feed8-body { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.feed8-title { font-size: 15px; font-weight: 600; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed8-summary { color: var(--muted); font-size: 12.5px; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed8-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 11.5px; }
.feed8-cat { padding: 1px 8px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); }
.side-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
.side-stats strong { display: block; color: var(--ink); font-size: 21px; line-height: 1.2; letter-spacing: -.03em; }
.side-stats span { color: var(--muted); font-size: 11.5px; }
.side-rank { margin: 0; padding: 0; list-style: none; }

.side-rank li { align-items: center; }
.side-rank li a { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-rank-hot { flex: none; padding: 2px 8px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 11px; font-style: normal; white-space: nowrap; }
.side-rank li { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.side-rank li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-rank-no { flex: none; width: 18px; color: var(--muted); font-size: 12px; font-weight: 700; }
.side-rank li:first-child .side-rank-no { color: var(--accent); }
.side-rank a { min-width: 0; color: var(--ink); font-size: 13px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-rank a:hover { color: var(--accent); }
.side-products { display: flex; flex-direction: column; gap: 10px; }

.side-product { display: flex; align-items: center; gap: 12px; min-height: 52px; }

.side-products .side-product-info { flex: 1 1 auto; min-width: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; display: flex; }
.side-products .side-product-title { flex: 1 1 auto; min-width: 0; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: unset; }
.side-products .side-product-price { flex: none; }
.side-product.is-text { border-bottom: 0; padding: 0; background: transparent; }
.side-product:hover .side-product-title { color: var(--accent); }
.side-product-cover { flex: none; width: 52px; height: 52px; overflow: hidden; border-radius: 7px; background: #eef2f7; }
.side-product-cover img { width: 100%; height: 100%; object-fit: cover; }
.side-product-info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.side-product-title { color: var(--ink); font-size: 13px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-product-price { color: var(--accent); font-size: 12.5px; font-weight: 700; }
.side-card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--accent); font-size: 12.5px; font-weight: 600; }
.side-card-more i { font-size: 9px; }


.footer { margin-top: 96px; padding: 56px 0 36px; background: #f8f9fb; color: var(--muted); border-top: 1px solid var(--line); }
.footer-title { margin: 0 0 10px; color: var(--ink); font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin: 0 0 14px; font-size: 13px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.footer-contact { margin: 0 0 10px; }
.footer-contact span + span { margin-left: 20px; }
.footer-copy { margin: 0; }
.footer a { color: var(--accent); }
.panel, .detail, .article-card, .channel-card, .product-card { border-radius: var(--radius); }

@media (max-width: 1024px) {
  .nav { overflow-x: auto; }
  .nav-sub { display: none !important; }
  .hero8 { padding: 72px 28px 64px; }
}

@media (max-width: 640px) {
  
  .hero8 { margin: 0 0 0 calc(50% - 50vw); padding: 88px 20px 48px; border-radius: 0 0 22px 22px; }
  .hero8 h1 { font-size: 36px; }
  .hero8-search { padding-left: 14px; }
  .tagcloud8 { margin-top: 26px; }
  .tagcloud8-tag { padding: 4px 10px; font-size: 11.5px; }
  .tagcloud8-row-c { display: none; }
  .feed8-row { gap: 12px; padding: 12px; }
  .feed8-cover { width: 72px; height: 52px; }

  
  .topbar-inner { height: 60px; gap: 10px; }
  .brand { flex: 1; min-width: 0; }
  .brand-name { overflow: hidden; text-overflow: ellipsis; }
  .nav-toggle { display: flex; }
  .member-actions { gap: 6px; }
  .member-link { padding: 7px 12px; font-size: 12px; }

  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - 60px); overflow-x: hidden; overflow-y: auto;
    padding: 8px 20px 16px;
    background: var(--topbar-bg); border-bottom: 1px solid var(--hero-line);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .35);
  }
  .nav.is-open { display: flex; }
  .nav > a, .nav-item { width: 100%; }
  .nav > a, .nav-item > a { display: block; padding: 12px 8px; border-radius: 8px; font-size: 15px; }
  .nav-item { display: block; }
  .nav-item::after { display: none; }
  .nav-caret { display: none; }
  .nav .nav-sub {
    display: block !important; position: static; max-height: none; overflow: visible;
    padding: 0 0 6px 16px; border: 0; border-radius: 0; background: transparent;
    box-shadow: none; animation: none !important;
  }
  .nav-sub a { display: block; padding: 8px; font-size: 13.5px; }
}


.i { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -.14em; font-style: normal; background-color: currentColor; -webkit-mask-image: var(--i); mask-image: var(--i); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.i-layers { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l9 5-9 5-9-5 9-5z'/%3E%3Cpath d='M3 12l9 5 9-5'/%3E%3Cpath d='M3 16l9 5 9-5'/%3E%3C/svg%3E"); }
.i-chevron-down { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.i-search { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.8-3.8'/%3E%3C/svg%3E"); }
.i-arrow-right { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.i-pin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6'/%3E%3Cpath d='M10 3v6l-4 5h12l-4-5V3'/%3E%3Cpath d='M12 14v7'/%3E%3C/svg%3E"); }
.i-star { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.8 5.7 6.2.9-4.5 4.4 1.1 6.2-5.6-3-5.6 3 1.1-6.2L3 9.6l6.2-.9L12 3z'/%3E%3C/svg%3E"); }

@media (prefers-reduced-motion: reduce) {
  .hero8-sky, .hero8-sky::before, .hero8-sky::after { animation: none; }
  .hero8 h1, .hero8-sub, .hero8-search, .tagcloud8 { animation: none; }
  .nav-sub { transition: none; animation: none; }
  .feed8-row, .side-rank a { transition: none; }
  .tagcloud8-tag { transition: none; }
  .hero8-char { animation: none; }
}

.cat-banner {
  position: relative; overflow: hidden; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center;
  width: 100vw; min-height: clamp(440px, 48vh, 580px);
  margin: -64px 0 0 calc(50% - 50vw);
  padding: 120px 24px 110px;
  text-align: center; color: var(--hero-ink);
  background: radial-gradient(120% 140% at 50% -20%, var(--hero-1) 0%, var(--hero-2) 46%, var(--hero-3) 100%);
}
.cat-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-banner-dim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 17, 32, .48) 0%, rgba(10, 17, 32, .62) 55%, rgba(10, 17, 32, .78) 100%); }
.cat-banner-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.cat-banner h1 { margin: 0; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.14; letter-spacing: -.045em; font-weight: 800; text-wrap: balance; }
.cat-banner-sub { max-width: 620px; margin: 16px auto 0; color: var(--hero-muted); font-size: 15px; line-height: 1.8; }


.cat-waves { position: absolute; left: 0; bottom: -1px; width: 100%; height: 10vh; min-height: 52px; max-height: 130px; }
.cat-wave { fill: var(--paper); animation: cat-wave-move 28s linear infinite; will-change: transform; }
.cat-wave-1 { opacity: .25; }
.cat-wave-2 { opacity: .5; animation-duration: 36s; }
.cat-wave-3 { opacity: .65; animation-duration: 22s; }
.cat-wave-4 { opacity: .75; animation-duration: 44s; }
@keyframes cat-wave-move { from { transform: translateX(0); } to { transform: translateX(-176px); } }


.cat-bar { margin-top: 16px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.cat-bar-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cat-bar-scroll::-webkit-scrollbar { display: none; }
.cat-pill {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  color: var(--ink-2); font-size: 13px; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}
.cat-pill:hover { background: var(--accent-soft); color: var(--accent); }
.cat-pill.active { background: var(--ink); color: #fff; }
.cat-pill span { color: var(--muted); font-size: 11px; }
.cat-pill.active span { color: rgba(255, 255, 255, .72); }


.cat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; padding-top: 24px; }
.cat-main { min-width: 0; }
.cat-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.cat-section-head h2 { margin: 0; color: var(--ink); font-size: 22px; font-weight: 750; letter-spacing: -.03em; }
.cat-section-head span { color: var(--muted); font-size: 12.5px; }


.post-list { display: flex; flex-direction: column; gap: 18px; }
.post-card {
  display: flex; align-items: stretch; overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.post-card:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: var(--shadow); color: var(--ink); }
.post-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 22px 24px 20px; }
.post-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 14px; color: var(--muted); font-size: 12px; }
.post-pin { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.post-pin .i { width: 11px; height: 11px; }
.post-card-title {
  position: relative; margin: 0 0 10px; padding-left: 14px;
  color: var(--ink); font-size: 21px; line-height: 1.45; letter-spacing: -.02em; font-weight: 750;
}
.post-card-title::before { content: ""; position: absolute; left: 0; top: .42em; width: 4px; height: 1.05em; border-radius: 4px; background: var(--accent); }
.post-card:hover .post-card-title { color: var(--accent); }
.post-card-summary { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.post-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.post-tag { padding: 3px 9px; border-radius: 6px; background: var(--preview); color: var(--ink-2); font-size: 11.5px; }
.post-tag-accent { background: var(--accent-soft); color: var(--accent); }
.post-card-enter { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.post-card-enter .i { width: 13px; height: 13px; transition: transform .2s ease; }
.post-card:hover .post-card-enter .i { transform: translateX(3px); }
.post-card-cover { flex: none; width: 240px; min-height: 160px; margin: 16px 16px 16px 0; border-radius: 12px; overflow: hidden; background: var(--preview); }
.post-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.post-card:hover .post-card-cover img { transform: scale(1.06); }
.post-card-cover-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 150px; color: var(--accent); font-size: 40px; font-weight: 800; }


.cat-side { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.widget { padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.widget-title { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--ink); font-size: 15px; font-weight: 700; }
.widget-title::before { content: ""; flex: none; width: 4px; height: 15px; border-radius: 4px; background: var(--accent); }
.widget-posts { display: flex; flex-direction: column; }
.widget-post { display: flex; flex-direction: column; gap: 3px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.widget-post:last-child { border-bottom: 0; padding-bottom: 0; }
.widget-post-title { color: var(--ink-2); font-size: 13.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.widget-post:hover .widget-post-title { color: var(--accent); }
.widget-post-meta { color: var(--muted); font-size: 11.5px; }
.widget-cats { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.widget-cats a { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: var(--ink-2); font-size: 13.5px; }
.widget-cats a:hover { color: var(--accent); }
.widget-cat-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; }
.widget-cat-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.widget-cats em { flex: none; color: var(--muted); font-size: 11.5px; font-style: normal; }
.widget-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.widget-stats div { padding: 12px 8px; border-radius: 10px; background: var(--preview); text-align: center; }
.widget-stats strong { display: block; color: var(--ink); font-size: 22px; line-height: 1.2; letter-spacing: -.03em; }
.widget-stats span { color: var(--muted); font-size: 11.5px; }
.widget-text { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.cat-empty { padding: 72px 20px; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }

@media (max-width: 1024px) {
  .cat-layout { grid-template-columns: 1fr; }
  .cat-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cat-banner { min-height: 380px; padding: 108px 18px 88px; }
  .cat-banner h1 { font-size: 32px; }
  .cat-banner-sub { font-size: 13.5px; }
  .cat-waves { height: 8vh; min-height: 44px; }
  .cat-side { grid-template-columns: 1fr; }
  .post-card { flex-direction: column-reverse; }
  .post-card-cover { width: auto; height: 180px; margin: 0 16px 16px; }
  .post-card-body { padding: 18px 18px 12px; }
  .post-card-title { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .post-card, .post-card-cover img, .post-card-enter .i, .cat-pill { transition: none; }
  
  .post-card:hover { transform: none; }
  .post-card:hover .post-card-cover img, .post-card:hover .post-card-enter .i { transform: none; }
}


.dir-head {
  position: relative; box-sizing: border-box; overflow: hidden;
  width: 100vw; margin: -64px 0 0 calc(50% - 50vw);
  
  padding: 96px 24px 76px;
  color: var(--hero-ink);
  background: radial-gradient(120% 140% at 50% -20%, var(--hero-1) 0%, var(--hero-2) 46%, var(--hero-3) 100%);
  border-radius: 0 0 22px 22px;
}
.dir-head-inner { max-width: 1320px; margin: 0 auto; }

.dir-head-main { display: flex; flex-direction: column; align-items: center; text-align: center; }

.cat-icon-img { display: block; width: 100%; height: 100%; object-fit: contain; }

.dir-head-icon {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 17px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28);
  color: #fff; font-size: 23px; font-weight: 700; backdrop-filter: blur(8px);
}
.dir-head h1 { margin: 16px 0 0; color: #fff; font-size: clamp(28px, 3.8vw, 44px); line-height: 1.16; letter-spacing: -.04em; font-weight: 800; }
.dir-head-desc { max-width: 620px; margin: 10px 0 0; color: var(--hero-muted); font-size: 14px; line-height: 1.7; }


.dir-search {
  display: flex; align-items: center; gap: 10px;
  width: min(560px, 100%); height: 52px; margin-top: 26px; padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
  background: rgba(255, 255, 255, .12); backdrop-filter: blur(10px);
  transition: background-color .2s ease, border-color .2s ease;
}
.dir-search:focus-within { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .55); }
.dir-search > .i { flex: none; width: 17px; height: 17px; color: var(--hero-muted); }
.dir-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; color: #fff; font-size: 14.5px; }
.dir-search input::placeholder { color: var(--hero-faint); }
.dir-search-hint { flex: none; color: var(--hero-muted); font-size: 12px; white-space: nowrap; }


.dir-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; padding-top: 24px; }
.dir-layout-single { grid-template-columns: 1fr; }
.dir-side { min-width: 0; }


.content-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.content-side .side-card { margin: 0; }

.dir-side-inner { position: sticky; top: 84px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.dir-side-link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 11px; margin-bottom: 3px; border-radius: 8px;
  color: var(--ink-2); font-size: 13px; line-height: 1.4;
  transition: background-color .18s ease, color .18s ease;
}
.dir-side-link:hover { background: var(--accent-soft); color: var(--accent); }
.dir-side-link.active { background: var(--ink); color: #fff; }
.dir-side-link em { flex: none; color: var(--muted); font-size: 11px; font-style: normal; }
.dir-side-link.active em { color: rgba(255, 255, 255, .72); }

.dir-main { min-width: 0; scroll-margin-top: 84px; }
.dir-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.dir-toolbar strong { color: var(--ink); font-size: 16px; }
.dir-sort { padding: 4px 11px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink-2); font-size: 12px; }

.dir-group { margin-bottom: 34px; scroll-margin-top: 84px; }
.dir-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.dir-group-head h2 { margin: 0; color: var(--ink); font-size: 19px; font-weight: 750; letter-spacing: -.02em; }
.dir-group-more { display: inline-flex; align-items: center; gap: 5px; flex: none; color: var(--accent); font-size: 12.5px; font-weight: 600; }
.dir-group-more .i { width: 12px; height: 12px; }
.dir-group-empty { margin: 0; padding: 26px 12px; text-align: center; color: var(--muted); font-size: 13px; background: var(--card); border: 1px dashed var(--line); border-radius: 10px; }


.shop-more-wrap { margin-top: 18px; text-align: center; }
.shop-more { padding: 9px 26px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink-2); font: inherit; font-size: 13px; cursor: pointer; transition: border-color .18s ease, color .18s ease; }
.shop-more:hover { border-color: var(--accent); color: var(--accent); }
.shop-more:disabled { opacity: .6; cursor: default; }


.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.dir-card { display: flex; flex-direction: column; min-height: 150px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.dir-card:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: var(--shadow); color: var(--ink); }
.dir-card-top { display: flex; align-items: center; gap: 11px; min-width: 0; }
.dir-card-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; overflow: hidden; border-radius: 10px; background: var(--preview); color: var(--accent); font-size: 17px; font-weight: 700; }
.dir-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.dir-card-title { min-width: 0; color: var(--ink); font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dir-card-desc { flex: 1; margin: 11px 0 14px; color: var(--muted); font-size: 12.5px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dir-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dir-tags { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.dir-tag { padding: 2px 7px; border-radius: 5px; background: var(--preview); color: var(--ink-2); font-size: 11px; white-space: nowrap; }
.dir-tag-accent, .dir-tag-top { background: var(--accent-soft); color: var(--accent); }
.dir-card-views { flex: none; color: var(--muted); font-size: 11px; }
.dir-empty { padding: 72px 20px; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }
.dir-end { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: 12.5px; }


.dir-price { color: #d97706; font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.dir-price-wrap { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; }
.dir-group-count { flex: none; color: var(--muted); font-size: 12px; }

.footer-main { display: flex; flex-wrap: wrap; gap: 32px 40px; padding-bottom: 32px; }
.footer-col { min-width: 110px; flex: 0 1 150px; display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-brand { flex: 1 1 210px; max-width: 300px; gap: 13px; }
.footer-contact-col { flex: 1 1 250px; margin-left: auto; max-width: 430px; }
.footer-logo { display: inline-flex; align-items: center; }
.footer-logo img { max-height: 38px; max-width: 180px; object-fit: contain; }
.footer-title { margin: 0; color: var(--ink); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.footer-sub { display: block; margin: 0; color: var(--muted); font-size: 12.5px; font-weight: 400; line-height: 1.7; max-width: 230px; }
.footer-col-title { margin: 0 0 13px; color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.footer-link { color: var(--muted); font-size: 13px; line-height: 1.55; transition: color .18s ease, transform .18s ease; }
.footer-link:hover { color: var(--accent); transform: translateX(2px); }
.footer-contact-col { gap: 9px; }
.footer-contact-line { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.75; word-break: break-word; }
.footer-contact-line span { color: var(--ink); font-weight: 500; }

.footer-qrs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 7px; }
.footer-qr { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-qr img { width: 78px; height: 78px; border-radius: 6px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.footer-qr-label { color: var(--muted); font-size: 11px; }

.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 9px; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; }
.footer-copy { margin: 0; color: var(--muted); font-size: 12px; }
.footer-copy a { color: var(--muted); }
.footer-copy a:hover { color: var(--accent); }
.footer-beian { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 18px; color: var(--muted); font-size: 12px; }
.beian-item { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.beian-item:hover { color: var(--accent); }
.beian-icon { width: 14px; height: 14px; flex: none; }

@media (max-width: 1100px) {
  .footer-main { gap: 28px 26px; }
  .footer-contact-col { margin-left: 0; }
}
@media (max-width: 640px) {
  .footer { padding: 42px 0 28px; }
  .footer-main { gap: 26px; }
  .footer-col, .footer-brand, .footer-contact-col { flex: 1 1 100%; max-width: none; }
  .footer-qrs { gap: 18px; }
  .footer-bottom { align-items: flex-start; text-align: left; }
  .footer-beian { justify-content: flex-start; }
}

@media (max-width: 1024px) {
  .dir-layout { grid-template-columns: 1fr; }
  .dir-side-inner { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
  .dir-side-link { margin: 0; padding: 6px 11px; border: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .dir-head { padding: 96px 18px 30px; }
  .dir-head-icon { width: 46px; height: 46px; border-radius: 13px; font-size: 20px; }
  .dir-head h1 { font-size: 28px; }
  .dir-search { height: 46px; margin-top: 20px; padding: 0 12px; }
  .dir-search-hint { display: none; }
  .dir-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .dir-card { min-height: 0; padding: 13px; }
  .dir-card-title { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .dir-card, .dir-side-link, .dir-search { transition: none; }
  .dir-card:hover { transform: none; }
}


.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.detail-cover { margin: 0 0 26px; border-radius: 12px; overflow: hidden; background: var(--paper); }
.detail-cover img { display: block; width: 100%; max-height: 360px; object-fit: cover; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.detail-tag { padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; }


.detail-side { position: sticky; top: 88px; }
.side-info { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.side-info li { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.side-info li span { flex: none; color: #94a3b8; }
.side-info li em, .side-info li a { font-style: normal; color: var(--ink); text-align: right; }
.side-info li a:hover { color: var(--accent); }
.side-cats { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.side-cats a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--muted); font-size: 13px; }
.side-cats a:hover, .side-cats a.active { background: var(--accent-soft); color: var(--accent); }
.side-cats a.active { font-weight: 600; }
.side-posts { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.side-posts a { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; font-size: 13px; }

.side-posts .t { flex: 1 1 auto; min-width: 0; color: var(--ink); line-height: 1.55; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-posts .d { flex: none; color: #94a3b8; font-size: 12px; }
.side-posts a:hover .t { color: var(--accent); }
.side-empty { color: var(--muted); font-size: 13px; }


.comments { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.comments-title { margin: 0 0 16px; font-size: 17px; letter-spacing: -.01em; }
.comments-title em { margin-left: 4px; color: var(--accent); font-style: normal; font-size: 14px; }
.comment-form { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.comment-as { margin-bottom: 10px; color: var(--muted); font-size: 12.5px; }
.comment-textarea { width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 13.5px; color: var(--ink); min-height: 84px; resize: vertical; }
.comment-textarea:focus { outline: none; border-color: var(--accent); }
.comment-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.comment-tip { color: #ef4444; font-size: 12.5px; }
.comment-submit { padding: 9px 20px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.comment-submit:disabled { opacity: .6; cursor: default; }
.comment-list { display: flex; flex-direction: column; gap: 18px; margin-top: 22px; }
.comment-empty { padding: 18px 0; color: var(--muted); font-size: 13px; }
.comment-more { margin-top: 16px; color: var(--muted); font-size: 12.5px; text-align: center; }
.comment-item { display: flex; gap: 12px; }
.comment-avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 700; }
.comment-main { min-width: 0; flex: 1 1 auto; }
.comment-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 13px; }
.comment-date { color: #94a3b8; font-size: 12px; }
.comment-body { color: #374151; font-size: 14px; line-height: 1.8; white-space: pre-wrap; word-break: break-word; }

@media (max-width: 1024px) {
  .article-wrap { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}
@media (max-width: 640px) {
  .comment-actions { flex-direction: column-reverse; align-items: stretch; }
  .comment-submit { width: 100%; }
}


.article-wrap { grid-template-columns: minmax(0, 1fr) 316px; gap: 24px; align-items: start; }


.detail { margin: 0; max-width: none; padding: 34px 38px 30px; border-radius: 16px; }
.detail-cover { margin: -34px -38px 28px; border-radius: 16px 16px 0 0; background: #eef1f6; }
.detail-cover img { display: block; width: 100%; max-height: 400px; object-fit: cover; }


.detail-head { padding-bottom: 0; margin-bottom: 24px; border-bottom: 0; }
.detail-head h1 { margin: 10px 0 14px; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.35; letter-spacing: -.02em; }
.detail-head .meta { gap: 14px; }
.detail-head .meta span { position: relative; }
.detail-head .meta span + span::before { content: ""; position: absolute; left: -8px; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: currentColor; opacity: .35; }
.detail-tags { margin-top: 16px; }
.detail-tag { display: inline-flex; align-items: center; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 12.5px; transition: all .18s ease; }
.detail-tag:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); transform: translateY(-1px); }


.detail-side { display: flex; flex-direction: column; gap: 16px; }
.side-card { padding: 18px 20px; border-radius: 14px; margin-bottom: 0; }
.side-title { position: relative; margin: 0 0 14px; padding-left: 11px; font-size: 14px; font-weight: 600; }
.side-title::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 13px; margin-top: -6.5px; border-radius: 2px; background: var(--accent); }
.side-info li { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.side-info li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-cats { gap: 1px; }
.side-cats a { padding: 8px 10px; border-radius: 8px; }
.side-posts li + li { padding-top: 12px; border-top: 1px dashed var(--line); }


.comment-gate { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px dashed var(--line); border-radius: 12px; background: var(--paper); }
.comment-gate-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 17px; }
.comment-gate-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.comment-gate-body b { color: var(--ink); font-size: 14px; font-weight: 600; }
.comment-gate-body span { color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.comment-gate-actions { flex: none; display: flex; gap: 8px; }
.comment-gate-btn { padding: 8px 20px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.comment-gate-btn:hover { color: #fff; opacity: .88; }
.comment-gate-btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.comment-gate-btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 1024px) {
  .article-wrap { gap: 18px; }
  .detail { padding: 28px 26px; }
  .detail-cover { margin: -28px -26px 24px; border-radius: 16px 16px 0 0; }
}
@media (max-width: 640px) {
  .comment-gate { flex-wrap: wrap; }
  .comment-gate-actions { width: 100%; }
  .comment-gate-actions .comment-gate-btn { flex: 1; text-align: center; }
}


@media (max-width: 1024px) {
  .article-wrap { grid-template-columns: minmax(0, 1fr); }
  .detail-side { position: static; }
}


.feed8-row.is-text { padding: 13px 18px; }
.feed8-row.is-text .feed8-title { font-size: 15.5px; }
.feed8-row.is-text .feed8-summary { white-space: normal; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }

.post-card.is-text .post-card-body { padding: 24px 30px 22px; }
.post-card.is-text .post-card-title { font-size: 22px; max-width: 900px; }
.post-card.is-text .post-card-summary { max-width: 900px; -webkit-line-clamp: 3; }
.post-card.is-text .post-card-foot { padding-top: 18px; }


.side-posts-rank .rank { flex: none; width: 18px; color: #94a3b8; font-style: normal; font-size: 12px; font-weight: 700; text-align: center; }
.side-posts-rank li:nth-child(1) .rank { color: #e11d2e; }
.side-posts-rank li:nth-child(2) .rank { color: #f59e0b; }
.side-posts-rank li:nth-child(3) .rank { color: #d97706; }
.side-posts-rank a { justify-content: flex-start; }

.side-comments { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.side-comments li + li { padding-top: 12px; border-top: 1px dashed var(--line); }
.side-comments a { display: flex; flex-direction: column; gap: 4px; }
.side-comments .sc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }
.side-comments .sc-head b { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-comments .sc-head span { flex: none; color: #94a3b8; font-size: 11.5px; }
.side-comments .sc-text { color: var(--muted); font-size: 12.5px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-comments .sc-post { color: var(--accent); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-comments a:hover .sc-text { color: var(--ink); }

.detail-recommend { margin-top: 28px; }
.recommend-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.recommend-head h2 { position: relative; margin: 0; padding-left: 13px; font-size: 19px; letter-spacing: -.02em; }
.recommend-head h2::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 17px; margin-top: -8.5px; border-radius: 4px; background: var(--accent); }
.recommend-head span { color: var(--muted); font-size: 12.5px; }

.recommend-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rec-card { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.rec-card:hover { transform: translateY(-2px); border-color: var(--accent-line); box-shadow: var(--shadow-sm); }
.rec-cover { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: #eef2f7; }
.rec-cover img { width: 100%; height: 100%; object-fit: cover; }
.rec-title { color: var(--ink); font-size: 13.5px; font-weight: 600; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rec-card:hover .rec-title { color: var(--accent); }
.rec-meta { color: var(--muted); font-size: 11.5px; }
.rec-card.is-text { justify-content: space-between; min-height: 92px; }

@media (max-width: 1024px) {
  .recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .recommend-grid { grid-template-columns: 1fr; }
}


.pc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.pc-grid > .pc-card:only-child { grid-column: 1 / -1; }

.article-wrap { padding-top: 0; }

.article-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; }


.site-card2 { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.site-card2-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; overflow: hidden; background: var(--paper); color: var(--accent); font-size: 22px; font-weight: 800; }
.site-card2-icon img { width: 100%; height: 100%; object-fit: cover; }
.site-card2-icon i { font-style: normal; }

.site-card2-icon.is-qr { background: #fff; padding: 3px; box-sizing: border-box; }
.site-card2-icon.is-qr img { object-fit: contain; }
.site-card2-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.site-card2-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 17px; }
.site-card2-top b { color: var(--ink); font-weight: 700; }
.site-card2-cat { padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; }
.site-card2-cat.ghost { background: var(--paper); color: var(--muted); }
.site-card2-url { color: var(--muted); font-size: 12.5px; word-break: break-all; }
.site-card2-url a { color: var(--accent); }
.site-card2-seo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.site-card2-label { color: #94a3b8; }

.site-card2-tag { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 12px; line-height: 1.5; transition: border-color .18s ease, color .18s ease, background-color .18s ease; }
.site-card2-tag:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

.site-card2-qr { flex: none; display: block; width: 96px; height: 96px; padding: 4px; box-sizing: border-box; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.site-card2-qr img { display: block; width: 100%; height: 100%; object-fit: contain; }
.site-card2-go { flex: none; padding: 10px 26px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 600; white-space: nowrap; cursor: pointer; font-family: inherit; }
.site-card2-go:hover { color: #fff; opacity: .9; }
.site-intro { margin-top: 6px; }

.similar-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.similar-card { display: flex; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.similar-card:hover { transform: translateY(-2px); border-color: var(--accent-line); box-shadow: var(--shadow-sm); }
.similar-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: var(--paper); color: var(--accent); font-size: 15px; font-weight: 700; }
.similar-icon img { width: 100%; height: 100%; object-fit: cover; }
.similar-icon i { font-style: normal; }
.similar-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.similar-name { color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.similar-card:hover .similar-name { color: var(--accent); }
.similar-desc { color: var(--muted); font-size: 12px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 720px) {
  .similar-grid { grid-template-columns: 1fr; }
  .site-card2 { flex-wrap: wrap; }
  .site-card2-go { width: 100%; text-align: center; }
}


.shop-detail { max-width: 980px; margin: 0 auto; padding: 26px 30px 26px; }


.pd-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 6px; }
.pd-media { position: sticky; top: 88px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); }
.pd-media img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.pd-grid > .pd-main:only-child { grid-column: 1 / -1; }
.pd-main { min-width: 0; }
.pd-tag { display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 600; vertical-align: 3px; }
.pd-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 14px 0 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pd-specs li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 14px; background: var(--card); font-size: 12.5px; }
.pd-specs li span { color: #94a3b8; }
.pd-specs li b { color: var(--ink); font-weight: 600; }
.pd-detail { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }

.pd-detail-title { position: relative; margin: 0 0 14px; padding-left: 12px; font-size: 17px; letter-spacing: -.01em; }
.pd-detail-title::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 15px; margin-top: -7.5px; border-radius: 4px; background: var(--accent); }
@media (max-width: 860px) {
  .pd-grid { grid-template-columns: 1fr; gap: 18px; }
  .pd-media { position: static; max-width: 420px; }
  .pd-specs { grid-template-columns: 1fr; }
}
.shop-detail h1 { margin: 0 0 10px; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; letter-spacing: -.02em; }
.shop-detail .detail-head { margin-bottom: 14px; padding-bottom: 0; border-bottom: 0; }
.shop-detail .product-hero { margin: 12px 0; }
.shop-detail .body { margin: 12px 0 0; }
.shop-detail .buy { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.shop-detail .section-title { margin: 0 0 10px; font-size: 16px; }
.shop-detail .buy-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin-top: 12px; }
.shop-detail .buy-form .field { display: flex; flex-direction: column; gap: 5px; margin: 0; }
.shop-detail .buy-form .field > span { font-size: 12.5px; color: var(--muted); }
.shop-detail .buy-form .field input,
.shop-detail .buy-form .field textarea,
.shop-detail .buy-form .field select { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 13.5px; background: #fff; }
.shop-detail .buy-form .btn-primary,
.shop-detail .buy-form .muted,
.shop-detail .buy-form .field:has(textarea) { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .shop-detail { padding: 20px 16px; }
  .shop-detail .buy-form { grid-template-columns: 1fr; }
}


.article-wrap-solo { grid-template-columns: minmax(0, 1fr); max-width: 980px; margin: 0 auto; }


.dl-hero { display: flex; align-items: flex-start; gap: 18px; padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.dl-icon { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; overflow: hidden; background: var(--paper); color: var(--accent); font-size: 24px; font-weight: 800; }
.dl-icon img { width: 100%; height: 100%; object-fit: cover; }
.dl-icon-text { font-style: normal; }
.dl-hero-main { min-width: 0; flex: 1 1 auto; }
.dl-hero-main h1 { margin: 0; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.35; letter-spacing: -.02em; }
.dl-sub { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.dl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.dl-actions .btn-official { padding: 9px 22px; }
.dl-chip { padding: 4px 10px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 12px; }

.dl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; margin: 14px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.dl-stat { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; background: var(--card); }
.dl-stat span { color: var(--muted); font-size: 11.5px; }
.dl-stat b { color: var(--ink); font-size: 14px; font-weight: 650; }


.dl-channel-row { display: flex; flex-wrap: wrap; gap: 22px; padding: 4px 0 2px; }
.dl-channel { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 14px; font-weight: 600; }
.dl-channel:hover { opacity: .85; }
.dl-history { border-top: 1px solid var(--line); }

.dl-history-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--line); }
.dl-history-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dl-history-name { color: var(--ink); font-size: 13px; font-weight: 500; }
.dl-history-meta { display: flex; flex-wrap: wrap; gap: 12px; color: #94a3b8; font-size: 11.5px; }
.dl-history-meta em { font-style: normal; }
.dl-history-actions { flex: none; display: flex; flex-wrap: wrap; gap: 6px; }
.dl-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 62px; padding: 5px 12px; border-radius: 5px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 500; white-space: nowrap; }
.dl-btn:hover { color: #fff; opacity: .9; }
@media (max-width: 640px) {
  .dl-history-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .dl-history-actions { width: 100%; }
  .dl-btn { flex: 1; }
}

.dl-versions { margin-top: 28px; }
.dl-section-title { position: relative; margin: 0 0 14px; padding-left: 12px; font-size: 17px; letter-spacing: -.01em; }
.dl-section-title::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 15px; margin-top: -7.5px; border-radius: 4px; background: var(--accent); }
.dl-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.dl-row { display: grid; grid-template-columns: 120px 1fr 100px 110px 1.4fr; gap: 12px; align-items: center; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 13px; }
.dl-row:first-child { border-top: 0; }
.dl-row-head { background: var(--paper); color: var(--muted); font-size: 12px; font-weight: 600; }
.dl-ver b { color: var(--ink); }
.dl-cell { color: var(--muted); }
.dl-links { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-note { padding: 0 16px 10px; color: var(--muted); font-size: 12px; }

@media (max-width: 720px) {
  .dl-hero { flex-direction: column; }
  .dl-row { grid-template-columns: 90px 1fr; row-gap: 6px; }
  .dl-row-head { display: none; }
}


.site-head h1 { margin: 0 0 12px; color: var(--ink); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; letter-spacing: -.02em; font-weight: 780; }
.site-head .detail-tags { margin-top: 0; }
.site-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 0; }
.site-actions .btn-official { padding: 10px 26px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: border-color .18s ease, color .18s ease; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.site-platform { padding: 4px 10px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 12px; }
.site-quote { margin: 16px 0 0; padding: 12px 16px; border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; background: var(--paper); color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.site-head .article-meta { margin-top: 14px; }
.site-shot-wrap { margin: 20px 0 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); }
.site-shot-wrap img { display: block; width: 100%; max-height: 320px; object-fit: cover; }
.site-qr-box { margin: 18px 0 0; padding: 16px; text-align: center; border: 1px dashed var(--line); border-radius: 12px; }
.site-qr-box img { width: 140px; height: 140px; object-fit: contain; }
.site-qr-box span { display: block; margin-top: 8px; color: var(--muted); font-size: 12.5px; }
.site-body { margin-top: 20px; }
.detail .site-line { margin: 16px 0 0; }


.article-head { padding: 0; }
.article-head h1 { margin: 0 0 14px; color: var(--ink); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.35; letter-spacing: -.022em; font-weight: 780; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--muted); font-size: 12.5px; }
.article-meta > span { position: relative; }
.article-meta > span + span::before { content: ""; position: absolute; left: -9px; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: currentColor; opacity: .32; }
.article-meta .am-author { color: var(--ink); font-weight: 600; }


.article-crumb { display: flex; align-items: center; gap: 2px; min-height: 0; padding: 0; background: transparent; border: 0; border-radius: 0; color: var(--muted); font-size: 12.5px; }
.article-crumb a { color: var(--muted); }
.article-crumb a:hover { color: var(--accent); }
.article-crumb .crumb-path span { margin: 0 6px; }
.article-crumb .crumb-here { color: var(--ink); }


.detail { padding: 30px 34px 26px; }
.article-main .detail .comments { margin-top: 32px; }

@media (max-width: 1024px) {
  .article-main { gap: 14px; }
  .detail { padding: 24px 22px; }
}
@media (max-width: 640px) {
  .article-head h1 { font-size: 24px; }
  .detail { padding: 20px 16px; }
}


.article-preview { position: relative; max-height: 176px; overflow: hidden; margin-bottom: 18px; color: #374151; font-size: 15px; line-height: 1.95; }
.article-preview::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); pointer-events: none; }


.rel-box { margin: 34px 0 6px; padding-top: 24px; border-top: 1px solid var(--line); }
.rel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.rel-head h2 { position: relative; margin: 0; padding-left: 12px; font-size: 17px; letter-spacing: -.01em; }
.rel-head h2::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 15px; margin-top: -7.5px; border-radius: 4px; background: var(--accent); }
.rel-head span { color: var(--muted); font-size: 12px; }
.rel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rel-card { display: flex; gap: 11px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); transition: border-color .18s ease, transform .18s ease; }
.rel-card:hover { border-color: var(--accent-line); transform: translateY(-1px); }
.rel-thumb { flex: none; width: 84px; height: 58px; border-radius: 7px; overflow: hidden; background: #eef2f7; }
.rel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rel-body { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.rel-title { display: -webkit-box; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rel-card:hover .rel-title { color: var(--accent); }
.rel-meta { color: var(--muted); font-size: 11px; }
@media (max-width: 640px) {
  .rel-grid { grid-template-columns: 1fr; }
}

.pc-card { display: flex; flex-direction: column; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 14px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.pc-card:hover { transform: translateY(-2px); border-color: var(--accent-line); box-shadow: var(--shadow-sm); }

.feed8-sec { display: grid; gap: 14px; margin-bottom: 16px; align-items: stretch; }
.feed8-sec .pc-card { height: 100%; }
.feed8-sec .pc-card.is-text { min-height: 190px; }
.feed8-sec-top { grid-template-columns: minmax(0, 1fr); }
.feed8-sec-mid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feed8-sec-rest { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feed8-sec .pc-card.is-hero { grid-column: auto; min-height: 230px; }
.feed8-sec-top .pc-card.is-hero { min-height: 300px; }
.feed8-sec-mid .pc-card.is-hero { min-height: 210px; }
.feed8-sec-rest .pc-card.is-hero { min-height: 176px; }
.feed8-sec-rest .pc-hero-body { padding: 16px; gap: 6px; }
.feed8-sec-rest .pc-hero-title { font-size: 15px; }
.feed8-sec-rest .pc-hero-summary { display: none; }
.feed8-sec-rest .pc-card.is-text { padding: 16px 16px 0; }
.feed8-sec-rest .pc-title { font-size: 14.5px; }

@media (max-width: 900px) {
  .feed8-sec-rest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .feed8-sec-mid, .feed8-sec-rest { grid-template-columns: minmax(0, 1fr); }
  .feed8-sec-top .pc-card.is-hero { min-height: 220px; }
}

.pc-card.is-hero { grid-column: 1 / -1; position: relative; min-height: 236px; justify-content: flex-end; border: 0; }
.pc-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,14,28,.02) 28%, rgba(8,14,28,.55) 68%, rgba(8,14,28,.82) 100%); }
.pc-hero-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; padding: 26px 26px 22px; }
.pc-hero-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #fff; font-size: clamp(18px, 2vw, 25px); font-weight: 750; line-height: 1.4; letter-spacing: -.02em; }
.pc-hero-summary { color: rgba(255, 255, 255, .88); font-size: 13.5px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-hero-meta { color: rgba(255, 255, 255, .66); font-size: 12px; }
.pc-card.is-hero:hover .pc-hero-img { transform: scale(1.02); }
.pc-hero-img { transition: transform .5s ease; }

.pc-pin { flex: none; padding: 2px 9px; border-radius: 5px; background: linear-gradient(135deg, #f43f5e, #ec4899); color: #fff; font-size: 11.5px; font-style: normal; font-weight: 600; line-height: 1.5; }
.pc-pin.dark { background: var(--accent-soft); color: var(--accent); }


.pc-card.is-text { padding: 18px 20px 0; }

.pc-main { display: flex; align-items: flex-start; flex: 1; }
.pc-body { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.pc-title { display: -webkit-box; color: var(--ink); font-size: 16.5px; font-weight: 650; line-height: 1.5; letter-spacing: -.01em; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-card:hover .pc-title { color: var(--accent); }
.pc-summary { color: var(--muted); font-size: 13px; line-height: 1.72; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 16px -20px 0; padding: 10px 20px; background: var(--paper); color: var(--muted); font-size: 11.5px; }
.pc-meta span { position: relative; }
.pc-meta span + span::before { content: ""; position: absolute; left: -8px; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: currentColor; opacity: .4; }

@media (max-width: 900px) {
  .pc-grid { grid-template-columns: 1fr; }
  .pc-card.is-hero { min-height: 200px; }
  .pc-hero-body { padding: 20px; }
}
@media (max-width: 640px) {
  .pc-card.is-text { padding: 16px 16px 0; }
  .pc-meta { margin: 14px -16px 0; padding: 9px 16px; }
}

/* ===== 工具箱（tool/*，前缀 tl-） ===== */
.tl-head { margin-bottom: 18px; }

.tl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.tl-card { display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.tl-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--accent); color: inherit; }
.tl-icon { font-size: 20px; color: var(--accent); }
.tl-name { font-weight: 700; font-size: 15px; }
.tl-desc { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

.tl-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.tl-flex { flex: 1 1 auto; }
.tl-tip { font-size: 12px; color: var(--muted); }
.tl-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.tl-checks { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-2); }
.tl-checks label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }

.tl-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 8px; padding: 7px 14px; font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .15s ease, color .15s ease, background .15s ease; }
.tl-btn:hover { border-color: var(--accent); color: var(--accent); }
.tl-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.tl-btn.primary:hover { background: #0b5f59; color: #fff; }
.tl-btn:disabled { opacity: .55; cursor: default; }

.tl-io { width: 100%; min-height: 200px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.7; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); resize: vertical; }
.tl-io:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15, 118, 110, .10); }

.tl-input { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; }
.tl-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15, 118, 110, .10); }
.tl-inline select, .tl-opts select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 7px 32px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E") no-repeat right 11px center / 11px 11px;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tl-inline select:hover, .tl-opts select:hover { border-color: var(--accent); }
.tl-inline select:focus, .tl-opts select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15, 118, 110, .10); }
.tl-opts input[type="number"] { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; }
.tl-opts input[type="number"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15, 118, 110, .10); }
.tl-opts input[type="range"], .tl-checks input[type="checkbox"] { accent-color: var(--accent); }

.tl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 700px) { .tl-cols { grid-template-columns: 1fr; } }

.tl-status { font-size: 12.5px; margin-top: 8px; color: var(--muted); min-height: 1em; }
.tl-status.err { color: #c0392b; }
.tl-status.ok { color: var(--accent); }
.tl-err { color: #c0392b; }

.tl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-chips button { font-size: 12px; color: var(--accent); background: var(--accent-soft); border: 0; border-radius: 6px; padding: 3px 10px; cursor: pointer; }

.tl-hl { background: #f8f9fb; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; white-space: pre-wrap; word-break: break-all; line-height: 1.7; margin-top: 10px; min-height: 40px; }
.tl-hl mark { background: #ffe69c; padding: 0 1px; border-radius: 2px; }

.tl-cells { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tl-cell { flex: 1 1 240px; background: var(--accent-soft); border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.tl-cell .k { display: block; color: var(--muted); font-size: 12px; }
.tl-cell .v { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); word-break: break-all; }

.tl-table { width: 100%; border-collapse: collapse; font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; table-layout: fixed; }
.tl-table th { background: #f8f9fb; font-weight: 600; padding: 7px 8px; text-align: left; font-family: inherit; }
.tl-table td { border-top: 1px solid var(--line); padding: 5px 8px; word-break: break-all; vertical-align: top; white-space: pre-wrap; }
.tl-table .no { width: 46px; color: var(--muted); }
.tl-table .hit { color: var(--accent); }
.tl-table .grp { color: var(--muted); }

.tl-diff td.del-cell { background: #fdeaea; color: #c0392b; }
.tl-diff td.add-cell { background: #e8f8f5; color: #168a7d; }
.tl-diff tr.same td { color: var(--muted); }
.tl-diff .badge-del, .tl-diff .badge-add { display: inline-block; font-size: 11px; border-radius: 3px; padding: 0 5px; margin-right: 6px; color: #fff; }
.tl-diff .badge-del { background: #c0392b; }
.tl-diff .badge-add { background: #16baaa; }
.num-add { color: #168a7d; }
.num-del { color: #c0392b; }

/* 图片压缩 */
.tl-drop { border: 1.5px dashed var(--line); border-radius: var(--radius-sm); background: var(--card); padding: 34px 20px; text-align: center; cursor: pointer; color: var(--muted); transition: border-color .18s ease, background .18s ease; }
.tl-drop:hover, .tl-drop.is-over { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.tl-drop i { font-size: 26px; color: var(--accent); }
.tl-drop-text { margin: 8px 0 4px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.tl-drop .tl-tip { margin: 0; }

.tl-opts { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.tl-opts label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }

.tl-rows { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.tl-row { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; }
.tl-row img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; flex: none; background: #f1f2f4; }
.tl-row-info { flex: 1 1 auto; min-width: 0; }
.tl-row-name { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-row-meta { font-size: 12px; color: var(--muted); }
.tl-row .tl-btn { flex: none; }
.tl-note { color: var(--muted); font-size: 12.5px; }
.tl-chips button.is-on { background: var(--accent); color: #fff; }
.tl-preview { margin-top: 14px; }
.tl-preview figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 12px; text-align: center; }
.tl-preview img { display: block; max-width: 100%; max-height: 360px; margin: 0 auto; }
.tl-preview figcaption { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 600px) { .tl-row { flex-wrap: wrap; } }

/* 文章 / 工具：点赞与收藏 */
.react-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.react-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer; transition: border-color .15s ease, color .15s ease, background .15s ease; }
.react-btn:hover { border-color: var(--accent); color: var(--accent); }
.react-btn.is-on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.react-btn:disabled { opacity: .6; cursor: default; }
.react-count { min-width: 1em; }
.main > .react-bar { margin-bottom: 4px; }

/* 会员中心：余额 */
.mc-balance-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding: 12px 14px; margin-bottom: 12px; background: var(--accent-soft); border-radius: var(--radius-sm); }
.mc-balance-verify { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 12.5px; }
.mc-balance-num { font-size: 22px; color: var(--accent); }
.mc-income { color: var(--accent); font-weight: 600; }
.mc-expense { color: var(--ink-2); }
.mc-order-link { margin-left: 6px; color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }

/* 收银台：余额支付提示与登录密码验证 */
.pm-balance { margin-left: 6px; font-style: normal; font-size: 12px; color: var(--muted); }
.pay-balance { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.pm-row-pass input { flex: 1; min-width: 0; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; }
.pm-row-pass input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15, 118, 110, .10); }

/* 评论点赞 */
.comment-like { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--muted); font-size: 12px; cursor: pointer; padding: 0; }
.comment-like:hover, .comment-like.is-on { color: var(--accent); }

/* 会员中心：充值 / 收藏夹公开 / 浏览历史 */
.mc-topup-btn { margin-left: auto; display: inline-flex; padding: 5px 14px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12.5px; text-decoration: none; }.mc-recent-topup { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; font-size: 12px; }
.mc-topup-item { padding: 3px 10px; border-radius: 999px; background: var(--paper); }
.mc-topup-item em { font-style: normal; color: var(--muted); margin-left: 4px; }
.mc-fav-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 12.5px; }
.mc-fav-toggle { border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; cursor: pointer; }
.mc-fav-toggle:hover { border-color: var(--accent); color: var(--accent); }
.mc-history { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.mc-hist-card { display: flex; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: inherit; }
.mc-hist-cover { width: 52px; height: 52px; border-radius: 8px; background: var(--paper); display: grid; place-items: center; overflow: hidden; flex: none; color: var(--muted); }
.mc-hist-cover img { width: 100%; height: 100%; object-fit: cover; }
.mc-hist-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mc-hist-main b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-hist-main em { font-style: normal; color: var(--accent); font-size: 12.5px; }

/* 余额充值页 */
.topup-box { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.topup-row { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.topup-label { flex: 0 0 72px; font-size: 13px; color: var(--ink-2); padding-top: 5px; }
.topup-main { flex: 1 1 auto; display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.topup-money { width: 100%; }
.topup-pay { margin-top: 14px; text-align: center; }
.topup-pay img { max-width: 220px; width: 60%; border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: #fff; }

/* 热门排行 / 公开收藏夹 */
.rank-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 14px; }
.rank-col h2 { font-size: 14px; margin: 0 0 10px; color: var(--ink); }
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.rank-no { width: 22px; color: var(--muted); font-weight: 700; }
.rank-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); text-decoration: none; }
.rank-title:hover { color: var(--accent); }
.rank-like { color: var(--muted); font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }
.pub-fav-list { display: flex; flex-direction: column; }
.pub-fav-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.pub-fav-row a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); text-decoration: none; }
.pub-fav-row a:hover { color: var(--accent); }
