/* The opening photograph is the real stage. Its geometry is shared with the hydrated cube. */
html.earthrise-loading,html.earthrise-loading body{background:#090a0b;margin:0}
html.earthrise-loading #film:not([hidden]){position:fixed;inset:0;overflow:hidden}
html.earthrise-loading #film #moon,html.earthrise-loading #film #moon-art{position:absolute;inset:0}
html.earthrise-loading #film>:not(#moon),html.earthrise-loading #moon>:not(#moon-art){visibility:hidden}
html.earthrise-loading body::before{content:none}
#film #moon-wernher{animation:none}
#guide138>.kit143-page,#guide138>.leaflet143-page{width:100%;max-width:none;padding:0}
#guide138>.leaflet143-page>h1,#guide138>.fund143-page>h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.kiste171{max-width:1180px;margin:0 auto;color:#efece0;font-family:system-ui,sans-serif}
.k171-pane{background:#181a17}
.k171-pane:has(.k171-photo){background:transparent}
.k171-photo{margin:auto;position:relative;max-width:min(100%,112svh);line-height:0}
.k171-photo>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:fill}
#guide138 .k171-photo>.k171-hit{position:absolute;translate:-50% -50%;display:grid;place-items:center;width:clamp(44px,5%,60px);height:clamp(44px,5vw,60px);background:transparent;border:none;min-height:44px;padding:0}
.k171-hit:before{content:"";width:9px;height:9px;border:1.5px solid #fff;background:#1c1d1980;box-shadow:0 1px 3px #15130e;transition:background .15s}
.k171-hit:is(:focus-visible,:hover):before{background:#fff}
.k171-hit:focus-visible{outline:2px solid #fff;outline-offset:-5px}
.k171-foot{max-width:min(100%,112svh);margin:auto;padding:.3rem clamp(.8rem,2.4vw,1.6rem) 1.8rem;display:flex;align-items:baseline;gap:.3rem 1.3rem;flex-wrap:wrap}
.k171-caption{flex:1;min-width:min(16rem,100%);color:#e2d8b9;font:italic 1.08rem/1.4 Georgia,serif}
.k171-caption:empty{display:none}
#guide138 .k171-foot>button{min-height:44px;line-height:1.35;background:transparent;border:0;padding:0;text-decoration:underline;text-underline-offset:4px}
.k171-choices{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .7rem}
#guide138 .k171-choices button[aria-pressed=true]{border-color:#d8cd94;color:#fff3be}
.k171-paper,.k171-pane:has(>h2){padding:1rem}
.k171-paper label,.k171-paper textarea{display:block}.k171-paper textarea{font:1rem Georgia;width:min(100%,35rem);margin:.3rem 0 .5rem}
#guide138 .fund143-page{max-width:960px;margin:auto;padding:0 clamp(.8rem,3vw,2rem) 3.2rem}
.k171-fund{margin:0}.k171-fund img,.anschlag171{width:100%;display:block;max-height:74svh;object-fit:contain}
.k171-fund figcaption{font:1.3rem Georgia;margin:.6em 0}.fund143-page>p{max-width:67ch;font-size:1.03rem;line-height:1.55}
@media (max-width:650px){.k171-foot{gap:0 .9rem}.k171-caption{flex-basis:100%}.k171-photo{width:100%}}
@media (prefers-reduced-motion:reduce){.k171-hit:before{transition:none}}

/* Keep the hall behind a notice while the legacy correspondence reader opens. */
#guide138[data-place^="commons:"]+#film{background:#171a17 url("assets/edition150/hall.webp") center/cover no-repeat}
#guide138[data-place^="commons:"]+#film>:not(dialog){visibility:hidden}

/* One work surface. Tool, tray and workshop notes use its same return bar. */
#guide138 .kiste171 {max-width:960px;min-height:72svh;margin:auto;isolation:isolate;background:#191c18;--line172:#41473e;--label172:#e0d2b4}
#guide138 .kiste171 img{border:0;margin:0}
#guide138 .k172-bar {position:sticky;top:0;z-index:9;display:flex;align-items:center;gap:.65rem;min-height:52px;box-sizing:border-box;padding:.18rem max(.7rem,env(safe-area-inset-right)) .18rem max(.7rem,env(safe-area-inset-left));border-bottom:1px solid var(--line172);background:#1d201bfa;color:#f3eee2}
#guide138 .k172-bar h2{min-width:0;flex:1;margin:0;font:normal clamp(1.05rem,2.7vw,1.45rem)/1.15 Georgia,serif}
#guide138 .k172-bar button,#guide138 .k172-bar a,#guide138 .k172-register{border:0;background:transparent;min-height:44px;padding:.25rem .32rem;color:var(--label172);font:500 .95rem/1.25 system-ui,sans-serif;display:inline-flex;align-items:center}
#guide138 .k172-return:before{content:'';width:.46rem;height:.46rem;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:0 .44rem 0 .18rem;flex:none}
#guide138 .k172-sheet{padding:.75rem max(1rem,4%) 2rem;display:grid;gap:.14rem;color:#f0eadf}
#guide138 .k172-sheet>button,#guide138 .k172-sheet>a{display:flex;align-items:center;text-align:left;min-height:46px;padding:.6rem 0;background:none;border:0;border-bottom:1px solid var(--line172);font:400 1rem/1.35 system-ui,sans-serif;color:#f0eadf}
#guide138 .k172-sheet .workorder138{position:static;inset:auto;width:auto;max-width:48rem;margin:.65rem 0;transform:none}
#guide138 .k172-sheet>.k171-choices{margin:.5rem 0 .4rem}
#guide138 .kiste171>.k171-foot{max-width:none;display:flex;align-items:center;gap:.35rem 1rem;padding:.35rem max(.85rem,3%) max(1rem,env(safe-area-inset-bottom));margin:0}
#guide138 .k171-foot:empty,#guide138 .k171-foot:has(>output:only-child:empty){display:none}
#guide138 .kiste171>.k171-foot .k171-caption{font:italic 1rem/1.4 Georgia,serif;min-width:0;flex:1;margin:0}
#guide138 .kiste171 .k171-photo{max-width:min(100%,112svh);margin:0 auto}
#guide138 .k172-sheet .k171-choices button{min-width:7em}
#guide138 .k171-pane,.kiste171 .mp171{min-width:0}
#guide138:has(.kiste171)>.way151{display:none}
#guide138 .kiste171 :focus-visible{outline:2px solid #b3c8a1;outline-offset:1px}
#guide138 .kiste171 .k172-bar h2:focus{outline:0}
#guide138>.kit143-page>h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:480px){
 #guide138 .k172-bar{gap:.4rem;padding-inline:.42rem}
 #guide138 .k172-bar h2{font-size:1.05rem}
 #guide138 .k172-bar a,#guide138 .k172-bar button{font-size:.9rem}
 #guide138 .kiste171>.k171-foot{gap:.25rem .5rem;padding-inline:.7rem}
 #guide138 .kiste171>.k171-foot .k171-caption{flex-basis:auto}
}
