/* 金油律动 (gold-oil-rhythm.css) - 单屏紧凑布局 (Single-Screen Compact Layout) */

#gold-oil-rhythm {
  height: calc(100vh - 30px);
  max-height: calc(100vh - 30px);
  overflow: hidden;
  box-sizing: border-box;
}

.gold-oil-compact-layout {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 8px 12px;
  box-sizing: border-box;
}

/* 头部单行紧凑 Header & Status Bar */
.gold-oil-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  flex-shrink: 0;
}

.gold-oil-header-bar .header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gold-oil-header-bar .header-left h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gold-oil-ratio-badge {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}

/* 图表画板区域 */
.gold-oil-chart-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  padding: 10px 12px 6px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  box-sizing: border-box;
}

/* 自适应 ECharts 容器撑满剩余全屏高度 */
.gold-oil-echarts-container {
  width: 100%;
  flex: 1;
  min-height: 0;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.3);
}
