/* 2026-11-12 洞察 / 国内加速设置的样式（11-17 发现被别的发布整份重写 hub-console5.css 时冲掉，挪到独立文件） */
.c5-net-cfg { margin: 14px 0 6px; padding: 12px; border: 1px solid var(--a-line); border-radius: 12px; background: var(--a-bg); }
.c5-net-cfg .net-add { flex-wrap: wrap; align-items: center; }
.c5-net-est { margin: 8px 0; padding: 8px 10px; border-radius: 8px; background: var(--a-brand-soft); color: var(--a-ink2); font-size: 12.5px; line-height: 1.6; }
.i5-tip { font-size: 12px; margin: 10px 0 0; line-height: 1.6; }
.i5-funnel { display: flex; flex-direction: column; gap: 6px; }
.i5-fstep { display: grid; grid-template-columns: 92px 1fr 92px 64px; gap: 10px; align-items: center; font-size: 13px; }
.i5-flabel { color: var(--a-ink2); font-weight: 600; }
.i5-ftrack { height: 16px; border-radius: 6px; background: var(--a-line2); overflow: hidden; }
.i5-ftrack i { display: block; height: 100%; border-radius: 6px; background: var(--a-brand); }
.i5-ftrack i.alt { background: #1f8f5c; }
.i5-fstep b { text-align: right; white-space: nowrap; }
.i5-fstep small { color: var(--a-muted); white-space: nowrap; }
.adm-table td.i5-bad { color: var(--a-red); font-weight: 700; background: var(--a-red-soft); }
.adm-table td.i5-warn { color: var(--a-gold); font-weight: 700; }
.i5-hours { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; align-items: end; height: 90px; }
.i5-hours.tall { height: 140px; }
.i5-hbar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 2px; }
.i5-hbar i { width: 100%; min-height: 2px; background: var(--a-brand); border-radius: 3px 3px 0 0; opacity: .85; }
.i5-hbar small { font-size: 10px; color: var(--a-muted); height: 12px; }
.adm-kpi.i5-on { border-color: var(--a-brand); box-shadow: inset 0 0 0 1px var(--a-brand); }
.i5-rate { position: relative; height: 18px; border-radius: 6px; background: var(--a-line2); min-width: 120px; overflow: hidden; }
.i5-rate i { position: absolute; inset: 0 auto 0 0; background: #b9b2f5; }
.i5-rate.good i { background: #8fd3ae; }
.i5-rate.bad i { background: #f0b2a6; }
.i5-rate b { position: relative; padding-left: 6px; font-size: 12px; line-height: 18px; }
.i5-graph-wrap { width: 100%; overflow: hidden; border-radius: 12px; background: var(--a-bg); }
.i5-graph { width: 100%; height: auto; display: block; }
.i5-edge { stroke: #9a93d8; stroke-opacity: .45; }
.i5-node { cursor: pointer; }
.i5-node circle { fill: var(--a-brand); fill-opacity: .82; stroke: #fff; stroke-width: 1.5; }
.i5-node:hover circle { fill: #e0742b; }
.i5-node text { font-size: 10.5px; fill: var(--a-ink); paint-order: stroke; stroke: var(--a-bg); stroke-width: 3px; pointer-events: none; }
.i5-spark { width: 120px; height: 28px; display: block; }
.i5-spark polyline { fill: none; stroke: var(--a-brand); stroke-width: 1.6; }
.i5-picks { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.i5-pick { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 12px; background: var(--a-bg); border: 1px solid var(--a-line); min-width: 180px; }
.i5-pick.best { background: var(--a-green-soft); border-color: transparent; }
.i5-pick b { font-size: 18px; }
.i5-pick span { font-size: 12px; color: var(--a-ink2); font-weight: 600; }
.i5-pick small { font-size: 11.5px; color: var(--a-muted); }
.i5-heat { display: grid; grid-template-columns: 34px repeat(24, 1fr); gap: 2px; align-items: center; }
.i5-heat small { font-size: 10px; color: var(--a-muted); text-align: center; }
.i5-heat i { display: block; height: 18px; border-radius: 3px; background: var(--a-brand); }
@media (max-width: 760px) {
  .i5-fstep {grid-template-columns: 70px 1fr 70px;}
  .i5-fstep small {display: none;}
  .i5-heat i {height: 12px;}
}

/* ========== 第七批（2026-11-17） ========== */
:root { --s7-heat0: #f6f5fb; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --s7-heat0: rgba(255,255,255,.05); } }

/* 可折叠卡片 */
.s7-fold > .adm-card-head { cursor: pointer; user-select: none; margin-bottom: 0; }
.s7-fold > .adm-card-head h3 { flex: 0 1 auto; }
.s7-fold-hint { font-size: 12px; margin-right: auto; margin-left: 10px; }
.s7-fold-btn { margin-left: auto; flex: none; }
.s7-fold:not(.open) > :not(.adm-card-head) { display: none; }
.s7-fold.open > .adm-card-head { margin-bottom: 12px; }
.s7-fold .adm-grid2 > * { min-width: 0; }
@media (max-width: 640px) { .s7-fold-hint { display: none; } }

/* 在线时段 */
.s7-kpis { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.s7-heat-wrap { overflow-x: auto; }
.s7-heat { display: grid; grid-template-columns: 42px repeat(24, minmax(22px, 1fr)); gap: 3px; min-width: 620px; font-variant-numeric: tabular-nums; }
.s7-hc { font-size: 11px; color: var(--a-muted); display: flex; align-items: center; justify-content: center; }
.s7-hhead { height: 18px; }
.s7-wlab { justify-content: flex-start; font-weight: 600; color: var(--a-ink2, inherit); font-size: 12px; }
.s7-wlab.we { color: var(--a-brand, #5b4ad6); }
.s7-cell { height: 30px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 600; color: #4a4470; cursor: default; transition: transform .12s; }
.s7-cell.dark { color: #fff; }
.s7-cell:hover { transform: scale(1.12); position: relative; z-index: 1; box-shadow: 0 2px 8px rgba(60,40,160,.25); }
.s7-cell.top { outline: 2px solid #e9a23b; outline-offset: 1px; }
.s7-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; }
.s7-legend-bar { display: inline-flex; border-radius: 4px; overflow: hidden; }
.s7-legend-bar i { width: 22px; height: 10px; }

.s7-day-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 12.5px; margin-bottom: 8px; }
.s7-day-legend .k::before { content: ''; display: inline-block; width: 14px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.s7-day-legend .k.bar::before { background: #c9c2f6; }
.s7-day-legend .k.wk::before { height: 3px; background: #4330b8; vertical-align: 3px; }
.s7-day-legend .k.we::before { height: 0; border-top: 3px dashed #e07a3f; vertical-align: 3px; }
.s7-day-plot { position: relative; height: 180px; margin-left: 30px; }
.s7-day-grid { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.s7-day-grid > div { border-top: 1px dashed var(--a-line); position: relative; height: 0; }
.s7-day-grid > div:last-child { border-top-style: solid; }
.s7-day-grid span { position: absolute; right: calc(100% + 6px); top: -8px; font-size: 11px; color: var(--a-muted); }
.s7-day-bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; align-items: end; }
.s7-day-col { height: 100%; display: flex; align-items: flex-end; }
.s7-day-col i { display: block; width: 100%; min-height: 2px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #b3a9f3, #d9d4fa); }
.s7-day-col.peak i { background: linear-gradient(180deg, #6552dc, #a99ef1); }
.s7-day-col:hover i { filter: brightness(.92); }
.s7-day-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.s7-day-lines polyline { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.s7-day-lines .wk { stroke: #4330b8; }
.s7-day-lines .we { stroke: #e07a3f; stroke-dasharray: 5 4; }
.s7-day-axis { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; margin: 4px 0 0 30px; font-size: 11px; color: var(--a-muted); text-align: center; }

.s7-picks { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.s7-pick { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border: 1px solid var(--a-line); border-radius: 12px; min-width: 150px; background: var(--a-panel); }
.s7-pick b { font-size: 18px; font-variant-numeric: tabular-nums; }
.s7-pick span, .s7-pick small { font-size: 12px; color: var(--a-muted); }
.s7-pick.best { border-color: #6552dc; background: color-mix(in srgb, #6552dc 7%, var(--a-panel)); }
.s7-pick-tag { position: absolute; top: -9px; right: 10px; background: #6552dc; color: #fff !important; font-size: 11px !important; padding: 1px 8px; border-radius: 999px; }
.s7-pick-btn { align-self: center; }

/* 朋友圈关系图 */
.s7-graph-box { display: flex; flex-direction: column; gap: 8px; }
.s7-graph-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.s7-zoom-txt { font-size: 12px; color: var(--a-muted); min-width: 3.5em; font-variant-numeric: tabular-nums; }
.s7-graph-search { width: 180px; max-width: 100%; height: 32px; }
.s7-graph-wrap { position: relative; height: 520px; border-radius: 12px; overflow: hidden; border: 1px solid var(--a-line);
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, #6552dc 6%, var(--a-panel)), var(--a-panel) 70%); touch-action: pan-y; }
.s7-graph-wrap.zoomed { touch-action: none; }
.s7-graph { width: 100%; height: 100%; display: block; cursor: grab; --s7-k: 1; }
.s7-graph:active { cursor: grabbing; }
.s7-edges line { stroke: #8f86d6; stroke-opacity: .5; stroke-linecap: round; }
.s7-node { cursor: pointer; outline: none; }
.s7-node circle { fill: #6552dc; fill-opacity: .85; stroke: #fff; stroke-width: calc(1.5px * var(--s7-k)); transition: fill .15s; }
.s7-node text { font-size: calc(12px * var(--s7-k)); font-weight: 600; fill: var(--a-ink, #2b2840); paint-order: stroke; stroke: var(--a-panel, #fff); stroke-width: calc(3px * var(--s7-k)); stroke-linejoin: round; display: none; pointer-events: none; }
.s7-node.lab text, .all-labels .s7-node text, .s7-node:hover text, .s7-node:focus text { display: block; }
.s7-node:hover circle, .s7-node:focus circle { fill: #4330b8; }
.focus .s7-edges line { stroke-opacity: .08; }
.focus .s7-edges line.on { stroke: #e07a3f; stroke-opacity: .9; }
.focus .s7-node { opacity: .25; }
.focus .s7-node.on, .focus .s7-node.near { opacity: 1; }
.focus .s7-node.on circle { fill: #e07a3f; }
.focus .s7-node.near text, .focus .s7-node.on text { display: block; }
.s7-graph-info { font-size: 12.5px; color: var(--a-muted); min-height: 20px; }
.s7-info-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: inherit; }
.s7-info-row b { color: var(--a-ink, inherit); font-size: 14px; }
.s7-mates { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
@media (max-width: 640px) {
  .s7-graph-wrap { height: 420px; }
  .s7-graph-search { width: 100%; }
  .s7-day-plot { height: 150px; }
  .s7-day-axis span:nth-child(3n+2), .s7-day-axis span:nth-child(3n+3) { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { .s7-cell, .s7-node circle { transition: none; } }
