/* 生产大屏：深色指挥投屏页。>=1560px 或全屏时按 1920×1080 整屏等比缩放；<1560px 分屏窄窗自动切换原生高清流式网格（1180px+ 顶部五阶段单行对称展示）。 */
:root {
  color-scheme: dark;
  --page: #121417;
  --surface: #1d2025;
  --surface-2: #252931;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --grid: #252932;
  --t1: #f0f2f5;
  --t2: #b8bfca;
  --t3: #8c95a4;
  --joy: #e8492f;
  --joy-2: #f7785a;
  --data: #8b95a5;
  --dim: #262b34;
  --good: #31b472;
  --warn: #e2a84b;
  --crit: #d84339;
  --neutral: #687285;
  --font: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", "Segoe UI", sans-serif;
  --num: Bahnschrift, "DIN Alternate", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  background: var(--page);
  color: var(--t1);
  font: 14px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
body.scroll,
body.responsive {
  overflow-y: auto;
  overflow-x: hidden;
  height: auto;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--joy); outline-offset: 2px; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
svg.i { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 画布 ---------- */
.wrap { position: fixed; inset: 0; overflow: hidden; }
body.scroll .wrap,
body.responsive .wrap { position: relative; inset: auto; width: 100%; overflow: visible; }

.stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  transform-origin: 0 0;
  display: grid;
  grid-template-rows: 64px 132px 164px minmax(0, 1fr) 184px;
  gap: 12px;
  padding: 16px 26px;
  overflow: hidden;
  background: var(--page);
}
.stage > * { position: relative; z-index: 1; min-width: 0; min-height: 0; }

/* ---------- 顶栏 ---------- */
.top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr);
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 8px;
}
.brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.brand img { height: 34px; width: auto; display: block; }
.brand .prod { padding-left: 16px; border-left: 1px solid var(--line-2); line-height: 1.2; white-space: nowrap; }
.brand .prod b { display: block; font-size: 18px; font-weight: 700; letter-spacing: .02em; }
.title h1 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: .03em; color: var(--t1); white-space: nowrap; }
.right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px;
  color: var(--t2);
  background: rgba(255, 255, 255, .03);
  white-space: nowrap;
}
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.live.busy i { background: var(--joy); animation: pingr 1.4s infinite; }
.live.loading i { background: var(--data); }
.live.failed { color: #ff9b8f; border-color: rgba(208, 59, 59, .5); }
.live.failed i { background: var(--crit); }
@keyframes pingr { 0% { box-shadow: 0 0 0 0 rgba(232, 73, 47, .6); } 70% { box-shadow: 0 0 0 8px rgba(232, 73, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 73, 47, 0); } }
.clock { text-align: right; line-height: 1.1; margin: 0 4px; white-space: nowrap; }
.clock b { font: 600 24px var(--num); letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.clock small { display: block; color: var(--t3); font-size: 10.5px; margin-top: 2px; }
.sbtn {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: var(--t2);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.sbtn:hover { color: #fff; border-color: rgba(232, 73, 47, .7); background: rgba(232, 73, 47, .14); }
.sbtn.active { border-color: var(--joy-2); color: #fff; background: rgba(232, 73, 47, .2); }
.sbtn-action { background: #c93824; border-color: #c93824; color: #fff; font-weight: 700; }
.sbtn-action:hover { background: #ac2d1b; border-color: #ac2d1b; }
:fullscreen #fs { display: none; }

/* ---------- 面板 ---------- */
.pn {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  overflow: hidden;
}
.ph { display: flex; align-items: center; gap: 10px; min-height: 24px; margin-bottom: 10px; flex: none; flex-wrap: wrap; }
.ph h2 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--t1); white-space: nowrap; }
.ph .sub { font-size: 12px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ph .sub b { color: var(--t2); font-weight: 600; }
.ph .link { margin-left: auto; flex: none; color: var(--joy-2); font-weight: 600; }
.ph .link:hover { text-decoration: underline; }
.src-badge {
  flex: none;
  padding: 1px 7px;
  border-radius: 5px;
  border: 1px solid rgba(226, 168, 75, .45);
  background: rgba(226, 168, 75, .14);
  color: #f4c678;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}
.chip-r { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 11.5px; color: var(--t2); white-space: nowrap; }
.chip-r i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.chip-r.run { border-color: rgba(232, 73, 47, .6); color: #fff; background: rgba(232, 73, 47, .14); }
.chip-r.run i { background: var(--joy); animation: blink 1.2s infinite; }
.chip-r.wait i { background: var(--warn); }
.chip-r.off i { background: var(--data); }
.lg { margin-left: auto; display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--t3); white-space: nowrap; flex: none; }
.lg i { width: 8px; height: 8px; border-radius: 2px; margin-left: 6px; }
.lg i.d0 { background: var(--dim); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.lg i.d1 { background: #c9ced6; }
.lg i.d2 { background: var(--joy); }
@keyframes blink { 50% { opacity: .35; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 一、五系统全链路生产线 ---------- */
.flow {
  display: grid;
  grid-template-columns: .96fr .96fr 1.02fr 1.32fr 1.06fr;
  gap: 52px;
  align-items: stretch;
}
.wires { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wires .wl { font: 10.5px var(--font); fill: var(--t3); letter-spacing: .02em; }
.node {
  position: relative;
  padding: 13px 14px 12px 74px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: linear-gradient(140deg, #21252d, #171a20);
  overflow: hidden;
  transition: border-color .15s, transform .15s;
}
.node:hover { border-color: rgba(247, 120, 90, .65); transform: translateY(-1px); }
.node .ic {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .09), rgba(255, 255, 255, .01));
}
.node .ic svg { width: 22px; height: 22px; stroke: var(--t1); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.node .k { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--t3); white-space: nowrap; }
.node .k b { font: 700 11.5px var(--num); color: var(--joy-2); letter-spacing: .06em; }
.node .nm { font-size: 15px; font-weight: 750; color: var(--t1); white-space: nowrap; }
.node .big { margin-top: 2px; line-height: 1.12; white-space: nowrap; }
.node .big .num { font-size: 36px; font-weight: 600; letter-spacing: -.01em; }
.node .big small { margin-left: 6px; font-size: 12px; color: var(--t3); }
.node .big .pending-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(226, 168, 75, .16);
  border: 1px solid rgba(226, 168, 75, .42);
  color: #f3c46b;
  font: 600 11px/1.45 var(--font);
  vertical-align: middle;
}
.node .s { margin-top: 6px; font-size: 11.5px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.node .s b { color: var(--t1); font-weight: 600; font-family: var(--num); }
.node .meter { position: absolute; left: 74px; right: 14px; bottom: 8px; height: 3px; border-radius: 2px; background: #2a2f3a; overflow: hidden; }
.node .meter i { display: block; height: 100%; border-radius: 2px; background: var(--joy-2); }
.node .chip { position: absolute; right: 12px; top: 12px; display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--t2); white-space: nowrap; }
.node .chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--data); }
.node .chip.ok i { background: var(--good); }
.node .chip.run i { background: var(--joy); animation: blink 1.2s infinite; }
.node .chip.wait i { background: var(--warn); }
.node.hero { border-color: #9e5646; background: linear-gradient(140deg, #322421, #1e191a); }
.node.hero .ic { border-color: rgba(232, 73, 47, .75); background: radial-gradient(circle at 50% 35%, rgba(247, 120, 90, .4), rgba(232, 73, 47, .08)); }
.node.hero .big .num { font-size: 46px; color: #fff; }
.node.hero .s { max-width: 215px; }
.node .spark { position: absolute; right: 14px; bottom: 11px; width: 112px; height: 62px; }
.node .spark small { position: absolute; left: 0; top: -2px; font-size: 10px; color: var(--t3); white-space: nowrap; }
.node .spark svg { position: absolute; left: 0; top: 13px; width: 112px; height: 48px; overflow: visible; }
.jams { position: absolute; inset: 0; pointer-events: none; }
.jam {
  position: absolute;
  top: 84px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--t2);
  background: #232730;
  border: 1px solid var(--line-2);
  white-space: nowrap;
  pointer-events: auto;
}
.jam b { font: 600 12px var(--num); color: var(--t1); }
.jam.hot { color: #121417; background: var(--warn); border-color: var(--warn); font-weight: 700; }
.jam.hot b { color: #121417; }

/* ---------- 二、切片七步 + 动态 ---------- */
.proc { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 14px; }
.steps { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ribbon { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.step { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; text-align: center; min-width: 0; padding: 0 6px; }
.step .ci { position: relative; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #171a21; border: 1.5px solid #3a3f4b; color: var(--t3); }
.step .ci svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step.done .ci { border-color: #985e50; color: #fff; background: #3b2d29; }
.step.reuse .ci { border-color: rgba(232, 73, 47, .55); color: var(--t2); background: #221c1d; }
.step.skip .ci { border-color: rgba(152, 94, 80, .62); color: var(--t2); background: #262022; }
.step.skip .nm { color: var(--t2); }
.step.skip .bg2 b { color: var(--t2); font-size: 20px; }
.step.run .ci { border-color: var(--joy); color: #fff; background: rgba(232, 73, 47, .25); }
.step.run .ci::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--joy-2); border-right-color: var(--joy); animation: spin 1s linear infinite; }
.step.err .ci { border-color: var(--crit); color: #fff; background: rgba(208, 59, 59, .3); }
.step .nm { margin-top: 5px; font-size: 13px; font-weight: 700; color: var(--t2); white-space: nowrap; }
.step.done .nm, .step.run .nm { color: var(--t1); }
.step .bg2 { margin-top: 1px; line-height: 1.1; white-space: nowrap; }
.step .bg2 b { font: 600 23px var(--num); color: var(--t1); }
.step .bg2 small { margin-left: 4px; font-size: 11px; color: var(--t3); }
.step .sb { margin-top: 3px; max-width: 100%; font-size: 11px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.step .sb .tm { color: var(--t2); font-family: var(--num); }
.step .sb .ru { color: var(--joy-2); }
.step.wait .bg2 b { color: #4a505c; }
.ribbon .seg { stroke-width: 2; fill: none; }
.ribbon .pct { font: 600 11px var(--num); fill: var(--joy-2); }
.fun { flex: none; display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; font-size: 12px; color: var(--t3); white-space: nowrap; }
.fun b { font: 600 13px var(--num); color: var(--joy-2); }
.fun i { font-style: normal; color: #545b68; }

.feed-pn .ph { margin-bottom: 6px; }
.feed { flex: none; height: 63px; overflow: hidden; position: relative; }
.feed .fl { display: grid; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.feed .fi { display: grid; grid-template-columns: 78px 56px minmax(0, 1fr); gap: 8px; height: 21px; align-items: center; font-size: 12.5px; }
.feed .fi .t { font: 11.5px var(--num); color: var(--t3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.feed .fi .w { color: var(--joy-2); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed .fi .x { color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mach { flex: none; margin-top: auto !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.mach .gm { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0 5px; font-size: 11px; color: var(--t3); min-width: 0; }
.mach .gm span { white-space: nowrap; }
.mach .gm b { font: 600 12.5px var(--num); color: var(--t1); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mach .gm b small { font: 500 10px var(--font); color: var(--t3); margin-left: 3px; }
.mach .gm .m { grid-column: 1 / -1; height: 3px; border-radius: 2px; background: #2a2e38; margin-top: 3px; overflow: hidden; }
.mach .gm .m i { display: block; height: 100%; border-radius: 2px; background: #c9ced6; transition: width 1s; }
.mach .gm.hot .m i { background: var(--warn); }

/* ---------- 三、中部三大主控模块 ---------- */
.main { display: grid; grid-template-columns: 468px minmax(0, 1fr) 468px; gap: 14px; }
.col { display: grid; grid-template-rows: minmax(0, 1fr) 164px; gap: 12px; min-height: 0; }

/* 剪辑大师迷你联动条 + 分镜到货格子 */
.jj-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: rgba(232, 73, 47, .1);
  border: 1px solid rgba(232, 73, 47, .28);
  font-size: 11.5px;
  color: var(--t2);
}
.jj-mini b { color: #fff; font-family: var(--num); }
.jj-mini a { color: var(--joy-2); font-weight: 700; white-space: nowrap; }
.jj-mini a:hover { text-decoration: underline; }

.groups { flex: 1; min-height: 0; display: grid; align-content: start; gap: 8px; overflow: hidden; }
.grp-h { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--t3); margin-bottom: 4px; white-space: nowrap; }
.grp-h b { color: var(--t1); font-size: 12.5px; }
.grp-h .pb { margin-left: auto; width: 66px; height: 3px; border-radius: 2px; background: #2a2e38; overflow: hidden; flex: none; }
.grp-h .pb i { display: block; height: 100%; background: #c9ced6; }
.grp-h .pc { font-family: var(--num); color: var(--t2); min-width: 88px; text-align: right; }
.cells { display: grid; grid-template-columns: repeat(21, 16px); justify-content: space-between; row-gap: 4px; }
.cell { position: relative; width: 16px; height: 16px; border-radius: 3px; background: var(--dim); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; display: block; }
.cell i { position: absolute; left: 0; right: 0; bottom: 0; background: #c9ced6; }
.cell.done { background: var(--joy); }
.cell.done i { display: none; }
.cell.run { box-shadow: 0 0 0 1.5px var(--joy-2); }
.cell:hover { outline: 1px solid rgba(255, 255, 255, .7); outline-offset: 1px; }
.grp-more { font-size: 11.5px; color: var(--t3); }

/* 钩子 TOP 5 */
.bars { display: grid; gap: 5px; }
.bar { display: grid; grid-template-columns: 78px minmax(0, 1fr) 44px; align-items: center; gap: 10px; height: 17px; font-size: 12.5px; }
.bar .l { color: var(--t2); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar .tr { position: relative; height: 17px; display: flex; align-items: center; }
.bar .tr::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--grid); }
.bar .tr i { position: relative; display: block; height: 10px; width: 0; border-radius: 0 4px 4px 0; background: linear-gradient(90deg, rgba(232, 73, 47, .55), var(--joy)); transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.bar .n { font: 600 13.5px var(--num); color: var(--t1); text-align: right; }

/* 王牌赢家真视频展播 */
.spot-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 212px minmax(0, 1fr); gap: 16px; }
.phone { position: relative; height: 100%; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: #0d0f12; }
.phone video { display: block; width: 100%; height: 100%; object-fit: contain; background: #0d0f12; }
.v-ctrls {
  position: absolute;
  left: 7px;
  right: 7px;
  top: 7px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  pointer-events: none;
}
.v-btn {
  pointer-events: auto;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(14, 16, 20, .74);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s, background .15s;
}
.v-btn:hover { border-color: var(--joy-2); background: rgba(14, 16, 20, .9); }
.v-btn.locked {
  border-color: rgba(247, 120, 90, .85);
  background: rgba(232, 73, 47, .85);
  color: #fff;
}
.v-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #101319;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.v-fallback img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .36;
}
.v-fallback-msg {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  text-align: center;
  color: #f0f2f5;
  font-size: 12px;
}
.v-fallback-msg button {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .36);
  background: rgba(232, 73, 47, .88);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.v-fallback-msg button:hover { background: var(--joy); }
.vcap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 26px 10px 11px;
  font-size: 11.5px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .88));
  pointer-events: none;
}
.vcap b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vcap span { color: rgba(255, 255, 255, .75); }
.vbar { position: absolute; left: 12px; right: 12px; bottom: 6px; z-index: 3; height: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.vbar i { display: block; height: 100%; width: 0; background: var(--joy); }

.toplist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 6px; min-height: 0; }
.toplist li {
  position: relative;
  display: grid;
  grid-template-columns: 26px 38px minmax(0, 1fr) 128px;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .025);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  overflow: hidden;
  min-height: 0;
}
.toplist li:hover { background: rgba(255, 255, 255, .055); }
.toplist li.on { border-color: rgba(232, 73, 47, .75); background: linear-gradient(90deg, rgba(232, 73, 47, .2), rgba(232, 73, 47, .03)); }
.toplist li.on::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--joy); }
.toplist .rk { font: 700 21px var(--num); color: var(--t3); text-align: center; }
.toplist li:nth-child(1) .rk { color: var(--joy-2); }
.toplist li.on .rk { color: #fff; }
.toplist img { width: 38px; height: 54px; object-fit: cover; border-radius: 5px; display: block; background: #14171e; }
.toplist .tx { min-width: 0; }
.toplist .t1 { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.toplist .t1 > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.toplist .t1 .code { flex: none; font: 600 11px var(--num); color: var(--joy-2); }
.toplist .t1 .dg { flex: none; font-size: 10.5px; font-weight: 500; color: var(--t2); padding: 0 5px; border: 1px solid var(--line-2); border-radius: 4px; }
.toplist .t2 { margin-top: 2px; font-size: 11.5px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toplist .mt { text-align: right; line-height: 1.22; white-space: nowrap; }
.toplist .mt b { display: block; font: 700 18px var(--num); color: var(--t1); }
.toplist .mt span { display: block; font-size: 10.5px; color: var(--t3); }
.toplist .mt span.roas { color: var(--good); font-weight: 700; }
.toplist .pg { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--joy); }

.st {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  font-style: normal;
  flex: none;
}
.st.赢家 { background: var(--good); }
.st.疲劳 { background: var(--warn); color: #121417; }
.st.淘汰 { background: var(--crit); }
.st.观察 { background: var(--neutral); }

/* 投流效果 */
.ads #ads { flex: 1; display: flex; flex-direction: column; gap: 9px; min-height: 0; }
.kp3 { display: grid; grid-template-columns: 1.25fr 1fr .95fr; gap: 8px; }
.kp { padding: 7px 11px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, .028); min-width: 0; }
.kp small { display: block; font-size: 11px; color: var(--t3); white-space: nowrap; }
.kp b { display: block; font: 600 24px/1.18 var(--num); white-space: nowrap; margin-top: 1px; }
.kp.big b { font-size: 30px; color: #fff; }
.kp span { display: block; font-size: 10.5px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kp4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.kp4 .kp { padding: 6px 9px; }
.kp4 .kp b { font-size: 18px; }
.seg-h { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--t3); margin-bottom: 5px; }
.seg { display: flex; gap: 2px; height: 24px; }
.seg i { display: flex; align-items: center; justify-content: center; border-radius: 4px; font: 600 12px var(--num); font-style: normal; color: #fff; min-width: 0; white-space: nowrap; }
.seg i.赢家 { background: var(--good); }
.seg i.观察 { background: var(--neutral); }
.seg i.疲劳 { background: var(--warn); color: #121417; }
.seg i.淘汰 { background: var(--crit); }
.seg-lg { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 5px; font-size: 11.5px; color: var(--t2); }
.seg-lg span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.seg-lg span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.rank { display: grid; gap: 6px; margin-top: auto; }
.rank .rw { display: grid; grid-template-columns: 32px minmax(0, 1fr) 92px; align-items: center; gap: 10px; padding: 2px 4px; border-radius: 7px; }
.rank .rw:hover { background: rgba(255, 255, 255, .04); }
.rank img, .rank .ph0 { width: 32px; height: 44px; border-radius: 5px; object-fit: cover; background: #222631; display: block; }
.rank .nm { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank .ds { font-size: 10.5px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank .mb { height: 3.5px; border-radius: 2px; background: #2a2e38; margin-top: 4px; overflow: hidden; }
.rank .mb i { display: block; height: 100%; border-radius: 2px; background: var(--joy); width: 0; transition: width 1s; }
.rank .vv { text-align: right; line-height: 1.2; white-space: nowrap; }
.rank .vv b { display: block; font: 600 16px var(--num); }
.rank .vv span { font-size: 10.5px; color: var(--good); font-weight: 600; }

/* ---------- 四、素材墙 ---------- */
.wall { flex-direction: row; gap: 16px; padding: 12px 0 12px 16px; }
.wall-h { flex: none; width: 152px; display: flex; flex-direction: column; justify-content: space-between; padding-right: 6px; border-right: 1px solid var(--line); }
.wall-h h2 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--t1); }
.wall-n b { display: block; font-size: 42px; font-weight: 600; line-height: 1; color: #fff; }
.wall-n span, .wall-s { font-size: 11.5px; color: var(--t3); }
.wall-lg { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 11px; color: var(--t2); }
.wall-lg .st { min-width: 16px; height: 16px; padding: 0 4px; margin-left: 3px; }
.wall-lg .st:first-child { margin-left: 0; }
.wall-view { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.track { display: flex; gap: 10px; width: max-content; height: 100%; animation: marquee var(--dur, 240s) linear infinite; will-change: transform; }
.wall-view:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tile { position: relative; flex: none; width: 89px; height: 158px; border-radius: 8px; overflow: hidden; background: #1b1e26; cursor: pointer; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .2s; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 0 0 2px var(--joy); z-index: 2; }
.tile.赢家 { box-shadow: 0 0 0 1.5px var(--good); }
.tile .st { position: absolute; left: 5px; top: 5px; height: 16px; padding: 0 4px; font-size: 10px; }
.tile .ft { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 6px 5px; font-size: 10px; color: #fff; line-height: 1.25; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .86)); }
.tile .ft b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .ft span { font-family: var(--num); color: rgba(255, 255, 255, .75); }

.tip { position: fixed; z-index: 50; display: none; max-width: 320px; padding: 8px 11px; border: 1px solid var(--line-2); border-radius: 8px; background: rgba(16, 18, 24, .97); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); font-size: 12px; line-height: 1.55; color: var(--t2); pointer-events: none; }
.tip b { color: var(--t1); }
.empty { color: var(--t3); font-size: 13px; padding: 12px 0; }
.trial-recap { display: none; }
.ads:has(#ads > .empty) .trial-recap { display: grid; gap: 7px; border-top: 1px solid var(--line-2); margin-top: 10px; padding-top: 12px; }
.trial-recap header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.trial-recap header h2 { margin: 0; font-size: 13px; font-weight: 750; color: var(--t1); }
.trial-recap header a { font-size: 11.5px; color: var(--joy-2); font-weight: 600; white-space: nowrap; }
.trial-recap header a:hover { text-decoration: underline; }
.recap-film {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .028);
  min-width: 0;
  transition: border-color .15s, background .15s;
}
.recap-film:hover { border-color: rgba(247, 120, 90, .55); background: rgba(255, 255, 255, .06); }
.recap-film img {
  flex: none;
  width: 40px;
  height: 56px;
  border-radius: 5px;
  object-fit: cover;
  background: #222631;
  display: block;
}
.recap-film b {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--t1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recap-film small {
  flex: none;
  font: 600 12px var(--num);
  color: var(--t3);
  white-space: nowrap;
}

/* ---------- 原生高清自适应模式（<1560px 分屏窄窗默认启用；>=1180px 五阶段单行对称满排！） ---------- */
body.responsive .stage {
  position: relative;
  width: 100%;
  max-width: 1560px;
  height: auto;
  margin: 0 auto;
  transform: none !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 18px 28px;
  overflow: visible;
}
body.responsive .top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 14px;
}
body.responsive .title h1 { font-size: 21px; }
body.responsive .clock { display: none; }
body.responsive .flow {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
body.responsive .wires,
body.responsive .jams { display: none; }
body.responsive .node {
  min-height: 118px;
  padding: 12px 12px 13px 14px;
  display: flex;
  flex-direction: column;
}
body.responsive .node .ic {
  left: auto;
  right: 10px;
  bottom: 10px;
  top: auto;
  margin-top: 0;
  width: 34px;
  height: 34px;
  opacity: .24;
  pointer-events: none;
}
body.responsive .node .ic svg { width: 17px; height: 17px; }
body.responsive .node.hero .ic { display: none; }
body.responsive .node .k { font-size: 11px; gap: 6px; padding-right: 62px; }
body.responsive .node .nm { font-size: 14px; }
body.responsive .node .big { margin-top: 6px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 5px; }
body.responsive .node .big .num { font-size: 28px; }
body.responsive .node.hero .big .num { font-size: 32px; }
body.responsive .node .big small { margin-left: 0; font-size: 11px; }
body.responsive .node .big .pending-tag { margin-left: 2px; font-size: 10px; padding: 0 5px; }
body.responsive .node .s { margin-top: auto; padding-top: 6px; font-size: 11px; }
body.responsive .node.hero .s { max-width: calc(100% - 88px); }
body.responsive .node .spark { right: 10px; bottom: 9px; width: 82px; height: 46px; }
body.responsive .node .spark small { font-size: 9.5px; }
body.responsive .node .spark svg { width: 82px; height: 34px; top: 11px; }
body.responsive .node .meter { left: 14px; right: 12px; bottom: 6px; }
body.responsive .node .chip { right: 10px; top: 11px; font-size: 10.5px; }
body.responsive .proc {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
body.responsive .steps-pn { min-height: 154px; }
body.responsive .fun { display: none; }
body.responsive .main {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
body.responsive .spot {
  grid-column: 1 / -1;
  order: -1;
  min-height: 410px;
}
body.responsive .spot-body {
  grid-template-columns: 220px minmax(0, 1fr);
}
body.responsive .phone { height: 360px; }
body.responsive .col {
  grid-template-rows: auto auto;
}
body.responsive .groups { overflow: visible; }
body.responsive .cells {
  grid-template-columns: repeat(auto-fill, 16px);
  justify-content: start;
  gap: 4px;
}
body.responsive .wall { height: 186px; }

@media (max-width: 1179px) {
  body.responsive .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  body.responsive .flow .node.hero {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  body.responsive .main { grid-template-columns: minmax(0, 1fr); }
  body.responsive .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 12px; }
  body.responsive .ribbon { display: none; }
  body.responsive .spot-body { grid-template-columns: 170px minmax(0, 1fr); }
}

@media (max-width: 600px) {
  body.responsive .stage { padding: 10px 12px 24px; gap: 12px; }
  body.responsive .title h1 { font-size: 17px; }
  body.responsive .right { width: 100%; justify-content: flex-start; gap: 6px; }
  body.responsive .sbtn { height: 28px; padding: 0 8px; font-size: 11.5px; }
  body.responsive .flow { grid-template-columns: 1fr; }
  body.responsive .flow .node.hero { grid-column: auto; }
  body.responsive .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.responsive .spot-body { grid-template-columns: 1fr; gap: 12px; }
  body.responsive .phone { height: 320px; max-width: 210px; margin: 0 auto; }
  body.responsive .toplist li { grid-template-columns: 22px 34px minmax(0, 1fr) auto; gap: 8px; padding: 6px 8px; }
  body.responsive .toplist .t1 .dg { display: none; }
  body.responsive .kp3 { grid-template-columns: 1fr; }
  body.responsive .kp4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.responsive .mach { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.responsive .wall { flex-direction: column; height: auto; padding: 12px; gap: 10px; }
  body.responsive .wall-h { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 8px; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
  body.responsive .wall-n b { font-size: 28px; }
  body.responsive .wall-view { height: 158px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
