:root {
  color-scheme: light;
  --bg: #f3f3f3;
  --panel: #ffffff;
  --text: #17212b;
  --muted: #6d7782;
  --line: #ececec;
  --red: #ff4c43;
  --red-dark: #a80f1d;
  --black: #101010;
  --green: #2edc8a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
code { padding: 2px 5px; border-radius: 4px; background: #f5f5f5; color: #c93530; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  min-height: 84px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0;
}
.brand-name { font-size: 18px; font-style: italic; font-weight: 900; letter-spacing: 0; }
.brand-slogan {
  display: inline-block;
  margin-left: 18px;
  padding-left: 14px;
  border-left: 1px solid #ddd;
  color: #a0a5aa;
  font-size: 13px;
  line-height: 1.25;
}
.top-nav { display: flex; align-items: center; gap: 30px; color: #08131f; font-size: 16px; }
.top-nav a:hover { color: var(--red); }
main { min-height: 72vh; padding: 20px 0 56px; }
.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 820px) 360px;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  align-items: start;
}
.feed-card, .article, .list-hero, .section {
  background: var(--panel);
  border-radius: 6px;
  overflow: hidden;
}
.feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 20px;
}
.feed-head h1 {
  position: relative;
  margin: 0;
  padding-left: 16px;
  font-size: 18px;
  line-height: 1.25;
}
.feed-head h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 2px;
  background: var(--red);
}
.feed-head a { color: #7d858d; font-size: 14px; }
.feed-intro {
  padding: 8px 20px 20px;
  border-top: 1px solid var(--line);
}
.feed-intro h2 {
  margin: 4px 0 8px;
  font-size: 20px;
  line-height: 1.35;
}
.feed-intro p {
  margin: 0;
  color: #4b5965;
  font-size: 14px;
  line-height: 1.85;
}
.rank-section {
  padding: 0 20px 22px;
}
.rank-section h2 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.35;
}
.rank-table {
  min-width: 0;
  font-size: 14px;
}
.rank-table thead th {
  border-bottom: 3px solid #333;
  background: #fff;
  color: #111;
}
.rank-table td:first-child,
.rank-table td:last-child {
  color: #ff2d2d;
}
.rank-table a {
  color: #ff2d2d;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.feed-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
  border-top: 1px solid var(--line);
}
.feed-thumb { display: block; width: 180px; }
.thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 180px;
  height: 124px;
  overflow: hidden;
  border-radius: 6px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.18), transparent 18%),
    linear-gradient(145deg, #25060a, #d7192f 50%, #070707);
}
.thumb::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    repeating-linear-gradient(28deg, rgba(255,255,255,.08) 0 2px, transparent 2px 18px),
    radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(0,0,0,.55) 35% 36%, transparent 37%);
  transform: rotate(-8deg);
}
.thumb span {
  position: relative;
  z-index: 1;
  max-width: 150px;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  overflow-wrap: anywhere;
  text-shadow: 0 3px 10px rgba(0,0,0,.55);
}
.thumb-green { background: linear-gradient(145deg, #061511, #13483d 48%, #050908); }
.thumb-green span { color: var(--green); text-shadow: 0 0 14px rgba(46,220,138,.65); }
.thumb-dark { background: linear-gradient(145deg, #111, #30343a 52%, #060606); }
.feed-copy { min-width: 0; padding-top: 2px; }
.feed-copy h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
}
.feed-copy h2 a { overflow-wrap: anywhere; }
.feed-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #4b5965;
  font-size: 14px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.pin {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.rank-num {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.feed-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; color: #929aa2; font-size: 13px; }
.feed-meta a { color: #d33831; font-weight: 700; }
.sidebar { display: grid; gap: 20px; }
.promo-card {
  display: block;
  min-height: 140px;
  padding: 0 20px 18px;
  border-radius: 6px;
  background: #fff;
}
.promo-card span {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 16px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
}
.promo-card strong { display: block; color: var(--red); font-size: 18px; font-weight: 500; }
.promo-card p { margin: 12px 0 0; color: #7c858f; font-size: 14px; line-height: 1.8; }
.side-banner {
  display: grid;
  place-items: center;
  min-height: 180px;
  overflow: hidden;
  border-radius: 6px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,.18), transparent 16%),
    linear-gradient(145deg, #080808, #b80f22 48%, #050505);
  color: #fff;
}
.side-banner span {
  max-width: 280px;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  text-shadow: 0 4px 16px rgba(0,0,0,.55);
}
.banner-cheap { min-height: 200px; background: linear-gradient(145deg, #0c0607, #d32032 55%, #090909); }
.banner-free { min-height: 168px; background: #050505; }
.banner-free span { color: #fff; }
.banner-free span::after {
  content: "24小时 不间断";
  display: block;
  margin-top: 18px;
  color: #fff;
  font-size: 18px;
}
.article {
  width: min(900px, calc(100% - 64px));
  margin: 10px auto 0;
  padding: 34px 34px 44px;
}
.list-hero, .section {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 34px;
}
.article-hero {
  padding-bottom: 8px;
}
.article-hero h1, .list-hero h1 {
  margin: 8px 0 16px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  overflow-wrap: anywhere;
}
.lead, .list-hero p {
  max-width: 790px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}
.article-hero .lead {
  margin-bottom: 0;
  text-indent: 0;
}
.eyebrow { margin: 0; color: var(--red); font-weight: 800; letter-spacing: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-weight: 700;
}
.button.primary { border-color: var(--red); background: var(--red); color: #fff; }
.button.secondary { background: #fff; }
.article section { margin-top: 34px; }
.article h2 {
  margin: 0 0 14px;
  color: #061728;
  font-size: 26px;
  line-height: 1.35;
}
.article p {
  margin: 0 0 18px;
  color: #203044;
  font-size: 16px;
  line-height: 2;
  text-align: left;
}
.article section > p {
  text-indent: 2em;
}
.article p:last-child { margin-bottom: 0; }
.article .post-card p,
.article .notice p {
  text-indent: 0;
}
.article-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.article-list li {
  position: relative;
  padding-left: 18px;
  color: #203044;
  line-height: 1.9;
}
.article-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--red);
}
.quick-card, .metric-panel, .post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 8px;
}
.quick-card div, .metric-panel div, .post-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.quick-card span, .metric-panel span { display: block; color: var(--muted); font-size: 13px; }
.quick-card strong, .metric-panel strong { display: block; margin-top: 6px; overflow-wrap: anywhere; }
.notice {
  margin: 34px 0 8px;
  padding: 18px 20px;
  border-left: 4px solid var(--red);
  border-radius: 4px;
  background: #fff7f6;
  overflow-wrap: anywhere;
  line-height: 1.9;
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
table { width: 100%; min-width: 860px; border-collapse: collapse; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #fafafa; font-size: 14px; }
.site-footer {
  padding: 28px 16px 36px;
  border-top: 1px solid #e6e6e6;
  background: #fff;
  color: #838b94;
  text-align: center;
}
.site-footer p { max-width: 980px; margin: 6px auto; font-size: 14px; }
.site-footer a, .article a, td a { color: #d33831; font-weight: 700; }
@media (max-width: 980px) {
  .site-header { position: static; flex-direction: column; align-items: flex-start; padding: 16px 0; }
  .top-nav { gap: 16px; font-size: 15px; }
  .page-shell { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  main { padding-top: 12px; }
  .brand-slogan { display: none; }
  .feed-row { grid-template-columns: 1fr; }
  .feed-thumb, .thumb { width: 100%; }
  .thumb { height: 160px; }
  .quick-card, .metric-panel, .post-grid { grid-template-columns: 1fr; }
  .article { width: calc(100% - 24px); padding: 24px 18px 32px; }
  .section, .list-hero { width: calc(100% - 24px); padding: 22px 18px; }
  .article-hero h1, .list-hero h1 { font-size: 30px; }
  .article h2 { font-size: 23px; }
}
