@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&display=swap");

:root {
  --bg: #0b0d12;
  --bg2: #12161f;
  --surface: #171c27;
  --surface2: #1e2533;
  --accent: #f0b429;
  --accent-press: #d9a01f;
  --accent-soft: rgba(240, 180, 41, 0.16);
  --ok: #3ecf8e;
  --hot: #ff5c5c;
  --text: #f3f5f9;
  --muted: #8e98ab;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --topbar-h: 52px;
  --tabbar-h: 58px;
  --dock-h: 64px;
  --font: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background:
    radial-gradient(600px 280px at 80% -5%, rgba(240, 180, 41, 0.12), transparent 55%),
    radial-gradient(500px 260px at 0% 20%, rgba(56, 120, 200, 0.1), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100dvh;
  padding-top: var(--safe-top);
  padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom));
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  overscroll-behavior-y: contain;
}
body.has-dock { padding-bottom: calc(var(--tabbar-h) + var(--dock-h) + var(--safe-bottom)); }
a { color: var(--accent); text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }

/* —— Topbar —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--topbar-h);
  padding: 8px 14px;
  background: rgba(11, 13, 18, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.topbar .back {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 1.1rem;
  line-height: 1;
}
.topbar .back:active { transform: scale(0.94); }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
  max-width: 42vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo .site-logo {
  height: 28px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}
.topbar-title {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
}
.topbar .icon-btn {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
}
.search-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.search-wrap::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 2px solid var(--muted);
  border-radius: 50%;
  box-shadow: 6px 6px 0 -5px var(--muted);
  opacity: 0.85;
}
.search {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 0.88rem;
}
.search::placeholder { color: #6f7a8d; }

/* —— Category chips —— */
.tabs {
  position: sticky;
  top: var(--topbar-h);
  z-index: 30;
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  background: rgba(11, 13, 18, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-height: 32px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
  border: 1px solid var(--line);
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s;
}
.tab:active { transform: scale(0.96); }
.tab.active {
  color: #1a1408;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 700;
}

/* —— List / cards —— */
.list { padding: 12px 14px 8px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.12s ease, border-color 0.15s;
}
.card:active { transform: scale(0.985); }
.card-link { display: block; color: inherit; }
.srv-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: start;
}
.srv-cover {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--surface2);
  border: 1px solid var(--line);
}
.srv-cover.ph {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}
.srv-main { min-width: 0; }
.srv-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.srv-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}
.srv-meta .cd {
  color: var(--ok);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.srv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #b8c0d0;
  font-size: 0.72rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--accent);
  color: #1a1408;
  font-weight: 700;
  line-height: 1.4;
}
.badge.hot { background: var(--hot); color: #fff; }
.badge.rank { background: linear-gradient(135deg, #f0b429, #e07a20); }
.srv-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 8px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface2);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s, background 0.15s, opacity 0.15s;
  user-select: none;
}
.btn:active { transform: scale(0.97); opacity: 0.92; }
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1408;
}
.btn.primary:active { background: var(--accent-press); }
.btn.ghost {
  background: transparent;
}
.btn.block { width: 100%; }
.btn.sm { min-height: 32px; font-size: 0.78rem; padding: 0 10px; }
.btn:disabled { opacity: 0.45; pointer-events: none; }

.row { color: var(--muted); font-size: 0.84rem; line-height: 1.65; }
.cd { color: var(--ok); font-weight: 700; font-variant-numeric: tabular-nums; }

/* —— Tabbar —— */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(14, 16, 22, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #7a8498;
  font-size: 0.68rem;
  font-weight: 500;
  padding-top: 6px;
}
.tabbar a .ico {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}
.tabbar a .ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tabbar a.active {
  color: var(--accent);
  font-weight: 700;
}
.tabbar a:active { opacity: 0.75; }

/* —— Carousel：固定比例 + contain，比例不对时模糊铺底 —— */
.carousel {
  margin: 12px 14px 0;
  aspect-ratio: 750 / 280;
  max-height: 168px;
  height: auto;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius);
  background: #0a1018;
  border: 1px solid var(--line);
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #0a1018;
}
.carousel-slide .carousel-bg {
  position: absolute;
  inset: -18px;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.45);
  transform: scale(1.1);
  pointer-events: none;
}
.carousel-slide a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
  z-index: 2;
}
.carousel-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}
.carousel-dots span.on { background: var(--accent); width: 14px; border-radius: 999px; }

.list-banner {
  display: block;
  margin: 0 0 10px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a1018;
  aspect-ratio: 750 / 160;
  max-height: 72px;
}
.list-banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* —— Bid —— */
.section-bid-h5 {
  margin: 12px 14px 0;
  padding: 12px;
  background: linear-gradient(160deg, #2a2214, #1a160e 70%);
  border: 1px solid rgba(240, 180, 41, 0.28);
  border-radius: var(--radius);
}
.section-bid-h5 .sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.section-bid-h5 h3 {
  color: #f0d078;
  font-size: 0.95rem;
  font-weight: 700;
}
.section-bid-h5 .sec-head a {
  color: #f0d078;
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.9;
}
.bid-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.bid-scroll::-webkit-scrollbar { display: none; }
.bid-item {
  flex: 0 0 78%;
  max-width: 280px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(240, 180, 41, 0.2);
  border-radius: 12px;
  color: inherit;
}
.bid-item .title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  color: #fff;
}

/* —— Detail —— */
.detail-page { padding-bottom: 8px; }
.detail-hero {
  position: relative;
  padding: 0 0 16px;
}
.detail-cover {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--surface2);
}
.detail-cover-ph {
  height: 120px;
  background:
    linear-gradient(135deg, rgba(240, 180, 41, 0.18), transparent 50%),
    var(--surface);
}
.detail-body { padding: 0 14px; margin-top: -28px; position: relative; z-index: 2; }
.detail-sheet {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}
.detail-sheet h1 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.35;
}
.detail-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.stat {
  background: var(--bg2);
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
}
.stat .l { color: var(--muted); font-size: 0.72rem; margin-bottom: 2px; }
.stat .v { font-size: 0.88rem; font-weight: 600; color: #fff; }
.stat .v.cd { color: var(--ok); }

.seg-tabs {
  display: flex;
  gap: 4px;
  margin: 14px 14px 0;
  padding: 4px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.seg-tabs::-webkit-scrollbar { display: none; }
.seg-tab {
  flex: 1 0 auto;
  min-width: 56px;
  text-align: center;
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  border: 0;
  background: transparent;
  white-space: nowrap;
}
.seg-tab.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.panel {
  margin: 12px 14px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid var(--line);
}
.panel h3 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 700;
}
.panel.hidden { display: none; }

.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.shots img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  cursor: zoom-in;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0d0d0d;
}

.rich-content img,
.rich-content video {
  display: block;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  margin: 12px 0;
  border-radius: 8px;
  object-fit: contain;
}

.timeline-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-item:last-child { border-bottom: 0; }
.timeline-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}
.cmt-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.cmt-item:last-child { border-bottom: 0; }
.cmt-item .who { font-size: 0.78rem; color: var(--muted); margin-bottom: 4px; }
.field {
  width: 100%;
  margin-top: 10px;
  background: var(--bg2);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 10px;
  resize: vertical;
  outline: none;
}
.field:focus { border-color: rgba(240, 180, 41, 0.45); }

/* Sticky download dock */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--tabbar-h) + var(--safe-bottom));
  z-index: 45;
  display: grid;
  grid-template-columns: 52px 52px 1fr;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  background: rgba(14, 16, 22, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.dock .dock-icon {
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.62rem;
  font-weight: 600;
}
.dock .dock-icon.on {
  color: var(--accent);
  border-color: rgba(240, 180, 41, 0.4);
  background: var(--accent-soft);
}
.dock .dock-icon .sym { font-size: 1rem; line-height: 1; }
.dock .btn.primary { min-height: 44px; font-size: 0.95rem; }

/* —— Toast —— */
.cq-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 24px);
  transform: translateX(-50%) translateY(12px);
  z-index: 9998;
  max-width: 80vw;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(30, 34, 44, 0.96);
  border: 1px solid var(--line);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: var(--shadow);
}
.cq-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
body.has-dock .cq-toast {
  bottom: calc(var(--tabbar-h) + var(--dock-h) + var(--safe-bottom) + 16px);
}

/* —— Empty / loading —— */
.empty {
  text-align: center;
  color: var(--muted);
  padding: 48px 16px;
  font-size: 0.9rem;
}
.empty .btn { margin: 16px auto 0; max-width: 200px; }
.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface2) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: sk 1.2s ease-in-out infinite;
  border-radius: 8px;
}
@keyframes sk {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.sk-card {
  height: 118px;
  margin-bottom: 10px;
  border-radius: var(--radius);
}

.cq-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  padding: 16px;
  cursor: zoom-out;
}
.cq-lightbox.open { display: flex; }
.cq-lightbox img {
  max-width: 96vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: default;
}
.cq-lightbox .cq-lb-close {
  position: absolute;
  top: calc(12px + var(--safe-top));
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* Title effects */
.title-fx { display: inline-block !important; font-weight: 700; line-height: 1.2; }
.title-fx--glow {
  color: #ffb020;
  text-shadow: 0 0 4px currentColor, 0 0 10px currentColor, 0 0 18px rgba(255,176,32,.85);
  animation: title-glow-pulse 1.4s ease-in-out infinite;
}
.title-fx--rainbow {
  background: linear-gradient(90deg, #ff3b30, #ff9500, #ffcc00, #34c759, #007aff, #af52de, #ff3b30);
  background-size: 400% 100%;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  animation: title-rainbow 2.2s linear infinite;
}
.title-fx--gradient {
  background: linear-gradient(90deg, #c9a227, #fff6c8, #f0d078, #fff, #c9a227);
  background-size: 300% 100%;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  animation: title-rainbow 2s linear infinite;
}
.title-fx--blink { animation: title-blink 0.9s step-start infinite; }
.title-fx--flash { animation: title-flash 1s ease-in-out infinite; }
.title-fx--shake { animation: title-shake 0.45s ease-in-out infinite; }
@keyframes title-rainbow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@keyframes title-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.15; }
}
@keyframes title-flash {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(2.2) drop-shadow(0 0 8px #fff); }
}
@keyframes title-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}
@keyframes title-glow-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.35); }
}

/* —— 资讯列表 / 详情 —— */
.news-card {
  display: grid !important;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: stretch;
  color: inherit;
  text-decoration: none;
}
.news-cover {
  width: 96px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--surface2);
  border: 1px solid var(--line);
}
.news-cover.ph {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}
.news-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.news-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-sum {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta { font-size: 0.72rem; color: #6f7a8d; margin-top: auto; }

.article-page { padding-bottom: 8px; }
.article-sheet { margin-top: 12px; }
.article-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 8px;
}
.article-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.article-cover {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
}
.article-summary {
  padding: 10px 12px;
  margin-bottom: 14px;
  background: var(--bg2, #12161f);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  color: #c5cddc;
  font-size: 0.88rem;
  line-height: 1.65;
}
.article-body {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #e2e8f0;
  word-break: break-word;
}
.article-body p { margin: 0 0 12px; }
.article-body h1, .article-body h2, .article-body h3 {
  color: #fff;
  margin: 18px 0 10px;
  line-height: 1.35;
}
.article-body h2 { font-size: 1.1rem; }
.article-body h3 { font-size: 1rem; }
.article-body ul, .article-body ol { padding-left: 1.2em; margin: 0 0 12px; }
.article-body a { color: var(--accent); text-decoration: underline; }
.article-body img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin: 12px auto;
  border-radius: 10px;
}
.article-body video {
  display: block;
  max-width: 100% !important;
  width: 100%;
  margin: 12px 0;
  border-radius: 10px;
  background: #000;
}
.article-body table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 12px 0;
  font-size: 0.85rem;
}
.related-news h3 { margin-bottom: 10px; }
.related-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.related-item:last-child { border-bottom: 0; }
.related-item span {
  flex: 1;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
}
.related-item small { color: var(--muted); font-size: 0.72rem; white-space: nowrap; }

.home-news {
  margin: 12px 14px 0;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.home-news .sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.home-news h3 { font-size: 0.95rem; color: #fff; font-weight: 700; }
.home-news .sec-head a { color: var(--accent); font-size: 0.78rem; }
.home-news .news-mini {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.home-news .news-mini:last-child { border-bottom: 0; }
.home-news .news-mini .t { color: #fff; font-weight: 600; font-size: 0.9rem; line-height: 1.35; }
.home-news .news-mini .m { color: var(--muted); font-size: 0.72rem; margin-top: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
