/* ==========================================================================
   差差差大全 · Site Kit /assets/site.css
   视觉基调：编辑部目录墙 · 粗野主义描边 · 印刷三色
   ========================================================================== */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #1A1A2E;
  background: #F5F5F5;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

/* ---------- 设计变量 ---------- */
:root {
  /* 分区底色 */
  --db-blue: #2B3A55;
  --dg-green: #1F4A3C;

  /* 强调与卡片色 */
  --yellow: #FFD166;
  --blue: #00A8FF;
  --orange: #FF8C42;
  --cyan: #06D6A0;
  --magenta: #EF476F;
  --violet: #9B5DE5;

  /* 状态色 */
  --ok: #00C853;
  --stop: #D32F2F;
  --change: #FF9800;

  /* 基础 */
  --ink: #1A1A2E;
  --paper: #F5F5F5;
  --white: #FFFFFF;

  /* 深色文字色（保证小字对比度） */
  --magenta-ink: #D0315F;
  --violet-ink: #7B2DBF;
  --cyan-ink: #008353;
  --blue-ink: #0077CC;
  --ok-ink: #007A33;
  --change-ink: #A84A00;
  --stop-ink: #B71C1C;

  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-num: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas, monospace;
}

/* ---------- 可访问性 ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid #EF476F;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 2000;
  padding: 10px 18px;
  background: #FFD166;
  color: #1A1A2E;
  border: 3px solid #1A1A2E;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 4px 4px 0 #1A1A2E;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   头部悬浮胶囊
   ========================================================================== */
.site-header {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 1000;
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 14px 10px 10px;
  background: rgba(43, 58, 85, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 3px solid #1A1A2E;
  border-radius: 999px;
  box-shadow: 6px 6px 0 #1A1A2E;
}

.header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #FFFFFF;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: #FFD166;
  color: #1A1A2E;
  border: 2px solid #1A1A2E;
  border-radius: 14px;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #FFFFFF;
}

.brand-tagline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  margin-left: 8px;
  background: #FFD166;
  color: #1A1A2E;
  border: 2px solid #1A1A2E;
  border-radius: 14px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45);
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header[data-open] .nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header[data-open] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header[data-open] .nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 1;
  min-width: 0;
}

.site-nav {
  display: block;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 2px solid transparent;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFD166;
}

.nav-link[aria-current="page"] {
  background: #FFD166;
  border-color: #1A1A2E;
  color: #1A1A2E;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.45);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 220px;
  flex-shrink: 0;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid #1A1A2E;
  border-radius: 999px;
}

.search-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border: 2px solid #FFD166;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -5px;
  bottom: -3px;
  background: #FFD166;
  border-radius: 2px;
  transform: rotate(45deg);
}

.search-input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: #FFFFFF;
  font-size: 13px;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.search-input::-webkit-search-decoration,
.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-results-button,
.search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}

#main-content {
  flex: 1 0 auto;
  padding-top: 100px;
}

/* ---------- 头部响应式 ---------- */
@media (max-width: 1099.98px) and (min-width: 900px) {
  .header-search {
    display: none;
  }
}

@media (max-width: 899.98px) {
  #main-content {
    padding-top: 88px;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 12px;
    border-radius: 22px;
  }

  .header-brand {
    justify-content: space-between;
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-main {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 12px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  .site-header[data-open] .header-main {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link {
    justify-content: space-between;
    width: 100%;
    border-radius: 10px;
  }

  .header-search {
    width: 100%;
  }
}

@media (max-width: 479.98px) {
  .brand-tagline {
    display: none;
  }
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  flex-shrink: 0;
  margin-top: 72px;
  background: #1F4A3C;
  color: rgba(255, 255, 255, 0.9);
  border-top: 3px solid #1A1A2E;
  box-shadow: 0 -5px 0 rgba(0, 0, 0, 0.08);
}

.footer-ribbon {
  display: flex;
  overflow-x: auto;
  background: #F5F5F5;
  border-bottom: 3px solid #1A1A2E;
}

.ribbon-seg {
  flex: 1 0 auto;
  padding: 10px 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #1A1A2E;
  background: #FFFFFF;
  border-right: 2px solid #1A1A2E;
  white-space: nowrap;
}

.ribbon-seg:last-child {
  border-right: 0;
}

.ribbon-y {
  box-shadow: inset 0 -6px 0 #FFD166;
}

.ribbon-c {
  box-shadow: inset 0 -6px 0 #06D6A0;
}

.ribbon-m {
  box-shadow: inset 0 -6px 0 #EF476F;
}

.ribbon-violet {
  box-shadow: inset 0 -6px 0 #9B5DE5;
}

.ribbon-blue {
  box-shadow: inset 0 -6px 0 #00A8FF;
}

.footer-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 24px 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 240px;
  gap: 32px;
  align-items: start;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #FFFFFF;
}

.footer-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #FFD166;
  color: #1A1A2E;
  border: 3px solid #1A1A2E;
  border-radius: 14px;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

.footer-brand-sub {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 240px;
}

.vert-note {
  display: inline-block;
  writing-mode: vertical-rl;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
  color: #1A1A2E;
}

.footer-vert-note {
  margin-top: 4px;
  color: #FFD166;
  opacity: 0.65;
}

.footer-nav-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-col a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}

.footer-nav-col a:hover {
  color: #FFD166;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-col-title {
  margin-bottom: 12px;
  padding-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFD166;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-contact-block {
  font-size: 13px;
  line-height: 1.7;
}

.footer-contact-block p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.85);
  word-break: break-all;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-copy {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.footer-icp {
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legend {
  display: flex;
  align-items: center;
  gap: 14px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #1A1A2E;
}

.status-dot.is-ok {
  background: #00C853;
}

.status-dot.is-change {
  background: #FF9800;
}

.status-dot.is-stop {
  background: #D32F2F;
}

/* ---------- 页脚响应式 ---------- */
@media (max-width: 1099.98px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand-block {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .footer-nav-group {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 599.98px) {
  .footer-nav-group {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-legend {
    justify-content: center;
  }
}

/* ==========================================================================
   页面骨架
   ========================================================================== */
.page-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-block {
  margin-bottom: 60px;
}

.section-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 3px solid #1A1A2E;
}

.section-eyebrow {
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #EF476F;
}

.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.2;
}

.section-note {
  margin-left: auto;
  font-size: 13px;
  opacity: 0.7;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.split-main {
  min-width: 0;
}

.split-aside {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 899.98px) {
  .split-layout {
    grid-template-columns: 1fr;
  }

  .split-aside {
    position: static;
  }
}

.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px 0 18px;
  font-size: 13px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb li + li::before {
  content: "/";
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas, monospace;
  font-weight: 700;
  color: #9B5DE5;
}

.breadcrumb a {
  color: #0077CC;
  font-weight: 700;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
  color: #D0315F;
}

.breadcrumb-current {
  font-weight: 800;
  color: #1A1A2E;
}

.theme-c {
  border-left: 6px solid #06D6A0;
  padding-left: 10px;
}

.theme-m {
  border-left: 6px solid #EF476F;
  padding-left: 10px;
}

.theme-y {
  border-left: 6px solid #FFD166;
  padding-left: 10px;
}

.marginal-note {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  background: #FFFFFF;
  border: 2px solid #1A1A2E;
  border-left: 6px solid #9B5DE5;
  border-radius: 0 10px 10px 0;
  font-size: 13px;
}

.count-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  background: #1A1A2E;
  color: #FFD166;
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
}

.pagination-dummy {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #FFFFFF;
  border: 3px solid #1A1A2E;
  border-radius: 999px;
  box-shadow: 4px 4px 0 #1A1A2E;
}

.page-num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  border: 2px solid #1A1A2E;
  border-radius: 999px;
  background: #F5F5F5;
}

.page-num-active {
  background: #FFD166;
  color: #1A1A2E;
  box-shadow: 2px 2px 0 #1A1A2E;
}

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 3px solid #1A1A2E;
  border-radius: 12px;
  background: #FFFFFF;
  color: #1A1A2E;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 4px 4px 0 #1A1A2E;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #1A1A2E;
}

.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 #1A1A2E;
}

.btn-primary {
  background: #FFD166;
}

.btn-blue {
  background: #00A8FF;
  color: #1A1A2E;
}

.btn-ghost {
  background: transparent;
  box-shadow: none;
}

/* ==========================================================================
   卡片与图位
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 3px solid #1A1A2E;
  border-radius: 14px;
  box-shadow: 5px 5px 0 #1A1A2E;
  overflow: hidden;
  text-decoration: none;
  color: #1A1A2E;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 #1A1A2E;
}

.card-media {
  aspect-ratio: 4 / 3;
  background: #F5F5F5;
  border-bottom: 3px solid #1A1A2E;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 14px 16px 16px;
}

.card-title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.card-desc {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.8;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

.card-ink {
  background: #1A1A2E;
  color: #FFFFFF;
}

.card-ink .card-desc {
  opacity: 0.7;
}

.card-blue {
  background: #2B3A55;
  color: #FFFFFF;
}

.card-green {
  background: #1F4A3C;
  color: #FFFFFF;
}

.media-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2B3A55;
  border: 3px solid #1A1A2E;
  border-radius: 12px;
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-4-3 {
  aspect-ratio: 4 / 3;
}

.media-1-1 {
  aspect-ratio: 1 / 1;
}

.media-16-9 {
  aspect-ratio: 16 / 9;
}

.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: linear-gradient(135deg, #2B3A55 0%, #1F4A3C 100%);
  color: #FFD166;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
}

/* ==========================================================================
   彩色磁贴
   ========================================================================== */
.tile-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 130px;
  padding: 20px 18px 16px;
  border: 3px solid #1A1A2E;
  border-radius: 14px;
  box-shadow: 5px 5px 0 #1A1A2E;
  text-decoration: none;
  color: #1A1A2E;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.tile:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 #1A1A2E;
}

.tile-count {
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas, monospace;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.tile-title {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.25;
}

.tile-note {
  align-self: flex-start;
  padding: 2px 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #1A1A2E;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.tile-lg {
  grid-row: span 2;
  min-height: 270px;
}

.tile-orange {
  background: #FF8C42;
}

.tile-cyan {
  background: #06D6A0;
}

.tile-magenta {
  background: #EF476F;
}

.tile-violet {
  background: #9B5DE5;
}

.tile-blue {
  background: #00A8FF;
}

.tile-yellow {
  background: #FFD166;
}

/* ==========================================================================
   条目列表
   ========================================================================== */
.entry-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.entry-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 8px;
  border-bottom: 2px solid #1A1A2E;
  text-decoration: none;
  color: #1A1A2E;
  transition: background-color 0.12s ease;
}

.entry-row:first-child {
  border-top: 2px solid #1A1A2E;
}

.entry-row:hover {
  background: #FFD166;
}

.entry-index {
  width: 44px;
  text-align: right;
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas, monospace;
  font-size: 24px;
  font-weight: 900;
  color: #EF476F;
}

.entry-title {
  min-width: 200px;
  font-size: 16px;
  font-weight: 800;
}

.entry-params {
  min-width: 120px;
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  opacity: 0.75;
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}

.entry-price {
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}

.rank-num {
  display: inline-block;
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas, monospace;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: #EF476F;
  transform: rotate(-3deg);
}

/* ==========================================================================
   标签与状态
   ========================================================================== */
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border: 2px solid #1A1A2E;
  border-radius: 999px;
  background: #F5F5F5;
  color: #1A1A2E;
  font-size: 13px;
  font-weight: 700;
}

.tag-yellow {
  background: #FFD166;
}

.tag-cyan {
  background: #06D6A0;
}

.tag-magenta {
  background: #FFFFFF;
  border-color: #EF476F;
  color: #D0315F;
}

.tag-violet {
  background: #FFFFFF;
  border-color: #9B5DE5;
  color: #7B2DBF;
}

.tag-blue {
  background: #00A8FF;
}

.tag-orange {
  background: #FF8C42;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: #FFFFFF;
  border: 2px solid #1A1A2E;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.status-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.status-ok {
  color: #007A33;
}

.status-change {
  color: #A84A00;
}

.status-stop {
  color: #B71C1C;
}

/* ==========================================================================
   指标条与索引条
   ========================================================================== */
.meter-bar {
  width: 100%;
  height: 14px;
  background: #F5F5F5;
  border: 2px solid #1A1A2E;
  border-radius: 999px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: #06D6A0;
}

.meter-fill-c {
  background: #06D6A0;
}

.meter-fill-m {
  background: #EF476F;
}

.meter-fill-y {
  background: #FFD166;
}

.meter-mark {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  color: #1A1A2E;
  opacity: 0.75;
}

.index-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
  background: #FFFFFF;
  border: 3px solid #1A1A2E;
  border-radius: 999px;
  box-shadow: 4px 4px 0 #1A1A2E;
}

.index-seg {
  padding: 4px 10px;
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  color: #1A1A2E;
  background: #F5F5F5;
  border: 2px solid #1A1A2E;
  border-radius: 999px;
}

/* ==========================================================================
   对照表
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  border-radius: 14px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border: 3px solid #1A1A2E;
  box-shadow: 5px 5px 0 #1A1A2E;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 10px 12px;
  border: 2px solid #1A1A2E;
  text-align: left;
  vertical-align: middle;
}

.compare-table thead th {
  background: #2B3A55;
  color: #FFFFFF;
  font-weight: 800;
}

.compare-table tbody th {
  background: #F5F5F5;
  font-weight: 700;
}

.compare-table tbody tr:nth-child(even) td {
  background: rgba(0, 168, 255, 0.06);
}

.cell-hl {
  background: #FFD166 !important;
  font-weight: 800;
  box-shadow: inset 0 0 0 2px #1A1A2E;
}

/* ==========================================================================
   横向滑轨
   ========================================================================== */
.scroll-rail {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #1A1A2E #F5F5F5;
}

.scroll-rail::-webkit-scrollbar {
  height: 6px;
}

.scroll-rail::-webkit-scrollbar-thumb {
  background: #1A1A2E;
  border-radius: 3px;
}

.scroll-rail-inner {
  display: flex;
  gap: 12px;
  width: max-content;
  min-width: 100%;
  padding: 2px 2px 8px;
}

.rail-item {
  flex: 0 0 auto;
}

/* ==========================================================================
   筛选与价位
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #FFFFFF;
  border: 2px solid #1A1A2E;
  border-radius: 999px;
  box-shadow: 2px 2px 0 #1A1A2E;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.filter-btn:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #1A1A2E;
}

.filter-btn[aria-pressed="true"] {
  background: #1A1A2E;
  border-color: #1A1A2E;
  color: #FFD166;
  box-shadow: 1px 1px 0 #1A1A2E;
}

.filter-btn[data-filter-trigger="all"][aria-pressed="true"] {
  background: #FFD166;
  color: #1A1A2E;
}

.price-ladder {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.price-step {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: #FFFFFF;
  border: 2px solid #1A1A2E;
  border-radius: 999px;
  box-shadow: 2px 2px 0 #1A1A2E;
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  color: #1A1A2E;
}

.price-step-active {
  background: #1A1A2E;
  color: #FFD166;
}

/* ---------- 筛选条目过渡 ---------- */
[data-filter-item] {
  transition: opacity 0.2s ease;
}
