:root {
  --tv-paper: #eceff0;
  --tv-paper-2: #e2e7e9;
  --tv-ink: #24282b;
  --tv-ink-soft: #4b5459;
  --tv-ok: #12866b;
  --tv-ok-deep: #0d6b55;
  --tv-warn: #c98a12;
  --tv-warn-soft: #f4e7c8;
  --tv-line: #d2d8da;
  --tv-card: #ffffff;
  --tv-r-big: 30px;
  --tv-r: 16px;
  --tv-latin: "Microsoft Sans Serif", Tahoma, sans-serif;
  --tv-cjk: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  --tv-gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body.tv-body {
  margin: 0;
  background: var(--tv-paper);
  color: var(--tv-ink);
  font-family: var(--tv-cjk);
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--tv-ok-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--tv-ink); }

:focus-visible { outline: 3px solid var(--tv-ok); outline-offset: 2px; border-radius: 4px; }

p, li { text-wrap: pretty; }

code {
  font-family: var(--tv-latin);
  font-size: .92em;
  background: var(--tv-paper-2);
  border-radius: 6px;
  padding: .1em .4em;
  word-break: break-all;
}

.tv-skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 50;
  background: var(--tv-ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--tv-r);
  min-height: 44px;
  text-decoration: none;
}
.tv-skip:focus { top: 12px; color: #fff; }

.tv-main:focus { outline: none; }

/* 页头 */
.tv-mast { border-bottom: 1px solid var(--tv-line); background: var(--tv-paper); }
.tv-mast__in {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px var(--tv-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.tv-mast__home { display: inline-flex; align-items: center; min-height: 44px; }
.tv-mark { display: block; height: 34px; width: auto; }
.tv-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.tv-nav__a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--tv-ink);
  text-decoration: none;
  border-radius: var(--tv-r);
  font-size: 15px;
}
.tv-nav__a:hover { background: var(--tv-paper-2); color: var(--tv-ink); }
.tv-nav__a--on { box-shadow: inset 0 -3px 0 var(--tv-ok); border-radius: 0; }

/* 首页首屏 */
.tv-front {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px var(--tv-gutter) 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 48px;
  align-items: start;
}
.tv-front__h1 {
  font-size: 39px;
  line-height: 1.3;
  margin: 8px 0 14px;
  font-weight: 700;
  line-break: strict;
  text-wrap: balance;
}
.tv-keep { display: inline-block; }
.tv-front__lede { font-size: 17px; color: var(--tv-ink-soft); margin: 0 0 22px; max-width: 30em; }

.tv-pick {
  background: var(--tv-card);
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-r);
  padding: 16px 20px 14px;
  position: relative;
}
.tv-pick::before {
  content: "";
  position: absolute;
  left: 0; top: 16px; bottom: 16px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--tv-ok);
}
.tv-pick__kicker { margin: 0; font-size: 13px; font-weight: 700; color: var(--tv-ok-deep); }
.tv-pick__title {
  display: block;
  margin: 4px 0 6px;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--tv-ink);
  line-break: strict;
}
.tv-pick__title:hover { color: var(--tv-ok-deep); }
.tv-pick__why { margin: 0; font-size: 15px; color: var(--tv-ink-soft); }

/* 来电卡片叠 */
.tv-deck { list-style: none; margin: 0; padding: 4px 0 0; }
.tv-deck__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "kind tag" "what tag";
  column-gap: 12px;
  align-items: center;
  background: var(--tv-card);
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-r-big);
  padding: 10px 18px 10px 22px;
  box-shadow: 0 6px 16px rgba(36, 40, 43, .08);
}
.tv-deck__card + .tv-deck__card { margin-top: -6px; }
.tv-deck__card--n0 { z-index: 4; margin-right: 26px; }
.tv-deck__card--n1 { z-index: 3; margin-left: 30px; transform: rotate(-1.2deg); }
.tv-deck__card--n2 { z-index: 2; margin-left: 10px; margin-right: 18px; transform: rotate(.8deg); }
.tv-deck__card--n3 { z-index: 1; margin-left: 44px; transform: rotate(-.6deg); }
.tv-deck__card--ok { background: var(--tv-ok); border-color: var(--tv-ok); color: #fff; }
.tv-deck__card--warn { border-left: 5px solid var(--tv-warn); }
.tv-deck__kind { grid-area: kind; font-size: 13px; font-weight: 700; color: var(--tv-ink-soft); line-height: 1.5; }
.tv-deck__card--ok .tv-deck__kind { color: #e3f3ee; }
.tv-deck__what { grid-area: what; font-size: 16px; line-height: 1.5; }
.tv-deck__tag {
  grid-area: tag;
  align-self: start;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  padding: 7px 11px;
  border-radius: var(--tv-r-big);
  background: var(--tv-warn);
  color: var(--tv-ink);
  white-space: nowrap;
}
.tv-deck__tag--ok { background: #fff; color: var(--tv-ok-deep); }

/* 推荐码卡：与来电卡片分开 */
.tv-code {
  margin-top: 22px;
  background: var(--tv-ink);
  color: #f2f4f5;
  border-radius: var(--tv-r);
  padding: 16px 18px 16px;
}
.tv-code__label { margin: 0 0 6px; font-size: 13px; color: #c9d0d3; font-weight: 700; }
.tv-code__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tv-code__val {
  font-family: var(--tv-latin);
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: .06em;
  font-weight: 700;
  color: #fff;
  user-select: all;
}
.tv-code__copy {
  font: inherit;
  font-size: 15px;
  min-height: 44px;
  min-width: 76px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--tv-r-big);
  background: var(--tv-ok);
  color: #fff;
  cursor: pointer;
}
.tv-code__copy:hover { background: var(--tv-ok-deep); }
.tv-code__copy--done { background: #fff; color: var(--tv-ok-deep); }
.tv-code__copy:focus-visible { outline-color: #fff; }
.tv-code__note { margin: 10px 0 0; font-size: 14px; line-height: 1.7; color: #dde2e4; line-break: strict; }
.tv-code__go {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 14px 0 0;
  padding: 8px 18px;
  border-radius: var(--tv-r-big);
  background: var(--tv-paper);
  color: var(--tv-ink);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.tv-code__go:hover { background: #fff; color: var(--tv-ink); }
.tv-code__go:focus-visible { outline-color: #fff; }
.tv-code__disc { margin: 10px 0 0; font-size: 13px; line-height: 1.7; color: #c9d0d3; }
.tv-code__disc a { color: #fff; }
.tv-code--article { margin: 26px 0; }

/* 首页下方区块 */
.tv-homeblocks {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px var(--tv-gutter) 56px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
}
.tv-homeblocks > * { min-width: 0; }
.tv-homeblocks h2,
.tv-homelist { grid-column: 1 / -1; }
.tv-homeblocks h2 {
  font-size: 23px;
  line-height: 1.45;
  margin: 34px 0 10px;
  padding-top: 22px;
  border-top: 1px solid var(--tv-line);
}
.tv-homeblocks p,
.tv-homeblocks ul { grid-column: 1 / -1; max-width: 46em; }
.tv-homeblocks ul { padding-left: 0; list-style: none; }
.tv-homeblocks ul li { position: relative; padding-left: 22px; margin: 8px 0; }
.tv-homeblocks ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: .72em;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 2px solid var(--tv-ok);
}
.tv-homelist .tv-cards { max-width: none; }
.tv-homelist .tv-cards li::before { display: none; }
.tv-homelist .tv-cards li { padding-left: 20px; }
.tv-homelist__more { margin-top: 6px; }

.tv-cards { list-style: none; margin: 0; padding: 0; }
.tv-cards__item {
  background: var(--tv-card);
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-r);
  padding: 16px 20px;
  margin: 12px 0;
}
.tv-cards__a { font-size: 19px; font-weight: 700; line-height: 1.5; color: var(--tv-ink); line-break: strict; }
.tv-cards__a:hover { color: var(--tv-ok-deep); }
.tv-cards__desc { margin: 6px 0 4px; color: var(--tv-ink-soft); font-size: 15px; }
.tv-cards__meta { margin: 0; font-size: 13px; color: var(--tv-ink-soft); }

/* 通用容器 */
.tv-wrap { max-width: 1120px; margin: 0 auto; padding: 8px var(--tv-gutter) 56px; }
.tv-wrap--art, .tv-wrap--page { max-width: 780px; }
.tv-wrap--list { max-width: 820px; }

/* 面包屑：分隔符跟在前一项后面，不会落到行首 */
.tv-crumbs { margin: 6px 0 4px; font-size: 14px; color: var(--tv-ink-soft); }
.tv-crumbs__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.tv-crumbs__item { display: inline-flex; align-items: center; white-space: nowrap; }
.tv-crumbs__item--here { white-space: normal; min-height: 44px; display: inline-flex; align-items: center; line-height: 1.5; }
.tv-crumbs__a, .tv-crumbs__plain { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
.tv-crumbs__a { color: var(--tv-ink-soft); }
.tv-crumbs__sep { margin: 0 8px; color: #8a9499; }

/* 列表页 */
.tv-listhead__h1, .tv-page__h1, .tv-art__h1 {
  font-size: 39px;
  line-height: 1.32;
  margin: 6px 0 12px;
  line-break: strict;
  text-wrap: balance;
}
.tv-listhead__pg { font-size: 18px; margin-left: 12px; color: var(--tv-ink-soft); font-weight: 400; }
.tv-listhead__intro p { margin: 0 0 10px; max-width: 38em; }
.tv-listhead__count { font-size: 14px; color: var(--tv-ink-soft); margin: 0; }
.tv-listhead__kicker { margin: 0; font-size: 13px; font-weight: 700; color: var(--tv-ok-deep); }
.tv-pagenav { display: flex; gap: 16px; align-items: center; margin-top: 18px; }
.tv-pagenav__a { display: inline-flex; align-items: center; min-height: 44px; }
.tv-termlist { padding-left: 1.2em; }

/* 文章 */
.tv-art__by { margin: 0 0 18px; font-size: 14px; color: var(--tv-ink-soft); }
.tv-art__gap { display: inline-block; width: 14px; }
.tv-cover { margin: 0 0 22px; }
.tv-cover img { border-radius: var(--tv-r); border: 1px solid var(--tv-line); width: 100%; }
.tv-cover__cap { font-size: 14px; color: var(--tv-ink-soft); margin-top: 8px; }

.tv-toc {
  background: var(--tv-card);
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-r);
  padding: 14px 18px 12px;
  margin: 0 0 28px;
}
.tv-toc__h { margin: 0 0 4px; font-weight: 700; font-size: 15px; }
.tv-toc__list { list-style: none; margin: 0; padding: 0; counter-reset: tvtoc; }
.tv-toc__item { counter-increment: tvtoc; }
.tv-toc__a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 44px;
  padding: 9px 0;
  color: var(--tv-ink);
  text-decoration: none;
  border-top: 1px dashed var(--tv-line);
  font-size: 15px;
  line-height: 1.6;
}
.tv-toc__item:first-child .tv-toc__a { border-top: 0; }
.tv-toc__a:hover .tv-toc__t { text-decoration: underline; }
.tv-toc__a .tv-dot { flex: none; transform: translateY(-1px); }
.tv-toc__legend { margin: 6px 0 0; font-size: 13px; color: var(--tv-ink-soft); }
.tv-toc__legend .tv-dot { margin-right: 4px; }

.tv-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  vertical-align: middle;
}
.tv-dot--ok { background: var(--tv-ok); }
.tv-dot--check { background: var(--tv-warn); }

.tv-prose { font-size: 17px; line-height: 1.85; }
.tv-prose > p, .tv-prose > ul, .tv-prose > ol { max-width: 38em; }
.tv-prose p { margin: 0 0 1.05em; }
.tv-prose h2 {
  font-size: 24px;
  line-height: 1.45;
  margin: 2.1em 0 .7em;
  padding-top: 20px;
  border-top: 1px solid var(--tv-line);
  line-break: strict;
}
.tv-prose h2 .tv-dot { margin: -3px 10px 0 0; }
.tv-prose h3 { font-size: 19px; margin: 1.6em 0 .5em; }
.tv-prose ol, .tv-prose ul { padding-left: 1.5em; margin: 0 0 1.05em; }
.tv-prose li { margin: .45em 0; }
.tv-prose li::marker { color: var(--tv-ok-deep); font-family: var(--tv-latin); font-weight: 700; }
.tv-prose strong { font-weight: 700; }

.tv-tablewrap {
  overflow-x: auto;
  margin: 8px 0 22px;
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-r);
  background: var(--tv-card);
}
.tv-table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 15px; line-height: 1.65; }
.tv-table th, .tv-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--tv-line); }
.tv-table thead th { background: var(--tv-paper-2); font-size: 14px; }
.tv-table tbody th { font-weight: 700; width: 24%; }
.tv-table tbody tr:last-child th, .tv-table tbody tr:last-child td { border-bottom: 0; }

.tv-shot { margin: 18px 0 26px; }
.tv-shot__frame {
  background: var(--tv-paper-2);
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-r);
  padding: 12px;
}
.tv-shot__frame img { margin: 0 auto; border-radius: 8px; }
.tv-shot--tall .tv-shot__frame img { max-width: 360px; width: 100%; }
.tv-shot--phone .tv-shot__frame { padding: 18px; }
.tv-shot--phone .tv-shot__frame img { max-width: 260px; width: 100%; border-radius: var(--tv-r-big); border: 6px solid var(--tv-ink); }
.tv-shot__cap { font-size: 14px; line-height: 1.7; color: var(--tv-ink-soft); margin-top: 8px; max-width: 46em; }

.tv-faq { margin-top: 40px; }
.tv-faq__h { font-size: 24px; margin: 0 0 12px; padding-top: 20px; border-top: 1px solid var(--tv-line); }
.tv-faq__item {
  background: var(--tv-card);
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-r);
  padding: 14px 18px;
  margin: 12px 0;
}
.tv-faq__q { font-size: 17px; line-height: 1.6; margin: 0 0 6px; }
.tv-faq__a { margin: 0; font-size: 16px; }

.tv-after { margin-top: 36px; padding: 18px 20px; border-radius: var(--tv-r); background: var(--tv-paper-2); }
.tv-after__h { margin: 0 0 6px; font-weight: 700; font-size: 15px; }
.tv-tagrow { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tv-tagrow__t, .tv-tagrow__a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--tv-r-big);
  border: 1px solid var(--tv-line);
  background: var(--tv-card);
  font-size: 14px;
}
.tv-after__go { margin: 0; padding: 0; list-style: none; }
.tv-after__go a { display: inline-flex; align-items: center; min-height: 44px; }

/* 站务页 */
.tv-page__date { margin: 0 0 18px; font-size: 14px; color: var(--tv-ink-soft); }
.tv-station .tv-prose h2 { font-size: 21px; }

/* 搜索 */
.tv-seek { margin: 10px 0 8px; }
.tv-seek__label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.tv-seek__row { display: flex; gap: 8px; }
.tv-seek__in {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  font: inherit;
  padding: 0 14px;
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-r);
  background: #fff;
  color: var(--tv-ink);
}
.tv-seek__btn {
  font: inherit;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--tv-r);
  background: var(--tv-ok);
  color: #fff;
  cursor: pointer;
}
.tv-seek__state { font-size: 14px; color: var(--tv-ink-soft); }
.tv-seek__out { padding-left: 1.4em; }
.tv-seek__hit { margin: 12px 0; }
.tv-seek__hit a { font-weight: 700; font-size: 17px; }
.tv-seek__clip { margin: 2px 0 0; font-size: 14px; color: var(--tv-ink-soft); }

.tv-lost__go a { display: inline-flex; align-items: center; min-height: 44px; }
.tv-lost__note { font-size: 15px; color: var(--tv-ink-soft); }

/* 页脚 */
.tv-foot { border-top: 1px solid var(--tv-line); background: var(--tv-paper-2); }
.tv-foot__in { max-width: 1120px; margin: 0 auto; padding: 28px var(--tv-gutter) 32px; }
.tv-foot__home { display: inline-flex; min-height: 44px; align-items: center; }
.tv-foot__line { margin: 8px 0 0; font-size: 14px; color: var(--tv-ink-soft); max-width: 46em; line-height: 2; }
.tv-foot__line a { padding: 13px 0; }
.tv-foot__list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: 6px; }
.tv-foot__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--tv-ink);
  font-size: 14px;
}
.tv-foot__list li:first-child a { padding-left: 0; }
.tv-foot__rss { margin: 6px 0 0; font-size: 14px; }
.tv-foot__rss a { display: inline-flex; align-items: center; min-height: 44px; }
.tv-foot__copy { margin: 4px 0 0; font-size: 13px; color: var(--tv-ink-soft); font-family: var(--tv-latin); }

@media (max-width: 860px) {
  .tv-front { display: flex; flex-direction: column; gap: 0; padding-top: 16px; }
  .tv-front__lead, .tv-front__side { display: contents; }
  .tv-front__h1 { order: 1; }
  .tv-front__side .tv-code { order: 2; margin: 2px 0 14px; }
  .tv-pick { order: 3; }
  .tv-front__lede { order: 4; margin: 20px 0 14px; }
  .tv-deck { order: 5; }
  .tv-homeblocks { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .tv-mast__in { flex-direction: column; align-items: stretch; gap: 0; padding-top: 6px; padding-bottom: 0; }
  .tv-nav__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
  .tv-nav__a { justify-content: center; padding: 0 4px; font-size: 14px; border-radius: 0; }
  .tv-front__h1, .tv-listhead__h1, .tv-page__h1, .tv-art__h1 { font-size: 27px; line-height: 1.38; }
  .tv-front__lede { font-size: 15px; margin-bottom: 14px; }
  .tv-pick__title { font-size: 18px; }
  .tv-pick { padding: 14px 14px 12px 18px; }
  .tv-prose { font-size: 16px; }
  .tv-prose h2, .tv-faq__h { font-size: 21px; }
  .tv-code__val { font-size: 26px; }
  .tv-deck__card--n0 { margin-right: 10px; }
  .tv-deck__card--n1 { margin-left: 14px; }
  .tv-deck__card--n2 { margin-left: 4px; margin-right: 8px; }
  .tv-deck__card--n3 { margin-left: 20px; }
  .tv-deck__what { font-size: 15px; }
  .tv-shot__frame { padding: 8px; }
  .tv-table tbody th { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* 2026-10 复查：标题平衡换行、触摸目标、面包屑分隔符 */
h1, h2, h3 { text-wrap: balance; }
.tv-code__note, .tv-code__disc, .tv-shot__cap { text-wrap: pretty; }
.tv-deck__card--ok .tv-deck__kind { color: #fff; font-size: 14px; }
.tv-art__by a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 4px; }
.tv-foot__line a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
.tv-code__disc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
.tv-crumbs__sep { display: none; }
.tv-crumbs__item + .tv-crumbs__item::before { content: "/"; flex: none; margin: 0 8px; color: #8a9499; }
.tv-crumbs__item { min-height: 44px; }
.tv-foot__list a, .tv-crumbs__a { min-width: 44px; justify-content: center; }
.tv-nav__a { min-width: 44px; }
