/* ═══ Scaling Law 页面样式 ═══ */

/* Chinchilla 公式 */
.chinchilla-formula { text-align: center; margin: 16px 0; }
.formula-box { display: inline-block; background: rgba(234,179,8,0.15); border: 2px solid var(--yellow); border-radius: 12px; padding: 16px 32px; }
.formula-text { font-size: 20px; font-weight: 700; color: var(--yellow); }
.chinchilla-insight { background: rgba(234,179,8,0.08); padding: 12px; border-radius: 8px; font-size: 13px; color: var(--text); line-height: 1.7; margin-top: 16px; }

/* Loss 曲线 */
.overtrain-curve { margin: 16px 0; }
.curve-chart { position: relative; height: 200px; background: var(--code-bg); border-radius: 10px; padding: 20px; margin-bottom: 12px; }
.curve-y-label { position: absolute; left: 4px; top: 50%; transform: rotate(-90deg) translateX(-50%); font-size: 11px; color: var(--text-dim); }
.curve-x-label { position: absolute; bottom: 4px; right: 20px; font-size: 11px; color: var(--text-dim); }
.curve-area { position: relative; width: 100%; height: 100%; }
.curve-point { position: absolute; }
.curve-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.curve-dot.high { background: var(--red); }
.curve-dot.med { background: #f97316; }
.curve-dot.chinchilla { background: var(--yellow); width: 12px; height: 12px; border: 2px solid #fff; }
.curve-dot.low { background: var(--green); }
.curve-dot.over { background: var(--accent); }
.curve-dot.over2 { background: var(--accent-light); }
.curve-line { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.curve-annotations { display: flex; flex-direction: column; gap: 6px; }
.ann-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-dim); }
.ann-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.chinchilla-dot { background: var(--yellow); border: 2px solid #fff; }
.over-dot { background: var(--accent); }

/* 你的配置 */
.your-config { display: flex; flex-direction: column; gap: 12px; }
.config-section { background: var(--code-bg); border-radius: 10px; padding: 14px; }
.config-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.config-items { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.config-item { display: flex; justify-content: space-between; padding: 4px 8px; background: rgba(255,255,255,0.03); border-radius: 4px; }
.config-label { font-size: 12px; color: var(--text-dim); }
.config-value { font-size: 12px; color: var(--text); font-weight: 600; }
.config-value.highlight { color: var(--green); }

/* 数据方案 */
.data-shortage { display: flex; flex-direction: column; gap: 8px; }
.ds-solution { background: var(--code-bg); border-radius: 8px; padding: 12px; display: flex; align-items: flex-start; gap: 10px; }
.ds-icon { font-size: 20px; flex-shrink: 0; }
.ds-title { font-size: 13px; font-weight: 700; color: var(--accent-light); margin-bottom: 2px; }
.ds-desc { font-size: 12px; color: var(--text-dim); }

/* 涌现能力 */
.emergence-chart { display: flex; flex-direction: column; gap: 10px; }
.emerge-row { display: grid; grid-template-columns: 80px 1fr 100px; gap: 10px; align-items: center; }
.emerge-skill { font-size: 12px; color: var(--text); font-weight: 600; text-align: right; }
.emerge-bar-track { height: 18px; background: rgba(255,255,255,0.05); border-radius: 9px; overflow: hidden; }
.emerge-fill { height: 100%; border-radius: 9px; }
.emerge-threshold { font-size: 11px; color: var(--text-dim); }
.emergence-note { background: rgba(234,179,8,0.08); padding: 12px; border-radius: 8px; font-size: 13px; color: var(--text); line-height: 1.7; margin-top: 12px; }

/* 期望 */
.expectation { display: flex; flex-direction: column; gap: 6px; }
.exp-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--code-bg); border-radius: 6px; }
.exp-icon { flex-shrink: 0; }
.exp-text { font-size: 13px; color: var(--text); }

@media (max-width: 900px) {
    .config-items { grid-template-columns: 1fr; }
    .emerge-row { grid-template-columns: 60px 1fr 80px; }
}
