/* 热榜 */
.hot-body {
  margin: 0;
  background: #f3f6fa;
  color: #1f2937;
  font-family: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
}
.hot-body *, .hot-body *::before, .hot-body *::after { box-sizing: border-box; }
.hot-body a { color: inherit; text-decoration: none; }
.hot-body a:hover { text-decoration: none; }
.hot-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hot-footer { display: flex; justify-content: space-between; gap: 16px; padding: 0 4px 28px; color: #94a3b8; font-size: 12px; }
.hot-footer a { text-decoration: none; }
.hot-footer a:hover { color: #0f766e; }
.hot-page {
  --hot-ink: #1f2937;
  --hot-sub: #8a94a6;
  --hot-line: #edf0f5;
  --hot-card: #ffffff;
  padding: 6px 0 40px;
}
.hot-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 22px;
  padding: 18px 26px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(120deg, #0ea5e9 0%, #14b8a6 100%);
  box-shadow: 0 18px 40px -32px rgba(13, 116, 144, 0.7);
}
.hot-hero::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -120px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.hot-hero-glow {
  position: absolute;
  right: 150px;
  bottom: -110px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.hot-hero-main,
.hot-hero-side {
  position: relative;
  z-index: 1;
}
.hot-kicker {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.78);
}
.hot-hero h1 {
  margin: 4px 0 5px;
  font-size: 26px;
  line-height: 1.2;
  color: #fff;
}
.hot-hero p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  max-width: 640px;
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}
.hot-hero-side {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.hot-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}
.hot-count b {
  font-size: 20px;
  color: #fff;
  margin-right: 2px;
}
.hot-all,
.hot-refresh {
  border: 1px solid var(--hot-line);
  background: #fff;
  color: #64748b;
  cursor: pointer;
  transition: 0.2s;
}
.hot-all {
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(4px);
}
.hot-all:hover {
  background: #fff;
  color: #0f766e;
  border-color: #fff;
}
.hot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.hot-card {
  display: flex;
  flex-direction: column;
  min-height: 372px;
  padding: 16px 16px 8px;
  background: var(--hot-card);
  border: 1px solid var(--hot-line);
  border-radius: 14px;
  box-shadow: 0 10px 26px -24px rgba(15, 23, 42, 0.5);
}
.hot-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
}
.hot-ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--c1, #4f8cff), var(--c2, #7c5cff));
  box-shadow: 0 8px 16px -10px var(--c1, #4f8cff);
}
.hot-ico img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.hot-ico-lg img {
  width: 24px;
  height: 24px;
}
.hot-head h3 {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--hot-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hot-head h3 a {
  color: inherit;
}
.hot-head h3 a:hover {
  color: var(--c1, #2563eb);
}
.hot-time {
  font-size: 11px;
  color: #b3bac7;
  flex: none;
}
.hot-meta {
  margin-left: auto;
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--c1, #4f8cff);
  background: color-mix(in srgb, var(--c1, #4f8cff) 10%, #fff);
}
.hot-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0 4px 0 0;
  flex: 1;
  max-height: 300px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #dfe4ec transparent;
}
.hot-list::-webkit-scrollbar {
  width: 5px;
}
.hot-list::-webkit-scrollbar-thumb {
  background: #dfe4ec;
  border-radius: 999px;
}
.hot-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 2px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #374151;
}
.hot-list li a:hover .tt {
  color: #2563eb;
}
.rk {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  flex: none;
  border-radius: 6px;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 700;
  background: #f1f5f9;
  color: #64748b;
}
.rk-1 {
  background: #ffe4e6;
  color: #e11d48;
}
.rk-2 {
  background: #ffedd5;
  color: #ea580c;
}
.rk-3 {
  background: #fef3c7;
  color: #d97706;
}
.tt {
  display: block;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  word-break: normal;
}
.hv {
  flex: none;
  margin-left: auto;
  padding-left: 8px;
  font-size: 11.5px;
  font-style: normal;
  color: #a1a9b8;
  white-space: nowrap;
}
.hot-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px solid #f5f7fa;
}
.hot-more {
  font-size: 12px;
  color: #98a2b3;
  transition: 0.2s;
}
.hot-more i {
  font-style: normal;
}
.hot-more:hover,
.hot-card.is-link:hover .hot-more {
  color: var(--c1, #2563eb);
}
.hot-card.is-link {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.hot-card.is-link:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--c1, #4f8cff) 28%, #edf0f5);
  box-shadow: 0 18px 34px -26px rgba(15, 23, 42, 0.55);
}
.hot-refresh {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
}
.hot-refresh:hover {
  color: #2563eb;
  border-color: #bfdbfe;
}
.hot-refresh.on {
  animation: hot-spin 0.9s linear infinite;
  color: #2563eb;
}
@keyframes hot-spin {
  to {
    transform: rotate(360deg);
  }
}
.hot-empty {
  padding: 26px 6px !important;
  text-align: center;
  color: #b3bac7;
  font-size: 12.5px;
}
.hot-skel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 2px;
}
.hot-skel span {
  flex: 1;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f4f6f9 25%, #eceff4 37%, #f4f6f9 63%);
  background-size: 400% 100%;
  animation: hot-shine 1.3s ease infinite;
}
.hot-skel em {
  width: 34px;
  height: 10px;
  border-radius: 5px;
  background: #f4f6f9;
}
@keyframes hot-shine {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
@media (max-width: 1180px) {
  .hot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1080px) {
  .hot-hero,
  .hot-detail-hero {
    width: 100%;
  }
}
@media (max-width: 720px) {
  .hot-shell { width: min(100% - 24px, 1180px); }
  .hot-footer { flex-direction: column; gap: 5px; }
  .hot-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
  }
  .hot-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hot-card {
    min-height: 0;
  }
  .hot-list {
    max-height: 268px;
  }
  .hot-detail-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
  }
  .hot-d-ops {
    flex-wrap: wrap;
  }
  .hot-d-list li a {
    gap: 10px;
  }
}

/* 单榜详情 */
.hot-detail {
  padding-top: 10px;
}
.hot-detail-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 18px 26px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(120deg, #0ea5e9 0%, #14b8a6 100%);
  box-shadow: 0 18px 40px -32px rgba(13, 116, 144, 0.7);
}
.hot-detail-hero::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -120px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.hot-detail-hero::after {
  content: "";
  position: absolute;
  right: 150px;
  bottom: -110px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.hot-d-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.hot-d-tx { min-width: 0; }
.hot-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  color: #fff;
  white-space: nowrap;
  transition: 0.2s;
}
.hot-back:hover {
  background: #fff;
  border-color: #fff;
  color: #0f766e;
}
.hot-ico-lg {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 17px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: none;
}
.hot-detail-main h1,
.hot-d-tx h1 {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
  color: #fff;
}
.hot-d-sub {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
}
.hot-d-ops {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.hot-d-src,
.hot-d-refresh {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12.5px;
  cursor: pointer;
  transition: 0.2s;
}
.hot-d-src {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}
.hot-d-src:hover {
  background: #fff;
  color: var(--c2, #2540b4);
  border-color: #fff;
}
.hot-d-refresh {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: #fff;
  color: var(--c2, #2540b4);
}
.hot-d-refresh:hover {
  box-shadow: 0 10px 18px -14px rgba(0, 0, 0, 0.7);
}
.hot-d-refresh.on {
  animation: hot-spin 0.9s linear infinite;
}
.hot-d-panel {
  margin-top: 18px;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid var(--hot-line);
  border-radius: 16px;
  box-shadow: 0 12px 30px -28px rgba(15, 23, 42, 0.4);
}
.hot-d-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hot-d-list li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 2px;
  border-bottom: 1px dashed #f1f4f9;
  font-size: 14.5px;
  line-height: 1.6;
  color: #374151;
}
.hot-d-list li:last-child a {
  border-bottom: 0;
}
.hot-d-list li a:hover .tt {
  color: var(--c1, #2563eb);
}
.hot-d-list .rk {
  width: 26px;
  height: 26px;
  margin-top: 0;
  border-radius: 8px;
  font-size: 12px;
}
.hot-d-list .hv {
  margin-top: 4px;
  color: #98a2b3;
}

/* 清爽浅色 */
.hot-body.hot-theme-light {
  color: #263248;
  background: var(--hot-bg, #f5f8fc);
}
.hot-theme-light .hot-hero,
.hot-theme-light .hot-detail-hero {
  padding: 18px 26px;
  border-radius: 18px;
  color: #263248;
  background: transparent;
  box-shadow: none;
}
.hot-theme-light .hot-hero::before,
.hot-theme-light .hot-hero-glow,
.hot-theme-light .hot-detail-hero::before,
.hot-theme-light .hot-detail-hero::after {
  display: none;
}
.hot-theme-light .hot-kicker { color: #3b82f6; font-weight: 700; }
.hot-theme-light .hot-hero h1 { color: #17233c; font-size: 30px; letter-spacing: .04em; }
.hot-theme-light .hot-hero p { color: #7c8aa3; }
.hot-theme-light .hot-count { color: #7c8aa3; }
.hot-theme-light .hot-count b { color: #2563eb; }
.hot-theme-light .hot-all {
  border-color: #3b82f6;
  color: #fff;
  background: #3b82f6;
  box-shadow: 0 7px 16px -10px rgba(37, 99, 235, .8);
}
.hot-theme-light .hot-all:hover { border-color: #2563eb; color: #fff; background: #2563eb; }
.hot-theme-light .hot-card {
  border-color: #e7edf5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px -20px rgba(30, 64, 175, .45);
}
.hot-theme-light .hot-card.is-link:hover {
  border-color: #d7e5f7;
  box-shadow: 0 14px 30px -22px rgba(30, 64, 175, .5);
}
.hot-theme-light .hot-ico {
  border-radius: 8px;
  color: #fff;
  background: var(--c1, #4f8cff);
  box-shadow: none;
}
.hot-theme-light .hot-head h3 { color: #263248; }
.hot-theme-light .hot-time { color: #a3afc0; }
.hot-theme-light .hot-meta { color: #6f8fb5; background: #eef5ff; }
.hot-theme-light .hot-list { scrollbar-color: #dfe7f1 transparent; }
.hot-theme-light .hot-list::-webkit-scrollbar-thumb { background: #dfe7f1; }
.hot-theme-light .hot-list li a { color: #46536a; }
.hot-theme-light .hot-list li a:hover .tt,
.hot-theme-light .hot-d-list li a:hover .tt { color: #2563eb; }
.hot-theme-light .rk { color: #9aa6b8; background: transparent; }
.hot-theme-light .rk-1 { color: #ef4444; background: #fff1f2; }
.hot-theme-light .rk-2 { color: #f97316; background: #fff7ed; }
.hot-theme-light .rk-3 { color: #f59e0b; background: #fffbeb; }
.hot-theme-light .hv { color: #9aa8ba; }
.hot-theme-light .hot-foot { border-top-color: #f0f3f8; }
.hot-theme-light .hot-more { color: #8b98aa; }
.hot-theme-light .hot-refresh { border-color: #e7edf5; color: #8b98aa; background: #fff; }
.hot-theme-light .hot-refresh:hover,
.hot-theme-light .hot-refresh.on { border-color: #bfdbfe; color: #2563eb; }
.hot-theme-light .hot-d-head { color: #fff; }
.hot-theme-light .hot-detail-main h1,
.hot-theme-light .hot-d-tx h1 { color: #17233c; }
.hot-theme-light .hot-d-sub { color: #7c8aa3; }
.hot-theme-light .hot-ico-lg { color: #fff; border-color: rgba(255, 255, 255, .34); background: var(--c1, #4f8cff); }
.hot-theme-light .hot-back,
.hot-theme-light .hot-d-src { color: #60728d; border-color: #dce6f2; background: #fff; }
.hot-theme-light .hot-back:hover,
.hot-theme-light .hot-d-src:hover { color: #2563eb; border-color: #bfdbfe; background: #fff; }
.hot-theme-light .hot-d-refresh { color: #2563eb; border-color: #3b82f6; background: #3b82f6; }
.hot-theme-light .hot-d-refresh:hover { box-shadow: 0 8px 18px -12px rgba(37, 99, 235, .8); }
.hot-theme-light .hot-d-panel { border-color: #e7edf5; background: #fff; }
.hot-theme-light .hot-d-list li a { color: #46536a; border-bottom-color: #eef2f7; }
.hot-theme-light .hot-d-list .hv { color: #9aa8ba; }
.hot-theme-light .hot-footer { color: #94a3b8; }
@media (max-width: 720px) {
  .hot-theme-light .hot-hero,
  .hot-theme-light .hot-detail-hero { padding: 18px 20px; }
}

/* 暗夜科技 */
.hot-body.hot-theme-dark {
  color: #d9e4f2;
  background: var(--hot-bg, #0b1120);
}
.hot-theme-dark .hot-card,
.hot-theme-dark .hot-d-panel {
  border-color: #233047;
  background: #111b2e;
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .85);
}
.hot-theme-dark .hot-head h3,
.hot-theme-dark .hot-list li a,
.hot-theme-dark .hot-d-list li a { color: #d9e4f2; }
.hot-theme-dark .hot-list li a:hover .tt,
.hot-theme-dark .hot-d-list li a:hover .tt { color: #7dd3fc; }
.hot-theme-dark .hot-time,
.hot-theme-dark .hot-more,
.hot-theme-dark .hv,
.hot-theme-dark .hot-d-list .hv { color: #8292aa; }
.hot-theme-dark .hot-foot,
.hot-theme-dark .hot-d-list li a { border-top-color: #243149; border-bottom-color: #243149; }
.hot-theme-dark .hot-meta { color: #7dd3fc; background: rgba(14, 165, 233, .14); }
.hot-theme-dark .hot-list { scrollbar-color: #334155 transparent; }
.hot-theme-dark .hot-list::-webkit-scrollbar-thumb { background: #334155; }
.hot-theme-dark .hot-back,
.hot-theme-dark .hot-d-src { color: #d9e4f2; border-color: rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .1); }
.hot-theme-dark .hot-back:hover,
.hot-theme-dark .hot-d-src:hover { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .18); }
.hot-theme-dark .hot-refresh { color: #cbd5e1; border-color: #334155; background: #17243a; }
.hot-body[data-background="gradient"] {
  background: linear-gradient(135deg, var(--hot-bg-from, #eaf2ff), var(--hot-bg-to, #f8fbff));
}
.hot-hero[data-background="solid"],
.hot-detail-hero[data-background="solid"] {
  background: var(--hero-bg, #edf4ff);
}
.hot-hero[data-background="gradient"],
.hot-detail-hero[data-background="gradient"] {
  background: linear-gradient(135deg, var(--hero-bg-from, #edf4ff), var(--hero-bg-to, #f8fbff));
}
