:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  background: #080d1d;
  color: #edf2ff;
}

* { box-sizing: border-box; }

body { margin: 0; min-width: 320px; }

.页面 { width: min(1120px, 100%); margin: 0 auto; padding: 32px 20px 64px; }
.顶部 { margin-bottom: 24px; }
.眉题 { margin: 0 0 8px; color: #7da3ff; font-size: 14px; font-weight: 700; }
h1, h2, h3 { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: clamp(28px, 5vw, 42px); }
h2 { margin-bottom: 10px; font-size: 20px; }
h3 { font-size: 14px; color: #b9c7eb; }
.说明, .提示 { color: #aebbd9; line-height: 1.7; }
.状态 { display: inline-block; margin: 12px 0 0; border-radius: 999px; padding: 7px 12px; font-size: 13px; }
.等待 { background: #262f4c; color: #d2ddff; }
.成功 { background: #123c2e; color: #a7f3cf; }
.失败 { background: #4a1e2b; color: #ffb7c4; }

.卡片 { margin: 16px 0; border: 1px solid #273451; border-radius: 16px; padding: 22px; background: #10182c; box-shadow: 0 14px 32px rgba(0, 0, 0, .16); }
.表单网格 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: grid; gap: 7px; color: #cad5f3; font-size: 14px; font-weight: 600; }
input { width: 100%; border: 1px solid #35476e; border-radius: 10px; padding: 11px 12px; background: #090f20; color: #f5f7ff; font: inherit; outline: none; }
input:focus { border-color: #6d8cff; box-shadow: 0 0 0 3px rgba(109, 140, 255, .18); }
.跨列 { grid-column: 1 / -1; }
.按钮组 { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
button { border: 1px solid #3c507e; border-radius: 10px; padding: 10px 15px; background: #1b2845; color: #eef3ff; cursor: pointer; font: inherit; font-weight: 700; }
button:hover:not(:disabled) { filter: brightness(1.15); }
button:disabled { cursor: not-allowed; opacity: .48; }
.主按钮 { border-color: #5478ff; background: #4164ed; }
.危险 { border-color: #8a3f57; background: #3a2030; }

.视频网格 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.视频网格 article { overflow: hidden; border: 1px solid #293a60; border-radius: 12px; padding: 12px; background: #0a1020; }
.视频容器 { width: 100%; min-height: 220px; overflow: hidden; border-radius: 8px; background: #000; }
.视频容器 video { display: block; width: 100%; min-height: 220px; object-fit: cover; }
.消息列表 { display: grid; gap: 10px; max-height: 280px; overflow: auto; padding: 0; list-style: none; }
.消息列表 li { border-left: 3px solid #6485ff; border-radius: 6px; padding: 10px 12px; background: #0b1326; line-height: 1.5; }
.消息列表 time { display: block; margin-bottom: 4px; color: #9cadcf; font-size: 12px; }
.检查清单 { padding-left: 20px; color: #bfcae4; line-height: 1.85; }
details { color: #b6c4e5; line-height: 1.7; }
summary { cursor: pointer; font-weight: 700; }
code { color: #c8d6ff; }
.日志卡片 pre { min-height: 150px; max-height: 360px; overflow: auto; margin: 0; border-radius: 10px; padding: 14px; background: #070b16; color: #b9f5d0; font: 12px/1.65 Consolas, monospace; white-space: pre-wrap; word-break: break-word; }

@media (max-width: 680px) {
  .页面 { padding: 20px 14px 42px; }
  .卡片 { padding: 18px 15px; }
  .表单网格, .视频网格 { grid-template-columns: 1fr; }
  .跨列 { grid-column: auto; }
  .视频容器, .视频容器 video { min-height: 190px; }
}
