/* 86/98 寸数据可视化大屏 · 1920x1080 等比铺满
   只读展示：大数字、大图表，不做复杂交互 */

body {
  background: #17130F;
}

.stage {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  background: radial-gradient(120% 100% at 0% 0%, #FFF8F0 0%, #FBF2E7 45%, #F6EADC 100%);
}

/* 头部 */
.wall-head {
  flex: 0 0 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding: 0 var(--sp-5);
}

.wh-left {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-width: 0;
}

.wh-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  font-size: 30px;
  flex: 0 0 auto;
  box-shadow: 0 8px 20px rgba(14, 124, 134, 0.28);
}

.wh-left h1 {
  font-size: 40px;
  letter-spacing: 2px;
  color: #33291F;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wh-left p {
  font-size: 18px;
  font-weight: 400;
  color: #8A7560;
  margin-top: 4px;
  letter-spacing: 1px;
}

.wh-right {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex: 0 0 auto;
}

.wh-clock {
  font-size: 52px;
  letter-spacing: 1px;
  color: #33291F;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.wh-date {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 18px;
  font-weight: 400;
  color: #8A7560;
  text-align: right;
}

.wh-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
  color: var(--green);
}

.wh-live .dot {
  width: 10px;
  height: 10px;
}

/* KPI 行 */
.kpi-row {
  flex: 0 0 180px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.wall-kpi {
  position: relative;
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  border-radius: 22px;
  background: #fff;
  border: 1px solid #EDDFCE;
  box-shadow: 0 6px 18px rgba(120, 92, 62, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wall-kpi::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--tint, #E3F1F1);
  opacity: 0.75;
}

.wk-label {
  font-size: 20px;
  font-weight: 400;
  color: #7E6A55;
  position: relative;
  z-index: 1;
}

.wk-value {
  font-size: 58px;
  line-height: 1;
  letter-spacing: -1.5px;
  color: #2A2118;
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 1;
}

.wk-value small {
  font-size: 22px;
  font-weight: 400;
  color: #7E6A55;
  margin-left: 6px;
  letter-spacing: 0;
}

.wk-hint {
  font-size: 16px;
  font-weight: 400;
  color: #9A8570;
  position: relative;
  z-index: 1;
}

/* 面板通用 */
.wall-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
  border: 1px solid #EDDFCE;
  border-radius: 22px;
  box-shadow: 0 6px 18px rgba(120, 92, 62, 0.07);
  overflow: hidden;
}

.wp-head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 18px 24px 12px;
}

.wp-head h2 {
  font-size: 24px;
  letter-spacing: 1px;
  color: #33291F;
}

.wp-sub {
  margin-left: auto;
  font-size: 16px;
  font-weight: 400;
  color: #9A8570;
}

.wp-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 24px 18px;
}

/* 中排 */
.mid-row {
  flex: 0 0 372px;
  display: grid;
  grid-template-columns: 1.42fr 1fr;
  gap: 18px;
  min-height: 0;
}

.chart {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: stretch;
}

.chart svg {
  width: 100%;
  height: 100%;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-height: 0;
}

.metric {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 14px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #EDDFCE;
  box-shadow: 0 4px 14px rgba(120, 92, 62, 0.06);
}

.metric b {
  font-size: 44px;
  line-height: 1.05;
  color: #2A2118;
  font-variant-numeric: tabular-nums;
}

.metric b small {
  font-size: 18px;
  font-weight: 400;
  color: #7E6A55;
  margin-left: 4px;
}

.metric span {
  font-size: 17px;
  font-weight: 400;
  color: #7E6A55;
}

.metric.m-warm b { color: #B4651F; }
.metric.m-green b { color: #2C6B48; }
.metric.m-rose b { color: #A34E41; }
.metric.m-blue b { color: #2A5F80; }
.metric.m-purple b { color: #59498F; }

/* 下排 */
.bot-row {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
  min-height: 0;
}

.rank-item {
  display: grid;
  grid-template-columns: 196px 1fr 58px;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 18px;
}

.rank-name {
  color: #4A3B2C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-track {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: #F3E9DC;
  overflow: hidden;
}

.rank-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #12A0A8, #0E7C86);
}

.rank-val {
  text-align: right;
  color: #33291F;
  font-variant-numeric: tabular-nums;
}

.honor {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(100deg, #FDF3E0, #FBEAD3);
  margin-bottom: 12px;
}

.honor-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E8B75A;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex: 0 0 auto;
}

.honor-txt b {
  display: block;
  font-size: 19px;
  color: #6B4B1E;
}

.honor-txt span {
  font-size: 16px;
  font-weight: 400;
  color: #8D6A38;
}

.camp-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #F7FBFB;
  border-left: 6px solid var(--brand);
  margin-bottom: 12px;
}

.camp-line b {
  font-size: 19px;
  color: #1F4A4E;
  display: block;
}

.camp-line span {
  font-size: 16px;
  font-weight: 400;
  color: #6D8585;
}

.foot {
  display: none;
}

.wall-foot {
  flex: 0 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-5);
  font-size: 15px;
  font-weight: 400;
  color: #9A8570;
}

/* 图表文字配色（SVG 内联控制） */
.chart-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: #9A8570;
  font-size: 18px;
  font-weight: 400;
}
