/* v211 · Closing backgrounds belong to the whole scene, never to adjacent cropped slices. */
body.nature194-reading #physics-study #physics-content.nature197.n197-overview .f210-nature-end{position:relative;isolation:isolate;background:linear-gradient(90deg,#06121cc7,#0c172448 52%,#07121d50),linear-gradient(0deg,#03101bb8,transparent 62%),url('assets/nature194/costa-entardecer.webp') center/cover;background-repeat:no-repeat;}
body.nature194-reading #physics-study #physics-content.nature197 .f210-nature-end .n194-closing-hero,
body.nature194-reading #physics-study #physics-content.nature197 .f210-nature-end .n196-end{background:transparent;border:0;box-shadow:none;}
body.nature194-reading #physics-study #physics-content.nature197 .f210-nature-end .n194-env{background:transparent;border:0;}
body.nature194-reading #physics-study #physics-content.nature197 .f210-nature-end .n196-end{min-height:180px;}
#physics-content.s204 .f210-ending{background:#21182f;border:0;margin:0;padding:0;}
#physics-content.s204 .f210-ending-scene{background:linear-gradient(0deg,#21182f,#21182f6e 28%,#21182f30 78%),linear-gradient(90deg,#1c1430db,#1c143094 58%,#1c143044),var(--scene204);background-size:cover;background-position:center 62%;background-repeat:no-repeat;}
#physics-content.s204 .f210-ending .i206-body-scene{display:block;min-height:0;border:0;background:transparent;}
#physics-content.s204 .f210-ending .i206-scene-window{display:none;}
#physics-content.s204 .f210-ending .i206-body-scene>div:last-child{max-width:950px;padding:clamp(32px,5vw,65px) clamp(24px,6vw,100px) 24px;}
#physics-content.s204 .f210-ending .i206-body-scene h2{color:#fff1ff;text-shadow:0 2px 12px #10091e;}
#physics-content.s204 .f210-ending .i206-body-scene p{color:#e5d9ef;text-shadow:0 1px 5px #10091e;}
#physics-content.s204 .f210-ending .s204-credit{margin:0;padding:20px clamp(24px,6vw,100px) 0;border:0;background:transparent;color:#d7c6e5;text-shadow:0 1px 4px #13091f;font-size:.8rem;line-height:1.7;}
#physics-content.s204 .f210-ending .d203-footer{display:block;margin:0;padding:26px clamp(24px,6vw,100px) 38px;border:0;background:transparent;box-shadow:none;}
#physics-content.s204 .f210-ending .f210-main-links,#physics-content.s204 .f210-ending .f210-route-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px;}
#physics-content.s204 .f210-ending .f210-route-links{margin-top:16px;}
#physics-content.s204 .f210-ending .d203-footer :is(a,button){display:inline-flex;align-items:center;width:auto;max-width:100%;min-height:44px;padding:8px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#e2edf9;text-shadow:0 1px 3px #10071f,0 2px 10px #10071f;font:500 .94rem/1.6 system-ui,sans-serif;text-align:left;text-decoration:none;white-space:normal;}
#physics-content.s204 .f210-ending .d203-footer :is(a,button):hover{color:#fff;background:transparent;text-decoration:underline;text-underline-offset:5px;transform:none;}
#physics-content.s204 .f210-ending .d203-footer :is(a,button):focus-visible{outline:2px solid #d5c0f0;outline-offset:5px;}
#physics-content.s204 .f210-ending .f210-route-links a{font-size:.87rem;color:#cbd6eb;}
#physics-content.s204 .f210-ending .d203-sources{margin:0;padding:18px clamp(24px,6vw,100px) 28px;border:0;border-radius:0;background:transparent;box-shadow:none;}
@media(max-width:760px){body.nature194-reading #physics-study #physics-content.nature197.n197-overview .f210-nature-end{background-position:61% center;}body.nature194-reading #physics-study #physics-content.nature197 .f210-nature-end .n196-end{min-height:160px;}#physics-content.s204 .f210-ending-scene{background-position:63% center;}#physics-content.s204 .f210-ending .i206-body-scene>div:last-child{padding:32px 24px 20px;}#physics-content.s204 .f210-ending .f210-main-links,#physics-content.s204 .f210-ending .f210-route-links{align-items:flex-start;flex-direction:column;gap:6px;}#physics-content.s204 .f210-ending .f210-route-links{margin-top:20px;}#physics-content.s204 .f210-ending .d203-footer{padding-bottom:24px;}}

/* Navigation: start left, adjacent lessons together in the centre, map right. */
#physics-content.s204 .f210-ending .d203-footer.f211-navigation,
body.nature194-reading #physics-study #physics-content.nature197 .n199-footnav.f211-navigation{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end;gap:20px 28px;}
#physics-content .f211-navigation>.f211-start{grid-column:1;justify-self:start;}
#physics-content .f211-navigation>.f211-map{grid-column:3;justify-self:end;text-align:right;}
#physics-content .f211-navigation>.f211-adjacent-lessons{grid-column:2;display:flex;align-items:center;justify-content:center;gap:18px 28px;}
#physics-content .f211-adjacent-lessons a{font-size:.87rem;}
@media(max-width:1100px){
#physics-content.s204 .f210-ending .d203-footer.f211-navigation,
body.nature194-reading #physics-study #physics-content.nature197 .n199-footnav.f211-navigation{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 22px;}
#physics-content .f211-navigation>.f211-start{grid-column:1;grid-row:1;}
#physics-content .f211-navigation>.f211-adjacent-lessons{grid-column:1 / -1;grid-row:2;flex-wrap:wrap;}
#physics-content .f211-navigation>.f211-map{grid-column:2;grid-row:3;}
}
@media(max-width:760px){
#physics-content .f211-navigation>.f211-start{grid-column:1 / -1;}
#physics-content .f211-navigation>.f211-adjacent-lessons{gap:10px 22px;align-items:start;}
#physics-content .f211-navigation>.f211-adjacent-lessons a{flex:1 1 130px;justify-content:center;text-align:center;}
#physics-content.s204 .f210-ending .d203-footer.f211-navigation{padding-top:26px;padding-bottom:24px;}
}
