/* 科学篇 08：PINN */
.pn-stage .stage-cap { margin: 0 0 6px; font-size: .88rem; color: var(--graphite); }
#pn-map { display: block; width: 100%; max-width: 330px; height: auto; aspect-ratio: 374 / 376; cursor: crosshair; margin: 0 auto 0 0; }
#pn-prof { display: block; width: 100%; height: auto; }
#pn-prof .ax { font: 10.5px var(--f-num); fill: #5a626d; }
#pn-prof .pn-zero { stroke: #e3e7ea; }
#pn-prof .pn-true { fill: none; stroke-width: 1.6; }
#pn-prof .pn-net { fill: none; stroke-width: 2.2; stroke-dasharray: 5 4; }
#pn-prof .t0 { stroke: #1c2a43; } #pn-prof .t1 { stroke: #c8781a; } #pn-prof .t2 { stroke: #1a7f6b; } #pn-prof .t3 { stroke: #b2182b; }
.pn-lg { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: .76rem; color: var(--ink-2); margin: 6px 0 0; }
.pn-lg i { display: inline-block; width: 16px; height: 0; border-top: 2px solid var(--ink-2); vertical-align: middle; margin-right: 4px; }
.pn-lg .n i { border-top-style: dashed; }
.pn-lg .c0 { color: #1c2a43; } .pn-lg .c1 { color: #c8781a; } .pn-lg .c2 { color: #1a7f6b; } .pn-lg .c3 { color: #b2182b; }
.pn-read { font-size: .86rem; line-height: 1.7; color: var(--ink-2); min-height: 3.3em; margin-top: 4px; }
.pn-read b { font-family: var(--f-num); color: var(--ink); font-weight: 600; }
.pn-ctl { display: grid; grid-template-columns: 4.6em 1fr 3em 1.2em; gap: 8px; align-items: center; margin-top: 6px; font-size: .9rem; }
.pn-ctl input[type=range] { width: 100%; accent-color: var(--ink); }
.pn-ctl output { font-family: var(--f-num); text-align: right; }
#pn-loss { display: block; width: 100%; height: auto; margin-top: 4px; }
#pn-loss .ax { font: 10.5px var(--f-num); fill: #5a626d; }
#pn-loss .ax.name { font: 11px var(--f-body); }
#pn-loss .pn-grid { stroke: #e9ecef; } #pn-loss .pn-grid.hl { stroke: #1a7f6b; stroke-dasharray: 4 3; }
#pn-loss .pn-l { fill: none; stroke-width: 1.8; }
#pn-loss .pde { stroke: #1c2a43; } #pn-loss .ic { stroke: #c8781a; } #pn-loss .bc { stroke: #1a7f6b; } #pn-loss .alpha { stroke: #c8781a; stroke-width: 2.2; }
#pn-loss .pn-cur { stroke: #b2182b; stroke-width: 1.2; }
.pn-lossk { display: flex; gap: 14px; font-size: .76rem; color: var(--ink-2); }
.pn-lossk i { display: inline-block; width: 14px; height: 0; border-top: 2px solid; vertical-align: middle; margin-right: 4px; }
.pn-lossk .pde i { border-color: #1c2a43; } .pn-lossk .ic i { border-color: #c8781a; } .pn-lossk .bc i { border-color: #1a7f6b; }
.pn-stage .btn-row { margin: 8px 0 0; }
.pn-stage .btn.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pn-diffbox { margin: 12px 0 14px; padding: 12px 12px 4px; border: 1px solid var(--rule); border-radius: 10px; background: #fafbfc; max-width: 420px; }
#pn-diff { display: block; width: 100%; height: auto; }
#pn-diff .dc { fill: #fff; stroke: #c9d0d7; cursor: pointer; }
#pn-diff .dc.on { stroke: #c8781a; stroke-width: 1.8; }
#pn-diff .dc.mid { fill: #fdf0e1; }
#pn-diff .dc:focus-visible { outline: none; stroke: var(--ink); stroke-width: 2.6; }
#pn-diff .dv { font: 600 14px var(--f-num); fill: var(--ink); pointer-events: none; }
#pn-diff .dl { font: 11px var(--f-body); fill: var(--graphite); }
.pn-say { font-size: .86rem; line-height: 1.7; color: var(--ink-2); margin: 4px 0 6px; }
.pn-say b { font-family: var(--f-num); color: var(--ink); }
@media (max-width: 960px) {
  .pn-stage .stage-cap { display: none; }
  #pn-map { max-width: 230px; }
  .pn-read { min-height: 0; font-size: .8rem; }
  #pn-prof { max-height: 110px; }
}
