.thermo-section { background:#20282a; color:#fff6e9; }
.thermo-intro {
  display:grid; grid-template-columns:minmax(0,1.22fr) minmax(205px,.78fr);
  gap:15px 35px; align-items:end; margin-bottom:clamp(23px,3.2vw,42px);
}
.thermo-intro h2 { max-width:none; }
.thermo-intro h2 em { font:italic 400 1.03em/.94 Georgia,serif; color:#ffd28a; }
.thermo-intro>p { max-width:49ch; margin:0; color:#ece5db; font-size:15px; line-height:1.6; }
.thermo-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(270px,.65fr); gap:clamp(17px,3vw,40px); align-items:start; }
.thermo-stage {
  --split:50%; position:relative; isolation:isolate; overflow:hidden; aspect-ratio:4/3;
  background:#141b1c; border:1px solid #ffefd269; user-select:none;
}
.thermo-ready .thermo-stage { cursor:ew-resize; touch-action:pan-y; }
.thermo-stage picture,.thermo-stage img { display:block; width:100%; height:100%; }
.thermo-stage img { object-fit:contain; pointer-events:none; }
.thermo-stage .thermo-overlay { position:absolute; inset:0; clip-path:inset(0 0 0 var(--split)); }
.thermo-view-label {
  position:absolute; top:10px; padding:3px 7px; background:#182323eb;
  color:#fcf4e5; font-size:11px; font-weight:700; line-height:1.2; pointer-events:none;
}
.thermo-label-normal { left:10px; }
.thermo-label-heat { right:13%; }
.thermo-divider { position:absolute; top:0; bottom:0; left:var(--split); width:2px; background:#fff4dd; pointer-events:none; }
.thermo-divider span {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); display:grid; place-items:center;
  width:42px; height:42px; border-radius:50%; border:1px solid #fff0d9;
  color:#241f13; background:#ffd38b; font-size:20px; font-weight:800; white-space:nowrap;
}
.thermo-marker {
  position:absolute; left:var(--thermo-x); top:var(--thermo-y); width:27px; height:27px;
  transform:translate(-50%,-50%); border:2px solid #fff8eb; border-radius:50%;
  box-shadow:0 0 0 4px #192a25a0; pointer-events:none;
}
.thermo-input { display:flex; flex-wrap:wrap; gap:8px 14px; align-items:center; margin-top:11px; }
.thermo-input label { font-size:12px; font-weight:730; }
.thermo-input input { accent-color:#ffcb78; flex:1; min-width:130px; height:27px; cursor:ew-resize; }
.thermo-input[hidden],.thermo-control[hidden],.thermo-marker[hidden] { display:none; }
.thermo-side { background:#30383a; padding:clamp(15px,2.3vw,30px); container-type:inline-size; }
.thermo-side h3 { font-size:clamp(23px,2.25vw,34px); line-height:1.05; margin:0 0 13px; }
.thermo-points {
  display:grid; grid-template-columns:minmax(0,1.55fr) repeat(2,minmax(0,1fr)); gap:5px;
}
.thermo-points button {
  color:#fff4df; background:#222c2d; border:1px solid #e9dfc45d; min-height:44px;
  padding:5px 2px; border-radius:2px; font-size:clamp(10px,4.3cqi,12px);
  font-weight:700; line-height:1.15; white-space:nowrap;
}
.thermo-points button:hover { background:#3d4745; }
.thermo-points button[aria-pressed="true"] { background:#ffd38b; color:#2d2319; border-color:#ffd38b; }
.thermo-note { margin:13px 0 18px; font-size:14px; line-height:1.5; color:#ebe4d9; }
@media(max-width:760px) {
  .thermo-intro,.thermo-grid { grid-template-columns:1fr; }
  .thermo-divider span { width:35px; height:35px; }
}
