/* 流量大屏（#/auto/screen）：固定深色，投屏用 */
body.sc-on { overflow: hidden; }
.sc { position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; gap: 12px; padding: 14px 18px 16px;
  color: #e8f1ff; font-family: var(--font); background: #040a18; overflow: hidden; color-scheme: dark; }
.sc-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(40, 110, 255, .28), transparent 60%),
    radial-gradient(800px 500px at 100% 100%, rgba(0, 200, 255, .12), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(255, 140, 40, .08), transparent 60%),
    linear-gradient(rgba(80, 140, 255, .05) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(80, 140, 255, .05) 1px, transparent 1px) 0 0 / 40px 40px,
    #040a18; }

.sc-h { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(80, 150, 255, .22); position: relative; }
.sc-h::after { content: ''; position: absolute; left: 30%; right: 30%; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, #3be8ff, transparent); box-shadow: 0 0 12px #3be8ff; }
.sc-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sc-brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 18px rgba(59, 232, 255, .35); }
.sc-brand b { display: block; font-size: clamp(18px, 1.7vw, 26px); font-weight: 700; letter-spacing: .06em;
  background: linear-gradient(90deg, #ffffff, #8fdcff 60%, #3be8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sc-brand span { font-size: 12px; color: rgba(170, 200, 255, .6); letter-spacing: .04em; }
.sc-clock { text-align: center; }
.sc-clock b { display: block; font-size: clamp(22px, 2vw, 32px); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .08em;
  color: #fff; text-shadow: 0 0 16px rgba(59, 232, 255, .6); }
.sc-clock span { font-size: 12px; color: rgba(170, 200, 255, .65); }
.sc-act { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.sc-act button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; cursor: pointer; font: inherit; font-size: 13px;
  color: #cfe3ff; background: rgba(40, 90, 200, .18); border: 1px solid rgba(80, 150, 255, .35); }
.sc-act button:hover { background: rgba(60, 120, 255, .32); color: #fff; }
.sc-act button svg { width: 14px; height: 14px; }
.sc-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(190, 215, 255, .8); }
.sc-live i { width: 8px; height: 8px; border-radius: 50%; background: #2bd47d; box-shadow: 0 0 0 0 rgba(43, 212, 125, .7); animation: scPing 2s infinite; }
.sc-live.bad i { background: #ff6b6b; animation: none; }
@keyframes scPing { 0% { box-shadow: 0 0 0 0 rgba(43, 212, 125, .6); } 70% { box-shadow: 0 0 0 9px rgba(43, 212, 125, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 212, 125, 0); } }

.sc-kpis { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 12px; }
.sc-k { position: relative; padding: 12px 16px 10px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(160deg, rgba(30, 70, 160, .32), rgba(10, 25, 60, .5)); border: 1px solid rgba(80, 150, 255, .22); }
.sc-k::before { content: ''; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: linear-gradient(#3be8ff, rgba(59, 232, 255, 0)); }
.sc-k > span { font-size: 13px; color: rgba(170, 200, 255, .75); letter-spacing: .05em; }
.sc-k > b { display: block; margin-top: 2px; font-size: clamp(22px, 2.1vw, 34px); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; color: #fff; }
.sc-k.big > b { font-size: clamp(30px, 3vw, 50px); color: #3be8ff; text-shadow: 0 0 22px rgba(59, 232, 255, .45); }
.sc-k > small { font-size: 11.5px; color: rgba(170, 200, 255, .5); }
.sc-kd { margin-top: 4px; display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; min-height: 18px; }
.sc-kd i { font-style: normal; color: rgba(170, 200, 255, .5); font-size: 11.5px; }
.sc em { font-style: normal; font-variant-numeric: tabular-nums; font-weight: 600; }
.sc-up { color: #ff6b6b; } .sc-dn { color: #2bd47d; } .sc-flat { color: rgba(170, 200, 255, .55); font-weight: 400 !important; }

.sc-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1.7fr 1.1fr; gap: 12px; }
.sc-col { display: flex; flex-direction: column; gap: 12px; min-height: 0; min-width: 0; }
.sc-p { position: relative; padding: 12px 14px; border-radius: 12px; min-height: 0; overflow: hidden;
  background: linear-gradient(170deg, rgba(20, 50, 120, .3), rgba(6, 16, 40, .55)); border: 1px solid rgba(80, 150, 255, .2); }
.sc-p::before, .sc-p::after { content: ''; position: absolute; width: 12px; height: 12px; border: 2px solid #3be8ff; opacity: .7; }
.sc-p::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: 12px; }
.sc-p::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: 12px; }
.sc-grow { flex: 1; }
.sc-ph { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.sc-ph > b { font-size: 15px; font-weight: 650; letter-spacing: .06em; padding-left: 10px; position: relative; }
.sc-ph > b::before { content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 2px; background: #3be8ff; box-shadow: 0 0 8px #3be8ff; }
.sc-ph > span { font-size: 12px; color: rgba(170, 200, 255, .6); }
.sc-num { color: #3be8ff; font-weight: 650; font-variant-numeric: tabular-nums; }
.sc-lg { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: 3px; margin: 0 4px 0 8px; }
.sc-lg.t { background: #3be8ff; } .sc-lg.y { background: repeating-linear-gradient(90deg, rgba(170, 200, 255, .7) 0 4px, transparent 4px 7px); }
.sc-lg.mt { background: #ff9a3c; height: 8px; vertical-align: 0; } .sc-lg.tb { background: #4f8cff; height: 8px; vertical-align: 0; }
.sc-none { padding: 24px 0; text-align: center; color: rgba(170, 200, 255, .5); font-size: 13px; }

.sc-yds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sc-yd { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); }
.sc-yd > span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(190, 215, 255, .8); }
.sc-yd > span i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); box-shadow: 0 0 8px var(--c); }
.sc-yd > span small { margin-left: auto; color: rgba(170, 200, 255, .5); }
.sc-yd > b { display: block; font-size: clamp(20px, 1.8vw, 28px); font-weight: 700; color: var(--c); font-variant-numeric: tabular-nums; }
.sc-yd > div { font-size: 12px; display: flex; gap: 6px; align-items: baseline; }
.sc-yd small { font-size: 11px; color: rgba(170, 200, 255, .5); }

.sc-bars { display: flex; flex-direction: column; gap: 7px; }
.sc-bar { display: grid; grid-template-columns: 22px 64px 1fr auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; font-size: 13px; }
.sc-bar > b { font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-bar > em { text-align: right; color: #fff; }
.sc-bar > small { grid-column: 3 / 5; font-size: 11px; color: rgba(170, 200, 255, .45); margin-top: -2px; }
.sc-rk { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font-size: 11.5px; font-weight: 700;
  background: rgba(80, 150, 255, .16); color: #9fc4ff; font-variant-numeric: tabular-nums; }
.sc-rk.hot { background: linear-gradient(135deg, #ffb347, #ff6a3d); color: #fff; box-shadow: 0 0 10px rgba(255, 140, 60, .45); }
.sc-track { height: 6px; border-radius: 4px; background: rgba(80, 150, 255, .12); overflow: hidden; }
.sc-track i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #1e6bff, #3be8ff); box-shadow: 0 0 10px rgba(59, 232, 255, .5);
  transition: width 1s cubic-bezier(.2, .8, .2, 1); }

.sc-rank { display: flex; flex-direction: column; gap: 8px; }
.sc-ri { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; }
.sc-rn { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.sc-rn b { font-size: 13px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-rv { text-align: right; }
.sc-rv b { display: block; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sc-rv small { font-size: 11px; color: rgba(170, 200, 255, .55); white-space: nowrap; }
.sc-rv em { font-size: 11px; }

.sc-al { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 26vh; overflow: auto; }
.sc-al li { display: grid; grid-template-columns: 8px 1fr; grid-template-rows: auto auto; column-gap: 9px; font-size: 13px; padding: 6px 8px; border-radius: 8px;
  background: rgba(255, 255, 255, .03); }
.sc-al li i { grid-row: 1 / 3; width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; }
.sc-al li b { font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-al li span { font-size: 11.5px; color: rgba(170, 200, 255, .6); }
.sc-al li.r i { background: #ff6b6b; box-shadow: 0 0 8px #ff6b6b; } .sc-al li.r span { color: #ff9b9b; }
.sc-al li.o i { background: #ffb347; box-shadow: 0 0 8px #ffb347; } .sc-al li.o span { color: #ffcf8a; }
.sc-al li.ok i { background: #2bd47d; box-shadow: 0 0 8px #2bd47d; }
.sc-al li.m { display: block; text-align: center; font-size: 12px; color: rgba(170, 200, 255, .55); }

.sc-svg { display: block; overflow: visible; }
.sc-grid { stroke: rgba(80, 150, 255, .12); stroke-width: 1; }
.sc-ax { fill: rgba(170, 200, 255, .55); font-size: 11px; font-variant-numeric: tabular-nums; }
.sc-ax.we { fill: #ffb347; }
.sc-tl { fill: none; stroke: #3be8ff; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.sc-yl { fill: none; stroke: rgba(170, 200, 255, .55); stroke-width: 1.6; stroke-dasharray: 6 5; }
.sc-now { stroke: rgba(255, 255, 255, .25); stroke-dasharray: 2 4; }
.sc-pulse { fill: rgba(59, 232, 255, .25); transform-box: fill-box; transform-origin: center; animation: scPulse 1.8s ease-out infinite; }
@keyframes scPulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.sc-bv { fill: #fff; font-size: 12px; font-weight: 650; }
.sc-ft { fill: #fff; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sc-fl { fill: rgba(190, 215, 255, .85); font-size: 12px; }
.sc-fr { fill: #3be8ff; font-size: 11.5px; font-weight: 600; }

@media (max-width: 1100px) {
  .sc { overflow: auto; }
  .sc-main { grid-template-columns: 1fr; }
  .sc-kpis { grid-template-columns: repeat(3, 1fr); }
  .sc-p.sc-grow { min-height: 300px; }
  .sc-h { grid-template-columns: 1fr auto; }
  .sc-clock { display: none; }
}
@media (max-width: 560px) { .sc-kpis { grid-template-columns: repeat(2, 1fr); } .sc { padding: 12px 16px; } }
@media (prefers-reduced-motion: reduce) { .sc-live i, .sc-pulse { animation: none; } .sc-track i { transition: none; } }
.sc-pf { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 6px; border-radius: 4px; font-style: normal; font-size: 10.5px; font-weight: 700; color: #fff; vertical-align: 1px; }
.sc-pf.mt { background: #ff9a3c; } .sc-pf.tb { background: #4f8cff; }
.sc-k.big > small { color: rgba(170, 200, 255, .7); }
