﻿:root {
  --primary: #FF6B8B;
  --primary-soft: #FFF0F3;
  --accent: #38BDF8;
  --accent-soft: #EDF8FF;
  --warn: #FFAA4C;
  --success: #3EBB7C;
  --success-soft: #EDFAF3;
  --danger: #F2635F;
  --danger-soft: #FEF1F0;
  --bg: #F5F7FA;
  --card: #FFFFFF;
  --text: #2B3445;
  --muted: #8A94A6;
  --line: #EDF0F5;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(43, 52, 69, .04), 0 8px 24px rgba(43, 52, 69, .05);
  --shadow-hover: 0 4px 12px rgba(43, 52, 69, .08), 0 12px 32px rgba(43, 52, 69, .08);
  --header-h: 96px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Source Han Sans SC", "思源黑体", "Noto Sans SC", "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.skeleton-box {
  position: relative;
  overflow: hidden;
  background: #EEF1F6;
}
.skeleton-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  animation: shimmer 1.4s infinite;
  z-index: 1;
}
.skeleton-box img {
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity .4s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.skeleton-box img.is-loaded { opacity: 1; }
.skeleton-box img.is-loaded + *::before,
.skeleton-box:has(img.is-loaded)::before { display: none; }
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-placeholder { height: calc(var(--header-h) + 16px); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo img { height: 64px; width: auto; max-width: 260px; object-fit: contain; }
.logo-text strong { display: block; font-size: 17px; line-height: 1.2; }
.logo-text em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.2;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.header-nav::-webkit-scrollbar { display: none; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list li { list-style: none; }
.nav-list a {
  display: block;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.nav-list a:hover { color: var(--primary); background: var(--primary-soft); }
.nav-list li.current-menu-item > a,
.nav-list li.current_page_item > a,
.nav-list li.on > a,
.nav-list li.is-active > a,
.nav-list a.is-active { color: #fff; background: var(--primary); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-search {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 6px 0 14px;
  height: 36px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 139, .12);
  background: #fff;
}
.header-search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 280px;
  font-size: 13px;
  color: var(--text);
}
.header-search button { font-size: 14px; padding: 4px 8px; }
.btn-contribute,
.btn-member {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.btn-contribute {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--warn));
  box-shadow: 0 4px 10px rgba(255, 107, 139, .25);
}
.btn-contribute:hover { transform: translateY(-1px); }
.btn-member { color: var(--primary); background: var(--primary-soft); }
.btn-member:hover { background: #FFE3EA; }
.auth-links { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.auth-links a { color: var(--muted); }
.auth-links a:hover { color: var(--primary); }
.auth-links .btn-register {
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 5px 12px;
  border-radius: 999px;
}
.auth-links .btn-register:hover { background: var(--primary); color: #fff; }
.nav-toggle {
  display: none;
  font-size: 20px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  color: var(--text);
}
.mobile-nav {
  display: none;
  padding: 8px 16px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mobile-nav.is-open { display: block; }
.mobile-nav .nav-list { flex-direction: column; align-items: stretch; }
.mobile-nav a {
  display: block;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text);
}
.mobile-nav a.is-active { color: var(--primary); background: var(--primary-soft); }
.mobile-nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  margin-top: 8px;
}
.mobile-nav-actions a {
  padding: 8px 14px;
  background: var(--bg);
  border-radius: 999px;
  font-size: 13px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 12px 4px;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: .5; }

.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
  padding-bottom: 30px;
}
.main-content { min-width: 0; display: grid; gap: 20px; }
.sidebar { min-width: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar > .widget { margin-bottom: 16px; }

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(237, 240, 245, .8);
}
.list-card { padding: 20px; }
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.card-head h2 { font-size: 18px; }
.more-link { font-size: 13px; color: var(--muted); }
.more-link:hover { color: var(--primary); }

.hero-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  min-height: 300px;
  background: #EEF1F6;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 35, 50, .72), rgba(30, 35, 50, .05) 55%);
}
.hero-info {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  color: #fff;
}
.hero-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--primary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.hero-info h2 { font-size: clamp(18px, 3vw, 28px); line-height: 1.35; text-shadow: 0 2px 8px rgba(0,0,0,.3); }

.hero-info h2.hero-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
}
.hero-info p {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-dots {
  position: absolute;
  right: 24px;
  bottom: 22px;
  display: flex;
  gap: 6px;
  z-index: 3;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  transition: .25s ease;
}
.hero-dot.is-active { width: 22px; background: #fff; }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  opacity: 0;
  transition: .25s ease;
}
.hero-slider:hover .hero-arrow { opacity: 1; }
.hero-prev { left: 14px; }
.hero-next { right: 14px; }
.hero-arrow:hover { background: #fff; color: var(--primary); }

.news-flash {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  overflow: hidden;
}
.flash-label {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
}
.flash-scroll {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.flash-scroll::-webkit-scrollbar { display: none; }
.flash-scroll a { font-size: 14px; color: var(--text); }
.flash-scroll a:hover { color: var(--primary); }
.flash-badge {
  display: inline-block;
  padding: 1px 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.article-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.article-item:last-child { border-bottom: 0; padding-bottom: 4px; }
.article-item:first-child { padding-top: 0; }
.item-thumb {
  position: relative;
  flex-shrink: 0;
  width: 220px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.item-thumb img { transition: transform .35s ease; }
.article-item:hover .item-thumb img { transform: scale(1.05); }
.score-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--warn), var(--primary));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 3px 8px rgba(255, 107, 139, .35);
}
.score-badge::after { content: " 分"; font-size: 10px; font-weight: 600; }
.item-body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.item-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
}
.item-cat { font-size: 12px; color: var(--accent); font-weight: 600; }
.price-tag { font-size: 13px; color: var(--danger); font-weight: 700; }
.item-body h3 {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.item-body h3 a:hover { color: var(--primary); }
.item-desc {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.item-meta {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}

.duo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.mini-list { display: grid; gap: 12px; }
.mini-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 6px;
  margin: -6px;
  border-radius: var(--radius-sm);
  transition: background .2s ease;
}
.mini-item:hover { background: var(--bg); }
.mini-item img {
  width: 76px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.mini-item h4 {
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mini-item:hover h4 { color: var(--primary); }
.mini-item span { font-size: 12px; color: var(--muted); }
.goods-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.goods-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.goods-item img { transition: transform .35s ease; }
.goods-item:hover img { transform: scale(1.06); }
.goods-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 26px 12px 10px;
  background: linear-gradient(to top, rgba(30,35,50,.78), transparent);
  color: #fff;
}
.goods-info h4 {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-head { padding: 26px 24px; }
.head-kicker { font-size: 13px; color: var(--primary); font-weight: 700; }
.page-head h1 { font-size: 26px; margin: 8px 0 6px; }
.page-head p { color: var(--muted); font-size: 14px; }
.page-head-banner { position: relative; padding: 0; overflow: hidden; min-height: 180px; display: flex; align-items: flex-end; }
.page-head-img { position: absolute; inset: 0; }
.page-head-img img { width: 100%; height: 100%; object-fit: cover; }
.page-head-mask { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,35,50,.7), rgba(30,35,50,.1)); }
.page-head-inner.on-banner { position: relative; z-index: 2; padding: 24px; color: #fff; }
.page-head-inner.on-banner p { color: rgba(255,255,255,.85); }

.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.pager a,
.pager span {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg);
}
.pager a:hover { color: var(--primary); background: var(--primary-soft); }
.pager .pager-current { color: #fff; background: var(--primary); }

.article-card { padding: 26px; }
.article-head { margin-bottom: 20px; }
.article-head h1 { font-size: 24px; line-height: 1.45; margin: 10px 0 12px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.article-lead {
  margin-top: 14px;
  padding: 12px 16px;
  border-left: 3px solid var(--primary);
  background: var(--primary-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #6B5560;
  font-size: 14px;
}
.article-cover {
  margin: 18px 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.article-cover img { width: 100%; max-height: 480px; object-fit: cover; }

.score-card {
  display: flex;
  gap: 26px;
  align-items: center;
  margin: 18px 0;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #FFF6F0, #FFF0F5);
  border: 1px solid #FFE3D6;
}
.score-main { text-align: center; flex-shrink: 0; }
.score-circle {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--warn);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(255, 170, 76, .25);
}
.score-circle strong { font-size: 34px; color: var(--warn); line-height: 1; }
.score-circle span { font-size: 12px; color: var(--muted); margin-top: 4px; }
.score-price { margin-top: 10px; font-size: 13px; color: var(--muted); }
.score-price strong { color: var(--danger); font-size: 17px; }
.score-bars { flex: 1; min-width: 0; display: grid; gap: 12px; }
.score-row { display: flex; align-items: center; gap: 12px; }
.score-label { width: 60px; flex-shrink: 0; font-size: 13px; color: var(--muted); }
.score-track {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  overflow: hidden;
}
.score-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--warn), var(--primary));
  transition: width .8s ease;
}
.score-num { width: 32px; text-align: right; font-size: 14px; font-weight: 800; color: var(--warn); }

.pc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.pc-box {
  padding: 18px 20px;
  border-radius: var(--radius);
  font-size: 14px;
}
.pc-box h3 { font-size: 15px; margin-bottom: 10px; }
.pc-box ul { display: grid; gap: 8px; }
.pc-box li { padding-left: 18px; position: relative; line-height: 1.6; }
.pc-pros { background: var(--success-soft); border: 1px solid #CBF0DC; }
.pc-pros h3 { color: var(--success); }
.pc-pros li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.pc-cons { background: var(--danger-soft); border: 1px solid #FBDCDA; }
.pc-cons h3 { color: var(--danger); }
.pc-cons li::before { content: "✕"; position: absolute; left: 0; color: var(--danger); font-weight: 700; }

.params-card {
  margin: 20px 0;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
}
.params-card h3 { font-size: 15px; margin-bottom: 12px; }
.params-table table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: var(--radius-sm); overflow: hidden; }
.params-table th,
.params-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.params-table tr:last-child th,
.params-table tr:last-child td { border-bottom: 0; }
.params-table th { width: 110px; color: var(--muted); font-weight: 600; background: #FAFBFD; }

.prose { font-size: 15px; line-height: 1.9; word-break: break-word; }
.prose h2 { font-size: 19px; margin: 1.6em 0 .7em; padding-left: 12px; border-left: 4px solid var(--primary); line-height: 1.4; }
.prose h3 { font-size: 17px; margin: 1.4em 0 .6em; }
.prose p { margin: .9em 0; }
.prose img { border-radius: var(--radius-sm); margin: 12px auto; }
.prose ul, .prose ol { margin: .9em 0 .9em 1.4em; }
.prose ul li { list-style: disc; margin: .4em 0; }
.prose ol li { list-style: decimal; margin: .4em 0; }
.prose blockquote {
  margin: 1em 0;
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.prose th { background: #FAFBFD; }
.prose a { color: var(--accent); border-bottom: 1px dashed var(--accent); }
.prose code { background: var(--bg); padding: 2px 6px; border-radius: 4px; font-size: 13px; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.article-tags a {
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.article-tags a:hover { background: var(--accent); color: #fff; }
.article-share {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.share-btns { display: flex; gap: 8px; }
.share-btn {
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: .2s ease;
}
.share-btn:hover { color: var(--primary); transform: translateY(-1px); }
.article-pn {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.pn-item {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: background .2s ease;
}
.pn-item:hover { background: var(--primary-soft); }
.pn-item small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.pn-item strong {
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pn-next { text-align: left; }
.pn-item.is-empty { opacity: .55; }
.related-card { margin-top: 0; }

.empty-card {
  padding: 56px 24px;
  text-align: center;
}
.empty-card strong { display: block; font-size: 19px; margin: 14px 0 8px; }
.empty-card p { color: var(--muted); margin-bottom: 20px; }
.empty-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 34px;
  background: var(--primary-soft);
}
.empty-icon.big { font-size: 40px; }
.empty-actions { display: flex; justify-content: center; gap: 12px; }
.page-404 { max-width: 640px; margin: 40px auto 60px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: .2s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--warn));
  box-shadow: 0 4px 12px rgba(255, 107, 139, .28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255, 107, 139, .36); }
.btn-outline { color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-mini { padding: 5px 12px; font-size: 12px; background: var(--primary); color: #fff; border-radius: 999px; }

.widget {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(237, 240, 245, .8);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.widget::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.widget-search-card::before { background: linear-gradient(90deg, #FF6B8B, #FFAA4C); }
.widget-ad::before { background: linear-gradient(90deg, #38BDF8, #818CF8); }
.widget-hot::before { background: linear-gradient(90deg, #F5222D, #FFAA4C); }
.widget-tags::before { background: linear-gradient(90deg, #3EBB7C, #38BDF8); }
.widget-recent::before { background: linear-gradient(90deg, #FF6B8B, #A78BFA); }
.widget-comments::before { background: linear-gradient(90deg, #38BDF8, #3EBB7C); }
.widget-catalog::before { background: linear-gradient(90deg, #FFAA4C, #FF6B8B); }
.widget-wechat::before { background: linear-gradient(90deg, #A78BFA, #38BDF8); }
.widget-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.widget-title .wi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  font-size: 14px;
  flex-shrink: 0;
}
.widget-search-card .wi { background: #FFE9EE; }
.widget-ad .wi { background: #E3F4FF; }
.widget-hot .wi { background: #FFE9E7; }
.widget-tags .wi { background: #E5F8EF; }
.widget-recent .wi { background: #FFE9F2; }
.widget-comments .wi { background: #E3F4FF; }
.widget-catalog .wi { background: #FFF3E2; }
.widget-wechat .wi { background: #F0EAFE; }
.widget-body .module-list { display: grid; gap: 4px; }
.widget-body .module-list li { list-style: none; }
.widget-body .module-list a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); font-size: 13px; line-height: 1.5; }
.widget-body .module-list a:hover { background: var(--bg); color: var(--primary); }

.widget-catalog .module-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; }
.widget-catalog .module-list a em { font-style: normal; font-size: 11px; color: var(--muted); }
.widget-catalog .module-list a:hover { background: var(--bg); color: var(--primary); }
.cat-list { display: grid; gap: 2px; }
.cat-list li { list-style: none; }
.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.cat-list a em { font-style: normal; font-size: 11px; color: var(--muted); }
.cat-list a:hover { background: var(--bg); color: var(--primary); }

.widget-previous .module-list a,
.widget-comments .module-list a { padding: 7px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.widget-comments .module-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.widget-comments .module-list li:last-child { border-bottom: 0; }
.widget-comments .module-list strong { color: var(--primary); }
.widget-comments .module-list a { display: inline; padding: 0; color: var(--muted); }
.widget-comments .module-list a:hover { color: var(--primary); background: none; }

.widget-tags .widget-body .module-list { display: flex; flex-wrap: wrap; gap: 8px; }
.widget-tags .widget-body .module-list li { margin: 0; }
.widget-tags .widget-body .module-list a { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--bg); font-size: 12px; color: var(--muted); }
.widget-tags .widget-body .module-list a:hover { background: var(--accent-soft); color: var(--accent); }

.widget-search-card { background: linear-gradient(160deg, #FFF6F7 0%, #F0F8FF 100%); overflow: visible; }
.widget-search { display: flex; gap: 8px; }
.widget-search input {
  flex: 1;
  min-width: 0;
  border: 2px solid #FFC6D3;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  background: #fff;
  color: var(--text);
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.widget-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255, 107, 139, .18); }
.widget-search input::placeholder { color: #F2A7B8; }
.widget-search button {
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FF6B8B, #FF9A62);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(255, 107, 139, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.widget-search button:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(255, 107, 139, .35); }

.widget-ad .ad-box { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.widget-ad .ad-box img { width: 100%; border-radius: var(--radius-sm); }
.widget-ad .ad-box:hover img { transform: scale(1.02); }
.widget-ad .ad-box img { transition: transform .25s ease; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  transition: transform .2s ease;
}
.tag-cloud a:nth-child(3n+1) { background: #FFE9EE; color: #F0457A; }
.tag-cloud a:nth-child(3n+2) { background: #E3F4FF; color: #1E9FD8; }
.tag-cloud a:nth-child(3n+3) { background: #FFF3E2; color: #F28B16; }
.tag-cloud a:hover { transform: translateY(-2px); color: #fff; }
.tag-cloud a:nth-child(3n+1):hover { background: #F0457A; }
.tag-cloud a:nth-child(3n+2):hover { background: #1E9FD8; }
.tag-cloud a:nth-child(3n+3):hover { background: #F28B16; }

.recent-list { display: grid; gap: 2px; }
.recent-list li { list-style: none; }
.recent-list a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recent-list a:hover { background: var(--bg); color: var(--primary); }

.comment-mini-list { display: grid; gap: 0; }
.comment-mini-list li { list-style: none; padding: 8px 6px; border-bottom: 1px dashed var(--line); font-size: 12px; line-height: 1.6; }
.comment-mini-list li:last-child { border-bottom: 0; }
.comment-mini-list a { display: block; color: var(--muted); }
.comment-mini-list a strong { color: var(--primary); font-weight: 700; }
.comment-mini-list a span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 12.5px;
}
.comment-mini-list a:hover { color: var(--primary); }

.widget-contribute { padding: 12px; }
.contribute-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--warn));
  color: #fff;
  transition: .2s ease;
}
.contribute-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(255, 107, 139, .3); }
.contribute-icon { font-size: 24px; }
.contribute-text strong { display: block; font-size: 15px; }
.contribute-text em { font-style: normal; font-size: 12px; opacity: .85; }

.hot-list { counter-reset: hot; display: grid; gap: 4px; }
.hot-list li { counter-increment: hot; display: flex; align-items: baseline; gap: 10px; padding: 7px 0; }
.hot-list li::before {
  content: counter(hot);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  align-self: center;
}
.hot-list li:nth-child(1)::before { background: #FFE3E0; color: #F5222D; }
.hot-list li:nth-child(2)::before { background: #FFF3E0; color: #FA8C16; }
.hot-list li:nth-child(3)::before { background: #FFFBE6; color: #D4B106; }
.hot-list a {
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hot-list a:hover { color: var(--primary); }

.wechat-box { display: flex; gap: 12px; align-items: center; }
.wechat-box img { width: 76px; height: 76px; border-radius: var(--radius-sm); flex-shrink: 0; }
.wechat-box strong { font-size: 14px; }
.wechat-box p { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.5; }

.comment-card, .comment-post { padding: 20px; margin-top: 20px; }
.comment-list { display: grid; gap: 12px; }
.comment-list > li { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg); }
.comment-head { display: flex; align-items: center; gap: 10px; }
.comment-avatar { flex-shrink: 0; }
.comment-avatar img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.comment-meta { flex: 1; min-width: 0; }
.comment-meta strong { display: block; font-size: 13px; color: var(--primary); }
.comment-meta time { font-size: 11px; color: var(--muted); }
.comment-reply { font-size: 12px; color: var(--muted); flex-shrink: 0; }
.comment-reply:hover { color: var(--primary); }
.comment-body { margin-top: 8px; font-size: 14px; line-height: 1.7; word-break: break-word; }
.comment-list .comment-list { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.comment-pager { margin-top: 12px; }

.comment-form-row { margin-bottom: 12px; }
.comment-form-row input,
.comment-form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  outline: 0;
  transition: border-color .2s ease;
}
.comment-form-row input:focus,
.comment-form-row textarea:focus { border-color: var(--primary); background: #fff; }
.comment-form-row textarea { resize: vertical; min-height: 110px; }
.verify-row { display: flex; gap: 10px; align-items: center; }
.verify-row .verify-input { width: 140px; flex: none; }
.verify-row img { border-radius: var(--radius-sm); }
.comment-form-submit { text-align: right; }
#cancel-reply small { color: var(--primary); }

.site-footer {
  margin-top: 20px;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 36px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr .8fr;
  gap: 28px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 12px; }
.footer-logo img { max-height: 96px; width: auto; }
.footer-col p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.footer-contact { margin-top: 8px; }
.footer-col h4 { font-size: 15px; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col ul a { font-size: 13px; color: var(--muted); }
.footer-col ul a:hover { color: var(--primary); }
.footer-wechat img { width: 110px; height: 110px; border-radius: var(--radius-sm); }
.footer-wechat span { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }
.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.footer-copy { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-copy a:hover { color: var(--primary); }
.footer-beian { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-beian a:hover { color: var(--primary); }

.back-top {
  position: fixed;
  right: 24px;
  bottom: 60px;
  z-index: 90;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #7B5EA7;
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 6px 20px rgba(123, 94, 167, .45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: .3s ease;
  padding: 0;
}
.back-top-arrow { font-size: 34px; line-height: 1; font-weight: 700; }
.back-top-cn { font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: 1px; }
.back-top.is-show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: #6A4D96; transform: translateY(-2px); }

@media (max-width: 1080px) {
  .btn-member { display: none; }
  .header-search input { width: 200px; }
}

@media (max-width: 992px) {
  :root { --header-h: 64px; }
  .logo img { height: 40px; max-width: 160px; }
  .main-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .header-nav,
  #header-search,
  .btn-contribute,
  .auth-links { display: none; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 14px; }
  .article-item { flex-direction: column; gap: 10px; }
  .item-thumb { width: 100%; aspect-ratio: 16 / 9; }
  .duo-grid,
  .goods-grid,
  .pc-grid,
  .article-pn { grid-template-columns: 1fr; }
  .goods-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .score-card { flex-direction: column; gap: 18px; }
  .score-bars { width: 100%; }
  .article-card { padding: 18px; }
  .article-head h1 { font-size: 20px; }
  .hero-info { left: 16px; right: 16px; bottom: 16px; }
  .hero-dots { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .back-top { right: 14px; bottom: 30px; width: 64px; height: 64px; }
  .back-top-arrow { font-size: 18px; }
  .back-top-cn { font-size: 11px; }
}

@media (max-width: 480px) {
  :root { --header-h: 56px; }
  .logo img { height: 34px; max-width: 130px; }
  .goods-grid { grid-template-columns: 1fr; }
  .logo-text em { display: none; }
  .page-head h1 { font-size: 21px; }
}

.contribute-box {
  background: var(--card);
  border-radius: 16px;
  padding: 28px 30px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.contrib-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}
.contrib-emoji {
  font-size: 34px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
  border-radius: 16px;
  flex: none;
}
.contrib-title { font-size: 24px; font-weight: 800; color: var(--text); }
.contrib-sub { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.7; }

.contrib-msg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 18px;
  line-height: 1.6;
}
.contrib-msg.ok { background: var(--success-soft); color: #25704A; border: 1px solid #C9EFDD; }
.contrib-msg.err { background: var(--danger-soft); color: #C24541; border: 1px solid #FAD4D2; }

.contrib-form { display: block; }
.cf-row { margin-bottom: 18px; }
.cf-row > label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.cf-row > label em { color: var(--primary); font-style: normal; }
.cf-row > label em.opt { color: var(--muted); font-size: 12px; font-weight: 400; }

.cf-row input[type="text"],
.cf-row input[type="email"],
.cf-row select,
.cf-row textarea {
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: #FBFCFE;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.cf-row input:focus,
.cf-row select:focus,
.cf-row textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .12);
}
.cf-row textarea { resize: vertical; min-height: 150px; line-height: 1.8; }

.cf-inline { display: flex; gap: 16px; }
.cf-inline .cf-half { flex: 1; min-width: 0; }
.cf-inline .cf-half > label { display: block; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.cf-inline .cf-half > label em { color: var(--primary); font-style: normal; }
.cf-inline .cf-half > label em.opt { color: var(--muted); font-size: 12px; font-weight: 400; }

.verify-line { display: flex; gap: 12px; align-items: center; }
.verify-line input { flex: 1; max-width: 200px; }
.verify-img {
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  cursor: pointer;
  background: var(--primary-soft);
}

.cf-submit { margin-top: 24px; }
.contrib-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 34px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #FF8BA5);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(255, 107, 139, .32);
  transition: transform .2s ease, box-shadow .2s ease;
}
.contrib-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255, 107, 139, .4); }
.contrib-tip { margin-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.6; }

@media (max-width: 640px) {
  .contribute-box { padding: 20px 18px 24px; }
  .contrib-title { font-size: 20px; }
  .cf-inline { flex-direction: column; gap: 0; }
  .verify-line input { max-width: none; }
}

.editor-wrap {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #FBFCFE;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.editor-wrap:focus-within {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .12);
}
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #FFF, #F6F8FC);
  border-bottom: 1px solid var(--line);
}
.editor-toolbar button {
  min-width: 34px;
  height: 30px;
  padding: 0 10px;
  font-size: 13px;
  line-height: 1;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  transition: all .15s ease;
}
.editor-toolbar button:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-1px);
}
.editor-toolbar button b { font-weight: 800; }
.editor-toolbar button i { font-style: italic; }
.editor-toolbar button u { text-decoration: underline; }
.editor-toolbar .tb-sep {
  width: 1px;
  height: 18px;
  background: var(--line);
  margin: 0 4px;
}
.editor-toolbar button:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}
.editor-wrap textarea {
  width: 100%;
  min-height: 200px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: none;
  resize: vertical;
}
.editor-wrap textarea:focus { box-shadow: none; }

@media (max-width: 480px) {
  .editor-toolbar button { min-width: 30px; padding: 0 8px; }
  .editor-toolbar .tb-sep { display: none; }
}

.wechat-share-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wechat-share-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
}
.wechat-share-box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 22px;
  text-align: center;
  max-width: 300px;
  width: 86%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
.wechat-share-close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  font-size: 22px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}
.wechat-share-close:hover { color: var(--primary); }
.wechat-share-box h4 {
  font-size: 16px;
  margin: 0 0 14px;
  color: var(--text);
}
.wechat-qr-wrap {
  width: 220px;
  height: 220px;
  margin: 0 auto 14px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.wechat-qr-wrap img { width: 100%; height: 100%; display: block; }
.wechat-share-box p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }

.emoji-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 6px 8px;
  margin-bottom: 8px;
  background: linear-gradient(180deg, #FFF, #F6F8FC);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border-bottom: 0;
}
.emoji-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 6px;
  transition: background .15s ease, transform .15s ease;
  user-select: none;
}
.emoji-btn:hover {
  background: var(--primary-soft);
  transform: scale(1.2);
}

.wechat-share-close {
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wechat-share-close:hover { background: #fff; color: #333; }

.emoji-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px;
  background: #f9fafb;
  border-radius: 10px;
  margin-bottom: 10px;
}
.emoji-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  transition: all .15s;
}
.emoji-btn:hover { background: var(--primary-soft); transform: scale(1.2); }

.captcha-img { height: 42px !important; border-radius: 8px; cursor: pointer; }

body.single .article-content.prose {
  max-width: 100%;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
body.single .article-content.prose * {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
  white-space: normal !important;
  text-wrap-mode: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  word-wrap: break-word !important;
}
body.single .article-content.prose img,
body.single .article-content.prose video,
body.single .article-content.prose iframe,
body.single .article-content.prose embed {
  max-width: 100% !important;
  height: auto !important;
}
body.single .article-content.prose pre {
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: auto;
  white-space: pre-wrap !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
}
body.single .article-content.prose table {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: auto;
}

.cate-slider { position: relative; border-radius: 16px; overflow: hidden; margin-bottom: 20px; aspect-ratio: 16 / 9; min-height: 260px; }
.cate-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.cate-slide.is-active { opacity: 1; }
.cate-slide img { width: 100%; height: 100%; object-fit: cover; }
.cate-slide-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; }
.cate-slide-info h3 { margin: 0 0 6px; font-size: 18px; }
.cate-slide-dots { position: absolute; bottom: 10px; right: 14px; display: flex; gap: 5px; }
.cate-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); }
.cate-dot.is-active { background: #fff; width: 18px; border-radius: 3px; }

.m-body { background: #fff; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: #1a1a2e; }

.m-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.m-header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
.m-header-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}
.m-header-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .5px;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  background: linear-gradient(135deg, #FF6B8B 0%, #FF8FA3 50%, #FFB3C1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 1px 2px rgba(255,107,139,.15);
}
.m-header-search {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  color: #666;
}

.m-cate-nav {
  display: flex;
  gap: 0;
  padding: 0 10px;
  overflow-x: auto;
  background: #fff;
  border-bottom: 1px solid #f5f5f5;
  scrollbar-width: none;
  position: sticky;
  top: 49px;
  z-index: 99;
}
.m-cate-nav::-webkit-scrollbar { display: none; }
.m-cate-item {
  flex-shrink: 0;
  padding: 12px 14px 10px;
  font-size: 17px;
  color: #555;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color .2s;
}
.m-cate-item.is-active {
  color: #FF6B8B;
  font-weight: 700;
}
.m-cate-item.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: linear-gradient(90deg, #FF6B8B, #FF8FA3);
  border-radius: 2px;
}

.m-slider {
  position: relative;
  margin: 10px 14px 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f5f6fa;
}
.m-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s;
  text-decoration: none;
  color: inherit;
  pointer-events: none;
}
.m-slide.is-active { opacity: 1; pointer-events: auto; }
.m-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.m-slide-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
}
.m-slide-title {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.m-slider-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 4px;
}
.m-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  transition: all .3s;
}
.m-dot.is-active {
  background: #fff;
  width: 14px;
  border-radius: 3px;
}

.m-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, .32);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s;
  -webkit-tap-highlight-color: transparent;
}
.m-slider-nav:active { background: rgba(0, 0, 0, .62); }
.m-slider-prev { left: 8px; }
.m-slider-next { right: 8px; }

.m-news-list { padding: 4px 0; }
.m-news-item { background: #fff; }
.m-news-link {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  align-items: center;
  border-bottom: 1px solid #f5f5f5;
}
.m-news-body {
  flex: 1;
  min-width: 0;
}
.m-news-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: #1a1a2e;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.m-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}
.m-news-meta span { white-space: nowrap; }
.m-meta-cate { color: #333 !important; font-weight: 500; }
.m-news-score { color: #FF6B8B !important; font-weight: 600; }
.m-news-thumb {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f6fa;
}
.m-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-body .pagebar {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px;
}
.m-body .pagebar a, .m-body .pagebar span {
  padding: 6px 14px;
  border-radius: 8px;
  background: #f5f6fa;
  font-size: 14px;
  color: #666;
  text-decoration: none;
}
.m-body .pagebar .now-page {
  background: #FF6B8B;
  color: #fff;
}

.m-article-page { background: #fff; }
.m-article-detail { padding: 16px 14px; }
.m-article-badge {
  display: inline-block;
  padding: 3px 10px;
  background: linear-gradient(135deg, #FFE4EC, #FFF0F3);
  color: #FF6B8B;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  margin-bottom: 10px;
}
.m-article-h1 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  color: #1a1a2e;
}
.m-article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: #999;
  padding-bottom: 14px;
  border-bottom: 1px solid #f5f5f5;
  margin-bottom: 16px;
}
.m-article-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  max-width: 100%;
  overflow-x: hidden;
  word-break: break-word;
  word-wrap: break-word;
}
.m-article-content * {
  max-width: 100% !important;
  box-sizing: border-box;
}
.m-article-content img, .m-article-content video {
  max-width: 100% !important;
  height: auto !important;
}
.m-article-content table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.m-article-content pre {
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.m-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 12px 0;
}
.m-article-content h2, .m-article-content h3 {
  margin: 20px 0 10px;
  padding-left: 10px;
  border-left: 3px solid #FF6B8B;
}
.m-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
.m-article-tags a {
  padding: 4px 12px;
  background: #f5f6fa;
  border-radius: 14px;
  font-size: 13px;
  color: #666;
  text-decoration: none;
}

.m-score-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #FFF5F7, #FFF0F3);
  border-radius: 14px;
  margin-bottom: 16px;
}
.m-score-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B8B, #FF8FA3);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.m-score-circle strong { font-size: 20px; font-weight: 800; line-height: 1; }
.m-score-circle span { font-size: 10px; opacity: .9; }
.m-score-price { font-size: 14px; color: #666; }
.m-score-price b { font-size: 20px; color: #FF6B8B; font-weight: 800; }

.m-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #f9fafb;
  border-radius: 12px;
  margin: 16px 0;
  font-size: 14px;
  color: #666;
}
.m-share-btn {
  padding: 6px 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #FF6B8B, #FF8FA3);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.m-pn {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}
.m-pn-item {
  padding: 12px 14px;
  background: #f9fafb;
  border-radius: 12px;
  font-size: 13px;
  color: #888;
  text-decoration: none;
}
.m-pn-item strong {
  display: block;
  font-size: 14px;
  color: #333;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-related { padding: 0 14px 20px; }
.m-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.m-title-bar {
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, #FF6B8B, #FF8FA3);
  border-radius: 2px;
}
.m-section-title h2 { margin: 0; font-size: 17px; font-weight: 700; color: #1a1a2e; }
.m-related-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.m-related-item { text-decoration: none; color: inherit; }
.m-related-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f6fa;
  margin-bottom: 6px;
}
.m-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-related-item span {
  font-size: 12px;
  line-height: 1.4;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.m-body .comment-list { padding: 0 14px; }
.m-body .comment { padding: 12px 0; border-bottom: 1px solid #f5f5f5; }
.m-body .comment-body { font-size: 14px; line-height: 1.6; }
.m-body .comment-meta { font-size: 12px; color: #999; }
.m-body #comment-form { padding: 16px 14px; }
.m-body #comment-form input, .m-body #comment-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  font-size: 14px;
  box-sizing: border-box;
  margin-bottom: 10px;
}
.m-body #comment-form textarea { min-height: 100px; resize: vertical; }
.m-body #comment-form button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #FF6B8B, #FF8FA3);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.m-body .emoji-toolbar { flex-wrap: wrap; }
.m-body .emoji-btn { width: 26px; height: 26px; font-size: 15px; }

.m-body .site-footer { display: none; }
.m-body .back-top { display: none; }
.m-body .header-site { display: none; }

.m-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  font-size: 14px;
  color: #999;
  background: #fff;
  border-bottom: 1px solid #f5f5f5;
}
.m-breadcrumb a { color: #FF6B8B; text-decoration: none; }
.m-bread-sep { color: #ccc; }
.m-bread-current { color: #333; font-weight: 600; }

.m-page-head {
  background: #fff;
  padding: 16px 14px;
  border-bottom: 1px solid #f5f5f5;
  margin-bottom: 10px;
}
.m-page-kicker {
  display: inline-block;
  font-size: 12px;
  color: #FF6B8B;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: .5px;
}
.m-page-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
}
.m-page-desc {
  margin: 0;
  font-size: 13px;
  color: #888;
  line-height: 1.6;
}

.m-empty-card {
  background: #fff;
  margin: 14px;
  padding: 40px 20px;
  border-radius: 12px;
  text-align: center;
}
.m-empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.m-empty-icon.big { font-size: 64px; }
.m-empty-card strong {
  display: block;
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
}
.m-empty-card p {
  font-size: 13px;
  color: #999;
  margin: 0 0 16px;
  line-height: 1.6;
}
.m-empty-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.m-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
}
.m-btn-primary {
  background: #FF6B8B;
  color: #fff;
}
.m-btn-primary:active { opacity: .8; }

.m-footer {
  background: #f9fafb;
  padding: 20px 14px 24px;
  text-align: center;
  border-top: 1px solid #eee;
}
.m-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}
.m-footer-links a {
  font-size: 14px;
  color: #666;
  text-decoration: none;
}
.m-footer-links a:hover { color: #FF6B8B; }
.m-footer-copy {
  font-size: 12px;
  color: #aaa;
  line-height: 1.8;
}
.m-footer-copy a {
  color: #aaa;
  text-decoration: none;
  margin-left: 8px;
}

.m-search-bar {
  display: none;
  padding: 10px 14px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.m-search-bar.is-open {
  display: block;
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  z-index: 99;
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}
.m-search-form {
  display: flex;
  gap: 8px;
}
.m-search-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  font-size: 14px;
  outline: none;
  background: #f9fafb;
}
.m-search-input:focus {
  border-color: #FF6B8B;
  background: #fff;
}
.m-search-submit {
  padding: 10px 18px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, #FF6B8B, #FF8FA3);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.m-back-top {
  position: fixed;
  right: 14px;
  bottom: 80px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}
.m-back-top.is-visible {
  opacity: 1;
  visibility: visible;
}
.m-back-top:hover {
  background: #FF6B8B;
  color: #fff;
  border-color: #FF6B8B;
}

.m-page-main { background: #fff; min-height: 100vh; }
.m-page-detail { padding: 16px 14px; }
.m-page-h1 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
  color: #1a1a2e;
  padding-bottom: 14px;
  border-bottom: 1px solid #f5f5f5;
}

.m-search-main { background: #fff; min-height: 100vh; padding-bottom: 20px; }
.m-search-result-head {
  padding: 16px 14px 12px;
  background: linear-gradient(135deg, #FFF5F7, #FFF0F3);
  border-bottom: 1px solid #f5f5f5;
}
.m-search-kicker {
  display: block;
  font-size: 13px;
  color: #FF6B8B;
  font-weight: 600;
  margin-bottom: 6px;
}
.m-search-keyword {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: #1a1a2e;
  word-break: break-all;
}
.m-search-count {
  margin: 0;
  font-size: 13px;
  color: #999;
}
.m-search-empty {
  padding: 60px 24px;
  text-align: center;
}
.m-search-empty .m-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  background: #FFF0F3;
}
.m-search-empty strong {
  display: block;
  font-size: 17px;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.m-search-empty p {
  font-size: 14px;
  color: #999;
  margin: 0 0 20px;
}
.m-empty-btn {
  display: inline-block;
  padding: 10px 28px;
  background: linear-gradient(135deg, #FF6B8B, #FF8FA3);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
}

@media (max-width: 720px) {
  .m-page-main, .m-page-detail,
  .m-article-page, .m-article-detail {
    max-width: 100%;
    overflow-x: hidden;
  }
  .m-page-detail .m-article-content,
  .m-article-detail .m-article-content {
    max-width: 100%;
    overflow-x: hidden;
    word-break: break-word;
    overflow-wrap: anywhere;
    word-wrap: break-word;
  }
  .m-page-detail .m-article-content *,
  .m-article-detail .m-article-content * {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;

    white-space: normal !important;
    text-wrap-mode: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    word-wrap: break-word !important;
  }
  .m-page-detail .m-article-content pre,
  .m-article-detail .m-article-content pre {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto;
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
  }
  .m-page-detail .m-article-content img,
  .m-page-detail .m-article-content video,
  .m-page-detail .m-article-content iframe,
  .m-page-detail .m-article-content embed,
  .m-article-detail .m-article-content img,
  .m-article-detail .m-article-content video,
  .m-article-detail .m-article-content iframe,
  .m-article-detail .m-article-content embed {
    max-width: 100% !important;
    height: auto !important;
  }
  .m-page-detail .m-article-content table,
  .m-article-detail .m-article-content table {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .m-page-detail .m-article-content p,
  .m-page-detail .m-article-content li,
  .m-page-detail .m-article-content a,
  .m-page-detail .m-article-content h1,
  .m-page-detail .m-article-content h2,
  .m-page-detail .m-article-content h3,
  .m-page-detail .m-article-content h4,
  .m-page-detail .m-article-content div,
  .m-page-detail .m-article-content span,
  .m-article-detail .m-article-content p,
  .m-article-detail .m-article-content li,
  .m-article-detail .m-article-content a,
  .m-article-detail .m-article-content h1,
  .m-article-detail .m-article-content h2,
  .m-article-detail .m-article-content h3,
  .m-article-detail .m-article-content h4,
  .m-article-detail .m-article-content div,
  .m-article-detail .m-article-content span {
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .m-page-detail .m-article-content ul,
  .m-page-detail .m-article-content ol,
  .m-article-detail .m-article-content ul,
  .m-article-detail .m-article-content ol {
    padding-left: 1.4em;
    margin-left: 0;
  }
  .m-page-detail .m-article-content blockquote,
  .m-article-detail .m-article-content blockquote {
    margin: 12px 0;
    padding: 10px 14px;
    border-left: 3px solid #FF6B8B;
    background: #FFF5F7;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    color: #666;
  }
  .m-page-detail .m-article-content p,
  .m-article-detail .m-article-content p {
    margin: 0.8em 0;
    line-height: 1.8;
  }
}

.m-contribute-main { background: #fff; min-height: 100vh; padding-bottom: 24px; }
.m-contribute-head {
  padding: 18px 14px 14px;
  background: linear-gradient(135deg, #FFF5F7, #FFF0F3);
  border-bottom: 1px solid #f5f5f5;
  display: flex;
  align-items: center;
  gap: 12px;
}
.m-contrib-emoji {
  font-size: 28px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFE4EC, #E0F2FE);
  border-radius: 14px;
  flex-shrink: 0;
}
.m-contrib-title { font-size: 20px; font-weight: 800; color: #1a1a2e; margin: 0; }
.m-contrib-sub { font-size: 12px; color: #999; margin: 4px 0 0; line-height: 1.6; }
.m-contribute-form { padding: 16px 14px; }
.m-cf-row { margin-bottom: 16px; }
.m-cf-row > label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.m-cf-row > label em { color: #FF6B8B; font-style: normal; }
.m-cf-row > label em.opt { color: #999; font-size: 12px; font-weight: 400; }
.m-cf-row input[type="text"],
.m-cf-row input[type="email"],
.m-cf-row select,
.m-cf-row textarea {
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-size: 15px;
  color: #1a1a2e;
  background: #FBFCFE;
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s ease;
}
.m-cf-row input:focus,
.m-cf-row select:focus,
.m-cf-row textarea:focus { border-color: #FF6B8B; background: #fff; }
.m-cf-row textarea { resize: vertical; min-height: 140px; line-height: 1.8; }
.m-cf-inline { display: flex; gap: 12px; }
.m-cf-inline .m-cf-half { flex: 1; min-width: 0; }
.m-cf-inline .m-cf-half > label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.m-cf-inline .m-cf-half > label em { color: #FF6B8B; font-style: normal; }
.m-verify-line { display: flex; gap: 10px; align-items: center; }
.m-verify-line input { flex: 1; }
.m-verify-img {
  height: 42px;
  border-radius: 8px;
  border: 1.5px solid #e8e8e8;
  cursor: pointer;
  background: #FFF0F3;
  flex-shrink: 0;
}
.m-contrib-msg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  margin: 12px 14px 0;
  line-height: 1.6;
}
.m-contrib-msg.ok { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.m-contrib-msg.err { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.m-contrib-submit-btn {
  width: 100%;
  padding: 13px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #FF6B8B, #FF8FA3);
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(255,107,139,.3);
  cursor: pointer;
  margin-top: 8px;
}
.m-contrib-tip {
  margin-top: 12px;
  font-size: 12px;
  color: #999;
  line-height: 1.6;
  text-align: center;
}
.taobao-buy-wrap {
  margin: 24px 0 8px;
  text-align: center;
}
.taobao-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  padding: 13px 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FF6B8B 0%, #FF8C5A 55%, #FF6B35 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  border: none;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  letter-spacing: 1px;
  box-sizing: border-box;
}
.taobao-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45);
  filter: brightness(1.05);
  color: #fff;
}
.taobao-buy-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}
.taobao-buy-icon {
  font-size: 18px;
  line-height: 1;
}
.taobao-buy-text {
  line-height: 1;
}
.taobao-buy-arrow {
  font-size: 14px;
  opacity: .85;
  transition: transform .2s ease;
}
.taobao-buy-btn:hover .taobao-buy-arrow {
  transform: translateX(3px);
}

.m-body .taobao-buy-wrap {
  margin: 20px -2px 10px;
}
.m-body .taobao-buy-btn {
  width: 100%;
  min-width: 0;
  padding: 15px 24px;
  font-size: 17px;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(255, 107, 53, 0.3);
}
.m-body .taobao-buy-btn:active {
  transform: scale(0.98);
}

.taobao-buy-btn.is-copied {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.atm3721-toast {
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%) translateY(20px);
  max-width: 80%;
  padding: 12px 22px;
  background: rgba(26, 26, 46, 0.92);
  color: #fff;
  font-size: 14px;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  z-index: 99999;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  text-align: center;
  line-height: 1.5;
}
.atm3721-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.m-body .atm3721-toast {
  bottom: 40px;
  font-size: 15px;
  padding: 14px 24px;
}

.m-editor-wrap {
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  background: #FBFCFE;
  overflow: hidden;
}
.m-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #FFF, #F6F8FC);
  border-bottom: 1px solid #e8e8e8;
}
.m-editor-toolbar button {
  min-width: 32px;
  height: 30px;
  padding: 0 8px;
  font-size: 13px;
  color: #1a1a2e;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 7px;
}
.m-editor-toolbar .m-tb-sep {
  width: 1px;
  height: 18px;
  background: #e8e8e8;
  margin: 0 3px;
}
.m-editor-wrap textarea {
  width: 100%;
  min-height: 160px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: #1a1a2e;
  line-height: 1.8;
  background: transparent;
  border: 0;
  outline: none;
  resize: vertical;
  box-sizing: border-box;
}

.site-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}


