    [hidden] { display: none !important; }
    .announce-button, .announce-update-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #d7e4f5; border-radius: 10px; background: #fff; color: #426b9b; font-weight: 700; text-decoration: none; }
    .intro { align-items: center; }
    .probe-clock { min-width: 246px; padding: 13px 17px; border: 1px solid #d8e7fb; border-radius: 16px; background: linear-gradient(140deg,rgba(255,255,255,.93),rgba(236,245,255,.88)); box-shadow: 0 12px 28px rgba(48,101,180,.07); }
    .probe-clock-label { display: flex; align-items: center; gap: 7px; color: #6282a9; font-size: 11px; font-weight: 700; letter-spacing: .03em; }
    .probe-clock-label svg { color: #3977e8; }
    .probe-clock-main { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 3px; }
    .probe-clock strong { color: #20477c; font-size: 25px; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
    .probe-clock .next-slot { color: #8297b1; font-size: 11px; white-space: nowrap; }
    .probe-clock.is-due strong { color: #b7852d; font-size: 18px; }
    .announce-section { margin-top: 24px; }
    .announce-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 0 2px 12px; }
    .announce-heading h2 { margin: 4px 0 0; font-size: 19px; letter-spacing: -.03em; }
    .announce-heading p { margin: 3px 0 0; color: #8599b1; font-size: 12px; }
    .announce-button { display: none; min-height: 36px; padding: 8px 13px; font-size: 12px; }
    .announce-button:hover, .announce-update-button:hover { border-color: #96baf1; background: #f7fbff; }
    .announcement-card { position: relative; overflow: hidden; border: 1px solid #f2d7d9; border-radius: 19px; background: linear-gradient(112deg,#fff7f7 0%,#fff 64%); box-shadow: var(--shadow); }
    .announcement-card::before { content: ""; position: absolute; width: 160px; height: 160px; right: -44px; top: -68px; border-radius: 50%; background: rgba(237,110,118,.055); }
    .announcement-card.maintenance { border-color: #f3e4c6; background: linear-gradient(112deg,#fffaf0 0%,#fff 64%); }
    .announcement-card.notice, .announcement-card.resolved { border-color: #dce9f7; background: linear-gradient(112deg,#f5f9ff 0%,#fff 64%); }
    .announcement-card.empty { color: #7290ae; border-color: #dcebe3; background: #f8fcfa; }
    .announcement-inner { position: relative; padding: 20px 23px 19px; }
    .announcement-top { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
    .announcement-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 7px; color: #ca555f; background: #ffe9eb; font-size: 11px; font-weight: 750; }
    .announcement-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
    .maintenance .announcement-badge { color: #b78833; background: #fff1d5; }
    .notice .announcement-badge, .resolved .announcement-badge { color: #4a78b6; background: #e9f2ff; }
    .announcement-top time { color: #91a3b8; font-size: 11px; }
    .announcement-card h3 { margin: 10px 0 4px; color: #203a58; font-size: 18px; letter-spacing: -.02em; }
    .announcement-card p { margin: 0; color: #637e9b; font-size: 12px; line-height: 1.7; }
    .announcement-current-progress { margin-top: 9px; padding: 9px 11px; border: 1px solid rgba(220,231,244,.85); border-radius: 10px; background: rgba(255,255,255,.76); }
    .announcement-current-progress span { display: block; margin-bottom: 3px; color: #3977d8; font-size: 10px; font-weight: 750; }
    .affected { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 13px; }
    .affected span { padding: 4px 8px; border: 1px solid #f4dde0; border-radius: 7px; color: #a96369; background: rgba(255,255,255,.8); font-size: 10px; font-weight: 650; }
    .maintenance .affected span { color: #9d793c; border-color: #f3e4c5; }
    .notice .affected span, .resolved .affected span { color: #5c80ae; border-color: #dce9f7; }
    .announce-action { display: inline-flex; align-items: center; gap: 6px; margin-top: 13px; color: #3977d8; font-size: 11px; font-weight: 700; text-decoration: none; }
    .announce-action:hover { text-decoration: underline; }
    .timeline-panel { margin-top: 24px; }
    .timeline-panel .panel-head { align-items: center; }
    .timeline-count { padding: 5px 9px; border-radius: 8px; color: #6483aa; background: #edf5ff; font-size: 11px; white-space: nowrap; }
    .announcement-timeline { padding: 0 25px 23px; }
    .timeline-item { display: grid; grid-template-columns: 108px 20px minmax(0,1fr); column-gap: 15px; position: relative; }
    .timeline-date { padding-top: 19px; color: #90a1b6; font-size: 11px; white-space: nowrap; text-align: right; }
    .timeline-track { display: flex; align-items: center; flex-direction: column; padding-top: 22px; }
    .timeline-track::after { content: ""; flex: 1; width: 1px; min-height: 24px; margin-top: 7px; background: #dce8f5; }
    .timeline-item:last-child .timeline-track::after { display: none; }
    .timeline-dot { width: 11px; height: 11px; flex: none; border-radius: 50%; background: #ed858b; box-shadow: 0 0 0 5px #fff0f1; }
    .timeline-item.maintenance .timeline-dot { background: #e2b55c; box-shadow: 0 0 0 5px #fff6e5; }
    .timeline-item.notice .timeline-dot, .timeline-item.resolved .timeline-dot { background: #5c9beb; box-shadow: 0 0 0 5px #edf5ff; }
    .timeline-entry { margin: 0 0 15px; padding: 16px 17px; border: 1px solid #e5edf7; border-radius: 14px; background: #fff; }
    .timeline-item:first-child .timeline-entry { border-color: #f0dce0; }
    .timeline-entry-top { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
    .timeline-entry-top .type { color: #d45862; background: #fff0f1; padding: 3px 7px; border-radius: 5px; font-size: 10px; font-weight: 750; }
    .maintenance .timeline-entry-top .type { color: #aa7e2c; background: #fff6e4; }
    .notice .timeline-entry-top .type, .resolved .timeline-entry-top .type { color: #4b7dbb; background: #edf5ff; }
    .timeline-entry-top .phase { color: #7b91a9; font-size: 11px; }
    .timeline-entry h3 { margin: 7px 0 3px; font-size: 14px; letter-spacing: -.01em; }
    .timeline-entry p { margin: 0; color: #71869f; font-size: 12px; line-height: 1.7; }
    .timeline-updates { display: grid; gap: 0; margin-top: 12px; border-top: 1px solid #edf1f6; }
    .timeline-update { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding-top: 10px; color: #71869f; font-size: 11px; }
    .timeline-update time { color: #a2b0c0; font-variant-numeric: tabular-nums; }
    .timeline-update strong { color: #486785; font-weight: 700; }
    .announce-update-button { display: inline-flex; margin-top: 12px; padding: 5px 9px; font-size: 11px; }
    .compose-overlay { position: fixed; z-index: 20; inset: 0; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(20,40,68,.42); backdrop-filter: blur(8px); }
    .compose-overlay.open { display: flex; }
    .compose-dialog { width: min(600px,100%); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid #e4ecf7; border-radius: 21px; padding: 23px; background: #fff; box-shadow: 0 28px 90px rgba(20,48,88,.26); }
    .compose-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
    .compose-head h2 { margin: 3px 0 1px; font-size: 21px; }
    .compose-head p { margin: 0; color: #8ea0b6; font-size: 11px; }
    .compose-close { width: 30px; height: 30px; border: 0; border-radius: 8px; background: #f0f5fb; color: #6481a1; font-size: 20px; line-height: 1; }
    .compose-form { display: grid; gap: 15px; margin-top: 20px; }
    .compose-field { display: grid; gap: 7px; color: #45627f; font-size: 11px; font-weight: 750; }
    .compose-field input, .compose-field textarea { width: 100%; border: 1px solid #dce7f4; border-radius: 10px; outline: none; padding: 10px 12px; background: #fbfdff; color: #213e60; font-size: 12px; font-weight: 400; }
    .compose-field textarea { resize: vertical; min-height: 95px; }
    .compose-field input:focus, .compose-field textarea:focus { border-color: #8eb7f2; box-shadow: 0 0 0 3px #e7f1ff; }
    .compose-options, .model-picks { display: flex; flex-wrap: wrap; gap: 6px; }
    .choice { border: 1px solid #dce7f5; border-radius: 8px; padding: 6px 10px; background: #fff; color: #7089a7; font-size: 11px; font-weight: 700; }
    .choice[aria-pressed="true"] { border-color: #82aff0; color: #2e6ac0; background: #ecf4ff; }
    .model-picks .choice { font-size: 10px; }
    .compose-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 15px; border-top: 1px solid #edf1f7; }
    .compose-footer small { color: #9aacbe; font-size: 11px; }
    .compose-submit { border: 0; border-radius: 10px; padding: 10px 16px; color: white; background: #3977e8; font-size: 12px; font-weight: 750; }
    .compose-submit:hover { background: #2767d9; }
    .form-error { min-height: 15px; color: #d4515d; font-size: 11px; }
    .status-toast { position: fixed; z-index: 30; bottom: 22px; left: 50%; transform: translate(-50%,12px); opacity: 0; pointer-events: none; padding: 10px 15px; border: 1px solid #cbe9dc; border-radius: 10px; color: #16835b; background: #f2fcf7; box-shadow: 0 12px 36px rgba(30,75,105,.14); font-size: 12px; transition: .2s; }
    .status-toast.show { transform: translate(-50%,0); opacity: 1; }
    @media (max-width: 620px) {
      .site-header { height: auto; min-height: 70px; gap: 9px; }
      .header-right { gap: 5px; }
      .header-pill { display: none; }
      .probe-clock { width: 100%; margin-top: 19px; }
      section[aria-labelledby="overview-title"] .panel-head { display: block; }
      section[aria-labelledby="overview-title"] .mini-key { flex-wrap: wrap; margin-top: 12px; }
      .announcement-inner { padding: 17px; }
      .announce-heading h2 { font-size: 17px; }
      .announcement-timeline { padding: 0 14px 16px; }
      .timeline-item { grid-template-columns: 14px minmax(0,1fr); gap: 10px; }
      .timeline-date { grid-column: 2; grid-row: 1; padding: 8px 0 4px; text-align: left; }
      .timeline-track { grid-column: 1; grid-row: 1 / 3; padding-top: 18px; }
      .timeline-entry { grid-column: 2; grid-row: 2; padding: 13px; }
      .timeline-update { grid-template-columns: 53px 1fr; gap: 5px; }
      .compose-dialog { padding: 18px; }
      .compose-footer { align-items: stretch; flex-direction: column; }
    }

    body { background: #fff; }
    .wrap { width: calc(100% - 48px); max-width: none; }
    .panel { background: #fff; box-shadow: 0 10px 35px rgba(24,47,76,.045); }
    .site-header { border-bottom-color: #e8edf3; }
    .admin-entry { display: none; align-items: center; justify-content: center; min-height: 34px; padding: 6px 12px; border: 1px solid #dce5f0; border-radius: 9px; background: #fff; color: #557398; font-size: 11px; font-weight: 700; }
    .admin-entry:hover { border-color: #a8c4ed; color: #2d69b4; }
    .probe-clock { box-shadow: none; background: #f9fbfe; }
    .history-guide { margin: 0 25px 14px; padding: 10px 12px; border: 1px solid #e7eef7; border-radius: 10px; color: #718ba6; background: #f9fbfe; font-size: 11px; }
    .history-guide strong { color: #3d6da6; }
    .key-box.baseline { background: #b7e9cf; }
    .overview-chart { padding-top: 0; }
    .history-scroll { display: block; width: 100%; overflow: hidden; }
    .history-track { display: block; width: 100%; }
    .history-canvas { display: block; width: 100%; height: 26px; }
    .overview-chart .history-canvas { height: 35px; }
    .history-ticks { position: relative; height: 20px; width: 100%; color: #94a6ba; font-size: 10px; }
    .history-ticks span:first-child { transform: none; }
    .history-ticks span { position: absolute; top: 1px; white-space: nowrap; transform: translateX(-50%); }
    .history-ticks span:last-child { transform: translateX(-100%); }
    .model-columns, .model-row { grid-template-columns: minmax(178px, 235px) minmax(180px, 1fr) 90px 112px 90px 16px; }
    .model-columns { padding-bottom: 10px; }
    .model-row { min-height: 69px; }
    .timeline-cell-zone { min-width: 0; }
    .timeline-cell-zone .history-canvas { height: 23px; }
    .timeline-cell-zone .history-scroll { border-radius: 5px; }
    .history-tooltip { position: fixed; z-index: 50; display: none; pointer-events: none; padding: 7px 9px; border: 1px solid #dbe6f3; border-radius: 8px; color: #385675; background: rgba(255,255,255,.97); box-shadow: 0 8px 24px rgba(20,46,78,.12); font-size: 11px; white-space: nowrap; }
    .history-tooltip.show { display: block; }
    .dialog-history-scroll { margin-bottom: 12px; }
    .dialog-history-scroll .history-canvas { height: 30px; }
    .dialog .history-guide { margin: 0 0 11px; }
    .announcement-card.empty { text-align: left; padding: 0; }
    .announce-button { display: none; }
    .announce-button, .announce-update-button { display: none; }
    .announcement-admin .admin-entry, .announcement-admin .announce-button, .announcement-admin .announce-update-button { display: inline-flex; }
    .compose-overlay .compose-dialog { width: min(610px,100%); }
    .admin-message { position: fixed; z-index: 22; inset: 0; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(20,40,68,.42); backdrop-filter: blur(8px); }
    .admin-message.open { display: flex; }
    .admin-message-card { width: min(390px,100%); padding: 24px; border: 1px solid #e1eaf6; border-radius: 17px; background: #fff; box-shadow: 0 24px 70px rgba(20,48,88,.2); }
    .admin-message-card h2 { margin: 0 0 8px; font-size: 18px; }
    .admin-message-card p { margin: 0 0 18px; color: #71869f; font-size: 12px; }
    .admin-message-actions { display: flex; justify-content: flex-end; gap: 8px; }
    .admin-message-actions button, .admin-message-actions a { display: inline-flex; padding: 8px 12px; border: 1px solid #d8e5f4; border-radius: 9px; background: #fff; color: #426b9b; font-size: 11px; font-weight: 700; text-decoration: none; }
    .admin-message-actions a { border-color: #3977e8; color: #fff; background: #3977e8; }
    @media (max-width: 850px) {
      .model-row { grid-template-columns: minmax(150px, 210px) minmax(120px,1fr) 78px 100px 16px; }
      .model-row .state-label { display: none; }
    }
    @media (max-width: 620px) {
      .wrap { width: calc(100% - 28px); }
      .header-right { gap: 5px; }
      .admin-entry { padding: 6px 8px; font-size: 10px; }
      .history-guide { margin: 0 17px 12px; }
      .model-row { grid-template-columns: minmax(0,1fr) auto; }
      .model-row .timeline-cell-zone { grid-column: 1 / -1; grid-row: 3; }
      .model-row .state-label { display: inline-flex; }
      .overview-chart .history-canvas { height: 28px; }
    }

/* 嵌入平台时沿用平台顶栏，并让状态内容占满可用宽度。 */
html.embedded .site-header { display: none; }
html.embedded .wrap { width: calc(100% - 72px); max-width: none; }
html.embedded main { padding-top: 22px; }
@media (max-width: 680px) {
  html.embedded .wrap { width: calc(100% - 42px); }
}

/* ============================================================
   v17 · 内容收紧
   目标：首屏看核心状态，最多滑动 2 次看完全部内容。
   基准 1440×900 视口，总内容高度压到约 1250px。
   ============================================================ */
main { padding: 20px 0 28px; }
.intro { margin-bottom: 12px; gap: 16px; align-items: center; }
h1 { margin: 4px 0 3px; font-size: clamp(21px, 2.2vw, 28px); letter-spacing: -.035em; }
.subtle { font-size: 12.5px; }
.update-line { min-height: 0; margin: 0 0 10px; font-size: 11.5px; }

/* 探活时钟 */
.probe-clock { min-width: 186px; padding: 7px 13px; border-radius: 12px; box-shadow: none; }
.probe-clock-label { font-size: 10px; }
.probe-clock strong { font-size: 19px; }
.probe-clock .next-slot { font-size: 10px; }

/* 探测模式切换卡片 */
.view-switch { gap: 9px; margin: 0 0 11px; }
.view-btn { flex-direction: row; align-items: center; gap: 9px; padding: 8px 13px; border-radius: 11px; }
.view-title { font-size: 12.5px; }
.view-desc { font-size: 10.5px; }
.view-badge { position: static; margin-left: auto; font-size: 10.5px; }

/* 概览条 */
.panel { margin-top: 11px; border-radius: 14px; }
.panel-head, .panel-head.compact { padding: 12px 16px 9px; align-items: center; }
.panel h2 { font-size: 14.5px; }
.panel-note { margin-top: 2px; font-size: 10.5px; }
.mini-key { gap: 11px; margin-top: 0; font-size: 10px; }
.key-box { width: 8px; height: 8px; }
.overview-chart { padding: 0 16px 13px; }
.overview-chart .history-canvas { height: 22px; }
.history-ticks { height: 15px; font-size: 9.5px; }

/* 总览卡片 */
.hero { padding: 13px 18px; border-radius: 15px; gap: 14px; }
.hero-head { gap: 10px; }
.hero-icon { width: 30px; height: 30px; border-radius: 10px; }
.hero h2 { font-size: 16px; }
.hero p { margin: 3px 0 0 40px; font-size: 11.5px; }
.hero-side { gap: 18px; padding-left: 20px; }
.hero-stat { min-width: 62px; }
.hero-stat strong { font-size: 20px; }
.hero-stat span { margin-top: 2px; font-size: 10px; }

/* 模型列表：行高约 46px */
.list-head { padding-bottom: 6px; }
.tools { gap: 7px; }
.search { width: 168px; height: 30px; padding: 0 9px; border-radius: 9px; }
.search input { font-size: 11.5px; }
.tabs { padding: 2px; border-radius: 9px; }
.tab { padding: 4px 9px; border-radius: 6px; font-size: 11px; }
.model-columns, .model-row { grid-template-columns: minmax(150px, 192px) minmax(160px, 1fr) 72px 86px 62px 12px; }
.model-columns { padding: 0 16px 5px; font-size: 10px; }
.model-list { padding: 0 6px 6px; }
.model-row { min-height: 38px; padding: 4px 10px; gap: 10px; border-radius: 8px; }
.state-icon { width: 22px; height: 22px; border-radius: 7px; }
.state-icon svg { width: 14px; height: 14px; }
.model-main { gap: 7px; }
.model-title strong { font-size: 12px; }
.model-title small { margin-top: 0; font-size: 9.5px; }
.timeline-cell-zone .history-canvas { height: 14px; }
.metric { font-size: 11px; }
.metric small { margin-top: 0; font-size: 9.5px; }
.performance { min-width: 76px; padding: 3px 6px; border-radius: 6px; font-size: 10px; }
.state-label { padding: 3px 6px; border-radius: 6px; font-size: 10px; }

/* 公告区：单卡 + 可折叠历史 */
.announce-panel .panel-head { padding: 12px 16px 10px; }
.announce-actions { display: flex; align-items: center; gap: 7px; }
.history-toggle { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid #dce7f4; border-radius: 8px; background: #fff; color: #4a6f9c; font-size: 10.5px; font-weight: 700; }
.history-toggle:hover { border-color: #a8c4ed; color: #2d69b4; }
.history-toggle #timeline-count { color: #93a7bd; font-weight: 600; }
.announce-panel .announcement-card { margin: 0 16px 13px; border-radius: 12px; }
.announce-panel .announcement-inner { padding: 12px 15px 13px; }
.announce-panel .announcement-card h3 { margin: 7px 0 2px; font-size: 15px; }
.announce-panel .announcement-card p { font-size: 11.5px; line-height: 1.6; }
.announce-panel .announce-action { margin-top: 8px; font-size: 10.5px; }
.announce-panel .announcement-current-progress { margin-top: 7px; padding: 7px 9px; }
.announce-history { border-top: 1px solid #eef3f9; padding: 0 16px 4px; }
.announce-history .announcement-timeline { padding: 10px 0 6px; }
.timeline-entry { margin-bottom: 9px; padding: 11px 12px; }
.timeline-entry h3 { font-size: 12.5px; }
.timeline-entry p { font-size: 11px; line-height: 1.6; }
.timeline-date { padding-top: 14px; font-size: 10px; }
.timeline-track { padding-top: 16px; }

footer { padding: 14px 3px 0; font-size: 10.5px; }

/* 未实测基线改用浅蓝灰，避免和"全部成功"撞色 */
.key-box.baseline { background: #dfeaf6; }

@media (max-width: 850px) {
  .model-columns, .model-row { grid-template-columns: minmax(140px, 190px) minmax(120px, 1fr) 70px 80px 12px; }
  .model-columns span:nth-child(5), .model-row .state-label { display: none; }
}
@media (max-width: 620px) {
  main { padding: 16px 0 22px; }
  .view-btn { flex-wrap: wrap; }
  .view-badge { margin-left: 0; }
  .model-row { min-height: 0; padding: 5px 8px; gap: 4px; }
  .model-row .timeline-cell-zone { grid-column: 1 / -1; grid-row: 3; }
  .announce-panel .announcement-card { margin: 0 12px 11px; }
  .announce-actions { width: 100%; justify-content: flex-end; }
  /* 手机上列头不显示，保留行内小字说明 */
  .metric small { display: block; }
  .metric { font-size: 11px; }
}

/* ============================================================
   v17.1 · 二次收紧（在 v17 基础上再压一档）
   目标：1440×900 下约 1.2 屏，一次滚动即可看完全部内容。
   ============================================================ */
.site-header { height: 60px; }
.brand img { width: 32px; height: 32px; border-radius: 10px; }
.brand-copy strong { font-size: 14.5px; }
.brand-copy small { margin-top: 2px; font-size: 10px; }
.header-pill { padding: 6px 10px; font-size: 11px; }
main { padding: 14px 0 22px; }
.eyebrow { font-size: 10px; }
h1 { margin: 2px 0 2px; font-size: clamp(19px, 1.9vw, 24px); }
.subtle { font-size: 12px; }
.intro { margin-bottom: 9px; }
.probe-clock { min-width: 168px; padding: 5px 11px; border-radius: 11px; }
.probe-clock strong { font-size: 17px; }
.update-line { margin-bottom: 8px; font-size: 11px; }
.view-switch { gap: 8px; margin-bottom: 9px; }
.view-btn { padding: 7px 12px; }
.hero { padding: 11px 15px; gap: 12px; }
.hero h2 { font-size: 15px; }
.hero-icon { width: 27px; height: 27px; }
.hero p { margin-left: 37px; font-size: 11px; }
.hero-stat strong { font-size: 18px; }
.panel { margin-top: 9px; }
.panel-head, .panel-head.compact { padding: 10px 15px 8px; }
.panel h2 { font-size: 14px; }
.overview-chart { padding: 0 15px 10px; }
.overview-chart .history-canvas { height: 20px; }
.history-ticks { height: 13px; }
.list-head { padding-bottom: 4px; }
.model-columns { padding: 0 15px 4px; font-size: 9.5px; }
.model-list { padding: 0 5px 5px; }
.model-row { min-height: 30px; padding: 2px 9px; gap: 8px; }
.state-icon { width: 20px; height: 20px; border-radius: 6px; }
.state-icon svg { width: 13px; height: 13px; }
/* 名称与类型同一行，省掉每行 14px 的副标题高度 */
.model-title { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.model-title strong { min-width: 0; font-size: 11.5px; }
.model-title small { flex: none; margin-top: 0; font-size: 9px; }
.metric { font-size: 11.5px; }
/* 列头已写"可用率"，行内不再重复副标题 */
.metric small { display: none; }
.performance { min-width: 70px; padding: 2px 5px; font-size: 9.5px; }
.state-label { padding: 2px 5px; font-size: 9.5px; }
.timeline-cell-zone .history-canvas { height: 12px; }
.announce-panel .panel-head { padding: 10px 15px 9px; }
.announce-panel .announcement-card { margin: 0 15px 11px; }
.announce-panel .announcement-inner { padding: 10px 13px 11px; }
.announce-panel .announcement-card h3 { margin: 5px 0 2px; font-size: 14px; }
footer { padding: 10px 3px 0; }

/* 手机端最终覆盖（放在最后，确保压过上面的桌面规则） */
@media (max-width: 620px) {
  .site-header { height: 56px; }
  h1 { font-size: 20px; }
  .intro { margin-bottom: 8px; }
  .panel-head, .panel-head.compact { padding: 9px 13px 7px; }
  .overview-chart { padding: 0 13px 9px; }
  .overview-chart .history-canvas { height: 18px; }
  .model-columns { display: none; }
  /* 手机改成"名称 + 可用率 + 状态"一行，24 小时条独占第二行 */
  .model-row { grid-template-columns: minmax(0,1fr) auto auto; align-items: center; row-gap: 4px; min-height: 0; padding: 5px 8px; column-gap: 8px; }
  .model-row .model-main { grid-column: 1; grid-row: 1; }
  .model-row .metric { grid-column: 2; grid-row: 1; font-size: 11px; }
  .model-row .metric small { display: none; }
  .model-row .state-label { display: inline-flex; grid-column: 3; grid-row: 1; }
  .model-row .performance { display: none; }
  .model-row .timeline-cell-zone { grid-column: 1 / -1; grid-row: 2; }
  .model-row .row-chevron { display: none; }
  .model-title small { display: none; }
  .announce-panel .announcement-inner { padding: 9px 12px 10px; }
}

/* ============================================================
   v18 · 卡片式模型列表
   左上角放厂商极简标记 + 模型名，下面三列指标，底部一条 24 小时带。
   ============================================================ */
.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; padding: 2px 15px 15px; }
.model-card { display: flex; flex-direction: column; gap: 9px; padding: 13px 13px 11px; border: 1px solid #e7eef8; border-radius: 14px; background: #fff; text-align: left; cursor: pointer; transition: border-color .16s, box-shadow .16s, transform .16s; }
.model-card:hover, .model-card:focus-visible { border-color: #c6dcf6; box-shadow: 0 10px 26px rgba(37, 82, 148, .08); transform: translateY(-1px); outline: none; }
.card-head { display: flex; align-items: center; gap: 9px; }
.model-logo { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; }
.model-logo svg { width: 17px; height: 17px; }
.card-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.card-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1b3553; font-size: 12.5px; font-weight: 750; letter-spacing: .01em; }
.card-title small { margin-top: 1px; color: #9aabbb; font-size: 9.5px; }
.model-card .state-label { flex: none; padding: 3px 7px; border-radius: 7px; font-size: 9.5px; font-weight: 700; }
.card-metrics { display: grid; grid-template-columns: 1.1fr 1fr .8fr; gap: 6px; }
.card-metrics.duo { grid-template-columns: 1.15fr 1fr; }
.card-metrics div { min-width: 0; }
.card-metrics small { display: block; color: #9caebe; font-size: 9.5px; white-space: nowrap; }
.card-metrics strong { display: block; margin-top: 2px; color: #2c4560; font-size: 12px; font-weight: 750; white-space: nowrap; }
.card-metrics .perf { position: relative; width: fit-content; }
.card-metrics .perf.normal { color: #159662; }
.card-metrics .perf.degraded { color: #a77b24; }
.card-metrics .perf.abnormal { color: #d7505c; }
.card-metrics .perf.na, .card-metrics .perf.unknown { color: #8395a9; }
.card-metrics .perf::after { content: attr(data-tooltip); position: absolute; z-index: 4; left: -2px; bottom: calc(100% + 7px); padding: 6px 8px; border: 1px solid #deebf7; border-radius: 8px; background: #fff; box-shadow: 0 8px 22px rgba(36,76,132,.13); color: #4a6686; font-size: 10px; font-weight: 500; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s; }
.card-metrics .perf:hover::after, .model-card:focus-visible .perf::after { opacity: 1; visibility: visible; }
.card-chart { margin-top: 2px; }
.card-chart .history-canvas { width: 100%; height: 10px; border-radius: 3px; }
.chart-axis { display: flex; justify-content: space-between; margin-top: 4px; color: #aab8c7; font-size: 9px; }

.model-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; padding: 2px 15px 15px; }
.model-card { padding: 12px 12px 10px; gap: 8px; }
.card-chart .history-canvas { height: 10px; }

@media (max-width: 1360px) {
  .model-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 2px 12px 12px; }
  .model-card { padding: 10px 10px 8px; gap: 7px; }
  .model-logo { width: 24px; height: 24px; border-radius: 7px; }
  .model-logo svg { width: 14px; height: 14px; }
  .card-title strong { font-size: 11.5px; }
  .card-title small { display: none; }
  .model-card .state-label { padding: 2px 5px; font-size: 9px; }
  .card-head { gap: 7px; }
  /* 手机上只留"可用率 / 最近探测"，性能点开详情看 */
  .card-metrics { grid-template-columns: 1fr 1fr; gap: 4px; }
  .card-metrics div:nth-child(3) { display: none; }
  .card-metrics small { font-size: 9px; }
  .card-metrics strong { font-size: 11px; }
  .chart-axis { display: none; }
  .card-chart .history-canvas { height: 11px; }
}

/* 850px 以下的旧规则会全局隐藏 .state-label，这里给卡片单独放开 */
.model-card .state-label { display: inline-flex; align-items: center; justify-content: center; }
.view-badge.has-bad { color: #d7505c; }
.modal-fix { display: none; }

/* 手机上把状态标签收成 8px 圆点，宽度全部让给模型名 */
@media (max-width: 700px) {
  .model-card .state-label { flex: none; width: 8px; height: 8px; min-width: 8px; padding: 0; border-radius: 50%; font-size: 0; line-height: 0; overflow: hidden; }
  .model-card .state-label.good { background: #16a96d; }
  .model-card .state-label.bad { background: #e15c65; }
  .model-card .state-label.unknown { background: #d9a03c; }
  .card-title strong { font-size: 10.5px; }
}

/* ── 厂商 Logo 改用 @lobehub/icons 官方图标（本地 icons/*.svg） ── */
.model-logo { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #f6f9fd; }
.model-logo img { display: block; width: 21px; height: 21px; object-fit: contain; }
.model-logo.fallback { color: #6b7f96; background: #eef2f7; font-size: 13px; font-weight: 750; }
@media (max-width: 700px) {
  .model-logo { width: 24px; height: 24px; border-radius: 7px; }
  .model-logo img { width: 18px; height: 18px; }
  .model-logo.fallback { font-size: 11px; }
}

/* ── 顶栏公告：铃铛 / 24 小时跑马灯 / 弹窗 ── */
.header-announce { position: relative; display: inline-flex; align-items: center; gap: 7px; max-width: 300px; height: 30px; padding: 0 11px; border: 1px solid #dce7f4; border-radius: 9px; background: #fff; color: #557398; font-size: 11px; font-weight: 700; transition: border-color .16s, color .16s; }
.header-announce:hover { border-color: #a8c4ed; color: #2d69b4; }
.bell-icon { display: grid; place-items: center; flex: none; width: 15px; height: 15px; }
.bell-icon svg { width: 15px; height: 15px; }
.announce-dot { display: none; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #e15c65; }
.header-announce.has-news { color: #2d69b4; border-color: #cfdff5; background: #f7fbff; }
.header-announce.has-news .announce-dot { display: block; }
.header-announce.has-news .bell-icon { color: #2d69b4; }
.ticker { position: relative; overflow: hidden; flex: 1; min-width: 0; max-width: 220px; height: 15px; }
.ticker-track { display: inline-flex; gap: 28px; white-space: nowrap; will-change: transform; }
.ticker-track.scrolling { animation: ticker-scroll 16s linear infinite; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(var(--ticker-shift, -200px)); } }
.ticker-track:not(.scrolling) span:nth-child(2) { display: none; }

.announce-overlay { position: fixed; inset: 0; z-index: 16; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(17,38,66,.38); backdrop-filter: blur(7px); }
.announce-overlay.open { display: flex; }
.announce-dialog { display: flex; flex-direction: column; width: min(660px, 100%); max-height: min(78vh, 700px); border: 1px solid #e6edf7; border-radius: 18px; background: #fff; box-shadow: 0 24px 90px rgba(21,51,91,.25); overflow: hidden; }
.announce-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 11px; border-bottom: 1px solid #eef3f9; }
.announce-dialog-head h2 { margin: 0; font-size: 16px; letter-spacing: -.02em; }
.announce-dialog-tools { display: flex; align-items: center; gap: 10px; }
.announce-total { color: #94a6ba; font-size: 11px; }
.announce-dialog-tools .dialog-close { position: static; width: 26px; height: 26px; font-size: 17px; line-height: 1; }
.announce-dialog-body { overflow-y: auto; padding: 14px 16px 18px; }
.announce-dialog-body .announcement-card { margin: 0 0 14px; }
.announce-section-label { margin: 0 0 8px; color: #9aabc0; font-size: 10.5px; font-weight: 750; letter-spacing: .06em; }
.announce-dialog-body .announcement-timeline { padding: 0; }
@media (max-width: 620px) {
  .header-announce { max-width: 150px; padding: 0 9px; }
  .ticker { max-width: 92px; }
  .announce-dialog { max-height: 82vh; }
  .announce-dialog-body { padding: 12px 12px 14px; }
}

.announce-dialog-tools .announce-button { display: none; min-height: 26px; padding: 3px 9px; border-radius: 7px; font-size: 10.5px; }
body.announcement-admin .announce-dialog-tools .announce-button { display: inline-flex; }
.announce-dialog-tools .announce-total::before { content: "共 "; }
.announce-dialog-tools .announce-total::after { content: " 条"; }

/* ── 公告弹窗：加大尺寸 + 自定义滚动条 ── */
.announce-dialog { width: min(920px, 92vw); max-height: min(84vh, 780px); border-radius: 20px; }
.announce-dialog-head { padding: 18px 24px 14px; }
.announce-dialog-head h2 { font-size: 18px; }
.announce-dialog-tools { gap: 12px; }
.announce-dialog-tools .dialog-close { width: 30px; height: 30px; font-size: 19px; border-radius: 9px; }
.announce-dialog-tools .announce-button { min-height: 30px; padding: 5px 12px; font-size: 11.5px; }
.announce-total { font-size: 11.5px; }

.announce-dialog-body { padding: 18px 24px 22px; scrollbar-width: thin; scrollbar-color: #d5e2f2 transparent; }
.announce-dialog-body::-webkit-scrollbar { width: 9px; }
.announce-dialog-body::-webkit-scrollbar-track { background: transparent; margin: 4px 0; }
.announce-dialog-body::-webkit-scrollbar-thumb { border: 2px solid transparent; background-clip: content-box; background-color: #d5e2f2; border-radius: 8px; }
.announce-dialog-body::-webkit-scrollbar-thumb:hover { background-color: #b6cbe4; }

.announce-dialog-body .announcement-card { margin: 0 0 18px; border-radius: 16px; }
.announce-dialog-body .announcement-inner { padding: 20px 22px 22px; }
.announce-dialog-body .announcement-card h3 { margin: 10px 0 6px; font-size: 21px; letter-spacing: -.02em; }
.announce-dialog-body .announcement-card p { font-size: 13.5px; line-height: 1.8; }
.announce-dialog-body .announcement-top time { font-size: 11.5px; }
.announce-dialog-body .announcement-badge { padding: 5px 10px; font-size: 11.5px; }
.announce-dialog-body .announcement-current-progress { margin-top: 12px; padding: 12px 14px; border-radius: 12px; }
.announce-dialog-body .announcement-current-progress span { font-size: 10.5px; }
.announce-dialog-body .announce-action,
.announce-dialog-body .announce-update-button { margin-top: 14px; font-size: 11.5px; }
.announce-dialog-body .affected span { padding: 5px 9px; font-size: 11px; }

.announce-section-label { margin: 0 0 10px; font-size: 11px; }
.announce-dialog-body .announcement-timeline { padding: 0; }
.announce-dialog-body .timeline-item { grid-template-columns: 116px 22px minmax(0, 1fr); column-gap: 14px; }
.announce-dialog-body .timeline-date { padding-top: 20px; font-size: 11.5px; }
.announce-dialog-body .timeline-track { padding-top: 23px; }
.announce-dialog-body .timeline-entry { margin-bottom: 14px; padding: 17px 19px; border-radius: 14px; }
.announce-dialog-body .timeline-entry h3 { margin: 8px 0 5px; font-size: 15px; }
.announce-dialog-body .timeline-entry p { font-size: 12.5px; line-height: 1.75; }
.announce-dialog-body .timeline-entry-top .type { padding: 4px 8px; font-size: 10.5px; }
.announce-dialog-body .timeline-entry-top .phase { font-size: 11.5px; }
.announce-dialog-body .timeline-update { grid-template-columns: 78px 1fr; gap: 12px; padding-top: 11px; font-size: 11.5px; }

@media (max-width: 720px) {
  .announce-dialog { width: 94vw; max-height: 86vh; border-radius: 16px; }
  .announce-dialog-head { padding: 14px 16px 11px; }
  .announce-dialog-head h2 { font-size: 16px; }
  .announce-dialog-body { padding: 14px 14px 16px; }
  .announce-dialog-body .announcement-inner { padding: 15px 16px 16px; }
  .announce-dialog-body .announcement-card h3 { font-size: 17px; }
  .announce-dialog-body .announcement-card p { font-size: 12.5px; }
  .announce-dialog-body .timeline-item { grid-template-columns: 14px minmax(0, 1fr); gap: 10px; }
  .announce-dialog-body .timeline-date { grid-column: 2; grid-row: 1; padding: 6px 0 4px; text-align: left; font-size: 10.5px; }
  .announce-dialog-body .timeline-track { grid-column: 1; grid-row: 1 / 3; padding-top: 16px; }
  .announce-dialog-body .timeline-entry { grid-column: 2; grid-row: 2; padding: 13px; }
  .announce-dialog-body .timeline-update { grid-template-columns: 58px 1fr; gap: 6px; }
}

/* ── 公告入口：普通页面在顶栏，嵌入 New API 时移到标题右侧（顶栏被隐藏） ── */
.intro-side { display: flex; align-items: center; gap: 10px; flex: none; }
.header-announce.embed-only { display: none; }
html.embedded .header-announce.embed-only { display: inline-flex; }
html.embedded .intro-side { gap: 8px; }
html.embedded .header-announce.embed-only .ticker { max-width: 230px; }
@media (max-width: 720px) {
  html.embedded .header-announce.embed-only .ticker { max-width: 110px; }
  .intro-side { gap: 8px; }
}

/* 实时调用卡片只有两项指标，放宽列宽、字号略加大 */
.card-metrics.duo { grid-template-columns: 1fr 1fr; gap: 12px; }
.card-metrics.duo small { font-size: 10px; }
.card-metrics.duo strong { margin-top: 3px; font-size: 13px; }
@media (max-width: 700px) {
  .card-metrics.duo { gap: 8px; }
  .card-metrics.duo strong { font-size: 12px; }
}
