:root {
  --bg: #07080a;
  --ink: #f7f2e8;
  --text: #dfd7c8;
  --muted: #a19686;
  --dim: #665f55;
  --panel: rgba(16, 17, 18, 0.94);
  --panel2: #111214;
  --panel3: rgba(28, 28, 28, 0.86);
  --line: rgba(245, 230, 205, 0.13);
  --line2: rgba(245, 230, 205, 0.24);
  --green: #51d88a;
  --cyan: #58bfff;
  --yellow: #f2c15c;
  --red: #ff6a58;
  --purple: #a98bff;
  --blue: #5c7cff;
  --orange: #ff6a22;
  --amber: #ffb84d;
  --shadow: rgba(255, 106, 34, 0.12);
  --radius: 6px;
  --control-h: 34px;
  --glow-soft: 0 22px 70px rgba(0, 0, 0, 0.34), 0 0 30px rgba(255, 106, 34, 0.055);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(255, 184, 77, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(88, 191, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 16% 0%, rgba(255, 106, 34, 0.08), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(88, 191, 255, 0.07), transparent 30%),
    radial-gradient(circle at 58% 100%, rgba(242, 193, 92, 0.045), transparent 30%),
    #07080a;
  background-size: 48px 48px, 48px 48px, auto, auto;
  color: var(--text);
  font-family: "Inter", "SF Pro Display", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 28%, rgba(0, 0, 0, 0.5)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 7px);
  z-index: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 18px;
  line-height: 1.2;
  color: var(--ink);
}

h2 {
  font-size: 26px;
  line-height: 1.2;
  color: var(--ink);
}

h3 {
  font-size: 16px;
  line-height: 1.3;
  color: var(--ink);
}

p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.growthSplash {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 106, 34, 0.18), transparent 32%),
    radial-gradient(circle at 82% 68%, rgba(88, 191, 255, 0.12), transparent 38%),
    #07080a;
  transition: opacity 0.72s ease, visibility 0.72s ease;
}

.growthSplash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.growthFlowCanvas,
.growthSplashVeil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.growthSplashVeil {
  background:
    linear-gradient(90deg, rgba(7, 8, 10, 0.94), rgba(7, 8, 10, 0.46), rgba(7, 8, 10, 0.84)),
    linear-gradient(180deg, transparent, rgba(7, 8, 10, 0.78));
}

.growthSplashInner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(255, 184, 77, 0.26);
  background: rgba(15, 15, 15, 0.62);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.56), 0 0 45px rgba(255, 106, 34, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.growthSplashLogo {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 184, 77, 0.46);
  border-radius: 50%;
  background: rgba(255, 106, 34, 0.07);
}

.growthSplashLogo img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 38%;
}

.growthSplashCopy span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.growthSplashCopy h1 {
  margin-top: 10px;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.98;
}

.growthSplashCopy p {
  margin-top: 12px;
  color: #e5d9c7;
  font-size: 18px;
}

.growthSplashSignals {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.growthSplashSignals div {
  min-height: 76px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(245, 230, 205, 0.18);
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

.growthSplashSignals strong {
  color: var(--orange);
  font-size: 18px;
}

.growthSplashSignals em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.appShell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  min-height: 100vh;
}

.sideRail {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border-right: 1px solid var(--line);
  background: rgba(9, 10, 12, 0.92);
  backdrop-filter: blur(18px);
}

.brandBlock {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 184, 77, 0.3);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 106, 34, 0.095), rgba(88, 191, 255, 0.035));
  box-shadow: 0 0 24px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.brandMark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-size: 18px;
  font-weight: 800;
  border-radius: 50%;
  background: #0a0b0d;
}

.brandLogo {
  display: block;
  border-radius: 999px;
  object-fit: cover;
  object-position: 50% 38%;
  box-shadow: 0 0 0 2px rgba(255, 106, 34, 0.14), 0 0 22px rgba(88, 191, 255, 0.14);
}

.brandBlock h1 {
  font-size: 13px;
  line-height: 1.24;
  word-break: normal;
}

.brandBlock p {
  color: var(--amber);
  font-size: 11px;
}

.toolbar {
  display: grid;
  gap: 7px;
}

.iconButton {
  width: 100%;
  min-height: 42px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid rgba(245, 230, 205, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.012));
  color: #9d9384;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.16s, color 0.16s, background 0.16s, box-shadow 0.16s;
}

.iconButton span {
  color: var(--dim);
}

.iconButton:hover,
.iconButton.active {
  border-color: rgba(255, 106, 34, 0.76);
  color: var(--amber);
  background: linear-gradient(90deg, rgba(255, 106, 34, 0.13), rgba(88, 191, 255, 0.035));
  box-shadow: 0 0 16px rgba(255, 106, 34, 0.12);
}

.runMeta {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  word-break: break-word;
}

.metaLabel,
.kicker,
.panelTag {
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.workspace {
  min-width: 0;
  padding: 18px 20px 40px;
}

.workspaceHead {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 106, 34, 0.075), transparent 38%),
    rgba(15, 15, 15, 0.76);
  box-shadow: var(--glow-soft);
  backdrop-filter: blur(16px);
}

.statusStrip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 780px;
}

.statusArea {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.commandMetrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(96px, 1fr));
  gap: 8px;
  width: min(620px, 100%);
}

.commandMetric {
  min-height: 54px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid rgba(245, 230, 205, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.commandMetric span {
  color: var(--dim);
  font-size: 10px;
}

.commandMetric strong {
  color: var(--ink);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.rangeControl {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.miniBtn,
.dateInput {
  min-height: var(--control-h);
  padding: 0 10px;
  border: 1px solid rgba(245, 230, 205, 0.16);
  border-radius: var(--radius);
  background: rgba(8, 9, 10, 0.82);
  color: var(--text);
  font: inherit;
  font-size: 12px;
}

.miniBtn {
  cursor: pointer;
}

.miniBtn:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.miniBtn:hover,
.miniBtn.primary,
.miniBtn.active {
  border-color: var(--orange);
  color: var(--amber);
  background: rgba(255, 106, 34, 0.08);
}

.dangerBtn {
  border-color: rgba(255, 95, 98, 0.72);
  color: #ff9a9c;
  background: rgba(255, 95, 98, 0.055);
}

.dangerBtn:hover:not(:disabled) {
  border-color: var(--red);
  color: #ffd4d5;
  background: rgba(255, 95, 98, 0.1);
  box-shadow: 0 0 16px rgba(255, 95, 98, 0.14);
}

.dangerBtn:disabled {
  border-color: #244234;
  color: var(--muted);
  background: #08090a;
}

.syncBadge {
  min-height: var(--control-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid rgba(245, 230, 205, 0.16);
  border-radius: var(--radius);
  background: rgba(8, 9, 10, 0.82);
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.syncBadge[data-tone="good"] {
  border-color: rgba(81, 216, 138, 0.55);
  color: var(--green);
}

.syncBadge[data-tone="warn"] {
  border-color: rgba(242, 193, 92, 0.55);
  color: var(--yellow);
}

.syncBadge[data-tone="bad"] {
  border-color: rgba(255, 95, 98, 0.55);
  color: #ff9a9c;
}

.statusPill,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(245, 230, 205, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.statusPill strong {
  margin-left: 8px;
  color: var(--text);
  font-weight: 700;
}

.statusPill.good,
.badge.good {
  border-color: rgba(81, 216, 138, 0.72);
  color: var(--green);
}

.statusPill.warn,
.badge.medium {
  border-color: rgba(255, 106, 34, 0.72);
  color: var(--orange);
}

.statusPill.bad,
.badge.high {
  border-color: rgba(255, 95, 98, 0.72);
  color: var(--red);
}

.badge.info {
  border-color: rgba(88, 191, 255, 0.68);
  color: var(--cyan);
}

.view {
  display: grid;
  gap: 16px;
}

.hidden {
  display: none;
}

.metricGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.metric {
  min-height: 112px;
  display: grid;
  grid-template-rows: 16px 34px minmax(34px, 1fr);
  align-content: start;
  gap: 7px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 17, 18, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.focusMetric {
  min-height: 116px;
  background:
    linear-gradient(180deg, rgba(255, 106, 34, 0.095), rgba(12, 12, 12, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(88, 191, 255, 0.08), transparent 45%);
}

.metric[data-tone="good"] {
  border-color: rgba(81, 216, 138, 0.42);
}

.metric[data-tone="warn"] {
  border-color: rgba(255, 106, 34, 0.5);
}

.metric[data-tone="bad"] {
  border-color: rgba(255, 95, 98, 0.48);
}

.metric[data-tone="info"] {
  border-color: rgba(88, 191, 255, 0.38);
}

.metric .label {
  height: 16px;
  min-width: 0;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.metric .value {
  min-width: 0;
  height: 34px;
  display: flex;
  align-items: center;
  color: #f3fff8;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: visible;
}

.metric .note {
  min-height: 34px;
  display: flex;
  align-items: flex-start;
  color: var(--dim);
  font-size: 11px;
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.58fr);
  gap: 16px;
}

.evenSplit {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.lowerSplit {
  grid-template-columns: minmax(320px, 0.55fr) minmax(0, 1.45fr);
}

.commentsSplit {
  grid-template-columns: 1fr;
}

.panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--glow-soft);
}

.chartPanel {
  position: relative;
}

.panelHead {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
}

.controlRow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.search {
  min-height: 36px;
  width: min(300px, 100%);
  padding: 0 10px;
  border: 1px solid rgba(245, 230, 205, 0.16);
  border-radius: var(--radius);
  background: rgba(8, 9, 10, 0.82);
  color: var(--text);
  font: inherit;
  outline: none;
}

.search:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(255, 106, 34, 0.18);
}

.compactSelect {
  width: 142px;
}

.panel > canvas,
.panel > .bars,
.panel > .alertList,
.panel > .compareGrid,
.panel > .miniMetricGrid {
  padding: 14px;
}

.panel > canvas {
  width: 100%;
  display: block;
}

.echartStage {
  width: 100%;
  height: 450px;
  min-height: 450px;
  padding: 2px 10px 10px;
}

.echartStage:empty::before {
  content: "暂无趋势数据";
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--dim);
  font-size: 12px;
}

.klineSummary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 14px 0;
}

.klineStat {
  min-height: 70px;
  display: grid;
  grid-template-rows: 14px 22px 16px;
  align-content: start;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid rgba(245, 230, 205, 0.14);
  border-radius: var(--radius);
  background: rgba(10, 11, 12, 0.72);
}

.klineStat span {
  min-width: 0;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.klineStat strong {
  min-width: 0;
  display: flex;
  align-items: center;
  color: #f2fff6;
  font-size: 15px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: visible;
}

.klineStat em {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  color: var(--dim);
  font-size: 10px;
  font-style: normal;
  line-height: 1.25;
  overflow: hidden;
}

.klineStat.good {
  border-color: rgba(81, 216, 138, 0.5);
}

.klineStat.good strong {
  color: var(--green);
}

.klineStat.bad {
  border-color: rgba(255, 95, 98, 0.48);
}

.klineStat.bad strong {
  color: #ff9a9c;
}

.klineStat.warn {
  border-color: rgba(255, 106, 34, 0.46);
}

.klineStat.warn strong {
  color: var(--yellow);
}

.klineStat.info {
  border-color: rgba(88, 191, 255, 0.42);
}

.klineStat.info strong {
  color: var(--cyan);
}

.chartHint {
  grid-column: 1 / -1;
  min-height: 24px;
  display: flex;
  align-items: center;
  padding: 2px 4px;
  color: var(--dim);
  font-size: 11px;
  line-height: 1.45;
}

.bars {
  display: grid;
  gap: 14px;
}

.barRow {
  display: grid;
  gap: 8px;
}

.barMeta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.barTrack {
  height: 16px;
  border: 1px solid rgba(245, 230, 205, 0.14);
  border-radius: 999px;
  background: rgba(8, 9, 10, 0.84);
  overflow: hidden;
}

.barFill {
  height: 100%;
  background: var(--green);
  box-shadow: 0 0 16px currentColor;
  border-radius: inherit;
}

.sectionFocusCard {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(245, 230, 205, 0.14);
  border-radius: var(--radius);
  background: rgba(10, 11, 12, 0.72);
}

.sectionFocusCard.video {
  border-color: rgba(255, 106, 34, 0.42);
}

.sectionFocusCard.live {
  border-color: rgba(88, 191, 255, 0.4);
}

.sectionFocusHead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.sectionFocusHead span {
  color: var(--muted);
  font-size: 12px;
}

.sectionFocusHead strong {
  color: #f3fff8;
  font-size: 20px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.sectionFocusStats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.sectionFocusStats span {
  min-width: 0;
  min-height: 50px;
  display: grid;
  grid-template-rows: 13px 20px;
  align-content: start;
  gap: 4px;
  padding: 7px 8px;
  border: 1px solid rgba(143, 166, 152, 0.22);
  background: rgba(255, 255, 255, 0.018);
  color: var(--muted);
  font-size: 10px;
}

.sectionFocusStats strong {
  min-width: 0;
  display: flex;
  align-items: center;
  margin-top: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: visible;
}

.compareGrid,
.miniMetricGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.miniMetricGrid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  border-bottom: 1px solid var(--line);
}

.compareItem,
.miniMetric {
  display: grid;
  grid-template-rows: 16px 24px 16px;
  align-content: start;
  gap: 4px;
  min-height: 82px;
  padding: 10px;
  border: 1px solid rgba(245, 230, 205, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
}

.compareItem span,
.miniMetric span {
  min-width: 0;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compareItem strong,
.miniMetric strong {
  min-width: 0;
  display: flex;
  align-items: center;
  color: #f3fff8;
  font-size: 20px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: visible;
}

.compareItem em,
.miniMetric em {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  color: var(--dim);
  font-size: 11px;
  font-style: normal;
  line-height: 1.25;
  overflow: hidden;
}

.compareItem.good,
.miniMetric.good {
  border-color: rgba(81, 216, 138, 0.42);
}

.compareItem.bad,
.miniMetric.bad {
  border-color: rgba(255, 95, 98, 0.48);
}

.compareItem.warn,
.miniMetric.warn {
  border-color: rgba(255, 106, 34, 0.46);
}

.compareItem.info,
.miniMetric.info {
  border-color: rgba(88, 191, 255, 0.42);
}

.awemeBars {
  border-bottom: 1px solid var(--line);
}

.awemeBarRow {
  display: grid;
  gap: 9px;
  padding: 4px 0 16px;
  border-bottom: 1px solid rgba(26, 48, 36, 0.82);
}

.awemeBarRow:last-child {
  border-bottom: none;
}

.awemeTrack {
  display: flex;
  max-width: 100%;
  min-width: 4px;
}

.awemeTrack .barFill {
  box-shadow: none;
}

.videoSeg {
  background: var(--green);
}

.liveSeg {
  background: var(--cyan);
}

.dailyValueChart {
  min-width: 0;
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.dailyValueChart.empty {
  color: var(--dim);
  font-size: 11px;
}

.dailyValueHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--dim);
  font-size: 11px;
}

.dailyValueHead strong {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
}

.dailyValueHead strong.good {
  color: var(--green);
}

.dailyValueHead strong.bad {
  color: #ff9a9c;
}

.dailyValueScroller {
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.dailyValueScroller::-webkit-scrollbar {
  display: none;
}

.dailyValueGrid {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 134px;
  display: grid;
  align-items: end;
  gap: 5px;
  padding: 12px 14px 7px;
  border: 1px solid #193125;
  background:
    repeating-linear-gradient(90deg, rgba(81, 216, 138, 0.045) 0 1px, transparent 1px 8.33%),
    linear-gradient(180deg, rgba(81, 216, 138, 0.035), rgba(0, 0, 0, 0.08)),
    rgba(3, 7, 5, 0.68);
  box-shadow: inset 0 0 18px rgba(81, 216, 138, 0.055);
}

.dailyValueItem {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  grid-template-rows: 24px 78px 17px;
  align-items: end;
  justify-items: center;
  gap: 3px;
}

.dailyValueAmount {
  color: #bde8cc;
  display: block;
  min-width: max-content;
  padding: 0 1px;
  font-size: 10.5px;
  line-height: 16px;
  height: 16px;
  text-align: center;
  white-space: nowrap;
  overflow: visible;
  text-rendering: geometricPrecision;
  font-variant-numeric: tabular-nums;
}

.dailyValueBarBox {
  width: 100%;
  height: 78px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-bottom: 1px solid rgba(81, 216, 138, 0.18);
  background: linear-gradient(180deg, transparent 0 48%, rgba(81, 216, 138, 0.055) 48% 49%, transparent 49% 100%);
}

.dailyValueBar {
  width: min(100%, 32px);
  min-height: 4px;
  background: linear-gradient(180deg, rgba(81, 216, 138, 0.94), rgba(32, 142, 78, 0.84));
  box-shadow: 0 0 10px rgba(81, 216, 138, 0.18);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.dailyValueItem:hover .dailyValueBar {
  filter: brightness(1.16);
  transform: translateY(-1px);
}

.dailyValueItem.peak .dailyValueBar {
  background: linear-gradient(180deg, rgba(242, 193, 92, 0.94), rgba(81, 216, 138, 0.8));
}

.dailyValueItem.peak .dailyValueAmount,
.dailyValueItem.peak .dailyValueDate {
  color: var(--yellow);
}

.dailyValueItem.latest .dailyValueAmount,
.dailyValueItem.latest .dailyValueDate {
  color: var(--cyan);
}

.dailyValueItem.latest .dailyValueBar {
  background: linear-gradient(180deg, rgba(88, 191, 255, 0.96), rgba(28, 171, 188, 0.82));
  box-shadow: 0 0 14px rgba(88, 191, 255, 0.38);
}

.dailyValueChart.compact .dailyValueGrid {
  min-width: 0;
  min-height: 122px;
  gap: 4px;
  padding: 9px 12px 6px;
}

.dailyValueChart.compact .dailyValueItem {
  grid-template-rows: 22px 70px 15px;
  gap: 2px;
}

.dailyValueChart.compact .dailyValueAmount {
  font-size: 9.5px;
  line-height: 15px;
  height: 15px;
}

.dailyValueChart.compact .dailyValueBarBox {
  height: 70px;
}

.dailyValueChart.compact .dailyValueBar {
  width: min(100%, 30px);
}

.dailyValueChart.roomy .dailyValueGrid {
  min-height: 142px;
  padding: 13px 14px 8px;
}

.dailyValueChart.roomy .dailyValueItem {
  grid-template-rows: 25px 86px 18px;
}

.dailyValueChart.roomy .dailyValueBarBox {
  height: 86px;
}

.dailyValueChart.roomy .dailyValueBar {
  width: min(100%, 42px);
}

.dailyValueChart.roomy .dailyValueAmount {
  font-size: 10.5px;
}

.dailyValueChart.roomy .dailyValueDate {
  font-size: 10px;
  transform: rotate(-10deg);
}

.dailyValueChart.dense .dailyValueAmount {
  opacity: 0;
}

.dailyValueChart.dense .dailyValueItem.peak .dailyValueAmount,
.dailyValueChart.dense .dailyValueItem.latest .dailyValueAmount {
  opacity: 1;
}

.dailyValueDate {
  color: var(--dim);
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
  transform: rotate(-18deg);
  transform-origin: center center;
}

.dailyValueChart.compact .dailyValueDate {
  font-size: 9px;
  transform: rotate(-14deg);
}

.dailyValueFooter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.dailyValueFooter span {
  min-width: 0;
  min-height: 38px;
  display: grid;
  grid-template-rows: 13px 17px;
  align-content: center;
  gap: 2px;
  padding: 6px 7px;
  border: 1px solid rgba(88, 191, 255, 0.18);
  background: rgba(88, 191, 255, 0.035);
  color: var(--dim);
  font-size: 10px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dailyValueFooter strong {
  display: flex;
  align-items: center;
  color: #dfffee;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.videoGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
}

.videoTrendCard {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #1e3428;
  background: rgba(3, 7, 5, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  overflow: visible;
}

.videoCardHead {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.videoCardHead h4 {
  margin: 0;
  color: #f2fff6;
  font-size: 14px;
  line-height: 1.45;
}

.videoCardHead p {
  margin-top: 4px;
  color: var(--dim);
  font-size: 10px;
  line-height: 1.4;
  word-break: break-all;
}

.videoMetricRow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 6px;
}

.videoMetricRow div {
  min-width: 0;
  min-height: 48px;
  display: grid;
  grid-template-rows: 13px 19px;
  align-content: start;
  gap: 4px;
  padding: 7px 8px;
  border: 1px solid #20362a;
  background: rgba(255, 255, 255, 0.018);
}

.videoMetricRow span {
  min-width: 0;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.videoMetricRow strong {
  min-width: 0;
  display: flex;
  align-items: center;
  margin-top: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.videoMetricRow .good {
  border-color: rgba(81, 216, 138, 0.48);
}

.videoMetricRow .good strong {
  color: var(--green);
}

.videoMetricRow .warn {
  border-color: rgba(242, 193, 92, 0.48);
}

.videoMetricRow .warn strong {
  color: var(--yellow);
}

.videoMetricRow .bad {
  border-color: rgba(255, 95, 98, 0.48);
}

.videoMetricRow .bad strong {
  color: #ff9a9c;
}

.realtimeKline {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(88, 191, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(88, 191, 255, 0.045), rgba(81, 216, 138, 0.018)),
    rgba(2, 6, 5, 0.72);
  box-shadow: inset 0 0 18px rgba(88, 191, 255, 0.05);
}

.realtimeKline.empty {
  min-height: 62px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  color: var(--dim);
  font-size: 11px;
}

.realtimeKline.empty strong {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.realtimeKlineHead {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}

.realtimeKlineHead span {
  color: var(--cyan);
  font-weight: 800;
  white-space: nowrap;
}

.realtimeKlineHead strong {
  min-width: 0;
  color: #dfffee;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.realtimeKlineScroller {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #173326;
  background:
    repeating-linear-gradient(90deg, rgba(88, 191, 255, 0.04) 0 1px, transparent 1px 48px),
    linear-gradient(180deg, rgba(81, 216, 138, 0.025), rgba(0, 0, 0, 0.14)),
    rgba(1, 4, 3, 0.74);
  scrollbar-width: thin;
  scrollbar-color: rgba(88, 191, 255, 0.42) rgba(255, 255, 255, 0.04);
}

.realtimeKlineScroller::-webkit-scrollbar {
  height: 8px;
}

.realtimeKlineScroller::-webkit-scrollbar-thumb {
  background: rgba(88, 191, 255, 0.35);
}

.realtimeKlineSvg {
  width: 100%;
  height: 178px;
  display: block;
  overflow: visible;
}

.rtKlineAxis,
.rtKlineGrid {
  stroke: rgba(81, 216, 138, 0.18);
  stroke-width: 1;
  shape-rendering: crispEdges;
}

.rtKlineGrid {
  stroke: rgba(88, 191, 255, 0.13);
  stroke-dasharray: 4 5;
}

.rtKlineLine {
  stroke: var(--yellow);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(242, 193, 92, 0.3));
}

.rtKlineAmount,
.rtKlineTime,
.rtKlineRoi {
  font-family: Consolas, Monaco, "Microsoft YaHei UI", "Microsoft YaHei", monospace;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.rtKlineAmount {
  fill: #c9f7d9;
  font-size: 10px;
  font-weight: 800;
}

.rtKlineRoi {
  fill: var(--yellow);
  font-size: 9.5px;
  font-weight: 800;
}

.rtKlineRoiPeak {
  fill: #ff9a9c;
  font-size: 10.5px;
  font-weight: 900;
}

.rtKlineTime {
  fill: var(--dim);
  font-size: 10px;
}

.realtimeKlineFoot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.realtimeKlineFoot span {
  min-width: 0;
  min-height: 34px;
  display: grid;
  grid-template-rows: 12px 16px;
  align-content: center;
  gap: 2px;
  padding: 5px 7px;
  border: 1px solid rgba(81, 216, 138, 0.16);
  background: rgba(81, 216, 138, 0.025);
  color: var(--dim);
  font-size: 10px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.realtimeKlineFoot strong {
  min-width: 0;
  color: #f4fff7;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
}

.emptyState {
  padding: 24px;
  color: var(--muted);
}

.alertList {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}

.alert {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(146, 187, 166, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.016);
}

.alert p {
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alert .alertMeta {
  color: var(--cyan);
  font-family: Consolas, "Microsoft YaHei UI", monospace;
  opacity: 0.88;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

th,
td {
  padding: 9px 11px;
  border-bottom: 1px solid #18261f;
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #09120e;
  color: var(--cyan);
  font-weight: 700;
  white-space: nowrap;
}

td {
  color: #c9e9d5;
}

tbody tr:hover td {
  background: rgba(81, 216, 138, 0.035);
}

.tableWrap {
  max-height: 620px;
  overflow: auto;
}

.widePanel .tableWrap {
  max-height: 430px;
}

.number {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.videoName {
  min-width: 340px;
  max-width: 560px;
}

.commentText {
  min-width: 280px;
  max-width: 920px;
  line-height: 1.55;
}

.chartLegend,
.actionHint {
  border-top: 1px solid #18261f;
  color: var(--muted);
  font-size: 11px;
}

.chartLegend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 10px 14px 0;
}

.chartLegend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.legendDot {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 999px;
}

.legendDot.up {
  background: var(--green);
  box-shadow: 0 0 8px rgba(81, 216, 138, 0.44);
}

.legendDot.down {
  background: var(--red);
  box-shadow: 0 0 8px rgba(255, 95, 98, 0.35);
}

.legendDot.warn {
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(242, 193, 92, 0.34);
}

.legendDot.sample {
  background: transparent;
  border: 1px solid var(--yellow);
  transform: rotate(45deg);
}

.legendDot.video {
  background: rgba(81, 216, 138, 0.72);
}

.legendDot.live {
  background: rgba(88, 191, 255, 0.78);
}

.legendLine {
  width: 18px;
  height: 1px;
  display: inline-block;
}

.legendLine.target {
  border-top: 1px dashed var(--yellow);
}

.legendLine.overall {
  border-top: 3px solid var(--green);
  box-shadow: 0 0 8px rgba(81, 216, 138, 0.34);
}

.legendLine.net {
  border-top: 2px dashed var(--cyan);
}

.legendLine.ma3 {
  border-top: 2px solid rgba(88, 191, 255, 0.68);
}

.legendLine.ma7 {
  border-top: 2px solid rgba(242, 193, 92, 0.72);
}

.chartTooltip {
  position: absolute;
  z-index: 5;
  width: 280px;
  padding: 12px;
  border: 1px solid rgba(81, 216, 138, 0.42);
  border-radius: var(--radius);
  background: rgba(3, 7, 5, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36), 0 0 18px rgba(81, 216, 138, 0.12);
  color: var(--text);
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.chartTooltip.hidden {
  display: none;
}

.tipHead {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #1f3328;
}

.tipHead strong {
  color: #f2fff6;
}

.tipHead span {
  color: var(--cyan);
  font-size: 11px;
}

.tipGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 9px;
  font-size: 11px;
}

.tipGrid span {
  color: var(--muted);
}

.tipGrid b {
  display: block;
  margin-top: 2px;
  color: var(--text);
}

.actionHint {
  min-height: 34px;
  padding: 10px 14px;
  line-height: 1.45;
}

.actionHint[data-tone="good"] {
  color: var(--green);
}

.actionHint[data-tone="warn"] {
  color: var(--yellow);
}

.actionHint[data-tone="bad"] {
  color: #ff9a9c;
}

.mutedLine {
  color: var(--dim);
  font-size: 11px;
  line-height: 1.5;
  margin-top: 4px;
  word-break: break-all;
}

.miniTrend {
  min-width: 116px;
  display: grid;
  gap: 5px;
}

.miniTrend.empty {
  color: var(--dim);
  font-size: 11px;
}

.sparkBars {
  height: 38px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 3px 4px;
  border: 1px solid rgba(146, 187, 166, 0.18);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
}

.sparkBars span {
  flex: 1;
  min-width: 3px;
  background: rgba(81, 216, 138, 0.56);
}

.sparkBars span.latest {
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(88, 191, 255, 0.44);
}

.trendNote {
  color: var(--dim);
  font-size: 10px;
  white-space: nowrap;
}

.strongText {
  color: #f2fff6;
  font-weight: 700;
  line-height: 1.4;
}

.prose {
  display: grid;
  gap: 0;
}

.prose > #planList,
.ruleBox {
  padding: 16px;
}

.planItem {
  padding: 12px 0;
  border-bottom: 1px solid #18261f;
  color: #c9e9d5;
  line-height: 1.7;
}

.ruleBox {
  border-top: 1px solid var(--line);
  background: rgba(88, 191, 255, 0.025);
}

.releaseBox {
  border-top: none;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(81, 216, 138, 0.055), rgba(88, 191, 255, 0.025)),
    rgba(255, 255, 255, 0.018);
}

.releaseBox h3 {
  color: var(--green);
}

.releaseBox p {
  max-width: 920px;
  color: #bddfc9;
}

.releaseLog {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(146, 187, 166, 0.22);
  border-radius: var(--radius);
  background: rgba(3, 7, 5, 0.78);
}

.releaseLog p {
  margin-top: 8px;
  color: #d8ffe8;
}

.releaseLog strong {
  color: var(--yellow);
}

.releaseLabel {
  color: var(--cyan);
  font-size: 11px;
}

.toggleLine {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  margin-top: 8px;
  padding: 0 12px;
  border: 1px solid rgba(146, 187, 166, 0.2);
  border-radius: var(--radius);
  background: rgba(3, 7, 5, 0.82);
  color: var(--text);
  cursor: pointer;
}

.toggleLine input {
  accent-color: var(--green);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #08090a;
}

::-webkit-scrollbar-thumb {
  background: #3d2f25;
  border: 2px solid #08090a;
}

::-webkit-scrollbar-thumb:hover {
  background: #8f4c22;
}

@media (max-width: 1280px) {
  .appShell {
    grid-template-columns: 1fr;
  }

  .sideRail {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .toolbar {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .iconButton {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 2px;
  }

  .statusArea {
    width: 100%;
  }

  .runMeta {
    margin-top: 0;
  }

  .metricGrid {
    grid-template-columns: repeat(4, minmax(188px, 1fr));
  }
}

@media (max-width: 980px) {
  .workspaceHead,
  .panelHead {
    align-items: flex-start;
    flex-direction: column;
  }

  .workspaceHead {
    display: grid;
  }

  .statusStrip,
  .statusArea,
  .controlRow {
    justify-items: start;
    justify-content: flex-start;
  }

  .statusStrip,
  .rangeControl {
    width: 100%;
  }

  .commandMetrics {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    width: 100%;
  }

  .split,
  .evenSplit,
  .lowerSplit,
  .commentsSplit {
    grid-template-columns: 1fr;
  }

  .metricGrid {
    grid-template-columns: repeat(2, minmax(188px, 1fr));
  }

  .miniMetricGrid {
    grid-template-columns: repeat(2, minmax(170px, 1fr));
  }

  .videoGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .workspace,
  .sideRail {
    padding: 12px;
  }

  h2 {
    font-size: 22px;
  }

  .brandBlock {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .brandMark {
    width: 52px;
    height: 52px;
  }

  .toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .rangeControl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rangeControl .syncBadge,
  .rangeControl .primary {
    grid-column: 1 / -1;
  }

  .miniBtn,
  .dateInput,
  .syncBadge {
    width: 100%;
  }

  .metricGrid {
    grid-template-columns: 1fr;
  }

  .growthSplashInner {
    grid-template-columns: 1fr;
    padding: 22px;
    width: min(480px, calc(100vw - 24px));
  }

  .growthSplashLogo {
    width: 82px;
    height: 82px;
  }

  .growthSplashLogo img {
    width: 66px;
    height: 66px;
  }

  .growthSplashSignals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .commandMetrics {
    grid-template-columns: 1fr;
  }

  .compareGrid,
  .miniMetricGrid {
    grid-template-columns: 1fr;
  }

  .sectionFocusStats {
    grid-template-columns: 1fr;
  }

  .metric .value {
    font-size: 21px;
  }

  .echartStage {
    height: 350px;
    min-height: 350px;
    padding: 0 8px 8px;
  }

  .klineSummary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dailyValueChart.compact .dailyValueGrid {
    min-height: 116px;
    gap: 2px;
    padding: 9px 10px 6px;
  }

  .dailyValueChart.compact .dailyValueItem {
    grid-template-rows: 21px 64px 14px;
  }

  .dailyValueChart.compact .dailyValueAmount,
  .dailyValueChart.compact .dailyValueDate {
    opacity: 0;
  }

  .dailyValueChart.compact .dailyValueItem:first-child .dailyValueDate,
  .dailyValueChart.compact .dailyValueItem.peak .dailyValueAmount,
  .dailyValueChart.compact .dailyValueItem.peak .dailyValueDate,
  .dailyValueChart.compact .dailyValueItem.latest .dailyValueAmount,
  .dailyValueChart.compact .dailyValueItem.latest .dailyValueDate {
    opacity: 1;
  }

  .dailyValueChart.compact .dailyValueBarBox {
    height: 64px;
  }

  .dailyValueChart.compact .dailyValueBar {
    width: min(100%, 20px);
  }

  .dailyValueFooter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .videoGrid {
    padding: 12px;
  }

  .videoMetricRow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .realtimeKlineHead {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .realtimeKlineHead strong {
    width: 100%;
    text-align: left;
  }

  .realtimeKlineFoot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .videoName,
  .commentText {
    min-width: 240px;
  }
}

