/* =====================================================================
 * 36 · 温奶器温控对照 —— 独立皮肤「柔软圆」
 * 配色：奶油黄 / 柔粉 / 可可棕；布局：圆形温度盘 + 三段时间卡 + 双列说明；
 * 字体层级：圆润无衬线 700 标题 + 56px 温度数字 + 12px 疏排说明，圆角 28px。
 * ===================================================================== */

.hg4-p36 {
    --p36-bg: #fdf8ee;
    --p36-surface: #fffdf7;
    --p36-surface2: #fbf1de;
    --p36-ink: #4a3527;
    --p36-sub: #7b6453;
    --p36-muted: #a9947f;
    --p36-line: #eddcc2;
    --p36-accent: #d98a5b;
    --p36-accent2: #e8a9a0;
    --p36-yellow: #f6d98a;
    --p36-green: #6f9e7c;
    --p36-bad: #c15c4a;
    --p36-soft: rgba(217, 138, 91, .12);
    --p36-badbg: rgba(193, 92, 74, .12);
    --p36-on: #fffdf7;
    --p36-r: 28px;
    --p36-shadow: 0 16px 40px rgba(120, 84, 50, .09);
    --p36-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
    --p36-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
    background: var(--p36-bg); color: var(--p36-ink);
    font-family: var(--p36-sans); font-size: 15px; line-height: 1.86;
    min-height: 60vh; padding: 0 0 72px; -webkit-font-smoothing: antialiased;
}
:root[data-theme="dark"] .hg4-p36 {
    --p36-bg: #191209; --p36-surface: #22190f; --p36-surface2: #2b2014;
    --p36-ink: #f7ead6; --p36-sub: #cfb699; --p36-muted: #9c8367;
    --p36-line: #3d2d1b; --p36-accent: #f0ab7d; --p36-accent2: #f3bdb6;
    --p36-yellow: #b99754; --p36-green: #8dc5a0; --p36-bad: #f0937c;
    --p36-soft: rgba(240, 171, 125, .14); --p36-badbg: rgba(240, 147, 124, .14);
    --p36-on: #1b1208; --p36-shadow: 0 16px 40px rgba(0, 0, 0, .38);
}
.hg4-p36 *, .hg4-p36 *::before, .hg4-p36 *::after { box-sizing: border-box; }
.hg4-p36 h1, .hg4-p36 h2, .hg4-p36 h3 { margin: 0; font-weight: 800; letter-spacing: -.01em; line-height: 1.4; }
.hg4-p36 p { margin: 0 0 12px; }
.hg4-p36 strong, .hg4-p36 b { font-weight: 750; color: var(--p36-ink); }
.hg4-p36 a { color: var(--p36-accent); text-decoration: none; }
.hg4-p36 a:hover { text-decoration: underline; }
.hg4-p36 button { cursor: pointer; font-family: inherit; }
.hg4-p36 [hidden] { display: none !important; }
.hg4-p36 img { max-width: 100%; height: auto; }
.p36-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.p36-wrap { max-width: 1220px; margin: 0 auto; padding: 0 24px; }

/* ---------- 首屏 ---------- */
.p36-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: center; padding: 38px 0 30px; border-bottom: 1px solid var(--p36-line); }
.p36-kicker { display: inline-block; font: 700 11px/1.4 var(--p36-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--p36-accent); background: var(--p36-yellow); border-radius: 99px; padding: 6px 15px; }
:root[data-theme="dark"] .p36-kicker { color: #241708; }
.p36-hero h1 { font-size: clamp(29px, 3.4vw, 44px); line-height: 1.28; letter-spacing: -.025em; margin: 18px 0 13px; color: var(--p36-ink); background: none; -webkit-text-fill-color: currentColor; }
.p36-lede { font-size: 15.5px; line-height: 1.96; color: var(--p36-sub); max-width: 58ch; margin: 0 0 16px; }
.p36-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; }
.p36-points li { font-size: 12.5px; color: var(--p36-sub); background: var(--p36-surface); border: 1px solid var(--p36-line); border-radius: 99px; padding: 5px 13px; }
.p36-hero-note { font-size: 12.5px; color: var(--p36-muted); margin: 0; }
.p36-console { background: var(--p36-surface); border: 1px solid var(--p36-line); border-radius: var(--p36-r); box-shadow: var(--p36-shadow); padding: 22px 24px 24px; }
.p36-dial-wrap { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.p36-dial {
    width: 132px; height: 132px; flex: none; border-radius: 50%;
    background: conic-gradient(var(--p36-accent2) 0 var(--p36-dial, 27%), var(--p36-yellow) var(--p36-dial, 27%) 100%);
    display: grid; place-items: center;
    box-shadow: inset 0 0 0 1px var(--p36-line);
}
.p36-dial-in { width: 106px; height: 106px; border-radius: 50%; background: var(--p36-surface); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.p36-dial-in b { font: 800 40px/1.1 var(--p36-mono); color: var(--p36-accent); font-variant-numeric: tabular-nums; }
.p36-dial-in span { font-size: 10.5px; color: var(--p36-muted); margin-top: 3px; }
.p36-dial-note b { font-size: 14px; }
.p36-dial-note p { font-size: 12.5px; color: var(--p36-sub); line-height: 1.8; margin: 5px 0 0; }
.p36-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.p36-field { display: block; font-size: 12.5px; font-weight: 700; color: var(--p36-ink); }
.p36-field > span { display: block; margin-bottom: 5px; }
.p36-field i { font-style: normal; font-weight: 400; font-size: 11px; color: var(--p36-muted); margin-left: 4px; }
.p36-input { width: 100%; font-family: inherit; font-size: 14px; color: var(--p36-ink); background: var(--p36-surface2); border: 1px solid var(--p36-line); border-radius: 12px; padding: 9px 12px; outline: none; }
.p36-input:focus { border-color: var(--p36-accent); box-shadow: 0 0 0 3px var(--p36-soft); }
.p36-textarea { resize: vertical; min-height: 106px; line-height: 1.7; }
input[type="range"].p36-input { padding: 6px 2px; accent-color: var(--p36-accent); background: transparent; border: 0; }
.p36-output { display: inline-block; font: 700 12px/1.5 var(--p36-mono); color: var(--p36-accent); margin-top: 4px; }
.p36-console-btns, .p36-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.p36-btn { appearance: none; border: 1px solid var(--p36-line); background: var(--p36-surface2); color: var(--p36-ink); font-size: 13.5px; font-weight: 700; border-radius: 99px; padding: 10px 19px; transition: transform .14s, filter .14s; }
.p36-btn:hover { transform: translateY(-1px); border-color: var(--p36-accent); }
.p36-btn--main { background: var(--p36-accent); color: var(--p36-on); border-color: var(--p36-accent); }
:root[data-theme="dark"] .p36-btn--main { color: #1b1208; }
.hg4-err.p36-err { font-size: 12.5px; color: var(--p36-bad); min-height: 0; margin: 8px 0 0; }
.hg4-err.p36-err:empty { display: none; }
.p36-scope { margin: 20px 0 0; padding: 15px 18px; border-radius: 18px; background: var(--p36-yellow); font-size: 13px; line-height: 1.92; color: #5b432c; }
:root[data-theme="dark"] .p36-scope { background: #3a2a15; color: #e6cfae; }

/* ---------- 结果 ---------- */
.p36-result, .p36-extra, .p36-content { padding: 28px 0; border-bottom: 1px solid var(--p36-line); }
.p36-sec-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.p36-sec-no { font: 700 10.5px/1 var(--p36-mono); letter-spacing: .14em; color: var(--p36-accent); background: var(--p36-soft); border-radius: 99px; padding: 6px 10px; }
.p36-sec-head h2 { font-size: 21px; }
.p36-sec-head small { font-size: 12px; color: var(--p36-muted); font-weight: 400; }
.p36-empty { display: flex; align-items: center; gap: 16px; background: var(--p36-surface); border: 2px dashed var(--p36-line); border-radius: var(--p36-r); padding: 26px 22px; color: var(--p36-muted); font-size: 14px; }
.p36-empty b { font-size: 34px; font-weight: 400; }
.p36-verdict { background: var(--p36-accent2); color: #4a2b24; border-radius: var(--p36-r); padding: 18px 22px; margin-bottom: 16px; }
:root[data-theme="dark"] .p36-verdict { background: #4a2f28; color: #f7e3d6; }
.p36-verdict > span { display: block; font: 700 10.5px/1.5 var(--p36-mono); letter-spacing: .16em; text-transform: uppercase; opacity: .72; }
.p36-verdict strong { display: block; font-size: 20px; font-weight: 800; margin: 5px 0 6px; color: inherit; }
.p36-verdict p { font-size: 13.5px; line-height: 1.85; margin: 0; color: inherit; }
.p36-timecards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 16px; }
.p36-timecard { background: var(--p36-surface); border: 1px solid var(--p36-line); border-radius: var(--p36-r); padding: 18px 19px; }
.p36-timecard > span { font: 700 10px/1.5 var(--p36-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--p36-muted); }
.p36-timecard > b { display: block; font: 800 25px/1.35 var(--p36-mono); color: var(--p36-accent); margin: 9px 0 8px; }
.p36-timecard p { font-size: 13px; line-height: 1.82; color: var(--p36-sub); margin: 0; }
.p36-two { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.p36-panel { background: var(--p36-surface); border: 1px solid var(--p36-line); border-radius: 22px; padding: 17px 20px; }
.p36-panel h3 { font-size: 16px; margin-bottom: 10px; }
.p36-panel h3 small { display: block; font-size: 11.5px; font-weight: 400; color: var(--p36-muted); margin-top: 3px; }
.p36-list { list-style: none; margin: 0; padding: 0; }
.p36-list li { position: relative; padding: 8px 0 8px 22px; font-size: 13.5px; line-height: 1.9; color: var(--p36-sub); border-bottom: 1px dashed var(--p36-line); }
.p36-list li:last-child { border-bottom: 0; }
.p36-list li::before { content: "●"; position: absolute; left: 2px; top: 8px; color: var(--p36-accent2); font-size: 9px; }
.p36-list strong { color: var(--p36-ink); }
.p36-subh { font-size: 16.5px; margin: 24px 0 11px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.p36-subh small { font-size: 11.5px; font-weight: 400; color: var(--p36-muted); }
.p36-chip { font: 700 11px/1.5 var(--p36-mono); background: var(--p36-soft); color: var(--p36-accent); border-radius: 99px; padding: 4px 11px; }
.p36-table-scroll { overflow-x: auto; border: 1px solid var(--p36-line); border-radius: 18px; }
.p36-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 620px; }
.p36-table th, .p36-table td { padding: 10px 13px; text-align: left; border-bottom: 1px solid var(--p36-line); }
.p36-table th { background: var(--p36-surface2); font-size: 12px; color: var(--p36-sub); font-weight: 700; white-space: nowrap; }
.p36-table tr:last-child td { border-bottom: 0; }
.p36-disclaimer { margin: 20px 0 0; padding: 15px 18px; border-radius: 18px; background: var(--p36-surface2); font-size: 13px; line-height: 1.92; color: var(--p36-sub); }

/* ---------- 批量 / 内容 ---------- */
.p36-extra-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 15px; }
.p36-card { background: var(--p36-surface); border: 1px solid var(--p36-line); border-radius: 22px; padding: 18px 20px; }
.p36-card h3 { font-size: 16px; margin-bottom: 10px; }
.p36-hint { font-size: 12.5px; color: var(--p36-muted); line-height: 1.82; margin: 8px 0 12px; }
.p36-card-text { font-size: 13.5px; line-height: 1.96; color: var(--p36-sub); }
.p36-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 17px; }
.p36-tab { border: 1px solid var(--p36-line); background: var(--p36-surface); color: var(--p36-sub); font-size: 13.5px; font-weight: 700; border-radius: 99px; padding: 9px 18px; }
.p36-tab.is-on { background: var(--p36-accent); color: var(--p36-on); border-color: var(--p36-accent); }
:root[data-theme="dark"] .p36-tab.is-on { color: #1b1208; }
.p36-prose { max-width: 84ch; }
.p36-prose h3 { font-size: 17.5px; margin: 22px 0 9px; }
.p36-prose h3:first-child { margin-top: 0; }
.p36-prose p { font-size: 14.5px; line-height: 2.02; color: var(--p36-sub); margin: 0 0 15px; }
.p36-figure { display: block; width: 100%; max-width: 720px; border: 1px solid var(--p36-line); border-radius: 20px; margin: 6px 0 18px; }
.p36-faq details { border: 1px solid var(--p36-line); background: var(--p36-surface); border-radius: 16px; margin-bottom: 9px; }
.p36-faq summary { cursor: pointer; font-size: 14.5px; font-weight: 700; padding: 13px 18px; }
.p36-faq details > div { padding: 0 18px 15px; font-size: 14px; line-height: 1.98; color: var(--p36-sub); }
.p36-faq details > div strong { color: var(--p36-ink); }
.p36-boundary { margin: 24px 0 18px; padding: 15px 18px; border: 1px solid var(--p36-line); border-radius: 18px; background: var(--p36-surface2); font-size: 13px; line-height: 1.92; color: var(--p36-sub); }
.p36-related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.p36-related a { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--p36-surface); border: 1px solid var(--p36-line); border-radius: 18px; padding: 13px 16px; font-size: 13.5px; font-weight: 700; color: var(--p36-ink); }
.p36-related a:hover { border-color: var(--p36-accent); text-decoration: none; }
.p36-related a span { color: var(--p36-accent); }

@media (max-width: 900px) {
    .p36-hero, .p36-two, .p36-extra-grid { grid-template-columns: 1fr; }
    .p36-timecards { grid-template-columns: 1fr; }
    .p36-related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .p36-wrap { padding: 0 16px; }
    .p36-fields { grid-template-columns: 1fr; }
    .p36-dial-wrap { flex-direction: column; align-items: flex-start; }
    .p36-related { grid-template-columns: 1fr; }
}
