/* 20.05: scoped closure layout only. Full approved map in both frames. */
.intro20-closure { --intro-line: #c9dbcb; --intro-ink: #274f46; color: var(--intro-ink); width:100%; max-width:1280px; margin-inline:auto; }
.intro20-close-heading { margin:0 0 22px; }
.intro20-close-heading h1 { font-size:clamp(1.85rem,3.6vw,2.8rem); line-height:1.14; margin:6px 0 12px; overflow-wrap:anywhere; }
.intro20-close-heading > p:last-child { margin-bottom:0; }
.intro20-close-layout { display:grid; grid-template-columns:minmax(0,1.85fr) minmax(285px,1fr); gap:24px; align-items:start; }
.intro20-map-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start; }
.intro20-map-card { min-width:0; margin:0; border:1px solid var(--intro-line); background:#e1efe7; border-radius:22px; overflow:hidden; }
.intro20-map-label { padding:16px 18px 0; }
.intro20-map-label strong { display:inline-block; background:#d0e5d5; padding:7px 14px; border-radius:10px; }
[data-closure-map="after"] .intro20-map-label strong { background:#4d7b68; color:#fff; }
.intro20-map-drawing { position:relative; aspect-ratio:1000/760; width:100%; isolation:isolate; }
.intro20-map-drawing > svg { display:block; position:absolute; inset:0; width:100%; height:100%; max-width:none; pointer-events:none; }
.intro20-map-drawing > .intro20-light { z-index:1; }
.intro20-map-caption { padding:16px 18px; background:#f3f6e9; border-top:1px solid var(--intro-line); font-size:.9em; min-height:108px; }
.intro20-map-caption p { margin:8px 0 0; line-height:1.4; }
.intro20-context-note { grid-column:1/-1; margin:0; font-size:.88em; }
.intro20-luma { display:grid; grid-template-columns:64px minmax(0,1fr); gap:14px; align-items:center; margin-bottom:18px; }
.intro20-luma > span { background:#e8eedc; border-radius:18px; width:64px; height:78px; display:flex; align-items:center; }
.intro20-luma svg { width:64px; height:74px; }
.intro20-luma > div > strong { font-size:.8em; text-transform:uppercase; letter-spacing:.1em; }
.intro20-luma p { margin:6px 0 0; line-height:1.4; font-size:1.05em; }
.intro20-facts { background:#fffdf5; border:1px solid var(--intro-line); border-radius:22px; padding:20px; }
.intro20-facts h2 { font-size:1.08em; line-height:1.3; margin:0 0 14px; }
.intro20-facts h3 { font-size:1.04em; line-height:1.3; margin:4px 0 8px; overflow-wrap:anywhere; }
.intro20-resolved { margin:0 0 12px; font-weight:650; }
.intro20-supports { font-size:.9em; margin:5px 0 12px; }
.intro20-earned-list, .intro20-progress-list { list-style:none; padding:0; margin:0; }
.intro20-earned { display:grid; grid-template-columns:48px minmax(0,1fr); gap:12px; padding:16px 0; }
.intro20-earned + .intro20-earned { border-top:1px solid var(--intro-line); }
.intro20-earned:last-child { padding-bottom:0; }
.intro20-earned small { font-size:.8em; }
.intro20-earned p { margin:0; font-size:.87em; line-height:1.45; }
.intro20-earned-icon { width:48px; height:48px; background:#f0f1d8; border-radius:14px; display:grid; place-items:center; }
.intro20-earned-icon svg { width:36px; height:36px; }
.intro20-when { font-size:.83em; line-height:1.45; }
.intro20-progress-list li { margin:16px 0; }
.intro20-progress-list li > div:first-child { display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px 14px; font-size:.87em; }
.intro20-progress-list p { margin:6px 0; font-size:.8em; }
.intro20-condition-track { background:#e2e9db; height:8px; border-radius:6px; margin-top:7px; overflow:hidden; }
.intro20-condition-track > span { display:block; height:100%; background:#567e65; }
.intro20-close-actions { margin-top:16px; }
.intro20-close-actions > p { font-size:.83em; line-height:1.4; }
.intro20-close-actions button { min-height:48px; width:100%; white-space:normal; }
.intro20-close-actions .intro20-map-button { display:flex; gap:12px; justify-content:space-between; padding:16px 20px; background:#2c6554; color:#fff; font-size:1em; border:2px solid #2c6554; border-radius:17px; }
.intro20-map-button svg { width:24px; height:24px; flex-shrink:0; }
.intro20-close-error { border:2px solid #9a4b30; border-radius:14px; padding:12px; background:#fff2df; }
.intro20-close-error p { margin:0 0 10px; }
.intro20-other-island { font-size:.9em; line-height:1.45; }
.intro20-closure button:focus-visible, .intro20-closure summary:focus-visible { outline:3px solid #8a5227; outline-offset:4px; }
.intro20-closure-motion .intro20-light-strength { animation:intro20-light-on 1.6s ease-out 1 both; }
@keyframes intro20-light-on { from {opacity:.65} to {opacity:1} }
.reduce-motion .intro20-light-strength, .access-calm .intro20-light-strength { animation:none; }
@media(prefers-reduced-motion:reduce) { .intro20-closure-motion .intro20-light-strength { animation:none; } }
.high-contrast .intro20-closure { --intro-line:#334c3d; --intro-ink:#163b2f; }
.high-contrast .intro20-map-label strong { outline:1px solid #234c3e; }
@media(max-width:1050px) { .intro20-close-layout { grid-template-columns:1fr; } .intro20-close-summary { max-width:760px; width:100%; margin:auto; } }
@media(max-width:600px) { .intro20-map-pair { grid-template-columns:1fr; gap:14px; } .intro20-map-caption { min-height:0; } .intro20-close-layout { gap:20px; } .intro20-facts { padding:18px; } .intro20-luma { grid-template-columns:56px minmax(0,1fr); } .intro20-luma > span,.intro20-luma svg { width:56px; } }

/* The original game viewport is fixed-height. A two-map summary scrolls in the
 * document, so its footer must follow the complete content, never cross it. */
body.intro20-closure-page:not(.adult-mode) .workspace { height:auto; min-height:var(--view-height); }
body.intro20-closure-page:not(.adult-mode) .main { flex:1 0 auto; min-height:min-content; }
body.intro20-closure-page:not(.adult-mode) .app-footer { height:auto; min-height:26px; position:static; margin-top:16px; }

.intro20-close-actions > p{margin:12px 0 0}
